/* Marvels — "عالم Marvels": a navy universe where each service owns one of four power colours.
   Navy bands frame every page; service pages re-tint their accents with --svc. */
:root {
  --bg: #FFFFFF;
  --surface: #F1F5F7;
  --surface-2: #E4ECF0;
  --fg: #14273A;
  --muted: #4A5D6B;
  --line: #D6E0E6;
  --navy: #12324A;
  --navy-2: #0E2A3F;
  --navy-ink: #FFFFFF;
  --navy-muted: #B9CAD6;
  --navy-line: #2C4C66;
  --orange: #F28C28; --orange-ink: #A9550A; --orange-on-navy: #F7A65A;
  --teal: #2B7A8A;   --teal-ink: #1F6573;   --teal-on-navy: #6FCAD8;
  --blue: #3E6DB5;   --blue-ink: #2F5A9E;   --blue-on-navy: #9BBAF0;
  --gold: #E9B84A;   --gold-ink: #85600A;   --gold-on-navy: #EEC66A;
  --seam-1: #F28C28; --seam-2: #2BB0C2; --seam-3: #5B8BD9; --seam-4: #E9B84A;
  --cta: #F28C28; --cta-hover: #F59E47; --cta-ink: #12324A;
  --ok: #1E7A4C; --ok-bg: #E4F4EA;
  --chat: #1E8C4E; --chat-ink: #FFFFFF;
  --svc: var(--navy); --svc-ink: var(--navy); --svc-on-navy: var(--navy-ink);

  --f-ar: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  --f-disp: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --r: 14px;
  --wrap: 1180px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B1822; --surface: #122533; --surface-2: #193246; --fg: #E7EEF3; --muted: #A3B5C2; --line: #24405A;
    --navy: #0F2B40; --navy-2: #0A2132; --navy-line: #2B5474;
    --orange-ink: #F7A65A; --teal-ink: #6FCAD8; --blue-ink: #9BBAF0; --gold-ink: #EEC66A;
    --ok: #6FD39C; --ok-bg: #133326;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0B1822; --surface: #122533; --surface-2: #193246; --fg: #E7EEF3; --muted: #A3B5C2; --line: #24405A;
  --navy: #0F2B40; --navy-2: #0A2132; --navy-line: #2B5474;
  --orange-ink: #F7A65A; --teal-ink: #6FCAD8; --blue-ink: #9BBAF0; --gold-ink: #EEC66A;
  --ok: #6FD39C; --ok-bg: #133326;
  color-scheme: dark;
}
body.svc-reels   { --svc: var(--orange); --svc-ink: var(--orange-ink); --svc-on-navy: var(--orange-on-navy); }
body.svc-podcast { --svc: var(--teal);   --svc-ink: var(--teal-ink);   --svc-on-navy: var(--teal-on-navy); }
body.svc-ads     { --svc: var(--blue);   --svc-ink: var(--blue-ink);   --svc-on-navy: var(--blue-on-navy); }
body.svc-studio  { --svc: var(--gold);   --svc-ink: var(--gold-ink);   --svc-on-navy: var(--gold-on-navy); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--f-ar); font-size: 17px; line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
html[lang="en"] body { line-height: 1.65; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--navy); }
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.3; text-wrap: balance; margin: 0; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3 { line-height: 1.15; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--cta); outline-offset: 3px; border-radius: 6px; }

.wrap {
  max-width: var(--wrap); margin-inline: auto; width: 100%;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.wordmark { font-family: var(--f-disp); font-weight: 900; font-stretch: 125%; letter-spacing: 0.01em; direction: ltr; unicode-bidi: isolate; }
.latin { font-family: var(--f-disp); direction: ltr; unicode-bidi: isolate; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-disp); font-weight: 600; font-size: 13px; letter-spacing: 0.32em; text-transform: uppercase;
}
html[lang="ar"] .eyebrow.ar { font-family: var(--f-ar); letter-spacing: 0; font-size: 15px; font-weight: 500; }
.seam { display: inline-flex; gap: 3px; flex-shrink: 0; }
.seam i { display: block; width: 14px; height: 4px; border-radius: 2px; }
.seam i:nth-child(1) { background: var(--seam-1); } .seam i:nth-child(2) { background: var(--seam-2); }
.seam i:nth-child(3) { background: var(--seam-3); } .seam i:nth-child(4) { background: var(--seam-4); }

/* ---------- header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--navy); color: var(--navy-ink); border-bottom: 1px solid var(--navy-line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-ink); }
.brand svg { width: 34px; height: 37px; color: var(--navy-ink); }
.brand .wordmark { font-size: 21px; }
.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: 16px; color: var(--navy-muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy-ink); background: rgba(255,255,255,0.08); }
.nav .lang { font-family: var(--f-disp); font-weight: 600; font-size: 14px; letter-spacing: 0.08em; border: 1px solid var(--navy-line); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 10px 22px; border-radius: 12px; border: 1px solid transparent;
  font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; line-height: 1.3;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-cta { background: var(--cta); color: var(--cta-ink); }
.btn-cta:hover { background: var(--cta-hover); }
.btn-ghost { border-color: var(--navy-line); color: var(--navy-ink); background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
.btn-line { border-color: var(--line); color: var(--fg); background: var(--bg); }
.btn-line:hover { background: var(--surface); }
.btn-chat { background: var(--chat); color: var(--chat-ink); }
.site-header .btn { min-height: 42px; padding: 8px 16px; font-size: 15px; }
.nav-toggle { display: none; margin-inline-start: auto; background: transparent; color: var(--navy-ink); border: 1px solid var(--navy-line); border-radius: 10px; width: 46px; height: 46px; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .js .nav { display: none; }
  .js .site-header.open .nav { display: flex; }
  .nav { position: absolute; inset-inline: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; background: var(--navy); border-bottom: 1px solid var(--navy-line);
    padding: 10px max(20px, env(safe-area-inset-right, 0px)) 18px max(20px, env(safe-area-inset-left, 0px)); }
  .nav a { padding: 12px; font-size: 17px; }
  .nav .btn { margin-top: 8px; }
  .site-header .wrap { flex-wrap: nowrap; }
}

/* ---------- bands ---------- */
.band-navy { background: var(--navy); color: var(--navy-ink); }
.band-navy p { color: var(--navy-muted); }
.band-surface { background: var(--surface); }
section { padding-block: 88px; }
@media (max-width: 700px) { section { padding-block: 60px; } }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { color: var(--muted); font-size: 18px; }
.band-navy .section-head p { color: var(--navy-muted); }

/* ---------- hero ---------- */
.hero { padding-block: 84px 92px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 48px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero .eyebrow { color: var(--navy-muted); align-self: flex-start; }
.hero h1 { font-size: clamp(36px, 6vw, 64px); }
html[lang="en"] .hero h1 { font-family: var(--f-disp); font-weight: 900; font-stretch: 112%; letter-spacing: -0.01em; }
.hero p.lead { font-size: 19px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-mark { justify-self: center; width: min(100%, 320px); color: var(--navy-ink); }
.hero-mark svg { width: 100%; height: auto; display: block; }
.svc-hero .hero-mark { width: min(100%, 260px); }
.svc-hero .eyebrow b { color: var(--svc-on-navy); font-weight: 700; }
@media (max-width: 800px) {
  .hero { padding-block: 52px 60px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .hero-mark { order: -1; width: 120px; justify-self: start; }
  .svc-hero .hero-mark { width: 104px; }
}

.launch { background: var(--surface-2); border-bottom: 1px solid var(--line); }
.launch .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding-block: 16px; font-size: 16px; }
.launch strong { font-weight: 700; }
.launch a { color: var(--orange-ink); font-weight: 700; text-underline-offset: 4px; }

/* ---------- service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1040px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-card { display: flex; flex-direction: column; gap: 14px; padding: 26px 24px; border-radius: var(--r); background: var(--surface); text-decoration: none; color: var(--fg); border: 1px solid transparent; transition: border-color .2s, transform .2s; min-width: 0; }
.svc-card:hover { border-color: var(--line); transform: translateY(-2px); }
.svc-card svg { width: 54px; height: 59px; }
.svc-card .name { font-family: var(--f-disp); font-weight: 900; font-stretch: 125%; font-size: 19px; direction: ltr; text-align: start; }
html[dir="rtl"] .svc-card .name { text-align: right; }
.svc-card p { color: var(--muted); font-size: 16px; flex: 1; }
.svc-card .more { font-weight: 700; font-size: 15px; }
.c-reels { color: var(--orange-ink); } .c-podcast { color: var(--teal-ink); } .c-ads { color: var(--blue-ink); } .c-studio { color: var(--gold-ink); }

/* ---------- why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
@media (max-width: 700px) { .why-grid { grid-template-columns: 1fr; } }
.why-item { padding-block: 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.why-item h3 { font-size: 21px; }
.why-item p { color: var(--muted); }

/* ---------- process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 2px solid var(--navy-line); min-width: 0; }
.steps li::before { content: counter(step); font-family: var(--f-disp); font-weight: 900; font-size: 30px; line-height: 1; color: var(--orange-on-navy); }
.steps h3 { font-size: 19px; }
.steps p { font-size: 15.5px; }

/* ---------- areas ---------- */
.areas { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.areas li { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font-weight: 500; }

/* ---------- cta band ---------- */
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.cta-band h2 { font-size: clamp(26px, 3.6vw, 36px); }
.cta-band p { margin-top: 10px; max-width: 36em; }

/* ---------- service page body ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 56px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 36px; } }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.checks li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.checks li:last-child { border-bottom: 0; }
.checks svg { width: 24px; height: 24px; margin-top: 4px; color: var(--svc-ink); }
.checks h3 { font-size: 18px; }
.checks p { color: var(--muted); font-size: 16px; }
.aside-box { background: var(--surface); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.aside-box h3 { font-size: 19px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { padding: 6px 14px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: 15px; }
.note { font-size: 15px; color: var(--muted); border-inline-start: 0; }
.h-svc { color: var(--svc-ink); }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; max-width: 520px; } }
.plan { display: flex; flex-direction: column; gap: 18px; padding: 30px 28px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg); min-width: 0; }
.plan .tag { align-self: flex-start; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--surface-2); color: var(--fg); }
.plan h3 { font-family: var(--f-disp); font-weight: 900; font-stretch: 125%; font-size: 22px; direction: ltr; }
html[dir="rtl"] .plan h3 { text-align: right; }
.plan .price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan .price b { font-family: var(--f-disp); font-weight: 900; font-size: 40px; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .price span { color: var(--muted); font-size: 15px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 16px; }
.plan li svg { width: 20px; height: 20px; margin-top: 5px; color: var(--orange-ink); }
.plan.featured { background: var(--navy); color: var(--navy-ink); border-color: var(--navy); }
.plan.featured .tag { background: var(--cta); color: var(--cta-ink); }
.plan.featured .price span { color: var(--navy-muted); }
.plan.featured li svg { color: var(--orange-on-navy); }
.plan .btn { width: 100%; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
table.rates { width: 100%; border-collapse: collapse; min-width: 520px; }
.rates th, .rates td { text-align: start; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.rates thead th { background: var(--surface); font-size: 14px; color: var(--muted); font-weight: 500; }
.rates tbody tr:last-child td { border-bottom: 0; }
.rates td.num { font-family: var(--f-disp); font-weight: 900; font-size: 20px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rates td small { display: block; color: var(--muted); font-size: 14px; }

.founders { border-radius: var(--r); background: var(--navy); color: var(--navy-ink); padding: 30px 32px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 32px; align-items: center; }
.founders p { color: var(--navy-muted); margin-top: 6px; }
.founders .big { font-family: var(--f-disp); font-weight: 900; font-size: 52px; line-height: 1; color: var(--orange-on-navy); }
@media (max-width: 640px) { .founders { grid-template-columns: 1fr; } }

.rules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 40px; }
@media (max-width: 700px) { .rules { grid-template-columns: 1fr; } }
.rules li { padding-block: 14px; border-top: 1px solid var(--line); }

.faq details { border-bottom: 1px solid var(--line); padding-block: 6px; }
.faq summary { cursor: pointer; padding-block: 14px; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-disp); font-weight: 900; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 14px; max-width: 46em; }

/* ---------- forms ---------- */
.form-card { background: var(--surface); border-radius: var(--r); padding: 32px; }
@media (max-width: 560px) { .form-card { padding: 22px 18px; } }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 15px; }
.field .hint { color: var(--muted); font-size: 14px; font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--fg); background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; min-height: 48px; width: 100%;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--cta); outline-offset: 1px; border-color: transparent; }
form.tried .field :invalid { border-color: #C0392B; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 24px; }
.form-actions .small { color: var(--muted); font-size: 14px; }
.estimate { margin-top: 20px; padding: 16px 18px; border-radius: 10px; background: var(--bg); border: 1px dashed var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; align-items: baseline; }
.estimate b { font-family: var(--f-disp); font-weight: 900; font-size: 24px; font-variant-numeric: tabular-nums; }
.result[hidden] { display: none; }
.result { margin-top: 22px; padding: 22px; border-radius: 12px; background: var(--ok-bg); display: flex; flex-direction: column; gap: 14px; }
.result h3 { font-size: 19px; color: var(--ok); }
.result pre { margin: 0; white-space: pre-wrap; word-break: break-word; font: inherit; font-size: 15px; background: var(--bg); border-radius: 8px; padding: 14px; border: 1px solid var(--line); max-height: 260px; overflow: auto; }
.result .row { display: flex; flex-wrap: wrap; gap: 10px; }

.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.contact-list li { display: flex; flex-direction: column; gap: 2px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list span { color: var(--muted); font-size: 14px; }
.contact-list b { font-weight: 700; overflow-wrap: anywhere; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-2); color: var(--navy-muted); padding-block: 56px 28px; font-size: 15.5px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(150px, 1fr)); gap: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { color: var(--navy-ink); font-size: 16px; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--navy-ink); text-decoration: underline; text-underline-offset: 4px; }
.site-footer .brand { margin-bottom: 14px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--navy-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 14px; }

/* ---------- floating chat ---------- */
.chat-fab {
  position: fixed; z-index: 40;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  inset-inline-end: max(18px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 16px; min-height: 52px; border-radius: 999px;
  background: var(--chat); color: var(--chat-ink); text-decoration: none; font-weight: 700; font-size: 16px;
  box-shadow: 0 8px 24px rgba(10, 30, 45, 0.28);
}
.chat-fab svg { width: 24px; height: 24px; }
@media (max-width: 480px) { .chat-fab span { display: none; } .chat-fab { padding: 14px; } }

.page-gap { display: flex; flex-direction: column; gap: 56px; }
.center-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mt { margin-top: 28px; }
.muted { color: var(--muted); }
.ph { background: var(--surface-2); border-radius: 4px; padding-inline: 4px; }

.site-footer .ph, .band-navy .ph { background: rgba(255,255,255,0.12); color: var(--navy-ink); }

/* ---------- experience ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fact { display: flex; flex-direction: column; gap: 6px; padding: 24px 22px; border-inline-start: 1px solid var(--line); min-width: 0; }
.fact:first-child { border-inline-start: 0; }
@media (max-width: 860px) { .fact:nth-child(3) { border-inline-start: 0; } .fact:nth-child(n+3) { border-top: 1px solid var(--line); } }
.fact b { font-size: 28px; font-weight: 700; line-height: 1.2; }
.fact span { color: var(--muted); font-size: 15px; }
.client-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1000px) { .client-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.client { border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 14px; min-width: 0; background: var(--bg); }
.logo-box { --mono: var(--navy); height: 120px; border-radius: 10px; background: #FFFFFF; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; padding: 16px; overflow: hidden; }
.logo-box img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.logo-box.sm { height: 72px; width: 120px; padding: 10px; }
.mono { --mono: var(--navy); width: 64px; height: 64px; flex-shrink: 0; border-radius: 14px; background: var(--mono); color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; font-family: var(--f-disp); }
.logo-box.sm .mono { width: 44px; height: 44px; font-size: 20px; border-radius: 10px; }
.c-orange-card { --mono: var(--orange); } .c-teal-card { --mono: var(--teal); } .c-blue-card { --mono: var(--blue); } .c-gold-card { --mono: var(--gold); color: #12324A; }
html[lang="ar"] .mono { font-family: var(--f-ar); }
.client-text { display: flex; flex-direction: column; gap: 4px; padding-inline: 4px; }
.client h3 { font-size: 18px; line-height: 1.4; }
.client-sector { color: var(--muted); font-size: 14.5px; }
.logo-strip { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 16px 22px; }
.logo-strip li { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); text-align: center; max-width: 120px; }

/* ---------- articles ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; gap: 14px; padding: 26px 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg); text-decoration: none; color: var(--fg); transition: border-color .2s, transform .2s; min-width: 0; }
.post-card:hover { border-color: var(--muted); transform: translateY(-2px); }
.post-tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; letter-spacing: 0.18em; }
.post-tag svg { width: 22px; height: 24px; }
.post-card h3 { font-size: 21px; line-height: 1.45; }
html[lang="en"] .post-card h3 { line-height: 1.3; }
.post-card p { color: var(--muted); font-size: 16px; flex: 1; }
.post-meta { color: var(--muted); font-size: 14px; }
.article-head { max-width: 820px; }
.article-head h1 { font-size: clamp(30px, 4.6vw, 48px); }
.back { color: var(--navy-muted); text-decoration: none; font-size: 15px; align-self: flex-start; }
.back:hover { color: var(--navy-ink); }
.post-meta-light { color: var(--navy-muted); font-size: 15px; }
.prose { max-width: 720px; display: flex; flex-direction: column; gap: 18px; font-size: 18px; }
.prose h2 { font-size: 25px; margin-top: 18px; }
.prose ul, .prose ol { margin: 0; padding-inline-start: 1.3em; display: flex; flex-direction: column; gap: 10px; }
.prose li::marker { color: var(--svc-ink); font-weight: 700; }
.article-cta { margin-top: 22px; padding: 26px; border-radius: var(--r); background: var(--surface); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.article-cta p { font-weight: 700; font-size: 18px; max-width: 30em; }
.post-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; background: var(--surface); }
.post-hero-img { margin: 0 0 8px; }
.post-hero-img img, .prose figure img { width: 100%; height: auto; border-radius: var(--r); display: block; }
.prose figure { margin: 8px 0; }
.prose a { color: var(--svc-ink); text-underline-offset: 4px; }
