/* NileStudio — site styles.
   Colours come from the studio logo (navy #002060, blue #0050e0, cyan #20e0f8) and the banner's night blue (#01183f).
   One stylesheet for every page; each app page may set --app-a / --app-b for its own accent. */

:root {
  --ink: #0a1a3c;
  --ink-2: #2d3b5c;
  --muted: #5d6987;
  --line: #e1e7f2;
  --line-2: #cfd8ea;
  --bg: #ffffff;
  --bg-soft: #f4f7fc;
  --bg-tint: #eaf1ff;
  --navy: #002060;
  --blue: #0050e0;
  --blue-dark: #0040b8;
  --cyan: #20e0f8;
  --night: #01183f;
  --night-2: #04245a;
  --ok: #0f7a52;
  --app-a: #0050e0;
  --app-b: #20b8f8;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(1, 24, 63, .06), 0 2px 8px rgba(1, 24, 63, .05);
  --shadow: 0 1px 2px rgba(1, 24, 63, .06), 0 12px 32px rgba(1, 24, 63, .10);
  --shadow-lg: 0 2px 4px rgba(1, 24, 63, .08), 0 28px 60px rgba(1, 24, 63, .18);
  --font-ar: "IBM Plex Sans Arabic", "Plus Jakarta Sans", "Segoe UI", Tahoma, sans-serif;
  --font-en: "Plus Jakarta Sans", "IBM Plex Sans Arabic", "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1180px;
  --header-h: 68px;
  color-scheme: light;
}

/* ---------- Language: both languages live in the page; the <html lang> decides which one shows ---------- */
html[lang="ar"] body [lang="en"],
html[lang="en"] body [lang="ar"] { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font-en);
  font-size: 16.5px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="ar"] body { font-family: var(--font-ar); line-height: 1.85; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.4; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; }
.ltr { direction: ltr; unicode-bidi: isolate; }
:focus-visible { outline: 3px solid var(--blue); 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; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
@media (max-width: 480px) { .wrap { padding-inline: 16px; } }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
html[dir="rtl"] .flip { transform: scaleX(-1); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 15.5px; line-height: 1; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn .icon { width: 20px; height: 20px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(0, 80, 224, .28); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #eaf1ff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost-dark { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-ghost-dark:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .5); }
.btn-play { background: #0b1220; color: #fff; padding-inline: 20px 24px; gap: 12px; min-height: 54px; border-radius: 14px; }
.btn-play:hover { background: #000; }
.btn-play .play-mark { width: 26px; height: 26px; }
.btn-play span.stack { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; line-height: 1.1; }
.btn-play small { font-size: 11px; font-weight: 500; opacity: .8; letter-spacing: .02em; }
.btn-play strong { font-size: 17px; font-weight: 700; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .88); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(1, 24, 63, .06); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 34px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.site-nav a { color: var(--ink-2); font-weight: 500; font-size: 15px; padding: 8px 14px; border-radius: 999px; }
.site-nav a:hover { background: var(--bg-soft); color: var(--ink); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--blue); background: var(--bg-tint); }
.header-tools { display: flex; align-items: center; gap: 8px; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px;
  background: #fff; color: var(--ink); border: 1px solid var(--line-2); font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer;
}
.lang-btn:hover { border-color: var(--blue); color: var(--blue); }
.lang-btn .icon { width: 18px; height: 18px; }
.lang-btn [lang="en"] { font-family: var(--font-en); }
.lang-btn [lang="ar"] { font-family: var(--font-ar); }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
@media (max-width: 860px) {
  .site-nav {
    position: absolute; top: var(--header-h); inset-inline: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 16px 16px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(1, 24, 63, .10);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 14px; border-radius: 12px; font-size: 16px; }
  .header-tools { margin-inline-start: auto; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 380px) { .brand img { height: 28px; } .lang-btn { padding: 0 10px; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font-size: 13.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue);
}
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 14.5px; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
.section-head p { margin-top: 14px; font-size: clamp(16.5px, 1.6vw, 18.5px); color: var(--muted); }

/* ---------- Home hero: the studio banner on its own night blue ---------- */
.hero-studio { position: relative; background: var(--night); color: #dfe8ff; overflow: hidden; isolation: isolate; }
.hero-studio::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px; z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(32, 224, 248, .45), transparent);
}
.hero-art { position: relative; max-width: 1440px; margin-inline: auto; }
.hero-art img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%), linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, #000 72%, transparent 100%), linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-composite: intersect;
}
.hero-copy { position: relative; z-index: 2; margin-top: clamp(-120px, -8vw, -24px); padding-bottom: clamp(56px, 8vw, 96px); text-align: center; }
.hero-copy h1 { color: #fff; font-size: clamp(30px, 4.6vw, 52px); font-weight: 800; max-width: 900px; margin-inline: auto; }
.hero-copy h1 .grad { background: linear-gradient(90deg, #7fb2ff, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy p { color: #b9c8ec; font-size: clamp(16.5px, 1.7vw, 19.5px); max-width: 720px; margin: 18px auto 0; }
.hero-copy .btn-row { justify-content: center; margin-top: 32px; }
.hero-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 40px; padding: 0; list-style: none; color: #9fb3e0; font-size: 15px; }
.hero-stats li { display: inline-flex; align-items: center; gap: 8px; }
.hero-stats .icon { width: 18px; height: 18px; color: var(--cyan); }

/* ---------- App cards (home) ---------- */
.app-card {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: stretch;
  background: #fff; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow);
}
.app-card .body { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 18px; }
.app-id { display: flex; align-items: center; gap: 16px; }
.app-id img { width: 76px; height: 76px; border-radius: 20px; box-shadow: var(--shadow-sm); background: #fff; }
.app-id h3 { font-size: 28px; font-weight: 800; }
.app-id .sub { color: var(--muted); font-size: 15px; margin-top: 2px; }
.app-card .lead { font-size: 17.5px; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink-2); }
.chips .icon { width: 16px; height: 16px; color: var(--blue); }
.app-card .btn-row { margin-top: auto; padding-top: 6px; }
.app-card .visual {
  position: relative; overflow: hidden; min-height: 440px;
  background:
    radial-gradient(70% 60% at 80% 0%, rgba(255, 255, 255, .18), transparent 70%),
    linear-gradient(140deg, #4434e2 0%, #6a3cec 50%, #a24ee3 100%);
}
.app-card .visual::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%); mask-image: linear-gradient(to bottom, #000, transparent 70%);
}
.app-card .visual .shot { position: absolute; width: 44%; max-width: 250px; border-radius: 22px; box-shadow: 0 30px 60px rgba(24, 10, 90, .45); }
.app-card .visual .shot.front { inset-inline-end: 11%; top: 11%; transform: rotate(3deg); z-index: 1; }
.app-card .visual .shot.behind { inset-inline-start: 9%; top: 21%; transform: rotate(-6deg); }
html[dir="rtl"] .app-card .visual .shot.front { transform: rotate(-3deg); }
html[dir="rtl"] .app-card .visual .shot.behind { transform: rotate(6deg); }
@media (max-width: 900px) {
  .app-card { grid-template-columns: 1fr; }
  .app-card .visual { order: -1; min-height: 0; height: clamp(300px, 70vw, 420px); }
  .app-card .visual .shot { width: min(44%, 230px); }
}
.soon-card {
  margin-top: 20px; display: flex; align-items: center; gap: 18px; padding: 22px clamp(20px, 3vw, 32px);
  border: 1.5px dashed var(--line-2); border-radius: 22px; background: linear-gradient(180deg, #fff, var(--bg-soft));
}
.soon-card img { width: 52px; height: 52px; }
.soon-card h3 { font-size: 18.5px; font-weight: 700; }
.soon-card p { color: var(--muted); font-size: 15.5px; }

/* ---------- Value / feature cards ---------- */
.grid { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1020px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 24px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card .badge {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  color: var(--blue); background: linear-gradient(135deg, #e6efff, #dff9fd);
}
.card .badge .icon { width: 24px; height: 24px; }
.card h3 { font-size: 18.5px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15.5px; }
.app-page .card .badge { color: var(--app-a); background: linear-gradient(135deg, #efeaff, #e4f0ff); }

/* ---------- About (home) ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.about .mark-panel {
  position: relative; border-radius: 28px; padding: clamp(36px, 6vw, 72px); background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow); display: grid; place-items: center; overflow: hidden;
}
.about .mark-panel::before {
  content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(32, 224, 248, .22), transparent 65%);
}
.about .mark-panel img { position: relative; width: min(100%, 420px); }
.about h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.about p { margin-top: 16px; font-size: 17.5px; color: var(--ink-2); }
.checks { list-style: none; padding: 0; margin-top: 22px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .icon { width: 22px; height: 22px; color: var(--ok); margin-top: 3px; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-card {
  display: flex; flex-direction: column; gap: 16px; align-items: flex-start; padding: 26px 24px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
}
.contact-card .badge { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--blue), #18b6f0); flex: none; }
.contact-card h3 { font-size: 17.5px; font-weight: 700; }
.contact-card p { color: var(--muted); font-size: 15px; margin-top: 2px; }
.contact-card a.mail { display: inline-block; margin-top: 10px; font-weight: 700; font-size: 15.5px; direction: ltr; unicode-bidi: isolate; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 28px; padding: clamp(32px, 5vw, 56px);
  background: radial-gradient(120% 140% at 100% 0%, #0b4bd6 0%, var(--night-2) 45%, var(--night) 100%);
  color: #cfdcff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.cta-band::after {
  content: ""; position: absolute; inset: auto -10% -60% auto; width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(32, 224, 248, .25), transparent 60%); pointer-events: none;
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; }
.cta-band p { margin-top: 8px; max-width: 560px; }
.cta-band > * { position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding-block: 56px 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid img { height: 36px; width: auto; }
.footer-grid .about-line { margin-top: 14px; color: var(--muted); max-width: 340px; }
.footer-grid h4 { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 12px; text-transform: uppercase; letter-spacing: .06em; }
html[lang="ar"] .footer-grid h4 { letter-spacing: 0; font-size: 15px; }
.footer-grid ul { list-style: none; display: grid; gap: 8px; }
.footer-grid a { color: var(--ink-2); }
.footer-grid a:hover { color: var(--blue); }
.footer-grid .mail { direction: ltr; unicode-bidi: isolate; font-size: 14.5px; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }

/* =================================================================================================
   App page (StreamVoice)
   ================================================================================================= */
.app-page { --app-a: #5b3df5; --app-b: #2f7bff; }
.app-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(122, 76, 255, .16), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(32, 224, 248, .14), transparent 70%),
    linear-gradient(180deg, #f6f8ff, #fff);
  padding-block: clamp(40px, 6vw, 80px) clamp(56px, 8vw, 96px);
}
.app-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--muted); }
.crumbs .icon { width: 14px; height: 14px; }
.app-hero .app-id img { width: 84px; height: 84px; border-radius: 22px; }
.app-hero .app-id .name { font-size: 22px; font-weight: 800; color: var(--ink); }
.app-hero h1 { margin-top: 22px; font-size: clamp(32px, 5vw, 56px); font-weight: 800; }
.app-hero h1 .grad { background: linear-gradient(90deg, var(--app-a), var(--app-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.app-hero .lead { margin-top: 18px; font-size: clamp(17px, 1.7vw, 19.5px); color: var(--ink-2); max-width: 600px; }
.app-hero .btn-row { margin-top: 30px; }
.facts-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; padding: 0; list-style: none; color: var(--muted); font-size: 15px; }
.facts-row li { display: inline-flex; align-items: center; gap: 8px; }
.facts-row .icon { width: 18px; height: 18px; color: var(--app-a); }
.phones { position: relative; display: flex; justify-content: center; align-items: center; min-height: 560px; }
.shot-card { position: relative; width: min(300px, 70vw); border-radius: 28px; box-shadow: var(--shadow-lg); overflow: hidden; background: #5b3df5; }
.shot-card img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.shot-card.back { position: absolute; width: min(250px, 56vw); transform: translateX(-58%) rotate(-7deg); z-index: -1; }
html[dir="rtl"] .shot-card.back { transform: translateX(58%) rotate(7deg); }
.shot-card:not(.back) { transform: translateX(16%) rotate(2deg); }
html[dir="rtl"] .shot-card:not(.back) { transform: translateX(-16%) rotate(-2deg); }
.phones::before {
  content: ""; position: absolute; width: 86%; aspect-ratio: 1; border-radius: 50%; z-index: -2;
  background: radial-gradient(circle, rgba(91, 61, 245, .24), rgba(47, 123, 255, .10) 45%, transparent 70%);
}
@media (max-width: 900px) {
  .app-hero .wrap { grid-template-columns: 1fr; }
  .phones { min-height: 0; padding-block: 12px 8px; }
  .shot-card.back { display: none; }
  .shot-card:not(.back), html[dir="rtl"] .shot-card:not(.back) { transform: none; width: min(280px, 72vw); }
}

/* Gallery */
.gallery { position: relative; }
.shots {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(200px, 23%, 260px); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; padding: 6px 20px 22px; margin-inline: -20px;
  scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
}
.shots figure { margin: 0; scroll-snap-align: start; }
.shots img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: var(--bg-soft); }
.gallery-nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; }
.gallery-nav button {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line-2); background: #fff; color: var(--ink);
}
.gallery-nav button:hover { border-color: var(--app-a); color: var(--app-a); }
@media (max-width: 480px) { .shots { grid-auto-columns: 72%; } }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; list-style: none; padding: 0; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.steps li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 16px;
  font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--app-a), var(--app-b));
}
.steps h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Minutes */
.minutes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.minute-card { border-radius: var(--radius); padding: 28px 24px; background: #fff; border: 1px solid var(--line); }
.minute-card .num { font-size: 48px; font-weight: 800; line-height: 1; color: var(--ink); font-family: var(--font-en); }
.minute-card .num .icon { width: 48px; height: 48px; color: var(--app-a); stroke-width: 1.6; }
.minute-card .num small { font-size: 18px; font-weight: 700; color: var(--muted); margin-inline-start: 6px; }
.minute-card h3 { margin-top: 12px; font-size: 17.5px; font-weight: 700; }
.minute-card p { margin-top: 6px; color: var(--muted); font-size: 15px; }
.minute-card.accent { background: linear-gradient(135deg, var(--app-a), var(--app-b)); border: 0; color: #e8e6ff; }
.minute-card.accent .num, .minute-card.accent h3 { color: #fff; }
.minute-card.accent .num small, .minute-card.accent p { color: #dcd8ff; }
@media (max-width: 860px) { .minutes { grid-template-columns: 1fr; } }

/* Privacy panel */
.privacy-panel {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  border-radius: 28px; padding: clamp(28px, 5vw, 56px); color: #c7d4f5;
  background: radial-gradient(90% 120% at 0% 0%, #0d3a9e 0%, var(--night-2) 40%, var(--night) 100%);
}
.privacy-panel h2 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
.privacy-panel p { margin-top: 14px; }
.privacy-panel .btn-row { margin-top: 26px; }
.privacy-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.privacy-list li {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 16px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .10); color: #dbe5ff;
}
.privacy-list .icon { width: 22px; height: 22px; color: var(--cyan); margin-top: 3px; }
@media (max-width: 900px) { .privacy-panel { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; font-weight: 700; font-size: 17px; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 20px; height: 20px; color: var(--muted); transition: transform .2s; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .answer { padding: 0 0 20px; color: var(--ink-2); }
.faq .answer p + p { margin-top: 10px; }

/* =================================================================================================
   Privacy policy page (policy text kept as written)
   ================================================================================================= */
.policy-page { background: var(--bg-soft); }
.policy-wrap { max-width: 840px; margin-inline: auto; padding-inline: 16px; padding-block: 32px 72px; }
.policy-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.policy-bar .crumbs { margin: 0; }
.copy { font: inherit; font-weight: 600; font-size: 14px; color: var(--blue); background: var(--bg-tint); border: 0; border-radius: 999px; padding: 9px 16px; cursor: pointer; }
.copy-note { font-size: 13px; color: var(--ok); min-height: 1em; margin-inline-start: 8px; }
.policy {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm);
  padding-inline: clamp(18px, 4vw, 44px); padding-block: 34px 38px; color: var(--ink-2);
}
.policy[lang="en"] { font-family: var(--font-en); line-height: 1.75; }
.policy[lang="ar"] { font-family: var(--font-ar); line-height: 1.9; }
.policy h1 { font-size: clamp(25px, 4.5vw, 34px); margin: 0 0 8px; }
.policy .facts { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 18px 0 24px; padding: 14px 16px; border-radius: 12px; background: var(--bg-soft); font-size: 15px; }
.policy .facts dt { color: var(--muted); }
.policy .facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.policy .summary { border-inline-start: 4px solid var(--ok); background: #e5f5ed; border-radius: 10px; padding: 14px 18px; margin: 0 0 28px; }
.policy .summary strong { display: block; margin-bottom: 4px; color: var(--ink); }
.policy .summary ul { margin: 6px 0 0; padding-inline-start: 20px; }
.policy h2 { font-size: 20.5px; line-height: 1.45; margin: 34px 0 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.policy h3 { font-size: 17px; margin: 20px 0 6px; }
.policy p { margin: 0 0 12px; }
.policy p, .policy li { max-width: 70ch; }
.policy ul { padding-inline-start: 22px; margin: 0 0 12px; }
.policy li { margin-bottom: 6px; }
.policy .table { overflow-x: auto; margin: 10px 0 6px; border: 1px solid var(--line); border-radius: 12px; }
.policy table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 14.5px; line-height: 1.6; }
.policy th, .policy td { text-align: start; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.policy th { background: var(--bg-soft); font-weight: 700; color: var(--ink); }
.policy tr:last-child td { border-bottom: 0; }
.policy .mail { font-weight: 700; direction: ltr; unicode-bidi: isolate; }
.policy footer { margin-top: 30px; color: var(--muted); font-size: 14px; }

/* ---------- 404 ---------- */
.notfound { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; text-align: center; padding: 48px 16px; background: var(--bg-soft); }
.notfound .code { font-family: var(--font-en); font-size: clamp(72px, 14vw, 128px); font-weight: 800; line-height: 1; background: linear-gradient(90deg, var(--navy), var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound h1 { margin-top: 12px; font-size: clamp(24px, 4vw, 32px); }
.notfound p { margin-top: 10px; color: var(--muted); }
.notfound .btn-row { justify-content: center; margin-top: 26px; }

/* ---------- Reveal on scroll (only when JS runs) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Direction-aware glyphs */
html[dir="rtl"] .crumbs .icon,
html[dir="rtl"] .btn .icon:not(.play-mark),
html[dir="rtl"] .gallery-nav .icon { transform: scaleX(-1); }
