/* ==========================================================================
   Diverse Agency — Saudi Arabia & GCC
   Design system. Brand tokens extracted from godiverse.agency (app.css :root).
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Refoke"; src: url("../fonts/Refoke-Black.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-400.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-500.woff2") format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url("../fonts/ibm-plex-sans-arabic-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Plex Arabic"; src: url("../fonts/ibm-plex-sans-arabic-500.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Plex Arabic"; src: url("../fonts/ibm-plex-sans-arabic-600.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Plex Arabic"; src: url("../fonts/ibm-plex-sans-arabic-700.woff2") format("woff2"); font-weight: 700 900; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }

/* ---------- Tokens ---------- */
:root {
    /* Brand palette — godiverse.agency */
    --dc-purple: #6721df;
    --dc-purple-bright: #7b2cf0;
    --dc-purple-dark: #261735;
    --dc-purple-black: #140d1d;
    --dc-lime: #c5f43d;
    --dc-lime-dark: #b2e02c;
    --dc-white: #ffffff;
    --dc-off-white: #f7f6f9;
    --dc-light: #ece9f1;
    --dc-charcoal: #19151f;
    --dc-muted: #696370;
    --dc-mark-purple: #5313cb;
    --dc-mark-lime: #c9ed2d;

    /* Semantic */
    --bg-dark: var(--dc-purple-black);
    --bg-dark-2: var(--dc-purple-dark);
    --bg-paper: var(--dc-off-white);
    --bg-paper-2: var(--dc-light);
    --ink: var(--dc-charcoal);
    --ink-2: rgba(25, 21, 31, 0.78);
    --ink-3: var(--dc-muted);
    --on-dark: #ffffff;
    --on-dark-2: rgba(255, 255, 255, 0.78);
    --on-dark-3: rgba(255, 255, 255, 0.5);
    --line-dark: rgba(255, 255, 255, 0.1);
    --line-dark-2: rgba(255, 255, 255, 0.25);
    --line-ink: rgba(103, 33, 223, 0.12);
    --line-ink-2: rgba(103, 33, 223, 0.25);
    --accent: var(--dc-lime);
    --accent-2: var(--dc-purple);
    --gradient-primary: linear-gradient(135deg, var(--dc-purple-black), var(--dc-purple-dark) 55%, var(--dc-purple));
    --gradient-signal: linear-gradient(90deg, var(--dc-purple-bright), var(--dc-lime));

    /* Contextual (overridden inside dark sections) */
    --fg: var(--ink);
    --fg-2: var(--ink-2);
    --fg-3: var(--ink-3);
    --line: var(--line-ink);
    --line-2: var(--line-ink-2);
    --surface: #ffffff;
    --surface-2: var(--bg-paper);

    /* Type */
    --font-heading: "Refoke", "Manrope", "Segoe UI", system-ui, sans-serif;
    --font-title: "Manrope", "DM Sans", "Segoe UI", system-ui, sans-serif;
    --font-body: "DM Sans", "Segoe UI", system-ui, sans-serif;
    --font-mono: "IBM Plex Mono", Consolas, ui-monospace, monospace;
    --font-ar: "Plex Arabic", "DM Sans", "Segoe UI", Tahoma, sans-serif;

    --fs-mono: 0.75rem;
    --fs-small: 0.875rem;
    --fs-body: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
    --fs-lead: clamp(1.0625rem, 0.98rem + 0.4vw, 1.25rem);
    --fs-h3: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem);
    --fs-h2: clamp(1.7rem, 1.25rem + 1.5vw, 2.6rem);
    --fs-h1: clamp(2rem, 1.25rem + 2.2vw, 3.25rem);

    /* Space, radius, motion */
    --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 4rem; --s9: 6rem;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 18px;
    --radius-xl: 28px;
    --radius-pill: 999px;
    --shadow-card: 0 1px 2px rgba(20, 13, 29, 0.04), 0 18px 40px -24px rgba(20, 13, 29, 0.25);
    --shadow-lift: 0 2px 4px rgba(20, 13, 29, 0.05), 0 30px 60px -30px rgba(38, 23, 53, 0.45);
    --shadow-lime: 0 10px 30px -10px rgba(197, 244, 61, 0.45);
    --shadow-lime-hover: 0 16px 40px -10px rgba(197, 244, 61, 0.6);
    --ease-out: cubic-bezier(0.21, 0.65, 0.36, 1);
    --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --dur: 0.5s;

    --gutter: clamp(16px, 4vw, 56px);
    --container: 1280px;
    --header-h: 76px;
    --section-pad: clamp(64px, 8vw, 120px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); overflow-x: clip; background: var(--bg-dark); }
body { margin: 0; min-height: 100vh; background: var(--bg-paper); color: var(--fg); font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-wrap: break-word; overflow-x: clip; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--dc-lime); outline-offset: 3px; border-radius: 4px; }
.section--paper :focus-visible, .section--white :focus-visible, .form :focus-visible { outline-color: var(--dc-purple); }
main:focus { outline: none; }
::selection { background: var(--dc-lime); color: var(--dc-purple-black); }
[hidden] { display: none !important; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; inset-inline-start: 16px; top: -100px; z-index: 200; background: var(--dc-lime); color: var(--dc-purple-black); padding: 10px 16px; border-radius: var(--radius-pill); font-weight: 700; transition: top 0.2s; }
.skip:focus { top: 12px; }

.ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
[dir="rtl"] .ico-dir, [dir="rtl"] .btn__arrow { transform: scaleX(-1); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-pad); position: relative; }
.section--paper { background: var(--bg-paper); }
.section--paper-2 { background: var(--bg-paper-2); }
.section--white { background: #fff; }
.section--dark, .phero, .hero, .ftr, .cta__panel, .hdr {
    --fg: var(--on-dark); --fg-2: var(--on-dark-2); --fg-3: var(--on-dark-3);
    --line: var(--line-dark); --line-2: var(--line-dark-2);
    --surface: rgba(255, 255, 255, 0.04); --surface-2: rgba(255, 255, 255, 0.06);
    color: var(--fg);
}
.section--dark { background: var(--bg-dark); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

/* ---------- Typography ---------- */
.h1 { font-family: var(--font-heading); font-weight: 900; text-transform: uppercase; letter-spacing: -0.005em; line-height: 1.05; color: var(--fg); font-size: var(--fs-h1); }
.h2 { font-family: var(--font-title); font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; color: var(--fg); font-size: var(--fs-h2); }
.h3 { font-family: var(--font-title); font-weight: 800; font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.015em; color: var(--fg); }
.lead { font-size: var(--fs-lead); color: var(--fg-2); line-height: 1.6; }
.lead > * + * { margin-top: 0.5em; }
.mono { font-family: var(--font-mono); font-size: var(--fs-mono); text-transform: uppercase; letter-spacing: 0.2em; font-weight: 500; }
.hl { font-style: normal; color: inherit; }
.hero .hl { color: var(--dc-lime); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; color: var(--dc-purple); margin-bottom: var(--s4); }
.section--dark .eyebrow, .hero .eyebrow, .phero .eyebrow, .cta .eyebrow, .mv__card--dark .eyebrow { color: var(--dc-lime); }
.eyebrow .ico { color: currentColor; width: 15px; height: 15px; }
.section--dark .eyebrow .ico, .hero .eyebrow .ico, .phero .eyebrow .ico, .cta .eyebrow .ico { color: var(--dc-lime); }
.eyebrow__n { color: var(--dc-purple); }
.section--dark .eyebrow__n { color: var(--dc-lime); }
.note { color: var(--fg-3); margin-top: var(--s5); font-size: 0.82rem; letter-spacing: 0; line-height: 1.6; text-transform: none; font-family: var(--font-body); font-weight: 400; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-family: var(--font-title); font-size: 1.35rem; font-weight: 800; margin-top: 2em; }
.prose ul { list-style: disc; padding-inline-start: 1.2em; }
.prose li + li { margin-top: 0.35em; }
.prose a { color: var(--dc-purple); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Bilingual display (EN + AR mode) ----------
   English is the primary line; Arabic follows directly beneath in IBM Plex Sans Arabic. */
html[data-mode="bi"] body { text-align: left; }
.tx-en, .tx-ar { display: block; }
.tx-ar { font-family: var(--font-ar); text-transform: none; letter-spacing: 0; font-style: normal; }
html[data-mode="bi"] .tx-ar { unicode-bidi: plaintext; }
.h1 .tx-ar { font-size: 0.62em; font-weight: 700; line-height: 1.5; margin-top: 0.4em; color: var(--fg-2); }
.h2 .tx-ar { font-size: 0.72em; font-weight: 700; line-height: 1.55; margin-top: 0.3em; color: var(--fg-2); letter-spacing: 0; }
.h3 .tx-ar { font-size: 0.82em; font-weight: 600; line-height: 1.55; margin-top: 0.25em; color: var(--fg-2); }
p.tx-ar, li.tx-ar, strong.tx-ar { font-size: 0.98em; line-height: 1.85; color: var(--fg-3); margin-top: 0.3em; }
.lead p.tx-ar { color: var(--fg-2); opacity: 0.9; }
.mono .tx-ar, .eyebrow .tx-ar { font-size: 1.15em; letter-spacing: 0; font-weight: 500; margin-top: 0.2em; }
.eyebrow { align-items: flex-start; }
.eyebrow > span:not(.eyebrow__n) { display: block; }

/* Inline bilingual pairs (badges, small links) */
.work-card__badge .tx-en, .work-card__more .tx-en, .pkg__badge .tx-en, .opt .tx-en, .cta__link .tx-en, .ftr__lang .tx-en, .inl .tx-en, .inl .tx-ar { display: inline; }
.inl .tx-ar { margin-left: 0.4em; }

/* ---------- Arabic-only mode (RTL) ---------- */
html[lang="ar"] body { font-family: var(--font-ar); line-height: 1.85; }
html[lang="ar"] .h1, html[lang="ar"] .h2 { font-family: var(--font-ar); font-weight: 700; text-transform: none; letter-spacing: 0; line-height: 1.3; }
html[lang="ar"] .h1 { font-size: clamp(1.9rem, 1.2rem + 2vw, 3rem); line-height: 1.4; }
html[lang="ar"] .h2 { font-size: clamp(1.6rem, 1.15rem + 1.4vw, 2.4rem); line-height: 1.4; }
html[lang="ar"] .h3 { font-family: var(--font-ar); font-weight: 700; letter-spacing: 0; line-height: 1.5; }
html[lang="ar"] .mono, html[lang="ar"] .eyebrow { font-family: var(--font-ar); letter-spacing: 0; text-transform: none; font-size: 0.88rem; }
html[lang="ar"] .btn, html[lang="ar"] .nav__link, html[lang="ar"] .chip { font-family: var(--font-ar); letter-spacing: 0; }
html[lang="ar"] .lead { line-height: 1.9; }
.num, [dir="ltr"] { unicode-bidi: isolate; }

/* ---------- Buttons ---------- */
.btn { --btn-bg: transparent; --btn-fg: var(--fg); --btn-border: var(--line-2); --well-bg: transparent; --well-fg: currentColor; --well-border: var(--line-2);
    position: relative; display: inline-flex; align-items: center; gap: 14px; min-height: 54px; padding-block: 6px; padding-inline: 24px 6px;
    border-radius: var(--radius-pill); border: 1px solid var(--btn-border); background: var(--btn-bg); color: var(--btn-fg);
    font-family: var(--font-body); font-size: 0.95rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; text-align: start;
    transition: background-color 0.4s var(--ease-out), border-color 0.4s var(--ease-out), color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out); max-width: 100%; }
.btn__label { display: block; }
.btn .tx-ar { font-size: 0.82em; font-weight: 500; opacity: 0.85; margin-top: 1px; }
.btn__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--well-border); background: var(--well-bg); color: var(--well-fg); flex-shrink: 0; overflow: hidden; transition: background-color 0.4s var(--ease-out), color 0.4s var(--ease-out); }
.btn__icon .ico { width: 18px; height: 18px; transition: transform 0.5s var(--ease-expo); }
.btn:hover { transform: translateY(-1px); }
.btn:hover .btn__arrow { transform: translateX(3px); }
[dir="rtl"] .btn:hover .btn__arrow { transform: scaleX(-1) translateX(3px); }
.btn--primary { --btn-bg: var(--dc-lime); --btn-fg: var(--dc-purple-black); --btn-border: var(--dc-lime); --well-bg: var(--dc-purple-black); --well-fg: var(--dc-lime); --well-border: var(--dc-purple-black); box-shadow: var(--shadow-lime); }
.btn--primary:hover { --btn-bg: var(--dc-lime-dark); --btn-border: var(--dc-lime-dark); box-shadow: var(--shadow-lime-hover); }
.btn--ghost:hover { --btn-border: var(--dc-lime); --btn-fg: var(--dc-lime); --well-bg: var(--dc-lime); --well-border: var(--dc-lime); --well-fg: var(--dc-purple-black); }
.section--paper .btn--ghost:hover, .section--white .btn--ghost:hover, .section--paper-2 .btn--ghost:hover { --btn-border: var(--dc-purple); --btn-fg: var(--dc-purple); --well-bg: var(--dc-purple); --well-border: var(--dc-purple); --well-fg: #fff; }
.btn--dark { --btn-bg: var(--dc-purple-black); --btn-fg: #fff; --btn-border: var(--dc-purple-black); --well-bg: var(--dc-lime); --well-fg: var(--dc-purple-black); --well-border: var(--dc-lime); }
.btn--dark:hover { --btn-bg: var(--dc-purple-dark); }
.btn--sm { min-height: 44px; padding-inline: 18px 4px; font-size: 0.85rem; gap: 10px; }
.btn--sm .btn__icon { width: 34px; height: 34px; }
.btn--block { width: 100%; justify-content: space-between; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s6); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--dc-purple); }
.link-arrow .ico { width: 18px; height: 18px; transition: transform 0.3s var(--ease-out); }
.link-arrow:hover .ico { transform: translateX(4px); }
[dir="rtl"] .link-arrow:hover .ico { transform: scaleX(-1) translateX(4px); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); direction: ltr; }
.logo__mark { width: 34px; height: auto; }
.mark-d { fill: var(--dc-mark-purple); }
.hdr .mark-d, .ftr .mark-d { fill: #fff; }
.mark-wedge { fill: var(--dc-mark-lime); }
.logo__type { display: grid; line-height: 1; font-family: var(--font-title); text-transform: uppercase; }
.logo__word { font-size: 17px; font-weight: 800; letter-spacing: 0.17em; margin-right: -0.17em; }
.logo__sub { margin-top: 3px; font-size: 11.5px; font-weight: 500; letter-spacing: 0.76em; margin-right: -0.76em; }
.logo--lg .logo__mark { width: 42px; }
.logo--lg .logo__word { font-size: 20px; }
.logo--lg .logo__sub { font-size: 13.5px; }

/* ---------- Header ---------- */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), backdrop-filter 0.4s; }
.hdr.is-solid, .hdr.is-menu { background: rgba(20, 13, 29, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 12px 40px -16px rgba(20, 13, 29, 0.9); }
.hdr.is-menu { background: var(--bg-dark); backdrop-filter: none; -webkit-backdrop-filter: none; }
.hdr__bar { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.hdr__logo { flex-shrink: 0; }
.hdr__nav { display: none; margin-inline: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav > li { position: relative; display: flex; align-items: center; }
.nav__link { display: block; padding: 10px 11px; font-size: 0.875rem; font-weight: 500; color: var(--on-dark-2); border-radius: var(--radius-sm); transition: color 0.25s; line-height: 1.2; }
.nav__link .tx-ar { font-size: 0.8em; color: var(--on-dark-3); margin-top: 2px; }
.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__link.is-active { box-shadow: inset 0 -2px 0 var(--dc-lime); }
.nav__toggle { display: grid; place-items: center; width: 24px; height: 28px; margin-inline-start: -6px; color: var(--on-dark-3); border-radius: 4px; }
.nav__toggle .ico { width: 15px; height: 15px; transition: transform 0.3s var(--ease-out); }
.nav__drop.is-open .nav__toggle .ico { transform: rotate(180deg); }

.dd { position: absolute; top: calc(100% + 10px); inset-inline-start: -16px; width: min(640px, 80vw); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.25s var(--ease-out), transform 0.35s var(--ease-expo), visibility 0.25s; z-index: 10; }
.dd::before { content: ""; position: absolute; inset: -12px 0 auto 0; height: 12px; }
.dd--narrow { width: 340px; }
.nav__drop.is-open .dd { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (pointer: fine) { .nav__drop:hover .dd { opacity: 1; visibility: visible; transform: none; } }
.dd__inner { background: #1c1427; border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: 18px; box-shadow: 0 40px 80px -40px rgba(10, 6, 16, 0.9); }
.dd__label { color: var(--on-dark-3); margin: 4px 8px 12px; }
.dd__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.dd__list { display: grid; gap: 2px; }
.dd__item { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: var(--radius-md); transition: background-color 0.2s; }
.dd__item--row { align-items: center; }
.dd__item:hover { background: rgba(255, 255, 255, 0.06); }
.dd__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(103, 33, 223, 0.25); color: var(--dc-lime); flex-shrink: 0; }
.dd__icon .ico { width: 20px; height: 20px; }
.dd__title { display: block; font-weight: 700; font-size: 0.92rem; color: #fff; line-height: 1.3; }
.dd__title .tx-ar { font-weight: 500; font-size: 0.85em; color: var(--on-dark-2); }
.dd__desc { display: block; font-size: 0.8rem; color: var(--on-dark-3); line-height: 1.45; margin-top: 4px; }
.dd__more { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding: 12px; border-top: 1px solid var(--line-dark); color: var(--dc-lime); font-weight: 700; font-size: 0.875rem; }
.dd__more .tx-ar { font-weight: 500; font-size: 0.9em; }
.dd__more .ico { width: 18px; height: 18px; }

.hdr__tools { display: flex; align-items: center; gap: 12px; margin-inline-start: auto; }
.hdr__cta { display: none; }
.hdr__burger { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-dark-2); }
.hdr__burger-lines { display: grid; gap: 6px; width: 18px; }
.hdr__burger-lines span { display: block; height: 1.6px; background: #fff; border-radius: 2px; transition: transform 0.35s var(--ease-expo); }
.hdr.is-menu .hdr__burger-lines span:first-child { transform: translateY(3.8px) rotate(45deg); }
.hdr.is-menu .hdr__burger-lines span:last-child { transform: translateY(-3.8px) rotate(-45deg); }

.lang { display: inline-flex; align-items: center; padding: 3px; border: 1px solid var(--line-2); border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.03); }
.lang__opt { display: grid; place-items: center; min-height: 32px; padding: 0 11px; border-radius: var(--radius-pill); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; font-weight: 500; color: var(--fg-2); white-space: nowrap; transition: background-color 0.25s, color 0.25s; }
.lang__opt[lang="ar"] { font-family: var(--font-ar); font-size: 0.85rem; letter-spacing: 0; }
.lang__opt:hover { color: var(--fg); }
.lang__opt.is-active { background: var(--dc-lime); color: var(--dc-purple-black); }
.lang--hdr { display: none; }

.mnav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--bg-dark); overflow-y: auto; overscroll-behavior: contain; animation: mnavIn 0.35s var(--ease-expo); }
@keyframes mnavIn { from { opacity: 0; transform: translateY(-8px); } }
.mnav__inner { padding-block: 20px 40px; display: grid; gap: 20px; }
.mnav__list { border-top: 1px solid var(--line-dark); }
.mnav__list > li { border-bottom: 1px solid var(--line-dark); }
.mnav__link { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 2px; font-family: var(--font-title); font-weight: 700; font-size: 1.15rem; color: #fff; text-align: start; }
a.mnav__link { display: block; }
.mnav__link .tx-ar { font-size: 0.8em; font-weight: 500; color: var(--on-dark-2); }
.mnav__acc .ico { transition: transform 0.3s; color: var(--dc-lime); }
.mnav__acc[aria-expanded="true"] .ico { transform: rotate(45deg); }
.mnav__sub { padding: 0 0 14px; display: grid; gap: 2px; }
.mnav__sub a { display: block; padding: 10px 14px; border-radius: var(--radius-md); color: var(--on-dark-2); font-size: 0.95rem; }
.mnav__sub a:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }
.mnav__sub .tx-ar { font-size: 0.85em; color: var(--on-dark-3); }
.mnav__cta { justify-content: space-between; }
.mnav__contact { color: var(--on-dark-3); font-size: 0.9rem; }
.lang--mnav { justify-self: start; }

@media (min-width: 720px) { .lang--hdr { display: inline-flex; } .lang--mnav { display: none; } }
@media (min-width: 900px) { .hdr__cta { display: inline-flex; } .mnav__cta { display: none; } }
@media (min-width: 1240px) {
    .hdr__nav { display: block; }
    .hdr__burger { display: none; }
    .mnav { display: none !important; }
    .hdr__tools { margin-inline-start: 0; }
}
@media (min-width: 1240px) and (max-width: 1380px) { .hdr__cta .btn__icon { display: none; } .hdr__cta { padding-inline: 16px; } .nav__link { padding-inline: 8px; } }
html[data-mode="bi"] .hdr__cta .tx-ar { font-size: 0.78em; }

/* ---------- Home hero ---------- */
.hero { background: var(--bg-dark); padding-top: calc(var(--header-h) + clamp(32px, 5vw, 64px)); padding-bottom: clamp(48px, 6vw, 88px); }
.hero__grid { display: grid; gap: clamp(32px, 4vw, 56px); align-items: center; }
.hero__title { max-width: none; }
.hero__lead { max-width: 56ch; margin-top: var(--s5); }
.hero__meta { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--line-dark); }
.hero__meta li { display: flex; align-items: baseline; gap: 10px; color: var(--on-dark-2); font-size: 0.9rem; }
.hero__meta strong { font-family: var(--font-title); font-weight: 800; font-size: 1.4rem; color: #fff; line-height: 1; }
.hero__meta .tx-ar { font-size: 0.9em; color: var(--on-dark-3); }
.hero__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-dark-2); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__caption { position: absolute; inset-inline-start: 14px; bottom: 14px; display: inline-flex; align-items: flex-start; gap: 6px; padding: 7px 12px; border-radius: var(--radius-pill); background: rgba(20, 13, 29, 0.72); color: #fff; font-size: 0.78rem; line-height: 1.35; }
.hero__caption .ico { width: 14px; height: 14px; color: var(--dc-lime); margin-top: 2px; }
.hero__caption .tx-ar { font-size: 0.95em; color: var(--on-dark-2); }
@media (min-width: 1024px) {
    .hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: stretch; }
    .hero__media { aspect-ratio: auto; min-height: 420px; height: 100%; }
}

/* ---------- Inner page hero ---------- */
.phero { background: var(--bg-dark); padding-top: calc(var(--header-h) + clamp(28px, 4vw, 56px)); padding-bottom: clamp(44px, 5vw, 72px); }
.phero__grid { display: grid; gap: 36px; align-items: center; }
.phero__title { max-width: 22ch; }
html[lang="ar"] .phero__title { max-width: 24ch; }
.phero__lead { max-width: 60ch; margin-top: var(--s5); }
.phero__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) { .phero__grid--img { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); } }
.crumbs { margin-bottom: var(--s6); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-3); }
.crumbs li { display: flex; align-items: flex-start; gap: 10px; }
.crumbs li + li::before { content: "/"; color: var(--on-dark-3); }
.crumbs a:hover { color: var(--dc-lime); }
.crumbs [aria-current] { color: var(--on-dark-2); }
.crumbs .tx-ar { letter-spacing: 0; font-family: var(--font-ar); font-size: 1.1em; text-transform: none; }
html[lang="ar"] .crumbs ol { font-family: var(--font-ar); letter-spacing: 0; font-size: 0.85rem; }

/* ---------- Section heads ---------- */
.shead { display: grid; gap: var(--s4); margin-bottom: clamp(32px, 4vw, 52px); max-width: 760px; }
.shead__main { max-width: 680px; }
.shead__lead { max-width: 62ch; }
.shead--center { text-align: center; margin-inline: auto; justify-items: center; }
.shead--center .eyebrow { justify-content: center; }
/* ---------- Tags / chips ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 5px 11px; border-radius: var(--radius-pill); border: 1px solid var(--line-2); font-size: 0.78rem; font-weight: 500; color: var(--fg-2); line-height: 1.3; }
.tags .tx-ar { font-size: 0.95em; color: var(--fg-3); margin-top: 1px; }
.tags--sm li { font-size: 0.72rem; padding: 4px 9px; }
.chip { padding: 9px 16px; border-radius: var(--radius-pill); border: 1px solid var(--line-2); font-size: 0.85rem; font-weight: 600; color: var(--fg-2); line-height: 1.25; transition: all 0.25s var(--ease-out); text-align: center; }
.chip .tx-ar { font-weight: 500; font-size: 0.88em; opacity: 0.85; }
.chip:hover { border-color: var(--dc-purple); color: var(--dc-purple); }
.chip.is-active { background: var(--dc-purple-black); border-color: var(--dc-purple-black); color: #fff; }
.section--dark .chip:hover { border-color: var(--dc-lime); color: var(--dc-lime); }
.section--dark .chip.is-active { background: var(--dc-lime); border-color: var(--dc-lime); color: var(--dc-purple-black); }

/* ---------- Tech strip ---------- */
.tech { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.tech__item { padding: 10px 18px; border-radius: var(--radius-pill); border: 1px solid var(--line-2); font-family: var(--font-title); font-weight: 700; font-size: 0.95rem; color: var(--fg-2); background: transparent; }
.section--dark .tech__item { border-color: var(--line-dark-2); }
.tech-band { display: grid; gap: 28px; }
@media (min-width: 1024px) { .tech-band { grid-template-columns: 0.32fr 0.68fr; align-items: center; gap: 56px; } .tech-band .tech { grid-template-columns: repeat(3, 1fr); } }
.tech-band__title { font-family: var(--font-title); font-weight: 800; font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); line-height: 1.2; letter-spacing: -0.015em; }
.tech-band__title .tx-ar { font-size: 0.75em; font-weight: 600; color: var(--fg-2); margin-top: 6px; }
html[lang="ar"] .tech-band__title { font-family: var(--font-ar); }
.tech-band__text { color: var(--fg-2); margin-top: 12px; font-size: 0.95rem; }

/* ---------- Service cards ---------- */
.svc-grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .svc-grid { grid-template-columns: repeat(4, 1fr); } }
.svc-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: box-shadow 0.35s var(--ease-out), border-color 0.3s; }
.svc-card:hover { box-shadow: var(--shadow-card); border-color: var(--line-2); }
.svc-card__link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.svc-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-paper-2); }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.svc-card:hover .svc-card__media img { transform: scale(1.03); }
.svc-card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; flex: 1; }
.svc-card__num { font-size: 0.8rem; font-weight: 700; color: var(--dc-purple); }
.svc-card__title { font-size: 1.2rem; }
.svc-card__text { color: var(--fg-2); font-size: 0.93rem; }
.svc-card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 0.9rem; color: var(--dc-purple); }
.svc-card__more .tx-en, .svc-card__more .tx-ar { display: inline; }
.svc-card__more .tx-ar { font-weight: 500; font-size: 0.9em; margin-left: 6px; }
.svc-card__more .ico { width: 18px; height: 18px; }

/* ---------- Generic cards & grids ---------- */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 16px; }
@media (min-width: 720px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { position: relative; padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); transition: border-color 0.3s, transform 0.5s var(--ease-expo), box-shadow 0.5s var(--ease-expo); }
.section--paper .card, .section--paper-2 .card { background: #fff; }
.section--white .card { background: var(--bg-paper); }
.card:hover { border-color: var(--line-2); }
.card--lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.card__num { display: block; color: var(--fg-3); margin-bottom: 18px; }
.card__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(103, 33, 223, 0.08); color: var(--dc-purple); margin-bottom: 20px; }
.section--dark .card__icon { background: rgba(197, 244, 61, 0.1); color: var(--dc-lime); }
.card__icon .ico { width: 23px; height: 23px; }
.card .h3 { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); }
.card__text { color: var(--fg-2); font-size: 0.95rem; margin-top: 10px; }
.card__list { margin-top: 16px; display: grid; gap: 8px; }
.card__list li { display: flex; gap: 10px; font-size: 0.92rem; color: var(--fg-2); }
.card__list .ico { color: var(--dc-purple); width: 18px; height: 18px; margin-top: 3px; }
.section--dark .card__list .ico { color: var(--dc-lime); }

/* Editorial "why" grid */
.why { display: grid; border-top: 1px solid var(--line); }
.why__item { display: grid; gap: 14px; padding: 28px 4px; border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .why { grid-template-columns: 1fr 1fr; } .why__item { padding: 32px; border-inline-end: 1px solid var(--line); } .why__item:nth-child(2n) { border-inline-end: 0; } }
@media (min-width: 1024px) { .why { grid-template-columns: repeat(3, 1fr); } .why__item:nth-child(2n) { border-inline-end: 1px solid var(--line); } .why__item:nth-child(3n) { border-inline-end: 0; } }
.why__head { display: flex; align-items: center; justify-content: space-between; }
.why__icon { color: var(--dc-lime); }
.why__icon .ico { width: 28px; height: 28px; }
.why__text { color: var(--fg-2); font-size: 0.95rem; }

/* ---------- Portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.work__grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .work__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .work__grid { grid-template-columns: repeat(3, 1fr); } }
.work-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform 0.5s var(--ease-expo), box-shadow 0.5s var(--ease-expo), opacity 0.35s; }
.section--dark .work-card { background: rgba(255, 255, 255, 0.04); }
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.work-card.is-hidden { display: none; }
.work-card__media { position: relative; display: block; aspect-ratio: 16 / 11; overflow: hidden; background: var(--bg-paper-2); }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-expo), filter 0.6s; }
.work-card:hover .work-card__media img { transform: scale(1.05); }
.work-card__badge { position: absolute; top: 14px; inset-inline-start: 14px; padding: 6px 10px; border-radius: var(--radius-pill); background: rgba(20, 13, 29, 0.78); color: #fff; backdrop-filter: blur(6px); font-size: 0.62rem; letter-spacing: 0.16em; }
.work-card__badge .tx-ar { display: inline; margin-left: 6px; font-size: 1.1em; }
.work-card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; flex: 1; }
.work-card__meta { color: var(--fg-3); font-size: 0.66rem; }
.work-card__title { font-size: 1.15rem; }
.work-card__title a:hover { color: var(--dc-purple); }
.section--dark .work-card__title a:hover { color: var(--dc-lime); }
.work-card__text { color: var(--fg-2); font-size: 0.92rem; }
.work-card .tags { margin-top: auto; padding-top: 6px; }
.work-card__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.85rem; color: var(--dc-purple); }
.section--dark .work-card__more { color: var(--dc-lime); }
.work-card__more .tx-ar { display: inline; margin-left: 4px; font-weight: 500; }
.work-card__more .ico { width: 16px; height: 16px; }
.work__empty { padding: 40px; text-align: center; color: var(--fg-3); }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; gap: 0; counter-reset: step; }
.timeline__track { position: absolute; inset-inline-start: 23px; top: 24px; bottom: 24px; width: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.timeline__fill { position: absolute; inset: 0; background: var(--dc-purple); transform-origin: top; transform: scaleY(var(--progress, 0)); transition: transform 0.2s linear; }
.timeline__step { position: relative; padding-inline-start: 76px; padding-bottom: 40px; }
.timeline__step:last-of-type { padding-bottom: 0; }
.timeline__dot { position: absolute; inset-inline-start: 0; top: 0; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--dc-purple-black); color: var(--dc-lime); border: 1px solid var(--line-2); font-size: 0.8rem; letter-spacing: 0.06em; z-index: 1; transition: background-color 0.4s, color 0.4s; }
.section--dark .timeline__dot { background: #1c1427; }
.timeline__step.is-in .timeline__dot { background: var(--dc-lime); color: var(--dc-purple-black); border-color: var(--dc-lime); }
.timeline__title { margin-top: 10px; }
.timeline__text { color: var(--fg-2); font-size: 0.95rem; margin-top: 10px; max-width: 46ch; }
@media (min-width: 1024px) {
    .timeline { grid-template-columns: repeat(4, 1fr); gap: 32px; }
    .timeline__track { inset-inline: 24px 24px; top: 23px; bottom: auto; width: auto; height: 2px; }
    .timeline__fill { transform-origin: left; transform: scaleX(var(--progress, 0)); }
    [dir="rtl"] .timeline__fill { transform-origin: right; }
    .timeline__step { padding: 72px 0 0; }
    .timeline__title { margin-top: 0; }
}

/* ---------- GCC ---------- */
.gcc { display: grid; gap: 16px; }
@media (min-width: 1024px) { .gcc { grid-template-columns: 1.1fr 0.9fr; } }
.gcc__ksa { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-xl); background: var(--gradient-primary); color: #fff; display: flex; flex-direction: column; gap: 20px; min-height: 360px; isolation: isolate; --fg: #fff; --fg-2: var(--on-dark-2); --fg-3: var(--on-dark-3); --line: var(--line-dark); --line-2: var(--line-dark-2); }
.gcc__ksa::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 13, 29, 0.55), rgba(20, 13, 29, 0.88)), var(--img, none) center / cover no-repeat; }
.gcc__flag { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border-radius: var(--radius-pill); background: rgba(197, 244, 61, 0.14); color: var(--dc-lime); align-self: flex-start; }
[dir="rtl"] .gcc__flag { padding: 6px 6px 6px 12px; }
.gcc__code { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--dc-lime); color: var(--dc-purple-black); font: 600 0.7rem/1 var(--font-mono); }
.gcc__cities { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.gcc__cities li { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--radius-pill); border: 1px solid var(--line-dark-2); font-weight: 600; font-size: 0.92rem; }
.gcc__cities .ico { color: var(--dc-lime); width: 16px; height: 16px; }
.gcc__cities .tx-en { display: inline; }
.gcc__cities .tx-ar { display: inline; margin-left: 6px; font-weight: 500; color: var(--on-dark-2); }
.gcc__list { display: grid; gap: 10px; }
@media (min-width: 560px) { .gcc__list { grid-template-columns: 1fr 1fr; } }
.gcc__item { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.gcc__item .gcc__code { background: var(--dc-purple-black); color: var(--dc-lime); flex-shrink: 0; width: 36px; height: 36px; }
.gcc__item h3 { font-family: var(--font-title); font-weight: 800; font-size: 1rem; }
html[lang="ar"] .gcc__item h3 { font-family: var(--font-ar); }
.gcc__item h3 .tx-ar { font-weight: 600; font-size: 0.9em; color: var(--fg-2); }
.gcc__item p { color: var(--fg-2); font-size: 0.86rem; margin-top: 4px; }

/* ---------- Stats / facts ---------- */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact { padding: 24px; background: var(--bg-paper); }
.section--dark .fact { background: var(--bg-dark); }
.section--white .fact { background: #fff; }
.fact__n { font-family: var(--font-heading); font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.6rem); line-height: 1; color: var(--dc-purple); }
.section--dark .fact__n { color: var(--dc-lime); }
.fact__l { margin-top: 10px; color: var(--fg-2); font-size: 0.9rem; }

/* ---------- Split / media ---------- */
.split { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; } .split--rev > :first-child { order: 2; } }
.media { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 5 / 4; background: var(--bg-paper-2); position: relative; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media__tag { position: absolute; inset-inline-start: 16px; bottom: 16px; padding: 8px 14px; border-radius: var(--radius-pill); background: rgba(20, 13, 29, 0.8); color: #fff; backdrop-filter: blur(6px); font-size: 0.65rem; }
.checklist { display: grid; gap: 12px; margin-top: var(--s6); }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .ico { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--dc-lime); color: var(--dc-purple-black); stroke-width: 2.4; margin-top: 2px; }
.checklist .tx-ar { color: var(--fg-3); font-size: 0.95em; }

/* ---------- Sub navigation (service pages) ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(247, 246, 249, 0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 8px 14px; border-radius: var(--radius-pill); font-size: 0.85rem; font-weight: 600; color: var(--fg-2); white-space: nowrap; line-height: 1.25; }
.subnav a .tx-ar { font-weight: 500; font-size: 0.88em; color: var(--fg-3); }
.subnav a:hover, .subnav a.is-active { background: var(--dc-purple-black); color: #fff; }
.subnav a.is-active .tx-ar, .subnav a:hover .tx-ar { color: var(--on-dark-2); }

/* ---------- Packages ---------- */
.pkg-grid { display: grid; gap: 16px; align-items: stretch; }
@media (min-width: 720px) { .pkg-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .pkg-grid--3 { grid-template-columns: repeat(3, 1fr); } .pkg-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.pkg { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 30px 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.pkg--featured { background: var(--bg-dark); border-color: transparent; --fg: #fff; --fg-2: var(--on-dark-2); --fg-3: var(--on-dark-3); --line: var(--line-dark); --line-2: var(--line-dark-2); color: #fff; box-shadow: var(--shadow-lift); }
.pkg__badge { position: absolute; top: -12px; inset-inline-end: 22px; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--dc-lime); color: var(--dc-purple-black); font-size: 0.62rem; }
.pkg__badge .tx-ar { display: inline; margin-left: 6px; }
.pkg__name { font-family: var(--font-heading); font-size: 1.8rem; text-transform: uppercase; line-height: 1; }
html[lang="ar"] .pkg__name { font-family: var(--font-ar); font-weight: 700; text-transform: none; }
.pkg__name .tx-ar { font-size: 0.55em; font-weight: 700; color: var(--fg-2); margin-top: 6px; }
.pkg__tag { color: var(--fg-2); font-size: 0.92rem; }
.pkg__price { padding-block: 18px; border-block: 1px solid var(--line); }
.pkg__price-v { font-family: var(--font-title); font-weight: 800; font-size: 1.25rem; line-height: 1.25; }
.pkg__price-v .tx-ar { font-size: 0.8em; font-weight: 600; color: var(--fg-2); }
html[lang="ar"] .pkg__price-v { font-family: var(--font-ar); }
.pkg__price-n { color: var(--fg-3); font-size: 0.8rem; margin-top: 6px; }
.pkg__price-n .tx-ar { font-size: 1em; }
.pkg__feats { display: grid; gap: 10px; }
.pkg__feats li { display: flex; gap: 10px; font-size: 0.9rem; color: var(--fg-2); line-height: 1.5; }
.pkg__feats .ico { width: 18px; height: 18px; color: var(--dc-purple); margin-top: 2px; stroke-width: 2; }
.pkg--featured .pkg__feats .ico { color: var(--dc-lime); }
.pkg__feats .tx-ar { font-size: 0.95em; color: var(--fg-3); margin-top: 2px; line-height: 1.7; }
.pkg__term { font-size: 0.85rem; color: var(--fg-2); padding: 12px 14px; border-radius: var(--radius-md); background: rgba(103, 33, 223, 0.06); border: 1px dashed var(--line-2); }
.pkg--featured .pkg__term { background: rgba(197, 244, 61, 0.08); }
.pkg__foot { margin-top: auto; display: grid; gap: 10px; padding-top: 6px; }
.pkg__foot .btn { justify-content: space-between; }
.pkg__alt { text-align: center; font-size: 0.85rem; font-weight: 600; color: var(--fg-2); text-decoration: underline; text-underline-offset: 3px; }
.pkg__alt:hover { color: var(--dc-purple); }
.pkg--featured .pkg__alt:hover { color: var(--dc-lime); }
.pkg__alt .tx-ar { font-weight: 500; }
.terms { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 28px; }
.terms__label { color: var(--fg-2); font-weight: 600; font-size: 0.9rem; }
.seg { display: inline-flex; padding: 4px; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--line-2); }
.seg button { padding: 9px 16px; border-radius: var(--radius-pill); font-size: 0.85rem; font-weight: 600; color: var(--fg-2); line-height: 1.25; transition: all 0.25s; }
.seg button .tx-ar { font-weight: 500; font-size: 0.88em; }
.seg button[aria-pressed="true"] { background: var(--dc-purple-black); color: #fff; }

.compare-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
.compare { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 0.9rem; }
.compare th, .compare td { padding: 14px 18px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--font-title); font-weight: 800; background: var(--bg-paper); position: sticky; top: 0; }
html[lang="ar"] .compare thead th { font-family: var(--font-ar); }
.compare tbody th { font-weight: 600; color: var(--fg); width: 34%; }
.compare td { color: var(--fg-2); }
.compare .tx-ar { font-size: 0.92em; color: var(--fg-3); font-weight: 500; }
.compare .yes { color: var(--dc-purple); }
.compare .no { color: var(--fg-3); }
.compare .ico { width: 20px; height: 20px; stroke-width: 2.2; }
.compare tr:last-child > * { border-bottom: 0; }

.pkg-cats { display: grid; gap: 16px; }
@media (min-width: 720px) { .pkg-cats { grid-template-columns: 1fr 1fr; } }
.pkg-cat { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: transform 0.5s var(--ease-expo), box-shadow 0.5s var(--ease-expo); }
.pkg-cat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.pkg-cat__tiers { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; gap: 8px; }
@media (min-width: 1024px) { .faq-wrap { grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; } .faq-wrap .shead { grid-template-columns: 1fr; position: sticky; top: calc(var(--header-h) + 80px); } }
.faq { border-top: 1px solid var(--line-2); }
.faq__item { border-bottom: 1px solid var(--line-2); }
.faq__q { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-family: var(--font-title); font-weight: 700; font-size: 1.05rem; line-height: 1.4; }
html[lang="ar"] .faq__q { font-family: var(--font-ar); }
.faq__q::-webkit-details-marker { display: none; }
.faq__qt .tx-ar { font-weight: 600; font-size: 0.92em; color: var(--fg-2); margin-top: 4px; }
.faq__ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); flex-shrink: 0; transition: transform 0.35s var(--ease-expo), background-color 0.3s; }
.faq__ic .ico { width: 16px; height: 16px; }
.faq__item[open] .faq__ic { transform: rotate(45deg); background: var(--dc-lime); border-color: var(--dc-lime); color: var(--dc-purple-black); }
.faq__a { padding: 0 0 24px; color: var(--fg-2); max-width: 70ch; }

/* ---------- CTA ---------- */
.cta { background: var(--bg-paper); }
.cta__panel { position: relative; overflow: hidden; display: grid; gap: 32px; padding: clamp(32px, 6vw, 80px); border-radius: var(--radius-xl); background: var(--bg-dark-2); isolation: isolate; }
.cta__wedge { display: none; }
.cta__copy .h2 { max-width: 640px; }
.cta__copy .lead { margin-top: var(--s5); max-width: 56ch; }
.cta__actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cta__link { display: inline-flex; align-items: center; gap: 8px; color: var(--on-dark-2); font-weight: 600; font-size: 0.9rem; margin-top: 4px; }
.cta__link:hover { color: var(--dc-lime); }
.cta__link .tx-ar { display: inline; margin-left: 6px; font-weight: 500; }
.cta__link .ico { width: 16px; height: 16px; }
@media (min-width: 1024px) { .cta__panel { grid-template-columns: 1.4fr 0.6fr; align-items: end; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1.35fr 0.65fr; gap: 48px; align-items: start; } }
.form-card { padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.form__grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .form__grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; align-content: start; }
.field__label { font-weight: 700; font-size: 0.9rem; line-height: 1.35; }
.field__label .tx-ar { font-weight: 500; font-size: 0.92em; color: var(--fg-3); }
.req { color: var(--dc-purple); }
.opt { font-weight: 500; font-size: 0.8em; color: var(--fg-3); }
.opt .tx-ar { display: inline; margin-left: 4px; }
.input { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(25, 21, 31, 0.16); background: var(--bg-paper); font-size: 1rem; transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s; }
textarea.input { resize: vertical; min-height: 140px; line-height: 1.6; }
select.input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23696370' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 18px; background-position: right 14px center; padding-inline-end: 42px; }
[dir="rtl"] select.input:not(.phone__dial) { background-position: left 14px center; }
.input:hover { border-color: rgba(25, 21, 31, 0.3); }
.input:focus { outline: none; border-color: var(--dc-purple); background: #fff; box-shadow: 0 0 0 4px rgba(103, 33, 223, 0.12); }
.input[aria-invalid="true"] { border-color: #c2263d; background: #fff7f8; }
.input::placeholder { color: rgba(25, 21, 31, 0.4); }
.phone { display: flex; gap: 8px; }
.phone__dial { width: 128px; flex-shrink: 0; padding-inline: 12px 34px; background-position: right 10px center; }
.phone__num { flex: 1; min-width: 0; }
.field__hint { font-size: 0.78rem; color: var(--fg-3); }
.field__hint .tx-ar { font-size: 1em; }
.field__err { font-size: 0.82rem; color: #c2263d; font-weight: 600; }
.field__err .tx-ar { font-weight: 500; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 0.9rem; color: var(--fg-2); }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid rgba(25, 21, 31, 0.3); flex-shrink: 0; margin-top: 2px; transition: all 0.2s; }
.check__box .ico { width: 14px; height: 14px; stroke-width: 3; opacity: 0; }
.check input:checked + .check__box { background: var(--dc-purple); border-color: var(--dc-purple); color: #fff; }
.check input:checked + .check__box .ico { opacity: 1; }
.check input:focus-visible + .check__box { outline: 2px solid var(--dc-purple); outline-offset: 2px; }
.check__text .tx-en, .check__text .tx-ar { display: inline; }
.check__text .tx-ar { display: block; color: var(--fg-3); }
.check a { color: var(--dc-purple); text-decoration: underline; }
.check a .tx-en, .check a .tx-ar { display: inline; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.form__note { font-size: 0.8rem; color: var(--fg-3); max-width: 44ch; }
.form__status { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 14px; margin-bottom: 24px; font-size: 0.95rem; }
.form__status .ico { width: 24px; height: 24px; flex-shrink: 0; }
.form__status--ok { background: rgba(197, 244, 61, 0.22); border: 1px solid var(--dc-lime-dark); color: var(--dc-purple-black); }
.form__status--err { background: #fff1f3; border: 1px solid #f2b8c2; color: #8a1328; }
.form__status strong { display: block; }
.form__context { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; padding: 10px 14px; border-radius: 10px; background: rgba(103, 33, 223, 0.06); color: var(--dc-purple); font-size: 0.68rem; }
.form__context .ico { width: 16px; height: 16px; }
.form__context .tx-en, .form__context .tx-ar { display: inline; }
.form__context .tx-ar { margin-left: 6px; }
.btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }
.btn[aria-busy="true"] .btn__arrow { animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.lines { display: grid; gap: 10px; }
.line { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: border-color 0.25s, transform 0.4s var(--ease-expo); }
.line:hover { border-color: var(--dc-purple); transform: translateY(-2px); }
.line__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--dc-purple-black); color: var(--dc-lime); flex-shrink: 0; }
.line__ic .ico { width: 21px; height: 21px; }
.line__k { display: block; font-size: 0.66rem; color: var(--fg-3); }
.line__v { display: block; font-weight: 700; font-size: 0.98rem; word-break: break-word; }
.line__v .tx-ar { font-weight: 500; font-size: 0.9em; color: var(--fg-2); }

/* ---------- Footer ---------- */
.ftr { background: var(--bg-dark); padding-top: clamp(56px, 7vw, 96px); color: var(--on-dark-2); font-size: 0.92rem; }
.ftr__top { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 720px) { .ftr__top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .ftr__top { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; } }
.ftr__about { margin-top: 22px; max-width: 42ch; }
.ftr__hq { display: flex; align-items: flex-start; gap: 8px; margin-top: 20px; color: var(--on-dark-3); font-size: 0.66rem; }
.ftr__hq .ico { width: 16px; height: 16px; color: var(--dc-lime); }
.ftr__h { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 500; color: var(--on-dark-3); margin-bottom: 18px; }
html[lang="ar"] .ftr__h { font-family: var(--font-ar); letter-spacing: 0; font-size: 0.85rem; }
.ftr__h .tx-ar { letter-spacing: 0; font-size: 1.15em; margin-top: 2px; }
.ftr__col ul { display: grid; gap: 10px; }
.ftr__col a { color: var(--on-dark-2); transition: color 0.2s; line-height: 1.35; }
.ftr__col a .tx-ar { font-size: 0.9em; color: var(--on-dark-3); }
.ftr__col a:hover, .ftr__col a:hover .tx-ar { color: var(--dc-lime); }
.ftr__contact a { display: flex; gap: 10px; align-items: flex-start; }
.ftr__contact .ico { width: 18px; height: 18px; color: var(--dc-lime); margin-top: 2px; }
.ftr__contact small { color: var(--on-dark-3); }
.ftr__social { display: flex; gap: 8px; margin-top: 22px; }
.ftr__social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark-2); color: #fff; transition: all 0.25s; }
.ftr__social a:hover { background: var(--dc-lime); border-color: var(--dc-lime); color: var(--dc-purple-black); }
.ftr__social .ico { width: 19px; height: 19px; }
.ftr__lang { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-block: 24px; border-top: 1px solid var(--line-dark); }
.ftr__lang .mono { color: var(--on-dark-3); }
.ftr__lang .tx-ar { display: inline; margin-left: 8px; }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 24px 32px; border-top: 1px solid var(--line-dark); font-size: 0.82rem; color: var(--on-dark-3); }
.ftr__bottom .tx-en, .ftr__bottom .tx-ar { display: inline; }
.ftr__bottom .tx-ar { margin-left: 6px; }
.ftr__bottom ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.ftr__bottom a:hover { color: var(--dc-lime); }

/* ---------- Misc page blocks ---------- */
.mv { display: grid; gap: 16px; }
@media (min-width: 900px) { .mv { grid-template-columns: 1fr 1fr; } }
.mv__card { padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--line); }
.mv__card--dark { background: var(--bg-dark); --fg: #fff; --fg-2: var(--on-dark-2); --fg-3: var(--on-dark-3); --line: var(--line-dark); color: #fff; }
.mv__card .h3 { font-size: clamp(1.3rem, 1rem + 1.2vw, 2rem); margin-top: 14px; line-height: 1.25; }
.caps { display: grid; gap: 12px; }
@media (min-width: 640px) { .caps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .caps { grid-template-columns: repeat(4, 1fr); } }
.cap { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); transition: border-color 0.25s, transform 0.4s var(--ease-expo); }
a.cap:hover { border-color: var(--dc-lime); transform: translateY(-3px); }
.section--paper a.cap:hover, .section--white a.cap:hover { border-color: var(--dc-purple); }
.cap__top { display: flex; justify-content: space-between; align-items: center; color: var(--fg-3); }
.cap__top .ico { width: 24px; height: 24px; color: var(--dc-lime); }
.section--paper .cap__top .ico, .section--white .cap__top .ico { color: var(--dc-purple); }
.cap h3 { font-family: var(--font-title); font-weight: 800; font-size: 1.05rem; color: var(--fg); }
html[lang="ar"] .cap h3 { font-family: var(--font-ar); }
.cap h3 .tx-ar { font-weight: 600; font-size: 0.88em; color: var(--fg-2); }
.cap p { color: var(--fg-2); font-size: 0.88rem; }
.cap-detail { display: grid; gap: 28px; padding-block: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.cap-detail:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 1024px) { .cap-detail { grid-template-columns: 0.9fr 1.1fr; gap: 64px; } }
.cap-detail__ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--dc-purple-black); color: var(--dc-lime); margin-bottom: 20px; }
.cap-detail__ic .ico { width: 28px; height: 28px; }
.promise { display: grid; gap: 12px; counter-reset: p; }
.promise li { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.promise__n { font-family: var(--font-heading); font-size: 2rem; line-height: 1; color: var(--dc-purple); }
.promise h3 { font-family: var(--font-title); font-weight: 800; font-size: 1.1rem; }
html[lang="ar"] .promise h3 { font-family: var(--font-ar); }
.promise h3 .tx-ar { font-weight: 600; font-size: 0.9em; color: var(--fg-2); }
.promise p { color: var(--fg-2); font-size: 0.93rem; margin-top: 6px; }
.stage { display: grid; gap: 28px; padding-block: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); }
@media (min-width: 1024px) { .stage { grid-template-columns: 0.45fr 1fr; gap: 64px; } }
.stage__n { font-family: var(--font-heading); font-size: clamp(4rem, 3rem + 4vw, 7.5rem); line-height: 0.85; color: transparent; -webkit-text-stroke: 1.5px var(--dc-purple); }
.section--dark .stage__n { -webkit-text-stroke-color: var(--dc-lime); }
.stage__cols { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 720px) { .stage__cols { grid-template-columns: 1fr 1fr; } }
.stage__box { padding: 20px; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--line); }
.stage__box h3 { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dc-purple); font-weight: 500; margin-bottom: 8px; }
.section--dark .stage__box h3 { color: var(--dc-lime); }
html[lang="ar"] .stage__box h3 { font-family: var(--font-ar); letter-spacing: 0; font-size: 0.85rem; }
.stage__box h3 .tx-ar { letter-spacing: 0; font-size: 1.15em; }
.stage__box p { color: var(--fg-2); font-size: 0.93rem; }
.notfound { min-height: 70vh; display: grid; align-content: center; }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease-out), transform 0.9s var(--ease-expo); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
@keyframes heroIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
html.is-switching main, html.is-switching .hdr__bar, html.is-switching .ftr { opacity: 0; transition: opacity 0.18s ease; }
main, .hdr__bar, .ftr { transition: opacity 0.25s ease; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
    .js .reveal, .js .hero-reveal { opacity: 1; transform: none; }
}

/* ---------- Small screens ---------- */
@media (max-width: 560px) {
    .btn { padding-inline: 18px 5px; gap: 10px; }
    .actions .btn { width: 100%; justify-content: space-between; }
    .svc-card__body, .card, .pkg { padding: 22px; }
    .hero__meta strong { font-size: 1.35rem; }
}
@media print { .hdr, .ftr, .cta, .subnav { display: none; } body { background: #fff; } }
/* ==========================================================================
   Readability for owners of established businesses (40+): larger type, stronger contrast,
   bigger touch targets, no fade-in effects.
   ========================================================================== */
:root {
    --fs-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
    --fs-lead: clamp(1.125rem, 1.05rem + 0.4vw, 1.3rem);
    --fs-h3: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
    --ink-2: rgba(25, 21, 31, 0.86);
    --ink-3: #57515f;
    --on-dark-2: rgba(255, 255, 255, 0.88);
    --on-dark-3: rgba(255, 255, 255, 0.68);
}
body { line-height: 1.7; }
.js .reveal { opacity: 1; transform: none; transition: none; }
p.tx-ar, li.tx-ar, strong.tx-ar { color: var(--fg-2); font-size: 1em; }
.card__text, .svc-card__text, .why__text, .timeline__text, .work-card__text, .gcc__item p, .pkg__feats li, .cap p, .promise p, .stage__box p { font-size: 1rem; }
.faq__a { font-size: 1.05rem; }
.faq__q { font-size: 1.12rem; }
.tags li { font-size: 0.85rem; }
.work-card__meta { font-size: 0.72rem; }
.nav__link { font-size: 0.95rem; color: var(--on-dark-2); }
.btn { min-height: 56px; font-size: 1rem; }
.btn--sm { min-height: 46px; font-size: 0.92rem; }
.eyebrow { font-size: 0.82rem; }
.crumbs ol { font-size: 0.78rem; }
.note { font-size: 0.88rem; }
.field__label { font-size: 0.98rem; }
.input { font-size: 1.05rem; min-height: 54px; }

/* Hero benefit tags over the photo */
.hero__media { position: relative; }
.hero__caption { inset-inline-start: auto; inset-inline-end: 14px; bottom: auto; top: 14px; }
.hero__tags { position: absolute; inset-inline-start: 16px; bottom: 16px; display: grid; gap: 8px; max-width: calc(100% - 32px); }
.hero__tags li { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 14px; background: rgba(255, 255, 255, 0.95); color: var(--dc-purple-black); font-weight: 700; font-size: 0.95rem; line-height: 1.3; box-shadow: 0 10px 30px -12px rgba(10, 6, 16, 0.6); }
[dir="rtl"] .hero__tags li { padding: 8px 8px 8px 14px; }
.hero__tags .tx-ar { font-weight: 600; font-size: 0.92em; color: var(--dc-muted); }
.hero__tag-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--dc-lime); color: var(--dc-purple-black); flex-shrink: 0; }
.hero__tag-ic .ico { width: 18px; height: 18px; stroke-width: 2; }
@media (min-width: 1024px) { .hero__media { min-height: 520px; } }

/* Benefit cards */
.benefit { background: var(--bg-paper); }
.benefit .card__icon { background: var(--dc-purple-black); color: var(--dc-lime); }

/* Why section without numbers */
.why__item { gap: 12px; }
.why__icon { color: var(--dc-lime); }

/* GCC card title */
.gcc__title { font-family: var(--font-title); font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); line-height: 1.2; letter-spacing: -0.02em; }
.gcc__title .tx-ar { font-family: var(--font-ar); font-size: 0.7em; font-weight: 700; color: var(--on-dark-2); margin-top: 6px; }
html[lang="ar"] .gcc__title { font-family: var(--font-ar); }
.gcc__flag { font-weight: 700; font-size: 0.82rem; }

/* Platform logo wall: two rows looping in opposite directions; pauses on hover; static with reduced motion */
.logo-wall { display: grid; gap: 22px; direction: ltr; padding-block: 12px; 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); }
.logo-wall__row { overflow: hidden; }
.logo-wall__track { display: flex; width: max-content; animation: logoLoop 50s linear infinite; }
.logo-wall__row--rev .logo-wall__track { animation-direction: reverse; animation-duration: 56s; }
.logo-wall:hover .logo-wall__track { animation-play-state: paused; }
.logo-wall__list { display: flex; align-items: center; }
.logo-wall__item { margin-right: 28px; }
.logo-wall__tile { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 22px; background: #fff; border: 1px solid rgba(25, 21, 31, 0.08); box-shadow: 0 10px 28px -18px rgba(20, 13, 29, 0.35); transition: transform 0.3s var(--ease-out); }
.logo-wall__tile:hover { transform: translateY(-4px); }
.logo-wall__icon { width: 46px; height: 46px; }
.logo-wall__note { text-align: center; max-width: 760px; margin-inline: auto; padding-inline: var(--gutter); }
.section--white .logo-wall__tile { background: var(--bg-paper); }
@keyframes logoLoop { to { transform: translateX(-50%); } }
@media (max-width: 640px) { .logo-wall__tile { width: 72px; height: 72px; border-radius: 18px; } .logo-wall__icon { width: 36px; height: 36px; } .logo-wall__item { margin-right: 18px; } }
@media (prefers-reduced-motion: reduce) {
    .logo-wall { -webkit-mask-image: none; mask-image: none; }
    .logo-wall__track { animation: none; width: auto; justify-content: center; }
    .logo-wall__list { flex-wrap: wrap; justify-content: center; gap: 16px 0; }
    .logo-wall__list[aria-hidden="true"] { display: none; }
}
/* Hero photo fills the column without making the hero taller than the text */
@media (min-width: 1024px) {
    .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
    .hero__media { min-height: 560px; height: auto; }
}
@media (max-width: 1023px) { .hero__media { aspect-ratio: 4 / 4.4; } .hero__media img { position: absolute; inset: 0; } }

/* Use the full width: section titles left, intro text right (desktop) */
@media (min-width: 1024px) {
    .shead { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(40px, 5vw, 80px); align-items: end; }
    .shead__main, .shead__lead { max-width: none; }
    .shead__lead { padding-bottom: 6px; }
    .shead--solo, .shead--center, .faq-wrap .shead { grid-template-columns: 1fr; }
    .shead--solo .shead__main { max-width: 820px; }
    .shead--center { max-width: 860px; }
}
/* GCC list: an odd last card spans the full row */
@media (min-width: 560px) { .gcc__list > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
/* Inner heroes always pair text with a photo */
@media (min-width: 1024px) { .phero__grid--img .phero__title { max-width: none; } .phero__media { aspect-ratio: 4 / 3.2; } }

/* Tighter vertical rhythm: less empty space between and inside sections */
:root { --section-pad: clamp(40px, 4.5vw, 68px); }
.section--tight { padding-block: clamp(32px, 3.5vw, 52px); }
.shead { margin-bottom: clamp(22px, 2.6vw, 34px); gap: 10px; }
.eyebrow { margin-bottom: 10px; }
.hero { padding-top: calc(var(--header-h) + clamp(20px, 3vw, 40px)); padding-bottom: clamp(32px, 4vw, 56px); }
.hero__lead { margin-top: var(--s4); }
.hero__meta { margin-top: var(--s5); padding-top: var(--s4); }
.actions { margin-top: var(--s5); }
.phero { padding-top: calc(var(--header-h) + clamp(18px, 2.5vw, 36px)); padding-bottom: clamp(32px, 4vw, 52px); }
.crumbs { margin-bottom: var(--s4); }
.phero__lead { margin-top: var(--s4); }
.card, .why__item { padding: 22px; }
.svc-card__body { padding: 18px 20px 20px; }
.work-card__body { padding: 18px 20px 20px; }
.why__item { padding-block: 22px; }
.timeline__step { padding-bottom: 28px; }
@media (min-width: 1024px) { .timeline__step { padding-top: 64px; } }
.cta__panel { padding: clamp(28px, 4vw, 52px); gap: 24px; }
.ftr { padding-top: clamp(40px, 4.5vw, 64px); }
.ftr__top { padding-bottom: 32px; gap: 32px; }
.ftr__lang, .ftr__bottom { padding-block: 18px; }
.faq__q { padding: 16px 0; }
.faq__a { padding-bottom: 18px; }
.note { margin-top: var(--s4); }
.logo-wall { gap: 16px; padding-block: 6px; }
.cap-detail, .stage { padding-block: clamp(28px, 3.5vw, 44px); }
.split { gap: clamp(28px, 4vw, 56px); }
.checklist { margin-top: var(--s5); }

/* Main headings in sentence case (easier to read than all capitals) */
.h1 { font-family: var(--font-title); font-weight: 800; text-transform: none; letter-spacing: -0.03em; line-height: 1.1; font-size: clamp(2.1rem, 1.3rem + 2.3vw, 3.4rem); }
.h1 .tx-ar { font-size: 0.6em; letter-spacing: 0; }
.pkg__name { font-family: var(--font-title); font-weight: 800; text-transform: none; font-size: 1.6rem; letter-spacing: -0.02em; }

/* Title Case for every English heading */
.h1, .h2, .h3, .pkg__name, .gcc__title, .gcc__item h3, .cap h3, .promise h3, .dd__title, .tech-band__title, .prose h2, .mv__card .h3, .card .h3, .timeline__title, .work-card__title, .svc-card__title, .stage__box h3 { text-transform: capitalize; }
.mv__card p.h3 { text-transform: none; }
.tx-ar, .nocap { text-transform: none; }

/* Portfolio covers: screenshots in device frames on a soft brand background */
.work-card__media--framed { display: flex; align-items: flex-end; justify-content: center; padding: 26px 28px 0; background: linear-gradient(150deg, #f3effa 0%, #e4dbf5 55%, #d9cdf2 100%); }
.work-card:hover .work-card__media--framed img { transform: none; }
.frame-browser { position: relative; z-index: 1; display: flex; flex-direction: column; width: 100%; height: 100%; background: #fff; border-radius: 10px 10px 0 0; overflow: hidden; box-shadow: 0 24px 44px -22px rgba(38, 23, 53, 0.55); }
.frame-browser__bar { display: flex; align-items: center; gap: 5px; height: 22px; padding: 0 10px; background: #f6f4f9; border-bottom: 1px solid #e7e2ef; flex-shrink: 0; }
.frame-browser__bar i { width: 7px; height: 7px; border-radius: 50%; background: #d8cfe6; }
.frame-browser__bar i:first-child { background: #f39a9a; } .frame-browser__bar i:nth-child(2) { background: #f3cf7a; } .frame-browser__bar i:nth-child(3) { background: #9ad49a; }
.frame-browser__screen { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.frame-browser__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: object-position 5s ease-in-out; }
.work-card:hover .frame-browser__screen img { object-position: 50% 100%; }
.frame-phone { position: relative; z-index: 1; width: 44%; height: 100%; padding: 8px 8px 0; background: var(--dc-purple-black); border-radius: 26px 26px 0 0; box-shadow: 0 24px 44px -22px rgba(38, 23, 53, 0.6); }
.frame-phone__screen { position: relative; display: block; width: 100%; height: 100%; border-radius: 19px 19px 0 0; overflow: hidden; background: #fff; }
.frame-phone__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
@media (prefers-reduced-motion: reduce) { .frame-browser__screen img { transition: none; } .work-card:hover .frame-browser__screen img { object-position: 50% 0; } }

/* No half-empty last row: the last visible card stretches (set by main.js) */
.work-card.is-wide { flex-direction: row; }
.work-card.is-wide .work-card__media { width: 50%; flex-shrink: 0; aspect-ratio: auto; min-height: 300px; }
.work-card.is-wide .work-card__body { padding: 28px 32px; justify-content: center; }
@media (max-width: 719px) { .work-card.is-wide { flex-direction: column; } .work-card.is-wide .work-card__media { width: 100%; aspect-ratio: 16 / 11; min-height: 0; } }
.work-card__media--framed { padding-top: 46px; }

/* Video covers (shown when the "Video Production" filter is active) */
.work-card__video { position: absolute; inset: 0; z-index: 2; display: none; background: #120c1a; }
.work.is-video .work-card__video { display: flex; }
.work-card__vframe { position: relative; flex: 1; overflow: hidden; }
.work-card__vframe img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.work-card__video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 12, 26, 0) 55%, rgba(18, 12, 26, 0.7)); pointer-events: none; }
.work-card__video--cuts { justify-content: center; align-items: center; gap: 14px; padding: 46px 24px 18px; background: linear-gradient(150deg, #241733, #120c1a); }
.work-card__video--cuts .work-card__vframe { flex: 0 0 auto; height: 100%; aspect-ratio: 9 / 16; border-radius: 14px; border: 3px solid rgba(255, 255, 255, 0.9); box-shadow: 0 18px 36px -18px rgba(0, 0, 0, 0.8); }
.work-card__vlabel { position: absolute; z-index: 3; inset-inline-start: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.95); color: var(--dc-purple-black); font-weight: 700; font-size: 0.85rem; }
[dir="rtl"] .work-card__vlabel { padding: 6px 6px 6px 12px; }
.work-card__vlabel .ico { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--dc-lime); stroke-width: 2; }
.work-card__vlabel .tx-en, .work-card__vlabel .tx-ar { display: inline; }
.work-card__vlabel .tx-ar { margin-left: 6px; font-weight: 600; color: var(--dc-muted); }
.work.is-video .work-card__badge { z-index: 4; }

/* Section headings read top-to-bottom: label, title, then intro directly under it (centred) */
@media (min-width: 720px) {
    .shead { grid-template-columns: 1fr !important; max-width: 860px; margin-inline: auto; text-align: center; justify-items: center; column-gap: 0; }
    .shead__main, .shead--solo .shead__main { max-width: none; }
    .shead__lead { max-width: 680px; padding-bottom: 0; }
    .shead .eyebrow { justify-content: center; }
    .faq-wrap .shead { text-align: start; justify-items: start; margin-inline: 0; max-width: none; }
    .faq-wrap .shead .eyebrow { justify-content: flex-start; }
}

/* No side-by-side title/text anywhere: FAQ and capability details stack too */
@media (min-width: 1024px) {
    .faq-wrap { grid-template-columns: 1fr; gap: 0; max-width: 900px; margin-inline: auto; }
    .faq-wrap .shead { position: static; text-align: center; justify-items: center; margin-inline: auto; max-width: 860px; }
    .faq-wrap .shead .eyebrow { justify-content: center; }
    .cap-detail { grid-template-columns: 1fr; gap: 16px; max-width: 900px; margin-inline: auto; }
}
@media (min-width: 720px) and (max-width: 1023px) {
    .faq-wrap .shead { text-align: center; justify-items: center; margin-inline: auto; }
    .faq-wrap .shead .eyebrow { justify-content: center; }
}

/* ==========================================================================
   Typography: Refoke for headings, Open Sans for paragraphs and UI text
   ========================================================================== */
@font-face { font-family: "Open Sans"; src: url("../fonts/open-sans-latin-ext.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Open Sans"; src: url("../fonts/open-sans-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; 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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
    --font-body: "Open Sans", "Segoe UI", system-ui, sans-serif;
    --font-heading: "Refoke", "Open Sans", "Segoe UI", system-ui, sans-serif;
    --font-title: "Refoke", "Open Sans", "Segoe UI", system-ui, sans-serif;
    --font-ar: "Plex Arabic", "Open Sans", "Segoe UI", Tahoma, sans-serif;
}
.h1, .h2, .h3, .pkg__name, .gcc__title, .gcc__item h3, .cap h3, .promise h3, .tech-band__title, .prose h2, .faq__q, .card .h3, .timeline__title, .work-card__title, .svc-card__title, .mv__card .h3, .fact__n, .hero__meta strong, .mnav__link, .dd__title { font-family: var(--font-heading); font-weight: 900; letter-spacing: 0; }
.h1 { line-height: 1.12; }
.h2 { line-height: 1.18; }
.h3, .card .h3, .svc-card__title, .work-card__title, .timeline__title { line-height: 1.3; }
.mv__card p.h3 { font-family: var(--font-body); font-weight: 600; }
/* Logo keeps its own Manrope wordmark */
.logo__type { font-family: "Manrope", "DM Sans", system-ui, sans-serif; }
body, .btn, .nav__link, .chip, .tags li, .input, .lead, p { font-family: var(--font-body); }
/* Arabic keeps IBM Plex Sans Arabic everywhere */
.tx-ar, html[lang="ar"] body, html[lang="ar"] .h1, html[lang="ar"] .h2, html[lang="ar"] .h3, html[lang="ar"] .btn, html[lang="ar"] p { font-family: var(--font-ar); }
:root {
    --font-body: "Open Sans", "Plex Arabic", "Segoe UI", system-ui, sans-serif;
    --font-heading: "Refoke", "Plex Arabic", "Open Sans", "Segoe UI", system-ui, sans-serif;
    --font-title: var(--font-heading);
}
/* Refoke is wider: size the hero headline so it stays on two lines */
.hero__title { font-size: clamp(2rem, 0.4rem + 2.9vw, 3.05rem); }

/* Bilingual section headings: English block, then Arabic block beneath (no language zig-zag) */
.shead--bi { display: block; }
.shead--bi .shead__lang--en .shead__lead { margin-top: 12px; }
.shead--bi .shead__lang--ar { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-2); font-family: var(--font-ar); text-align: right; }
.shead--bi .shead__lang--ar .eyebrow { font-family: var(--font-ar); letter-spacing: 0; text-transform: none; font-size: 0.9rem; margin-bottom: 4px; }
.shead__ar-title { font-family: var(--font-ar); font-weight: 700; font-size: clamp(1.3rem, 1rem + 1vw, 1.85rem); line-height: 1.5; color: var(--fg); }
.shead--bi .shead__lang--ar .shead__lead { margin-top: 6px; }
.shead--bi .shead__lang--ar .shead__lead p { color: var(--fg-2); line-height: 1.85; }
@media (min-width: 720px) {
    .shead--bi { text-align: center; }
    .shead--bi .shead__lang { max-width: 760px; margin-inline: auto; }
    .shead--bi .shead__lang--ar { text-align: center; max-width: 520px; padding-top: 18px; }
    .shead--bi .shead__lang--ar .shead__lead { max-width: 680px; margin-inline: auto; }
    .shead--bi .eyebrow { justify-content: center; }
    .faq-wrap .shead--bi .shead__lang--ar { max-width: 760px; }
}
.shead--bi .shead__lang--ar { border-top: 0; padding-top: 0; }
.shead--bi .shead__lang--ar::before { content: ""; display: block; width: 56px; height: 2px; border-radius: 2px; background: var(--dc-purple); opacity: 0.35; margin: 0 0 16px auto; }
.section--dark .shead--bi .shead__lang--ar::before { background: var(--dc-lime); }
@media (min-width: 720px) {
    .shead--bi .shead__lang--ar { max-width: 760px; }
    .shead--bi .shead__lang--ar::before { margin-inline: auto; }
}

/* ==========================================================================
   Language-grouped text blocks (textblock()): English block, then Arabic block beneath
   ========================================================================== */
.tb .h1 + .tb__paras, .tb .h2 + .tb__paras, .tb h2 + .tb__paras, .tb .h3 + .tb__paras { margin-top: 14px; }
.tb__paras p + p { margin-top: 0.7em; }
.tb--bi .tb__lang--ar { margin-top: 20px; text-align: right; font-family: var(--font-ar); }
.tb--bi .tb__lang--ar::before { content: ""; display: block; width: 56px; height: 2px; border-radius: 2px; background: currentColor; opacity: 0.25; margin: 0 0 14px auto; }
.tb--bi .tb__lang--ar .eyebrow { font-family: var(--font-ar); text-transform: none; letter-spacing: 0; font-size: 0.9rem; margin-bottom: 4px; }
.tb__ar-title { font-family: var(--font-ar); font-weight: 700; color: var(--fg); line-height: 1.5; }
.tb__ar-title--h1 { font-size: clamp(1.45rem, 1.05rem + 1.2vw, 2.15rem); }
.tb__ar-title--h2 { font-size: clamp(1.3rem, 1rem + 1vw, 1.85rem); }
.tb__ar-title--h3 { font-size: 1.15rem; }
.tb__ar-title + .tb__paras { margin-top: 8px; }
.tb--bi .tb__lang--ar .tb__paras p { color: var(--fg-2); line-height: 1.85; }
.tb .hl { color: inherit; }
.hero .tb .hl, .hero .tb__ar-title .hl { color: var(--dc-lime); }
/* Sizes inside specific sections */
.stage .tb .h2, .cap-detail .tb .h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.6rem); }
.mv__text { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); font-weight: 600; line-height: 1.55; color: var(--fg); }
.mv__card .tb--bi .tb__lang--ar .mv__text p { color: var(--fg); }
.prose .tb + .tb { margin-top: 1.8em; }
.prose .tb h2 { margin-top: 0; }
.cta__copy .tb .h2 { max-width: 640px; }
.cta__copy .tb__paras { margin-top: 12px; }
/* In the English + Arabic view, keep labels in buttons, tables and form fields aligned with the English */
html[data-mode="bi"] :is(.btn, .mnav__link, .compare th, .compare td, .faq__q, .field__label, .check, .pkg__feats li) { text-align: left; }

/* Call-to-action panel: one centred column (English, Arabic, then buttons) */
.cta__panel { grid-template-columns: 1fr !important; justify-items: center; text-align: center; gap: 28px; padding: clamp(32px, 5vw, 64px) clamp(20px, 5vw, 64px); }
.cta__copy { max-width: 780px; width: 100%; }
.cta__copy .tb .h2 { max-width: none; margin-inline: auto; }
.cta__copy .tb__paras { max-width: 680px; margin-inline: auto; }
.cta__copy .tb--bi .tb__lang--ar { text-align: center; }
.cta__copy .tb--bi .tb__lang--ar::before { margin-inline: auto; }
.cta__actions { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; }
.cta__link { flex-basis: 100%; justify-content: center; margin-top: 6px; white-space: nowrap; flex-wrap: wrap; }
.cta__link .tx-en, .cta__link .tx-ar { display: inline; }
.cta__link .tx-ar { margin-left: 8px; }
@media (max-width: 560px) { .cta__actions .btn { width: 100%; justify-content: space-between; } .cta__link { white-space: normal; } }

/* Buttons/links placed at the bottom of a centred section are centred too */
.section > .container > .actions { justify-content: center; }
.section > .container > p:has(> .link-arrow) { text-align: center; }

/* About: Dubai photo with the company facts card over it */
.pg-about #overview .split { align-items: stretch; }
.about-visual { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 520px; border-radius: var(--radius-xl); overflow: hidden; isolation: isolate; }
.about-visual__img { position: absolute; inset: 0; z-index: -1; margin: 0; }
.about-visual__img img { width: 100%; height: 100%; object-fit: cover; }
.about-visual__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 13, 29, 0) 35%, rgba(20, 13, 29, 0.55) 100%); }
.about-visual__tag { position: absolute; top: 16px; inset-inline-start: 16px; display: inline-flex; align-items: flex-start; gap: 8px; padding: 8px 14px; border-radius: var(--radius-pill); background: rgba(20, 13, 29, 0.78); color: #fff; font-size: 0.85rem; font-weight: 600; line-height: 1.35; backdrop-filter: blur(6px); }
.about-visual__tag .ico { width: 16px; height: 16px; color: var(--dc-lime); margin-top: 2px; }
.about-visual__tag .tx-ar { font-size: 0.95em; font-weight: 500; color: var(--on-dark-2); }
.about-visual__facts { position: relative; margin: 16px; grid-template-columns: 1fr 1fr !important; background: var(--line); border: 0; border-radius: var(--radius-lg); box-shadow: 0 24px 50px -24px rgba(10, 6, 16, 0.7); }
.about-visual__facts .fact { background: rgba(255, 255, 255, 0.97); padding: 18px 20px; }
.fact__k { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-3); line-height: 1.4; }
.fact__k .tx-ar { text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 1.05em; margin-top: 2px; }
.fact__v { margin-top: 8px; font-family: var(--font-heading); font-weight: 900; font-size: 1.25rem; line-height: 1.2; color: var(--ink); }
.about-visual__facts .fact__n { margin-top: 6px; font-size: 2.4rem; }
html[data-mode="bi"] .about-visual__facts .fact { text-align: left; }
@media (max-width: 1023px) { .about-visual { min-height: 460px; } }

/* Font Awesome icons (solid, filled) */
.ico.fa { fill: currentColor; stroke: none; }
.btn__icon .ico.fa { width: 15px; height: 15px; }
.card__icon .ico.fa, .why__icon .ico.fa { width: 22px; height: 22px; }
.svc-card__icon .ico.fa { width: 24px; height: 24px; }
.dd__icon .ico.fa { width: 18px; height: 18px; }
.checklist .ico.fa { width: 22px; height: 22px; padding: 5px; }
.pkg__feats .ico.fa { width: 15px; height: 15px; margin-top: 4px; }
.faq__ic .ico.fa { width: 13px; height: 13px; }
.nav__toggle .ico.fa { width: 11px; height: 11px; }
.ftr__social .ico.fa { width: 17px; height: 17px; }
.ftr__contact .ico.fa, .eyebrow .ico.fa, .hero__caption .ico.fa, .about-visual__tag .ico.fa { width: 14px; height: 14px; }
.line__ic .ico.fa { width: 19px; height: 19px; }
.hero__tag-ic .ico.fa { width: 16px; height: 16px; }
.cap__top .ico.fa, .cap-detail__ic .ico.fa { width: 24px; height: 24px; }
.compare .ico.fa { width: 17px; height: 17px; }
.link-arrow .ico.fa, .svc-card__more .ico.fa, .work-card__more .ico.fa, .dd__more .ico.fa, .cta__link .ico.fa { width: 14px; height: 14px; }
.work-card__vlabel .ico.fa { padding: 7px; }
.mnav__acc .ico.fa { width: 16px; height: 16px; }
.gcc__cities .ico.fa { width: 14px; height: 14px; }

/* Section photos always stay inside their column */
.split > .media, .split > figure { width: 100%; max-width: 100%; min-width: 0; align-self: center; }
.split > * { min-width: 0; }
@media (max-width: 1023px) {
    .about-visual { display: block; min-height: 0; overflow: visible; border-radius: 0; }
    .about-visual__img { position: relative; inset: auto; z-index: 0; aspect-ratio: 4 / 3; border-radius: var(--radius-xl); overflow: hidden; }
    .about-visual__facts { margin: -48px 12px 0; z-index: 1; }
}

/* "Tools we use": logo tile + name in each pill */
.tech__item { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; }
.tech__tile { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #fff; flex-shrink: 0; }
.tech__logo { width: 20px; height: 20px; }
.section--dark .tech__item { color: var(--on-dark); }
.section--white .tech__tile, .section--paper .tech__tile { box-shadow: 0 0 0 1px rgba(25, 21, 31, 0.08); }
.tech__item { font-family: var(--font-body); font-weight: 600; font-size: 1rem; padding: 7px 18px 7px 7px; }

/* Package pages have no banner: solid header from the start, and room under it */
.pg-package .hdr, .pg-packages .hdr { background: rgba(20, 13, 29, 0.96); box-shadow: 0 12px 40px -16px rgba(20, 13, 29, 0.6); }
.pg-package main > section:first-child, .pg-packages main > section:first-child { padding-top: calc(var(--header-h) + clamp(28px, 3.5vw, 52px)); }

/* Portfolio: title-matching cover photo + small preview of the real build */
.work-card__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.work-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(20, 13, 29, 0) 45%, rgba(20, 13, 29, 0.35)); pointer-events: none; }
.work-card__inset { position: absolute !important; z-index: 2; right: 14px; bottom: 0; width: 46%; height: 62%; border-radius: 8px 8px 0 0; box-shadow: 0 18px 36px -14px rgba(10, 6, 16, 0.75); transition: transform 0.5s var(--ease-out); }
.work-card__inset--phone { width: 26%; height: 82%; border-radius: 18px 18px 0 0; padding: 5px 5px 0; }
.work-card__inset--phone .frame-phone__screen { border-radius: 13px 13px 0 0; }
.work-card:hover .work-card__inset { transform: translateY(-6px); }
.work-card__badge { z-index: 3; }
.work-card__video { z-index: 4; }
.work.is-video .work-card__badge { z-index: 5; }
.work-card.is-wide .work-card__inset { width: 38%; }
.work-card.is-wide .work-card__inset--phone { width: 20%; }

/* Service overview: photo fills the column, "What you get" card over its lower part (no empty gaps) */
.split--visual { align-items: stretch; }
.photo-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 540px; border-radius: var(--radius-xl); overflow: hidden; isolation: isolate; }
.photo-card__img { position: absolute; inset: 0; z-index: -1; margin: 0; }
.photo-card__img img { width: 100%; height: 100%; object-fit: cover; }
.photo-card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 13, 29, 0) 40%, rgba(20, 13, 29, 0.5) 100%); }
.photo-card__panel { margin: 16px; padding: 20px 22px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.97); box-shadow: 0 24px 50px -24px rgba(10, 6, 16, 0.7); }
.photo-card__label { font-family: var(--font-heading); font-weight: 900; font-size: 1.15rem; color: var(--ink); line-height: 1.3; }
.photo-card__label .tx-ar { font-family: var(--font-ar); font-weight: 700; font-size: 0.85em; color: var(--ink-2); }
.photo-card__panel .checklist { margin-top: 12px; gap: 10px; }
.photo-card__panel .checklist li { font-size: 0.95rem; color: var(--ink); }
html[data-mode="bi"] .photo-card__panel { text-align: left; }
@media (max-width: 1023px) {
    .photo-card { display: block; min-height: 0; overflow: visible; border-radius: 0; }
    .photo-card__img { position: relative; inset: auto; z-index: 0; aspect-ratio: 4 / 3; border-radius: var(--radius-xl); overflow: hidden; }
    .photo-card__panel { position: relative; z-index: 1; margin: -48px 12px 0; }
}
/* Services overview page: photos stretch to the height of their text */


/* Service overview visual, v2: photo on top (grows to fill the column), checklist card below it — no overlap */
.photo-card { display: flex; flex-direction: column; gap: 14px; min-height: 0; overflow: visible; border-radius: 0; isolation: auto; justify-content: stretch; }
.photo-card__img { position: relative; inset: auto; z-index: auto; flex: 1 1 auto; min-height: 260px; border-radius: var(--radius-xl); overflow: hidden; }
.photo-card__img::after { display: none; }
.photo-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-card__panel { position: static; margin: 0; flex: 0 0 auto; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card); }
@media (max-width: 1023px) {
    .photo-card__img { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
    .photo-card__panel { margin: 0; }
}

/* "Tools we use": pills and the note under them centred (matches the centred heading) */
.tech { justify-content: center; }
.tech + .note { text-align: center; max-width: 760px; margin-inline: auto; }

/* Service overview visual, v3 (back to version 1, fixed): photo fills the column, "What you get" card over its lower part */
.photo-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 0; min-height: 540px; border-radius: var(--radius-xl); overflow: hidden; isolation: isolate; }
.photo-card__img { position: absolute; inset: 0; z-index: 0; flex: none; min-height: 0; border-radius: 0; overflow: hidden; aspect-ratio: auto; }
.photo-card__img::after { display: block; content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 13, 29, 0) 40%, rgba(20, 13, 29, 0.5) 100%); }
.photo-card__panel { position: relative; z-index: 1; margin: 16px; background: rgba(255, 255, 255, 0.97); border: 0; box-shadow: 0 24px 50px -24px rgba(10, 6, 16, 0.7); }
@media (max-width: 1023px) {
    .photo-card { display: block; min-height: 0; overflow: visible; border-radius: 0; }
    .photo-card__img { position: relative; inset: auto; aspect-ratio: 4 / 3; border-radius: var(--radius-xl); }
    .photo-card__panel { margin: -48px 12px 0; }
}

/* ==========================================================================
   Lenis smooth scrolling (base rules from lenis.css 1.1.13)
   ========================================================================== */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
html.lenis { scroll-behavior: auto !important; } /* Lenis does the smoothing; native smooth scroll would fight it */
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* ==========================================================================
   Branded scrollbar: slim purple thumb on a light track
   ========================================================================== */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: #efecf4; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #7b2cf0 0%, #6721df 100%); border-radius: 999px; border: 3px solid #efecf4; min-height: 48px; }
::-webkit-scrollbar-thumb:hover { background: #5313cb; border-width: 2px; }
::-webkit-scrollbar-thumb:active { background: #261735; }
::-webkit-scrollbar-corner { background: #efecf4; }
/* Inner scroll areas on dark backgrounds (mobile menu) */
.mnav::-webkit-scrollbar-track { background: #140d1d; }
.mnav::-webkit-scrollbar-thumb { background: #c5f43d; border-color: #140d1d; }
/* Smaller bar on inner horizontal scrollers (comparison tables) */
.compare-wrap::-webkit-scrollbar { height: 8px; }
.compare-wrap::-webkit-scrollbar-thumb { border-width: 2px; }
/* Firefox (no ::-webkit-scrollbar support) */
@supports not selector(::-webkit-scrollbar) {
    html { scrollbar-width: thin; scrollbar-color: #6721df #efecf4; }
    .mnav { scrollbar-color: #c5f43d #140d1d; }
}

/* ==========================================================================
   Responsive polish: small labels stay readable (>= 12.5px) and
   touch targets are at least 44px tall on phones and tablets
   ========================================================================== */
.pkg__badge { font-size: 0.8rem; }
.chip .tx-ar, .seg button .tx-ar { font-size: 0.92em; }
.ftr__h { font-size: 0.8rem; }
.gcc__code { width: 34px; height: 34px; font-size: 0.8rem; }
.lang__opt { font-size: 0.8rem; }
.stage__box h3 { font-size: 0.8rem; }
.work-card__meta { font-size: 0.8rem; }
.ftr__hq, .line__k { font-size: 0.8rem; }
.opt { font-size: 0.85em; }
.opt .tx-ar { font-size: 1em; }
.hero__caption { font-size: 0.82rem; }
.hero__caption .tx-ar { font-size: 1em; }

/* Whole project card is clickable (bigger target for the title link) */
.work-card { position: relative; }
.work-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.work-card__title a:focus-visible { outline: none; }
.work-card__title a:focus-visible::after { outline: 2px solid var(--dc-purple); outline-offset: -2px; }

@media (max-width: 1024px) {
    .lang__opt { min-height: 40px; min-width: 44px; }
}
@media (max-width: 820px) {
    .chip, .seg button { min-height: 44px; }
    .lang__opt { min-height: 42px; }
    .ftr__logo { display: inline-flex; align-items: center; min-height: 44px; }
    .ftr__col a { display: inline-block; padding-block: 4px; min-height: 40px; }
    .cta__link, .link-arrow { min-height: 44px; }
    .pkg__alt { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; column-gap: 6px; min-height: 44px; }
}