/* S99 Marketing — site styles
   Layout: dark cinematic single-theme; 1280px column; sections separated by hairlines;
   one bold moment per section (huge uppercase type or a full-bleed image). */
@font-face { font-family: 'Montserrat'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('../fonts/montserrat-latin-wght-normal.woff2') format('woff2-variations'), url('../fonts/montserrat-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cairo'; font-style: normal; font-display: swap; font-weight: 200 1000; src: url('../fonts/cairo-arabic-wght-normal.woff2') format('woff2-variations'), url('../fonts/cairo-arabic-wght-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'Cairo'; font-style: normal; font-display: swap; font-weight: 200 1000; src: url('../fonts/cairo-latin-wght-normal.woff2') format('woff2-variations'), url('../fonts/cairo-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bebas Neue'; font-style: normal; font-display: swap; font-weight: 400; src: url('../fonts/bebas-neue-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --bg: #000000;
  --bg-2: #070B0F;          /* alternate section ground */
  --surface: #0D141B;       /* cards */
  --surface-2: #0A1622;     /* highlighted cards */
  --line: #1C2A37;
  --line-strong: #2E3D4A;
  --fg: #FFFFFF;
  --fg-2: #C9D3DC;
  --muted: #A9B4BF;
  --faint: #8C99A6;
  --accent: #4A9BD4;        /* S99 blue */
  --accent-soft: #9FCBEA;
  --button: #1F6FB2;
  --button-hover: #2A80C6;
  --font-display: 'Montserrat', 'Cairo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Montserrat', 'Cairo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-num: 'Bebas Neue', 'Montserrat', 'Arial Narrow', sans-serif;
  --radius: 20px;
  --max: 1280px;
  --gutter: 24px;
  --section: 120px;
  color-scheme: dark;
}
html[lang="ar"] {
  --font-display: 'Cairo', 'Montserrat', system-ui, sans-serif;
  --font-body: 'Cairo', 'Montserrat', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-soft); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0; }
button { font: inherit; color: inherit; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

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

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--alt { background: var(--bg-2); border-block: 1px solid #121B23; }

/* Type */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }
.h2 { font-family: var(--font-display); font-size: clamp(34px, 4.4vw, 56px); font-weight: 900; text-transform: uppercase; line-height: 1.02; }
.h3 { font-size: 18px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.3; }
.lead { font-size: 20px; line-height: 1.6; font-weight: 600; }
.muted { color: var(--muted); }
.num { font-family: var(--font-num); font-weight: 400; line-height: 1; font-variant-numeric: tabular-nums; }
.outline-num { font-family: var(--font-num); -webkit-text-stroke: 1px #2A6FA3; color: transparent; line-height: 0.85; }
html[lang="ar"] .eyebrow, html[lang="ar"] .h2, html[lang="ar"] .h3, html[lang="ar"] .btn, html[lang="ar"] .nav-links a,
html[lang="ar"] .label-up, html[lang="ar"] .chip, html[lang="ar"] .hero-label { letter-spacing: 0; text-transform: none; }
html[lang="ar"] .h2 { line-height: 1.25; }

.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; }
.sec-head > div:first-child { display: flex; flex-direction: column; gap: 14px; }
.sec-head p { max-width: 460px; color: var(--muted); }
.sec-head--center { justify-content: center; text-align: center; }
.sec-head--center > div:first-child { align-items: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; font-size: 14px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.btn--primary { background: var(--button); color: #fff; }
.btn--primary:hover { background: var(--button-hover); color: #fff; }
.btn--ghost { color: var(--fg); border-color: #5B6875; background: transparent; }
.btn--ghost:hover { border-color: var(--fg); color: var(--fg); }
.btn--light { background: var(--fg); color: #000; }
.btn--light:hover { background: var(--fg-2); color: #000; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 13px; }
.play-btn { display: inline-flex; align-items: center; gap: 14px; background: none; border: 0; padding: 0 6px; min-height: 52px; cursor: pointer; font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg); }
.play-btn .ring { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--fg); display: grid; place-items: center; transition: background .2s; }
.play-btn:hover .ring { background: rgba(255,255,255,.12); }
html[lang="ar"] .play-btn { letter-spacing: 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(0,0,0,.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid #16202A; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand img { height: 42px; width: auto; }
.nav-links { display: flex; gap: 28px; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.nav-links a { color: var(--fg); text-decoration: none; padding-block: 8px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid #2A3946; border-radius: 999px; color: var(--fg); text-decoration: none; font-family: 'Cairo', 'Montserrat', sans-serif; font-weight: 600; font-size: 15px; }
.lang:hover { border-color: var(--fg); color: var(--fg); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #2A3946; background: none; cursor: pointer; place-items: center; }
@media (max-width: 960px) {
  .menu-btn { display: grid; }
  .nav-links { display: none; position: absolute; inset-inline: 0; top: 100%; flex-direction: column; gap: 0; background: #000; border-bottom: 1px solid #16202A; padding: 8px var(--gutter) 20px; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid #121B23; font-size: 15px; }
  .site-header.is-open .nav-links { display: flex; }
  .nav-actions .btn { display: none; }
}

/* Hero */
.hero { position: relative; min-height: 720px; display: flex; align-items: flex-end; background: #000 url('../img/hero-mountain.webp') center 30% / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,.7) 80%, #000 100%); }
.hero .wrap { position: relative; width: 100%; padding-block: 150px 90px; display: flex; flex-direction: column; gap: 28px; }
.hero-title { display: flex; gap: 20px; }
.hero-title::before { content: ""; width: 4px; flex-shrink: 0; background: var(--accent); border-radius: 2px; }
.hero-title > div { display: flex; flex-direction: column; gap: 18px; }
.hero-label { font-size: 14px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-2); }
.hero h1 { font-family: var(--font-display); font-size: clamp(32px, 5vw, 68px); line-height: 1.02; font-weight: 900; text-transform: uppercase; max-width: 1020px; }
html[lang="ar"] .hero h1 { text-transform: none; line-height: 1.25; font-size: clamp(32px, 4.6vw, 62px); }
.hero-p { max-width: 620px; font-size: 18px; color: var(--fg-2); margin-inline-start: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-inline-start: 24px; }
@media (max-width: 640px) { .hero { min-height: 0; background-image: url('../img/hero-mountain-900.webp'); } .hero .wrap { padding-block: 120px 64px; } .hero-p, .hero-actions { margin-inline-start: 0; } }

.strip { border-block: 1px solid #16202A; background: #05080B; }
.strip ul { list-style: none; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 22px; padding-block: 24px; font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.strip li + li::before { content: "✦"; color: var(--accent); margin-inline-end: 22px; }
@media (max-width: 640px) { .strip ul { gap: 10px 18px; font-size: 11px; } .strip li + li::before { content: none; } }
html[lang="ar"] .strip ul { letter-spacing: 0; font-size: 15px; text-transform: none; }

/* About */
.about { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.about-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.about-text .h2 { color: var(--accent); font-size: clamp(32px, 3.6vw, 44px); letter-spacing: 0.08em; }
.stats { flex: 1 1 400px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.stat { background: #0B1117; border: 1px solid #1A2632; border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 6px; }
.stat .num { font-size: clamp(48px, 5vw, 64px); }
.founder { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.founder-mark { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(74,155,212,.12); flex-shrink: 0; }
.founder div { display: flex; flex-direction: column; gap: 2px; }
.founder b { font-size: 20px; font-weight: 800; }
.label-up { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* Service cards */
.cards-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.svc-card { text-decoration: none; color: var(--fg); background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 18px; transition: border-color .2s, transform .2s; }
.svc-card:hover { border-color: var(--accent); color: var(--fg); transform: translateY(-3px); }
.svc-card .top { display: flex; justify-content: space-between; align-items: flex-start; }
.svc-card .outline-num { font-size: 56px; }
.svc-card p { color: var(--muted); font-size: 15px; flex-grow: 1; }
.svc-card .more { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
html[lang="ar"] .svc-card .more { letter-spacing: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip { font-size: 13px; font-weight: 600; padding: 9px 16px; border-radius: 999px; border: 1px solid #22313E; color: var(--fg-2); background: #0B1117; }

/* Reels rail */
.rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px var(--gutter) 24px; scrollbar-width: thin; scrollbar-color: #2E3D4A transparent; }
@media (min-width: 1328px) { .rail { padding-inline: calc((100% - var(--max)) / 2 + var(--gutter)); } }
.reel { flex: 0 0 auto; width: 236px; aspect-ratio: 9 / 16; position: relative; padding: 0; border: 1px solid #22313E; border-radius: 28px; overflow: hidden; background: var(--surface); cursor: pointer; scroll-snap-align: start; color: #fff; text-align: start; }
@media (max-width: 640px) { .reel { width: 64vw; max-width: 260px; } }
.media-btn .ph { position: absolute; inset: 0; display: grid; place-items: start center; align-content: start; padding: 22% 16px 0; text-align: center; background: radial-gradient(circle at 50% 30%, #12304A 0%, #070B0F 70%); font-family: var(--font-num); font-size: 34px; line-height: 1; color: rgba(255,255,255,.18); letter-spacing: .04em; }
.media-btn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.media-btn:hover img { transform: scale(1.04); }
.media-btn .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 55%, rgba(0,0,0,.9) 100%); }
.media-btn .tag { position: absolute; top: 14px; inset-inline-start: 14px; display: flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; background: rgba(0,0,0,.55); padding: 6px 10px; border-radius: 999px; }
.media-btn .play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.7); display: grid; place-items: center; transition: background .2s; }
.media-btn:hover .play { background: rgba(31,111,178,.85); border-color: transparent; }
.media-btn .cap { position: absolute; inset-inline: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 3px; }
.media-btn .cap b { font-size: 15px; font-weight: 800; }
.media-btn .cap span { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-soft); }
html[lang="ar"] .media-btn .cap span, html[lang="ar"] .media-btn .tag { letter-spacing: 0; font-size: 12px; }

/* Films */
.featured { position: relative; width: 100%; aspect-ratio: 21 / 9; border-radius: 26px; border: 1px solid var(--line); overflow: hidden; background: var(--surface); padding: 0; cursor: pointer; color: #fff; text-align: start; margin-bottom: 16px; }
@media (max-width: 640px) { .featured { aspect-ratio: 4 / 3; } }
.featured .shade { background: linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.25) 55%, rgba(0,0,0,0) 100%); }
html[dir="rtl"] .featured .shade { background: linear-gradient(270deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.25) 55%, rgba(0,0,0,0) 100%); }
.featured .info { position: absolute; inset-inline-start: clamp(20px, 4vw, 56px); bottom: clamp(20px, 4vw, 52px); display: flex; flex-direction: column; gap: 14px; max-width: 520px; }
.featured .info small { font-size: 11px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-soft); }
.featured .info strong { font-size: clamp(26px, 3.4vw, 44px); font-weight: 900; text-transform: uppercase; line-height: 1.05; }
.featured .info em { font-style: normal; display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.featured .info em i { width: 52px; height: 52px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
html[lang="ar"] .featured .info small, html[lang="ar"] .featured .info em { letter-spacing: 0; }
html[lang="ar"] .featured .info strong { text-transform: none; }
.films { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.film { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; border: 1px solid var(--line); overflow: hidden; background: var(--surface); padding: 0; cursor: pointer; color: #fff; text-align: start; }
.film .shade { background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.88) 100%); }
.film .play { top: 14px; inset-inline-end: 14px; left: auto; transform: none; width: 44px; height: 44px; }
html[dir="rtl"] .film .play { right: auto; }
.film .cap { bottom: 14px; }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--fg); cursor: pointer; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.filter[aria-pressed="true"] { background: var(--fg); color: #000; border-color: var(--fg); }
html[lang="ar"] .filter { letter-spacing: 0; font-size: 14px; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .gallery, .films, .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .shot figcaption { padding: 28px 10px 10px; } .film .play { width: 36px; height: 36px; top: 8px; } .film .cap { inset-inline: 10px; bottom: 8px; } .film .cap b { font-size: 13px; } }
.shot { margin: 0; position: relative; border-radius: 18px; overflow: hidden; background: var(--surface); aspect-ratio: 4 / 5; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot figcaption { position: absolute; inset-inline: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.88) 100%); display: flex; flex-direction: column; gap: 2px; }
.shot figcaption b { font-size: 14px; }
.shot figcaption span { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-soft); }
html[lang="ar"] .shot figcaption span { letter-spacing: 0; font-size: 12px; }

/* Why */
.why { display: flex; flex-wrap: wrap; gap: 56px; }
.why-intro { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.why-intro h2 { font-size: clamp(52px, 6.4vw, 92px); font-weight: 900; line-height: 0.95; text-transform: uppercase; }
html[lang="ar"] .why-intro h2 { line-height: 1.15; text-transform: none; }
.why-intro h2 span { display: block; }
.why-intro h2 span:last-child { color: var(--accent); }
.why-intro .bar { width: 96px; height: 3px; background: var(--fg); border-radius: 2px; }
.why-intro p { color: var(--muted); max-width: 380px; }
.why-grid { flex: 2 1 600px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.why-item { border: 1px solid #1B3348; border-radius: 16px; padding: 26px; display: flex; flex-direction: column; gap: 12px; background: #060A0E; }
.why-item h3 { font-size: 16px; }
.why-item p { font-size: 14px; color: var(--muted); }
.icon-badge { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(74,155,212,.12); }

/* Results */
.results { background: linear-gradient(90deg, #000 0%, rgba(0,0,0,.7) 45%, rgba(0,0,0,.92) 100%), #000 url('../img/hero-mountain.webp') center / cover no-repeat; }
html[dir="rtl"] .results { background: linear-gradient(270deg, #000 0%, rgba(0,0,0,.7) 45%, rgba(0,0,0,.92) 100%), #000 url('../img/hero-mountain.webp') center / cover no-repeat; }
.results .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.results-head { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.results-head h2 { font-family: var(--font-num); font-weight: 400; font-size: clamp(64px, 8vw, 120px); line-height: 0.9; text-transform: uppercase; }
html[lang="ar"] .results-head h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(44px, 5.6vw, 76px); line-height: 1.15; }
.results-head p { font-size: 22px; font-weight: 300; line-height: 1.35; text-transform: uppercase; }
.results-head p b { color: var(--accent); font-weight: 600; display: block; }
.results-list { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.result { border: 1px solid #2A6FA3; border-radius: 18px; background: rgba(4,10,16,.85); padding: 20px 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.result .num { font-size: clamp(48px, 5.4vw, 64px); flex: 1 1 220px; }
.result div { display: flex; flex-direction: column; gap: 2px; }
.result div b { font-size: 15px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.result div span { font-size: 13px; color: var(--muted); }

/* Markets */
.markets { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.market { border-radius: 22px; padding: 36px; background: var(--surface-2); border: 1px solid #1E4466; display: flex; flex-direction: column; gap: 14px; }
.market h3 { display: flex; align-items: center; gap: 12px; font-size: 26px; font-weight: 900; text-transform: uppercase; }
.market p { color: #B5C0CA; }
.network { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 36px; }

/* Clients */
.clients-img { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: #F2F4F6; }
.clients-img img { width: 100%; height: auto; }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 56px; }
.contact-info { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.contact-info .h2 { font-size: clamp(34px, 4.6vw, 60px); }
.contact-lines { display: flex; flex-direction: column; gap: 16px; }
.contact-line { display: flex; align-items: center; gap: 16px; color: var(--fg); text-decoration: none; font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
.contact-line:hover { color: var(--accent-soft); }
.contact-line .dot { width: 48px; height: 48px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.form { flex: 1 1 460px; min-width: 0; background: #0B1117; border: 1px solid #1A2632; border-radius: 24px; padding: clamp(22px, 4vw, 36px); display: flex; flex-direction: column; gap: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-2); }
html[lang="ar"] .field { letter-spacing: 0; font-size: 14px; }
.field input, .field select, .field textarea { font: inherit; font-size: 15px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--fg); background: #05080B; border: 1px solid #2A3946; border-radius: 12px; padding: 0 14px; min-height: 50px; }
.field textarea { padding: 14px; resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; }
.form-note { font-size: 13px; color: var(--muted); }
.form-error { font-size: 14px; color: #F2B66D; min-height: 1em; }

/* Service page */
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-bottom: 40px; }
.crumbs a { color: var(--faint); text-decoration: none; }
.crumbs a:hover { color: var(--fg); }
html[lang="ar"] .crumbs { letter-spacing: 0; font-size: 14px; }
.svc-hero { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.svc-hero-text { flex: 1 1 500px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.svc-hero-text h1 { font-family: var(--font-display); font-size: clamp(38px, 5.4vw, 72px); line-height: 1; font-weight: 900; text-transform: uppercase; display: flex; gap: 20px; }
html[lang="ar"] .svc-hero-text h1 { text-transform: none; line-height: 1.25; }
.svc-hero-text h1::before { content: ""; width: 4px; flex-shrink: 0; background: var(--accent); border-radius: 2px; }
.svc-hero-text > p { font-size: 18px; color: var(--fg-2); max-width: 580px; }
.svc-hero-text .chips { margin-top: 0; }
.svc-hero-img { flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.svc-hero-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; aspect-ratio: 1 / 1; }
.svc-hero-img img:first-child { grid-row: span 2; aspect-ratio: auto; }
.inc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.inc-grid--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.inc { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.inc h3 { font-size: 16px; }
.inc p { font-size: 14px; color: var(--muted); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.steps li { border-top: 2px solid var(--accent); padding-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.steps .outline-num { font-size: 64px; }
.steps p { font-size: 14px; color: var(--muted); }
.pkgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; align-items: stretch; }
.pkg { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 34px; display: flex; flex-direction: column; gap: 22px; }
.pkg--pop { background: var(--surface-2); border: 2px solid var(--accent); }
.pkg .badge { position: absolute; top: -14px; inset-inline-start: 34px; background: var(--accent); color: #000; font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
html[lang="ar"] .pkg .badge { letter-spacing: 0; font-size: 13px; }
.pkg h3 { font-family: var(--font-num); font-weight: 400; font-size: 44px; line-height: 1; text-transform: none; letter-spacing: 0.02em; }
.pkg ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: #D5DDE4; flex-grow: 1; }
.pkg li { display: flex; gap: 10px; align-items: flex-start; }
.pkg li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-top: 9px; flex-shrink: 0; }
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.work-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; }
.faq { max-width: 880px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px; }
.faq summary { cursor: pointer; list-style: none; font-size: 17px; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 14px; color: var(--muted); }
.cta-band { background: linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.6) 60%, rgba(0,0,0,.85) 100%), #000 url('../img/hero-mountain.webp') center 35% / cover no-repeat; }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; }
.cta-band .text { display: flex; flex-direction: column; gap: 14px; max-width: 680px; }
.cta-band .text p { color: var(--fg-2); font-size: 17px; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 14px; }
.more-svcs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.more-svcs a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 24px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); text-decoration: none; font-weight: 700; }
.more-svcs a:hover { border-color: var(--accent); color: var(--fg); }
.work-links-title { margin-bottom: 28px; }
.work-detail { max-width: 900px; display: grid; gap: 24px; }
.work-detail h1 { font-family: var(--font-display); font-size: clamp(42px, 7vw, 90px); line-height: 1.04; }
.work-detail h2 { font-size: clamp(24px, 3vw, 38px); margin-top: 24px; }
.work-detail video, .work-detail img { display: block; width: 100%; max-height: 650px; object-fit: contain; border-radius: 18px; background: var(--surface); }
.work-detail video { aspect-ratio: 16 / 9; }
.work-detail img { height: auto; }
html[dir="rtl"] .flip { transform: scaleX(-1); }


/* Service cards (3) + reel grids + service portfolios */
.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
#reels-more-wrap { display: flex; flex-direction: column; align-items: center; gap: 28px; padding-top: 8px; }
#reels-more-wrap[hidden], .reel-grid[hidden], #influencers[hidden], #svc-filters[hidden] { display: none; }
.reel-grid, .svc-work--influencers { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; width: 100%; }
.reel-grid .reel, .svc-work--influencers .reel { width: 100%; max-width: none; }
.svc-work--social { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.svc-work--production { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.tile { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; border: 1px solid var(--line); overflow: hidden; background: var(--surface); padding: 0; cursor: pointer; color: #fff; text-align: start; }
#influencers .wrap:last-child { margin-top: 8px; }
@media (max-width: 960px) { .svc-work--social { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .svc-work--social, .svc-work--production, .reel-grid, .svc-work--influencers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .reel-grid .reel .play, .svc-work--influencers .reel .play, .tile .play { width: 48px; height: 48px; }
}

/* Behind the scenes: intro panel + vertical clips */
.bts-wrap { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 16px; }
.bts-intro { flex: 1 1 300px; min-width: 0; border: 1px solid var(--line); border-radius: 26px; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; background: radial-gradient(circle at 30% 20%, #12304A 0%, var(--surface) 60%); }
.bts-intro .tag-line { font-family: var(--font-num); font-size: 18px; letter-spacing: .2em; color: var(--accent); }
.bts-intro h3 { font-size: clamp(28px, 3vw, 40px); font-weight: 900; text-transform: uppercase; line-height: 1.05; }
html[lang="ar"] .bts-intro h3 { text-transform: none; line-height: 1.3; }
.bts-intro p { color: var(--muted); max-width: 420px; }
.bts-intro { flex: 0 0 300px; }
.bts-row { display: flex; gap: 16px; flex: 1 1 0; min-width: 0; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; scrollbar-color: #2E3D4A transparent; }
.bts-row .reel { flex: 0 0 auto; width: clamp(200px, 19vw, 250px); }
.media-btn video.hover-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .bts-intro { flex: 1 1 100%; } .bts-row { flex: 1 1 100%; } .bts-row .reel { width: 62vw; max-width: 250px; } }

/* Footer */
.site-footer { border-top: 1px solid #16202A; background: #030507; padding-block: 64px 32px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; margin-bottom: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; max-width: 320px; }
.footer-brand img { height: auto; width: 180px; }
.footer-brand p { font-size: 14px; color: var(--muted); }
.footer-cols { display: flex; flex-wrap: wrap; gap: 56px; }
.footer-cols nav { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer-cols nav b { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
html[lang="ar"] .footer-cols nav b { letter-spacing: 0; font-size: 14px; }
.footer-cols a { color: var(--fg-2); text-decoration: none; }
.footer-cols a:hover { color: var(--fg); }
.footer-bottom { border-top: 1px solid #16202A; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--faint); }

/* WhatsApp floating button */
.wa-float { position: fixed; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); inset-inline-end: 20px; z-index: 45; width: 56px; height: 56px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 8px 30px rgba(0,0,0,.5); }
.wa-float:hover { background: var(--fg-2); }
.phone-fields { display: grid; grid-template-columns: minmax(120px, .8fr) minmax(140px, 1fr); gap: 12px; grid-column: 1 / -1; }
.field small { color: var(--muted); font-size: 11px; font-weight: 400; text-transform: none; letter-spacing: 0; }
.field input[aria-invalid="true"] { border-color: #f18c8c; }
.auto-toggle { color: #fff; border: 1px solid var(--line-strong); background: #0d1924; border-radius: 12px; padding: 10px 14px; cursor: pointer; font: inherit; font-size: 12px; }
.cf-ctrl .auto-toggle { width: auto; min-width: 100px; font-size: 12px; }
.rail-toggle { margin: 0 var(--gutter) 16px; }
.js .cf.is-auto .cf-card { transition: none; }
.auto-rail { scroll-snap-type: none; scroll-behavior: auto; }
.support-launch { position: fixed; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); inset-inline-end: 20px; z-index: 80; display: flex; align-items: center; gap: 9px; padding: 14px 18px; border: 1px solid #4a9bd4; border-radius: 30px; color: #fff; background: #133b5b; box-shadow: 0 8px 30px #0008; cursor: pointer; font: 600 13px var(--font-body); }
.support-panel { position: fixed; bottom: calc(90px + env(safe-area-inset-bottom, 0px)); inset-inline-end: 20px; z-index: 81; width: min(390px, calc(100vw - 24px)); max-height: calc(100dvh - 125px); overflow-y: auto; padding: 16px; background: #0b141e; border: 1px solid #34556e; border-radius: 20px; box-shadow: 0 20px 80px #000b; color: #fff; }
.support-panel[hidden], .support-panel [hidden] { display: none !important; }
.support-panel header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.support-panel header small { display: block; color: #9fb5c9; font-size: 11px; margin-top: 4px; }
.support-panel button { cursor: pointer; font-family: inherit; }
.support-launch svg { flex-shrink: 0; display: block; }
#support-identity { display: flex; flex-direction: column; gap: 12px; }
#support-identity p { font-size: 13px; line-height: 1.8; }
#support-identity .phone-fields { grid-template-columns: 1fr; }
#support-identity small { font-size: 11px; line-height: 1.8; color: #aec4d7; }
.support-panel header button { background: transparent; border: 0; color: white; font-size: 26px; }
.support-messages { max-height: 260px; overflow-y: auto; overscroll-behavior: contain; font-size: 13px; line-height: 1.8; }
.support-messages p { padding: 11px 13px; margin: 0 0 10px; border-radius: 12px; background: #142535; }
.support-messages .support-user { background: #194465; margin-inline-start: 22px; }
.support-topics, .support-handoff { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 12px; }
.support-topics button, #support-callback { background: #102333; border: 1px solid #3b5f79; border-radius: 9px; color: #d8edff; padding: 7px 10px; font-size: 12px; }
#support-question { display: flex; gap: 7px; }
#support-question input { min-width: 0; flex: 1; background: #070d14; border: 1px solid #3b5f79; color: white; padding: 11px; border-radius: 9px; font: inherit; font-size: 13px; }
#support-question button { border: 0; border-radius: 9px; background: #287cb7; color: white; padding: 9px 13px; }
#support-lead { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
#support-lead .phone-fields { grid-template-columns: 1fr; }
#support-lead small { font-size: 11px; color: #aec4d7; }
.support-handoff .btn, #support-lead .btn { font-size: 11px; padding: 12px; white-space: normal; }
@media (max-width: 560px) { .cf-ctrl { flex-wrap: wrap; justify-content: center; } .cf-line { min-width: 35px; } .phone-fields { grid-template-columns: 1fr; } .support-launch { inset-inline-end: 12px; } .support-panel { inset-inline-end: 12px; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.94); display: flex; align-items: center; justify-content: center; padding: 64px 16px 24px; }
.lightbox[hidden] { display: none; }
.lb-close { position: absolute; top: 16px; inset-inline-end: 16px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid #5B6875; background: var(--surface); cursor: pointer; display: grid; place-items: center; }
.lb-body { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; max-width: 1100px; }
.lb-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 78vh; border-radius: 18px; overflow: hidden; background: #000; border: 1px solid #22313E; }
.lb-frame.is-vertical { width: auto; height: min(78vh, 760px); aspect-ratio: 9 / 16; max-width: 100%; }
.lb-frame iframe, .lb-frame video, .lb-frame img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; }
.lb-frame img { object-fit: cover; opacity: .4; }
.lb-frame.is-image { aspect-ratio: auto; width: auto; max-width: 100%; height: auto; background: transparent; border: 0; display: flex; justify-content: center; }
.lb-frame.is-image img { position: static; opacity: 1; width: auto; height: auto; max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: 14px; }
.lb-missing { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; font-weight: 700; font-size: 15px; }
.lb-caption { text-align: center; display: flex; flex-direction: column; gap: 2px; }
.lb-caption b { font-size: 18px; }
.lb-yt { margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--accent-soft); }
.lb-yt[hidden] { display: none; }
.media-btn .yt-cover { z-index: 0; }
.lb-caption span { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-soft); }

@media (max-width: 640px) {
  :root { --section: 84px; --gutter: 18px; }
  .lead { font-size: 18px; }
  .results, html[dir="rtl"] .results { background: #000; }
  .result { padding: 18px 20px; }
}

/* =====================================================================
   Home v2 — preloader, scroll hook, marquee, showreel, layers, system,
   partners, myths, before/after, reveals
   ===================================================================== */

/* ---- preloader (once per session) ---- */
.preloader { display: none; }
.pl-on .preloader { position: fixed; inset: 0; z-index: 200; background: radial-gradient(circle at 50% 45%, #071423 0%, #000 60%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  animation: plOut .5s ease 4s forwards; }
.pl-sphere { width: min(480px, 90vw); height: min(480px, 90vw); display: block; }
.pl-caption { color: #8eacc5; font: 500 10px var(--font-body); letter-spacing: .3em; animation: plLogo .7s ease both; }
.preloader img { width: 120px; height: auto; opacity: 0; animation: plLogo .6s ease .5s forwards; margin-top: -8px; }
.preloader img.pl-mark { position: absolute; left: 50%; top: calc(50% - 21px); width: clamp(105px, 25vw, 150px); height: auto; margin: 0; transform: translate(-50%, -50%); opacity: 1; animation: none; filter: drop-shadow(0 2px 16px #030913); }
@keyframes plLogo { to { opacity: .95; } }
.pl-bar { width: 140px; height: 2px; background: #1A2632; overflow: hidden; border-radius: 2px; }
.pl-bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .12s linear; }
.preloader.is-done { animation: plOut .6s ease forwards; }
.preloader.is-done .pl-sphere { transition: transform .6s ease, opacity .6s ease; transform: scale(1.6); opacity: 0; }
@keyframes plOut { to { opacity: 0; visibility: hidden; } }
.pl-on body { overflow: hidden; }

/* ---- hook: two statements pinned while scrolling ---- */
.hook { position: relative; background: #000; }
.hook-pin { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; isolation: isolate; background: #030913 url('../img/hero-s99-moon.png') center center / cover no-repeat; }
.hook-pin::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.04) 35%, rgba(0,0,0,.58) 78%, #000); }
.hook-inner { position: relative; width: 100%; padding-block: 140px 80px; display: flex; flex-direction: column; gap: 26px; }
.hook-lines { display: flex; flex-direction: column; gap: 10px; border-inline-start: 4px solid var(--accent); padding-inline-start: 22px; }
.hook-l { margin: 0; font-family: var(--font-display); font-weight: 900; text-transform: uppercase; line-height: 1.02; font-size: clamp(34px, 6.2vw, 92px); max-width: 1100px; }
.hook-l1 { color: var(--fg-2); }
.hook-l2 { color: var(--fg); }
html[lang="ar"] .hook-l { text-transform: none; line-height: 1.25; font-size: clamp(32px, 5.6vw, 82px); }
.hook-rest { display: flex; flex-direction: column; gap: 26px; }
.hook-rest .hero-p, .hook-rest .hero-actions { margin-inline-start: 26px; }
.hook-hint { position: absolute; bottom: 26px; inset-inline-end: var(--gutter); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--faint); display: flex; align-items: center; gap: 12px; }
.hook-hint i { width: 1px; height: 38px; background: linear-gradient(var(--accent), transparent); animation: hintDrop 1.6s ease-in-out infinite; }
@keyframes hintDrop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
html[lang="ar"] .hook-hint { letter-spacing: 0; }
/* pinned version (JS on, motion allowed) */
@media (prefers-reduced-motion: no-preference) {
  .js .hook { height: 240vh; }
  .js .hook-pin { position: sticky; top: 0; height: 100vh; height: 100svh; }
  .js .hook-lines { display: grid; }
  .js .hook-l { grid-area: 1 / 1; transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.1,1), filter .7s ease; }
  .js .hook[data-stage="1"] .hook-l2 { opacity: 0; transform: translateY(60px); filter: blur(8px); }
  .js .hook:not([data-stage="1"]) .hook-l1 { opacity: 0; transform: translateY(-60px); filter: blur(8px); }
  .js .hook-rest { transition: opacity .7s ease .1s, transform .7s ease .1s; }
  .js .hook:not([data-stage="3"]) .hook-rest { opacity: 0; transform: translateY(24px); pointer-events: none; }
  .js .hook[data-stage="3"] .hook-hint { opacity: 0; }
  .hook-hint { transition: opacity .4s; }
}
@media (max-width: 640px) { .hook-pin { background-position: 52% center; } .hook-inner { padding-block: 110px 70px; } .hook-rest .hero-p, .hook-rest .hero-actions { margin-inline-start: 0; } .hook-lines { padding-inline-start: 16px; } }

/* ---- client logo lines (MG) ---- */
.marquee { border-block: 1px solid #16202A; background: #05080B; overflow: hidden; padding-block: 26px; display: flex; flex-direction: column; gap: 14px; }
.mq-label { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--faint); margin: 0 0 4px; }
html[lang="ar"] .mq-label { letter-spacing: 0; font-size: 14px; }
.mq-row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-track { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; width: max-content; animation: mq 70s linear infinite; }
.mq-rev { animation-direction: reverse; animation-duration: 80s; }
.marquee:hover .mq-track { animation-play-state: paused; }
.mq-track li { flex-shrink: 0; height: 72px; padding: 10px 18px; background: #fff; border-radius: 14px; display: flex; align-items: center; }
.mq-track img { height: 52px; width: auto; max-width: 190px; object-fit: contain; }
.mq-track .mq-logo-bokharest-black img, .mq-track .mq-logo-fatoma-house img { height: 78px; max-width: 220px; }
@keyframes mq { to { transform: translateX(calc(-50% - 7px)); } }
@media (max-width: 640px) { .mq-track li { height: 58px; padding: 8px 14px; border-radius: 12px; } .mq-track img { height: 42px; max-width: 150px; } }

/* ---- portfolio coverflow ---- */
.cf-sec { overflow: hidden; padding-bottom: 90px; }
.cf { position: relative; outline: none; }
.cf-stage { display: flex; gap: 14px; overflow-x: auto; padding: 10px var(--gutter) 30px; scroll-snap-type: x mandatory; }
.cf-card { position: relative; flex: 0 0 auto; width: clamp(220px, 26vw, 360px); aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; border: 0; padding: 0; background: var(--surface); cursor: pointer; scroll-snap-align: center; color: #fff; }
.cf-card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.cf-card .ph { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; text-align: center; font-weight: 800; font-size: 20px; background: linear-gradient(160deg, #0E2233, #070B0F); }
.cf-card .yt-cover { position: absolute; inset: 0; }
.cf-card .cf-live { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; pointer-events: none; }
.cf-card .cf-live.is-on { opacity: 1; }
.cf-card.is-center .cf-play { opacity: 0; transition: opacity .3s; }
.cf-card.is-center:hover .cf-play { opacity: 1; }
.cf-play { position: absolute; z-index: 2; right: 14px; bottom: 14px; width: 42px; height: 42px; border-radius: 50%; background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.35); display: grid; place-items: center; backdrop-filter: blur(6px); }
.js .cf { height: clamp(380px, 38vw, 520px); perspective: 1600px; touch-action: pan-y; cursor: grab; user-select: none; }
.js .cf.is-drag { cursor: grabbing; }
.js .cf::after { content: ""; position: absolute; left: 50%; bottom: -10px; width: min(70vw, 700px); height: 120px; transform: translateX(-50%); background: radial-gradient(ellipse at center, rgba(74,155,212,.28), transparent 70%); pointer-events: none; }
.js .cf-stage { position: absolute; inset: 0; display: block; overflow: visible; padding: 0; transform-style: preserve-3d; }
.js .cf-card { position: absolute; left: 50%; top: 50%; width: clamp(210px, 22vw, 340px); margin: 0;
  transition: transform .6s cubic-bezier(.2,.75,.15,1), opacity .6s, filter .6s, box-shadow .6s; will-change: transform; }
.js .cf-card.is-center { box-shadow: 0 30px 70px rgba(0,0,0,.6), 0 0 0 1px rgba(74,155,212,.35); }
.js .cf.is-drag .cf-card { transition: none; }
.cf-under { display: flex; flex-direction: column; align-items: center; gap: 22px; margin-top: 18px; }
.cf-cap { display: flex; align-items: flex-start; gap: 12px; min-height: 52px; }
.cf-num { font-family: var(--font-num); font-size: 22px; color: var(--accent); line-height: 1.3; }
.cf-cap > span:last-child { display: flex; flex-direction: column; }
.cf-cap b { font-size: 20px; font-weight: 800; }
.cf-cap small { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
html[lang="ar"] .cf-cap small { letter-spacing: 0; font-size: 13px; }
.cf-ctrl { display: flex; align-items: center; gap: 16px; width: min(100%, 700px); }
.cf-ctrl button { width: 50px; height: 50px; flex-shrink: 0; border: 1px solid var(--line-strong); background: transparent; color: var(--fg); font-size: 20px; cursor: pointer; border-radius: 12px; transition: background .2s, border-color .2s, color .2s; }
.cf-ctrl button:hover, .cf-ctrl .cf-next { background: var(--accent); border-color: var(--accent); color: #000; }
.cf-i, .cf-n { font-family: var(--font-num); font-size: 18px; color: var(--fg-2); min-width: 2ch; }
.cf-line { flex: 1; height: 2px; background: #1A2632; position: relative; border-radius: 2px; overflow: hidden; }
.cf-line i { position: absolute; top: 0; bottom: 0; left: 0; width: 0; background: var(--accent); transition: width .5s ease; }
.cf:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
@media (max-width: 640px) {
  .js .cf { height: 400px; }
  .js .cf-card { width: 230px; }
  .cf-ctrl button { width: 44px; height: 44px; }
}

/* ---- tilted ribbon ---- */
.ribbon { overflow: hidden; padding-block: 34px; margin-block: -10px; position: relative; z-index: 2; }
.ribbon-track { display: flex; width: max-content; background: var(--accent); color: #000; transform: rotate(-2.5deg); animation: mq 40s linear infinite; }
.ribbon-track span { font-family: var(--font-num); font-size: clamp(26px, 3vw, 40px); line-height: 1; padding: 16px 0; white-space: nowrap; display: flex; align-items: center; }
.ribbon-track span::after { content: "✦"; font-size: .6em; margin-inline: 28px; }
html[lang="ar"] .ribbon-track span { font-family: var(--font-display); font-weight: 900; font-size: clamp(22px, 2.6vw, 34px); }

/* ---- counters ---- */
.num--todo { color: var(--accent-soft) !important; font-size: clamp(26px, 3vw, 36px) !important; border: 1px dashed var(--accent); border-radius: 8px; padding: 2px 10px; align-self: flex-start; }

/* ---- specialists layers (ARQQA) ---- */
.layers-wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.layers-head { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 900px) { .layers-head { position: sticky; top: 110px; } }
.big-h { font-size: clamp(40px, 5vw, 72px); line-height: 1; text-transform: uppercase; }
html[lang="ar"] .big-h { line-height: 1.2; text-transform: none; }
.mk-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.mk { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 18px; text-transform: uppercase; }
html[lang="ar"] .mk { text-transform: none; }
.layers-head .network { justify-content: flex-start; margin-top: 0; }
.layers { flex: 1.4 1 480px; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.layer { display: flex; gap: 26px; align-items: flex-start; padding: 28px; border-radius: 20px; background: linear-gradient(135deg, #0B1621, #070B0F); border: 1px solid #1B3348; position: relative; overflow: hidden; }
.layer::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 3px; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .7s cubic-bezier(.2,.7,.1,1) calc(var(--d, 0ms) + 200ms); }
.layer.in::before { transform: scaleY(1); }
.layer-n { font-family: var(--font-num); font-size: 54px; line-height: .9; color: transparent; -webkit-text-stroke: 1px var(--accent); flex-shrink: 0; min-width: 2ch; }
.layer h3 { margin-bottom: 6px; }
.layer p { color: var(--muted); font-size: 15px; }
@media (max-width: 640px) { .layer { padding: 22px; gap: 16px; } .layer-n { font-size: 40px; } }

/* ---- S99 system stepper ---- */
.sys { display: flex; flex-direction: column; gap: 22px; }
.sys-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; position: relative; }
.sys-tab { min-height: 64px; border: 1px solid var(--line-strong); background: transparent; color: var(--fg-2); border-radius: 14px; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 10px 16px; font: inherit; font-weight: 700; font-size: 15px; text-align: start; transition: background .25s, border-color .25s, color .25s; }
.sys-tab:hover { border-color: var(--accent); color: var(--fg); }
.sys-tab[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #000; }
.sys-n { font-family: var(--font-num); font-size: 26px; line-height: 1; }
.sys-panel { display: flex; gap: 40px; align-items: center; padding: 44px; border-radius: 24px; background: var(--surface-2); border: 1px solid #1E4466; }
.sys-panel[hidden] { display: none; }
.js .sys-panel:not([hidden]) { animation: sysIn .5s ease; }
@keyframes sysIn { from { opacity: 0; transform: translateY(14px); } }
.sys-big { font-family: var(--font-num); font-size: clamp(110px, 14vw, 200px); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--accent); flex-shrink: 0; }
.sys-panel h3 { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 10px; }
.sys-panel p { color: var(--fg-2); max-width: 560px; font-size: 17px; }
.sys-panel ul { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.sys-panel li { display: flex; align-items: center; gap: 8px; color: var(--fg); font-size: 15px; font-weight: 600; }
.sys-panel li svg, .ba-new li svg { color: var(--accent); flex-shrink: 0; }
@media (max-width: 860px) {
  .sys-tabs { display: flex; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .sys-tab { flex: 0 0 auto; }
  .sys-panel { flex-direction: column; align-items: flex-start; gap: 14px; padding: 28px; }
  .sys-big { font-size: 90px; }
}

/* ---- service hooks ---- */
.svc-hook { font-size: 14px; font-weight: 700; color: var(--accent-soft); padding: 8px 12px; border-radius: 10px; background: rgba(74,155,212,.1); border: 1px solid rgba(74,155,212,.25); align-self: flex-start; }

/* ---- partners ---- */
.partners { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.partner--top { grid-column: span 2; background: linear-gradient(135deg, #0C2740, #0A1622 70%); border-color: #1E4466; }
.partner--top .partner-since b { font-size: 72px; }
@media (max-width: 1000px) { .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .partners { grid-template-columns: 1fr; } .partner--top { grid-column: auto; } }
html[lang="ar"] .partner-since b { font-family: var(--font-display); font-weight: 900; font-size: 34px; }
html[lang="ar"] .partner--top .partner-since b { font-size: 52px; }
.partner { padding: 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; transition: border-color .25s; }
.partner:hover { border-color: var(--accent); }
.partner h3 { font-size: 22px; font-weight: 900; text-transform: uppercase; }
html[lang="ar"] .partner h3 { text-transform: none; }
.partner-since { display: flex; flex-direction: column; gap: 6px; padding-block: 14px; border-block: 1px solid var(--line); }
.partner-since b { font-family: var(--font-num); font-size: 48px; line-height: 1; font-weight: 400; color: var(--accent); text-transform: uppercase; }
.partner-since b.num--todo { font-family: var(--font-body); font-size: 18px !important; font-weight: 700; }
.partner-what { color: var(--muted); font-size: 14px; }

/* ---- myth vs fact flip cards ---- */
.myths { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.myth { border: 0; padding: 0; background: none; cursor: pointer; perspective: 1200px; min-height: 250px; color: var(--fg); font: inherit; text-align: start; }
.myth-in { position: relative; display: block; width: 100%; height: 100%; min-height: 250px; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.3,.7,.2,1); }
.myth[aria-pressed="true"] .myth-in { transform: rotateY(180deg); }
.myth-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.myth-front { background: var(--surface); border: 1px solid var(--line-strong); }
.myth-back { background: var(--accent); color: #000; transform: rotateY(180deg); }
.myth-face small { font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
html[lang="ar"] .myth-face small { letter-spacing: 0; font-size: 14px; }
.myth-front small { color: #E07A7A; }
.myth-face b { font-size: 21px; line-height: 1.35; font-weight: 800; }
.myth-back b { font-size: 18px; }
.myth-front i { margin-top: auto; font-style: normal; color: var(--accent); font-size: 22px; }
.myth:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 20px; }

/* ---- before / after ---- */
.ba { position: relative; max-width: 1000px; margin-inline: auto; height: 380px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line-strong); user-select: none; touch-action: pan-y; }
.ba-side { position: absolute; inset: 0; display: flex; }
.ba-old { background: repeating-linear-gradient(135deg, #0B0F13 0 14px, #0D1217 14px 28px); justify-content: flex-start; }
.ba-new { background: linear-gradient(135deg, #0C2740, #0A1622 60%); justify-content: flex-end; clip-path: inset(0 0 0 var(--x)); }
.ba-col { width: 50%; padding: 40px; display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.ba-col h3 { font-size: clamp(20px, 2.4vw, 28px); font-weight: 900; text-transform: uppercase; }
html[lang="ar"] .ba-col h3 { text-transform: none; }
.ba-old h3 { color: var(--faint); }
.ba-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ba-col li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.ba-col li svg { margin-top: 2px; }
.ba-old li { color: var(--faint); }
.ba-old li svg { color: #C86464; flex-shrink: 0; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; background: var(--accent); transform: translateX(-1px); pointer-events: none; z-index: 2; }
.ba-handle i { position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: var(--accent); color: #000; display: grid; place-items: center; font-style: normal; font-weight: 900; font-size: 18px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; }
.ba-range:focus-visible + .ba-handle, .ba:focus-within .ba-handle i { box-shadow: 0 0 0 4px rgba(74,155,212,.4); }
.ba-hint { text-align: center; color: var(--faint); font-size: 13px; margin-top: 14px; }
@media (max-width: 640px) { .ba { height: 440px; } .ba-col { padding: 20px 14px; gap: 12px; } .ba-col li { font-size: 13px; } .ba-col li svg { width: 14px; height: 14px; } }

/* ---- fork CTA ---- */
.fork .h2 { max-width: 900px; font-size: clamp(26px, 3.2vw, 44px); line-height: 1.15; }
.cta-band { background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.2) 45%, rgba(0,0,0,.92) 88%, #000 100%), linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.6) 60%, rgba(0,0,0,.85) 100%), #000 url('../img/hero-mountain.webp') center 30% / cover no-repeat; }

/* ---- scroll reveals ---- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease var(--d, 0ms), transform .8s cubic-bezier(.2,.7,.1,1) var(--d, 0ms); }
  .js .reveal.in { opacity: 1; transform: none; }
}
