/* OCEAN STUDIO · صفحات المنتجات السبع (v7.1). كل القواعد محصورة داخل .os7 (محتوى صفحة المنتج فقط)،
   فلا تمس القائمة الجانبية ولا التذييل ولا أي صفحة أخرى من الموقع الرسمي. */
/* OCEAN STUDIO · نظام التصميم v7 «المحيط التحريري».
   ملف مستقل تمامًا: لا يعتمد على site.css ولا products.css (المستخدمين في صفحتي النداء وQUEUE المقفلتين).
   كل القواعد تحت .os7 فلا يمكن أن تمس أي صفحة لا تحمل هذا الصنف. RTL بخصائص منطقية. */
.os7 {
  --paper: #f4f1ea; --paper-2: #ebe6db; --card: #fffdf8; --ink: #0b1626; --ink-2: #33415a; --mut: #5b6475;
  --line: rgba(11, 22, 38, .12); --line-2: rgba(11, 22, 38, .2);
  --cobalt: #2343e8; --cobalt-2: #1a33bb; --coral: #c8421c; --aqua: #0e9f92; --sun: #f6c445;
  --abyss: #0a1424; --abyss-2: #111e33; --foam: #e7ecff;
  --r-s: 12px; --r: 22px; --r-l: 34px;
  --f-d: "Alexandria", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --f-b: "IBM Plex Sans Arabic", "Alexandria", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --sh: 0 1px 0 rgba(11, 22, 38, .04), 0 18px 40px -22px rgba(11, 22, 38, .35);
  margin: 0; background: var(--paper); color: var(--ink); font: 400 16.5px/1.85 var(--f-b);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
.os7 *, .os7 *::before, .os7 *::after { box-sizing: border-box; }
.os7 img { max-width: 100%; height: auto; display: block; }
:where(.os7) a { color: inherit; }
.os7 :focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }
.os7 .os-skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.os7 .os-skip:focus { top: 12px; }
.os7 .sr { position: absolute !important; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.os-wrap { inline-size: min(1240px, 100% - 32px); margin-inline: auto; }
.os-wrap.wide { inline-size: min(1440px, 100% - 32px); }

/* ── الطباعة والأقسام ───────────────────────────────────── */
.os-sec { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.os-sec.tight { padding-block: clamp(44px, 6vw, 80px); }
.os-sec.dark { background: var(--abyss); color: #eef2fb; --mut: #a6b1c7; --line: rgba(255, 255, 255, .1); --card: var(--abyss-2); }
.os-sec.cobalt { background: var(--cobalt); color: #fff; --mut: rgba(255, 255, 255, .78); --line: rgba(255, 255, 255, .18); }
.os-sec.sand { background: var(--paper-2); }
.os-kick { display: inline-flex; align-items: center; gap: 10px; font: 700 13px/1 var(--f-d); letter-spacing: .08em; color: var(--cobalt); }
.os-sec.dark .os-kick { color: var(--sun); } .os-sec.cobalt .os-kick { color: #fff; }
.os-kick b { font: 800 13px var(--f-d); padding: 5px 9px; border-radius: 8px; background: currentColor; }
.os-kick b span { color: #fff; }
.os-sec.dark .os-kick b span, .os-sec.cobalt .os-kick b span { color: var(--ink); }
.os-h1 { font: 800 clamp(44px, 7.4vw, 108px)/1.04 var(--f-d); letter-spacing: -.01em; margin: 18px 0 0; }
.os-h2 { font: 800 clamp(32px, 4.6vw, 64px)/1.12 var(--f-d); margin: 16px 0 0; letter-spacing: -.005em; }
.os-h3 { font: 700 clamp(20px, 2vw, 25px)/1.35 var(--f-d); margin: 0; }
.os-lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.9; color: var(--mut); max-inline-size: 62ch; margin: 18px 0 0; }
.os-hl { color: var(--cobalt); }
.os-sec.dark .os-hl { color: #8aa0ff; }
.os-u { background: linear-gradient(transparent 62%, rgba(246, 196, 69, .7) 0); padding-inline: .06em; }
.os-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.os-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 52px); }
.os-head > div { max-inline-size: 760px; }
.os-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font: 600 12.5px/1.4 var(--f-d); background: var(--paper-2); color: var(--ink-2); }
.os-chip.ok { background: #dff3ee; color: #0b6b61; } .os-chip.new { background: #e3e8ff; color: var(--cobalt-2); } .os-chip.soon { background: #fdeee5; color: #a8401f; }
.os-sec.dark .os-chip { background: rgba(255, 255, 255, .08); color: #dfe6f5; }
.os-cap { font-size: 12.5px; color: var(--mut); margin-top: 10px; }

/* ── البطل في الرئيسية ──────────────────────────────────── */
.os-hero { padding-block: clamp(24px, 4vw, 52px) clamp(48px, 7vw, 96px); position: relative; overflow: hidden; }
.os-hero .os-wrap { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.os-hero .os-h1 { font-size: clamp(40px, 5.6vw, 86px); line-height: 1.1; }
.os-hero .os-h1 > span { display: block; }
.os-hero .meta { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.os-hero .meta div { display: grid; }
.os-hero .meta b { font: 800 22px/1.2 var(--f-d); }
.os-hero .meta span { font-size: 13px; color: var(--mut); }
.os-hero figure { margin: 0; position: relative; }
.os-hero figure img { border-radius: var(--r-l); box-shadow: 0 50px 90px -50px rgba(11, 22, 38, .55); }
.os-crest { position: absolute; inset-inline: 0; bottom: -2px; block-size: 90px; color: var(--abyss); pointer-events: none; }

/* ── شريط متحرك ──────────────────────────────────────────── */
.os-mq { background: var(--abyss); color: #fff; overflow: hidden; padding-block: 18px; }
.os-mq div { display: flex; gap: 46px; inline-size: max-content; animation: os-mq 42s linear infinite; font: 700 clamp(20px, 2.2vw, 28px)/1 var(--f-d); white-space: nowrap; }
.os-mq span::after { content: "✦"; margin-inline-start: 46px; color: var(--sun); }
@keyframes os-mq { to { transform: translateX(50%); } }

/* ── شبكات وبطاقات ───────────────────────────────────────── */
.os-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.os-tile { position: relative; grid-column: span 2; display: grid; align-content: space-between; gap: 18px; min-block-size: 260px; padding: 24px; border-radius: var(--r); background: var(--card); text-decoration: none; box-shadow: var(--sh); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; isolation: isolate; }
.os-tile:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(11, 22, 38, .5); }
.os-tile.w3 { grid-column: span 3; } .os-tile.w4 { grid-column: span 4; } .os-tile.w6 { grid-column: span 6; }
.os-tile.ink { background: var(--abyss); color: #fff; --mut: #a6b1c7; }
.os-tile.cob { background: var(--cobalt); color: #fff; --mut: rgba(255, 255, 255, .92); }
.os-tile.cor { background: var(--coral); color: #fff; --mut: rgba(255, 255, 255, .94); }
.os-tile .n { font: 800 13px var(--f-d); color: var(--mut); letter-spacing: .1em; }
.os-tile p { margin: 8px 0 0; color: var(--mut); font-size: 15px; line-height: 1.75; }
.go { display: inline-flex; align-items: center; gap: 8px; font: 700 14px var(--f-d); }
.go svg { inline-size: 18px; block-size: 18px; flex: none; transition: transform .25s; }
.os-tile:hover .go svg { transform: translateX(-4px); }
.os-tile .art { position: absolute; inset-inline-end: -18px; bottom: -18px; inline-size: 52%; z-index: -1; border-radius: 18px; opacity: .95; transform: rotate(-4deg); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); }
.os-tile.photo { color: #fff; --mut: rgba(255, 255, 255, .85); background: #000; }
.os-tile.photo > img.bg { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; z-index: -2; opacity: .78; }
.os-tile.photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 20, 36, .9), rgba(10, 20, 36, .05) 70%); }
.os-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.os-card { padding: 26px; border-radius: var(--r); background: var(--card); box-shadow: var(--sh); display: grid; gap: 10px; align-content: start; }
.os-sec.dark .os-card { background: var(--abyss-2); box-shadow: none; border: 1px solid var(--line); }
.os-card h3 { margin: 0; font: 700 20px/1.4 var(--f-d); }
.os-card p { margin: 0; color: var(--mut); line-height: 1.8; }
.os-card ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.os-card li { position: relative; padding-inline-start: 26px; line-height: 1.7; }
.os-card li::before { content: ""; position: absolute; inset-inline-start: 0; top: .55em; inline-size: 14px; block-size: 8px; border-inline-start: 2.5px solid var(--aqua); border-bottom: 2.5px solid var(--aqua); transform: rotate(-45deg); }
.os-ico { inline-size: 52px; block-size: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--foam); color: var(--cobalt); }
.os-ico svg { inline-size: 26px; block-size: 26px; }

/* ── مسار الخطوات ───────────────────────────────────────── */
.os-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; border-top: 1px solid var(--line); }
.os-steps li { counter-increment: s; padding: 30px 22px 6px 0; border-inline-start: 1px solid var(--line); padding-inline: 22px; }
.os-steps li:first-child { border-inline-start: 0; padding-inline-start: 0; }
.os-steps li::before { content: counter(s, decimal-leading-zero); display: block; font: 800 54px/1 var(--f-d); color: var(--cobalt); margin-bottom: 16px; }
.os-sec.dark .os-steps li::before { color: var(--sun); }
.os-steps b { display: block; font: 700 20px/1.4 var(--f-d); }
.os-steps p { margin: 8px 0 0; color: var(--mut); line-height: 1.8; }

/* ── القصة (تبويبات) ────────────────────────────────────── */
.os-story { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: start; }
.os-story [role="tablist"] { display: grid; gap: 6px; position: sticky; top: 96px; }
.os-story [role="tab"] { text-align: start; font: 700 16px/1.4 var(--f-d); padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: transparent; color: inherit; cursor: pointer; display: grid; gap: 2px; }
.os-story [role="tab"] small { font: 500 12.5px var(--f-b); color: var(--mut); }
.os-story [role="tab"][aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); --mut: rgba(255, 255, 255, .7); }
.os-story [role="tabpanel"] { padding: clamp(24px, 3vw, 44px); border-radius: var(--r-l); background: var(--card); box-shadow: var(--sh); }
.os-story [role="tabpanel"][hidden] { display: none; }
.os-story [role="tabpanel"] h3 { font: 800 clamp(26px, 3vw, 40px)/1.25 var(--f-d); margin: 0 0 12px; }
.os-story [role="tabpanel"] > p { color: var(--mut); line-height: 1.9; margin: 0 0 20px; max-inline-size: 64ch; }
.os-story ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.os-story li { padding: 16px; border-radius: 16px; background: var(--paper); line-height: 1.6; }
.os-story li b { display: block; font: 700 15.5px var(--f-d); margin-bottom: 4px; }
.os-story li span { font-size: 14px; color: var(--mut); }

/* ── الأنظمة (شريط أفقي) ────────────────────────────────── */
.os-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.os-rail > * { scroll-snap-align: start; }
.os-sys { display: grid; gap: 14px; align-content: start; padding: 22px; border-radius: var(--r); background: var(--card); box-shadow: var(--sh); text-decoration: none; min-block-size: 320px; transition: transform .3s var(--ease); }
.os-sys:hover { transform: translateY(-4px); }
.os-sys:hover .go svg { transform: translateX(-4px); }
.os-sec.dark .os-sys { background: var(--abyss-2); box-shadow: none; border: 1px solid var(--line); }
.os-sys .top { display: flex; justify-content: space-between; align-items: center; }
.os-sys .mk { inline-size: 46px; block-size: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--c); color: #fff; }
.os-sys .mk svg { inline-size: 24px; block-size: 24px; }
.os-sys h3 { margin: 0; font: 800 21px/1.3 var(--f-d); }
.os-sys p { margin: 0; color: var(--mut); line-height: 1.75; font-size: 15px; }
.os-sys .price { margin-top: auto; font: 700 15px var(--f-d); }

/* ── المعرض ─────────────────────────────────────────────── */
.os-gal-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.os-gal { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.os-gal h3 { grid-column: 1 / -1; margin: 18px 0 2px; font: 800 20px var(--f-d); display: flex; gap: 10px; align-items: baseline; }
.os-gal h3 small { font: 600 13px var(--f-b); color: var(--mut); }
.os-gal a.wc { position: relative; display: grid; align-content: end; aspect-ratio: 3 / 5; border-radius: 22px; overflow: hidden; text-decoration: none; color: #fff; background: var(--bgc, #111); isolation: isolate; box-shadow: var(--sh); transition: transform .35s var(--ease); }
.os-gal a.wc:hover { transform: translateY(-5px) rotate(-.6deg); }
.os-gal a.wc img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; object-position: top; z-index: -2; }
.os-gal a.wc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0, 0, 0, .85), transparent 55%); }
.os-gal a.wc .t { padding: 14px; display: grid; gap: 2px; }
.os-gal a.wc b { font: 800 18px/1.25 var(--f-d); }
.os-gal a.wc span { font-size: 12.5px; opacity: .85; }
.os-gal a.wc em { font-style: normal; justify-self: start; margin-top: 8px; font: 700 12px var(--f-d); padding: 5px 10px; border-radius: 999px; background: var(--c, #fff); color: #111; }
.os-pinnote { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--paper-2); color: var(--ink-2); font-size: 14px; line-height: 1.7; margin-top: 18px; }
.os-sec.dark .os-pinnote { background: rgba(255, 255, 255, .06); color: #dfe6f5; }
/* بوابة الرمز (المعرّفات والسلوك من gallery-gate.js كما هي) */
.os7 dialog#pinGate { border: 0; padding: 0; border-radius: 26px; inline-size: min(420px, calc(100% - 32px)); box-shadow: 0 40px 100px rgba(0, 0, 0, .45); color: var(--ink); background: var(--card); }
.os7 dialog#pinGate::backdrop { background: rgba(10, 20, 36, .66); backdrop-filter: blur(4px); }
.os7 dialog#pinGate form { display: grid; gap: 12px; padding: 26px; }
.os7 dialog#pinGate h2, .os7 dialog#pinGate h3 { margin: 0; font: 800 22px var(--f-d); }
.os7 dialog#pinGate p { margin: 0; color: var(--mut); font-size: 14.5px; line-height: 1.7; }
.os7 dialog#pinGate input { font: 800 28px/1 var(--f-d); text-align: center; letter-spacing: .4em; padding: 14px; border-radius: 16px; border: 1.5px solid var(--line-2); background: var(--paper); color: var(--ink); direction: ltr; }
.os7 dialog#pinGate input:focus-visible { outline: 3px solid var(--cobalt); }
.os7 dialog#pinGate button { min-block-size: 48px; border-radius: 999px; border: 0; font: 700 15px var(--f-d); cursor: pointer; background: var(--cobalt); color: #fff; }
.os7 dialog#pinGate button[data-close], .os7 dialog#pinGate button[value="cancel"] { background: var(--paper-2); color: var(--ink); }
.os7 dialog#pinGate #pinErr { color: #b42318; min-block-size: 22px; font-size: 14px; }
.os7 dialog#pinGate .row, .os7 dialog#pinGate .acts { display: flex; gap: 8px; }
.os7 dialog#pinGate .row > *, .os7 dialog#pinGate .acts > * { flex: 1; }

/* ── التجربة 72 ساعة ────────────────────────────────────── */
.os-trial { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.os-clock { aspect-ratio: 1; inline-size: min(380px, 100%); margin-inline: auto; border-radius: 50%; display: grid; place-items: center; text-align: center; background: conic-gradient(var(--sun) 0 75%, rgba(255, 255, 255, .14) 0); position: relative; }
.os-clock::before { content: ""; position: absolute; inset: 16px; border-radius: 50%; background: var(--cobalt); }
.os-clock div { position: relative; }
.os-clock b { display: block; font: 900 clamp(70px, 9vw, 120px)/1 var(--f-d); }
.os-clock span { font: 700 18px var(--f-d); }
.os-tl { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.os-tl li { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, .1); }
.os-tl li i { inline-size: 46px; block-size: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--cobalt); font: 800 18px var(--f-d); font-style: normal; }
.os-tl b { font: 700 17px var(--f-d); } .os-tl p { margin: 4px 0 0; color: var(--mut); line-height: 1.7; }
.os-fine { font-size: 13px; color: var(--mut); line-height: 1.8; margin: 16px 0 0; }

/* ── الباقات والجداول ───────────────────────────────────── */
.os-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.os-plan { display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px; padding: 28px; border-radius: var(--r-l); background: var(--card); box-shadow: var(--sh); position: relative; }
.os-plan.hot { background: var(--abyss); color: #fff; --mut: #a6b1c7; box-shadow: 0 40px 70px -30px rgba(10, 20, 36, .6); }
.os-plan .tag { position: absolute; top: 18px; inset-inline-end: 18px; }
.os-plan h3 { margin: 0; font: 800 22px/1.3 var(--f-d); }
.os-plan h3 small { display: block; font: 500 14px var(--f-b); color: var(--mut); margin-top: 4px; }
.os-plan .pr { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.os-plan .pr b { font: 900 48px/1 var(--f-d); }
.os-plan .pr span { color: var(--mut); font-size: 14px; }
.os-plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; align-content: start; }
.os-plan li { position: relative; padding-inline-start: 26px; line-height: 1.6; font-size: 15px; }
.os-plan li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .5em; inline-size: 13px; block-size: 7px; border-inline-start: 2.5px solid var(--aqua); border-bottom: 2.5px solid var(--aqua); transform: rotate(-45deg); }
.os-plan li.no { color: var(--mut); } .os-plan li.no::before { border: 0; inline-size: 12px; block-size: 2.5px; background: var(--mut); transform: none; top: .8em; }
.os-plan.hot li::before { border-color: var(--sun); }
.os-tbl { overflow-x: auto; border-radius: var(--r); background: var(--card); box-shadow: var(--sh); }
.os-tbl table { inline-size: 100%; border-collapse: collapse; min-inline-size: 620px; }
.os-tbl caption { text-align: start; padding: 18px 20px 6px; font: 800 18px var(--f-d); }
.os-tbl th, .os-tbl td { padding: 14px 20px; text-align: center; border-bottom: 1px solid var(--line); }
.os-tbl th:first-child, .os-tbl td:first-child { text-align: start; }
.os-tbl thead th { font: 700 14px var(--f-d); color: var(--mut); }
.os-tbl .y::before { content: "✓"; color: var(--aqua); font-weight: 800; }
.os-tbl .n::before { content: "—"; color: var(--mut); }
.os-note { padding: 18px 20px; border-radius: 18px; background: var(--paper-2); line-height: 1.8; color: var(--ink-2); }
.os-sec.dark .os-note { background: rgba(255, 255, 255, .06); color: #dfe6f5; }
.os-note h3 { margin: 0 0 6px; font: 700 17px var(--f-d); }
.os-note ul { margin: 6px 0 0; padding-inline-start: 18px; }

/* ── أسئلة ──────────────────────────────────────────────── */
.os-faq { display: grid; gap: 10px; }
.os-faq details { border-radius: 18px; background: var(--card); box-shadow: var(--sh); padding: 0 22px; }
.os-faq summary { cursor: pointer; list-style: none; padding: 20px 0; font: 700 17px var(--f-d); display: flex; justify-content: space-between; gap: 14px; }
.os-faq summary::-webkit-details-marker { display: none; }
.os-faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--cobalt); }
.os-faq details[open] summary::after { content: "−"; }
.os-faq p { margin: 0 0 20px; color: var(--mut); line-height: 1.85; }

/* ── رأس الصفحات الداخلية ───────────────────────────────── */
.os-page { padding-block: clamp(30px, 5vw, 70px) clamp(40px, 6vw, 80px); }
.os-page .os-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 60px); align-items: end; }
.os-page .bc { font: 600 13px var(--f-d); color: var(--mut); display: flex; gap: 8px; }
.os-page .bc a { text-decoration: none; } .os-page .bc a:hover { text-decoration: underline; }
.os-page figure { margin: 0; }
.os-page figure img { border-radius: var(--r-l); box-shadow: var(--sh); }
.os-page.solo .os-wrap { grid-template-columns: minmax(0, 1fr); }
.os-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.os-split.rev > :first-child { order: 2; }
.os-shot { border-radius: var(--r-l); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(11, 22, 38, .55); background: var(--abyss); }
.os-phone { inline-size: min(300px, 80%); margin-inline: auto; padding: 10px; border-radius: 44px; background: #0b0b0d; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.os-phone img { border-radius: 34px; }
.os-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.os-flow li { position: relative; padding: 22px; border-radius: var(--r); background: var(--card); box-shadow: var(--sh); }
.os-flow li b { display: block; font: 800 18px var(--f-d); margin: 12px 0 6px; }
.os-flow li p { margin: 0; color: var(--mut); line-height: 1.75; font-size: 15px; }
.os-flow li i { font: 900 15px var(--f-d); font-style: normal; display: inline-grid; place-items: center; inline-size: 36px; block-size: 36px; border-radius: 50%; background: var(--cobalt); color: #fff; }
.os-flow li:not(:last-child)::after { content: ""; position: absolute; inset-inline-end: -14px; top: 40px; inline-size: 14px; block-size: 2px; background: var(--line-2); }
.os-samples { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.os-samples figure { margin: 0; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: var(--paper-2); position: relative; box-shadow: var(--sh); }
.os-samples figure img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.os-samples figcaption { position: absolute; inset-inline: 10px; bottom: 10px; font: 700 12.5px var(--f-d); padding: 6px 10px; border-radius: 10px; background: rgba(255, 255, 255, .9); }
.os-samples .ph { display: grid; place-items: center; text-align: center; padding: 18px; color: var(--mut); font-size: 14px; line-height: 1.7; }

/* ── نموذج التواصل (المعرّفات من form.js كما هي) ───────── */
.os-req { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 20px; align-items: start; }
.os-req form#reqForm { padding: clamp(20px, 3vw, 34px); border-radius: var(--r-l); background: var(--card); box-shadow: var(--sh); display: grid; gap: 16px; }
.os-req .field, .os-req label.field { display: grid; gap: 7px; font: 600 14px var(--f-d); }
.os-req .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.os-req .inp, .os-req select, .os-req textarea { font: 500 16px var(--f-b); color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 14px; min-block-size: 50px; inline-size: 100%; }
.os-req textarea { min-block-size: 120px; resize: vertical; }
.os-req .inp:focus-visible, .os-req select:focus-visible, .os-req textarea:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 1px; border-color: transparent; }
.os-req .hint { font: 500 12.5px var(--f-b); color: var(--mut); }
.os-req .err { color: #b42318; font: 600 13px var(--f-b); min-block-size: 18px; }
.os-req .chkbox { display: flex; gap: 10px; align-items: flex-start; font: 500 14px/1.7 var(--f-b); color: var(--ink-2); }
.os-req .chkbox input { inline-size: 20px; block-size: 20px; accent-color: var(--cobalt); margin-top: 4px; flex: none; }
.os-req .req-act { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.os-req button[type="submit"] { min-block-size: 52px; padding: 0 30px; border-radius: 999px; border: 0; background: var(--cobalt); color: #fff; font: 700 16px var(--f-d); cursor: pointer; }
.os-req button[type="submit"]:disabled { opacity: .6; cursor: wait; }
.os-req .lbl-busy { display: none; } .os-req .busy .lbl-busy { display: inline; } .os-req .busy .lbl-idle { display: none; }
.os-req .req-msg { font: 600 14px var(--f-b); }
.os-req .req-side { position: sticky; top: 96px; padding: 24px; border-radius: var(--r-l); background: var(--abyss); color: #eef2fb; --mut: #a6b1c7; display: grid; gap: 14px; }
.os-req .req-side h2, .os-req .req-side h3 { margin: 0; font: 800 20px var(--f-d); }
.os-req .req-side p { margin: 0; color: var(--mut); line-height: 1.8; }
.os-req .req-side a { color: #fff; }
.os-req .req-sum { padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .06); line-height: 1.8; font-size: 14.5px; }
.os-req .req-ok { text-align: center; padding: 30px; border-radius: var(--r-l); background: var(--card); box-shadow: var(--sh); }
.os-req .req-ok[hidden] { display: none; }
.os-req .hp { position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; pointer-events: none; }
.os-req [hidden] { display: none !important; }

/* ── بطاقة QUEUE المحفوظة بشكلها القديم داخل Shadow DOM ── */
.os-legacy-card { display: block; }

/* ── الحركة ─────────────────────────────────────────────── */
.js .os7 .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .os7 .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .os7 .rv { opacity: 1; transform: none; transition: none; }
  .os-mq div { animation: none; }
  .os7 * { scroll-behavior: auto !important; }
}

/* ── استجابة ────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .os-nav { display: none; }
  .os-burger { display: inline-flex; }
  .os-act .os-btn.ghost { display: none; }
  .os-act { margin-inline-start: auto; }
  .os-gal { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .os-tile, .os-tile.w3 { grid-column: span 3; } .os-tile.w4, .os-tile.w6 { grid-column: span 6; }
}
@media (max-width: 900px) {
  .os-hero .os-wrap, .os-page .os-wrap, .os-split, .os-trial, .os-req, .os-story { grid-template-columns: minmax(0, 1fr); }
  .os-split.rev > :first-child { order: 0; }
  .os-story [role="tablist"] { position: static; grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; }
  .os-cards, .os-plans { grid-template-columns: minmax(0, 1fr); }
  .os-steps, .os-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .os-steps li:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .os-flow li::after { display: none; }
  .os-samples { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .os-foot .grid { grid-template-columns: 1fr 1fr; }
  .os-end { grid-template-columns: minmax(0, 1fr); }
  .os-req .req-side { position: static; }
}
@media (max-width: 620px) {
  .os7 { font-size: 16px; }
  .os-act .os-btn { display: none; }
  .os-tile, .os-tile.w3, .os-tile.w4 { grid-column: span 6; }
  .os-gal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .os-steps, .os-flow { grid-template-columns: minmax(0, 1fr); }
  .os-steps li { border-inline-start: 0; padding-inline: 0; border-top: 1px solid var(--line); }
  .os-story ul, .os-req .row2 { grid-template-columns: minmax(0, 1fr); }
  .os-foot .grid { grid-template-columns: minmax(0, 1fr); }
  .os-fab { display: inline-flex; }
}

/* ── تفاصيل نموذج الطلب (عناصر v6 كما هي) ───────────────── */
.os-req .rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.os-req .rules li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.75; color: #dfe6f5; }
.os-req .rules svg { inline-size: 20px; block-size: 20px; flex: none; margin-top: 5px; color: var(--sun); }
.os-req .cico { display: inline-grid; place-items: center; inline-size: 64px; block-size: 64px; border-radius: 50%; background: #dff3ee; color: var(--aqua); margin-bottom: 8px; }
.os-req .cico svg { inline-size: 30px; block-size: 30px; }
.os-req .soc { display: flex; gap: 8px; flex-wrap: wrap; }
.os-req .soc a { padding: 8px 12px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; text-decoration: none; font: 600 13.5px var(--f-d); }
.os-req .cnt { margin: 0; font-size: 12.5px; color: var(--mut); }
.os-req .note { margin: 0; font-size: 13.5px; color: var(--mut); line-height: 1.8; }
.os-req .field label i { color: var(--coral); font-style: normal; }
.os-req .req-side .lead { color: var(--mut); }
.os-req .btn { display: inline-flex; align-items: center; justify-content: center; min-block-size: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--line-2); background: transparent; color: var(--ink); font: 700 15px var(--f-d); text-decoration: none; cursor: pointer; }
.os-req .btn-primary { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.os-req .cta-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 16px; }
.os-req .req-sum[hidden] { display: none; }
.os-toc a, .os-story nav a { display: block; padding: 10px 14px; border-radius: 12px; text-decoration: none; font: 600 14.5px var(--f-d); }
.os-story nav a:hover { background: var(--card); }

/* سياسة الخصوصية: فهرس جانبي + بطاقات */
.os-prv { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
.os-prv > nav { position: sticky; top: 96px; display: grid; gap: 6px; }
.os-prv > nav a { display: block; padding: 10px 14px; border-radius: 12px; text-decoration: none; font: 600 14.5px var(--f-d); }
.os-prv > nav a:hover { background: var(--card); }
.os-prv article { min-inline-size: 0; overflow-wrap: anywhere; }
.os-prv article ul { padding-inline-start: 20px; }
.os-prv article svg { inline-size: 20px; block-size: 20px; }
.os-samples:has(> .ph:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.os-samples .ph { aspect-ratio: auto; min-block-size: 160px; }
@media (max-width: 900px) { .os-prv { grid-template-columns: minmax(0, 1fr); } .os-prv > nav { position: static; grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; } }
/* منع أي تمرير أفقي للصفحة (الجداول تتمرر داخل حاويتها فقط) */

.os-tbl { max-inline-size: 100%; contain: inline-size; }

/* OCEAN STUDIO v7 — صفحات تسويق المنتجات السبعة. كل منتج يعيد تعريف رموز الهوية تحت .os7[data-p="…"].
   لا يُحمَّل هذا الملف في صفحة QUEUE ولا صفحة النداء. */
.os7[data-p] { --on-acc: #fff; }
.os7[data-p="pulse"] { --paper: #04100d; --paper-2: #071a15; --card: #081612; --ink: #ecfdf7; --ink-2: #c9f2e4; --mut: #93b8ac; --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .16);
  --cobalt: #2fe0b0; --cobalt-2: #13a886; --on-acc: #03140f; --coral: #f2727f; --sun: #7ff0d0; --abyss: #030b09; --abyss-2: #0a1f19; --foam: rgba(47, 224, 176, .14);
  --f-d: "IBM Plex Sans Arabic", "Alexandria", sans-serif; background: radial-gradient(1100px 650px at 85% -10%, rgba(20, 120, 96, .55), transparent 60%), radial-gradient(900px 700px at 0% 60%, rgba(10, 80, 70, .35), transparent 60%), #04100d; }
.os7[data-p="pulse"] .os-card, .os7[data-p="pulse"] .os-faq details { background: #081612; border-color: rgba(255, 255, 255, .07); border-radius: 26px; box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 24px 50px rgba(0, 0, 0, .35); }
.os7[data-p="pulse"] .os-btn { border-radius: 999px; }
.os7[data-p="pulse"] .os-btn.pri { background: linear-gradient(180deg, #3ff0c0, #13a886); color: #03140f; box-shadow: 0 10px 26px rgba(47, 224, 176, .35), inset 0 1px 0 rgba(255, 255, 255, .3); }
.os7[data-p="pulse"] .os-btn.ghost { background: #081612; border: 1px solid rgba(255, 255, 255, .16); }
.os7[data-p="book"] { --paper: #070f2a; --paper-2: #0c1838; --card: #0f1c44; --ink: #e8eeff; --ink-2: #c8d4ff; --mut: #a3b3e0; --line: rgba(120, 150, 255, .18); --line-2: rgba(120, 150, 255, .32);
  --cobalt: #2f5bf0; --cobalt-2: #2a55e8; --coral: #ff8a3d; --sun: #8be3ff; --abyss: #050b20; --abyss-2: #0c1838; --foam: rgba(61, 107, 255, .16); --f-d: "Readex Pro", "Alexandria", sans-serif; }
.os7[data-p="service"] { --paper: #0d0c0b; --paper-2: #171513; --card: #1c1916; --ink: #f6efe4; --ink-2: #e6d9c3; --mut: #c2b7a4; --line: rgba(255, 190, 90, .15); --line-2: rgba(255, 190, 90, .3);
  --cobalt: #ffb020; --cobalt-2: #ff9d2e; --on-acc: #1a1206; --coral: #ff5d4a; --sun: #ffb020; --abyss: #080706; --abyss-2: #1c1916; --foam: rgba(255, 176, 32, .14); --f-d: "Tajawal", "Readex Pro", sans-serif; }
.os7[data-p="rooms"] { --paper: #eaf5fc; --paper-2: #d9ecf8; --card: #ffffff; --ink: #0b2545; --ink-2: #213e66; --mut: #4a6587; --line: rgba(11, 37, 69, .12); --line-2: rgba(11, 37, 69, .22);
  --cobalt: #0868a8; --cobalt-2: #075a91; --coral: #e5484d; --sun: #38bdf8; --abyss: #0b2545; --abyss-2: #12335c; --foam: #dbeffc; --f-d: "Readex Pro", "Alexandria", sans-serif; }
.os7[data-p="property"] { --paper: #121110; --paper-2: #1b1917; --card: #1f1c19; --ink: #f1ece3; --ink-2: #e0d6c4; --mut: #bfb39f; --line: rgba(212, 169, 90, .16); --line-2: rgba(212, 169, 90, .32);
  --cobalt: #d4a95a; --cobalt-2: #b8914a; --on-acc: #1a1306; --coral: #e0735a; --sun: #d4a95a; --abyss: #0a0908; --abyss-2: #1b1917; --foam: rgba(212, 169, 90, .14); --f-d: "Noto Naskh Arabic", "Alexandria", serif; }
.os7[data-p="custom"] { --paper: #0d0618; --paper-2: #160b2b; --card: #1a0f31; --ink: #f3eefc; --ink-2: #ddd3f5; --mut: #bcaedb; --line: rgba(167, 139, 250, .18); --line-2: rgba(167, 139, 250, .34);
  --cobalt: #a78bfa; --cobalt-2: #8b6cf0; --on-acc: #14072a; --coral: #f0abfc; --sun: #60a5fa; --abyss: #08030f; --abyss-2: #160b2b; --foam: rgba(167, 139, 250, .14); --f-d: "IBM Plex Sans Arabic", "Readex Pro", sans-serif;
  background: radial-gradient(900px 600px at 80% -5%, rgba(124, 58, 237, .35), transparent 65%), radial-gradient(700px 600px at 0% 40%, rgba(37, 99, 235, .16), transparent 60%), #0d0618; }
.os7[data-p="ops"] { --paper: #0b0b0c; --paper-2: #141416; --card: rgba(38, 38, 42, .55); --ink: #f4f4f5; --ink-2: #e4e4e7; --mut: #a1a1aa; --line: rgba(255, 255, 255, .1); --line-2: rgba(255, 255, 255, .2);
  --cobalt: #22d3c5; --cobalt-2: #14a89c; --on-acc: #03151a; --coral: #e0457b; --sun: #38bdf8; --abyss: #08080a; --abyss-2: #161618; --foam: rgba(255, 255, 255, .06); --f-d: "IBM Plex Sans Arabic", "Alexandria", sans-serif;
  background: linear-gradient(180deg, rgba(8, 8, 9, .35), rgba(8, 8, 9, .82) 900px, #0b0b0c 1400px), url("img/ops-rock.webp") top center / 100% auto no-repeat, #0b0b0c; }
.os7[data-p] .os-btn.pri { --b: var(--cobalt); --c: var(--on-acc); }
.os7[data-p] .os-btn.ghost { color: var(--ink); }


.os7[data-p="rooms"] .os-brand img { box-shadow: none; }





.os7[data-p] .os-kick { color: var(--cobalt); }
.os7[data-p] .os-kick b { background: var(--cobalt); } .os7[data-p] .os-kick b span { color: var(--on-acc); }
.os7[data-p] .os-card, .os7[data-p] .os-faq details { background: var(--card); box-shadow: none; border: 1px solid var(--line); }
.os7[data-p="ops"] .os-card, .os7[data-p="ops"] .os-faq details, .os7[data-p="ops"] .px-glass { backdrop-filter: blur(18px) saturate(1.1); background: linear-gradient(160deg, rgba(58, 58, 64, .5), rgba(22, 22, 26, .6)); border-color: rgba(255, 255, 255, .1); box-shadow: 0 1px 0 rgba(255, 255, 255, .07) inset, 0 20px 50px rgba(0, 0, 0, .45); }
.os7[data-p="ops"] .op7-matrix { background: linear-gradient(160deg, rgba(58, 58, 64, .45), rgba(22, 22, 26, .55)); backdrop-filter: blur(16px); }
.os7[data-p="rooms"] .os-card, .os7[data-p="rooms"] .os-faq details { box-shadow: 0 18px 40px -26px rgba(11, 37, 69, .4); }
.os7[data-p] .os-faq summary::after { color: var(--cobalt); }

/* عناصر مشتركة لصفحات المنتجات */
.px-badge { display: inline-flex; align-items: center; gap: 10px; font: 700 13px/1 var(--f-d); letter-spacing: .06em; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); }
.px-badge i { inline-size: 26px; block-size: 26px; border-radius: 8px; background: var(--cobalt); color: var(--on-acc); display: grid; place-items: center; }
.px-badge i svg { inline-size: 16px; block-size: 16px; }
.px-h1 { font: 800 clamp(38px, 5.6vw, 82px)/1.12 var(--f-d); margin: 18px 0 0; color: var(--ink); }
.px-h1 em { font-style: normal; color: var(--cobalt); }
.px-h2 { font: 800 clamp(28px, 3.8vw, 52px)/1.2 var(--f-d); margin: 14px 0 0; color: var(--ink); }
.px-lead { font-size: clamp(16.5px, 1.4vw, 19px); line-height: 1.9; color: var(--mut); max-inline-size: 60ch; margin: 16px 0 0; }
.px-scene { margin: 0; position: relative; }
.px-scene img { border-radius: var(--r-l); box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .8); }
.px-scene figcaption, .px-cap { font-size: 12.5px; color: var(--mut); margin-top: 10px; }
.px-feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.px-feat article { padding: 22px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.px-feat article h3 { margin: 0; font: 700 18px/1.4 var(--f-d); color: var(--ink); }
.px-feat article p { margin: 0; color: var(--mut); line-height: 1.8; font-size: 15px; }
.px-not { padding: 22px 24px; border-radius: var(--r); border: 1.5px dashed var(--line-2); color: var(--ink-2); }
.px-not h3 { margin: 0 0 8px; font: 700 17px var(--f-d); }
.px-not ul { margin: 0; padding-inline-start: 18px; line-height: 1.9; color: var(--mut); }
.px-cases { display: flex; flex-wrap: wrap; gap: 10px; }
.px-cases span { padding: 10px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font: 600 14.5px var(--f-d); color: var(--ink-2); }
.px-end { border-radius: clamp(26px, 4vw, 44px); padding: clamp(30px, 5vw, 64px); background: var(--cobalt); color: var(--on-acc); display: grid; gap: 14px; }
.px-end h2 { margin: 0; font: 800 clamp(28px, 4vw, 54px)/1.15 var(--f-d); }
.px-end p { margin: 0; max-inline-size: 60ch; line-height: 1.85; opacity: .9; }
.px-end .meta { display: flex; flex-wrap: wrap; gap: 8px; }
.px-end .meta span { padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .28); font: 600 13.5px var(--f-d); }
.px-end .os-btn { --b: var(--on-acc); --c: var(--cobalt); }
.px-end .os-btn.ghost { background: transparent; color: var(--on-acc); border-color: currentColor; }
.px-dev { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 22px; align-items: end; }
.px-dev .desk { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.px-dev .desk .bar { block-size: 30px; display: flex; gap: 7px; align-items: center; padding: 0 14px; background: rgba(0, 0, 0, .35); }
.px-dev .desk .bar i { inline-size: 10px; block-size: 10px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.px-dev .ph { padding: 8px; border-radius: 40px; background: #0b0b0d; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.px-dev .ph img { border-radius: 32px; }
.px-shotcap { display: inline-flex; gap: 8px; align-items: center; margin-top: 12px; font-size: 13px; color: var(--mut); }
.px-shotcap b { color: var(--ink); }

/* PULSE: بطل مقسوم (هاتف المحادثة + المؤشر) ثم نهر الرحلة ثم مسارات */
.pl7-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 60px); align-items: center; }
.pl7-river { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line); }
.pl7-river > div { padding: 26px 22px 30px; position: relative; background: var(--card); }
.pl7-river > div:nth-child(2) { background: color-mix(in srgb, var(--card) 80%, var(--sun) 20%); }
.pl7-river > div:nth-child(3) { background: color-mix(in srgb, var(--card) 80%, var(--coral) 20%); }
.pl7-river > div:nth-child(4) { background: color-mix(in srgb, var(--card) 70%, var(--cobalt) 30%); }
.pl7-river b { display: block; font: 800 26px var(--f-d); color: var(--ink); margin-bottom: 8px; }
.pl7-river span { color: var(--ink-2); line-height: 1.8; font-size: 15px; }
.pl7-river small { display: block; font: 700 12px var(--f-d); letter-spacing: .12em; color: var(--ink-2); margin-bottom: 14px; }
.pl7-consent { display: grid; grid-template-columns: 70px 1fr; gap: 20px; align-items: center; padding: 26px; border-radius: var(--r-l); background: linear-gradient(120deg, var(--foam), transparent); border: 1px solid var(--line-2); }
.pl7-consent .ck { inline-size: 70px; block-size: 70px; border-radius: 22px; display: grid; place-items: center; background: var(--cobalt); color: var(--on-acc); font: 900 34px var(--f-d); }
.pl7-consent h3 { margin: 0; font: 700 21px var(--f-d); }
.pl7-consent p { margin: 6px 0 0; color: var(--mut); line-height: 1.85; }
.pl7-lanes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pl7-lanes > div { display: grid; gap: 12px; align-content: start; }
.pl7-lanes h3 { margin: 0; font: 700 14px var(--f-d); color: var(--mut); letter-spacing: .08em; display: flex; justify-content: space-between; }

/* BOOK: لافتة تقويم عريضة فوق العنوان، ثم خطوات مرقمة على هاتف، ثم ثلاث بطاقات قرار */
.bk7-hero { text-align: center; }
.bk7-hero .px-lead { margin-inline: auto; }
.bk7-hero .os-row { justify-content: center; }
.bk7-hero .px-scene { margin-top: 40px; }
.bk7-steps { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.bk7-steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: b; }
.bk7-steps li { counter-increment: b; display: grid; grid-template-columns: 54px 1fr; gap: 16px; align-items: center; padding: 18px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.bk7-steps li::before { content: counter(b); inline-size: 54px; block-size: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--cobalt); color: #fff; font: 800 22px var(--f-d); }
.bk7-steps li b { font: 700 18px var(--f-d); display: block; } .bk7-steps li span { color: var(--mut); }
.bk7-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.bk7-trio article { padding: 26px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.bk7-trio .pop { border-radius: 16px; background: #fff; color: #10182f; padding: 14px 16px; font-size: 14.5px; line-height: 1.7; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); }
.bk7-trio .pop b { color: #d92d4a; }
.bk7-trio h3 { margin: 0; font: 700 20px var(--f-d); }
.bk7-trio p { margin: 0; color: var(--mut); line-height: 1.8; }

/* SERVICE: بطل بخريطة صالة على اليسار ثم شبكة الأزرار الستة ثم خط زمني رأسي */
.sv7-hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 60px); align-items: center; }
.sv7-six { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sv7-six div { aspect-ratio: 1.5; border-radius: 22px; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; align-content: center; gap: 10px; text-align: center; font: 800 19px var(--f-d); }
.sv7-six div:first-child { background: var(--cobalt); color: var(--on-acc); }
.sv7-six svg { inline-size: 30px; block-size: 30px; }
.sv7-six small { display: block; font: 500 12.5px var(--f-b); color: var(--mut); }
.sv7-six div:first-child small { color: inherit; opacity: .75; }
.sv7-line { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 18px; }
.sv7-line::before { content: ""; position: absolute; inset-inline-start: 27px; top: 10px; bottom: 10px; inline-size: 2px; background: linear-gradient(var(--cobalt), transparent); }
.sv7-line li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; position: relative; }
.sv7-line li > b { inline-size: 56px; block-size: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--abyss); border: 2px solid var(--cobalt); color: var(--cobalt); font: 800 18px var(--f-d); }
.sv7-line h3 { margin: 6px 0 4px; font: 800 22px var(--f-d); } .sv7-line p { margin: 0; color: var(--mut); line-height: 1.8; }
.sv7-nopos { display: flex; gap: 22px; align-items: center; padding: 26px; border-radius: var(--r-l); border: 2px solid var(--coral); background: rgba(255, 93, 74, .08); }
.sv7-nopos .x { flex: none; inline-size: 72px; block-size: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--coral); color: #fff; font: 900 36px var(--f-d); }
.sv7-nopos h3 { margin: 0; font: 800 22px var(--f-d); } .sv7-nopos p { margin: 6px 0 0; color: var(--mut); line-height: 1.85; }

/* ROOMS: شريط كحلي بالمؤشرات + مقطع المبنى عريض + بطاقات صور غرف + ثلاث فرق */
.rm7-band { background: var(--abyss); color: #fff; --mut: #a9c3e0; padding-block: clamp(40px, 6vw, 80px) 0; }
.rm7-band .px-h1, .rm7-band .px-h2 { color: #fff; }
.rm7-band .os-btn.ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.rm7-band .px-scene { margin-top: 36px; transform: translateY(60px); }
.rm7-after { padding-top: 100px; }
.rm7-rooms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.rm7-rooms figure { margin: 0; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 18px 40px -26px rgba(11, 37, 69, .45); }
.rm7-rooms img { aspect-ratio: 4 / 3; object-fit: cover; inline-size: 100%; }
.rm7-rooms figcaption { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; }
.rm7-rooms b { font: 800 20px var(--f-d); }
.rm7-rooms em { font-style: normal; font: 700 12.5px var(--f-d); padding: 5px 10px; border-radius: 999px; }
.rm7-teams { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rm7-teams article { padding: 26px; border-radius: var(--r); background: #fff; border-top: 5px solid var(--sun); box-shadow: 0 18px 40px -26px rgba(11, 37, 69, .45); }
.rm7-teams h3 { margin: 0 0 8px; font: 800 21px var(--f-d); } .rm7-teams p { margin: 0; color: var(--mut); line-height: 1.85; }

/* PROPERTY: غلاف مجلة بصورة كاملة + خط دورة الحياة + مخطط + بوابة */
.pr7-cover { position: relative; min-block-size: min(86vh, 820px); display: grid; align-items: end; border-radius: 0 0 clamp(28px, 4vw, 52px) clamp(28px, 4vw, 52px); overflow: hidden; isolation: isolate; }
.pr7-cover > img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; z-index: -2; }
.pr7-cover::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 9, 8, .96) 8%, rgba(10, 9, 8, .25) 60%, rgba(10, 9, 8, .55)); }
.pr7-cover .os-wrap { padding-block: 60px; }
.pr7-cover .px-h1 { font-size: clamp(42px, 6.6vw, 104px); max-inline-size: 13ch; }
.pr7-cover .cap { position: absolute; top: 18px; inset-inline-end: 18px; font-size: 12px; padding: 6px 10px; border-radius: 10px; background: rgba(0, 0, 0, .55); color: #e0d6c4; }
.pr7-life { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); position: relative; }
.pr7-life::before { content: ""; position: absolute; inset-inline: 7%; top: 13px; block-size: 2px; background: var(--line-2); }
.pr7-life li { display: grid; justify-items: center; gap: 10px; text-align: center; position: relative; }
.pr7-life i { inline-size: 28px; block-size: 28px; border-radius: 50%; border: 2px solid var(--cobalt); background: var(--paper); }
.pr7-life li.on i { background: var(--cobalt); box-shadow: 0 0 0 6px var(--foam); }
.pr7-life b { font: 700 16px var(--f-d); }
.pr7-mag { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; }
.pr7-mag figure { margin: 0; position: relative; border-radius: 22px; overflow: hidden; min-block-size: 280px; isolation: isolate; display: grid; align-content: end; padding: 18px; }
.pr7-mag img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; z-index: -2; }
.pr7-mag figure::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 9, 8, .9), transparent 65%); }
.pr7-mag b { font: 700 24px var(--f-d); } .pr7-mag span { color: var(--mut); font-size: 14px; }

/* OPS: لوحة زجاجية بنفسجية + مصفوفة اعتماد + مقارنة عروض */
.op7-hero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 60px); align-items: center; }
.px-glass { border-radius: var(--r-l); border: 1px solid var(--line-2); padding: 24px; }
.op7-matrix { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line-2); }
.op7-matrix > div { padding: 24px 20px; border-inline-start: 1px solid var(--line); position: relative; }
.op7-matrix > div:first-child { border-inline-start: 0; }
.op7-matrix b { display: block; font: 900 40px var(--f-d); color: var(--cobalt); line-height: 1; margin-bottom: 14px; }
.op7-matrix h3 { margin: 0 0 6px; font: 700 18px var(--f-d); } .op7-matrix p { margin: 0; color: var(--mut); line-height: 1.8; font-size: 15px; }
.op7-ps { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.op7-ps article { padding: 26px; border-radius: var(--r-l); }
.op7-ps article:first-child { border: 1.5px dashed var(--line-2); }
.op7-ps article:last-child { background: linear-gradient(150deg, #e5484d, #9f1d22); color: #fff; box-shadow: 0 24px 60px rgba(229, 72, 77, .25); }
.op7-ps h3 { margin: 0 0 8px; font: 800 22px var(--f-d); } .op7-ps p { margin: 0; line-height: 1.85; }

/* CUSTOM: يرث مكونات المعالج من pm.css داخل .pm[data-pm="custom"] */
.os7[data-p="custom"] .pm { background: none; }

/* دليل المنتجات */
.pd7 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.pd7 > * { grid-column: span 4; }
.pd7 .big { grid-column: span 8; }
.pd7-card { position: relative; display: grid; align-content: space-between; gap: 18px; min-block-size: 300px; padding: 24px; border-radius: var(--r); color: #fff; text-decoration: none; overflow: hidden; isolation: isolate; background: var(--bg); transition: transform .35s var(--ease); }
.pd7-card:hover { transform: translateY(-4px); }
.pd7-card .mk { inline-size: 48px; block-size: 48px; border-radius: 14px; background: rgba(255, 255, 255, .14); display: grid; place-items: center; }
.pd7-card .mk svg { inline-size: 24px; block-size: 24px; }
.pd7-card h3 { margin: 0; font: 800 24px/1.3 var(--f-d); }
.pd7-card p { margin: 6px 0 0; opacity: .86; line-height: 1.75; font-size: 15px; }
.pd7-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.pd7-card .tags span { font: 600 12px var(--f-d); padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); }
.pd7-card > img { position: absolute; inset-inline-end: -10%; bottom: -12%; inline-size: 62%; z-index: -1; border-radius: 16px; opacity: .55; transform: rotate(-6deg); }
.pd7-card.light { color: #0b2545; } .pd7-card.light .mk, .pd7-card.light .tags span { background: rgba(11, 37, 69, .08); }
.pd7-legacy { grid-column: span 4; }

@media (max-width: 1000px) {
  .pl7-hero, .sv7-hero, .op7-hero, .bk7-steps { grid-template-columns: minmax(0, 1fr); }
  .pl7-river, .op7-matrix { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .px-feat, .bk7-trio, .rm7-teams, .pl7-lanes { grid-template-columns: minmax(0, 1fr); }
  .rm7-rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pr7-life { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 22px; } .pr7-life::before { display: none; }
  .pr7-mag, .op7-ps { grid-template-columns: minmax(0, 1fr); }
  .px-dev { grid-template-columns: minmax(0, 1fr); } .px-dev .ph { inline-size: 220px; margin-inline: auto; }
  .pd7 > *, .pd7 .big, .pd7-legacy { grid-column: span 6; }
}
@media (max-width: 620px) {
  .pl7-river, .op7-matrix, .rm7-rooms { grid-template-columns: minmax(0, 1fr); }
  .op7-matrix > div { border-inline-start: 0; border-top: 1px solid var(--line); }
  .sv7-six { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sv7-nopos, .pl7-consent { grid-template-columns: minmax(0, 1fr); flex-direction: column; align-items: flex-start; }
  .pd7 > *, .pd7 .big, .pd7-legacy { grid-column: span 12; }
  .rm7-band .px-scene { transform: none; } .rm7-after { padding-top: 40px; }
}

/* CUSTOM: أزرار المعالج والتتبع كانت تعتمد على .btn من site.css (غير محمّل هنا) */
.os7[data-p="custom"] .cw-ok[hidden], .os7[data-p="custom"] [hidden] { display: none !important; }
.os7[data-p="custom"] .pm .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-block-size: 50px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--line-2); background: transparent; color: var(--ink); font: 700 15px var(--f-d); text-decoration: none; cursor: pointer; }
.os7[data-p="custom"] .pm .btn-primary, .os7[data-p="custom"] .pm .cw-next { border: 0; }
.os7[data-p="custom"] .pm .btn:disabled { opacity: .6; cursor: wait; }
.os7[data-p="custom"] .pm .wrap { inline-size: min(1240px, 100% - 32px); margin-inline: auto; }
.os7[data-p="custom"] .pm .pm-kick { font: 700 13px var(--f-d); color: var(--cobalt); letter-spacing: .06em; }
.os7[data-p="custom"] .pm .pm-h2 { font: 800 clamp(28px, 3.8vw, 52px)/1.2 var(--f-d); margin: 12px 0 0; }
.os7[data-p="custom"] .pm .pm-lead { color: var(--mut); line-height: 1.9; }

.os7[data-p] .os-chip.ok { background: #dff3ee; color: #08443e; }
/* وصولية: تباين الأزرار الثانوية والوسوم داخل صندوق النهاية وشارة ROOMS وعناوين BOOK */
.os7[data-p] .px-end .os-btn.ghost { color: var(--on-acc); border-color: currentColor; background: transparent; }
.os7[data-p] .px-end .meta span { background: color-mix(in srgb, var(--on-acc) 12%, transparent); }
.os7[data-p="book"] .os-kick { color: #9db7ff; }
.os7[data-p="rooms"] .rm7-band .px-badge { color: #dbeffc; border-color: rgba(255, 255, 255, .3); }
.os7 .os-fab { --b: #c8421c; --c: #fff; }
.os7[data-p] .px-end .meta span { background: rgba(0, 0, 0, .22); }
.os7[data-p="pulse"] .px-end .meta span, .os7[data-p="service"] .px-end .meta span, .os7[data-p="property"] .px-end .meta span, .os7[data-p="custom"] .px-end .meta span { background: rgba(255, 255, 255, .3); }
.os7[data-p="rooms"] .rm7-band .os-btn.ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }

/* v8 — خلفية حيّة لصفحات المنتجات: هالات ضوء تتحرك ببطء + موجات بلون هوية المنتج */
.os7[data-p]:not([data-p="custom"]) { position: relative; isolation: isolate; overflow-x: clip; }
.os7[data-p]:not([data-p="custom"])::before {
  content: ""; position: fixed; inset: -25%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(32% 28% at 18% 28%, color-mix(in srgb, var(--cobalt) 30%, transparent), transparent 70%),
    radial-gradient(30% 26% at 82% 72%, color-mix(in srgb, var(--sun) 22%, transparent), transparent 70%),
    radial-gradient(26% 22% at 62% 18%, color-mix(in srgb, var(--cobalt-2) 26%, transparent), transparent 70%);
  filter: blur(30px); animation: osAurora 26s ease-in-out infinite alternate;
}
.os7[data-p]:not([data-p="custom"])::after {
  content: ""; position: fixed; inset: auto 0 0 0; block-size: 46vh; z-index: -1; pointer-events: none;
  background: linear-gradient(0deg, color-mix(in srgb, var(--cobalt) 26%, transparent), transparent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='400' viewBox='0 0 1600 400'%3E%3Cg fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M0 120 C200 60 400 180 600 120 S1000 60 1200 120 1400 180 1600 120'/%3E%3Cpath d='M0 180 C200 120 400 240 600 180 S1000 120 1200 180 1400 240 1600 180' opacity='.8'/%3E%3Cpath d='M0 240 C200 180 400 300 600 240 S1000 180 1200 240 1400 300 1600 240' opacity='.6'/%3E%3Cpath d='M0 300 C200 240 400 360 600 300 S1000 240 1200 300 1400 360 1600 300' opacity='.4'/%3E%3C/g%3E%3C/svg%3E") 0 100% / 1600px 400px repeat-x;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='400' viewBox='0 0 1600 400'%3E%3Cg fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M0 120 C200 60 400 180 600 120 S1000 60 1200 120 1400 180 1600 120'/%3E%3Cpath d='M0 180 C200 120 400 240 600 180 S1000 120 1200 180 1400 240 1600 180' opacity='.8'/%3E%3Cpath d='M0 240 C200 180 400 300 600 240 S1000 180 1200 240 1400 300 1600 240' opacity='.6'/%3E%3Cpath d='M0 300 C200 240 400 360 600 300 S1000 240 1200 300 1400 360 1600 300' opacity='.4'/%3E%3C/g%3E%3C/svg%3E") 0 100% / 1600px 400px repeat-x;
  animation: osWaves 30s linear infinite; opacity: .9;
}
@keyframes osAurora { 0% { transform: translate3d(0,0,0) rotate(0deg) scale(1); } 50% { transform: translate3d(4%,-3%,0) rotate(8deg) scale(1.08); } 100% { transform: translate3d(-4%,3%,0) rotate(-6deg) scale(1.02); } }
@keyframes osWaves { to { -webkit-mask-position: -1600px 100%; mask-position: -1600px 100%; } }
@media (prefers-reduced-motion: reduce) { .os7[data-p]::before, .os7[data-p]::after { animation: none; } }
