/* ==========================================================================
   Code Zzone — design system
   Brand colors: pink #ff589e, teal #33cccc, purple #a759d1 (unchanged).
   One stylesheet for every page; rtl.css adds the Arabic overrides.
   ========================================================================== */

:root {
  --pink: #ff589e;
  --teal: #33cccc;
  --purple: #a759d1;
  --violet: #7c5cf5;

  --ink: #0e0b1c;          /* dark sections */
  --ink-2: #161229;
  --ink-3: #221c3d;
  --bg: #ffffff;
  --soft: #f6f4fd;
  --surface: #ffffff;
  --text: #15121f;
  --muted: #6a6680;
  --line: #ebe7f6;
  --on-dark: #f5f3ff;
  --on-dark-muted: #b4aecf;

  --grad: linear-gradient(127deg, var(--purple) 0%, var(--teal) 100%);
  --grad-hot: linear-gradient(120deg, var(--pink) 0%, var(--purple) 100%);
  --grad-text: linear-gradient(100deg, var(--pink) 0%, var(--purple) 50%, var(--teal) 100%);

  --shadow-sm: 0 2px 10px rgba(30, 16, 70, .06);
  --shadow: 0 12px 40px rgba(30, 16, 70, .09);
  --shadow-lg: 0 28px 70px rgba(30, 16, 70, .18);
  --glow: 0 18px 40px rgba(255, 88, 158, .32);

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --container: 1200px;
  --header-h: 76px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

:root[data-theme="dark"] {
  --bg: #0b0917;
  --soft: #120f22;
  --surface: #171329;
  --text: #f3f1fb;
  --muted: #a7a2c2;
  --line: #29233f;
  --shadow: 0 12px 40px rgba(0, 0, 0, .35);
  --shadow-lg: 0 28px 70px rgba(0, 0, 0, .5);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; overflow-x: clip; font-family: var(--font); font-size: 16px; line-height: 1.7;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased;
  transition: background .3s, color .3s;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.025em; font-weight: 800; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--pink); color: #fff; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 40px, 820px); }
.section { padding: 110px 0; position: relative; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--tight { padding: 70px 0; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 15px/1 var(--font); white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s;
}
.btn i { font-size: 14px; transition: transform .25s var(--ease); }
.btn:hover i.fa-arrow-right { transform: translateX(4px); }
.btn--primary { color: #fff; background: var(--grad-hot); box-shadow: var(--glow); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 22px 48px rgba(255, 88, 158, .42); }
.btn--teal { color: #fff; background: var(--teal); box-shadow: 0 16px 36px rgba(51, 204, 204, .35); }
.btn--teal:hover { transform: translateY(-2px); background: #2bb8b8; }
.btn--ghost { color: var(--text); background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--purple); color: var(--purple); }
.btn--light { color: var(--ink); background: #fff; }
.btn--light:hover { transform: translateY(-2px); }
.btn--outline-light { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .04); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); }
.btn--whatsapp { color: #fff; background: #25d366; }
.btn--whatsapp:hover { transform: translateY(-2px); background: #1fbe5b; }
.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; color: var(--purple); }
.link-arrow i { transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--pink); }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Eyebrow + section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  padding: 7px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; color: var(--purple);
  background: color-mix(in srgb, var(--purple) 10%, transparent);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad-hot); }
.section--dark .eyebrow { color: #fff; background: rgba(255, 255, 255, .08); }
.section-head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 48px); }
.section-head p { font-size: 18px; color: var(--muted); margin: 0; }
.section--dark .section-head p { color: var(--on-dark-muted); }
.section-head--start { margin-inline: 0; text-align: start; }
.section-head-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.section-head-row .section-head { margin: 0; text-align: start; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(30, 16, 70, .06); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { flex: none; display: flex; align-items: center; }
.brand img { height: 46px; width: auto; border-radius: 10px; }
.nav { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav > a, .nav__drop > button {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px;
  font-weight: 600; font-size: 15px; color: var(--muted); background: none; border: 0; cursor: pointer;
  transition: color .2s, background .2s;
}
.nav > a:hover, .nav__drop > button:hover, .nav__drop:focus-within > button { color: var(--text); background: var(--soft); }
.nav > a.is-active, .nav__drop.is-active > button { color: var(--text); }
.nav > a.is-active::after, .nav__drop.is-active > button::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grad-hot); }
.nav__drop { position: relative; }
.nav__drop > button i { font-size: 11px; transition: transform .2s; }
.nav__drop:hover > button i, .nav__drop:focus-within > button i { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 8px; width: min(860px, 90vw);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 8px; padding: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: opacity .2s, translate .2s var(--ease), visibility .2s;
}
.mega::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.nav__drop:hover .mega, .nav__drop:focus-within .mega { opacity: 1; visibility: visible; translate: -50% 0; }
.mega__col { padding: 10px; }
.mega__title { margin: 0 0 8px; padding: 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mega__link { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; transition: background .2s; }
.mega__link:hover { background: var(--soft); }
.mega__link .ico { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: var(--grad); font-size: 16px; }
.mega__link:nth-child(odd) .ico { background: var(--grad-hot); }
.mega__link strong { display: block; font-size: 14.5px; line-height: 1.3; }
.mega__link small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.mega__all { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-radius: 14px; background: var(--soft); font-weight: 700; font-size: 14px; }
.mega__all:hover { color: var(--purple); }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; border: 1px solid var(--line); transition: border-color .2s, color .2s; }
.lang-switch:hover { border-color: var(--purple); color: var(--purple); }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; display: grid; place-items: center; font-size: 16px; }
.icon-btn:hover { border-color: var(--purple); color: var(--purple); }
.menu-toggle { display: none; }

@media (max-width: 1100px) {
  .menu-toggle { display: grid; }
  .header-actions .btn, .header-actions .lang-switch { display: none; }
  .header-actions { margin-inline-start: auto; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; margin: 0;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 20px 20px 40px;
    background: var(--bg); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .3s var(--ease), opacity .3s, visibility .3s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav > a, .nav__drop > button { padding: 15px 16px; font-size: 17px; width: 100%; justify-content: space-between; }
  .mega { position: static; translate: none; width: 100%; grid-template-columns: 1fr; box-shadow: none; opacity: 1; visibility: visible; display: none; margin: 4px 0 8px; }
  .nav__drop.is-open .mega { display: grid; }
  .nav__drop:hover .mega { translate: none; }
  .nav__mobile-extra { display: flex !important; flex-direction: column; gap: 12px; margin-top: 18px; }
}
.nav__mobile-extra { display: none; }

/* ---------- Dark hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 90px 0 120px; background: var(--ink); color: var(--on-dark);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(600px 400px at 85% 15%, rgba(167, 89, 209, .45), transparent 60%),
    radial-gradient(500px 380px at 10% 85%, rgba(51, 204, 204, .30), transparent 60%),
    radial-gradient(420px 320px at 55% 105%, rgba(255, 88, 158, .35), transparent 60%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 60px; align-items: center; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; margin-bottom: 26px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--on-dark); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.hero__badge b { padding: 4px 10px; border-radius: 999px; font-size: 12px; color: #fff; background: var(--grad-hot); }
.hero h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.04; letter-spacing: -.035em; margin-bottom: 22px; }
.hero h1 strong, .hero h1 em { font-style: normal; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: 19px; color: var(--on-dark-muted); max-width: 560px; margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 36px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, .1); }
.hero__proof strong { display: block; font-size: 34px; line-height: 1.1; font-weight: 800; color: #fff; }
.hero__proof span { font-size: 14px; color: var(--on-dark-muted); }

/* hero visual: phone + floating cards */
.hero__visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.phone {
  position: relative; width: 270px; aspect-ratio: 9 / 19; padding: 12px; border-radius: 44px;
  background: linear-gradient(160deg, #2a2348, #120f22); box-shadow: 0 40px 90px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .12);
  animation: float 8s ease-in-out infinite;
}
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; translate: -50% 0; width: 90px; height: 24px; border-radius: 20px; background: #0b0917; z-index: 2; }
.phone__screen { width: 100%; height: 100%; overflow: hidden; border-radius: 34px; background: #fff; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 18px;
  border-radius: 18px; color: var(--on-dark); background: rgba(30, 24, 56, .72); border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
  animation: float 7s ease-in-out infinite; font-size: 14px;
}
.float-card .ico { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: var(--grad-hot); font-size: 17px; }
.float-card strong { display: block; font-size: 15px; color: #fff; }
.float-card small { color: var(--on-dark-muted); }
.float-card--1 { top: 34%; left: -4%; animation-delay: -2s; }
.float-card--2 { bottom: 14%; right: -4%; animation-delay: -4s; }
.float-card--2 .ico { background: var(--grad); }
.float-card--3 { bottom: 2%; left: 4%; animation-delay: -1s; }
.float-card--3 .ico { background: var(--teal); }
.code-card { position: absolute; top: -2%; right: -8%; padding: 16px 18px; border-radius: 16px; font: 500 12.5px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; color: #d9d4f5; background: rgba(14, 11, 28, .85); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 20px 50px rgba(0, 0, 0, .35); animation: float 9s ease-in-out infinite; animation-delay: -3s; direction: ltr; text-align: left; }
.code-card .k { color: var(--pink); } .code-card .s { color: var(--teal); } .code-card .f { color: #c9a7ff; }
@keyframes float { 50% { translate: 0 -14px; } }

/* ---------- Logo strip ---------- */
.logos { padding: 36px 0; border-bottom: 1px solid var(--line); background: var(--bg); }
.logos__label { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.marquee { overflow: hidden; direction: ltr; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 56px; width: max-content; animation: scroll 45s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__logo { flex: none; height: 54px; display: grid; place-items: center; }
.marquee__logo img { max-height: 54px; max-width: 140px; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .3s, opacity .3s; }
.marquee__logo:hover img { filter: none; opacity: 1; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  position: relative; display: flex; flex-direction: column; padding: 30px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
a.card:hover, .card--hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; }
.card .link-arrow { margin-top: auto; padding-top: 20px; }
.ico-box { width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 16px; color: #fff; font-size: 23px; background: var(--grad-hot); box-shadow: 0 12px 26px rgba(255, 88, 158, .28); }
.ico-box--teal { background: var(--grad); box-shadow: 0 12px 26px rgba(51, 204, 204, .28); }
.ico-box--soft { color: var(--purple); background: color-mix(in srgb, var(--purple) 12%, transparent); box-shadow: none; }

/* Bento services */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bento .card:first-child { grid-row: span 2; color: var(--on-dark); background: var(--ink); border-color: var(--ink); overflow: hidden; }
.bento .card:first-child::before { content: ""; position: absolute; inset: auto -30% -40% auto; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(167, 89, 209, .55), transparent 65%); pointer-events: none; }
.bento .card:first-child h3 { font-size: 28px; }
.bento .card:first-child p { color: var(--on-dark-muted); font-size: 16.5px; }
.bento .card:first-child .link-arrow { color: #fff; }
.bento .card:nth-child(3n) .ico-box { background: var(--grad); box-shadow: 0 12px 26px rgba(51, 204, 204, .28); }
.bento__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.bento__tags span { padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento .card:first-child { grid-column: 1 / -1; grid-row: auto; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } }

/* Industry tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile { display: flex; align-items: center; gap: 16px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--purple) 35%, var(--line)); }
.tile .ico-box { flex: none; width: 48px; height: 48px; margin: 0; font-size: 19px; border-radius: 14px; }
.tile:nth-child(even) .ico-box { background: var(--grad); }
.tile h4 { margin: 0 0 2px; font-size: 16px; line-height: 1.3; }
.tile p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }

/* ---------- Why us / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split--60 { grid-template-columns: 1.15fr .85fr; }
.split h2 { font-size: clamp(30px, 4vw, 46px); }
.split .lead { font-size: 18px; color: var(--muted); }
.section--dark .split .lead { color: var(--on-dark-muted); }
.checks { display: grid; gap: 16px; margin: 28px 0 34px; }
.checks li { display: flex; gap: 14px; }
.checks li::before { content: "\f00c"; font-family: FontAwesome; flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; font-size: 12px; color: #fff; background: var(--grad); margin-top: 2px; }
.checks strong { display: block; }
.checks span { color: var(--muted); font-size: 15px; }
.section--dark .checks span { color: var(--on-dark-muted); }
.media-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.media-frame img { width: 100%; }
@media (max-width: 960px) { .split, .split--60 { grid-template-columns: 1fr; gap: 44px; } }

.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.stat { padding: 28px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.section--dark .stat { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.stat strong { display: block; font-size: 46px; line-height: 1; font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-weight: 600; }
.section--dark .stat span { color: var(--on-dark-muted); }

/* ---------- Case studies ---------- */
.case { display: grid; grid-template-columns: 1.1fr .9fr; overflow: hidden; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: box-shadow .35s, transform .35s var(--ease); }
.case + .case { margin-top: 28px; }
.case:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.case:nth-child(even) .case__media { order: 2; }
.case__media { position: relative; min-height: 340px; background: var(--soft); overflow: hidden; }
.case__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.case:hover .case__media img { transform: scale(1.04); }
.case__body { display: flex; flex-direction: column; justify-content: center; padding: 48px; }
.case__body h3 { font-size: 30px; }
.case__body p { color: var(--muted); font-size: 17px; }
@media (max-width: 860px) { .case { grid-template-columns: 1fr; } .case:nth-child(even) .case__media { order: 0; } .case__media { min-height: 240px; } .case__body { padding: 30px; } }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 22px; }
.tags span, .tag { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--purple); background: color-mix(in srgb, var(--purple) 10%, transparent); }

/* Project cards (portfolio grid) */
.project { display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: transform .35s var(--ease), box-shadow .35s; }
.project:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project__media { position: relative; display: block; aspect-ratio: 16 / 11; overflow: hidden; background: var(--soft); }
.project__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.project:hover .project__media img { transform: scale(1.05); }
.project__tag { position: absolute; top: 14px; left: 14px; padding: 5px 13px; border-radius: 999px; font-size: 12px; font-weight: 800; color: #fff; background: rgba(14, 11, 28, .7); backdrop-filter: blur(8px); }
.project__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.project__body h3 { font-size: 19px; margin-bottom: 6px; }
.project__body h3 a:hover { color: var(--purple); }
.project__body p { flex: 1; color: var(--muted); font-size: 14.5px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.project__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.project__links { display: flex; gap: 8px; }
.project__links a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: var(--text); background: var(--soft); border: 1px solid var(--line); transition: all .2s; }
.project__links a:hover { color: #fff; background: var(--grad-hot); border-color: transparent; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(var(--n, 6), 1fr); gap: 18px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--pink), var(--purple), var(--teal)); opacity: .5; }
.step { position: relative; text-align: center; }
.step__num { position: relative; z-index: 1; width: 56px; height: 56px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; font-weight: 800; color: #fff; background: var(--grad-hot); box-shadow: 0 0 0 6px var(--bg); }
.section--soft .step__num { box-shadow: 0 0 0 6px var(--soft); }
.section--dark .step__num { box-shadow: 0 0 0 6px var(--ink); }
.step:nth-child(even) .step__num { background: var(--grad); }
.step h4 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); margin: 0; }
.section--dark .step p { color: var(--on-dark-muted); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(3, 1fr); row-gap: 36px; } .steps::before { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: repeat(2, 1fr); } }

.timeline { position: relative; max-width: 780px; margin: 0 auto; padding-inline-start: 84px; }
.timeline::before { content: ""; position: absolute; inset-inline-start: 27px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--pink), var(--purple), var(--teal)); }
.timeline li { position: relative; margin-bottom: 26px; }
.timeline__num { position: absolute; inset-inline-start: -84px; top: 18px; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; font-weight: 800; color: #fff; background: var(--grad-hot); box-shadow: 0 0 0 6px var(--bg); }
.timeline .card { padding: 26px 30px; }

/* ---------- Tech chips ---------- */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 700; background: var(--surface); border: 1px solid var(--line); transition: all .25s; }
.chips li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad-hot); }
.chips li:hover { transform: translateY(-3px); border-color: var(--purple); box-shadow: var(--shadow-sm); }
.section--dark .chips li { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); color: var(--on-dark); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { display: flex; flex-direction: column; padding: 30px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.quote__stars { color: #ffb627; letter-spacing: 2px; margin-bottom: 14px; }
.quote blockquote { margin: 0 0 22px; font-size: 16.5px; flex: 1; }
.quote__who { display: flex; align-items: center; gap: 12px; }
.quote__who img, .quote__avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--grad-hot); }
.quote__who strong { display: block; font-size: 15px; }
.quote__who small { color: var(--muted); }
@media (max-width: 1000px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 30px); }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; gap: 30px; } .faq-layout .section-head { position: static; } }
.faq { display: grid; gap: 12px; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); transition: border-color .25s, box-shadow .25s; }
.faq__item[open] { border-color: color-mix(in srgb, var(--purple) 45%, var(--line)); box-shadow: var(--shadow-sm); }
.faq__item summary { cursor: pointer; list-style: none; position: relative; padding: 20px 60px 20px 24px; font-weight: 700; font-size: 16.5px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; translate: 0 -50%; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; font-size: 20px; line-height: 1; color: var(--purple); background: color-mix(in srgb, var(--purple) 12%, transparent); transition: rotate .25s, background .25s, color .25s; }
.faq__item[open] summary::after { rotate: 45deg; color: #fff; background: var(--grad-hot); }
.faq__answer { padding: 0 24px 22px; color: var(--muted); }
.faq__answer p:last-child { margin-bottom: 0; }

/* ---------- CTA ---------- */
.cta { padding: 0 0 110px; }
.section--soft + .cta, .section--dark + .cta, .page-hero + .cta, .logos + .cta { padding-top: 110px; }
.cta__box { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1.3fr auto; align-items: center; gap: 30px; padding: 64px; border-radius: var(--r-lg); color: #fff; background: var(--ink); }
.cta__box::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px 300px at 90% 0%, rgba(255, 88, 158, .5), transparent 60%), radial-gradient(500px 300px at 0% 100%, rgba(51, 204, 204, .4), transparent 60%), radial-gradient(400px 260px at 50% 50%, rgba(167, 89, 209, .35), transparent 70%); }
.cta__box h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 12px; }
.cta__box p { margin: 0; font-size: 17.5px; color: var(--on-dark-muted); max-width: 560px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .cta__box { grid-template-columns: 1fr; padding: 40px 28px; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: 80px 0 90px; color: var(--on-dark); background: var(--ink); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(520px 320px at 85% 0%, rgba(167, 89, 209, .5), transparent 65%), radial-gradient(460px 300px at 5% 100%, rgba(51, 204, 204, .28), transparent 65%), radial-gradient(360px 240px at 50% 120%, rgba(255, 88, 158, .3), transparent 65%); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .4; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent); }
.page-hero h1 { font-size: clamp(36px, 5vw, 60px); max-width: 860px; }
.page-hero h1 strong { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero__lead { max-width: 680px; font-size: 19px; color: var(--on-dark-muted); margin: 0; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.page-hero--center { text-align: center; }
.page-hero--center h1, .page-hero--center .page-hero__lead { margin-inline: auto; }
.page-hero--center .page-hero__actions, .page-hero--center .crumbs { justify-content: center; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; font-size: 14px; color: var(--on-dark-muted); }
.crumbs a:hover { color: #fff; }
.crumbs i { font-size: 10px; opacity: .6; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; font-size: 14.5px; color: var(--on-dark-muted); }
.page-hero__meta strong { color: #fff; }

/* ---------- Service / case-study detail ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.detail__aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
@media (max-width: 1000px) { .detail { grid-template-columns: 1fr; } .detail__aside { position: static; } }
.aside-card { padding: 26px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.aside-card--dark { color: var(--on-dark); background: var(--ink); border-color: var(--ink); position: relative; overflow: hidden; }
.aside-card--dark::before { content: ""; position: absolute; inset: -40% -40% auto auto; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 88, 158, .45), transparent 65%); pointer-events: none; }
.aside-card h3 { font-size: 20px; }
.aside-card p { font-size: 15px; color: var(--muted); }
.aside-card--dark p { color: var(--on-dark-muted); }
.aside-card .btn + .btn { margin-top: 10px; }
.aside-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.aside-list a:last-child { border: 0; }
.aside-list a:hover, .aside-list a.is-active { color: var(--purple); }
.facts { display: grid; gap: 12px; margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts div:last-child { border: 0; padding: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; text-align: end; }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 34px 0 10px; }
.feature { display: flex; gap: 16px; padding: 22px; border-radius: var(--r); background: var(--soft); }
.feature .ico-box { flex: none; width: 44px; height: 44px; margin: 0; font-size: 17px; border-radius: 12px; }
.feature:nth-child(even) .ico-box { background: var(--grad); }
.feature h4 { font-size: 16.5px; margin-bottom: 4px; }
.feature p { margin: 0; font-size: 14.5px; color: var(--muted); }
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } }

.detail__block + .detail__block { margin-top: 64px; }
.detail__block > h2 { font-size: clamp(26px, 3vw, 34px); }

/* ---------- Prose (rich text) ---------- */
.prose { font-size: 17.5px; line-height: 1.85; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { margin: 44px 0 14px; font-size: 28px; }
.prose h3 { margin: 32px 0 10px; font-size: 22px; }
.prose p, .prose li { color: color-mix(in srgb, var(--text) 82%, transparent); }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-inline-start: 1.4em; list-style: revert; }
.prose li { margin-bottom: 10px; }
.prose li::marker { color: var(--pink); font-weight: 800; }
.prose a { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--r); margin: 28px 0; }
.prose blockquote { margin: 32px 0; padding: 22px 28px; border-inline-start: 4px solid var(--pink); border-radius: var(--r-sm); background: var(--soft); font-weight: 600; }

/* ---------- Filters / search ---------- */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 36px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button, .filters a { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: 700 14px var(--font); cursor: pointer; transition: all .2s; }
.filters button span { margin-inline-start: 6px; opacity: .55; font-weight: 600; }
.filters button:hover, .filters a:hover { border-color: var(--purple); color: var(--purple); }
.filters .is-active { color: #fff !important; background: var(--grad-hot); border-color: transparent; box-shadow: 0 10px 22px rgba(255, 88, 158, .3); }
.search { display: flex; align-items: center; gap: 10px; min-width: 280px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.search:focus-within { border-color: var(--purple); }
.search i { color: var(--muted); }
.search input { flex: 1; padding: 13px 0; border: 0; outline: 0; background: transparent; color: var(--text); font: 500 15px var(--font); }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }
.solution-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 26px; }
.solution-chips > span { font-weight: 800; margin-inline-end: 6px; }
.solution-chips a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 999px; font-size: 13.5px; font-weight: 700; background: var(--soft); border: 1px solid var(--line); transition: all .2s; }
.solution-chips a i { color: var(--purple); }
.solution-chips a:hover { color: #fff; background: var(--grad); border-color: transparent; }
.solution-chips a:hover i { color: #fff; }

/* ---------- Blog ---------- */
.post-card, .post-feature { position: relative; display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: transform .35s var(--ease), box-shadow .35s; }
.post-card:hover, .post-feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card__link { position: absolute; inset: 0; z-index: 2; }
.post-cover { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; color: rgba(255, 255, 255, .92); font-size: 52px; background: var(--grad-hot); }
.post-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-cover--2 { background: var(--grad); }
.post-cover--3 { background: linear-gradient(135deg, var(--ink-3), var(--purple)); }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.post-card__body h3 { font-size: 19px; margin-bottom: 8px; }
.post-card__body p { flex: 1; color: var(--muted); font-size: 15px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-bottom: 12px; font-size: 13px; font-weight: 600; color: var(--muted); }
.post-feature { display: grid; grid-template-columns: 1.1fr 1fr; margin-bottom: 48px; }
.post-feature .post-cover { aspect-ratio: auto; min-height: 340px; font-size: 90px; }
.post-feature__body { padding: 44px; align-self: center; }
.post-feature__body h2 { font-size: clamp(24px, 3vw, 34px); }
.post-feature__body p { color: var(--muted); font-size: 17px; margin-bottom: 24px; }
@media (max-width: 860px) { .post-feature { grid-template-columns: 1fr; } .post-feature .post-cover { min-height: 200px; } .post-feature__body { padding: 28px; } }
.post-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 56px; padding: 32px; border-radius: var(--r); color: #fff; background: var(--ink); position: relative; overflow: hidden; isolation: isolate; }
.post-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(400px 220px at 100% 0%, rgba(255, 88, 158, .45), transparent 60%); }
.post-cta h3 { margin-bottom: 6px; font-size: 22px; }
.post-cta p { margin: 0; max-width: 460px; color: var(--on-dark-muted); }
.share { display: flex; align-items: center; gap: 10px; margin-top: 36px; font-weight: 700; }
.share a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); transition: all .2s; }
.share a:hover { color: #fff; background: var(--grad-hot); border-color: transparent; }

/* ---------- Partners ---------- */
.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.logo-tile { display: grid; place-items: center; aspect-ratio: 16 / 10; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: transform .3s var(--ease), box-shadow .3s; }
.logo-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.logo-tile img { max-width: 100%; max-height: 100%; object-fit: contain; }
@media (max-width: 900px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .logo-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* ---------- Contact / quote form ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
.contact-list { display: grid; gap: 14px; margin: 28px 0; }
.contact-list li a, .contact-list li > div { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); transition: border-color .2s; }
.contact-list li a:hover { border-color: var(--purple); }
.contact-list .ico-box { flex: none; width: 46px; height: 46px; margin: 0; font-size: 18px; border-radius: 12px; }
.contact-list small { display: block; color: var(--muted); font-weight: 600; font-size: 13px; }
.contact-list strong { font-size: 15.5px; }
.form { display: grid; gap: 18px; padding: 36px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form h2 { font-size: 26px; margin: 0; }
.form > p { margin: -8px 0 0; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } .form { padding: 24px; } }
.field { display: grid; gap: 7px; font-weight: 700; font-size: 14px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: var(--r-sm); border: 1.5px solid var(--line);
  background: var(--bg); color: var(--text); font: 500 15px var(--font); resize: vertical; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--purple); box-shadow: 0 0 0 4px color-mix(in srgb, var(--purple) 16%, transparent); }
.field .is-invalid { border-color: #e5484d; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { cursor: pointer; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: 14px; transition: all .2s; }
.pills input:checked + span { color: #fff; background: var(--grad-hot); border-color: transparent; }
.pills input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.form-note { margin: 0; font-size: 13px; color: var(--muted); }
.alert { padding: 14px 18px; border-radius: var(--r-sm); font-weight: 600; }
.alert--ok { color: #0f7a52; background: #e3f8ef; }
.alert--error { color: #b42318; background: #fdecea; }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; padding: 90px 0 0; color: var(--on-dark-muted); background: var(--ink); }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--pink), var(--purple), var(--teal), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; padding-bottom: 60px; }
.footer-brand img { height: 52px; width: auto; border-radius: 10px; margin-bottom: 20px; }
.footer-brand p { max-width: 340px; }
.footer-grid h4 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.footer-grid li { margin-bottom: 11px; font-size: 15px; }
.footer-grid li a:hover { color: #fff; }
.footer-grid li i { width: 22px; color: var(--teal); }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); transition: all .2s; }
.social a:hover { background: var(--grad-hot); border-color: transparent; transform: translateY(-3px); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 90; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-size: 28px; background: #25d366; box-shadow: 0 14px 30px rgba(37, 211, 102, .45); transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ping 2.4s ease-out infinite; }
@keyframes ping { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound strong { display: block; font-size: clamp(90px, 18vw, 180px); line-height: 1; font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; }
}

/* ---------- Responsive spacing ---------- */
@media (max-width: 960px) {
  .hero { padding: 60px 0 90px; }
  .hero__grid { grid-template-columns: 1fr; gap: 50px; }
  .hero__visual { min-height: 460px; }
  .section-head-row { flex-direction: column; align-items: start; }
}
@media (max-width: 640px) {
  .section { padding: 76px 0; }
  .cta { padding-bottom: 76px; }
  .hero__visual { min-height: 420px; transform: scale(.88); }
  .code-card { display: none; }
  .hero__proof { gap: 24px; }
  .hero__proof strong { font-size: 28px; }
}

/* Editor (Quill) output puts <p> inside headings/spans: keep it inline so titles don't break into blocks. */
h1 > p, h2 > p, h3 > p, h4 > p, h5 > p, h6 > p,
.hero__badge p, .btn p, .chips p, .eyebrow p { display: inline; margin: 0; font: inherit; letter-spacing: inherit; color: inherit; }

/* Service detail cover image */
.detail__cover { margin: 0 0 32px; border-radius: 18px; overflow: hidden; }
.detail__cover img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

/* Desktop mega menu: three columns, centred under the header so it never leaves the viewport (LTR + RTL). */
@media (min-width: 1101px) {
  .nav__drop { position: static; }
  .site-header .container { position: relative; }
  .mega { left: 50%; right: auto; translate: -50% 8px; width: min(1000px, calc(100vw - 32px)); grid-template-columns: repeat(3, 1fr); }
  .nav__drop:hover .mega, .nav__drop:focus-within .mega { translate: -50% 0; }
  .mega__link strong { font-size: 14px; }
}

/* Mobile menu: backdrop-filter on the header made it the containing block of the fixed .nav, collapsing the open menu to ~0 height. */
@media (max-width: 1100px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
}

/* TikTok icon (not in the bundled Font Awesome 4): drawn with a CSS mask so it inherits the link colour. */
.fa-tiktok::before {
  content: ""; display: inline-block; width: 1em; height: 1em; vertical-align: -0.125em; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.6 6.7a4.8 4.8 0 0 1-3.8-4.2h-3.3v13.6a2.9 2.9 0 1 1-2-2.8V9.9a6.3 6.3 0 1 0 5.3 6.2V9.2a8 8 0 0 0 4.7 1.5V7.3a4.8 4.8 0 0 1-.9-.6z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.6 6.7a4.8 4.8 0 0 1-3.8-4.2h-3.3v13.6a2.9 2.9 0 1 1-2-2.8V9.9a6.3 6.3 0 1 0 5.3 6.2V9.2a8 8 0 0 0 4.7 1.5V7.3a4.8 4.8 0 0 1-.9-.6z'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* Custom icon set for the service tiles: angular, 2px strokes, drawn as masks so they take the tile colour. */
.ico-box .fa-mobile::before,
.ico .fa-mobile::before,
.float-card .ico .fa-mobile::before { content: ""; display: block; width: 1em; height: 1em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Cpath%20d%3D%27M7%202h10v20H7z%27%2F%3E%3Cpath%20d%3D%27M10.5%2018h3%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Cpath%20d%3D%27M7%202h10v20H7z%27%2F%3E%3Cpath%20d%3D%27M10.5%2018h3%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
.ico-box .fa-bolt::before,
.ico .fa-bolt::before,
.float-card .ico .fa-bolt::before { content: ""; display: block; width: 1em; height: 1em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Cpath%20d%3D%27M13%202L5%2014h6l-1%208%208-12h-6z%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Cpath%20d%3D%27M13%202L5%2014h6l-1%208%208-12h-6z%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
.ico-box .fa-globe::before,
.ico .fa-globe::before,
.float-card .ico .fa-globe::before { content: ""; display: block; width: 1em; height: 1em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%279%27%2F%3E%3Cpath%20d%3D%27M3%2012h18M12%203c3%203%203%2015%200%2018M12%203c-3%203-3%2015%200%2018%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%279%27%2F%3E%3Cpath%20d%3D%27M3%2012h18M12%203c3%203%203%2015%200%2018M12%203c-3%203-3%2015%200%2018%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
.ico-box .fa-cogs::before,
.ico .fa-cogs::before,
.float-card .ico .fa-cogs::before { content: ""; display: block; width: 1em; height: 1em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%273.5%27%2F%3E%3Cpath%20d%3D%27M12%202v3M12%2019v3M2%2012h3M19%2012h3M5%205l2%202M17%2017l2%202M19%205l-2%202M7%2017l-2%202%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%273.5%27%2F%3E%3Cpath%20d%3D%27M12%202v3M12%2019v3M2%2012h3M19%2012h3M5%205l2%202M17%2017l2%202M19%205l-2%202M7%2017l-2%202%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
.ico-box .fa-paint-brush::before,
.ico .fa-paint-brush::before,
.float-card .ico .fa-paint-brush::before { content: ""; display: block; width: 1em; height: 1em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Cpath%20d%3D%27M4%2020l1-4L16%205l3%203L8%2019z%27%2F%3E%3Cpath%20d%3D%27M14%207l3%203%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Cpath%20d%3D%27M4%2020l1-4L16%205l3%203L8%2019z%27%2F%3E%3Cpath%20d%3D%27M14%207l3%203%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
.ico-box .fa-server::before,
.ico .fa-server::before,
.float-card .ico .fa-server::before { content: ""; display: block; width: 1em; height: 1em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Cpath%20d%3D%27M3%204h18v6H3zM3%2014h18v6H3z%27%2F%3E%3Cpath%20d%3D%27M6.5%207h2M6.5%2017h2%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Cpath%20d%3D%27M3%204h18v6H3zM3%2014h18v6H3z%27%2F%3E%3Cpath%20d%3D%27M6.5%207h2M6.5%2017h2%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
.ico-box .fa-th-large::before,
.ico .fa-th-large::before,
.float-card .ico .fa-th-large::before { content: ""; display: block; width: 1em; height: 1em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Cpath%20d%3D%27M3%203h8v8H3zM13%203h8v5h-8zM13%2010h8v11h-8zM3%2013h8v8H3z%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Cpath%20d%3D%27M3%203h8v8H3zM13%203h8v5h-8zM13%2010h8v11h-8zM3%2013h8v8H3z%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
.ico-box .fa-credit-card::before,
.ico .fa-credit-card::before,
.float-card .ico .fa-credit-card::before { content: ""; display: block; width: 1em; height: 1em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Cpath%20d%3D%27M2%205h20v14H2zM2%2010h20M6%2015h4%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Cpath%20d%3D%27M2%205h20v14H2zM2%2010h20M6%2015h4%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
.ico-box .fa-car::before,
.ico .fa-car::before,
.float-card .ico .fa-car::before { content: ""; display: block; width: 1em; height: 1em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Cpath%20d%3D%27M3%2014h18v4H3zM5%2014l2-6h10l2%206M7%2018v2M17%2018v2%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Cpath%20d%3D%27M3%2014h18v4H3zM5%2014l2-6h10l2%206M7%2018v2M17%2018v2%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
.ico-box .fa-calendar-check-o::before,
.ico .fa-calendar-check-o::before,
.float-card .ico .fa-calendar-check-o::before { content: ""; display: block; width: 1em; height: 1em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Cpath%20d%3D%27M3%205h18v16H3zM3%2010h18M8%202v5M16%202v5M8%2015l3%203%205-5%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Cpath%20d%3D%27M3%205h18v16H3zM3%2010h18M8%202v5M16%202v5M8%2015l3%203%205-5%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
.ico-box .fa-shopping-cart::before,
.ico .fa-shopping-cart::before,
.float-card .ico .fa-shopping-cart::before { content: ""; display: block; width: 1em; height: 1em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Cpath%20d%3D%27M2%203h3l2.5%2012h11l2-8H6M8%2020h2M16%2020h2%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Cpath%20d%3D%27M2%203h3l2.5%2012h11l2-8H6M8%2020h2M16%2020h2%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
.ico-box .fa-calculator::before,
.ico .fa-calculator::before,
.float-card .ico .fa-calculator::before { content: ""; display: block; width: 1em; height: 1em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Cpath%20d%3D%27M5%202h14v20H5zM8%206h8v4H8zM8%2014h2M14%2014h2M8%2018h2M14%2018h2%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Cpath%20d%3D%27M5%202h14v20H5zM8%206h8v4H8zM8%2014h2M14%2014h2M8%2018h2M14%2018h2%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
.ico-box .fa-heartbeat::before,
.ico .fa-heartbeat::before,
.float-card .ico .fa-heartbeat::before { content: ""; display: block; width: 1em; height: 1em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Cpath%20d%3D%27M2%2012h5l2-5%204%2010%202-5h7%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Cpath%20d%3D%27M2%2012h5l2-5%204%2010%202-5h7%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
.ico-box .fa-graduation-cap::before,
.ico .fa-graduation-cap::before,
.float-card .ico .fa-graduation-cap::before { content: ""; display: block; width: 1em; height: 1em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Cpath%20d%3D%27M2%209l10-5%2010%205-10%205zM6%2011v5c3%202%209%202%2012%200v-5%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Cpath%20d%3D%27M2%209l10-5%2010%205-10%205zM6%2011v5c3%202%209%202%2012%200v-5%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
.ico-box .fa-book::before,
.ico .fa-book::before,
.float-card .ico .fa-book::before { content: ""; display: block; width: 1em; height: 1em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Cpath%20d%3D%27M3%205h8v15H3zM13%205h8v15h-8z%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Cpath%20d%3D%27M3%205h8v15H3zM13%205h8v15h-8z%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
.ico-box .fa-cubes::before,
.ico .fa-cubes::before,
.float-card .ico .fa-cubes::before { content: ""; display: block; width: 1em; height: 1em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Cpath%20d%3D%27M12%202l9%205v10l-9%205-9-5V7zM12%2012l9-5M12%2012v10M12%2012L3%207%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Cpath%20d%3D%27M12%202l9%205v10l-9%205-9-5V7zM12%2012l9-5M12%2012v10M12%2012L3%207%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
.ico-box .fa-rocket::before,
.ico .fa-rocket::before,
.float-card .ico .fa-rocket::before { content: ""; display: block; width: 1em; height: 1em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Cpath%20d%3D%27M12%202c4%202%206%206%205%2012H7c-1-6%201-10%205-12zM9%2014l-3%204%204-1M15%2014l3%204-4-1M12%208h.01%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Cpath%20d%3D%27M12%202c4%202%206%206%205%2012H7c-1-6%201-10%205-12zM9%2014l-3%204%204-1M15%2014l3%204-4-1M12%208h.01%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
.ico-box .fa-line-chart::before,
.ico .fa-line-chart::before,
.float-card .ico .fa-line-chart::before { content: ""; display: block; width: 1em; height: 1em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Cpath%20d%3D%27M3%203v18h18M6%2015l4-5%204%203%205-7%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Cpath%20d%3D%27M3%203v18h18M6%2015l4-5%204%203%205-7%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
.ico-box .fa-check-square-o::before,
.ico .fa-check-square-o::before,
.float-card .ico .fa-check-square-o::before { content: ""; display: block; width: 1em; height: 1em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Cpath%20d%3D%27M3%203h18v18H3zM7%2012l4%204%206-8%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Cpath%20d%3D%27M3%203h18v18H3zM7%2012l4%204%206-8%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
.ico-box .fa-life-ring::before,
.ico .fa-life-ring::before,
.float-card .ico .fa-life-ring::before { content: ""; display: block; width: 1em; height: 1em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%279%27%2F%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%274%27%2F%3E%3Cpath%20d%3D%27M5.6%205.6l3.2%203.2M15.2%2015.2l3.2%203.2M18.4%205.6l-3.2%203.2M8.8%2015.2l-3.2%203.2%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%279%27%2F%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%274%27%2F%3E%3Cpath%20d%3D%27M5.6%205.6l3.2%203.2M15.2%2015.2l3.2%203.2M18.4%205.6l-3.2%203.2M8.8%2015.2l-3.2%203.2%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
.ico-box .fa-wrench::before,
.ico .fa-wrench::before,
.float-card .ico .fa-wrench::before { content: ""; display: block; width: 1em; height: 1em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Cpath%20d%3D%27M14%203a5%205%200%200%200-4%207L3%2017l4%204%207-7a5%205%200%200%200%207-4l-3%203-3-1-1-3z%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Cpath%20d%3D%27M14%203a5%205%200%200%200-4%207L3%2017l4%204%207-7a5%205%200%200%200%207-4l-3%203-3-1-1-3z%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
.ico-box .fa-comments::before,
.ico .fa-comments::before,
.float-card .ico .fa-comments::before { content: ""; display: block; width: 1em; height: 1em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Cpath%20d%3D%27M3%204h18v12H10l-5%204v-4H3zM7%209h10M7%2012h6%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Cpath%20d%3D%27M3%204h18v12H10l-5%204v-4H3zM7%209h10M7%2012h6%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
.ico-box .fa-users::before,
.ico .fa-users::before,
.float-card .ico .fa-users::before { content: ""; display: block; width: 1em; height: 1em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Ccircle%20cx%3D%279%27%20cy%3D%278%27%20r%3D%273%27%2F%3E%3Cpath%20d%3D%27M3%2020c0-4%203-6%206-6s6%202%206%206M17%206a3%203%200%200%201%200%206M18%2014c2%201%203%203%203%206%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Ccircle%20cx%3D%279%27%20cy%3D%278%27%20r%3D%273%27%2F%3E%3Cpath%20d%3D%27M3%2020c0-4%203-6%206-6s6%202%206%206M17%206a3%203%200%200%201%200%206M18%2014c2%201%203%203%203%206%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
.ico-box .fa-flag-checkered::before,
.ico .fa-flag-checkered::before,
.float-card .ico .fa-flag-checkered::before { content: ""; display: block; width: 1em; height: 1em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Cpath%20d%3D%27M5%2022V3M5%204h14l-3%204%203%204H5%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%20stroke-linecap%3D%27square%27%3E%3Cpath%20d%3D%27M5%2022V3M5%204h14l-3%204%203%204H5%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }

.hero__visual::after { content: ""; position: absolute; z-index: 0; width: 430px; height: 430px; inset-inline-start: -90px; bottom: -120px; opacity: .1; background: #031018; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20100%20100%27%3E%3Cpath%20fill%3D%27black%27%20fill-rule%3D%27evenodd%27%20d%3D%27M87.83%2046.42L97.93%2047.49L97.93%2052.51L87.83%2053.58L84.55%2065.82L92.77%2071.79L90.26%2076.14L80.97%2072.01L72.01%2080.97L76.14%2090.26L71.79%2092.77L65.82%2084.55L53.58%2087.83L52.51%2097.93L47.49%2097.93L46.42%2087.83L34.18%2084.55L28.21%2092.77L23.86%2090.26L27.99%2080.97L19.03%2072.01L9.74%2076.14L7.23%2071.79L15.45%2065.82L12.17%2053.58L2.07%2052.51L2.07%2047.49L12.17%2046.42L15.45%2034.18L7.23%2028.21L9.74%2023.86L19.03%2027.99L27.99%2019.03L23.86%209.74L28.21%207.23L34.18%2015.45L46.42%2012.17L47.49%202.07L52.51%202.07L53.58%2012.17L65.82%2015.45L71.79%207.23L76.14%209.74L72.01%2019.03L80.97%2027.99L90.26%2023.86L92.77%2028.21L84.55%2034.18ZM66%2050a16%2016%200%201%200-32%200a16%2016%200%201%200%2032%200z%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20100%20100%27%3E%3Cpath%20fill%3D%27black%27%20fill-rule%3D%27evenodd%27%20d%3D%27M87.83%2046.42L97.93%2047.49L97.93%2052.51L87.83%2053.58L84.55%2065.82L92.77%2071.79L90.26%2076.14L80.97%2072.01L72.01%2080.97L76.14%2090.26L71.79%2092.77L65.82%2084.55L53.58%2087.83L52.51%2097.93L47.49%2097.93L46.42%2087.83L34.18%2084.55L28.21%2092.77L23.86%2090.26L27.99%2080.97L19.03%2072.01L9.74%2076.14L7.23%2071.79L15.45%2065.82L12.17%2053.58L2.07%2052.51L2.07%2047.49L12.17%2046.42L15.45%2034.18L7.23%2028.21L9.74%2023.86L19.03%2027.99L27.99%2019.03L23.86%209.74L28.21%207.23L34.18%2015.45L46.42%2012.17L47.49%202.07L52.51%202.07L53.58%2012.17L65.82%2015.45L71.79%207.23L76.14%209.74L72.01%2019.03L80.97%2027.99L90.26%2023.86L92.77%2028.21L84.55%2034.18ZM66%2050a16%2016%200%201%200-32%200a16%2016%200%201%200%2032%200z%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; animation: gear-spin 60s linear infinite; }
@keyframes gear-spin { to { rotate: 360deg; } }

/* ==========================================================================
   Code Zzone — modern, calm layer. Logo colours (black + signal yellow) used softly:
   airy whitespace, soft shadows, rounded forms, no heavy outlines. Replaces the earlier brand layers.
   ========================================================================== */
:root {
  --yellow: #ddaa43; --yellow-soft: #f7ebce; --yellow-faint: #fcf6e6;
  --ink: #0b1a22; --ink-2: #102530; --ink-3: #17323f;
  --bg: #fbfbf8; --soft: #f3f3ee; --surface: #ffffff;
  --text: #0f1b22; --muted: #5d6a71; --line: #e8e8e1; --bd: #e8e8e1;
  --on-dark: #f6f6f2; --on-dark-muted: #a9b6bc;
  --pink: #ddaa43; --teal: #ddaa43; --violet: #ddaa43; --purple: #0f1b22;
  --grad: linear-gradient(var(--yellow), var(--yellow)); --grad-hot: var(--grad); --grad-text: var(--grad);
  --glow: 0 10px 24px rgba(221, 170, 67, .38);
  --r-sm: 12px; --r: 18px; --r-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(11, 26, 34, .06);
  --shadow: 0 14px 40px rgba(11, 26, 34, .08);
  --shadow-lg: 0 28px 70px rgba(11, 26, 34, .14);
  --font-display: "Space Grotesk", "Plus Jakarta Sans", system-ui, sans-serif;
}
:root[data-theme="dark"] {
  --bg: #091820; --soft: #0d222c; --surface: #102a36;
  --text: #f1f1ec; --muted: #9db0b8; --line: #1d3a47; --bd: #1d3a47;
  --purple: #ddaa43; --yellow-soft: rgba(221, 170, 67, .16); --yellow-faint: rgba(221, 170, 67, .08);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, .3); --shadow: 0 14px 40px rgba(0, 0, 0, .35); --shadow-lg: 0 28px 70px rgba(0, 0, 0, .5);
}
.section--dark, .site-footer, .cta__box, .aside-card--dark, .post-cta, .page-hero {
  --purple: #ddaa43; --line: rgba(255, 255, 255, .1); --yellow-soft: rgba(221, 170, 67, .16);
}
::selection { background: var(--yellow); color: #0b1a22; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--yellow) 70%, #000); outline-offset: 3px; border-radius: 8px; }

/* ---------- Type ---------- */
h1, h2, h3, h4, .btn, .eyebrow, .stat strong, .hero__proof strong, .step__num, .timeline__num { font-family: var(--font-display); }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] .btn, [dir="rtl"] .eyebrow,
[dir="rtl"] .stat strong, [dir="rtl"] .hero__proof strong { font-family: "Changa", "IBM Plex Sans Arabic", system-ui, sans-serif; }
h1, h2, h3 { letter-spacing: -.02em; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; }

/* ---------- Header ---------- */
.site-header { background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom: 1px solid transparent; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(11, 26, 34, .05); }
.nav > a.is-active::after, .nav__drop.is-active > button::after { width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); }
.mega { border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); }
.mega__link { border-radius: 12px; }
.mega__link:hover { background: var(--soft); }
.mega__all { border-radius: 12px; background: var(--soft); color: var(--text); }
.mega__all:hover { color: var(--text); background: var(--yellow-soft); }
.mega__title { color: var(--muted); border: 0; display: block; }
.lang-switch, .icon-btn { border: 1px solid var(--line); background: var(--surface); }
.lang-switch:hover, .icon-btn:hover { color: var(--text); background: var(--soft); border-color: var(--line); }

/* ---------- Buttons ---------- */
.btn { border-radius: 12px; font-weight: 700; }
.btn--primary { color: #0b1a22; background: var(--yellow); box-shadow: var(--glow); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(221, 170, 67, .5); }
.btn--teal { color: #fff; background: var(--ink); box-shadow: 0 10px 24px rgba(11, 26, 34, .25); }
.btn--teal:hover { background: var(--ink-2); transform: translateY(-2px); }
.btn--ghost { color: var(--text); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { color: var(--text); background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.btn--light { background: #fff; color: #0b1a22; border-radius: 12px; }
.btn--outline-light { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .04); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); }
.link-arrow { color: var(--text); text-decoration: none; background: linear-gradient(var(--yellow), var(--yellow)) 0 100% / 100% 3px no-repeat; padding-bottom: 2px; transition: background-size .25s var(--ease); }
.link-arrow:hover { color: var(--text); background-size: 100% 100%; }

/* ---------- Labels, tags ---------- */
.eyebrow, .section--dark .eyebrow { padding: 6px 14px; border-radius: 999px; letter-spacing: .08em; font-weight: 700; color: var(--text); background: var(--yellow-soft); border: 0; }
.section--dark .eyebrow, .page-hero .eyebrow, .cta__box .eyebrow { color: var(--yellow); background: rgba(221, 170, 67, .12); }
.eyebrow::before { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }
.tags span, .tag { border-radius: 999px; color: var(--text); background: var(--soft); font-weight: 600; }
.grad-text, .stat strong { background: linear-gradient(transparent 68%, var(--yellow-soft) 68%); -webkit-background-clip: border-box; background-clip: border-box; color: inherit; -webkit-text-fill-color: currentColor; }
.section--dark .grad-text, .section--dark .stat strong, .cta__box .grad-text, .page-hero h1 strong, .notfound strong { background: none; color: var(--yellow); -webkit-text-fill-color: var(--yellow); }

/* ---------- Hero ---------- */
.hero { background: var(--bg); color: var(--text); }
.hero::before { background: radial-gradient(620px 440px at 88% 6%, rgba(221, 170, 67, .22), transparent 64%), radial-gradient(520px 380px at 0% 100%, rgba(221, 170, 67, .1), transparent 62%); }
.hero::after { display: none; }
.hero__lead { color: var(--muted); }
.hero__badge { color: var(--text); border-radius: 999px; background: var(--surface); border: 0; box-shadow: var(--shadow-sm); }
.hero__badge b { color: #0b1a22; background: var(--yellow); border-radius: 999px; }
.hero h1 strong, .hero h1 em {
  font-style: normal; color: var(--text); -webkit-text-fill-color: currentColor; padding: 0 .08em;
  background: linear-gradient(var(--yellow-soft), var(--yellow-soft)) 0 90% / 100% 42% no-repeat;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  animation: hl-draw 1s .55s cubic-bezier(.2, .7, .2, 1) both;
}
[dir="rtl"] .hero h1 strong, [dir="rtl"] .hero h1 em { background-position: 100% 90%; }
.hero__proof { border-top: 1px solid var(--line); }
.hero__proof strong { color: var(--text); }
.hero__proof span { color: var(--muted); }
.hero .btn--outline-light { color: var(--text); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.hero .btn--outline-light:hover { background: var(--soft); }
.hero__visual::before { content: ""; position: absolute; z-index: 0; inset: 8% 18% 4% 14%; border-radius: 40px; background: linear-gradient(160deg, #eecb7c, var(--yellow)); rotate: -4deg; opacity: .9; }
.hero__visual::after { opacity: .05; }
.phone { background: linear-gradient(160deg, #1c3a48, #0b1a22); box-shadow: 0 40px 80px rgba(11, 26, 34, .28), inset 0 0 0 1px rgba(255, 255, 255, .1); }
.phone::before { background: #0b1a22; }
.float-card { z-index: 2; border-radius: 16px; color: var(--text); background: var(--surface); border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: var(--shadow); }
.float-card strong { color: var(--text); } .float-card small { color: var(--muted); }
.float-card .ico, .float-card--2 .ico, .float-card--3 .ico { color: #0b1a22; background: var(--yellow-soft); box-shadow: none; border-radius: 12px; }
.code-card { z-index: 2; border-radius: 14px; color: #e9eef0; background: #0b1a22; border: 0; box-shadow: var(--shadow-lg); }
.code-card .k { color: var(--yellow); } .code-card .s { color: #f0d58f; } .code-card .f { color: #fff; }
.phone .mock { color: #0b1a22; background: #fbfbf8; }
.phone .mock__hi { color: #5d6a71; }
.phone .mock__avatar { background: var(--yellow); border-radius: 50%; }
.phone .mock__balance { color: #fff; background: #0b1a22; border-radius: 16px; }
.phone .mock__bars i { background: var(--yellow); border-radius: 3px; }
.phone .mock__grid span { color: #0b1a22; background: #fff; border: 0; border-radius: 12px; box-shadow: 0 4px 12px rgba(11, 26, 34, .07); }
.phone .mock__row { background: #fff; border: 0; border-radius: 12px; box-shadow: 0 4px 12px rgba(11, 26, 34, .06); }
.phone .mock__row b { background: var(--yellow); border-radius: 9px; }
.phone .mock__row:nth-child(even) b { background: #0b1a22; }
@keyframes hl-draw { from { background-size: 0 42%; } to { background-size: 100% 42%; } }

/* ---------- Sections ---------- */
.logos { background: var(--bg); border-bottom: 1px solid var(--line); padding-top: 36px; }
.logos::before, .site-footer::before { display: none; }
.page-hero { border-bottom: 0; }
.page-hero::before { background: radial-gradient(520px 320px at 85% 0%, rgba(221, 170, 67, .16), transparent 65%); }
.page-hero::after { background: none; }
.cta__box { border: 0; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.cta__box::before { background: radial-gradient(500px 300px at 92% 0%, rgba(221, 170, 67, .25), transparent 62%), radial-gradient(420px 260px at 0% 100%, rgba(221, 170, 67, .1), transparent 60%); }
.aside-card--dark::before, .post-cta::before { background: radial-gradient(circle, rgba(221, 170, 67, .2), transparent 65%); }
.bento .card:first-child::before { background: radial-gradient(circle, rgba(221, 170, 67, .28), transparent 65%); }

/* ---------- Cards ---------- */
.card, .tile, .project, .post-card, .quote, .case, .aside-card { border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s, border-color .25s; }
.card:hover, .tile:hover, .project:hover, .post-card:hover, .case:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--yellow) 55%, var(--line)); }
.section--dark .card, .section--dark .tile, .section--dark .quote { border-color: rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .04); box-shadow: none; }
.section--dark .card:hover, .section--dark .tile:hover { background: rgba(255, 255, 255, .07); border-color: rgba(221, 170, 67, .4); box-shadow: none; }
.faq__item { border: 1px solid var(--line); border-radius: var(--r-sm); }
.faq__item[open] { border-color: color-mix(in srgb, var(--yellow) 60%, var(--line)); box-shadow: var(--shadow-sm); }
.faq__item summary::after { border-radius: 10px; }
.faq__item[open] summary::after { color: #0b1a22; background: var(--yellow); }

/* ---------- Icon tiles: soft yellow with a dark glyph ---------- */
.mega__link .ico, .mega__link:nth-child(odd) .ico, .ico-box, .ico-box--teal, .bento .card:nth-child(3n) .ico-box,
.tile:nth-child(even) .ico-box, .feature:nth-child(even) .ico-box, .quote__avatar {
  color: #0b1a22; background: var(--yellow-soft); box-shadow: none; border-radius: 14px; transition: transform .35s var(--ease), background .25s;
}
.step__num, .step:nth-child(even) .step__num, .timeline__num { color: #0b1a22; background: var(--yellow); box-shadow: 0 6px 16px rgba(221, 170, 67, .4); }
.ico-box--soft { color: var(--text); background: var(--soft); }
.section--dark .ico-box, .section--dark .tile .ico-box { color: var(--yellow); background: rgba(221, 170, 67, .12); }
.tile:hover .ico-box, .card:hover .ico-box { transform: rotate(-5deg) scale(1.06); background: var(--yellow); color: #0b1a22; }
.checks li::before { color: #0b1a22; background: var(--yellow); border-radius: 50%; }
.chips li::before { border-radius: 50%; background: var(--yellow); }
.quote__who img { color: #0b1a22; background: var(--yellow-soft); }

/* ---------- Controls ---------- */
.filters .is-active, .pills input:checked + span { color: #0b1a22 !important; background: var(--yellow); border-color: transparent; box-shadow: 0 8px 18px rgba(221, 170, 67, .4); }
.solution-chips a:hover, .share a:hover, .project__links a:hover { color: #0b1a22; background: var(--yellow); border-color: transparent; }
.social a:hover { color: #0b1a22; background: var(--yellow); border-color: transparent; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: color-mix(in srgb, var(--yellow) 75%, #000); box-shadow: 0 0 0 4px rgba(221, 170, 67, .3); }
.steps::before { height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px); }
.timeline::before { width: 2px; background: repeating-linear-gradient(var(--line) 0 10px, transparent 10px 18px); }
.prose li::marker { color: color-mix(in srgb, var(--yellow) 80%, #000); }
.prose a { color: var(--text); text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
.prose blockquote { border-inline-start: 4px solid var(--yellow); }
.post-cover { color: var(--yellow); background: linear-gradient(135deg, var(--ink-2), var(--ink-3)); }
.post-cover--2 { color: #0b1a22; background: linear-gradient(135deg, #eecb7c, var(--yellow)); }
.post-cover--3 { color: var(--yellow); background: linear-gradient(135deg, var(--ink), var(--ink-3)); }

/* ---------- Motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero__grid > div:first-child > * { animation: rise .8s var(--ease) both; }
.hero__grid > div:first-child > :nth-child(1) { animation-delay: .05s; }
.hero__grid > div:first-child > :nth-child(2) { animation-delay: .15s; }
.hero__grid > div:first-child > :nth-child(3) { animation-delay: .3s; }
.hero__grid > div:first-child > :nth-child(4) { animation-delay: .42s; }
.hero__grid > div:first-child > :nth-child(5) { animation-delay: .55s; }
.hero__visual .phone { animation: rise 1s .2s var(--ease) both, float 8s 1.2s ease-in-out infinite; }
.nav > a, .nav__drop > button { position: relative; }
.nav > a::before, .nav__drop > button::before { content: ""; position: absolute; inset: auto 12px 6px; height: 2px; border-radius: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
[dir="rtl"] .nav > a::before, [dir="rtl"] .nav__drop > button::before { transform-origin: right; }
.nav > a:hover::before, .nav__drop:hover > button::before { transform: scaleX(1); }
@media (max-width: 1100px) { .nav > a::before, .nav__drop > button::before { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero__grid > div:first-child > *, .hero__visual .phone, .hero h1 strong, .hero__visual::after { animation: none !important; }
}
:root[data-theme="dark"] .hero__visual::after { background: #fff; }
:root[data-theme="dark"] .hero__visual::before { opacity: .55; }

/* ==========================================================================
   Portfolio — "work wall": image-first bento grid, outlined index numbers, hover-reveal details.
   Scoped to #projects so the cards used elsewhere (home, related projects) are unchanged.
   ========================================================================== */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 34px; }
.filters { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; border-radius: 999px; background: var(--soft); }
.filters button, .filters a { border: 0; border-radius: 999px; background: transparent; padding: 10px 18px; font-weight: 700; color: var(--muted); box-shadow: none; }
.filters button span, .filters a span { margin-inline-start: 8px; font-size: 12px; opacity: .6; }
.filters button:hover, .filters a:hover { color: var(--text); background: color-mix(in srgb, var(--text) 6%, transparent); border-color: transparent; }
.filters .is-active { color: #0b1a22 !important; background: var(--yellow) !important; box-shadow: 0 6px 16px rgba(221, 170, 67, .4); }
.search { border: 0; border-radius: 999px; background: var(--soft); padding: 0 18px; }
.search input { background: transparent; }
.solution-chips { display: flex; flex-wrap: nowrap; gap: 10px; overflow-x: auto; padding: 2px 2px 14px; margin-bottom: 18px; scrollbar-width: thin; }
.solution-chips span { flex: none; align-self: center; font-weight: 700; color: var(--muted); }
.solution-chips a { flex: none; border: 0; border-radius: 999px; background: var(--soft); padding: 9px 16px; }
.solution-chips a:hover { background: var(--yellow); color: #0b1a22; }

#projects { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-flow: dense; gap: 22px; counter-reset: wk; }
#projects .project {
  grid-column: span 4; min-height: 360px; position: relative; display: block; padding: 0; overflow: hidden; isolation: isolate;
  border: 0; border-radius: 26px; background: var(--ink); color: #fff; counter-increment: wk;
  box-shadow: 0 22px 50px -24px rgba(11, 26, 34, .55);
  transition: transform .5s var(--ease), box-shadow .5s;
}
#projects .project:nth-child(5n + 1) { grid-column: span 7; min-height: 450px; }
#projects .project:nth-child(5n + 2) { grid-column: span 5; min-height: 450px; }
#projects .project:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -22px rgba(11, 26, 34, .6); border-color: transparent; }

#projects .project__media { position: absolute; inset: 0; display: block; background: linear-gradient(135deg, var(--ink-2), var(--ink-3)); }
#projects .project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
#projects .project:hover .project__media img { transform: scale(1.07); }
#projects .project::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(11, 26, 34, 0) 34%, rgba(11, 26, 34, .9) 100%); transition: opacity .4s; }
#projects .project::before {
  content: counter(wk, decimal-leading-zero); position: absolute; z-index: 3; top: 10px; inset-inline-end: 22px;
  font: 700 56px/1 var(--font-display); color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .85);
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .35)); pointer-events: none; transition: transform .5s var(--ease);
}
#projects .project:hover::before { transform: translateY(4px); -webkit-text-stroke-color: var(--yellow); }
#projects .project__tag { z-index: 3; top: 20px; inset-inline-start: 20px; inset-inline-end: auto; left: auto; right: auto; padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #0b1a22; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); }
[dir="rtl"] #projects .project__tag { left: auto; right: auto; }

#projects .project__body { position: absolute; z-index: 2; inset: auto 0 0 0; padding: 26px 26px 24px; display: flex; flex-direction: column; background: none; }
#projects .project__body h3 { margin: 0; font-size: clamp(20px, 2vw, 26px); }
#projects .project__body h3 a, #projects .project__body h3 a:hover { color: #fff; }
#projects .project__body p { margin: 0; max-height: 0; opacity: 0; overflow: hidden; color: rgba(255, 255, 255, .82); font-size: 14.5px; line-height: 1.6; -webkit-line-clamp: 2; transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
#projects .project__foot { margin: 0; max-height: 0; opacity: 0; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0; border: 0; transition: max-height .5s var(--ease), opacity .4s .05s, margin .4s; }
#projects .project:hover .project__body p, #projects .project:focus-within .project__body p { max-height: 90px; opacity: 1; margin-top: 8px; }
#projects .project:hover .project__foot, #projects .project:focus-within .project__foot { max-height: 60px; opacity: 1; margin-top: 14px; }
#projects .project__foot .link-arrow { color: #fff; background-image: linear-gradient(var(--yellow), var(--yellow)); }
#projects .project__foot .link-arrow:hover { color: #0b1a22; }
#projects .project__links { display: flex; gap: 8px; }
#projects .project__links a { width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); }
#projects .project__links a:hover { color: #0b1a22; background: var(--yellow); }

/* touch screens and small screens: details always visible, single column */
@media (hover: none) {
  #projects .project__body p { max-height: 90px; opacity: 1; margin-top: 8px; }
  #projects .project__foot { max-height: 60px; opacity: 1; margin-top: 14px; }
}
@media (max-width: 1000px) {
  #projects .project, #projects .project:nth-child(5n + 1), #projects .project:nth-child(5n + 2) { grid-column: span 6; min-height: 340px; }
}
@media (max-width: 640px) {
  #projects { gap: 16px; }
  #projects .project, #projects .project:nth-child(5n + 1), #projects .project:nth-child(5n + 2) { grid-column: 1 / -1; min-height: 320px; }
  #projects .project__body p { max-height: 90px; opacity: 1; margin-top: 8px; }
  #projects .project__foot { max-height: 60px; opacity: 1; margin-top: 14px; }
  #projects .project::before { font-size: 44px; }
  .filters { border-radius: 18px; }
}

/* Image-first project cards everywhere a project grid is used (home, related projects). */
.grid .project {
   min-height: 360px; position: relative; display: block; padding: 0; overflow: hidden; isolation: isolate;
  border: 0; border-radius: 26px; background: var(--ink); color: #fff; counter-increment: wk;
  box-shadow: 0 22px 50px -24px rgba(11, 26, 34, .55);
  transition: transform .5s var(--ease), box-shadow .5s;
}
.grid .project:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -22px rgba(11, 26, 34, .6); border-color: transparent; }
.grid .project__media { position: absolute; inset: 0; display: block; background: linear-gradient(135deg, var(--ink-2), var(--ink-3)); }
.grid .project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.grid .project:hover .project__media img { transform: scale(1.07); }
.grid .project::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(11, 26, 34, 0) 34%, rgba(11, 26, 34, .9) 100%); transition: opacity .4s; }
.grid .project__tag { z-index: 3; top: 20px; inset-inline-start: 20px; inset-inline-end: auto; left: auto; right: auto; padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #0b1a22; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); }
.grid .project__body { position: absolute; z-index: 2; inset: auto 0 0 0; padding: 26px 26px 24px; display: flex; flex-direction: column; background: none; }
.grid .project__body h3 { margin: 0; font-size: clamp(20px, 2vw, 26px); }
.grid .project__body h3 a,
.grid .project__body h3 a:hover { color: #fff; }
.grid .project__body p { margin: 0; max-height: 0; opacity: 0; overflow: hidden; color: rgba(255, 255, 255, .82); font-size: 14.5px; line-height: 1.6; -webkit-line-clamp: 2; transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
.grid .project__foot { margin: 0; max-height: 0; opacity: 0; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0; border: 0; transition: max-height .5s var(--ease), opacity .4s .05s, margin .4s; }
.grid .project:hover .project__body p,
.grid .project:focus-within .project__body p { max-height: 90px; opacity: 1; margin-top: 8px; }
.grid .project:hover .project__foot,
.grid .project:focus-within .project__foot { max-height: 60px; opacity: 1; margin-top: 14px; }
.grid .project__foot .link-arrow { color: #fff; background-image: linear-gradient(var(--yellow), var(--yellow)); }
.grid .project__foot .link-arrow:hover { color: #0b1a22; }
.grid .project__links { display: flex; gap: 8px; }
.grid .project__links a { width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); }
.grid .project__links a:hover { color: #0b1a22; background: var(--yellow); }
@media (hover: none) {
.grid .project__body p { max-height: 90px; opacity: 1; margin-top: 8px; }
.grid .project__foot { max-height: 60px; opacity: 1; margin-top: 14px; }
}
@media (max-width: 1000px) {
.grid .project {  min-height: 340px; }
}
@media (max-width: 640px) {
.grid .project {  min-height: 320px; }
.grid .project__body p { max-height: 90px; opacity: 1; margin-top: 8px; }
.grid .project__foot { max-height: 60px; opacity: 1; margin-top: 14px; }
}

/* Project detail page */
.media-frame { position: relative; overflow: visible; border: 0; border-radius: 22px; background: none; box-shadow: none; }
.media-frame img { position: relative; z-index: 1; display: block; width: 100%; border-radius: 22px; box-shadow: var(--shadow-lg); }
.media-frame::after { content: ""; position: absolute; z-index: 0; inset: 22px -18px -18px 22px; border-radius: 28px; background: linear-gradient(135deg, var(--yellow-soft), var(--yellow)); opacity: .6; }
[dir="rtl"] .media-frame::after { inset: 22px 22px -18px -18px; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.page-hero__meta span { padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: 14px; color: var(--on-dark-muted); }
.page-hero__meta strong, .page-hero__meta a { color: #fff; }
.facts { display: grid; gap: 0; margin: 0; }
.facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: 13px; font-weight: 600; }
.facts dd { margin: 0; font-weight: 700; text-align: end; }
.aside-card { border-radius: 20px; }

/* ==========================================================================
   Process page — zig-zag roadmap: cards alternate around a dashed centre line,
   gold step nodes sit on the line, big outlined numerals sit behind each card.
   Scoped to the page-level timeline (.container > .timeline) so the "how we work" list on service pages is unchanged.
   ========================================================================== */
.section > .container > .timeline { max-width: 1040px; margin: 0 auto; padding: 0; counter-reset: st; position: relative; }
.section > .container > .timeline::before {
  inset-inline-start: 50%; translate: -50% 0; top: 24px; bottom: 24px; width: 3px; border-radius: 3px;
  background: repeating-linear-gradient(var(--yellow) 0 12px, transparent 12px 22px); opacity: .85;
}
[dir="rtl"] .section > .container > .timeline::before { translate: 50% 0; }
.section > .container > .timeline > li { width: 46%; margin: 0 0 42px; counter-increment: st; }
.section > .container > .timeline > li:nth-child(even) { margin-inline-start: auto; margin-top: -64px; }
.section > .container > .timeline > li::after {
  content: counter(st, decimal-leading-zero); position: absolute; z-index: 2; top: 18px; inset-inline-end: 26px;
  font: 800 64px/1 var(--font-display); color: var(--yellow); opacity: .55; pointer-events: none;
}
.section > .container > .timeline .card {
  position: relative; z-index: 1; padding: 30px 32px; padding-inline-end: 110px; border-radius: 22px; border: 1px solid var(--line); background: var(--surface);
  box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s, border-color .3s;
}
.section > .container > .timeline .card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--yellow) 60%, var(--line)); }
.section > .container > .timeline .card h3 { margin-bottom: 8px; font-size: 22px; }
.section > .container > .timeline .card p { font-size: 15.5px; line-height: 1.8; }
.section > .container > .timeline .timeline__num {
  z-index: 3; top: 28px; width: 64px; height: 64px; font-size: 22px; font-weight: 800; inset-inline-start: auto;
  inset-inline-end: calc(-8.7% - 32px); box-shadow: 0 0 0 8px var(--bg), 0 10px 22px rgba(221, 170, 67, .45);
}
.section > .container > .timeline > li:nth-child(even) .timeline__num { inset-inline-end: auto; inset-inline-start: calc(-8.7% - 32px); }

@media (max-width: 900px) {
  .section > .container > .timeline { padding-inline-start: 84px; }
  .section > .container > .timeline::before { inset-inline-start: 27px; translate: none; }
  [dir="rtl"] .section > .container > .timeline::before { translate: none; }
  .section > .container > .timeline > li, .section > .container > .timeline > li:nth-child(even) { width: 100%; margin: 0 0 26px; }
  .section > .container > .timeline .timeline__num,
  .section > .container > .timeline > li:nth-child(even) .timeline__num { inset-inline-end: auto; inset-inline-start: -89px; box-shadow: 0 0 0 6px var(--bg), 0 8px 18px rgba(221, 170, 67, .4); }
  .section > .container > .timeline > li::after { font-size: 38px; top: 16px; inset-inline-end: 16px; }
  .section > .container > .timeline .card { padding: 24px 22px; padding-inline-end: 70px; }
}

/* engagement models (dark section) */
.section--dark .grid--3 > .stat { padding: 32px; border-radius: 22px; }

/* ==========================================================================
   About page — editorial story + colour-blocked number mosaic, glowing mission/vision panels,
   numbered values that flip to ink on hover.
   ========================================================================== */
.about-story .split { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; }
.about-story h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.12; margin-bottom: 26px; }
.about-story .lead { font-size: 18.5px; line-height: 1.95; color: var(--muted); }
.about-story .lead:first-of-type { padding-inline-start: 22px; border-inline-start: 4px solid var(--yellow); color: var(--text); font-weight: 500; }
.about-story .stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-bottom: 28px; }
.about-story .stat { position: relative; padding: 32px 28px; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm); }
.about-story .stat strong { font-size: clamp(44px, 5vw, 64px); line-height: 1; }
.about-story .stat span { display: block; margin-top: 10px; font-weight: 600; color: var(--muted); }
.about-story .stat:nth-child(1) { background: var(--yellow); border-color: transparent; box-shadow: 0 20px 40px -18px rgba(221, 170, 67, .7); }
.about-story .stat:nth-child(1) strong, .about-story .stat:nth-child(1) span { color: #0b1a22; background: none; -webkit-text-fill-color: #0b1a22; }
.about-story .stat:nth-child(4) { background: var(--ink); border-color: transparent; }
.about-story .stat:nth-child(4) strong { color: var(--yellow); background: none; -webkit-text-fill-color: var(--yellow); }
.about-story .stat:nth-child(4) span { color: var(--on-dark-muted); }
.about-story .stat:nth-child(even) { transform: translateY(28px); }
.about-story .stat::after { content: ""; position: absolute; inset-inline-end: -26px; bottom: -26px; width: 90px; height: 90px; border-radius: 50%; background: color-mix(in srgb, var(--yellow) 22%, transparent); }
.about-story .stat:nth-child(1)::after { background: rgba(255, 255, 255, .28); }
.about-story .stat:nth-child(4)::after { background: rgba(221, 170, 67, .2); }

.about-mv .grid--2 { gap: 26px; }
.about-mv .stat { position: relative; overflow: hidden; padding: 46px 42px; border-radius: 30px; border: 1px solid rgba(255, 255, 255, .08); background: linear-gradient(160deg, var(--ink-2), var(--ink-3)); }
.about-mv .stat::after { content: ""; position: absolute; inset-inline-end: -70px; top: -70px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(221, 170, 67, .38), transparent 66%); transition: transform .8s var(--ease); }
.about-mv .stat:hover::after { transform: scale(1.25) translate(-10px, 10px); }
.about-mv .stat .ico-box { width: 68px; height: 68px; font-size: 28px; margin-bottom: 26px; border-radius: 18px; }
.about-mv .stat h3 { font-size: 28px; margin-bottom: 14px; color: #fff; }
.about-mv .stat p { font-size: 17.5px; line-height: 1.85; }

.about-values .grid--4 { counter-reset: v; gap: 22px; align-items: start; }
.about-values .card { position: relative; overflow: hidden; counter-increment: v; padding: 38px 28px 32px; border-radius: 26px; transition: background .4s, color .4s, transform .4s var(--ease), box-shadow .4s; }
.about-values .card:nth-child(even) { margin-top: 38px; }
.about-values .card::after { content: counter(v, decimal-leading-zero); position: absolute; top: 14px; inset-inline-end: 22px; font: 800 52px/1 var(--font-display); color: var(--yellow); opacity: .4; transition: opacity .4s; }
.about-values .card h3 { margin-top: 6px; }
.about-values .card:hover { background: var(--ink); border-color: var(--ink); transform: translateY(-6px); }
.about-values .card:hover h3 { color: #fff; }
.about-values .card:hover p { color: rgba(255, 255, 255, .75); }
.about-values .card:hover::after { opacity: .9; }

@media (max-width: 900px) {
  .about-story .split { grid-template-columns: 1fr; gap: 44px; }
  .about-story .stat:nth-child(even), .about-values .card:nth-child(even) { transform: none; margin-top: 0; }
  .about-mv .stat { padding: 34px 26px; }
}

/* Mission / vision: clean panels — no glow blob, solid gold icon tile, small gold tab on top. */
.about-mv .stat { background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .08); }
.about-mv .stat::after { inset: 0 auto auto 42px; inset-inline-start: 42px; inset-inline-end: auto; width: 56px; height: 5px; border-radius: 0 0 6px 6px; background: var(--yellow); transition: width .4s var(--ease); }
.about-mv .stat:hover::after { transform: none; width: 96px; }
.about-mv .stat .ico-box, .about-mv .stat:hover .ico-box { color: #0b1a22; background: var(--yellow); box-shadow: none; }

/* Icon tiles inside .stat cards (about mission/vision, process engagement models): `.stat span` made them display:block, so the glyph sat in the corner. */
.stat .ico-box { display: grid; place-items: center; }

/* About — founders / team */
.about-team { background: var(--soft); }
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 920px; margin: 0 auto; }
.team__card { position: relative; text-align: center; padding: 46px 34px 38px; border-radius: 30px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s; }
.team__card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.team__photo { width: 148px; height: 148px; margin: 0 auto 26px; border-radius: 50%; position: relative; box-shadow: 0 0 0 7px var(--surface), 0 0 0 10px var(--yellow); }
.team__photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.team__avatar { width: 100%; height: 100%; display: grid; place-items: center; border-radius: 50%; color: #0b1a22; font-size: 64px; background: linear-gradient(160deg, var(--yellow-soft), var(--yellow)); overflow: hidden; }
.team__avatar i { opacity: .8; margin-top: 10px; }
.team__card h3 { margin: 0 0 8px; font-size: 26px; }
.team__role { display: inline-block; margin: 0 0 16px; padding: 6px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--text); background: var(--yellow-soft); }
.team__bio { margin: 0 0 20px; color: var(--muted); line-height: 1.9; }
.team__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.team__tags li { padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); background: var(--soft); }
@media (max-width: 760px) { .team { grid-template-columns: 1fr; } .team__card { padding: 38px 24px 30px; } }

/* ==========================================================================
   Home hero — a small "studio" scene: tilted browser window with a live chart, the phone in front,
   a ring of tech chips, and a headline ticker that cycles through what we are building.
   ========================================================================== */
.hero__ticker { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin: -4px 0 18px; font: 600 17px/1.4 var(--font-display); color: var(--muted); }
[dir="rtl"] .hero__ticker { font-family: "Changa", "IBM Plex Sans Arabic", sans-serif; }
.hero__ticker .ticker { display: inline-block; height: 1.7em; overflow: hidden; vertical-align: middle; padding: 0 12px; border-radius: 10px; background: var(--yellow-soft); }
.ticker__list { display: block; animation: ticker 11s cubic-bezier(.7, 0, .2, 1) infinite; }
.ticker__list b { display: block; height: 1.7em; line-height: 1.7em; color: var(--text); font-weight: 800; white-space: nowrap; }
@keyframes ticker {
  0%, 16% { transform: translateY(0); }
  20%, 36% { transform: translateY(-1.7em); }
  40%, 56% { transform: translateY(-3.4em); }
  60%, 76% { transform: translateY(-5.1em); }
  80%, 96% { transform: translateY(-6.8em); }
  100% { transform: translateY(-8.5em); }
}

.hero__visual { min-height: 560px; display: block; }
.hero__visual::before { inset: 3% 0 12% 20%; border-radius: 46px; rotate: -3deg; }
[dir="rtl"] .hero__visual::before { inset: 3% 20% 12% 0; rotate: 3deg; }

/* orbit ring with tech chips */
.orbit { position: absolute; z-index: 1; left: 50%; top: 50%; width: 520px; height: 520px; translate: -50% -50%; pointer-events: none; }
.orbit__ring { position: absolute; inset: 0; border-radius: 50%; border: 2px dashed color-mix(in srgb, var(--text) 22%, transparent); animation: gear-spin 70s linear infinite; }
.orbit__chip { position: absolute; padding: 8px 16px; border-radius: 999px; font: 700 13px/1 var(--font-display); color: var(--text); background: var(--surface); box-shadow: var(--shadow); animation: bob 5s ease-in-out infinite; }
.orbit__chip--1 { top: 2%; left: 22%; } .orbit__chip--2 { top: 26%; right: -2%; animation-delay: -1s; } .orbit__chip--3 { bottom: 6%; right: 10%; animation-delay: -2s; }
.orbit__chip--4 { bottom: 20%; left: -4%; animation-delay: -3s; } .orbit__chip--5 { top: 46%; left: -9%; animation-delay: -4s; }
.orbit__chip--3, .orbit__chip--5 { background: var(--yellow); color: #0b1a22; }
@keyframes bob { 50% { translate: 0 -10px; } }

/* browser window */
.win { position: absolute; z-index: 1; overflow: hidden; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-lg); }
.win--browser { top: 3%; inset-inline-end: 0; width: min(470px, 92%); transform: perspective(1100px) rotateY(-9deg) rotateX(3deg); animation: win-in 1s .35s var(--ease) both; }
[dir="rtl"] .win--browser { transform: perspective(1100px) rotateY(9deg) rotateX(3deg); }
@keyframes win-in { from { opacity: 0; translate: 0 30px; } to { opacity: 1; translate: 0 0; } }
.win__bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: var(--soft); border-bottom: 1px solid var(--line); }
.win__bar i { width: 10px; height: 10px; border-radius: 50%; background: #d8d8cf; }
.win__bar i:nth-child(1) { background: #ff5f57; } .win__bar i:nth-child(2) { background: #febc2e; } .win__bar i:nth-child(3) { background: #28c840; }
.win__url { margin-inline-start: 10px; flex: 1; padding: 5px 12px; border-radius: 999px; font: 600 11px/1 var(--font-display); color: var(--muted); background: var(--surface); }
.win__body { position: relative; padding: 22px 22px 24px; }
.win__hero { display: grid; gap: 9px; margin-bottom: 22px; }
.win__hero b { display: block; height: 14px; border-radius: 6px; background: #e7e7df; }
.win__hero b:first-child { width: 72%; height: 18px; background: #c6c9c2; }
.win__hero b:nth-child(2) { width: 48%; }
.win__btn { width: 96px; height: 30px; margin-top: 4px; border-radius: 9px; background: var(--yellow); }
.win__chart { display: flex; align-items: flex-end; gap: 9px; height: 120px; padding: 14px; border-radius: 14px; background: var(--soft); }
.win__chart i { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: #0b1a22; transform-origin: bottom; animation: bar 3.2s ease-in-out infinite; animation-delay: var(--d); }
.win__chart i:nth-child(even) { background: var(--yellow); }
@keyframes bar { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.62); } }
.win__live { position: absolute; top: 20px; inset-inline-end: 20px; display: flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font: 700 11px/1 var(--font-display); color: #0b1a22; background: var(--yellow-soft); }
.win__live span { width: 7px; height: 7px; border-radius: 50%; background: #1fb865; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; transform: scale(1.6); } }

/* phone sits in front, overlapping the window; the code card and 3rd float card are dropped to keep the scene clean */
.hero__visual .phone { position: absolute; z-index: 3; width: 212px; bottom: -2%; inset-inline-start: 0; margin: 0; }
.hero__visual .code-card, .hero__visual .float-card--3 { display: none; }
.float-card { z-index: 4; }
.hero__visual .float-card--1 { top: 56%; bottom: auto; left: auto; right: auto; inset-inline-end: -3%; }
.hero__visual .float-card--2 { top: auto; bottom: 1%; left: auto; right: auto; inset-inline-end: 24%; }

@media (max-width: 900px) {
  .hero__visual { min-height: 460px; }
  .orbit { width: 420px; height: 420px; }
  .orbit__chip--5, .orbit__chip--4 { display: none; }
  .win--browser { width: 86%; top: 4%; }
  .hero__visual .phone { width: 190px; inset-inline-start: 2%; }
  .hero__visual .code-card { display: none; }
  .hero__ticker { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .ticker__list, .win__chart i, .win__live span, .orbit__chip, .orbit__ring { animation: none !important; } }
@media (max-width: 640px) { .orbit__chip { display: none; } .orbit { width: 360px; height: 360px; } }

/* Browser window: easier to read on desktop (bigger URL, mini site header with the logo, more of it visible beside the phone). */
.win--browser { width: min(520px, 100%); top: 0; }
.win__url { padding: 7px 16px; font-size: 13px; font-weight: 700; color: var(--text); }
.win__bar { padding: 14px 16px; }
.win__bar i { width: 12px; height: 12px; }
.win__nav { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.win__nav img { height: 28px; width: auto; border-radius: 7px; }
.win__nav span { width: 38px; height: 8px; border-radius: 5px; background: #d3d6cf; }
.win__nav img + span { margin-inline-start: auto; }
.win__body { padding: 20px 24px 26px; }
.win__hero b:first-child { height: 20px; }
.win__chart { height: 138px; }
.hero__visual .phone { width: 200px; inset-inline-start: -4%; bottom: -3%; }
@media (max-width: 900px) { .win--browser { width: 88%; } .hero__visual .phone { width: 180px; inset-inline-start: 0; } .win__url { font-size: 12px; } }

/* Tighter vertical rhythm in the hero (less empty space above the badge and below the content). */
.hero { padding: 40px 0 84px; }
.hero__badge { margin-bottom: 20px; }
@media (max-width: 900px) {
  .hero { padding: 22px 0 56px; }
  .hero__grid { gap: 26px; }
  .hero__badge { margin-bottom: 16px; }
  .hero__visual { min-height: 420px; }
}

/* Market (country) pages */
.market-note { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: var(--yellow-faint); color: var(--text); font-size: 14.5px; line-height: 1.8; }
.market-facts .card .chips { justify-content: flex-start; margin-top: 18px; }
.market-facts .card p { margin-bottom: 0; }
.market-steps { display: grid; gap: 14px; }
.market-steps > div { display: flex; gap: 18px; align-items: flex-start; padding: 20px 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.market-steps b { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; font: 800 17px/1 var(--font-display); color: #0b1a22; background: var(--yellow); }
.market-steps h4 { margin: 0 0 4px; font-size: 17px; }
.market-steps p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.75; }
.market-others__label { text-align: center; font-weight: 700; color: var(--muted); margin-bottom: 14px; }
.market-others { justify-content: center; }
.market-others a { color: inherit; }

.markets-grid .market-card { display: block; padding: 30px 28px; }
.market-card__iso { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 16px; font: 800 16px/1 var(--font-display); color: #0b1a22; background: var(--yellow-soft); transition: background .3s, transform .35s var(--ease); }
.market-card:hover .market-card__iso { background: var(--yellow); transform: rotate(-6deg); }
.market-card h3 { margin: 0 0 6px; }
.market-card p { margin: 0 0 6px; color: var(--muted); }
.market-card__pay { font-size: 13px; font-weight: 600; margin-bottom: 18px !important; }

.markets-strip__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 8px 0 0; padding: 0; list-style: none; }
.markets-strip__list a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px 10px 12px; border-radius: 999px; font-weight: 700; background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
[dir="rtl"] .markets-strip__list a { padding: 10px 12px 10px 20px; }
.markets-strip__list a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.markets-strip__list span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font: 800 12px/1 var(--font-display); color: #0b1a22; background: var(--yellow); }

/* Blog posts: next-article card (circular reading order), related services and projects */
.prose h3 { margin-top: 28px; font-size: 20px; }
.prose p, .prose li { line-height: 1.95; }
.readnext-section { padding-top: 10px; }
.readnext__label { margin: 0 0 14px; font-weight: 800; color: var(--muted); letter-spacing: .04em; }
.readnext { display: flex; align-items: center; gap: 22px; padding: 26px 28px; border-radius: 24px; background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); transition: transform .4s var(--ease), box-shadow .4s; }
.readnext:hover { transform: translateY(-5px); }
.readnext__num { flex: none; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px; font-size: 20px; color: #0b1a22; background: var(--yellow); transition: transform .35s var(--ease); }
[dir="rtl"] .readnext__num i { transform: scaleX(-1); }
.readnext:hover .readnext__num { transform: rotate(-8deg) scale(1.06); }
.readnext__body { display: grid; gap: 6px; }
.readnext__body strong { font-size: clamp(18px, 2.2vw, 24px); line-height: 1.4; }
.readnext__body small { color: var(--on-dark-muted); font-size: 14.5px; line-height: 1.7; }
.readnext__prev { margin: 16px 4px 0; color: var(--muted); font-size: 14.5px; }
.readnext__prev a { color: var(--text); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (max-width: 640px) { .readnext { flex-direction: column; align-items: flex-start; padding: 22px; } }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 44px; }
.pager a { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 14px; border-radius: 14px; background: var(--soft); color: var(--text); font-weight: 700; transition: transform .25s var(--ease), background .25s; }
.pager a:hover { transform: translateY(-2px); }
.pager a.is-active { background: var(--yellow); color: #0b1a22; }
