/* ==========================================================================
   Siyaha Pro - design system
   Palette sampled from the official logo. Radius rule: pills for buttons and chips,
   16px for cards, 24px for large panels, 10px for inner UI (inputs, app mockups).
   ========================================================================== */

@font-face { font-family: "Jakarta"; src: url("../fonts/jakarta-latin.woff2") format("woff2"); font-weight: 300 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jakarta"; src: url("../fonts/jakarta-latin-ext.woff2") format("woff2"); font-weight: 300 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plex Arabic"; src: url("../fonts/plex-arabic-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Plex Arabic"; src: url("../fonts/plex-arabic-500.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Plex Arabic"; src: url("../fonts/plex-arabic-600.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Plex Arabic"; src: url("../fonts/plex-arabic-700.woff2") format("woff2"); font-weight: 700 800; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

:root {
  color-scheme: light;
  /* Brand */
  --navy-950: #061a2e;
  --navy-900: #0b2a4a;
  --navy-800: #12385f;
  --navy-700: #1c4a77;
  --ocean: #016484;
  --teal-700: #015a67;
  --teal-600: #016a79;
  --teal-500: #1f8790;
  --teal-200: #b9dfe1;
  --teal-100: #dceeef;
  --teal-50: #eef7f7;
  --terra-700: #a7461f;
  --terra-600: #bb4f26;
  --terra-500: #cb5b30;
  --orange-400: #e3884f;
  --sand-300: #edb788;
  --sand-200: #f3d5b6;
  --sand-100: #f8e9d9;
  --sand-50: #fcf6ef;
  --green-600: #186a47;
  --green-100: #dcf1e6;
  --amber-600: #8a5207;
  --amber-100: #fbecd2;
  /* Neutrals (cool, tinted with navy) */
  --ink: #0d1f33;
  --ink-2: #3c5065;
  --ink-3: #5f7387;
  --ink-4: #8a9aab;
  --line: #dfe6ec;
  --line-2: #ebf0f4;
  --surface: #ffffff;
  --surface-2: #f5f8fa;
  --surface-3: #eef3f6;
  /* Type */
  --font: "Jakarta", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-display: clamp(2.35rem, 1.55rem + 3.1vw, 4rem);
  --fs-h2: clamp(1.85rem, 1.35rem + 1.9vw, 2.9rem);
  --fs-h3: clamp(1.2rem, 1.08rem + 0.45vw, 1.45rem);
  --fs-lead: clamp(1.05rem, 1rem + 0.25vw, 1.2rem);
  /* Space */
  --gutter: clamp(1rem, 0.6rem + 1.8vw, 2rem);
  --container: 1240px;
  --section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  /* Shape */
  --r-ui: 10px;
  --r-card: 16px;
  --r-panel: 24px;
  --r-pill: 999px;
  /* Depth (navy tinted) */
  --sh-1: 0 1px 2px rgba(11, 42, 74, .06), 0 1px 1px rgba(11, 42, 74, .04);
  --sh-2: 0 12px 32px -14px rgba(11, 42, 74, .22), 0 2px 6px -2px rgba(11, 42, 74, .06);
  --sh-3: 0 40px 80px -32px rgba(11, 42, 74, .38), 0 12px 28px -12px rgba(11, 42, 74, .16);
  /* Motion */
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);
  --header-h: 76px;
}
html[lang="ar"] { --font: "Plex Arabic", "Jakarta", ui-sans-serif, system-ui, "Segoe UI", Tahoma, sans-serif; }

/* --------------------------------------------------------------- Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.6; color: var(--ink);
  background: var(--surface); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.025em; font-weight: 750; color: var(--navy-900); text-wrap: balance; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 { letter-spacing: 0; line-height: 1.3; font-weight: 700; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
.i { width: 1.25em; height: 1.25em; flex: none; }
:focus-visible { outline: 2px solid var(--teal-500); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--teal-100); color: var(--navy-900); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: var(--r-ui); text-decoration: none; font-weight: 600; transition: top .2s var(--ease-out); }
.skip-link:focus { top: 12px; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.tnum { font-variant-numeric: tabular-nums; }
[dir="rtl"] .flip-rtl { transform: scaleX(-1); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--soft { background: var(--surface-2); }
.section--sand { background: var(--sand-50); }

/* --------------------------------------------------------------- Type helpers */
.display { font-size: var(--fs-display); letter-spacing: -0.035em; line-height: 1.05; font-weight: 780; }
html[lang="ar"] .display { letter-spacing: 0; line-height: 1.25; }
.h2 { font-size: var(--fs-h2); letter-spacing: -0.03em; line-height: 1.08; }
html[lang="ar"] .h2 { line-height: 1.3; letter-spacing: 0; }
.h3 { font-size: var(--fs-h3); letter-spacing: -0.015em; }
.lead { font-size: var(--fs-lead); color: var(--ink-2); line-height: 1.6; max-width: 62ch; }
.muted { color: var(--ink-3); }
.kicker {
  display: inline-flex; align-items: center; gap: .5rem; font-size: .8125rem; font-weight: 650; letter-spacing: .02em;
  color: var(--teal-700); background: var(--teal-50); border: 1px solid var(--teal-100); padding: .35rem .8rem .35rem .45rem; border-radius: var(--r-pill);
}
.kicker .i { width: 1.3rem; height: 1.3rem; padding: .2rem; border-radius: 50%; background: #fff; color: var(--terra-500); }
.text-accent { color: var(--teal-600); }
.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head .lead { margin-top: 1.1rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }

/* --------------------------------------------------------------- Buttons */
.btn {
  --btn-bg: var(--navy-900); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 48px; padding: 0 1.35rem;
  border-radius: var(--r-pill); border: 1px solid var(--btn-bd); background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 650; font-size: .975rem; letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  transition: transform .16s var(--ease-out), background-color .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn .btn-ico { display: grid; place-items: center; width: 30px; height: 30px; margin-inline-end: -.85rem; border-radius: 50%; background: rgba(255,255,255,.16); transition: transform .25s var(--ease-out); }
.btn .btn-ico .i { width: 16px; height: 16px; }
[dir="rtl"] .btn .btn-ico .i { transform: scaleX(-1); }
.btn--primary { --btn-bg: var(--terra-600); --btn-fg: #fff; box-shadow: 0 10px 24px -12px rgba(187, 79, 38, .7), inset 0 1px 0 rgba(255,255,255,.18); }
.btn--navy { --btn-bg: var(--navy-900); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy-900); --btn-bd: var(--line); }
.btn--ghost .btn-ico { background: var(--surface-3); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy-900); }
.btn--light .btn-ico { background: var(--teal-50); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.28); }
.btn--sm { min-height: 40px; padding: 0 1rem; font-size: .9rem; }
.btn--lg { min-height: 56px; padding: 0 1.4rem; font-size: 1rem; }
.btn--block { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { --btn-bg: var(--terra-700); }
  .btn--navy:hover { --btn-bg: var(--navy-800); }
  .btn--ghost:hover { --btn-bd: var(--ink-4); background: var(--surface-2); }
  .btn--light:hover { --btn-bg: var(--sand-50); }
  .btn--outline-light:hover { --btn-bd: rgba(255,255,255,.6); background: rgba(255,255,255,.06); }
  .btn:hover .btn-ico { transform: translateX(3px); }
  [dir="rtl"] .btn:hover .btn-ico { transform: translateX(-3px); }
}
.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 650; color: var(--teal-700); text-decoration: none; }
.link-arrow .i { width: 1rem; height: 1rem; transition: transform .25s var(--ease-out); }
[dir="rtl"] .link-arrow .i { transform: scaleX(-1); }
@media (hover: hover) { .link-arrow:hover .i { transform: translateX(3px); } [dir="rtl"] .link-arrow:hover .i { transform: scaleX(-1) translateX(3px); } .link-arrow:hover { text-decoration: underline; } }

.checks { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; list-style: none; font-size: .9rem; color: var(--ink-2); }
.checks li { display: inline-flex; align-items: center; gap: .4rem; }
.checks .i { width: 1.05rem; height: 1.05rem; color: var(--teal-600); }

.chip { display: inline-flex; align-items: center; gap: .35rem; font-size: .75rem; font-weight: 650; line-height: 1; padding: .38rem .6rem; border-radius: var(--r-pill); white-space: nowrap; }
.chip--teal { background: var(--teal-50); color: var(--teal-700); }
.chip--green { background: var(--green-100); color: var(--green-600); }
.chip--amber { background: var(--amber-100); color: var(--amber-600); }
.chip--navy { background: #e4ebf3; color: var(--navy-800); }
.chip--terra { background: var(--sand-100); color: var(--terra-700); }
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* --------------------------------------------------------------- Brand textures */
.zellige { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23016a79' stroke-width='1' stroke-opacity='.16'%3E%3Cpath d='M36 14l6.4 15.6L58 36l-15.6 6.4L36 58l-6.4-15.6L14 36l15.6-6.4z'/%3E%3Crect x='22' y='22' width='28' height='28' transform='rotate(45 36 36)'/%3E%3Cpath d='M0 0l14 14M72 0L58 14M0 72l14-14M72 72L58 58'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 72px 72px; }
.zellige--light { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1' stroke-opacity='.09'%3E%3Cpath d='M36 14l6.4 15.6L58 36l-15.6 6.4L36 58l-6.4-15.6L14 36l15.6-6.4z'/%3E%3Crect x='22' y='22' width='28' height='28' transform='rotate(45 36 36)'/%3E%3Cpath d='M0 0l14 14M72 0L58 14M0 72l14-14M72 72L58 58'/%3E%3C/g%3E%3C/svg%3E"); opacity: 1; }

/* --------------------------------------------------------------- Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease; }
.site-header.is-stuck { border-bottom-color: var(--line-2); box-shadow: 0 8px 24px -18px rgba(11,42,74,.35); background: rgba(255,255,255,.94); }
.header-inner { position: relative; display: flex; align-items: center; gap: 1.25rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; border-radius: 8px; }
.brand img { height: 62px; width: auto; }
.nav { display: flex; align-items: center; gap: .15rem; margin-inline: auto; }
.nav > a, .nav-trigger {
  display: inline-flex; align-items: center; gap: .3rem; height: 40px; padding: 0 .8rem; border-radius: var(--r-pill);
  font-size: .925rem; font-weight: 600; color: var(--ink-2); text-decoration: none; background: none; border: 0; white-space: nowrap;
  transition: color .15s ease, background-color .15s ease;
}
.nav > a:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"] { color: var(--navy-900); background: var(--surface-2); }
.nav > a[aria-current="page"], .nav-item.is-current > .nav-trigger { color: var(--navy-900); }
.nav > a[aria-current="page"]::after { content: ""; }
.nav-trigger .i { width: .85rem; height: .85rem; transition: transform .2s var(--ease-out); }
.nav-trigger[aria-expanded="true"] .i { transform: rotate(180deg); }
.nav-item { position: static; }
.header-actions { display: flex; align-items: center; gap: .5rem; flex: none; }
.header-login { display: inline-flex; align-items: center; gap: .45rem; height: 40px; padding: 0 .9rem; border-radius: var(--r-pill); font-weight: 650; font-size: .925rem; color: var(--navy-900); text-decoration: none; border: 1px solid var(--line); transition: border-color .15s ease, background-color .15s ease; }
.header-login:hover { border-color: var(--ink-4); background: var(--surface-2); }
.header-login .i { width: 1.05rem; height: 1.05rem; color: var(--teal-600); }
[dir="rtl"] .header-login .i { transform: scaleX(-1); }

/* Language switcher */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: .35rem; height: 40px; padding: 0 .7rem; border-radius: var(--r-pill); border: 0; background: none; color: var(--ink-2); font-weight: 650; font-size: .875rem; }
.lang-btn:hover, .lang-btn[aria-expanded="true"] { background: var(--surface-2); color: var(--navy-900); }
.lang-btn .i { width: 1.05rem; height: 1.05rem; }
.lang-menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 190px; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-2);
  opacity: 0; transform: translateY(-4px) scale(.98); transform-origin: top right; visibility: hidden; transition: opacity .16s var(--ease-out), transform .16s var(--ease-out), visibility .16s; }
[dir="rtl"] .lang-menu { transform-origin: top left; }
.lang.is-open .lang-menu { opacity: 1; transform: none; visibility: visible; }
.lang-menu a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem .75rem; border-radius: 9px; text-decoration: none; font-weight: 600; font-size: .925rem; color: var(--ink-2); }
.lang-menu a:hover { background: var(--surface-2); color: var(--navy-900); }
.lang-menu a[aria-current="true"] { color: var(--navy-900); background: var(--teal-50); }
.lang-menu a[aria-current="true"] .i { color: var(--teal-600); }
.lang-menu .i { width: 1rem; height: 1rem; }

/* Mega menu */
.mega { position: absolute; top: calc(100% - 6px); inset-inline-start: 50%; width: min(860px, calc(100vw - 2 * var(--gutter))); translate: -50% 0; z-index: 45;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--sh-3); padding: 10px;
  display: grid; grid-template-columns: 1fr 260px; gap: 10px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s var(--ease-out), transform .18s var(--ease-out), visibility .18s; }
[dir="rtl"] .mega { translate: 50% 0; }
.mega::before { content: ""; position: absolute; inset-inline: 0; top: -16px; height: 16px; }
.nav-item.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 8px; padding: 14px 10px 10px; }
.mega-cols--2 { grid-template-columns: repeat(2, 1fr); }
.mega-col h3 { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-4); font-weight: 700; padding: 0 .6rem .4rem; }
html[lang="ar"] .mega-col h3 { letter-spacing: 0; font-size: .8rem; }
.mega-link { display: flex; align-items: flex-start; gap: .7rem; padding: .6rem; border-radius: 12px; text-decoration: none; transition: background-color .15s ease; }
.mega-link:hover { background: var(--surface-2); }
.mega-link .mi { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--teal-50); color: var(--teal-700); }
.mega-link .mi .i { width: 18px; height: 18px; }
.mega-link strong { display: block; font-size: .9rem; font-weight: 650; color: var(--navy-900); line-height: 1.3; }
.mega-link span { display: block; font-size: .8rem; color: var(--ink-3); line-height: 1.4; margin-top: 2px; }
.mega-aside { position: relative; overflow: hidden; border-radius: 14px; background: var(--navy-900); color: #fff; padding: 1.4rem; display: flex; flex-direction: column; justify-content: flex-end; min-height: 240px; }
.mega-aside .zellige { opacity: 1; }
.mega-aside strong { position: relative; font-size: 1.1rem; line-height: 1.3; font-weight: 700; }
.mega-aside p { position: relative; font-size: .85rem; color: rgba(255,255,255,.72); margin: .5rem 0 1rem; }
.mega-aside .link-arrow { position: relative; color: var(--sand-300); }

/* Burger + mobile menu */
.burger { display: none; position: relative; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--navy-900); transition: transform .3s var(--ease-out), opacity .2s ease; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; z-index: 39; background: #fff; display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .22s var(--ease-out), transform .3s var(--ease-drawer), visibility .22s; }
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu-scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px var(--gutter) 24px; }
.mm-link, .mm-group summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; font-size: 1.12rem; font-weight: 650; color: var(--navy-900); text-decoration: none; border-bottom: 1px solid var(--line-2); list-style: none; cursor: pointer; }
.mm-group summary::-webkit-details-marker { display: none; }
.mm-group summary .i { width: 1rem; height: 1rem; color: var(--ink-3); transition: transform .2s var(--ease-out); }
.mm-group[open] summary .i { transform: rotate(180deg); }
.mm-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 10px 0 14px; border-bottom: 1px solid var(--line-2); }
.mm-sub a { display: flex; align-items: center; gap: .55rem; padding: .6rem .5rem; border-radius: 10px; font-size: .92rem; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.mm-sub a .i { color: var(--teal-600); width: 1.1rem; height: 1.1rem; }
.mm-sub a:active { background: var(--surface-2); }
.mm-langs { display: flex; gap: .5rem; padding-top: 1.25rem; }
.mm-langs a { flex: 1; text-align: center; padding: .7rem; border: 1px solid var(--line); border-radius: var(--r-pill); font-weight: 650; font-size: .9rem; text-decoration: none; color: var(--ink-2); }
.mm-langs a[aria-current="true"] { border-color: var(--teal-500); color: var(--teal-700); background: var(--teal-50); }
.mobile-menu-foot { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; padding: 14px var(--gutter) max(14px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line-2); background: #fff; }
body.menu-open { overflow: hidden; }

@media (max-width: 1199px) {
  .nav, .header-actions .lang, .header-actions .header-login, .header-actions .btn { display: none; }
  .burger { display: inline-block; }
  .header-actions { margin-inline-start: auto; }
  .header-actions .header-login.show-mobile { display: inline-flex; }
}
@media (max-width: 480px) {
  :root { --header-h: 68px; }
  .brand img { height: 54px; }
  .header-actions .header-login.show-mobile { padding: 0 .75rem; }
  .header-actions .header-login.show-mobile span { display: none; }
}

/* --------------------------------------------------------------- Reveal */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0ms); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------- App UI kit (product mockups) */
.app { --app-bg: #fff; position: relative; background: var(--app-bg); border-radius: 14px; border: 1px solid rgba(11,42,74,.10); box-shadow: var(--sh-3); overflow: hidden; font-size: 13px; line-height: 1.4; color: var(--ink); text-align: start; }
.app-top { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 14px; border-bottom: 1px solid var(--line-2); background: #fbfcfd; }
.app-dots { display: flex; gap: 6px; }
.app-dots i { width: 9px; height: 9px; border-radius: 50%; background: #dbe2e8; }
.app-url { flex: 1; max-width: 260px; margin-inline: auto; display: flex; align-items: center; justify-content: center; gap: 6px; height: 24px; border-radius: 7px; background: var(--surface-3); color: var(--ink-2); font-size: 11px; font-weight: 600; }
.app-url .i { width: 11px; height: 11px; }
.app-body { display: grid; grid-template-columns: 56px 1fr; min-height: 0; }
.app-side { background: var(--navy-900); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 0; }
.app-side .logo-dot { width: 32px; height: 32px; border-radius: 9px; background: #fff; display: grid; place-items: center; margin-bottom: 8px; }
.app-side .logo-dot img { width: 26px; height: 26px; }
.app-side span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; color: rgba(255,255,255,.55); }
.app-side span.on { background: rgba(255,255,255,.12); color: #fff; }
.app-side .i { width: 17px; height: 17px; }
.app-main { padding: 16px; min-width: 0; background: var(--surface-2); }
.app-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.app-h b { font-size: 15px; font-weight: 750; color: var(--navy-900); letter-spacing: -.01em; }
.app-h small { display: block; color: var(--ink-3); font-size: 11px; font-weight: 500; margin-top: 1px; }
.app-btn { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; border-radius: 8px; background: var(--navy-900); color: #fff; font-size: 11px; font-weight: 650; white-space: nowrap; }
.app-btn .i { width: 12px; height: 12px; }
.app-btn--terra { background: var(--terra-600); }
.app-btn--ghost { background: #fff; color: var(--navy-900); border: 1px solid var(--line); }
.app-card { background: #fff; border: 1px solid var(--line-2); border-radius: 10px; box-shadow: var(--sh-1); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 10px; }
.kpi { padding: 10px 11px; }
.kpi small { display: flex; align-items: center; gap: 5px; color: var(--ink-3); font-size: 10.5px; font-weight: 600; }
.kpi small .i { width: 12px; height: 12px; color: var(--teal-600); }
.kpi strong { display: block; font-size: 20px; font-weight: 750; letter-spacing: -.02em; color: var(--navy-900); margin-top: 3px; font-variant-numeric: tabular-nums; }
.kpi em { font-style: normal; font-size: 10.5px; color: var(--green-600); font-weight: 650; }
.rows { padding: 4px 0; }
.rows-h { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px 6px; font-size: 11.5px; font-weight: 700; color: var(--navy-900); }
.rows-h span { color: var(--ink-3); font-weight: 600; font-size: 10.5px; }
.row { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 10px; padding: 8px 12px; border-top: 1px solid var(--line-2); }
.row time { font-weight: 700; font-size: 12px; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.row b { display: block; font-weight: 650; font-size: 12px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row small { display: flex; align-items: center; gap: 5px; color: var(--ink-3); font-size: 10.5px; margin-top: 1px; white-space: nowrap; overflow: hidden; }
.row small .i { width: 11px; height: 11px; }
.row .chip { font-size: 10px; padding: .32rem .5rem; }
.avatar { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: 9.5px; font-weight: 750; color: #fff; background: var(--teal-600); flex: none; }
.avatar--terra { background: var(--terra-600); } .avatar--navy { background: var(--navy-700); } .avatar--sand { background: var(--sand-300); color: var(--navy-900); }
.widget { position: absolute; background: #fff; border-radius: 14px; border: 1px solid rgba(11,42,74,.08); box-shadow: var(--sh-3); padding: 12px 14px; font-size: 12px; line-height: 1.4; text-align: start; }
.widget-title { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 650; color: var(--ink-3); }
.widget-title .i { width: 14px; height: 14px; color: var(--teal-600); }
.bar-track { height: 6px; border-radius: 6px; background: var(--surface-3); overflow: hidden; }
.bar-fill { height: 100%; border-radius: 6px; background: var(--teal-500); transform-origin: left; }
[dir="rtl"] .bar-fill { transform-origin: right; }

/* --------------------------------------------------------------- Hero (home) */
.hero { position: relative; padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.25rem) clamp(3.5rem, 2rem + 5vw, 6.5rem); overflow: clip; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg::before { content: ""; position: absolute; inset-inline-end: -10%; top: -20%; width: 70%; height: 120%; background: radial-gradient(closest-side, rgba(237,183,136,.28), rgba(237,183,136,0) 70%), radial-gradient(closest-side at 70% 70%, rgba(31,135,144,.14), rgba(31,135,144,0) 70%); }
.hero-bg .zellige { -webkit-mask-image: radial-gradient(70% 70% at 80% 30%, #000 0%, transparent 75%); mask-image: radial-gradient(70% 70% at 80% 30%, #000 0%, transparent 75%); opacity: .9; }
[dir="rtl"] .hero-bg .zellige { -webkit-mask-image: radial-gradient(70% 70% at 20% 30%, #000 0%, transparent 75%); mask-image: radial-gradient(70% 70% at 20% 30%, #000 0%, transparent 75%); }
[dir="rtl"] .hero-bg::before { inset-inline-end: auto; inset-inline-start: -10%; transform: scaleX(-1); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 2vw, 3rem); align-items: center; }
.hero-copy .kicker { margin-bottom: 1.4rem; }
.hero-copy h1 { margin-bottom: 1.35rem; }
.hero-copy h1 .hl { position: relative; color: var(--teal-600); white-space: nowrap; }
.hero-copy h1 .hl svg { position: absolute; inset-inline: -2%; bottom: -.18em; width: 104%; height: .32em; overflow: visible; }
.hero-copy .lead { margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.6rem; }
.hero-visual { position: relative; min-height: 520px; margin-bottom: 64px; }
.hero-route { position: absolute; inset: -4% -4% auto auto; width: 46%; z-index: 0; color: var(--terra-500); }
[dir="rtl"] .hero-route { inset: -8% auto auto -6%; transform: scaleX(-1); }
.hero-app { position: relative; z-index: 1; margin-top: 118px; margin-inline-start: 60px; width: calc(100% - 20px); }
.hero-app .rows .row:nth-child(n+5) { display: none; }
.w-booking { z-index: 2; top: 0; inset-inline-start: 0; width: 228px; }
.w-booking .w-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.w-booking .w-ref { font-size: 11px; font-weight: 700; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.w-booking strong { display: block; font-size: 14px; color: var(--navy-900); font-weight: 750; }
.w-booking .w-lines { display: grid; gap: 5px; margin: 9px 0 10px; color: var(--ink-2); font-size: 11.5px; }
.w-booking .w-lines span { display: flex; align-items: center; gap: 6px; }
.w-booking .w-lines .i { width: 13px; height: 13px; color: var(--teal-600); }
.w-booking .w-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 9px; border-top: 1px dashed var(--line); font-size: 11px; color: var(--ink-3); font-weight: 600; }
.w-booking .w-total b { font-size: 15px; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.w-fleet { z-index: 2; bottom: -64px; inset-inline-end: -12px; width: 250px; }
.w-fleet .ring { position: relative; width: 74px; height: 74px; flex: none; }
.w-fleet .ring svg { width: 74px; height: 74px; transform: rotate(-90deg); }
.w-fleet .ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 15px; font-weight: 750; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.w-fleet .ring b small { display: block; font-size: 9.5px; color: var(--ink-3); font-weight: 600; text-align: center; line-height: 1; }
.w-fleet .w-flex { display: flex; gap: 12px; align-items: center; margin-top: 8px; }
.w-fleet ul { list-style: none; display: grid; gap: 6px; flex: 1; font-size: 11px; color: var(--ink-2); }
.w-fleet li { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; }
.w-fleet li .bar-track { grid-column: 1 / -1; height: 4px; }
.w-flight { z-index: 2; top: 44px; inset-inline-start: 262px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-pill); }
.w-flight .plane { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--sand-100); color: var(--terra-600); }
.w-flight .plane .i { width: 16px; height: 16px; }
[dir="rtl"] .w-flight .plane .i { transform: scaleX(-1); }
.w-flight b { display: block; font-size: 12px; color: var(--navy-900); }
.w-flight small { color: var(--ink-3); font-size: 10.5px; }

@media (prefers-reduced-motion: no-preference) {
  .js .hero-copy > * { opacity: 0; transform: translateY(14px); animation: rise .9s var(--ease-out) forwards; }
  .js .hero-copy > :nth-child(2) { animation-delay: .06s; } .js .hero-copy > :nth-child(3) { animation-delay: .12s; }
  .js .hero-copy > :nth-child(4) { animation-delay: .18s; } .js .hero-copy > :nth-child(5) { animation-delay: .24s; }
  .js .hero-app { opacity: 0; transform: translateY(26px) scale(.985); animation: rise 1.1s .15s var(--ease-out) forwards; }
  .js .hero-visual .widget { opacity: 0; transform: translateY(12px) scale(.97); animation: rise .8s var(--ease-out) forwards; }
  .js .w-booking { animation-delay: .7s !important; } .js .w-flight { animation-delay: .95s !important; } .js .w-fleet { animation-delay: 1.15s !important; }
  .js .hero-app .row { opacity: 0; animation: fadein .6s var(--ease-out) forwards; }
  .js .hero-app .row:nth-child(2) { animation-delay: .55s; } .js .hero-app .row:nth-child(3) { animation-delay: .62s; } .js .hero-app .row:nth-child(4) { animation-delay: .69s; } .js .hero-app .row:nth-child(5) { animation-delay: .76s; }
  .js .hl-line { stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1.2s .5s var(--ease-in-out) forwards; }
  .js .route-path { stroke-dashoffset: 0; animation: dashflow 2.4s .3s var(--ease-out) both; }
  .js .ring-fill { animation: ring 1.4s 1.3s var(--ease-out) both; }
  .js .status-swap .a { animation: swapout .3s 2.4s var(--ease-out) forwards; }
  .js .status-swap .b { opacity: 0; animation: swapin .35s 2.65s var(--ease-out) forwards; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fadein { to { opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes dashflow { from { stroke-dashoffset: 260; opacity: 0; } to { stroke-dashoffset: 0; opacity: 1; } }
@keyframes ring { from { stroke-dashoffset: 201; } }
@keyframes swapout { to { opacity: 0; transform: translateY(-4px); } }
@keyframes swapin { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.status-swap { display: inline-grid; justify-items: end; }
.status-swap > * { grid-area: 1 / 1; }

/* Business strip under the hero */
.biz-strip { position: relative; border-block: 1px solid var(--line-2); background: #fff; }
.biz-strip-inner { display: flex; align-items: center; gap: 1.5rem; padding-block: 1.1rem; }
.biz-strip-label { flex: none; font-size: .85rem; font-weight: 650; color: var(--ink-3); max-width: 13ch; line-height: 1.35; }
.biz-list { display: flex; gap: .5rem; list-style: none; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; padding: 2px; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
[dir="rtl"] .biz-list { -webkit-mask-image: linear-gradient(-90deg, #000 88%, transparent); mask-image: linear-gradient(-90deg, #000 88%, transparent); }
.biz-list::-webkit-scrollbar { display: none; }
.biz-list a { display: inline-flex; align-items: center; gap: .5rem; height: 42px; padding: 0 1rem 0 .55rem; border-radius: var(--r-pill); border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--navy-900); white-space: nowrap; scroll-snap-align: start; transition: border-color .15s ease, background-color .15s ease; }
.biz-list a .i { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--teal-50); color: var(--teal-700); }
.biz-list a:hover { border-color: var(--teal-200); background: var(--teal-50); }
@media (min-width: 1200px) { .biz-list { -webkit-mask-image: none; mask-image: none; flex-wrap: wrap; } }

/* --------------------------------------------------------------- Story (enquiry to payment) */
.story { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.story-stage { position: sticky; top: calc(var(--header-h) + 9vh); }
.story-screen { position: relative; display: grid; }
.story-panel { grid-area: 1 / 1; opacity: 0; transform: translateY(10px) scale(.99); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); pointer-events: none; }
.story-panel.is-active { opacity: 1; transform: none; pointer-events: auto; }
.story-panel .app { height: 100%; display: flex; flex-direction: column; }
.story-panel .app-body { flex: 1; }
.story-steps { list-style: none; counter-reset: step; }
.story-step { position: relative; padding: 2.2rem 0 2.2rem 3.4rem; min-height: 36vh; display: flex; flex-direction: column; justify-content: center; }
[dir="rtl"] .story-step { padding: 2.2rem 3.4rem 2.2rem 0; }
.story-step::before { content: ""; position: absolute; inset-inline-start: 17px; top: 0; bottom: 0; width: 2px; background: repeating-linear-gradient(to bottom, var(--line) 0 6px, transparent 6px 12px); }
.story-step:first-child::before { top: 50%; } .story-step:last-child::before { bottom: 50%; }
.story-node { position: absolute; inset-inline-start: 0; top: 50%; translate: 0 -50%; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); color: var(--ink-4); transition: border-color .3s ease, color .3s ease, background-color .3s ease, transform .3s var(--ease-out); }
.story-node .i { width: 17px; height: 17px; }
.story-step.is-active .story-node { border-color: var(--terra-500); background: var(--terra-500); color: #fff; transform: scale(1.06); }
.story-step h3 { font-size: 1.35rem; margin-bottom: .6rem; transition: color .3s ease; }
.story-step p { color: var(--ink-2); }
.story-step:not(.is-active) h3 { color: var(--ink-3); }
.story-step:not(.is-active) p:not(.label) { color: var(--ink-3); }
.story-step .story-mini { display: none; }
.story-step .label { font-size: .8rem; font-weight: 700; color: var(--terra-600); margin-bottom: .35rem; }

/* Generic mini-mockup pieces used in panels and bento */
.qline { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 9px 12px; border-top: 1px solid var(--line-2); font-size: 12px; }
.qline:first-child { border-top: 0; }
.qline .q-ico { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--teal-50); color: var(--teal-700); margin-inline-end: 8px; vertical-align: middle; }
.qline .q-ico .i { width: 14px; height: 14px; }
.qline span:first-child { display: flex; align-items: center; font-weight: 600; min-width: 0; }
.qline em { font-style: normal; color: var(--ink-3); font-size: 11px; }
.qline b { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--navy-900); }
.qtotal { display: flex; justify-content: space-between; align-items: center; padding: 12px; background: var(--navy-900); color: #fff; border-radius: 0 0 10px 10px; font-weight: 650; font-size: 12px; }
.qtotal b { font-size: 17px; font-variant-numeric: tabular-nums; }
.contact-card { display: flex; gap: 12px; align-items: center; padding: 12px; }
.contact-card .avatar { width: 40px; height: 40px; font-size: 13px; }
.contact-card b { display: block; font-size: 14px; color: var(--navy-900); }
.contact-card small { color: var(--ink-3); font-size: 11px; }
.timeline { list-style: none; padding: 6px 12px 12px; display: grid; gap: 10px; }
.timeline li { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: start; font-size: 12px; }
.timeline .t-ico { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--surface-3); color: var(--ink-2); }
.timeline .t-ico .i { width: 13px; height: 13px; }
.timeline b { display: block; font-weight: 650; }
.timeline small, .timeline time { color: var(--ink-3); font-size: 11px; }

/* --------------------------------------------------------------- Bento (modules) */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(0, auto); gap: 14px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r-card); border: 1px solid var(--line); background: #fff; padding: 1.5rem; display: flex; flex-direction: column; gap: .4rem; text-decoration: none; color: inherit; isolation: isolate; transition: border-color .2s ease, box-shadow .25s var(--ease-out), transform .25s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .tile:hover { border-color: var(--teal-200); box-shadow: var(--sh-2); transform: translateY(-2px); } }
.tile h3 { font-size: 1.12rem; display: flex; align-items: center; gap: .55rem; }
.tile h3 .i { width: 1.3rem; height: 1.3rem; color: var(--teal-600); }
.tile p { font-size: .925rem; color: var(--ink-2); max-width: 46ch; }
.tile .tile-visual { margin-top: auto; padding-top: 1.25rem; }
.tile--fleet { grid-column: span 7; grid-row: span 2; background: linear-gradient(180deg, #fff 0%, var(--teal-50) 100%); }
.tile--res { grid-column: span 5; }
.tile--tours { grid-column: span 5; }
.tile--dmc { grid-column: span 4; grid-row: span 2; background: var(--sand-50); border-color: var(--sand-200); }
.tile--dmc .tile-visual { margin-top: 0; }
.tile--cal { grid-column: span 8; }
.tile--money { grid-column: span 4; background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.tile--analytics { grid-column: span 7; }
.tile--team { grid-column: span 5; }
.spark { display: flex; align-items: flex-end; gap: 6px; height: 92px; }
.spark span { flex: 1; border-radius: 6px 6px 2px 2px; background: var(--teal-100); height: var(--h); transform-origin: bottom; }
.spark span:nth-last-child(-n+3) { background: var(--teal-500); }
.spark span:last-child { background: var(--terra-500); }
@media (prefers-reduced-motion: no-preference) { .js .tile .spark span { transform: scaleY(.2); transition: transform .9s var(--ease-out); transition-delay: calc(var(--i) * 40ms); } .js .tile.is-in .spark span { transform: none; } }
.spark-legend { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-3); font-weight: 600; margin-top: 8px; }
.mini-contacts { display: grid; gap: 6px; }
.mini-contacts div { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border-radius: 10px; background: var(--surface-2); font-size: 12px; }
.mini-contacts b { font-weight: 650; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-contacts .avatar { width: 24px; height: 24px; }
.tile--money h3, .tile--money h3 .i { color: #fff; } .tile--money p { color: rgba(255,255,255,.72); }
.tile--crm { grid-column: span 4; }
.tile .zellige { z-index: -1; }
.fleet-table { background: #fff; border: 1px solid var(--line-2); border-radius: 12px; box-shadow: var(--sh-1); overflow: hidden; font-size: 12px; }
.fleet-row { display: grid; grid-template-columns: 1.5fr 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-top: 1px solid var(--line-2); }
.fleet-row:first-child { border-top: 0; background: var(--surface-2); font-size: 10.5px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; }
html[lang="ar"] .fleet-row:first-child { letter-spacing: 0; }
.fleet-row b { display: flex; align-items: center; gap: 8px; font-weight: 650; }
.fleet-row b .i { width: 16px; height: 16px; color: var(--navy-700); }
.fleet-row .drv { display: flex; align-items: center; gap: 6px; color: var(--ink-2); }
.fleet-row .avatar { width: 22px; height: 22px; font-size: 9px; }
.cap { display: grid; gap: 8px; }
.cap-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: 12px; }
.cap-row b { font-weight: 650; } .cap-row span { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.cap-row .bar-track { grid-column: 1 / -1; }
.days { list-style: none; display: grid; gap: 0; position: relative; }
.days li { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 8px 0; font-size: 12.5px; }
.days li::before { content: ""; position: absolute; inset-inline-start: 16px; top: 34px; bottom: -8px; border-inline-start: 2px dashed var(--sand-300); }
.days li:last-child::before { display: none; }
.days .d { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 1px solid var(--sand-200); font-weight: 750; font-size: 11px; color: var(--terra-700); }
.days b { display: block; color: var(--navy-900); font-weight: 650; }
.days small { color: var(--ink-3); font-size: 11.5px; }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; font-size: 10.5px; }
.week .wd { color: var(--ink-3); font-weight: 650; text-align: center; padding-bottom: 4px; }
.week .slot { border-radius: 7px; padding: 6px 7px; font-weight: 650; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slot--t { background: var(--teal-50); color: var(--teal-700); border-inline-start: 3px solid var(--teal-500); }
.slot--e { background: var(--sand-100); color: var(--terra-700); border-inline-start: 3px solid var(--terra-500); }
.slot--c { background: #e4ebf3; color: var(--navy-800); border-inline-start: 3px solid var(--navy-700); }
.slot--x { background: transparent; }
.money-list { display: grid; gap: 8px; font-size: 12.5px; }
.money-list div { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.09); }
.money-list b { font-variant-numeric: tabular-nums; }
.roles { display: flex; flex-wrap: wrap; gap: 6px; }
.roles .chip { font-size: .78rem; padding: .45rem .7rem; }
@media (max-width: 1023px) {
  .tile--fleet, .tile--cal { grid-column: span 12; }
  .tile--res, .tile--tours, .tile--crm, .tile--team, .tile--money, .tile--analytics { grid-column: span 6; }
  .tile--dmc { grid-column: span 6; grid-row: span 1; }
  .bento { grid-auto-flow: dense; }
  .tile--team { grid-column: span 12; }
}
@media (max-width: 639px) { .bento > .tile { grid-column: 1 / -1; grid-row: auto; } }

/* --------------------------------------------------------------- Converge (one platform) */
.converge { position: relative; background: var(--navy-950); color: #fff; overflow: hidden; }
.converge .zellige { -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.converge::after { content: ""; position: absolute; inset: auto -20% -40% -20%; height: 70%; background: radial-gradient(closest-side, rgba(203,91,48,.22), transparent 70%); pointer-events: none; }
.converge-head { position: relative; z-index: 1; text-align: center; max-width: 820px; margin: 0 auto clamp(2.5rem, 2rem + 2vw, 4rem); }
.converge-tag { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .22em; color: var(--sand-300); margin-bottom: 1.2rem; }
html[lang="ar"] .converge-tag { letter-spacing: .02em; }
.converge-head h2 { color: #fff; }
.converge-head p { color: rgba(255,255,255,.72); margin: 1.1rem auto 0; max-width: 60ch; font-size: var(--fs-lead); }
.converge-map { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr minmax(180px, 240px) 1fr; align-items: center; gap: 0; }
.cv-col { display: grid; gap: 12px; position: relative; z-index: 2; }
.cv-col--in { justify-items: start; } .cv-col--out { justify-items: end; }
.cv-pill { display: inline-flex; align-items: center; gap: .6rem; padding: .7rem 1rem .7rem .7rem; border-radius: var(--r-pill); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.85); font-weight: 600; font-size: .92rem; }
.cv-pill .i { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--sand-300); }
.cv-col--in .cv-pill { text-decoration: line-through; text-decoration-color: rgba(237,183,136,.55); text-decoration-thickness: 1px; }
.cv-col--out .cv-pill { background: #fff; color: var(--navy-900); border-color: #fff; }
.cv-col--out .cv-pill .i { background: var(--teal-50); color: var(--teal-600); }
.cv-hub { position: relative; z-index: 2; justify-self: center; display: grid; place-items: center; width: 190px; height: 190px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 12px rgba(255,255,255,.05), 0 0 0 26px rgba(255,255,255,.03), 0 30px 80px -20px rgba(0,0,0,.5); }
.cv-hub img { width: 128px; height: auto; }
.cv-lines { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; }
.cv-lines path { fill: none; stroke: rgba(237,183,136,.55); stroke-width: 1.5; stroke-dasharray: 4 6; }
.cv-lines .out { stroke: rgba(185,223,225,.7); }
@media (prefers-reduced-motion: no-preference) {
  .js .cv-lines path { stroke-dashoffset: 120; transition: stroke-dashoffset 2s var(--ease-out); }
  .js .converge-map.is-in .cv-lines path { stroke-dashoffset: 0; }
}
@media (max-width: 899px) {
  .converge-map { grid-template-columns: 1fr; gap: 28px; }
  .cv-col { grid-template-columns: 1fr 1fr; justify-items: stretch; }
  .cv-pill { font-size: .85rem; padding: .6rem .8rem .6rem .55rem; }
  .cv-lines { display: none; }
  .cv-hub { width: 150px; height: 150px; }
  .cv-hub img { width: 100px; }
  .cv-col--out { order: 3; }
}

/* --------------------------------------------------------------- Selector (who it's for) */
.selector { display: grid; grid-template-columns: minmax(240px, 300px) 1fr; gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: start; }
.sel-tabs { display: grid; gap: 4px; position: sticky; top: calc(var(--header-h) + 24px); }
.sel-tab { display: flex; align-items: center; gap: .8rem; width: 100%; padding: .8rem .9rem; border: 1px solid transparent; border-radius: 14px; background: none; text-align: start; transition: background-color .2s ease, border-color .2s ease; }
.sel-tab .i { width: 38px; height: 38px; padding: 9px; border-radius: 11px; background: var(--surface-3); color: var(--ink-3); transition: background-color .2s ease, color .2s ease; }
.sel-tab strong { display: block; font-size: .98rem; font-weight: 650; color: var(--ink-2); }
.sel-tab small { display: block; font-size: .8rem; color: var(--ink-3); line-height: 1.35; margin-top: 1px; }
.sel-tab:hover { background: var(--surface-2); }
.sel-tab[aria-selected="true"] { background: #fff; border-color: var(--line); box-shadow: var(--sh-2); }
.sel-tab[aria-selected="true"] .i { background: var(--terra-500); color: #fff; }
.sel-tab[aria-selected="true"] strong { color: var(--navy-900); }
.sel-tab[aria-selected="true"] small { color: var(--ink-3); }
.sel-panel { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 0; border-radius: var(--r-panel); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--sh-2); min-height: 460px; }
.sel-panel[hidden] { display: none; }
.sel-copy { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); display: flex; flex-direction: column; gap: 1rem; }
.sel-copy h3 { font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.8rem); }
.sel-copy > p { color: var(--ink-2); }
.needs { list-style: none; display: grid; gap: .6rem; }
.needs li { display: flex; gap: .6rem; font-size: .95rem; color: var(--ink); }
.needs .i { width: 1.2rem; height: 1.2rem; color: var(--teal-600); margin-top: 2px; }
.mod-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mod-chips a, .mod-chips span { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 600; padding: .4rem .7rem; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--line-2); color: var(--ink-2); text-decoration: none; }
.mod-chips .i { width: .95rem; height: .95rem; color: var(--teal-600); }
.mod-chips a:hover { border-color: var(--teal-200); color: var(--teal-700); }
.sel-copy .link-arrow { margin-top: auto; }
.sel-visual { position: relative; background: var(--navy-900); padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); display: flex; align-items: center; overflow: hidden; }
.sel-visual .zellige { opacity: 1; }
.sel-visual .app { width: 100%; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); }
.sel-visual .app-main { background: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .js .sel-panel.is-entering .sel-copy > *, .js .sel-panel.is-entering .app { animation: rise .5s var(--ease-out) both; }
  .js .sel-panel.is-entering .sel-copy > * { opacity: 0; transform: translateY(8px); }
  .js .sel-panel.is-entering .sel-copy > :nth-child(2) { animation-delay: .04s; } .js .sel-panel.is-entering .sel-copy > :nth-child(3) { animation-delay: .08s; }
  .js .sel-panel.is-entering .sel-copy > :nth-child(4) { animation-delay: .12s; } .js .sel-panel.is-entering .sel-copy > :nth-child(5) { animation-delay: .16s; }
  .js .sel-panel.is-entering .app { opacity: 0; transform: translateY(14px); animation-delay: .08s; }
}
@media (max-width: 1023px) {
  .selector { grid-template-columns: 1fr; }
  .sel-tabs { position: relative; top: 0; display: flex; overflow-x: auto; scrollbar-width: none; gap: 6px; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 8px; scroll-snap-type: x mandatory; }
  .sel-tabs::-webkit-scrollbar { display: none; }
  .sel-tab { width: auto; flex: none; padding: .45rem .9rem .45rem .45rem; border-color: var(--line); border-radius: var(--r-pill); scroll-snap-align: start; }
  .sel-tab .i { width: 32px; height: 32px; padding: 7px; border-radius: 50%; }
  .sel-tab small { display: none; }
  .sel-tab strong { font-size: .9rem; white-space: nowrap; }
  .sel-panel { grid-template-columns: 1fr; min-height: 0; }
}

/* --------------------------------------------------------------- Spotlight (transport planning) */
.spotlight-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; margin-bottom: 2.5rem; }
.spotlight-wrap { position: relative; }
.gantt-scroll { overflow-x: auto; scrollbar-width: thin; border-radius: 14px; }
.gantt { min-width: 860px; }
.gantt-grid { position: relative; display: grid; grid-template-columns: 210px 1fr; font-size: 12px; background: #fff; }
.g-hours { display: grid; grid-template-columns: repeat(8, 1fr); border-bottom: 1px solid var(--line-2); color: var(--ink-3); font-size: 10.5px; font-weight: 650; font-variant-numeric: tabular-nums; }
.g-hours span { padding: 8px 6px; border-inline-start: 1px solid var(--line-2); }
.g-veh { display: flex; align-items: center; gap: 9px; padding: 0 12px; height: 54px; border-bottom: 1px solid var(--line-2); border-inline-end: 1px solid var(--line-2); }
.g-veh .i { width: 18px; height: 18px; color: var(--navy-700); }
.g-veh b { display: block; font-weight: 650; font-size: 12px; }
.g-veh small { color: var(--ink-3); font-size: 10.5px; }
.g-lane { position: relative; height: 54px; border-bottom: 1px solid var(--line-2); background-image: linear-gradient(90deg, var(--line-2) 1px, transparent 1px); background-size: 12.5% 100%; }
[dir="rtl"] .g-lane { background-image: linear-gradient(-90deg, var(--line-2) 1px, transparent 1px); }
.g-bar { position: absolute; top: 9px; height: 36px; inset-inline-start: var(--s); width: var(--w); border-radius: 9px; padding: 4px 9px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; font-size: 11px; line-height: 1.25; white-space: nowrap; transform-origin: left center; }
[dir="rtl"] .g-bar { transform-origin: right center; }
.g-bar b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; } .g-bar small { font-size: 10px; overflow: hidden; text-overflow: ellipsis; }
.g-bar--t { background: var(--teal-100); color: var(--teal-700); box-shadow: inset 3px 0 0 var(--teal-500); }
.g-bar--e { background: var(--sand-100); color: var(--terra-700); box-shadow: inset 3px 0 0 var(--terra-500); }
.g-bar--c { background: #dfe8f2; color: var(--navy-800); box-shadow: inset 3px 0 0 var(--navy-700); }
.g-bar--warn { background: #fff; color: var(--amber-600); border: 1.5px dashed var(--amber-600); box-shadow: none; }
[dir="rtl"] .g-bar--t { box-shadow: inset -3px 0 0 var(--teal-500); } [dir="rtl"] .g-bar--e { box-shadow: inset -3px 0 0 var(--terra-500); } [dir="rtl"] .g-bar--c { box-shadow: inset -3px 0 0 var(--navy-700); }
.g-now { position: absolute; top: 0; bottom: 0; inset-inline-start: calc(210px + (100% - 210px) * .443); width: 2px; background: var(--terra-500); z-index: 2; }
.g-now::before { content: attr(data-label); position: absolute; top: 6px; inset-inline-start: 6px; font-size: 10px; font-weight: 700; color: #fff; background: var(--terra-500); padding: 2px 6px; border-radius: 6px; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .js .gantt .g-bar { opacity: 0; transform: scaleX(.6); transition: opacity .5s var(--ease-out), transform .7s var(--ease-out); transition-delay: var(--d, 0ms); }
  .js .gantt.is-in .g-bar { opacity: 1; transform: none; }
}
.callouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, .5rem + 2vw, 2.5rem); margin-top: 2.25rem; list-style: none; }
.callouts li { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; }
.callouts .n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--sand-100); color: var(--terra-600); }
.callouts .n .i { width: 20px; height: 20px; }
.callouts b { display: block; font-size: 1rem; color: var(--navy-900); margin-bottom: .2rem; }
.callouts p { font-size: .925rem; color: var(--ink-2); }
.scroll-hint { display: none; align-items: center; gap: .4rem; font-size: .8rem; color: var(--ink-3); margin-top: .75rem; }
.scroll-hint .i { width: 1rem; height: 1rem; }
@media (max-width: 899px) {
  .spotlight-head { grid-template-columns: 1fr; gap: 1.25rem; }
  .callouts { grid-template-columns: 1fr; }
  .scroll-hint { display: inline-flex; }
}

/* --------------------------------------------------------------- Commitments / trust */
.trust { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.arch { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 20px 20px; background: var(--navy-900); overflow: hidden; display: grid; place-items: center; isolation: isolate; }
.arch .zellige { z-index: -1; }
.arch::before { content: ""; position: absolute; inset: 14px; border-radius: 999px 999px 12px 12px; border: 1px solid rgba(237,183,136,.35); }
.arch-badge { position: relative; display: grid; place-items: center; width: 62%; aspect-ratio: 1; border-radius: 50%; background: #fff; box-shadow: 0 30px 70px -20px rgba(0,0,0,.55); }
.arch-badge img { width: 74%; }
.arch-caption { position: absolute; bottom: 30px; inset-inline: 0; text-align: center; color: var(--sand-200); font-size: .82rem; font-weight: 700; letter-spacing: .24em; }
html[lang="ar"] .arch-caption { letter-spacing: .02em; }
.commit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 2.25rem; margin-top: 2.5rem; }
.commit { display: grid; grid-template-columns: auto 1fr; gap: .9rem; }
.commit .ci { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--teal-50); color: var(--teal-700); border: 1px solid var(--teal-100); }
.commit .ci .i { width: 22px; height: 22px; }
.commit b { display: block; font-size: 1.02rem; color: var(--navy-900); margin-bottom: .25rem; }
.commit p { font-size: .925rem; color: var(--ink-2); }
@media (max-width: 899px) {
  .trust { grid-template-columns: 1fr; }
  .arch { max-width: 340px; width: 100%; margin-inline: auto; aspect-ratio: 5 / 5.4; }
}
@media (max-width: 559px) { .commit-grid { grid-template-columns: 1fr; gap: 1.5rem; } }

/* --------------------------------------------------------------- Trial steps */
.trial-band { position: relative; border-radius: var(--r-panel); background: var(--sand-50); border: 1px solid var(--sand-200); padding: clamp(1.75rem, 1rem + 3vw, 3.5rem); overflow: hidden; isolation: isolate; }
.trial-band .zellige { z-index: -1; -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000); mask-image: linear-gradient(90deg, transparent 40%, #000); }
.trial-band-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
.trial-badge { display: inline-flex; align-items: baseline; gap: .5rem; color: var(--terra-600); font-weight: 750; margin-bottom: 1rem; }
.trial-badge strong { font-size: 3.4rem; line-height: 1; letter-spacing: -.04em; }
.trial-badge span { font-size: 1.05rem; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; position: relative; }
.steps::before { content: ""; position: absolute; top: 23px; inset-inline: 12% 12%; border-top: 2px dashed var(--sand-300); }
.steps li { position: relative; display: grid; gap: .6rem; justify-items: start; }
.steps .sn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 1px solid var(--sand-200); color: var(--terra-600); box-shadow: var(--sh-1); }
.steps .sn .i { width: 22px; height: 22px; }
.steps b { font-size: 1rem; color: var(--navy-900); }
.steps p { font-size: .9rem; color: var(--ink-2); }
.trial-band-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; padding-top: 1.75rem; border-top: 1px solid var(--sand-200); }
@media (max-width: 899px) {
  .trial-band-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 1.25rem; }
  .steps::before { top: 24px; bottom: 24px; inset-inline: 23px auto; border-top: 0; border-inline-start: 2px dashed var(--sand-300); }
  .steps li { grid-template-columns: 48px 1fr; column-gap: 1rem; }
  .steps li .sn { grid-row: span 2; }
}

/* --------------------------------------------------------------- FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-intro p { margin-top: 1rem; color: var(--ink-2); }
.faq-intro .link-arrow { margin-top: 1.25rem; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.35rem 0; font-weight: 650; font-size: 1.05rem; color: var(--navy-900); list-style: none; cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .pm { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); transition: background-color .2s ease, border-color .2s ease, transform .3s var(--ease-out); }
.acc summary .pm::before, .acc summary .pm::after { content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 1.5px; background: var(--navy-900); translate: -50% -50%; transition: transform .3s var(--ease-out); }
.acc summary .pm::after { transform: rotate(90deg); }
.acc details[open] summary .pm { background: var(--navy-900); border-color: var(--navy-900); }
.acc details[open] summary .pm::before, .acc details[open] summary .pm::after { background: #fff; }
.acc details[open] summary .pm::after { transform: rotate(0deg); }
.acc .acc-body { padding: 0 3rem 1.5rem 0; color: var(--ink-2); }
[dir="rtl"] .acc .acc-body { padding: 0 0 1.5rem 3rem; }
.acc .acc-body p + p { margin-top: .75rem; }
@media (hover: hover) { .acc summary:hover { color: var(--teal-700); } }
@media (max-width: 899px) { .faq { grid-template-columns: 1fr; } .faq-intro { position: static; } .acc .acc-body { padding-inline-end: 0; } }

/* --------------------------------------------------------------- Final CTA */
.final-cta { padding-block: 0 var(--section); }
.final-panel { position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; background: var(--navy-900); color: #fff; padding: clamp(2rem, 1rem + 4vw, 4.5rem); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2.5rem; align-items: center; }
.final-panel .zellige { z-index: -1; }
.final-panel::before { content: ""; position: absolute; z-index: -1; inset: -40% -10% auto auto; width: 60%; height: 140%; background: radial-gradient(closest-side, rgba(31,135,144,.45), transparent 70%); }
[dir="rtl"] .final-panel::before { inset: -40% auto auto -10%; }
.final-panel h2 { color: #fff; font-size: clamp(1.8rem, 1.3rem + 1.9vw, 2.8rem); }
.final-panel p { color: rgba(255,255,255,.75); margin-top: 1rem; max-width: 52ch; font-size: var(--fs-lead); }
.final-actions { display: grid; gap: .75rem; justify-items: start; }
.final-actions .checks { color: rgba(255,255,255,.8); margin-top: .5rem; }
.final-actions .checks .i { color: var(--sand-300); }
.final-route { position: absolute; z-index: -1; inset-inline-end: 0; top: 6%; width: 34%; color: var(--sand-300); opacity: .45; }
[dir="rtl"] .final-route { transform: scaleX(-1); }
@media (max-width: 899px) { .final-panel { grid-template-columns: 1fr; } .final-route { display: none; } }

/* --------------------------------------------------------------- Footer */
.site-footer { background: var(--surface-2); border-top: 1px solid var(--line-2); padding-top: clamp(3rem, 2rem + 3vw, 5rem); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 3fr); gap: clamp(2rem, 1rem + 4vw, 5rem); padding-bottom: 3rem; }
.footer-brand img { height: 112px; width: auto; }
.footer-brand p { margin: 1.25rem 0 1.5rem; color: var(--ink-2); font-size: .95rem; max-width: 36ch; }
.footer-brand .btns { display: flex; flex-wrap: wrap; gap: .6rem; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 1.5rem; }
.footer-col h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); font-weight: 750; margin-bottom: 1rem; }
html[lang="ar"] .footer-col h2 { letter-spacing: 0; font-size: .9rem; }
.footer-col ul { list-style: none; display: grid; gap: .55rem; }
.footer-col a, .footer-col button.linklike { color: var(--ink-2); text-decoration: none; font-size: .925rem; font-weight: 500; }
.footer-col a:hover, .footer-col button.linklike:hover { color: var(--teal-700); text-decoration: underline; }
button.linklike { background: none; border: 0; padding: 0; text-align: start; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.5rem; border-top: 1px solid var(--line); font-size: .875rem; color: var(--ink-3); }
.footer-bottom .langs { display: flex; gap: .25rem; }
.footer-bottom .langs a { padding: .35rem .7rem; border-radius: var(--r-pill); text-decoration: none; font-weight: 600; color: var(--ink-2); }
.footer-bottom .langs a[aria-current="true"] { background: #fff; border: 1px solid var(--line); color: var(--navy-900); }
.footer-bottom .credit a { color: var(--navy-900); font-weight: 700; }
.footer-social { display: flex; gap: .5rem; margin-top: 1rem; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); color: var(--navy-900); }
@media (max-width: 1023px) { .footer-top { grid-template-columns: 1fr; } .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .footer-brand img { height: 96px; } }

/* --------------------------------------------------------------- Cookie consent */
.cookie { position: fixed; z-index: 60; inset-inline: 16px auto; bottom: 16px; width: min(440px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--sh-3); padding: 1.25rem; font-size: .9rem;
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s var(--ease-out), transform .35s var(--ease-drawer), visibility .3s; }
.cookie.is-open { opacity: 1; visibility: visible; transform: none; }
.cookie h2 { font-size: 1.05rem; display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem; }
.cookie h2 .i { color: var(--terra-500); }
.cookie p { color: var(--ink-2); }
.cookie p a { color: var(--teal-700); font-weight: 600; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.cookie-actions .btn { flex: 1 1 auto; min-height: 42px; font-size: .88rem; padding: 0 1rem; }
.cookie-prefs { display: none; margin-top: 1rem; border-top: 1px solid var(--line-2); }
.cookie.show-prefs .cookie-prefs { display: block; }
.cookie.show-prefs .cookie-main-actions { display: none; }
.cpref { display: grid; grid-template-columns: 1fr auto; gap: .25rem 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line-2); }
.cpref b { font-size: .92rem; color: var(--navy-900); }
.cpref p { grid-column: 1; font-size: .8rem; color: var(--ink-3); }
.cpref .locked { font-size: .75rem; font-weight: 650; color: var(--teal-700); align-self: start; }
.switch { position: relative; width: 44px; height: 26px; align-self: start; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: var(--line); transition: background-color .2s ease; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--sh-1); transition: transform .25s var(--ease-out); }
.switch input:checked + span { background: var(--teal-600); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 2px solid var(--teal-500); outline-offset: 2px; }
@media (max-width: 480px) { .cookie { inset-inline: 10px; bottom: 10px; width: auto; padding: 1rem; } }

/* --------------------------------------------------------------- Page hero (inner pages) */
.page-hero { position: relative; padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(2.5rem, 1.5rem + 3vw, 4rem); overflow: clip; }
.page-hero .zellige { -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); mask-image: linear-gradient(90deg, transparent 30%, #000); }
[dir="rtl"] .page-hero .zellige { -webkit-mask-image: linear-gradient(-90deg, transparent 30%, #000); mask-image: linear-gradient(-90deg, transparent 30%, #000); }
.page-hero h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.5rem); letter-spacing: -0.035em; line-height: 1.06; max-width: 22ch; }
html[lang="ar"] .page-hero h1 { letter-spacing: 0; line-height: 1.28; }
.page-hero .lead { margin-top: 1.25rem; }
.page-hero .hero-ctas { margin-top: 2rem; margin-bottom: 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; list-style: none; font-size: .85rem; color: var(--ink-3); margin-bottom: 1.5rem; }
.crumbs a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--teal-700); text-decoration: underline; }
.crumbs .i { width: .8rem; height: .8rem; color: var(--ink-4); }
[dir="rtl"] .crumbs .i { transform: scaleX(-1); }

/* --------------------------------------------------------------- Forms */
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; align-items: start; }
.fld { display: grid; gap: .4rem; min-width: 0; }
.fld label, .fld .lbl { font-size: .875rem; font-weight: 650; color: var(--navy-900); }
.fld label .opt { font-weight: 500; color: var(--ink-3); }
.input, .select, .textarea { width: 100%; min-width: 0; min-height: 50px; padding: .75rem .95rem; border: 1px solid #cfd8e0; border-radius: var(--r-ui); background: #fff; font-size: 1rem; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease; appearance: none; -webkit-appearance: none; }
.input::placeholder, .textarea::placeholder { color: #75879a; }
.input:hover, .select:hover, .textarea:hover { border-color: #b3c1cd; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 4px rgba(31,135,144,.16); }
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%233c5065'%3E%3Cpath d='M213.66 101.66l-80 80a8 8 0 0 1-11.32 0l-80-80a8 8 0 0 1 11.32-11.32L128 164.69l74.34-74.35a8 8 0 0 1 11.32 11.32Z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 16px; background-position: right .9rem center; padding-inline-end: 2.5rem; }
[dir="rtl"] .select { background-position: left .9rem center; }
.textarea { min-height: 140px; resize: vertical; }
.fld .err { display: none; align-items: center; gap: .35rem; font-size: .82rem; color: #b42318; font-weight: 600; }
.fld .err .i { width: 1rem; height: 1rem; }
.fld.has-error .input, .fld.has-error .select, .fld.has-error .textarea { border-color: #d92d20; }
.fld.has-error .err { display: inline-flex; }
.fld .hint { font-size: .8rem; color: var(--ink-3); }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-inline-end: 3rem; }
.pw-toggle { position: absolute; inset-inline-end: 6px; top: 50%; translate: 0 -50%; width: 40px; height: 40px; border: 0; background: none; border-radius: 8px; color: var(--ink-3); display: grid; place-items: center; }
.pw-toggle:hover { color: var(--navy-900); background: var(--surface-2); }
.pw-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 2px; }
.pw-meter i { height: 4px; border-radius: 4px; background: var(--line); transition: background-color .2s ease; }
.pw-meter[data-score="1"] i:nth-child(-n+1) { background: #d92d20; }
.pw-meter[data-score="2"] i:nth-child(-n+2) { background: var(--amber-600); }
.pw-meter[data-score="3"] i:nth-child(-n+3) { background: var(--teal-500); }
.pw-meter[data-score="4"] i { background: var(--green-600); }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--ink-2); }
.check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--teal-600); }
.check a { color: var(--teal-700); font-weight: 600; }
.radio-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .5rem; }
.radio-card { position: relative; }
.radio-card input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.radio-card span { display: flex; align-items: center; gap: .55rem; min-height: 50px; padding: .6rem .8rem; border: 1px solid #cfd8e0; border-radius: var(--r-ui); font-size: .9rem; font-weight: 600; color: var(--ink-2); transition: border-color .15s ease, background-color .15s ease, color .15s ease; line-height: 1.25; }
.radio-card .i { width: 1.15rem; height: 1.15rem; color: var(--ink-4); }
.radio-card input:checked + span { border-color: var(--teal-500); background: var(--teal-50); color: var(--navy-900); box-shadow: 0 0 0 1px var(--teal-500); }
.radio-card input:checked + span .i { color: var(--teal-600); }
.radio-card input:focus-visible + span { outline: 2px solid var(--teal-500); outline-offset: 2px; }
.form-alert { display: none; gap: .7rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: 12px; font-size: .925rem; }
.form-alert.is-error { display: flex; background: #fef3f2; color: #b42318; border: 1px solid #fecdca; }
.form-alert .i { width: 1.2rem; height: 1.2rem; margin-top: 1px; }
.form-success { text-align: center; padding: clamp(1.5rem, 1rem + 3vw, 3rem) 1rem; }
.form-success .ok { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 1.25rem; border-radius: 50%; background: var(--green-100); color: var(--green-600); }
.form-success .ok .i { width: 32px; height: 32px; }
.form-success h2 { font-size: 1.5rem; margin-bottom: .6rem; }
.form-success p { color: var(--ink-2); max-width: 48ch; margin-inline: auto; }
.btn[aria-busy="true"] { opacity: .75; pointer-events: none; }
@media (max-width: 639px) { .form-row { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- Prose (articles, legal, SEO body) */
.prose { font-size: 1.06rem; line-height: 1.75; color: var(--ink); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: clamp(1.45rem, 1.25rem + .8vw, 1.85rem); margin-top: 2.2em; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h3 { font-size: 1.2rem; margin-top: 1.8em; }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--teal-600); }
.prose a { color: var(--teal-700); font-weight: 600; }
.prose blockquote { margin-inline: 0; padding: 1.1rem 1.4rem; border-inline-start: 3px solid var(--terra-500); background: var(--sand-50); border-radius: 0 12px 12px 0; color: var(--ink-2); }
[dir="rtl"] .prose blockquote { border-radius: 12px 0 0 12px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: start; padding: .7rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; min-width: 140px; }
.prose th { background: var(--surface-2); font-weight: 700; color: var(--navy-900); }
.prose strong { color: var(--navy-900); }

/* --------------------------------------------------------------- Utilities */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
@media (max-width: 899px) { .grid-2 { grid-template-columns: 1fr; } }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; } .mt-6 { margin-top: 3rem; }
.center { text-align: center; }

/* --------------------------------------------------------------- Responsive: home */
.hero-copy h1 { font-size: clamp(2.3rem, 1.4rem + 2.9vw, 3.65rem); }
.app-body--full { grid-template-columns: 1fr; }
@media (max-width: 1099px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 680px; }
  .hero-visual { min-height: 0; max-width: 760px; width: 100%; margin-inline: auto; margin-bottom: 40px; }
  .hero-app { margin-inline-start: 0; width: auto; margin-top: 110px; }
  .w-fleet { bottom: -40px; inset-inline-end: -8px; }
}
@media (max-width: 899px) {
  .story { grid-template-columns: 1fr; }
  .story-stage { display: none; }
  .story-step { min-height: 0; padding-block: 1.25rem 2rem; }
  .story-step .story-mini { display: block; margin-top: 1.25rem; }
  .story-step .story-mini .app { box-shadow: var(--sh-2); }
  .story-step h3, .story-step:not(.is-active) h3 { color: var(--navy-900); }
  .story-step p, .story-step:not(.is-active) p { color: var(--ink-2); }
  .story-step .story-node { top: 1.6rem; translate: 0 0; }
  .story-step::before, .story-step:first-child::before { top: 0; }
  .story-step:first-child::before { top: 1.6rem; }
}
@media (max-width: 639px) {
  .hero-ctas .btn { width: 100%; }
  .hero-app { margin-inline-start: 0; margin-top: 64px; }
  .app-body { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .w-booking { top: 0; inset-inline-start: auto; inset-inline-end: 8px; width: 200px; transform-origin: top right; }
  .w-booking .w-lines { display: none; }
  .w-flight { display: none; }
  .w-fleet { position: relative; inset: auto; width: auto; margin: -24px 12px 0; }
  .hero-app .rows .row:nth-child(n+5) { display: none; }
  .biz-strip-inner { flex-direction: column; align-items: stretch; gap: .75rem; }
  .biz-strip-label { max-width: none; }
  .biz-list { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .story-step { padding-inline-start: 3rem; }
  [dir="rtl"] .story-step { padding-inline: 0 3rem; padding-right: 3rem; padding-left: 0; }
}
@media (max-width: 380px) { .kpi strong { font-size: 17px; } }

/* --------------------------------------------------------------- Pricing */
.page-hero--center { text-align: center; }
.page-hero--center h1, .page-hero--center .lead { margin-inline: auto; }
.page-hero--center .crumbs { justify-content: center; }
.trial-pill { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.5rem; padding: .55rem 1rem; border-radius: var(--r-pill); background: var(--sand-50); border: 1px solid var(--sand-200); color: var(--terra-700); font-weight: 650; font-size: .92rem; }
.trial-pill .i { color: var(--terra-500); }
.pricing-section { padding-top: 0; }
.billing { display: flex; width: max-content; margin: 0 auto 2.5rem; padding: 4px; border-radius: var(--r-pill); background: var(--surface-3); border: 1px solid var(--line); }
.billing button { min-height: 42px; padding: 0 1.2rem; border: 0; border-radius: var(--r-pill); background: none; font-weight: 650; color: var(--ink-3); display: inline-flex; align-items: center; gap: .4rem; transition: background-color .2s ease, color .2s ease, box-shadow .2s ease; }
.billing button[aria-pressed="true"] { background: #fff; color: var(--navy-900); box-shadow: var(--sh-1); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 1.4rem; padding: 2rem 1.75rem; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); }
.plan--featured { background: var(--navy-900); border-color: var(--navy-900); color: #fff; box-shadow: var(--sh-3); }
.plan--featured .zellige { z-index: -1; -webkit-mask-image: linear-gradient(180deg, #000, transparent 60%); mask-image: linear-gradient(180deg, #000, transparent 60%); }
.plan-badge { position: absolute; top: 1.4rem; inset-inline-end: 1.4rem; display: inline-flex; align-items: center; gap: .35rem; font-size: .75rem; font-weight: 700; padding: .35rem .7rem; border-radius: var(--r-pill); background: var(--terra-600); color: #fff; }
.plan-badge .i { width: .95rem; height: .95rem; }
.plan-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--teal-50); color: var(--teal-700); margin-bottom: 1rem; }
.plan--featured .plan-ico { background: rgba(255,255,255,.1); color: var(--sand-300); }
.plan-ico .i { width: 24px; height: 24px; }
.plan-head h2 { font-size: 1.5rem; }
.plan--featured h2 { color: #fff; }
.plan-head p { margin-top: .5rem; color: var(--ink-2); font-size: .95rem; min-height: 3em; }
.plan--featured .plan-head p { color: rgba(255,255,255,.72); }
.plan-price { padding-block: 1.1rem; border-block: 1px solid var(--line-2); }
.plan--featured .plan-price { border-color: rgba(255,255,255,.12); }
.plan-price strong { display: block; font-size: 2rem; font-weight: 780; letter-spacing: -.03em; color: var(--navy-900); line-height: 1.1; font-variant-numeric: tabular-nums; }
.plan--featured .plan-price strong { color: #fff; }
.plan-price strong small { font-size: 1rem; font-weight: 650; }
.plan-price > span { display: block; margin-top: .35rem; font-size: .85rem; color: var(--ink-3); }
.plan--featured .plan-price > span { color: rgba(255,255,255,.6); }
.plan-ctas { display: grid; gap: .5rem; }
.plan-inc { font-size: .85rem; font-weight: 700; color: var(--teal-700); margin-bottom: -.6rem; }
.plan--featured .plan-inc { color: var(--sand-300); }
.plan-list { list-style: none; display: grid; gap: .65rem; font-size: .94rem; }
.plan-list li { display: flex; gap: .6rem; align-items: flex-start; }
.plan-list .i { width: 1.1rem; height: 1.1rem; margin-top: 3px; color: var(--teal-600); }
.plan--featured .plan-list .i { color: var(--sand-300); }
.plan--featured .plan-list { color: rgba(255,255,255,.9); }
@media (max-width: 1023px) { .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } .plan--featured { order: -1; } .plan-head p { min-height: 0; } }

/* Comparison */
.compare { max-width: 1040px; margin-inline: auto; }
.compare-switch { display: none; }
.cmp-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .95rem; }
.cmp-table thead th { position: sticky; top: var(--header-h); z-index: 2; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); padding: 1rem; text-align: center; font-size: 1rem; color: var(--navy-900); border-bottom: 1px solid var(--line); }
.cmp-table thead th:first-child { text-align: start; color: var(--ink-3); font-size: .85rem; font-weight: 650; }
.cmp-table thead th.is-featured { color: var(--terra-600); }
.cmp-table tbody th[scope="row"] { text-align: start; font-weight: 550; color: var(--ink); padding: .85rem 1rem; border-bottom: 1px solid var(--line-2); }
.cmp-table td { text-align: center; padding: .85rem 1rem; border-bottom: 1px solid var(--line-2); width: 20%; }
.cmp-table td.is-featured { background: rgba(203,91,48,.04); }
.cmp-group th { text-align: start; padding: 2rem 1rem .6rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--teal-700); font-weight: 750; border-bottom: 1px solid var(--line); }
html[lang="ar"] .cmp-group th { letter-spacing: 0; font-size: .9rem; }
.cmp-yes { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--teal-50); color: var(--teal-700); }
.cmp-yes .i { width: 15px; height: 15px; }
.cmp-no { color: var(--ink-4); display: inline-grid; place-items: center; }
.cmp-no .i { width: 16px; height: 16px; }
.cmp-txt { font-size: .88rem; font-weight: 650; color: var(--navy-800); }
@media (max-width: 767px) {
  .compare-switch { display: flex; position: sticky; top: calc(var(--header-h) + 8px); z-index: 3; padding: 4px; margin-bottom: .5rem; border-radius: var(--r-pill); background: var(--surface-3); border: 1px solid var(--line); }
  .compare-switch button { flex: 1; min-height: 42px; border: 0; border-radius: var(--r-pill); background: none; font-weight: 650; color: var(--ink-3); }
  .compare-switch button[aria-pressed="true"] { background: #fff; color: var(--navy-900); box-shadow: var(--sh-1); }
  .cmp-table thead { display: none; }
  .cmp-table td { display: none; width: 34%; }
  .compare[data-plan="essentiel"] td[data-col="essentiel"], .compare[data-plan="pro"] td[data-col="pro"], .compare[data-plan="business"] td[data-col="business"] { display: table-cell; }
  .cmp-table tbody th[scope="row"] { font-size: .92rem; padding-inline: .25rem; }
  .cmp-group th { padding-inline: .25rem; }
}

/* --------------------------------------------------------------- Signup (trial) */
.signup { padding-block: clamp(1.5rem, 1rem + 2vw, 3rem) clamp(3rem, 2rem + 4vw, 6rem); }
.signup-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.25rem, 1rem + 2vw, 2.5rem); align-items: start; }
.signup-aside { position: sticky; top: calc(var(--header-h) + 20px); isolation: isolate; overflow: hidden; border-radius: var(--r-panel); background: var(--navy-900); color: #fff; padding: clamp(1.75rem, 1rem + 2.5vw, 3rem); }
.signup-aside .zellige { z-index: -1; -webkit-mask-image: linear-gradient(200deg, #000 10%, transparent 65%); mask-image: linear-gradient(200deg, #000 10%, transparent 65%); }
.signup-aside .crumbs, .signup-aside .crumbs a { color: rgba(255,255,255,.65); }
.signup-aside .crumbs .i { color: rgba(255,255,255,.4); }
.signup-kicker { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--sand-300); font-size: .9rem; margin-bottom: 1rem; }
.signup-aside h1 { color: #fff; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); letter-spacing: -.03em; line-height: 1.12; }
html[lang="ar"] .signup-aside h1 { letter-spacing: 0; line-height: 1.35; }
.signup-lead { color: rgba(255,255,255,.75); margin-top: 1rem; }
.benefits { list-style: none; display: grid; gap: 1.1rem; margin-top: 2rem; }
.benefits li { display: grid; grid-template-columns: 40px 1fr; gap: .85rem; }
.benefits .bi { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: var(--sand-300); }
.benefits .bi .i { width: 20px; height: 20px; }
.benefits b { display: block; font-size: .98rem; }
.benefits span span { display: block; font-size: .88rem; color: rgba(255,255,255,.68); margin-top: .15rem; }
.trial-timeline { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px dashed rgba(237,183,136,.4); }
.trial-timeline li { display: grid; gap: .2rem; font-size: .82rem; color: rgba(255,255,255,.7); }
.trial-timeline b { color: var(--sand-300); font-size: .85rem; }
.signup-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-panel); box-shadow: var(--sh-2); padding: clamp(1.25rem, .75rem + 2.5vw, 2.75rem); }
.signup-card:focus { outline: none; }
.signup-card-head { margin-bottom: 1.5rem; }
.signup-card-head h2 { font-size: 1.5rem; }
.signup-card-head p { color: var(--ink-2); margin-top: .4rem; }
fieldset.fld { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.fld legend { padding: 0; margin-bottom: .5rem; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; justify-content: center; font-size: .85rem; color: var(--ink-3); text-align: center; }
.form-foot .i { width: 1rem; height: 1rem; }
.form-foot a { color: var(--teal-700); font-weight: 650; }
@media (max-width: 1023px) {
  .signup-grid { grid-template-columns: 1fr; }
  .signup-aside { position: relative; top: 0; }
  .signup-aside .benefits li:nth-child(n+3), .trial-timeline { display: none; }
}
@media (max-width: 639px) { .signup-aside .benefits { display: none; } .radio-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 359px) { .radio-cards { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- Contact */
.contact-section { padding-top: 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(1.25rem, 1rem + 2vw, 2.5rem); align-items: start; }
.topic-cards { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.topic-card { position: relative; }
.topic-card input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.topic-card > span { display: grid; grid-template-columns: 36px 1fr; column-gap: .75rem; row-gap: .1rem; align-items: start; height: 100%; padding: .9rem; border: 1px solid #cfd8e0; border-radius: 14px; transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease; }
.topic-card .i { grid-row: span 2; width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--surface-3); color: var(--ink-3); }
.topic-card b { font-size: .95rem; color: var(--navy-900); }
.topic-card small { font-size: .8rem; color: var(--ink-2); line-height: 1.4; }
.topic-card input:checked + span { border-color: var(--teal-500); background: var(--teal-50); box-shadow: 0 0 0 1px var(--teal-500); }
.topic-card input:checked + span .i { background: var(--teal-600); color: #fff; }
.topic-card input:focus-visible + span { outline: 2px solid var(--teal-500); outline-offset: 2px; }
.contact-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.contact-side { display: grid; gap: 1rem; position: sticky; top: calc(var(--header-h) + 20px); }
.side-card { position: relative; isolation: isolate; overflow: hidden; padding: 1.5rem; border-radius: var(--r-card); border: 1px solid var(--line); background: #fff; display: grid; gap: .6rem; justify-items: start; }
.side-card h2 { font-size: 1.1rem; }
.side-card p { font-size: .92rem; color: var(--ink-2); }
.side-card--navy { background: var(--navy-900); border-color: var(--navy-900); }
.side-card--navy .zellige { z-index: -1; }
.side-card--navy h2 { color: #fff; } .side-card--navy p { color: rgba(255,255,255,.72); }
.side-card--navy .btn { margin-top: .4rem; }
.channel-list { list-style: none; display: grid; gap: .5rem; }
.channel-list a { display: inline-flex; align-items: center; gap: .5rem; font-weight: 650; color: var(--navy-900); text-decoration: none; }
.channel-list .i { color: var(--teal-600); }
@media (max-width: 1023px) { .contact-grid { grid-template-columns: 1fr; } .contact-side { position: static; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
@media (max-width: 559px) { .topic-cards { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- Login gateway */
.gateway { position: relative; overflow: clip; padding-block: clamp(2.5rem, 1.5rem + 5vw, 6rem); background: linear-gradient(180deg, var(--surface-2), #fff); }
.gateway .zellige { -webkit-mask-image: radial-gradient(60% 60% at 50% 30%, #000, transparent 70%); mask-image: radial-gradient(60% 60% at 50% 30%, #000, transparent 70%); }
.gateway-inner { position: relative; display: grid; justify-items: center; gap: 2rem; }
.gateway-card { width: min(480px, 100%); text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--sh-3); padding: clamp(1.75rem, 1rem + 3vw, 3rem); display: grid; gap: 1rem; justify-items: center; }
.gateway-logo { height: 96px; width: auto; }
.gateway-card h1 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); }
.gateway-card > p { color: var(--ink-2); }
.gateway-card .btn { margin-top: .5rem; }
.gateway-secure { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; color: var(--ink-3); }
.gateway-secure .i { width: 1rem; height: 1rem; color: var(--green-600); }
.gateway-help { width: min(760px, 100%); display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.gateway-help h2 { font-size: 1rem; margin-bottom: .35rem; }
.gateway-help p { font-size: .9rem; color: var(--ink-2); }
.gateway-help a { color: var(--teal-700); font-weight: 650; }
@media (max-width: 639px) { .gateway-help { grid-template-columns: 1fr; text-align: center; } }

/* --------------------------------------------------------------- Features page */
.module-index { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-block: 1px solid var(--line-2); }
.module-index ul { list-style: none; display: flex; gap: .35rem; overflow-x: auto; scrollbar-width: none; padding-block: .6rem; }
.module-index ul::-webkit-scrollbar { display: none; }
.module-index a { display: inline-flex; align-items: center; gap: .4rem; height: 36px; padding: 0 .8rem; border-radius: var(--r-pill); font-size: .85rem; font-weight: 600; color: var(--ink-2); text-decoration: none; white-space: nowrap; border: 1px solid transparent; }
.module-index a .i { width: 1rem; height: 1rem; color: var(--teal-600); }
.module-index a:hover { background: var(--surface-2); border-color: var(--line); color: var(--navy-900); }
.group-head { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: start; margin-bottom: 2.5rem; max-width: 820px; }
.group-n { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--navy-900); color: var(--sand-300); }
.group-n .i { width: 26px; height: 26px; }
.mod-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mod-card { scroll-margin-top: calc(var(--header-h) + 70px); display: grid; gap: 1.5rem; padding: clamp(1.25rem, 1rem + 1.2vw, 2rem); border-radius: var(--r-panel); background: #fff; border: 1px solid var(--line); align-content: start; }
.section--soft .mod-card { box-shadow: var(--sh-1); }
.mod-card--wide { grid-column: 1 / -1; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); }
.mod-card:target { border-color: var(--teal-500); box-shadow: 0 0 0 3px rgba(31,135,144,.15); }
.mod-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--teal-50); color: var(--teal-700); margin-bottom: 1rem; }
.mod-ico .i { width: 22px; height: 22px; }
.mod-copy h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.55rem); margin-bottom: .6rem; }
.mod-copy > p { color: var(--ink-2); }
.mod-points { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1rem; margin-top: 1.1rem; font-size: .9rem; }
.mod-points li { display: flex; gap: .45rem; align-items: flex-start; }
.mod-points .i { width: 1rem; height: 1rem; margin-top: 3px; color: var(--teal-600); }
.mod-visual { min-width: 0; }
.mod-visual .app { box-shadow: var(--sh-2); }
.mv-card { padding: 1.1rem; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line-2); }
.mv-card--sand { background: var(--sand-50); border-color: var(--sand-200); }
.mv-list { display: grid; gap: 8px; }
.mv-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line-2); font-size: 12.5px; }
.mv-item .q-ico { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--teal-50); color: var(--teal-700); flex: none; }
.mv-item .q-ico .i { width: 15px; height: 15px; }
.mv-item b { display: block; font-weight: 650; color: var(--navy-900); }
.mv-item small { color: var(--ink-3); font-size: 11px; }
@media (max-width: 899px) { .mod-grid { grid-template-columns: 1fr; } .mod-card--wide { grid-template-columns: 1fr; } }
@media (max-width: 479px) { .mod-points { grid-template-columns: 1fr; } .group-head { grid-template-columns: 1fr; gap: .75rem; } }

/* --------------------------------------------------------------- Solution page */
.split-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.stack-visual { display: grid; gap: 10px; perspective: 1200px; }
.layer { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.2rem; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-2); margin-inline-start: calc(var(--i, 0) * 18px); }
.layer .li { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--teal-50); color: var(--teal-700); flex: none; }
.layer .li .i { width: 21px; height: 21px; }
.layer b { display: block; color: var(--navy-900); font-size: 1rem; }
.layer small { color: var(--ink-3); font-size: .85rem; }
.layer--core { margin-inline-start: 0; justify-content: center; background: var(--navy-900); border-color: var(--navy-900); color: #fff; padding: 1.1rem; }
.layer--core img { width: 40px; height: 40px; border-radius: 10px; background: #fff; padding: 3px; }
.layer--core b { color: #fff; }
.pillars { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 1rem + 2vw, 3rem); margin-top: 3rem; position: relative; }
.pillars::before { content: ""; position: absolute; top: 28px; inset-inline: 28px 10%; border-top: 2px dashed var(--line); }
.pillars li { position: relative; display: grid; gap: .6rem; }
.pillars .pi { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--terra-500); box-shadow: var(--sh-1); margin-bottom: .5rem; }
.pillars .pi .i { width: 24px; height: 24px; }
.pillars b { font-size: 1.15rem; color: var(--navy-900); }
.pillars p { color: var(--ink-2); }
.flow { list-style: none; position: relative; z-index: 1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.flow::before { content: ""; position: absolute; top: 31px; inset-inline: 8% 8%; border-top: 2px dashed rgba(237,183,136,.5); }
.flow li { position: relative; display: grid; gap: .45rem; justify-items: center; text-align: center; }
.fl-node { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--navy-800); border: 1px solid rgba(255,255,255,.14); color: var(--sand-300); box-shadow: 0 0 0 8px var(--navy-950); }
.fl-node .i { width: 26px; height: 26px; }
.flow b { color: #fff; font-size: 1.05rem; margin-top: .5rem; }
.flow p { color: rgba(255,255,255,.66); font-size: .88rem; }
.fl-mods { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-top: .3rem; }
.fl-mods a { font-size: .72rem; font-weight: 650; padding: .3rem .55rem; border-radius: var(--r-pill); background: rgba(255,255,255,.08); color: var(--teal-200); text-decoration: none; }
.fl-mods a:hover { background: rgba(255,255,255,.16); }
@media (prefers-reduced-motion: no-preference) {
  .js .flow li { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); transition-delay: var(--d); }
  .js .flow.is-in li { opacity: 1; transform: none; }
}
.dash-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.kpis--3 { grid-template-columns: repeat(3, 1fr); }
.dash-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.dash-row .spark { height: 110px; }
.built-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; margin-top: 2.5rem; }
.built-grid .commit { grid-template-columns: 1fr; }
.biz-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.biz-grid a { display: flex; align-items: center; gap: .8rem; height: 100%; padding: 1.1rem; border-radius: var(--r-card); border: 1px solid var(--line); background: #fff; text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease, transform .2s var(--ease-out); }
.biz-grid a:hover { border-color: var(--teal-200); box-shadow: var(--sh-2); transform: translateY(-2px); }
.biz-grid .bgi { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--teal-50); color: var(--teal-700); flex: none; }
.biz-grid b { display: block; color: var(--navy-900); font-size: .98rem; }
.biz-grid small { display: block; color: var(--ink-3); font-size: .82rem; line-height: 1.35; margin-top: 2px; }
.biz-grid .bg-arrow { margin-inline-start: auto; width: 1rem; height: 1rem; color: var(--ink-4); }
.biz-grid-cta a { background: var(--navy-900); border-color: var(--navy-900); justify-content: space-between; color: #fff; }
.biz-grid-cta b { color: #fff; }
@media (max-width: 1023px) {
  .split-hero, .dash-split { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2.5rem; }
  .flow::before { display: none; }
  .built-grid { grid-template-columns: 1fr 1fr; }
  .biz-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 639px) {
  .pillars { grid-template-columns: 1fr; } .pillars::before { display: none; }
  .flow { grid-template-columns: 1fr 1fr; }
  .built-grid, .biz-grid { grid-template-columns: 1fr; }
  .dash-row { grid-template-columns: 1fr; }
  .kpis--3 { grid-template-columns: 1fr 1fr; }
  .layer { margin-inline-start: 0; }
}

/* --------------------------------------------------------------- Who page directory */
.directory { display: grid; gap: 12px; }
.dir-row { scroll-margin-top: calc(var(--header-h) + 20px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(1.25rem, 1rem + 3vw, 4rem); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--r-panel); background: #fff; border: 1px solid var(--line); }
.dir-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: var(--sand-100); color: var(--terra-600); margin-bottom: 1rem; }
.dir-ico .i { width: 26px; height: 26px; }
.dir-name h3 { font-size: 1.5rem; }
.dir-name p { margin-top: .5rem; color: var(--navy-800); font-weight: 600; font-size: 1.02rem; }
.dir-body > p { color: var(--ink-2); font-size: 1.02rem; }
.dir-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 1.5rem 0; }
.dir-cols h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: .75rem; }
html[lang="ar"] .dir-cols h4 { letter-spacing: 0; font-size: .9rem; }
@media (max-width: 899px) { .dir-row, .dir-cols { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- About */
.about-hero h1 { max-width: 26ch; }
.pain-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.pain { grid-column: span 2; padding: 1.6rem; border-radius: var(--r-card); background: #fff; border: 1px solid var(--line); }
.pain:nth-child(4), .pain:nth-child(5) { grid-column: span 3; }
.pain:nth-child(2) { background: var(--navy-900); border-color: var(--navy-900); }
.pain:nth-child(2) h3 { color: #fff; } .pain:nth-child(2) p { color: rgba(255,255,255,.72); }
.pain:nth-child(2) .pain-ico { background: rgba(255,255,255,.1); color: var(--sand-300); }
.pain:nth-child(4) { background: var(--sand-50); border-color: var(--sand-200); }
.pain-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--sand-100); color: var(--terra-600); margin-bottom: 1.1rem; }
.pain-ico .i { width: 22px; height: 22px; }
.pain h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.pain p { color: var(--ink-2); font-size: .95rem; }
.answer { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.mini-converge { display: grid; justify-items: center; gap: 1rem; padding: 2rem; border-radius: var(--r-panel); background: var(--navy-950); position: relative; overflow: hidden; }
.mc-in { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.mc-in span { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .8rem; border-radius: var(--r-pill); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.8); font-size: .85rem; font-weight: 600; text-decoration: line-through; text-decoration-color: rgba(237,183,136,.6); }
.mc-in .i { color: var(--sand-300); width: 1rem; height: 1rem; }
.mc-arrow { color: var(--sand-300); }
.mc-hub { display: grid; place-items: center; width: 160px; height: 160px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 12px rgba(255,255,255,.05); }
.mc-hub img { width: 110px; }
@media (max-width: 1023px) { .pain-grid { grid-template-columns: 1fr 1fr; } .pain, .pain:nth-child(4), .pain:nth-child(5) { grid-column: span 1; } .pain:nth-child(5) { grid-column: 1 / -1; } .answer { grid-template-columns: 1fr; } }
@media (max-width: 639px) { .pain-grid { grid-template-columns: 1fr; } .pain:nth-child(5) { grid-column: auto; } }

/* --------------------------------------------------------------- Resources */
.res-section { padding-top: 0; }
.feat-article { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border-radius: var(--r-panel); overflow: hidden; border: 1px solid var(--line); background: #fff; text-decoration: none; color: inherit; margin-bottom: 2.5rem; transition: box-shadow .25s var(--ease-out), border-color .2s ease; }
.feat-article:hover { box-shadow: var(--sh-2); border-color: var(--teal-200); }
.feat-art { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 260px; background: var(--navy-900); color: var(--sand-300); }
.feat-art .zellige { z-index: -1; }
.feat-art .i { width: 88px; height: 88px; padding: 22px; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.feat-body { padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); display: grid; gap: .9rem; align-content: center; }
.feat-body h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); }
.feat-body > p:not(.art-meta) { color: var(--ink-2); }
.art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; font-size: .82rem; font-weight: 650; color: var(--ink-3); }
.art-meta .chip .i { width: .9rem; height: .9rem; }
.res-filter { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; margin-bottom: 1.5rem; padding-bottom: 2px; }
.res-filter::-webkit-scrollbar { display: none; }
.res-filter button { flex: none; min-height: 40px; padding: 0 1rem; border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: .88rem; color: var(--ink-2); white-space: nowrap; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.res-filter button[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.art-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.art-card { display: flex; flex-direction: column; gap: .7rem; padding: 1.5rem; border-radius: var(--r-card); border: 1px solid var(--line); background: #fff; text-decoration: none; color: inherit; transition: box-shadow .25s var(--ease-out), border-color .2s ease, transform .25s var(--ease-out); }
.art-card[hidden] { display: none; }
.art-card:hover { box-shadow: var(--sh-2); border-color: var(--teal-200); transform: translateY(-2px); }
.art-card h3 { font-size: 1.12rem; line-height: 1.3; }
.art-card > p:not(.art-meta) { color: var(--ink-2); font-size: .92rem; }
.art-card .link-arrow { margin-top: auto; padding-top: .5rem; }
.res-empty { display: flex; align-items: center; gap: .6rem; padding: 1.25rem; border-radius: var(--r-card); background: var(--surface-2); color: var(--ink-2); }
.res-empty[hidden] { display: none; }
@media (max-width: 1023px) { .art-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .feat-article { grid-template-columns: 1fr; } .feat-art { min-height: 160px; } .art-grid { grid-template-columns: 1fr; } }

/* Article */
.article-head { position: relative; overflow: clip; padding-block: clamp(2rem, 1.5rem + 3vw, 4rem) 2.5rem; border-bottom: 1px solid var(--line-2); }
.article-head .zellige { -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000); mask-image: linear-gradient(90deg, transparent 40%, #000); }
.article-head .container { position: relative; }
.article-head h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem); letter-spacing: -.03em; line-height: 1.1; margin-top: 1rem; }
html[lang="ar"] .article-head h1 { letter-spacing: 0; line-height: 1.35; }
.article-head .lead { margin-top: 1rem; }
.art-byline { display: flex; align-items: center; gap: .7rem; margin-top: 1.5rem; font-size: .88rem; color: var(--ink-3); }
.art-byline .avatar { width: 38px; height: 38px; font-size: 12px; }
.art-byline b { display: block; color: var(--navy-900); }
.article-layout { display: grid; grid-template-columns: 260px minmax(0, 760px); gap: clamp(2rem, 1rem + 4vw, 5rem); justify-content: center; padding-block: 3rem 4rem; }
.article-aside { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; display: grid; gap: 1.25rem; }
.toc-title { font-size: .8rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: .75rem; }
html[lang="ar"] .toc-title { letter-spacing: 0; }
.toc ol { list-style: none; display: grid; gap: .15rem; border-inline-start: 2px solid var(--line-2); }
.toc a { display: block; padding: .4rem .9rem; margin-inline-start: -2px; border-inline-start: 2px solid transparent; font-size: .88rem; color: var(--ink-2); text-decoration: none; line-height: 1.4; }
.toc a:hover { color: var(--navy-900); }
.toc a[aria-current="true"] { border-color: var(--terra-500); color: var(--navy-900); font-weight: 650; }
.aside-cta { position: relative; isolation: isolate; overflow: hidden; padding: 1.25rem; border-radius: var(--r-card); background: var(--navy-900); color: #fff; display: grid; gap: .5rem; justify-items: start; }
.aside-cta .zellige { z-index: -1; }
.aside-cta b { font-size: 1rem; } .aside-cta p { font-size: .85rem; color: rgba(255,255,255,.72); }
.article-sol { display: grid; grid-template-columns: auto 1fr auto; gap: 1.1rem; align-items: center; margin-top: 3rem; padding: 1.5rem; border-radius: var(--r-card); background: var(--sand-50); border: 1px solid var(--sand-200); }
.sol-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #fff; color: var(--terra-600); }
.article-sol b { color: var(--navy-900); } .article-sol p { font-size: .9rem; color: var(--ink-2); margin-top: .25rem; }
.article-faq { margin-top: 3rem; }
.article-faq h2 { margin-bottom: 1rem; }
.related-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 2rem; }
@media (max-width: 1023px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-aside { position: static; order: 2; }
  .toc { display: none; }
}
@media (max-width: 639px) { .article-sol { grid-template-columns: 1fr; } .prose { font-size: 1rem; } }

/* --------------------------------------------------------------- Solution landing pages */
.sp-visual .app { box-shadow: var(--sh-3); }
.sp-visual .roles .chip .i { width: .9rem; height: .9rem; }
.pains-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pains-4 .pain { grid-column: auto; }
.pains-4 .pain:nth-child(2) { background: #fff; border-color: var(--line); }
.pains-4 .pain:nth-child(2) h3 { color: var(--navy-900); } .pains-4 .pain:nth-child(2) p { color: var(--ink-2); }
.pains-4 .pain:nth-child(2) .pain-ico { background: var(--sand-100); color: var(--terra-600); }
.pains-4 .pain:nth-child(4) { background: #fff; border-color: var(--line); }
.wf-split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.wf-head { position: sticky; top: calc(var(--header-h) + 32px); }
.wf { list-style: none; display: grid; gap: 0; }
.wf li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 1.1rem; padding-bottom: 1.75rem; }
.wf li::before { content: ""; position: absolute; top: 44px; bottom: 0; inset-inline-start: 21px; border-inline-start: 2px dashed var(--line); }
.wf li:last-child { padding-bottom: 0; } .wf li:last-child::before { display: none; }
.wf-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy-900); color: #fff; font-weight: 750; font-variant-numeric: tabular-nums; }
.wf b { display: block; font-size: 1.1rem; color: var(--navy-900); margin: .55rem 0 .35rem; }
.wf p { color: var(--ink-2); }
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feat-card { display: grid; gap: .45rem; align-content: start; padding: 1.6rem; border-radius: var(--r-card); background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; transition: box-shadow .25s var(--ease-out), border-color .2s ease, transform .25s var(--ease-out); }
.feat-card:hover { box-shadow: var(--sh-2); border-color: var(--teal-200); transform: translateY(-2px); }
.feat-card .mod-ico { margin-bottom: .5rem; }
.feat-card small { font-size: .78rem; font-weight: 700; color: var(--teal-700); }
.feat-card h3 { font-size: 1.1rem; }
.feat-card p { color: var(--ink-2); font-size: .93rem; }
.scenario { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); padding: clamp(1.75rem, 1rem + 3.5vw, 4rem); border-radius: 28px; background: var(--navy-900); color: #fff; }
.scenario .zellige { z-index: -1; }
.scenario h2 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
.scn-label { display: inline-flex; align-items: center; gap: .45rem; color: var(--sand-300); font-weight: 700; font-size: .9rem; margin-bottom: 1rem; }
.scn-context { color: rgba(255,255,255,.78); margin-top: 1.1rem; font-size: 1.02rem; }
.scn-sub { font-weight: 700; color: var(--teal-200); margin-bottom: 1rem; }
.scn-steps { list-style: none; display: grid; gap: .8rem; }
.scn-steps li { display: grid; grid-template-columns: 24px 1fr; gap: .7rem; padding: .9rem 1rem; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.9); font-size: .95rem; }
.scn-steps .i { color: var(--sand-300); margin-top: 2px; }
.scn-outcome { margin-top: 1.25rem; padding: 1.1rem 1.2rem; border-radius: 14px; background: #fff; color: var(--ink); }
.scn-outcome b { color: var(--terra-600); font-size: .9rem; }
.scn-outcome p { margin-top: .25rem; color: var(--navy-900); font-weight: 550; }
.body-split { display: grid; grid-template-columns: minmax(0, 760px) 260px; gap: clamp(2rem, 1rem + 4vw, 5rem); justify-content: center; }
.body-split .prose h2 { margin-top: 0; }
.body-aside { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.aside-mods { list-style: none; display: grid; gap: .3rem; }
.aside-mods a { display: flex; align-items: center; gap: .55rem; padding: .55rem .7rem; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.aside-mods a:hover { background: var(--surface-2); color: var(--navy-900); }
.aside-mods .i { color: var(--teal-600); }
.mb-other { margin-bottom: 1.25rem; }
.biz-list--wrap { flex-wrap: wrap; overflow: visible; -webkit-mask-image: none; mask-image: none; }
@media (max-width: 1023px) {
  .pains-4 { grid-template-columns: 1fr 1fr; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .wf-split, .scenario, .body-split { grid-template-columns: 1fr; }
  .wf-head, .body-aside { position: static; }
}
@media (max-width: 639px) { .pains-4, .feat-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- 404 + testimonials */
.nf-route { position: relative; width: min(360px, 90%); }
.nf-code { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(3.5rem, 2.5rem + 4vw, 5.5rem); font-weight: 800; letter-spacing: -.05em; color: var(--navy-900); opacity: .1; }
.nf-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1rem; font-size: .9rem; }
.nf-links a { color: var(--teal-700); font-weight: 650; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.quote-card { margin: 0; padding: 1.75rem; border-radius: var(--r-card); background: #fff; border: 1px solid var(--line); display: grid; gap: 1rem; }
.quote-card blockquote { margin: 0; font-size: 1.05rem; color: var(--navy-900); }
.quote-card figcaption b { display: block; } .quote-card figcaption span { font-size: .88rem; color: var(--ink-3); }
.wf-head h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.35rem); }
.built-grid .commit { align-content: start; gap: 1rem; }
.days li { grid-template-columns: auto 1fr; }
.days .d { width: auto; min-width: 34px; padding: 0 8px; border-radius: 17px; white-space: nowrap; }
.days li::before { inset-inline-start: 17px; }
.final-panel { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
@media (max-width: 899px) { .final-panel { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 639px) {
  .final-actions { justify-items: stretch; }
  .final-actions .btn { white-space: normal; text-align: center; line-height: 1.25; }
  .hero-ctas .btn { white-space: normal; text-align: center; line-height: 1.25; }
  .tile--cal .tile-visual { overflow-x: auto; scrollbar-width: none; margin-inline: -1.5rem; padding-inline: 1.5rem; }
  .tile--cal .week { min-width: 560px; }
  .fleet-row { grid-template-columns: 1.4fr auto auto; }
  .fleet-row .drv { font-size: 0; }
  .fleet-row:first-child span:nth-child(2) { font-size: 0; }
}
/* Keep amounts, times and references readable inside RTL text */
.w-total b, .qtotal b, .qline b, .kpi strong, .money-list b, .row time, .w-ref, .plan-price strong, .cap-row span, .g-hours span, .tnum, .w-fleet .ring b span, .fleet-row:not(:first-child) b { unicode-bidi: isolate; direction: ltr; }
[dir="rtl"] .row time, [dir="rtl"] .kpi strong { text-align: right; }

.lbl-short { display: none; }
@media (max-width: 479px) { .lbl-long { display: none; } .lbl-short { display: inline; } }
