/* WUSOOL 360 — site styles
   Layout: navy header, hero and footer bands framing ivory and white content sections;
   gold is kept for the emblem, labels, prices and primary actions. One committed look (no dark mode). */
:root {
  --navy: #08152c;
  --navy-2: #0d2142;
  --navy-3: #13294f;
  --rule-dark: #273958;
  --gold: #d8b46a;
  --gold-hi: #f2dba0;
  --gold-ink: #7a5c22;
  --gold-wash: #f6eedb;
  --ivory: #f8f7f2;
  --paper: #ffffff;
  --ink: #0d1b33;
  --ink-2: #47536a;
  --line: #e4dfd1;
  --muted-dark: #aab5c8;
  --ok: #1f7a4d;
  --danger: #a23b2a;

  --display: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --arabic: 'IBM Plex Sans Arabic', 'Geeza Pro', 'Segoe UI', Tahoma, sans-serif;

  --s-1: 0.8125rem;
  --s0: 1rem;
  --s1: 1.125rem;
  --s2: 1.375rem;
  --s3: clamp(1.75rem, 3.6vw, 2.5rem);
  --s4: clamp(2.25rem, 5.6vw, 3.75rem);

  --radius: 14px;
  --radius-sm: 10px;
  --wrap: 1200px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--s0);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
html[lang="ar"] body, html[lang="ar"] .display, html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] .btn, html[lang="ar"] .eyebrow, html[lang="ar"] input, html[lang="ar"] select, html[lang="ar"] textarea, html[lang="ar"] button { font-family: var(--arabic); letter-spacing: 0 !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-ink); }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; text-wrap: balance; line-height: 1.15; font-weight: 600; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: middle; }
[dir="rtl"] .ico-flip { transform: scaleX(-1); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) { .wrap { padding-left: max(28px, env(safe-area-inset-left, 0px)); padding-right: max(28px, env(safe-area-inset-right, 0px)); } }

.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px; border-radius: 999px;
  font-family: var(--display); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.02em;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-hi); color: var(--navy); }
.btn-line { background: transparent; color: var(--gold-hi); border-color: rgba(216,180,106,.55); }
.btn-line:hover { background: var(--navy-3); color: var(--paper); border-color: var(--gold); }
.btn-ink { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.btn-ink:hover { background: var(--navy-3); color: var(--paper); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.82rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; text-decoration: none; color: var(--gold-ink); }
.link-arrow:hover { color: var(--ink); }
.link-arrow .ico { transition: transform .2s; }
.link-arrow:hover .ico { transform: translateX(3px); }
[dir="rtl"] .link-arrow:hover .ico { transform: scaleX(-1) translateX(3px); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy); color: var(--muted-dark); font-size: var(--s-1); border-bottom: 1px solid var(--rule-dark); }
.topbar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 18px; padding-block: 8px; text-align: center; }
.topbar strong { color: var(--gold-hi); font-weight: 600; }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(8, 21, 44, 0.96); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule-dark); color: var(--paper);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--paper); text-decoration: none; min-width: 0; }
.brand img { width: 46px; height: 46px; }
.brand-words { display: flex; flex-direction: column; line-height: 1.1; }
.brand-words strong { font-family: var(--display); font-weight: 600; letter-spacing: 0.14em; font-size: 1.02rem; }
.brand-words strong em { font-style: normal; color: var(--gold); }
.brand-words small { font-family: var(--arabic); color: var(--gold); font-size: 0.85rem; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a { color: #d6dcea; text-decoration: none; font-weight: 600; font-size: 0.92rem; padding: 10px 12px; border-radius: 8px; display: inline-flex; align-items: center; min-height: 44px; }
.main-nav a:hover { color: var(--paper); background: var(--navy-3); }
.main-nav a[aria-current="page"] { color: var(--gold-hi); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.select-dark, .lang-btn {
  min-height: 44px; border-radius: 999px; border: 1px solid var(--rule-dark); background: var(--navy-2);
  color: var(--paper); font: 600 0.85rem var(--body); padding: 0 14px; cursor: pointer;
}
.select-dark { padding-inline-end: 30px; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 17px) 52%, calc(100% - 12px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
[dir="rtl"] .select-dark { background-position: 17px 52%, 12px 52%; }
.lang-btn { font-family: var(--arabic); }
html[lang="ar"] .lang-btn { font-family: var(--body); }
.lang-btn:hover, .select-dark:hover { border-color: var(--gold); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--rule-dark); background: var(--navy-2); color: var(--paper); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn .ico { width: 22px; height: 22px; }
.mobile-nav { display: none; }
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-nav { border-top: 1px solid var(--rule-dark); background: var(--navy); }
  .mobile-nav.open { display: block; }
  .mobile-nav .wrap { display: flex; flex-direction: column; gap: 4px; padding-block: 12px 18px; }
  .mobile-nav a { color: var(--paper); text-decoration: none; font-weight: 600; padding: 12px 4px; border-bottom: 1px solid var(--rule-dark); display: flex; justify-content: space-between; align-items: center; min-height: 48px; }
  .mobile-nav a small { color: var(--muted-dark); font-weight: 500; }
  .mobile-nav .mobile-tools { display: flex; gap: 8px; padding-top: 12px; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .header-actions .country-wrap, .header-actions .btn-join { display: none; }
  .brand img { width: 40px; height: 40px; }
  .brand-words strong { font-size: 0.95rem; }
}

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: var(--paper); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 85% 40%, rgba(216,180,106,.16), transparent 70%); pointer-events: none; }
[dir="rtl"] .hero::before { background: radial-gradient(60% 70% at 15% 40%, rgba(216,180,106,.16), transparent 70%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 40px; align-items: center; padding-block: 56px 64px; }
.hero.compact .wrap { grid-template-columns: minmax(0, 1fr); padding-block: 48px 56px; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.eyebrow { font-family: var(--display); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section .eyebrow { color: var(--gold-ink); }
.dark .eyebrow, .hero .eyebrow { color: var(--gold); }
.hero h1 { font-size: var(--s4); font-weight: 600; letter-spacing: -0.015em; }
.hero h1 .gold { color: var(--gold-hi); }
.hero .lede { font-size: 1.125rem; color: #cfd6e4; max-width: 60ch; }
.hero-emblem { justify-self: center; width: min(360px, 78vw); filter: drop-shadow(0 20px 50px rgba(0,0,0,.45)); }
.hero-side { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.hero-side .sig { font-family: var(--display); letter-spacing: 0.32em; color: var(--gold); font-size: 0.8rem; text-transform: uppercase; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted-dark); font-size: 0.9rem; }
.hero-note span { display: inline-flex; align-items: center; gap: 8px; }
.hero-note .ico { color: var(--gold); }
.service-mark { display: inline-flex; align-items: center; gap: 12px; }
.service-mark .ar { font-family: var(--arabic); color: var(--gold-hi); font-size: 1.05rem; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); padding-block: 40px 48px; }
  .hero-side { order: -1; }
  .hero-emblem { width: min(220px, 60vw); }
  .hero-side .sig { display: none; }
}

/* ---------- Search box ---------- */
.search-box { background: var(--paper); color: var(--ink); border-radius: 18px; padding: 10px; box-shadow: 0 18px 50px rgba(0,0,0,.25); display: flex; flex-direction: column; gap: 8px; max-width: 760px; }
.search-tabs { display: flex; gap: 4px; flex-wrap: wrap; padding: 2px; }
.search-tabs button { border: 0; background: transparent; font: 700 0.88rem var(--body); color: var(--ink-2); padding: 0 14px; min-height: 40px; border-radius: 999px; cursor: pointer; }
.search-tabs button[aria-selected="true"] { background: var(--navy); color: var(--paper); }
.search-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 220px) auto; gap: 8px; }
.field-ico { position: relative; }
.field-ico .ico { position: absolute; inset-inline-start: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-2); pointer-events: none; }
.field-ico input, .field-ico select { padding-inline-start: 42px; }
.search-row input, .search-row select { width: 100%; min-height: 50px; border: 1px solid var(--line); border-radius: 12px; font: 500 1rem var(--body); color: var(--ink); background: var(--ivory); padding-inline-end: 14px; }
.search-row input:focus, .search-row select:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.search-row .btn { min-height: 50px; border-radius: 12px; }
@media (max-width: 720px) { .search-row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Sections ---------- */
.section { padding-block: 80px; }
.section.tight { padding-block: 56px; }
.section.white { background: var(--paper); border-block: 1px solid var(--line); }
.section.dark { background: var(--navy); color: var(--paper); }
.section.wash { background: var(--gold-wash); }
.section > .wrap { display: flex; flex-direction: column; gap: 40px; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; align-items: center; }
.section-head h2 { font-size: var(--s3); letter-spacing: -0.01em; }
.section-head p { color: var(--ink-2); font-size: 1.075rem; max-width: 65ch; }
.dark .section-head p { color: #c7cfdf; }
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
@media (max-width: 640px) { .section { padding-block: 56px; } }

.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1080px) { .g4, .g5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .g3, .g4, .g5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); } .g5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Service cards (home) ---------- */
.svc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; min-width: 0; transition: border-color .2s, box-shadow .2s, transform .2s; }
.svc:hover { border-color: var(--gold); box-shadow: 0 14px 36px rgba(13,27,51,.08); transform: translateY(-2px); }
.svc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.svc-num { font-family: var(--display); font-size: 0.78rem; letter-spacing: 0.2em; color: var(--gold-ink); font-weight: 600; text-transform: uppercase; }
.icon-tile { width: 48px; height: 48px; border-radius: 12px; background: var(--navy); color: var(--gold); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.icon-tile .ico { width: 24px; height: 24px; }
.icon-tile.light { background: var(--gold-wash); color: var(--gold-ink); }
.svc h3 { font-size: var(--s2); }
.svc .ar-name { font-family: var(--arabic); color: var(--gold-ink); font-weight: 600; }
html[lang="ar"] .svc .ar-name { display: none; }
.svc p { color: var(--ink-2); }
.ticks { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ico { color: var(--gold-ink); margin-top: 3px; width: 1.1em; height: 1.1em; }
.dark .ticks .ico { color: var(--gold); }
.svc .link-arrow { margin-top: auto; }
.svc.soon { background: transparent; border-style: dashed; border-color: #cfc6ae; }
.svc.soon:hover { transform: none; box-shadow: none; }

/* ---------- Audience / feature cards ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card h3 { font-size: 1.15rem; }
.card p { color: var(--ink-2); }
.dark .card { background: var(--navy-2); border-color: var(--rule-dark); }
.dark .card p { color: #c7cfdf; }
.feature { display: flex; gap: 16px; align-items: flex-start; min-width: 0; }
.feature h3 { font-size: 1.05rem; margin-bottom: 4px; }
.feature p { color: var(--ink-2); font-size: 0.97rem; }
.dark .feature p { color: #c7cfdf; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Steps (real sequences) ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.steps li { position: relative; padding: 0 20px 0 0; display: flex; flex-direction: column; gap: 10px; counter-increment: step; min-width: 0; }
[dir="rtl"] .steps li { padding: 0 0 0 20px; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--display); font-size: 1.6rem; font-weight: 300; color: var(--gold-ink); line-height: 1; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.dark .steps li::before { color: var(--gold); border-color: var(--rule-dark); }
.steps h3 { font-size: 1.05rem; padding-top: 4px; }
.steps p { color: var(--ink-2); font-size: 0.97rem; }
.dark .steps p { color: #c7cfdf; }
.steps.s3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .steps, .steps.s3 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; } }
@media (max-width: 520px) { .steps, .steps.s3 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Category tiles ---------- */
.cat { display: flex; gap: 14px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; text-decoration: none; color: var(--ink); min-width: 0; transition: border-color .2s, background-color .2s; }
.cat:hover { border-color: var(--gold); color: var(--ink); background: #fffdf8; }
.cat h3 { font-family: var(--body); font-size: 1rem; font-weight: 700; }
.cat p { color: var(--ink-2); font-size: 0.86rem; line-height: 1.45; }

/* ---------- Chips & item cards ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 999px; padding: 0 16px; min-height: 40px; font: 600 0.88rem var(--body); cursor: pointer; }
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.sample-note { font-size: 0.88rem; color: var(--ink-2); display: inline-flex; gap: 8px; align-items: center; }
.items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1080px) { .items { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 780px) { .items { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .items { grid-template-columns: minmax(0, 1fr); } }
.item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.item-media { position: relative; aspect-ratio: 16 / 10; max-width: 100%; display: flex; align-items: center; justify-content: center; color: var(--gold); background: var(--navy-2); }
.item-media > .ico { width: 44px; height: 44px; stroke-width: 1.2; opacity: .9; }
.badge .ico { width: 1em; height: 1em; stroke-width: 2; }
.item-media.m1 { background: linear-gradient(135deg, #0d2142, #1b3a66); }
.item-media.m2 { background: linear-gradient(135deg, #13294f, #2a4a6e); }
.item-media.m3 { background: linear-gradient(135deg, #0b1d3a, #3b4f70); }
.item-media.m4 { background: linear-gradient(135deg, #1a2e4f, #4a5d7a); }
.item-badges { position: absolute; top: 10px; inset-inline-start: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 0.72rem; font-weight: 700; letter-spacing: .02em; padding: 3px 9px; border-radius: 999px; background: var(--gold); color: var(--navy); }
.badge.light { background: rgba(255,255,255,.92); color: var(--ink); }
.badge.deal { background: var(--paper); color: var(--danger); }
.sample-tag { position: absolute; bottom: 10px; inset-inline-end: 10px; font-size: 0.68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #dbe2ef; background: rgba(8,21,44,.6); padding: 2px 8px; border-radius: 6px; }
.item-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.item-price { font-family: var(--display); font-weight: 700; font-size: 1.1rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.item-price .was { font-family: var(--body); font-weight: 500; font-size: 0.85rem; color: var(--ink-2); text-decoration: line-through; margin-inline-start: 8px; }
.item-title { font-weight: 700; line-height: 1.35; }
.item-meta { color: var(--ink-2); font-size: 0.85rem; display: flex; gap: 6px; align-items: center; margin-top: auto; padding-top: 6px; }
.item-meta .ico { width: 1em; height: 1em; }
.empty { padding: 32px; text-align: center; color: var(--ink-2); border: 1px dashed var(--line); border-radius: var(--radius); grid-column: 1 / -1; }

/* creator card */
.creator { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.creator-top { display: flex; gap: 12px; align-items: center; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--gold-hi); display: inline-flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 600; flex: none; }
.creator h3 { font-family: var(--body); font-size: 1rem; font-weight: 700; }
.creator .sub { color: var(--ink-2); font-size: 0.85rem; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.stat { background: var(--ivory); border-radius: 10px; padding: 8px 10px; }
.stat b { display: block; font-family: var(--display); font-variant-numeric: tabular-nums; }
.stat span { font-size: 0.76rem; color: var(--ink-2); }
.platforms { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { font-size: 0.75rem; font-weight: 700; border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; color: var(--ink-2); }
.pill.ok { border-color: #b9dcc9; color: var(--ok); background: #eef7f1; }

/* ---------- Plans ---------- */
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.plan.now { border: 2px solid var(--gold); }
.plan-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.plan-head h3 { font-size: 1.2rem; }
.plan-price { font-family: var(--display); font-size: 1.6rem; font-weight: 700; }
.status { display: inline-flex; font-size: 0.75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.status.live { background: var(--gold); color: var(--navy); }
.status.later { background: var(--ivory); color: var(--ink-2); border: 1px solid var(--line); }

/* ---------- Split panels ---------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
.panel { border-radius: 18px; padding: 32px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.panel.ink { background: var(--navy); color: var(--paper); }
.panel.ink p { color: #c7cfdf; }
.panel.paper { background: var(--paper); border: 1px solid var(--line); }
.panel h3 { font-size: 1.5rem; }

/* ---------- Markets ---------- */
.markets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .markets { grid-template-columns: minmax(0, 1fr); } }
.market { border: 1px solid var(--rule-dark); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 8px; background: var(--navy-2); min-width: 0; }
.market.next { background: transparent; border-style: dashed; }
.market-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.market h3 { font-size: 1.2rem; color: var(--paper); }
.market .ar { font-family: var(--arabic); color: var(--gold-hi); }
html[lang="ar"] .market .ar { display: none; }
.market p { color: #c7cfdf; font-size: 0.95rem; }
.market .cur { font-family: var(--display); letter-spacing: .14em; font-size: .78rem; color: var(--gold); }
.phase-label { font-family: var(--display); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--gold-ink); transition: transform .2s; }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--ink-2); max-width: 70ch; }

/* ---------- Forms ---------- */
.join { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
@media (max-width: 900px) { .join { grid-template-columns: minmax(0, 1fr); } }
.join-copy { display: flex; flex-direction: column; gap: 18px; }
.join-copy h2 { font-size: var(--s3); }
.join-copy p { color: #c7cfdf; }
.contact-lines { display: flex; flex-direction: column; gap: 10px; }
.contact-lines a, .contact-lines span { color: var(--paper); text-decoration: none; display: inline-flex; gap: 10px; align-items: center; }
.contact-lines .ico { color: var(--gold); }
.form { background: var(--paper); color: var(--ink); border-radius: 18px; padding: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .form { grid-template-columns: minmax(0, 1fr); padding: 20px; } }
.form .full { grid-column: 1 / -1; }
.fld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fld label, .fld legend { font-weight: 700; font-size: 0.9rem; }
.fld .opt { color: var(--ink-2); font-weight: 500; }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 48px; border: 1px solid #d8d2c2; border-radius: 10px; padding: 10px 12px; font: 500 1rem var(--body); color: var(--ink); background: var(--ivory); }
.fld textarea { min-height: 96px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); background: var(--paper); }
.fld input:user-invalid, .fld select:user-invalid { border-color: var(--danger); }
fieldset.fld { border: 0; padding: 0; margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #d8d2c2; border-radius: 999px; padding: 0 14px; min-height: 42px; font-weight: 600; font-size: 0.9rem; cursor: pointer; background: var(--ivory); }
.checks input { width: 18px; height: 18px; min-height: 0; accent-color: var(--navy); }
.checks label:has(input:checked) { border-color: var(--navy); background: #eef1f7; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--ink-2); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); flex: none; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.form-status { grid-column: 1 / -1; border-radius: 12px; padding: 14px 16px; font-weight: 600; }
.form-status.ok { background: #eef7f1; color: var(--ok); border: 1px solid #b9dcc9; }
.form-status.err { background: #fbefec; color: var(--danger); border: 1px solid #ecc5bd; }
.form-status a { color: inherit; font-weight: 800; }
.form .btn { justify-self: start; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: var(--paper); border-radius: 22px; padding: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; position: relative; overflow: hidden; }
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); max-width: 26ch; }
.cta-band p { color: #c7cfdf; margin-top: 8px; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--muted-dark); border-top: 1px solid var(--rule-dark); }
.site-footer .wrap { padding-block: 56px 28px; display: flex; flex-direction: column; gap: 36px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
.foot-brand { display: flex; flex-direction: column; gap: 14px; }
.foot-brand p { max-width: 40ch; }
.site-footer h4 { font-family: var(--display); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; font-weight: 600; }
html[lang="ar"] .site-footer h4 { font-family: var(--arabic); letter-spacing: 0; font-size: .95rem; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.site-footer ul a { color: #d6dcea; text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.site-footer ul a:hover { color: var(--gold-hi); }
.foot-legal { border-top: 1px solid var(--rule-dark); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: .86rem; }
.foot-legal a { color: #d6dcea; }

/* ---------- Legal pages ---------- */
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 16px; }
.prose h2 { font-size: 1.35rem; margin-top: 18px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-inline-start: 22px; display: flex; flex-direction: column; gap: 6px; }

html[lang="ar"] .service-mark .ar, html[lang="ar"] .mobile-nav small { display: none; }
html[lang="ar"] .hero h1 { letter-spacing: 0; line-height: 1.3; }
html[lang="ar"] .eyebrow { text-transform: none; font-size: 0.9rem; }
.reveal { animation: rise .6s ease-out both; }
@keyframes rise { from { transform: translateY(8px); opacity: .001; } to { transform: none; opacity: 1; } }

/* ---------- Six divisions (v2) ---------- */
body[data-div="ad"] { --div: #2fa36b; } body[data-div="bn"] { --div: #e4573d; } body[data-div="cn"] { --div: #8b5cf6; }
body[data-div="st"] { --div: #e0457b; } body[data-div="ai"] { --div: #14b8c8; } body[data-div="in"] { --div: #4c74ff; }
.dmark { display: block; flex: none; }
.hero-mark { width: min(340px, 72vw); height: auto; filter: drop-shadow(0 20px 50px rgba(0,0,0,.45)); }
.hero-side .sig[lang="ar"] { letter-spacing: 0; text-transform: none; font-family: var(--arabic); font-size: 1.05rem; color: var(--gold-hi); }
body[data-div] .hero { box-shadow: inset 0 -4px 0 var(--div); }
body[data-div] .service-mark::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--div); flex: none; }
@media (max-width: 900px) { .hero-mark { width: min(200px, 56vw); } }
.svc.div { border-top: 4px solid var(--c); }
.svc-mark { width: 64px; height: 64px; }
.svc .svc-tag { font-family: var(--display); font-weight: 600; color: var(--ink); font-size: 1.02rem; }
html[lang="ar"] .svc .svc-tag { font-family: var(--arabic); }
.svc .svc-top .status { margin-inline-start: auto; }
.svc-cta { background: var(--gold-wash); border-color: #e7d6ab; }
.main-nav a { padding: 10px 10px; }
.mobile-nav a { display: flex; align-items: center; gap: 12px; }
.nav-mark { width: 30px; height: 30px; }
.cat-post { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.cat-post p { color: #c7cfdf; }
.features.on-dark .icon-tile { background: var(--navy-2, #10223f); border: 1px solid var(--rule-dark); }
.sub-h { font-size: 1.05rem; margin: 28px 0 12px; }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tier { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tier-n { font-family: var(--display); font-size: 0.74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
html[lang="ar"] .tier-n { font-family: var(--arabic); letter-spacing: 0; font-size: .9rem; }
.tier b { font-size: 1.15rem; }
.tier p { color: var(--ink-2); font-size: 0.88rem; line-height: 1.45; }
.pills-lg { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-lg { font-size: 0.86rem; font-weight: 600; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 6px 14px; color: var(--ink-2); }
.ticks.cols2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; }
.index-card { background: var(--navy-2, #10223f); border: 1px solid var(--rule-dark); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0; border-top: 3px solid var(--gold); }
.index-card h3 { font-size: 1.15rem; }
.index-card p { color: #c7cfdf; }
@media (max-width: 600px) { .tiers, .ticks.cols2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) and (min-width: 601px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1080px) { .mobile-nav a { justify-content: flex-start; } .mobile-nav a small { margin-inline-start: auto; } }

/* =========================================================
   v3 · photography, jobs board, deals portal, polish
   ========================================================= */
.btn-line-ink { background: transparent; color: var(--ink); border-color: #cfc6ae; }
.btn-line-ink:hover { border-color: var(--navy); background: var(--paper); }
.site-header { transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 10px 30px rgba(8,21,44,.28); }
select.sel, .loc select, .jobs-search select, .deals-bar select {
  min-height: 46px; border: 1px solid var(--line); border-radius: 12px; padding: 0 36px 0 14px; background-color: var(--paper);
  font: 600 0.9rem var(--body); color: var(--ink); cursor: pointer; min-width: 0; max-width: 100%;
}
[dir="rtl"] .loc select, [dir="rtl"] .jobs-search select, [dir="rtl"] .deals-bar select { padding: 0 14px 0 36px; }
.loc select:disabled { opacity: .55; cursor: not-allowed; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* photo hero (home) */
.photo-hero .hero-bg { position: absolute; inset: 0; z-index: 0; }
.photo-hero .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease, transform 8s ease; transform: scale(1.06); }
.photo-hero .hero-bg img.on { opacity: 1; transform: scale(1); }
.photo-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(8,21,44,.96) 0%, rgba(8,21,44,.86) 42%, rgba(8,21,44,.45) 100%); }
[dir="rtl"] .photo-hero::before { background: linear-gradient(260deg, rgba(8,21,44,.96) 0%, rgba(8,21,44,.86) 42%, rgba(8,21,44,.45) 100%); }
.photo-hero .wrap { z-index: 2; }
.photo-hero .hero-emblem { width: min(320px, 70vw); }

/* stats */
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 26px; max-width: 640px; }
.stat-row > div { display: flex; flex-direction: column; gap: 2px; padding-inline-start: 14px; border-inline-start: 2px solid rgba(216,180,106,.5); }
.stat-row b { font-family: var(--display); font-size: 1.7rem; color: var(--gold-hi); font-variant-numeric: tabular-nums; line-height: 1.1; }
.stat-row span { font-size: 0.82rem; color: #c7cfdf; }
.stats-band { background: var(--navy-2); border-top: 1px solid var(--rule-dark); }
.stats-band .stat-row.big { max-width: none; margin: 0; padding-block: 26px; }
.stats-band .stat-row.big b { font-size: 2.1rem; }
@media (max-width: 640px) { .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; } }

/* division cards with photos */
.svc.div { overflow: hidden; padding-top: 0; }
.svc-photo { margin: 0 -26px; height: 150px; overflow: hidden; background: var(--navy); }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.svc.div:hover .svc-photo img { transform: scale(1.06); }
.svc.div .svc-top { margin-top: -40px; position: relative; }
.svc.div .svc-mark { width: 72px; height: 72px; background: #fff; border-radius: 50%; padding: 4px; box-shadow: 0 6px 18px rgba(8,21,44,.18); }
.svc.div .svc-num { align-self: flex-end; }

/* hero collage (AdClassified) */
.collage { position: relative; display: block; min-height: 380px; }
.collage .ph { position: absolute; margin: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 50px rgba(0,0,0,.45); border: 3px solid rgba(255,255,255,.08); }
.collage .ph img { width: 100%; height: 100%; object-fit: cover; }
.collage .ph-a { inset-inline-start: 0; top: 10px; width: 66%; aspect-ratio: 4/3; }
.collage .ph-b { inset-inline-end: 0; top: 120px; width: 56%; aspect-ratio: 4/3; }
.collage .ph-c { inset-inline-start: 14%; bottom: 0; width: 46%; aspect-ratio: 4/3; }
.collage-mark { position: absolute; width: 104px; height: 104px; inset-inline-end: 8%; top: 0; background: var(--navy); border-radius: 50%; padding: 6px; box-shadow: 0 12px 30px rgba(0,0,0,.4); }
@media (max-width: 900px) { .collage { min-height: 260px; width: 100%; max-width: 460px; justify-self: center; } .collage-mark { width: 76px; height: 76px; } }

/* hero photo + mark (Connect, Studio, AI, Insights) */
.photo-side { position: relative; }
.hero-photo { margin: 0; width: min(440px, 100%); aspect-ratio: 4/3; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.45); border: 3px solid rgba(255,255,255,.08); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-mark { position: absolute; width: 110px; height: 110px; bottom: -22px; inset-inline-start: -10px; background: var(--navy); border-radius: 50%; padding: 6px; box-shadow: 0 12px 30px rgba(0,0,0,.45); }
@media (max-width: 900px) { .hero-photo { width: min(360px, 100%); } .photo-mark { width: 80px; height: 80px; bottom: -14px; inset-inline-start: 4px; } }
.panel-photo { margin: -32px -32px 4px; height: 190px; overflow: hidden; border-radius: 18px 18px 0 0; }
.panel-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-card { padding: 0; overflow: hidden; gap: 8px; }
.photo-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.photo-card h3, .photo-card p { padding-inline: 22px; }
.photo-card p { padding-bottom: 22px; }
.photo-band { background: var(--navy); }
.pb-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 2fr; height: 240px; }
.pb-grid img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 720px) { .pb-grid { grid-template-columns: 1fr 1fr; height: 300px; } .pb-grid img:nth-child(n+3) { display: none; } }

/* filter bar + photo ads */
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 22px; }
.loc { display: flex; flex-wrap: wrap; gap: 8px; }
.loc select { flex: 1 1 150px; }
.ads-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1080px) { .ads-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 780px) { .ads-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .ads-grid { grid-template-columns: minmax(0, 1fr); } }
.ad-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; min-width: 0; }
.ad-card:hover { box-shadow: 0 16px 36px rgba(13,27,51,.12); transform: translateY(-3px); }
.ad-img { position: relative; aspect-ratio: 3/2; overflow: hidden; background: var(--navy); }
.ad-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ad-card:hover .ad-img img { transform: scale(1.05); }
.ad-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ad-price { font-family: var(--display); font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.ad-body h3 { font-family: var(--body); font-size: 0.98rem; font-weight: 700; line-height: 1.35; }
.ad-meta { display: flex; justify-content: space-between; gap: 8px; color: var(--ink-2); font-size: 0.82rem; margin-top: auto; }
.ad-meta span { display: inline-flex; gap: 5px; align-items: center; }
.ad-cat { font-size: 0.72rem; font-weight: 700; color: var(--gold-ink); text-transform: uppercase; letter-spacing: .06em; }
html[lang="ar"] .ad-cat { letter-spacing: 0; font-size: .8rem; }

/* jobs board */
.jobs-sec { background: linear-gradient(180deg, var(--ivory), #f1ede2); }
.jobs-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 28px; align-items: center; margin-bottom: 22px; }
.jobs-photo { margin: 0; aspect-ratio: 16/9; border-radius: 18px; overflow: hidden; box-shadow: 0 18px 40px rgba(13,27,51,.15); }
.jobs-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .jobs-head { grid-template-columns: minmax(0, 1fr); } .jobs-photo { display: none; } }
.jobs-tabs { display: inline-flex; gap: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 12px; flex-wrap: wrap; }
.jobs-tabs button { border: 0; background: transparent; border-radius: 999px; min-height: 42px; padding: 0 18px; font: 700 0.9rem var(--body); color: var(--ink-2); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.jobs-tabs button[aria-pressed="true"] { background: var(--navy); color: var(--paper); }
.jobs-tabs .ico { width: 18px; height: 18px; }
.jobs-search { background: var(--paper); border-radius: 18px; padding: 12px; box-shadow: 0 14px 36px rgba(13,27,51,.10); display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 8px; }
.jobs-search .field-ico input { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 12px; font: 500 0.95rem var(--body); padding-inline-end: 12px; background: var(--paper); color: var(--ink); }
.jobs-search .loc { grid-column: 1 / 3; }
.jobs-search #jobs-within { grid-column: 3; }
.jobs-search #jobs-sort { grid-column: 4; }
@media (max-width: 900px) { .jobs-search { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .jobs-search .grow, .jobs-search .loc { grid-column: 1 / -1; } .jobs-search #jobs-within, .jobs-search #jobs-sort { grid-column: auto; } .jobs-search .btn { grid-column: 1 / -1; } }
.jobcat-chips { display: flex; gap: 8px; overflow-x: auto; padding: 14px 2px 4px; scrollbar-width: thin; }
.jobcat-chips .chip { white-space: nowrap; flex: none; }
.jobs-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; margin-top: 14px; align-items: start; }
@media (max-width: 960px) { .jobs-layout { grid-template-columns: minmax(0, 1fr); } }
.jobs-bar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; font-weight: 700; color: var(--ink-2); font-size: 0.92rem; }
.jobs-list { display: flex; flex-direction: column; gap: 12px; }
.job { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 16px; align-items: start; transition: border-color .2s, box-shadow .2s; }
.job:hover { border-color: var(--gold); box-shadow: 0 12px 28px rgba(13,27,51,.08); }
.job.is-feat { border-inline-start: 4px solid var(--gold); }
.job.is-draft { border: 2px dashed var(--gold); background: #fffdf6; }
.job-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--gold-wash); color: var(--gold-ink); display: flex; align-items: center; justify-content: center; }
.job-ico .ico { width: 24px; height: 24px; }
.job-main { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.job-tags { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.pill.hire { border-color: #b9dcc9; color: var(--ok); background: #eef7f1; }
.pill.seek { border-color: #c9d3f3; color: #3550b5; background: #eef1fb; }
.sample-tag.inline { position: static; background: var(--ivory); color: var(--ink-2); border: 1px solid var(--line); }
.job-title { font-size: 1.08rem; font-family: var(--body); font-weight: 800; line-height: 1.3; }
.job-title button { all: unset; cursor: pointer; }
.job-title button:hover { color: var(--gold-ink); text-decoration: underline; }
.job-title button:focus-visible { outline: 3px solid var(--gold); }
.job-co { color: var(--ink-2); font-weight: 600; font-size: 0.92rem; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.ver { color: var(--ok); display: inline-flex; gap: 4px; align-items: center; font-size: .82rem; }
.ver .ico { width: 1em; height: 1em; }
.job-meta { display: flex; gap: 6px 16px; flex-wrap: wrap; color: var(--ink-2); font-size: 0.86rem; }
.job-meta span { display: inline-flex; gap: 6px; align-items: center; }
.job-meta .ico { width: 1em; height: 1em; color: var(--gold-ink); }
.job-perks { display: flex; gap: 6px; flex-wrap: wrap; }
.perk { font-size: 0.76rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--gold-wash); color: var(--gold-ink); }
.job-side { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: color .2s, border-color .2s, background-color .2s; }
.icon-btn:hover { border-color: var(--danger); color: var(--danger); }
.icon-btn.on { background: #fdecea; border-color: #f2c1bb; color: var(--danger); }
.icon-btn.on .ico { fill: currentColor; }
@media (max-width: 600px) { .job { grid-template-columns: 44px minmax(0, 1fr); } .job-ico { width: 44px; height: 44px; } .job-side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; } }
#jobs-more { margin: 16px auto 0; display: flex; }
#jobs-more[hidden] { display: none; }
.jobs-aside { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px); }
.jobs-aside .panel { padding: 24px; gap: 12px; }
.jobs-aside .panel h3 { font-size: 1.15rem; }
@media (max-width: 960px) { .jobs-aside { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .jobs-aside { grid-template-columns: minmax(0, 1fr); } }

/* browse by city */
.city-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.city-tabs button { position: relative; border: 0; padding: 0; height: 120px; border-radius: 16px; overflow: hidden; cursor: pointer; background: var(--navy); color: #fff; font: 700 1.15rem var(--display); }
.city-tabs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: opacity .3s, transform .5s; }
.city-tabs span { position: relative; z-index: 1; display: flex; height: 100%; align-items: flex-end; padding: 16px; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
html[lang="ar"] .city-tabs button { font-family: var(--arabic); }
.city-tabs button:hover img { transform: scale(1.05); }
.city-tabs button[aria-selected="true"] { box-shadow: 0 0 0 3px var(--gold); }
.city-tabs button[aria-selected="true"] img { opacity: .85; }
@media (max-width: 600px) { .city-tabs button { height: 84px; font-size: .95rem; } .city-tabs span { padding: 10px; } }
.regions { columns: 4 240px; column-gap: 22px; }
.region { break-inside: avoid; margin-bottom: 18px; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; }
.region h3 { font-size: 0.96rem; margin-bottom: 8px; color: var(--gold-ink); }
.region ul { list-style: none; display: flex; flex-direction: column; }
.region a { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; }
.region li:first-child a { border-top: 0; }
.region a small { color: var(--ink-2); font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.region a:hover span { color: var(--gold-ink); text-decoration: underline; }

/* post a job wizard */
.pj-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 28px; align-items: start; }
@media (max-width: 900px) { .pj-layout { grid-template-columns: minmax(0, 1fr); } }
.pj-form { background: var(--paper); }
.wz-head { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
#pj-stepnum { font-size: .85rem; font-weight: 700; color: var(--ink-2); }
.wz-dots { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; counter-reset: wz; }
.wz-dots li { counter-increment: wz; display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 700; color: var(--ink-2); padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--ivory); border: 1px solid var(--line); }
[dir="rtl"] .wz-dots li { padding: 6px 6px 6px 12px; }
.wz-dots li::before { content: counter(wz); width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--line); color: var(--ink); font-size: .78rem; }
.wz-dots li.on { color: var(--navy); border-color: var(--gold); }
.wz-dots li.on::before { background: var(--gold); color: var(--navy); }
.wz-step { display: contents; }
.wz-step[hidden] { display: none !important; }
.lbl { font-weight: 700; font-size: .9rem; }
.fld .loc select { min-height: 48px; background-color: var(--ivory); border-color: #d8d2c2; }
.fld input.bad, .fld textarea.bad, .consent input.bad { border-color: var(--danger); outline: 2px solid rgba(162,59,42,.25); }
.wz-nav { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.pj-preview { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px); display: flex; flex-direction: column; gap: 12px; }
.pj-preview .eyebrow { color: var(--gold-ink); }
.pj-note { font-size: .86rem; color: var(--ink-2); }
@media (max-width: 900px) { .pj-preview { position: static; } }

/* modal */
.modal { border: 0; padding: 0; background: transparent; max-width: min(860px, calc(100vw - 32px)); width: 100%; max-height: calc(100dvh - 32px); color: var(--ink); }
.modal::backdrop { background: rgba(8,21,44,.72); backdrop-filter: blur(3px); }
.modal[open] { animation: pop .25s ease; }
@keyframes pop { from { transform: translateY(12px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-box { position: relative; background: var(--paper); border-radius: 22px; overflow: auto; max-height: calc(100dvh - 32px); box-shadow: 0 40px 90px rgba(0,0,0,.45); }
.modal-x { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.job-modal { padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.job-modal h2 { font-size: var(--s3); line-height: 1.2; padding-inline-end: 40px; }
.job-modal h3 { font-size: 1.05rem; margin-top: 8px; }
.job-modal p { color: var(--ink-2); }
.job-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 6px; }
.job-facts div { background: var(--ivory); border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.job-facts span { font-size: .76rem; color: var(--ink-2); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
html[lang="ar"] .job-facts span { letter-spacing: 0; }
.job-facts b { font-size: .92rem; }
@media (max-width: 640px) { .job-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .job-modal { padding: 24px 18px; } }
.modal-cta { margin-top: 10px; padding: 18px; border-radius: 14px; background: var(--gold-wash); display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.modal-cta p { color: var(--ink); max-width: 46ch; font-size: .92rem; }

/* toast + back to top */
.toast { position: fixed; z-index: 90; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 30px); opacity: 0; pointer-events: none; background: var(--navy); color: var(--paper); padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: .92rem; box-shadow: 0 14px 36px rgba(0,0,0,.3); border: 1px solid rgba(216,180,106,.45); transition: opacity .25s, transform .25s; max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.to-top { position: fixed; z-index: 60; inset-inline-end: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(216,180,106,.6); background: var(--navy); color: var(--gold); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .25s, transform .25s; box-shadow: 0 10px 26px rgba(0,0,0,.3); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top .ico.up { transform: rotate(-90deg); width: 20px; height: 20px; }

/* deals portal */
.promo-side { display: block; }
.promo-wrap { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 5/4; box-shadow: 0 30px 60px rgba(0,0,0,.45); background: var(--navy-2); border: 3px solid rgba(255,255,255,.08); }
.promo-track { position: absolute; inset: 0; }
.promo { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.promo.on { opacity: 1; visibility: visible; }
.promo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 6s ease; }
.promo.on img { transform: scale(1); }
.promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,21,44,.95) 0%, rgba(8,21,44,.4) 55%, rgba(8,21,44,0) 100%); }
.promo-copy { position: absolute; z-index: 2; inset-inline: 22px; bottom: 44px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; color: #fff; }
.promo-copy h3 { font-size: 1.35rem; line-height: 1.25; text-wrap: balance; }
.promo-copy p { color: #d6dcea; font-size: .9rem; }
.promo-price { display: flex; gap: 10px; align-items: baseline; }
.promo-price b { font-family: var(--display); font-size: 1.5rem; color: var(--gold-hi); }
.promo-price s { color: #aab5c8; }
.promo-dots { position: absolute; z-index: 3; bottom: 16px; inset-inline: 22px; display: flex; gap: 6px; }
.promo-dots button { width: 28px; height: 5px; border-radius: 3px; border: 0; background: rgba(255,255,255,.35); cursor: pointer; padding: 0; }
.promo-dots button[aria-selected="true"] { background: var(--gold); width: 44px; }
@media (max-width: 900px) { .promo-wrap { width: 100%; max-width: 520px; margin-inline: auto; aspect-ratio: 4/3; } }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; color: #c7cfdf; font-size: .88rem; }
.trust-row > span { display: inline-flex; gap: 8px; align-items: center; }
.trust-row .ico { color: var(--gold); width: 1.1em; height: 1.1em; }
.deals-sec { background: var(--ivory); }
.deal-cities { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 14px; border-bottom: 1px solid var(--line); scrollbar-width: thin; }
.deal-cities button { flex: none; border: 0; background: transparent; padding: 10px 14px; font: 700 .95rem var(--body); color: var(--ink-2); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -7px; white-space: nowrap; }
.deal-cities button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--gold); }
.deal-cats { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 8px; margin-bottom: 26px; }
.dcat { border: 1px solid var(--line); background: var(--paper); border-radius: 14px; padding: 12px 6px; display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; font: 700 .78rem var(--body); color: var(--ink); text-align: center; line-height: 1.25; transition: border-color .2s, transform .2s, box-shadow .2s; min-width: 0; }
.dcat:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(13,27,51,.08); }
.dcat-ico { width: 44px; height: 44px; border-radius: 50%; background: var(--gold-wash); color: var(--gold-ink); display: inline-flex; align-items: center; justify-content: center; }
.dcat-ico .ico { width: 22px; height: 22px; }
.dcat[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: var(--paper); }
.dcat[aria-pressed="true"] .dcat-ico { background: var(--gold); color: var(--navy); }
@media (max-width: 1080px) { .deal-cats { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 560px) { .deal-cats { display: flex; overflow-x: auto; padding-bottom: 6px; } .dcat { flex: 0 0 96px; } }
.soon { margin-bottom: 30px; }
.soon-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; margin-bottom: 12px; }
.soon-head h3 { font-size: 1.3rem; display: inline-flex; gap: 10px; align-items: center; }
.soon-head h3 .ico { color: var(--danger); }
.soon-hint { color: var(--ink-2); font-size: .9rem; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 31%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 12px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
@media (max-width: 640px) { .rail { grid-auto-columns: 82%; } }
.deals-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; font-weight: 700; color: var(--ink-2); }
.deals-bar .sort { display: inline-flex; gap: 8px; align-items: center; font-size: .9rem; }
.deal-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1080px) { .deal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 780px) { .deal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .deal-grid { grid-template-columns: minmax(0, 1fr); } }
.deal { background: var(--paper); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 var(--line), 0 6px 18px rgba(13,27,51,.06); transition: transform .25s, box-shadow .25s; min-width: 0; }
.deal:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(13,27,51,.14); }
.deal-img { position: relative; aspect-ratio: 3/2; overflow: hidden; cursor: pointer; background: var(--navy); }
.deal-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.deal:hover .deal-img img { transform: scale(1.06); }
.deal-badge { position: absolute; top: 12px; inset-inline-start: 12px; background: var(--danger); color: #fff; font: 800 .78rem var(--display); letter-spacing: .04em; padding: 6px 10px; border-radius: 8px; box-shadow: 0 6px 14px rgba(0,0,0,.25); }
.promo-copy .deal-badge, .dm-img .deal-badge { position: static; }
.dm-img .deal-badge { position: absolute; }
.deal-badge.bogo { background: var(--gold); color: var(--navy); }
html[lang="ar"] .deal-badge { font-family: var(--arabic); letter-spacing: 0; }
.wish { position: absolute; top: 10px; inset-inline-end: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,.2); transition: transform .2s; }
.wish:hover { transform: scale(1.1); }
.wish.on { color: var(--danger); }
.wish.on .ico { fill: currentColor; }
.deal-timer { position: absolute; bottom: 10px; inset-inline-start: 10px; background: rgba(8,21,44,.82); color: #fff; font: 700 .8rem var(--body); padding: 5px 10px; border-radius: 8px; display: inline-flex; gap: 6px; align-items: center; font-variant-numeric: tabular-nums; }
.deal-timer .ico { color: var(--gold); width: 1em; height: 1em; }
.deal-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.deal-m { font-size: .8rem; color: var(--ink-2); font-weight: 600; }
.deal-body h3 { font-family: var(--body); font-size: 1rem; font-weight: 800; line-height: 1.35; }
.deal-body h3 button { all: unset; cursor: pointer; }
.deal-body h3 button:hover { color: var(--gold-ink); }
.deal-body h3 button:focus-visible { outline: 3px solid var(--gold); }
.deal-rate { display: flex; gap: 6px; align-items: center; font-size: .82rem; color: var(--ink-2); flex-wrap: wrap; }
.deal-rate b { color: var(--ink); }
.stars span { color: #d9d3c3; font-size: .9rem; }
.stars span.on { color: #e3a81f; }
.deal-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; margin-top: auto; padding-top: 6px; flex-wrap: wrap; }
.deal-price { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.deal-price b { font-family: var(--display); font-size: 1.25rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.deal-price s { color: var(--ink-2); font-size: .86rem; }
.deal-bought { display: inline-flex; gap: 5px; align-items: center; font-size: .78rem; color: var(--ok); font-weight: 700; }
.deal-bought .ico { width: 1em; height: 1em; }
.deal-left { position: relative; height: 22px; border-radius: 6px; background: #fbe9e6; overflow: hidden; margin-top: 4px; }
.deal-left span { position: absolute; inset-block: 0; inset-inline-start: 0; background: linear-gradient(90deg, #e9776a, var(--danger)); }
.deal-left em { position: relative; z-index: 1; font-style: normal; font-size: .74rem; font-weight: 800; color: #fff; padding-inline-start: 8px; line-height: 22px; text-shadow: 0 1px 2px rgba(0,0,0,.3); }
.deal.wide .deal-img { aspect-ratio: 16/9; }
.deal-modal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.dm-img { position: relative; min-height: 100%; background: var(--navy); }
.dm-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.dm-body { padding: 30px 28px; display: flex; flex-direction: column; gap: 10px; }
.dm-body h2 { font-size: 1.45rem; line-height: 1.25; }
.dm-body h3 { font-size: 1rem; margin-top: 8px; }
.dm-timer { display: inline-flex; gap: 8px; align-items: center; color: var(--danger); font-weight: 700; font-size: .92rem; font-variant-numeric: tabular-nums; }
.dm-opts { border: 0; display: flex; flex-direction: column; gap: 8px; }
.dm-opts legend { font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.dm-opts label { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; font-size: .9rem; }
.dm-opts label:has(input:checked) { border-color: var(--gold); background: var(--gold-wash); }
.dm-opts input { accent-color: var(--navy); width: 18px; height: 18px; }
.dm-buy { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.dm-buy > label { font-weight: 700; font-size: .9rem; }
.qty { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 40px; height: 40px; border: 0; background: var(--ivory); font-size: 1.2rem; cursor: pointer; color: var(--ink); }
.qty input { width: 46px; border: 0; text-align: center; font: 700 1rem var(--body); -moz-appearance: textfield; color: var(--ink); background: var(--paper); }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.dm-total { margin-inline-start: auto; display: flex; flex-direction: column; align-items: flex-end; }
.dm-total span { font-size: .78rem; color: var(--ink-2); }
.dm-total b { font-family: var(--display); font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.dm-total small { color: var(--ok); font-weight: 700; }
.dm-cta { width: 100%; }
.dm-note { font-size: .82rem; color: var(--ink-2); }
.dm-hl { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.dm-hl li { display: flex; gap: 10px; align-items: center; font-size: .92rem; }
.dm-hl .ico { color: var(--gold-ink); }
.dm-fine { padding-inline-start: 18px; color: var(--ink-2); font-size: .88rem; display: flex; flex-direction: column; gap: 4px; }
@media (max-width: 720px) { .deal-modal { grid-template-columns: minmax(0, 1fr); } .dm-img { min-height: 220px; } .dm-body { padding: 22px 18px; } }
.pass-band { overflow: hidden; }
.pass-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 40px; align-items: center; }
.pass-grid > div:first-child { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.pass-grid h2 { font-size: var(--s3); text-wrap: balance; }
.pass-grid p { color: #c7cfdf; max-width: 52ch; }
.pass-card { justify-self: center; width: min(360px, 100%); aspect-ratio: 1.586; border-radius: 20px; padding: 22px; background: linear-gradient(135deg, #e4573d 0%, #b8402c 45%, #0d2142 100%); box-shadow: 0 30px 60px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.15); display: flex; flex-direction: column; justify-content: space-between; color: #fff; transform: rotate(-4deg); transition: transform .4s; }
.pass-card:hover { transform: rotate(0deg) scale(1.02); }
.pass-top { display: flex; justify-content: space-between; align-items: center; font: 800 .9rem var(--display); letter-spacing: .2em; }
.pass-mark { width: 54px; height: 54px; background: var(--navy); border-radius: 50%; padding: 3px; }
.pass-card b { font: 700 1.6rem var(--display); letter-spacing: .3em; }
.pass-name { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: #ffe2db; }
html[lang="ar"] .pass-name { letter-spacing: 0; }
.pass-chip { width: 44px; height: 32px; border-radius: 6px; background: linear-gradient(135deg, var(--gold-hi), var(--gold)); }
@media (max-width: 860px) { .pass-grid { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .photo-hero .hero-bg img, .promo img { transition: none; transform: none; } }
[hidden] { display: none !important; }

.promo-copy { text-align: start; }
.filter-bar .loc { flex: 1 1 520px; flex-wrap: nowrap; max-width: 620px; }
.filter-bar .loc select { flex: 1 1 0; min-width: 0; }
@media (max-width: 560px) { .filter-bar .loc { flex-wrap: wrap; } .filter-bar .loc select { flex: 1 1 140px; } }
.jobs-tabs { width: fit-content; max-width: 100%; }
.jobs-search .loc { flex-wrap: nowrap; }
.jobs-search .loc select { flex: 1 1 0; min-width: 0; }
@media (max-width: 560px) { .jobs-search .loc { flex-wrap: wrap; } .jobs-search .loc select { flex: 1 1 140px; } }

/* =========================================================
   v4 · membership card + unboxing
   ========================================================= */
.main-nav a.nav-mb { color: var(--gold-hi); border: 1px solid rgba(216,180,106,.5); border-radius: 999px; min-height: 38px; padding: 0 14px; margin-inline-start: 6px; }
.main-nav a.nav-mb:hover { background: var(--gold); color: var(--navy); }
.main-nav a.nav-mb[aria-current="page"] { background: var(--gold); color: var(--navy); box-shadow: none; border-radius: 999px; }
.nav-card { width: 30px; height: 20px; border-radius: 4px; background: linear-gradient(135deg, #f2dba0, #b8913f); box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); flex: none; }

/* ---- the card (reference: bilingual premium face, one colour per division) ---- */
.mcard { --cw: 360px; width: var(--cw); max-width: 100%; aspect-ratio: 1.6447; font-size: calc(var(--cw) / 40); position: relative; transform-style: preserve-3d; direction: ltr; text-align: left;
  --g1: #f6e2a8; --g2: #d9b56a; --g3: #a47b36; --gold-t: #e3c27e; --gold-d: #c9a564;
  --foil: linear-gradient(180deg, #f8e7b4 0%, #dcb86c 45%, #b58a3e 70%, #e9cd8a 100%);
  --card-bg: radial-gradient(130% 150% at 78% 8%, #8a3346 0%, #5e1c2c 42%, #2c0a14 100%); }
.mcard[data-div="ad"] { --card-bg: radial-gradient(130% 150% at 78% 8%, #237256 0%, #0f4634 42%, #04201a 100%); }
.mcard[data-div="bn"] { --card-bg: radial-gradient(130% 150% at 78% 8%, #8a3346 0%, #5e1c2c 42%, #2c0a14 100%); }
.mcard[data-div="cn"] { --card-bg: radial-gradient(130% 150% at 78% 8%, #5b43a0 0%, #33226a 42%, #130a30 100%); }
.mcard[data-div="st"] { --card-bg: radial-gradient(130% 150% at 78% 8%, #3a3a42 0%, #1b1b20 42%, #050506 100%); }
.mc-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.mcard.flipped .mc-inner { transform: rotateY(180deg); }
.mc-face { position: absolute; inset: 0; border-radius: 1.6em; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; color: var(--gold-t);
  background: var(--card-bg); font-family: var(--display); line-height: 1.2;
  box-shadow: inset 0 0 0 .32em #b8913f, inset 0 0 0 .44em rgba(255,236,190,.55), inset 0 0 0 .56em rgba(60,30,5,.35), 0 1.4em 3em rgba(0,0,0,.5); }
.mc-back { transform: rotateY(180deg); }
.mc-face [lang="ar"] { font-family: var(--arabic); letter-spacing: 0; }
.mc-wave { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(172deg, transparent 0 25%, rgba(255,255,255,.07) 25.3% 37%, transparent 37.3%),
  linear-gradient(-8deg, transparent 0 71%, rgba(255,255,255,.06) 71.3% 80%, transparent 80.3%),
  radial-gradient(60% 50% at 10% 25%, rgba(255,220,170,.10), transparent 70%); }
.mc-rosette { position: absolute; width: 26em; height: auto; right: -4em; bottom: -7em; opacity: .1; filter: grayscale(.3) brightness(1.6); pointer-events: none; }
.mc-rosette.back { left: -6em; right: auto; top: -6em; bottom: auto; opacity: .08; }
.mc-sheen { position: absolute; inset: -20%; pointer-events: none; background: linear-gradient(115deg, transparent 34%, rgba(255,236,190,.22) 46%, rgba(255,255,255,.08) 50%, transparent 60%); transform: translateX(calc(var(--mx, 25%) - 50%)); mix-blend-mode: screen; transition: transform .3s; }
.mc-head { position: absolute; left: 8%; top: 8.5%; display: flex; flex-direction: column; gap: .25em; }
.mc-kicker { font-size: .78em; font-weight: 500; letter-spacing: .06em; color: var(--gold-d); white-space: nowrap; }
.mc-title { font-size: 1.32em; font-weight: 800; letter-spacing: .02em; white-space: nowrap; background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
.mc-title i { font-style: normal; padding: 0 .1em; }
.mc-title [lang="ar"] { font-weight: 700; }
.mc-title.sm { font-size: 1.05em; }
.mc-logo { position: absolute; right: 6%; top: 7%; display: flex; align-items: center; gap: .55em; }
.mc-logo img { width: 5.2em; height: 5.2em; filter: drop-shadow(0 .2em .3em rgba(0,0,0,.4)); }
.mc-logo span { display: flex; flex-direction: column; line-height: 1.05; }
.mc-logo b { font-size: 1.32em; font-weight: 800; letter-spacing: .03em; background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mc-logo b[lang="ar"] { font-size: 1.3em; }
.mc-tag { position: absolute; right: 6%; top: 32%; font-size: .64em; letter-spacing: .03em; color: var(--gold-d); white-space: nowrap; }
.mc-chip { position: absolute; left: 10.5%; top: 38.5%; width: 4.4em; height: 3.3em; border-radius: .55em; background: linear-gradient(135deg, #f7e3a6, #d4ae62 45%, #f1d68f 60%, #b8913f); box-shadow: inset 0 0 0 .06em rgba(90,60,10,.6), 0 .15em .3em rgba(0,0,0,.35); overflow: hidden; }
.mc-chip i { position: absolute; border: .06em solid rgba(110,75,20,.6); border-radius: .25em; }
.mc-chip .c1 { left: -.1em; top: 30%; width: 34%; height: 40%; border-left: 0; } .mc-chip .c2 { right: -.1em; top: 30%; width: 34%; height: 40%; border-right: 0; }
.mc-chip .c3 { left: 36%; top: -.1em; width: 28%; height: 32%; border-top: 0; } .mc-chip .c4 { left: 36%; bottom: -.1em; width: 28%; height: 32%; border-bottom: 0; }
.mc-chip .c5 { left: 36%; top: 30%; width: 28%; height: 40%; }
.mc-avatar { position: absolute; left: 9%; top: 57%; width: 5.9em; height: 5.9em; border-radius: 50%; background: #1a0d10 center/cover no-repeat; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 .3em #d4ae62, 0 0 0 .38em rgba(255,236,190,.6), 0 .5em 1em rgba(0,0,0,.45); font-weight: 700; font-size: 1em; color: var(--g1); }
.mc-avatar span { font-size: 1.6em; letter-spacing: .04em; }
.mc-avatar.has-photo span { display: none; }
.mc-person { position: absolute; left: 27.5%; top: 39%; right: 26%; display: flex; flex-direction: column; gap: .32em; }
.mc-name { font-size: 1.02em; font-weight: 800; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mc-name-ar { font-size: .98em; font-weight: 600; color: var(--gold-t); text-align: left; min-height: 1.2em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-row { font-size: .72em; font-weight: 500; letter-spacing: .04em; color: var(--gold-d); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-row b { color: var(--g1); font-weight: 800; }
.mc-row span:not([lang]) { color: var(--gold-t); }
.mc-row.mc-mid { margin-top: .6em; font-size: .78em; }
.mc-row.mc-mid b { font-size: 1.25em; letter-spacing: .03em; }
.mc-qr { position: absolute; right: 9%; top: 42%; width: 6.2em; height: 6.2em; padding: .35em; border-radius: .55em; background: linear-gradient(135deg, #f8e7b4, #dcb86c 55%, #f1d68f); box-shadow: inset 0 0 0 .08em rgba(110,75,20,.55), 0 .3em .7em rgba(0,0,0,.4); }
.mc-qr svg { width: 100%; height: 100%; display: block; shape-rendering: crispEdges; }
.mc-support { position: absolute; left: 8.5%; bottom: 5.5%; display: flex; flex-direction: column; font-size: .74em; color: var(--gold-d); line-height: 1.25; }
.mc-eco { position: absolute; right: 6%; bottom: 5.5%; display: flex; flex-direction: column; align-items: flex-end; font-size: .74em; color: var(--gold-d); line-height: 1.2; letter-spacing: .03em; }
.mc-stripe { position: absolute; left: 0; right: 0; top: 9%; height: 13%; background: linear-gradient(180deg, #120709, #24120f 50%, #0b0405); box-shadow: inset 0 .1em 0 rgba(255,236,190,.15); }
.mc-bhead { position: absolute; left: 8%; top: 27%; display: flex; flex-direction: column; gap: .2em; }
.mc-perks { position: absolute; left: 8%; right: 34%; top: 44%; list-style: none; display: flex; flex-direction: column; gap: .5em; }
.mc-perks li { display: flex; flex-direction: column; padding-left: 1.1em; position: relative; }
.mc-perks li::before { content: ""; position: absolute; left: 0; top: .35em; width: .5em; height: .5em; border-radius: 50%; background: var(--foil); }
.mc-perks b { font-size: .74em; font-weight: 700; color: var(--g1); letter-spacing: .02em; }
.mc-perks span { font-size: .7em; color: var(--gold-d); text-align: left; direction: rtl; unicode-bidi: plaintext; }
.mc-eco4 { position: absolute; right: 7%; top: 28%; display: grid; grid-template-columns: repeat(2, 2.4em); gap: .5em; justify-items: center; }
.mc-eco4 .mc-dm { width: 2.4em; height: 2.4em; }
.mc-eco4 > span { grid-column: 1 / -1; font-size: .5em; letter-spacing: .1em; color: var(--gold-d); white-space: nowrap; }
.mc-sign { position: absolute; right: 7%; top: 60%; width: 25%; display: flex; flex-direction: column; gap: .2em; }
.mc-sign span { font-size: .46em; letter-spacing: .06em; color: var(--gold-d); white-space: nowrap; }
.mc-sign i { display: block; height: 2.2em; border-radius: .25em; background: repeating-linear-gradient(135deg, #f3ead6 0 .3em, #e9dcbc .3em .6em); color: #2a1d10; font: italic 600 .9em/2.4em 'Brush Script MT', 'Segoe Script', cursive; padding: 0 .5em; white-space: nowrap; overflow: hidden; }
.mc-legal { position: absolute; left: 8%; right: 7%; bottom: 14%; font-size: .5em; color: rgba(227,194,126,.75); line-height: 1.35; }
.mc-legal [lang="ar"] { display: block; }
.mc-bfoot { position: absolute; left: 8%; right: 7%; bottom: 5.5%; display: flex; justify-content: space-between; gap: 1em; font-size: .66em; color: var(--gold-d); padding-top: .5em; border-top: .06em solid rgba(217,181,106,.35); }
.mc-dm { flex: none; }

/* ---- unboxing stage ---- */
.ub-hero .wrap.ub-hero-wrap { grid-template-columns: minmax(0, 1fr); padding-bottom: 20px; }
.ub-hero .hero-actions .btn .ico { width: 1.1em; height: 1.1em; }
.unbox { position: relative; margin-bottom: 56px; }
.ub-stage { position: relative; border-radius: 26px; overflow: hidden; background: radial-gradient(120% 90% at 50% 20%, #17305c 0%, #0a1834 45%, #040b18 100%); box-shadow: inset 0 0 0 1px rgba(216,180,106,.25), 0 40px 80px rgba(0,0,0,.45); }
.ub-bg { position: absolute; inset: 0; --ray: 0; }
.ub-bg::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(242,219,160,.35) 1px, transparent 1.4px); background-size: 34px 34px; opacity: .18; mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent); -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent); }
.ub-ray { position: absolute; left: 50%; top: 42%; width: 1400px; height: 1400px; margin: -700px 0 0 -700px; border-radius: 50%; opacity: calc(var(--ray) * .55);
  background: repeating-conic-gradient(from 0deg, rgba(242,219,160,.16) 0deg 6deg, transparent 6deg 18deg); mask-image: radial-gradient(circle, #000 0, transparent 60%); -webkit-mask-image: radial-gradient(circle, #000 0, transparent 60%); animation: spin 40s linear infinite; }
.ub-ray.r2 { animation-direction: reverse; animation-duration: 60s; opacity: calc(var(--ray) * .35); }
@keyframes spin { to { transform: rotate(360deg); } }
.ub-scale { position: absolute; left: 0; top: 0; width: 1000px; height: 600px; transform-origin: 0 0; }
.unbox.tall .ub-scale { width: 560px; height: 860px; }
.ub-3d { position: absolute; inset: 0; perspective: 1500px; perspective-origin: 50% 30%; }
.ub-world { position: absolute; left: 50%; top: 385px; width: 0; height: 0; transform-style: preserve-3d; }
.unbox.tall .ub-world { top: 470px; }
.ub-box { position: absolute; left: -240px; top: -160px; width: 480px; height: 320px; transform-style: preserve-3d; transform: rotateX(58deg); }
.ub-box .f { position: absolute; left: 0; top: 0; }
.f-shadow { width: 560px; height: 400px; left: -40px !important; top: -40px !important; background: radial-gradient(closest-side, rgba(0,0,0,.65), transparent); transform: translateZ(-2px); }
.f-bottom { width: 480px; height: 320px; background: #050c1a; }
.f-tissue { position: absolute; inset: 14px; border-radius: 6px; background: linear-gradient(135deg, #f6eedb, #e3d3ad 40%, #f8f1e1 60%, #d9c79c); box-shadow: inset 0 0 30px rgba(120,90,30,.35); transform: translateZ(6px); }
.f-back, .f-front { width: 480px; height: 90px; transform-origin: top; }
.f-back { transform: rotateX(90deg); background: linear-gradient(0deg, #0b1d3d, #071430); }
.f-front { top: 320px !important; transform: rotateX(90deg); background: linear-gradient(180deg, #0c214a, #081733); }
.f-left, .f-right { width: 90px; height: 320px; transform-origin: left; transform: rotateY(-90deg); background: linear-gradient(90deg, #071430, #0b1d3d); }
.f-right { left: 480px !important; }
.f-label { position: absolute; inset: 0; display: flex; gap: 12px; align-items: center; justify-content: center; transform: rotate(180deg) scaleX(-1); color: #e9cf8e; font: 700 13px var(--display); letter-spacing: .32em; }
.f-label img { width: 30px; height: 30px; }
.f-band { position: absolute; left: 50%; top: 0; bottom: 0; width: 34px; margin-left: -17px; background: linear-gradient(90deg, #9a7432, #f2dba0 50%, #9a7432); opacity: .9; }
.ub-lid { position: absolute; left: -6px; top: -6px; width: 492px; height: 332px; transform-style: preserve-3d; transform-origin: 50% 0; transform: translateZ(90px); }
.ub-lid .l { position: absolute; left: 0; top: 0; }
.l-top { width: 492px; height: 332px; background: radial-gradient(120% 120% at 50% 40%, #173464 0%, #0b1d3d 60%, #071430 100%); box-shadow: inset 0 0 0 2px rgba(216,180,106,.6), inset 0 0 0 10px #0a1a38, inset 0 0 0 11px rgba(216,180,106,.35); backface-visibility: hidden; transform: translateZ(1px); transform-style: preserve-3d; }
.l-inner { width: 492px; height: 332px; background: linear-gradient(160deg, #0f2550, #06112a); backface-visibility: hidden; transform: rotateY(180deg); display: flex; align-items: center; justify-content: center; }
.l-inner span { transform: rotate(180deg); color: #d8b46a; font: 700 16px var(--display); letter-spacing: .3em; }
.l-foil { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.l-foil img { width: 150px; height: 150px; filter: drop-shadow(0 6px 10px rgba(0,0,0,.5)); }
.l-foil span { font: 700 20px var(--display); letter-spacing: .4em; background: linear-gradient(135deg, #f8e6b0, #d8b46a, #9a7432, #f2dba0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.l-foil small { font: 600 15px var(--arabic); color: #c9b98d; }
.rb { position: absolute; background: linear-gradient(90deg, #8a6528, #f6dfa1 45%, #c99a47 55%, #8a6528); box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.rb-h { left: 0; right: 0; top: 50%; height: 34px; margin-top: -17px; background: linear-gradient(180deg, #8a6528, #f6dfa1 45%, #c99a47 55%, #8a6528); transform-origin: 50% 50%; }
.rb-v { top: 0; bottom: 0; left: 50%; width: 34px; margin-left: -17px; transform-origin: 50% 50%; }
.rb-vs { left: 50%; top: 0; bottom: 0; width: 34px; margin-left: -17px; transform-origin: 50% 0; }
.rb-bow { position: absolute; left: 50%; top: 50%; width: 120px; height: 70px; transform: translate(-50%,-50%) translateZ(2px); }
.rb-bow span { position: absolute; top: 6px; width: 62px; height: 52px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: radial-gradient(circle at 40% 40%, #f8e6b0, #c99a47 60%, #8a6528); box-shadow: inset 0 0 0 8px rgba(138,101,40,.35); }
.rb-bow span:first-child { left: 0; transform: rotate(-18deg); } .rb-bow span:nth-child(2) { right: 0; transform: rotate(18deg); }
.rb-bow i { position: absolute; left: 50%; top: 50%; width: 28px; height: 28px; margin: -14px; border-radius: 8px; background: radial-gradient(circle at 40% 35%, #fff2c9, #d8b46a 60%, #8a6528); }
.l-front, .l-back { width: 492px; height: 26px; transform-origin: top; transform: rotateX(-90deg); background: linear-gradient(180deg, #102a58, #081733); }
.l-front { top: 332px !important; }
.l-left, .l-right { width: 26px; height: 332px; transform-origin: left; transform: rotateY(90deg); background: #0a1b3a; }
.l-right { left: 492px !important; }
.ub-glow { position: absolute; left: -260px; top: -260px; width: 520px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,232,170,.75), rgba(216,180,106,.25) 50%, transparent); transform: translateY(-40px) rotateX(58deg) translateZ(70px); opacity: 0; pointer-events: none; mix-blend-mode: screen; }
.ub-card { position: absolute; left: -180px; top: -109.5px; width: 360px; transform-style: preserve-3d; }
.ub-card .mcard { --cw: 360px; }
.ub-sparks { position: absolute; left: 50%; top: 260px; width: 0; height: 0; }
.unbox.tall .ub-sparks { top: 300px; }
.ub-sparks i { position: absolute; border-radius: 50%; background: #f8e6b0; box-shadow: 0 0 10px 3px rgba(242,219,160,.8); opacity: 0; }
.ub-badges { position: absolute; left: 50%; top: 385px; width: 0; height: 0; }
.unbox.tall .ub-badges { top: 470px; }
.ub-badge { position: absolute; left: 0; top: 0; width: 230px; display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(242,219,160,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; opacity: 0; box-shadow: 0 16px 34px rgba(0,0,0,.35), inset 3px 0 0 var(--c); }
[dir="rtl"] .ub-badge { box-shadow: 0 16px 34px rgba(0,0,0,.35), inset -3px 0 0 var(--c); }
.ub-bm { width: 52px; height: 52px; flex: none; background: #08152c; border-radius: 50%; }
.ub-badge b { display: block; font: 700 14px var(--display); }
.ub-badge span { display: block; font-size: 12px; color: #c9d1e2; margin-top: 2px; }
html[lang="ar"] .ub-badge b { font-family: var(--arabic); }
.unbox.tall .ub-badge { width: 250px; }
.ub-caption { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; pointer-events: none; padding-inline: 16px; }
.ub-step { font: 700 11px var(--display); letter-spacing: .3em; color: var(--gold); }
.ub-text { font: 600 clamp(1rem, 2.2vw, 1.4rem) var(--display); color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
html[lang="ar"] .ub-text { font-family: var(--arabic); }
.ub-end { position: absolute; left: 0; right: 0; bottom: 84px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; opacity: 0; padding-inline: 16px; }
.unbox.tall .ub-end { bottom: 80px; }
.ub-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.08); }
.ub-progress span { display: block; height: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); }
[dir="rtl"] .ub-progress span { transform-origin: 100% 50%; }
.ub-skip { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 5; border: 1px solid rgba(242,219,160,.45); background: rgba(8,21,44,.6); color: var(--gold-hi); border-radius: 999px; padding: 6px 14px; font: 700 .8rem var(--body); cursor: pointer; opacity: 0; transition: opacity .3s; pointer-events: none; }
.unbox.playing .ub-skip { opacity: 1; pointer-events: auto; }

/* film mode for video rendering */
html.film body > *:not(main) { display: none !important; }
html.film main > section:not(.ub-hero), html.film .ub-hero .ub-hero-wrap { display: none !important; }
html.film body, html.film .ub-hero { background: #040b18; }
html.film .ub-hero > .wrap { padding: 0 !important; max-width: none; }
html.film .unbox { margin: 0; }
html.film .ub-stage { border-radius: 0; box-shadow: none; }
html.film .ub-skip, html.film .ub-progress, html.film .to-top, html.film .toast { display: none !important; }

/* ---- card builder ---- */
.mk-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
@media (max-width: 960px) { .mk-layout { grid-template-columns: minmax(0, 1fr); } }
.mk-preview { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 90px); display: flex; flex-direction: column; align-items: center; gap: 18px; }
@media (max-width: 960px) { .mk-preview { position: static; } }
.mk-stage { width: 100%; display: flex; justify-content: center; perspective: 1400px; padding: 26px 0; border-radius: 22px; background: radial-gradient(120% 100% at 50% 0%, #17305c, #071430 70%); box-shadow: inset 0 0 0 1px rgba(216,180,106,.25); }
.mk-stage .mcard { --cw: min(460px, calc(100vw - 72px)); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .15s ease-out; }
.mk-tools { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.mk-tools .ico { width: 1.1em; height: 1.1em; }
.finish { border: 0; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.finish label { display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px 6px 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); cursor: pointer; font-weight: 700; font-size: .86rem; }
[dir="rtl"] .finish label { padding: 6px 6px 6px 12px; }
.finish input { position: absolute; opacity: 0; pointer-events: none; }
.finish label:has(input:checked) { border-color: var(--navy); box-shadow: 0 0 0 2px var(--gold); }
.finish label:has(input:focus-visible) { outline: 3px solid var(--gold); }
.sw { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(216,180,106,.8); }
.sw-ad { background: radial-gradient(circle at 70% 30%, #237256, #04201a); } .sw-bn { background: radial-gradient(circle at 70% 30%, #8a3346, #2c0a14); } .sw-cn { background: radial-gradient(circle at 70% 30%, #5b43a0, #130a30); } .sw-st { background: radial-gradient(circle at 70% 30%, #3a3a42, #050506); }
.mk-form { background: var(--paper); }
.photo-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.photo-prev { width: 56px; height: 56px; border-radius: 50%; background: var(--navy) center/cover no-repeat; color: var(--gold-hi); display: inline-flex; align-items: center; justify-content: center; font: 700 1rem var(--display); box-shadow: 0 0 0 2px var(--gold); }
.photo-row label.btn { cursor: pointer; }
.photo-row .ico { width: 1.1em; height: 1.1em; }
.link-btn { background: none; border: 0; color: var(--danger); font-weight: 700; cursor: pointer; text-decoration: underline; }
.hint { color: var(--ink-2); font-size: .82rem; }
.unl .svc-top { justify-content: flex-start; }
.tiers-mb .plan { background: var(--navy-2); border-color: var(--rule-dark); color: var(--paper); }
.tiers-mb .plan.now { border-color: var(--gold); }
.tiers-mb .status.later { background: transparent; color: #c7cfdf; border-color: var(--rule-dark); }
@media (prefers-reduced-motion: reduce) { .ub-ray { animation: none; } .mc-inner { transition: none; } }

.ub-hero > .wrap:not(.ub-hero-wrap) { display: block; padding-block: 0; }
.ub-3d { perspective: 1150px; perspective-origin: 50% 26%; }
.ub-caption { top: 22px; bottom: auto; }
.ub-stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: linear-gradient(180deg, transparent, rgba(4,11,24,.92)); pointer-events: none; }
.ub-end { bottom: 30px; z-index: 2; }
.unbox.tall .ub-end { bottom: 30px; }
.ub-stage::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 22%; background: linear-gradient(0deg, transparent, rgba(4,11,24,.7)); pointer-events: none; z-index: 1; }
.ub-caption { z-index: 2; }
html.film .ub-hero > .wrap:not(.ub-hero-wrap) { max-width: none; padding: 0; }

html.film-tall .ub-stage { min-height: 100vh; }
html.film-tall .ub-scale { top: calc((100vh - var(--sh, 0px)) / 2); }
.photo-row { position: relative; }
.photo-row input[type="file"].sr-only { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); opacity: 0; }
.photo-row label.btn:focus-within, .photo-row input[type="file"]:focus-visible + * { outline: 3px solid var(--gold); }

.mk-stage .mcard { --cw: min(560px, calc(100vw - 72px)); }
.ub-labels { position: absolute; left: 50%; top: 385px; width: 0; height: 0; }
.unbox.tall .ub-labels { top: 470px; }
.ub-labels span { position: absolute; left: 0; top: 0; transform: translate(-50%, 0); font: 700 13px var(--display); letter-spacing: .18em; text-transform: uppercase; color: #f2dba0; opacity: 0; white-space: nowrap; text-shadow: 0 2px 10px rgba(0,0,0,.6); }

html.film .ub-end { display: none !important; }
