:root {
  --maroon: #8A1538;
  --maroon-700: #6E1029;
  --maroon-300: #B83A61;
  --crimson: #C2185B;
  --navy: #13254F;
  --navy-900: #0B1633;
  --ink: #111B38;
  --muted: #56617E;
  --bg: #FFFFFF;
  --bg-soft: #F4F5F9;
  --surface: #FFFFFF;
  --surface-2: #F9FAFC;
  --line: #E2E5EE;
  --line-strong: #CBD1DE;
  --silver: #C3C9D4;
  --accent-text: #8A1538;
  --ok: #1D7F55;
  --ok-bg: #E4F4EC;
  --warn: #A3620F;
  --warn-bg: #FBF0DD;
  --info: #2950A8;
  --info-bg: #E5ECFA;
  --wa: #1FA855;
  --focus: #C2185B;
  --shadow-1: 0 1px 2px rgba(19, 37, 79, .06), 0 2px 8px rgba(19, 37, 79, .05);
  --shadow-2: 0 2px 4px rgba(19, 37, 79, .06), 0 18px 44px -12px rgba(19, 37, 79, .28);
  --shadow-board: 0 1px 0 rgba(255,255,255,.6) inset, 0 30px 70px -20px rgba(11, 22, 51, .55), 0 10px 24px -10px rgba(11, 22, 51, .35);
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --wrap: 1220px;
  --gutter: 20px;
  --header-h: 72px;
  --font: "Inter", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --tooth-h: 28px;
  --tooth-d: 15px;
  --tooth-v: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='28' viewBox='0 0 15 28'%3E%3Cpath d='M15 0 0 14l15 14z'/%3E%3C/svg%3E");
  --tooth-h-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='15' viewBox='0 0 28 15'%3E%3Cpath d='M0 15 14 0l14 15z'/%3E%3C/svg%3E");
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
[lang="ar"] body, html[lang="ar"] { line-height: 1.85; }
img, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); 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.4; }
html[lang="ar"] * { letter-spacing: 0 !important; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { padding: 0; margin: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
main { display: block; }
main:focus { outline: none; }

.icon { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: middle; }
.icon-xs { width: .95em; height: .95em; }
.icon-sm { width: 1.1em; height: 1.1em; }
[dir="rtl"] .flip { transform: scaleX(-1); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(820px + var(--gutter) * 2); }
.center { text-align: center; }
.muted { color: var(--muted); font-size: .9375rem; }

.skip {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100;
  background: var(--maroon); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none;
}
.skip:focus { top: 12px; }

.btn {
  --btn-bg: var(--surface); --btn-fg: var(--ink); --btn-bd: var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 46px; padding: .7em 1.25em;
  border-radius: 999px; border: 1px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 500; font-size: .98rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { --btn-bg: var(--maroon); --btn-fg: #fff; --btn-bd: var(--maroon); box-shadow: 0 8px 20px -10px rgba(138, 21, 56, .8); }
.btn-primary:hover { --btn-bg: var(--maroon-700); --btn-bd: var(--maroon-700); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn-outline:hover { --btn-bd: var(--maroon); --btn-fg: var(--accent-text); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--maroon); --btn-bd: #fff; }
.btn-light:hover { --btn-bg: #F6E7EC; --btn-bd: #F6E7EC; }
.btn-ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.45); }
.btn-ghost-light:hover { --btn-bg: rgba(255,255,255,.1); --btn-bd: #fff; }
.btn-whatsapp { --btn-bg: var(--wa); --btn-fg: #fff; --btn-bd: var(--wa); }
.btn-sm { min-height: 40px; padding: .5em 1.05em; font-size: .92rem; }
.btn-lg { min-height: 54px; padding: .85em 1.6em; font-size: 1.02rem; }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: .4em;
  color: var(--accent-text); font-weight: 500; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size .25s ease;
  padding-bottom: 2px;
}
[dir="rtl"] .text-link { background-position: 100% 100%; }
.text-link:hover, a:hover > .text-link, .svc-card:hover .text-link, .ind-block:hover .text-link { background-size: 100% 1.5px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(19, 37, 79, .45); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand-mark { height: 40px; width: auto; }
.brand-word { height: 22px; width: auto; }
.brand-word-dark { display: none; }

.main-nav { margin-inline-start: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-link {
  display: inline-flex; align-items: center; gap: .3em;
  padding: .55em .8em; border-radius: 999px; border: 0; background: none;
  font-size: .95rem; font-weight: 500; color: var(--ink); text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.nav-link:hover, .mega-toggle[aria-expanded="true"] { background: var(--bg-soft); }
.nav-link.is-current { color: var(--accent-text); }
.mega-toggle .icon { transition: transform .2s ease; }
.mega-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-switch {
  display: inline-flex; align-items: center; gap: .4em; padding: .45em .8em; border-radius: 999px;
  text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink);
}
.lang-switch:hover { background: var(--bg-soft); }
.lang-switch span:lang(ar) { font-family: var(--font); }
.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  transition: border-color .15s ease, background-color .15s ease;
}
.icon-btn:hover { border-color: var(--line-strong); }
.menu-toggle { display: none; }

.has-mega { position: static; }
.mega {
  position: absolute; inset-inline: 0; top: 100%;
  background: var(--surface); border-block: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(19, 37, 79, .45);
  animation: drop .18s ease-out;
}
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mega-inner { max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding: 28px var(--gutter) 32px; display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 32px; }
.mega-title { font-size: .85rem; color: var(--muted); margin-bottom: 10px; font-weight: 500; }
.mega-col ul { display: grid; gap: 2px; }
.mega-col a { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: var(--r-md); text-decoration: none; transition: background-color .15s ease; }
.mega-col a:hover { background: var(--bg-soft); }
.mega-col strong { display: block; font-weight: 500; font-size: .96rem; }
.mega-col small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.5; margin-top: 2px; }
.mega-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--bg-soft); color: var(--accent-text); flex: none; }
.mega-industries { background: var(--bg-soft); border-radius: var(--r-lg); padding: 14px; }
.mega-industries a:hover { background: var(--surface); }
.mega-industries .mega-ico { background: var(--surface); }
.mega-all { display: inline-block; margin: 10px 10px 0; color: var(--accent-text); font-weight: 500; text-decoration: none; }

.drawer { position: fixed; inset: 0; z-index: 90; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(8, 14, 34, .5); animation: fade .2s ease; }
.drawer-panel {
  position: absolute; inset-block: 0; inset-inline-end: 0; width: min(380px, 92vw);
  background: var(--bg); display: flex; flex-direction: column; overflow-y: auto;
  animation: slide-in .25s ease;
}
[dir="rtl"] .drawer-panel { animation-name: slide-in-rtl; }
@keyframes fade { from { opacity: 0; } }
@keyframes slide-in { from { transform: translateX(100%); } }
@keyframes slide-in-rtl { from { transform: translateX(-100%); } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.drawer-nav { display: grid; padding: 10px 10px 20px; }
.drawer-nav > a, .drawer-nav summary {
  display: flex; justify-content: space-between; align-items: center; padding: 14px 12px; border-radius: var(--r-md);
  font-size: 1.08rem; font-weight: 500; text-decoration: none; list-style: none; cursor: pointer;
}
.drawer-nav summary::-webkit-details-marker { display: none; }
.drawer-nav details[open] summary .icon { transform: rotate(180deg); }
.drawer-nav > a[aria-current="page"] { color: var(--accent-text); background: var(--bg-soft); }
.drawer-sub { display: grid; padding: 0 8px 8px; }
.drawer-sub a { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: var(--r-sm); text-decoration: none; color: var(--muted); }
.drawer-sub a:hover { background: var(--bg-soft); color: var(--ink); }
.drawer-sub .icon { color: var(--accent-text); }
.drawer-all { font-weight: 500; color: var(--accent-text) !important; }
.drawer-foot { margin-top: auto; padding: 18px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer-row { display: flex; justify-content: space-between; align-items: center; }

.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-panel {
  position: absolute; inset-block: 0; inset-inline-end: 0; width: calc(50% - 40px); z-index: -1;
  background:
    radial-gradient(120% 70% at 85% 10%, rgba(194, 24, 91, .55), transparent 60%),
    linear-gradient(160deg, #94183D 0%, #7A1232 55%, #5E0D27 100%);
}
.hero-panel::before {
  content: ""; position: absolute; inset-block: 0; inset-inline-start: calc(var(--tooth-d) * -1 + 1px); width: var(--tooth-d);
  background: #8A1538;
  -webkit-mask: var(--tooth-v) repeat-y 0 0 / var(--tooth-d) var(--tooth-h);
  mask: var(--tooth-v) repeat-y 0 0 / var(--tooth-d) var(--tooth-h);
}
[dir="rtl"] .hero-panel::before { transform: scaleX(-1); }
.hero-skyline {
  position: absolute; inset-inline-end: 6%; top: 34px; width: 110px; height: 70px; opacity: .55;
  background:
    linear-gradient(#fff, #fff) 0 22px / 12px 12px no-repeat,
    linear-gradient(#fff, #fff) 22px 10px / 12px 12px no-repeat,
    linear-gradient(#fff, #fff) 44px 0 / 12px 12px no-repeat,
    linear-gradient(#fff, #fff) 34px 30px / 10px 10px no-repeat,
    linear-gradient(#fff, #fff) 62px 22px / 8px 8px no-repeat;
}
[dir="rtl"] .hero-skyline { transform: scaleX(-1); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 64px; align-items: center; padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 104px); }
.hero-place { display: inline-flex; align-items: center; gap: .5em; color: var(--muted); font-size: .95rem; margin-bottom: 22px; }
.hero-place .icon { color: var(--accent-text); }
.hero-title { font-size: clamp(2.4rem, 1.35rem + 3.9vw, 4.4rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.03; max-width: 15ch; }
html[lang="ar"] .hero-title { line-height: 1.3; font-size: clamp(2.2rem, 1.3rem + 3.3vw, 3.9rem); max-width: 17ch; }
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); color: var(--muted); line-height: 1.6; max-width: 58ch; margin-top: 22px; }
html[lang="ar"] .lead { line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-actions-center { justify-content: center; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-size: .93rem; color: var(--muted); }
.hero-proof li { display: inline-flex; align-items: center; gap: .45em; }
.hero-proof .icon { color: var(--ok); }

.board-wrap { position: relative; }
.board-wrap > * { max-width: 620px; }
.board-caption { color: rgba(255,255,255,.86); font-size: .92rem; margin-bottom: 12px; }
.board-tabs { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); margin-bottom: 16px; width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.board-tabs::-webkit-scrollbar { display: none; }
.board-tab {
  display: inline-flex; align-items: center; gap: .45em; border: 0; border-radius: 999px; padding: .5em .95em;
  background: transparent; color: rgba(255,255,255,.88); font-size: .9rem; font-weight: 500; white-space: nowrap;
  transition: background-color .18s ease, color .18s ease;
}
.board-tab:hover { background: rgba(255,255,255,.12); color: #fff; }
.board-tab[aria-selected="true"] { background: #fff; color: var(--maroon); }
.board-tab:focus-visible { outline-color: #fff; }

.board {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--shadow-board); padding: 20px; color: var(--ink);
}
.board.is-switching [data-b] { opacity: .15; transition: opacity .12s ease; }
.board [data-b] { transition: opacity .25s ease; }
.board-top { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.board-dots { display: flex; gap: 5px; }
.board-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.board-dots i:first-child { background: #E06A6A; }
.board-dots i:nth-child(2) { background: #E8B54A; }
.board-dots i:nth-child(3) { background: #53B67E; }
.board-title { margin: 0; font-weight: 600; font-size: 1rem; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-live { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 500; color: var(--ok); background: var(--ok-bg); padding: 3px 9px; border-radius: 999px; }
.board-live i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.board-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.kpi { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px; min-width: 0; }
.kpi-value { display: block; font-size: clamp(1.1rem, .9rem + .7vw, 1.45rem); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.kpi-label { display: block; font-size: .78rem; color: var(--muted); line-height: 1.35; margin-top: 3px; }
.board-chart { position: relative; margin-top: 14px; padding-top: 20px; color: var(--crimson); }
.spark { width: 100%; height: 64px; display: block; }
.board-chart-label { position: absolute; top: 0; inset-inline-end: 0; font-size: .74rem; color: var(--muted); }
.board-rows { margin-top: 10px; display: grid; }
.board-rows li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 2px; border-top: 1px solid var(--line); font-size: .92rem; }
.board-rows li > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill { flex: none; font-size: .76rem; font-weight: 500; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.pill-ok { color: var(--ok); background: var(--ok-bg); }
.pill-warn { color: var(--warn); background: var(--warn-bg); }
.pill-info { color: var(--info); background: var(--info-bg); }
.board-alert { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; padding: 11px 13px; border-radius: var(--r-md); background: color-mix(in srgb, var(--maroon) 8%, var(--surface)); color: var(--accent-text); font-size: .88rem; font-weight: 500; }
.board-link { display: inline-block; margin-top: 14px; font-size: .92rem; font-weight: 500; color: var(--accent-text); text-decoration: none; }
.board-link:hover { text-decoration: underline; }
.board-static { box-shadow: var(--shadow-2); }

.facts { border-block: 1px solid var(--line); background: var(--bg); }
.facts-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { padding: 28px 24px; border-inline-start: 1px solid var(--line); display: grid; gap: 4px; }
.fact:first-child { border-inline-start: 0; padding-inline-start: 0; }
.fact strong { font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.4rem); font-weight: 600; color: var(--accent-text); letter-spacing: -0.03em; line-height: 1.1; }
.fact span { color: var(--muted); font-size: .93rem; line-height: 1.45; }

.section { padding-block: clamp(64px, 8vw, 112px); }
.section-tint { background: var(--bg-soft); }
.section-dark { background: var(--navy-900); color: #E7EAF3; position: relative; overflow: hidden; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark::before { content: ""; position: absolute; width: 640px; height: 640px; inset-inline-end: -220px; top: -260px; background: radial-gradient(closest-side, rgba(194, 24, 91, .35), transparent); pointer-events: none; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head h2 { font-size: clamp(1.85rem, 1.3rem + 1.9vw, 2.85rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-top: 14px; max-width: 62ch; }
.section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

.industry-list { border-bottom: 1px solid var(--line); }
.industry-row {
  display: grid; grid-template-columns: 56px minmax(0, 1.25fr) minmax(0, 1fr) 40px; gap: 28px; align-items: center;
  padding: 28px 12px; border-top: 1px solid var(--line); text-decoration: none; color: inherit;
  transition: background-color .2s ease;
}
.industry-row:hover { background: var(--bg-soft); }
.industry-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: color-mix(in srgb, var(--maroon) 9%, var(--surface)); color: var(--accent-text); transition: background-color .2s ease, color .2s ease; }
.industry-ico .icon { width: 26px; height: 26px; }
.industry-row:hover .industry-ico { background: var(--maroon); color: #fff; }
.industry-name { display: block; font-size: clamp(1.2rem, 1rem + .7vw, 1.55rem); font-weight: 600; letter-spacing: -0.015em; }
.industry-tag { display: block; color: var(--muted); margin-top: 6px; line-height: 1.55; }
.industry-mods { display: flex; flex-wrap: wrap; gap: 6px; }
.industry-mods span { font-size: .82rem; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); background: var(--surface); }
.industry-go { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); color: var(--muted); transition: all .2s ease; }
.industry-row:hover .industry-go { border-color: var(--maroon); color: var(--accent-text); }

.solutions { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.solutions-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.solutions-intro h2 { font-size: clamp(1.85rem, 1.3rem + 1.9vw, 2.85rem); }
.solutions-intro p { color: var(--muted); margin: 16px 0 28px; font-size: 1.06rem; }
.solutions-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.sol-group-title { font-size: .95rem; font-weight: 500; color: var(--muted); padding-bottom: 12px; border-bottom: 2px solid var(--maroon); margin-bottom: 6px; }
.sol-list a { display: flex; gap: 14px; padding: 16px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.sol-list a:hover strong { color: var(--accent-text); }
.sol-list strong { display: block; font-weight: 500; font-size: 1.02rem; transition: color .15s ease; }
.sol-list span > span { display: block; color: var(--muted); font-size: .92rem; line-height: 1.55; margin-top: 3px; }
.sol-ico { flex: none; color: var(--accent-text); padding-top: 2px; }
.sol-ico .icon { width: 22px; height: 22px; }

.feature-work { padding-block: clamp(72px, 9vw, 120px); }
.feature-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 80px); align-items: center; position: relative; }
.feature-client { font-size: .92rem; color: #F3A7BF; margin-bottom: 10px; font-weight: 500; }
.section:not(.section-dark) .feature-client, .case-feature .feature-client { color: var(--accent-text); }
.feature-copy h2 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
.feature-copy > p { color: #C5CBE0; margin-top: 16px; font-size: 1.06rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips li { font-size: .85rem; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); color: #E7EAF3; }
.chips-light li { border-color: var(--line); color: var(--muted); background: var(--surface); }
.chips-lg li { font-size: .95rem; padding: 8px 14px; }
.feature-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.dot-sep { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: currentColor; vertical-align: middle; margin-inline: 6px; opacity: .6; }

.feature-visual, .case-visual { position: relative; padding-bottom: 40px; padding-inline-end: 70px; }
.mock-browser { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.15); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #EEF0F5; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #C8CDD9; }
.mock-bar span { margin-inline-start: 12px; flex: 1; font-size: .74rem; color: #6B7591; background: #fff; border-radius: 6px; padding: 3px 10px; direction: ltr; text-align: start; }
.mock-site { padding: 16px; display: grid; gap: 14px; background: #fff; }
.mock-nav { display: flex; align-items: center; gap: 10px; }
.mock-nav b { width: 64px; height: 14px; border-radius: 4px; background: #1B6E8F; }
.mock-nav span { width: 38px; height: 7px; border-radius: 4px; background: #DCE1EB; }
.mock-nav span:first-of-type { margin-inline-start: auto; }
.mock-nav em { width: 56px; height: 20px; border-radius: 999px; background: #1FA855; }
.mock-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; align-items: center; background: linear-gradient(135deg, #EAF6FA, #F6FBFD); border-radius: 10px; padding: 18px; }
.mock-hero > div:first-child { display: grid; gap: 8px; }
.mock-hero b { height: 13px; border-radius: 4px; background: #17324B; width: 92%; }
.mock-hero b.short { width: 64%; }
.mock-hero span { height: 7px; border-radius: 4px; background: #B9C6D3; width: 80%; margin-top: 4px; }
.mock-hero em { width: 90px; height: 22px; border-radius: 999px; background: #1B6E8F; margin-top: 6px; }
.mock-photo { aspect-ratio: 4 / 3; border-radius: 10px; background: radial-gradient(circle at 50% 38%, #F2D3BF 0 17%, transparent 18%), radial-gradient(ellipse at 50% 100%, #1B6E8F 0 46%, transparent 47%), linear-gradient(#CFE6EF, #E5F2F7); }
.mock-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mock-cards i { aspect-ratio: 3 / 4; border-radius: 8px; background: linear-gradient(#E3EBF2 0 62%, #fff 62%); border: 1px solid #E5EAF1; }
.mock-kiosk { position: absolute; inset-inline-end: 0; bottom: 0; width: 34%; min-width: 130px; }
.mock-kiosk-screen { background: #0F2433; border-radius: 14px; padding: 10px; border: 6px solid #1E2B3D; box-shadow: 0 30px 60px -20px rgba(0,0,0,.65); aspect-ratio: 3 / 4.4; display: grid; grid-template-rows: auto 1fr; gap: 8px; }
.mock-kiosk-screen > b { height: 10px; width: 60%; border-radius: 4px; background: #49B3D6; }
.mock-kiosk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mock-kiosk-grid i { border-radius: 6px; background: linear-gradient(#2A4458 0 64%, #1B3142 64%); }
.mock-kiosk-stand { width: 16%; height: 26px; margin: 0 auto; background: linear-gradient(#2A3448, #1A2232); border-radius: 0 0 6px 6px; }

.why { display: grid; gap: clamp(36px, 5vw, 64px); }
.why-statement { font-size: clamp(1.7rem, 1.15rem + 2.1vw, 2.9rem); font-weight: 500; line-height: 1.2; max-width: 24ch; letter-spacing: -0.025em; }
html[lang="ar"] .why-statement { line-height: 1.5; max-width: 30ch; }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.why-item { padding: 28px 24px 8px; border-inline-start: 1px solid var(--line); }
.why-item:first-child { border-inline-start: 0; padding-inline-start: 0; }
.why-item > .icon { width: 28px; height: 28px; color: var(--accent-text); margin-bottom: 18px; }
.why-item h3 { font-size: 1.12rem; margin-bottom: 8px; }
.why-item p { color: var(--muted); font-size: .97rem; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: s; position: relative; }
.step { position: relative; padding-top: 6px; }
.step::before { content: ""; position: absolute; top: 28px; inset-inline-start: 56px; inset-inline-end: -20px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px); }
.step:last-child::before { display: none; }
.step-n { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--maroon); color: #fff; font-weight: 600; font-size: 1.05rem; position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--bg-soft); }
.step h3 { font-size: 1.15rem; margin: 20px 0 8px; }
.step p { color: var(--muted); font-size: .97rem; }
.center-link { text-align: center; margin-top: 40px; }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.post-card { position: relative; padding: 26px 0 0; border-top: 2px solid var(--ink); }
.post-card h3 { font-size: 1.2rem; line-height: 1.35; margin-bottom: 10px; }
.post-card h3 a { text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card:hover h3 { color: var(--accent-text); }
.post-card p:not(.post-meta) { color: var(--muted); font-size: .97rem; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: .86rem; margin-bottom: 12px; }
.post-meta span::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; vertical-align: middle; margin-inline-end: 16px; }
.post-meta span:first-child::before { display: none; }
.post-meta time + span::before, .post-meta span + span::before { display: inline-block; }

.cta-band { position: relative; background: linear-gradient(150deg, #94183D, #6E1029); color: #fff; margin-top: var(--tooth-d); }
.cta-band::before {
  content: ""; position: absolute; inset-inline: 0; top: calc(var(--tooth-d) * -1 + 1px); height: var(--tooth-d);
  background: #93183C;
  -webkit-mask: var(--tooth-h-svg) repeat-x 0 0 / var(--tooth-h) var(--tooth-d);
  mask: var(--tooth-h-svg) repeat-x 0 0 / var(--tooth-h) var(--tooth-d);
}
.cta-band-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 36px; align-items: center; padding-block: clamp(52px, 6vw, 80px); }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem); max-width: 22ch; }
.cta-band p { color: rgba(255,255,255,.82); margin-top: 12px; font-size: 1.06rem; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.site-footer { background: var(--navy-900); color: #C4CADD; padding-top: clamp(56px, 6vw, 80px); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-logo { width: 240px; height: auto; margin-bottom: 18px; }
.footer-brand > p { max-width: 42ch; color: #A9B1C9; }
.footer-contact { display: grid; gap: 10px; margin-top: 20px; }
.footer-contact a, .footer-contact span { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #DCE0EC; }
.footer-contact .icon { color: #F07EA2; }
.footer-contact a:hover { color: #fff; }
.footer-title { font-size: .95rem; font-weight: 500; color: #fff; margin-bottom: 14px; letter-spacing: 0; }
.footer-title-spaced { margin-top: 28px; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { text-decoration: none; color: #A9B1C9; }
.footer-links a:hover { color: #fff; }
.social { display: flex; gap: 8px; margin-top: 22px; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); color: #DCE0EC; }
.social a:hover { background: rgba(255,255,255,.08); color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .87rem; color: #8F98B4; }
.footer-bottom a { color: #A9B1C9; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .sep { display: inline-block; width: 1px; height: 12px; background: rgba(255,255,255,.2); margin-inline: 12px; vertical-align: middle; }

.wa-float {
  position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 40;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); color: #fff; box-shadow: 0 14px 30px -10px rgba(31, 168, 85, .8);
  transition: transform .2s ease;
}
.wa-float .icon { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.06); }
.to-top {
  position: fixed; inset-inline-end: 26px; bottom: 88px; z-index: 40;
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-1);
}

.page-hero { position: relative; background: var(--bg-soft); overflow: hidden; padding-block: clamp(40px, 5vw, 72px) clamp(48px, 6vw, 84px); border-bottom: 1px solid var(--line); }
.page-hero .wrap { position: relative; }
.page-hero-edge {
  position: absolute; inset-block: 0; inset-inline-end: 0; width: clamp(56px, 9vw, 140px);
  background: linear-gradient(180deg, #94183D, #6E1029);
}
.page-hero-edge::before {
  content: ""; position: absolute; inset-block: 0; inset-inline-start: calc(var(--tooth-d) * -1 + 1px); width: var(--tooth-d);
  background: #84163A;
  -webkit-mask: var(--tooth-v) repeat-y 0 0 / var(--tooth-d) var(--tooth-h);
  mask: var(--tooth-v) repeat-y 0 0 / var(--tooth-d) var(--tooth-h);
}
[dir="rtl"] .page-hero-edge::before { transform: scaleX(-1); }
.page-hero h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.75rem); letter-spacing: -0.03em; max-width: 20ch; padding-inline-end: clamp(56px, 10vw, 160px); }
.page-hero .lead { margin-top: 16px; padding-inline-end: clamp(56px, 10vw, 160px); }
.page-hero .hero-actions { margin-top: 28px; }
.page-hero-article h1 { font-size: clamp(1.9rem, 1.3rem + 2.3vw, 3.1rem); max-width: 26ch; }
.post-meta-hero { margin-top: 18px; margin-bottom: 0; }

.crumbs { margin-bottom: 22px; font-size: .88rem; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; }
.crumbs li { display: inline-flex; align-items: center; gap: 4px; }
.crumbs li + li::before { content: "/"; opacity: .5; margin-inline: 4px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent-text); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.split { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.5fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.split-aside h2 { font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.3rem); }
.split-aside p { color: var(--muted); margin-top: 12px; }
.big-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--maroon); color: #fff; margin-bottom: 22px; }
.big-ico .icon { width: 30px; height: 30px; }
.prose { font-size: 1.06rem; }
.prose p { color: var(--ink); }
.prose h2 { font-size: clamp(1.35rem, 1.15rem + .7vw, 1.75rem); margin: 1.8em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0 0 1.2em; display: grid; gap: 8px; }
.prose ul li { position: relative; padding-inline-start: 26px; }
.prose ul li::before { content: ""; position: absolute; inset-inline-start: 4px; top: .7em; width: 8px; height: 8px; border-radius: 2px; background: var(--maroon); transform: rotate(45deg); }
.lead-sm { font-size: clamp(1.12rem, 1.02rem + .4vw, 1.32rem); line-height: 1.6; color: var(--ink); }
html[lang="ar"] .lead-sm { line-height: 1.9; }

.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.svc-card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.svc-card:hover { border-color: color-mix(in srgb, var(--maroon) 45%, var(--line)); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.svc-card h3 { font-size: 1.2rem; }
.svc-card h3 a { text-decoration: none; }
.svc-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.svc-card > p { color: var(--muted); font-size: .97rem; }
.svc-card .text-link { margin-top: auto; padding-top: 8px; align-self: flex-start; }
.svc-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: color-mix(in srgb, var(--maroon) 9%, var(--surface)); color: var(--accent-text); margin-bottom: 6px; }
.svc-ico .icon { width: 24px; height: 24px; }
.svc-grid-compact .svc-card { padding: 22px; }
.tick-list { display: grid; gap: 7px; margin: 4px 0; }
.tick-list li { display: flex; gap: 9px; align-items: flex-start; font-size: .94rem; }
.tick-list .icon { flex: none; color: var(--ok); margin-top: .35em; }
.tick-cols { grid-template-columns: 1fr 1fr; column-gap: 20px; }

.feature-grid-6 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.feature-item { padding: 28px 26px; border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); background: var(--surface); }
.section-tint .feature-item { background: transparent; }
.feature-item h3 { font-size: 1.08rem; margin: 14px 0 8px; }
.feature-item p { color: var(--muted); font-size: .96rem; }
.feature-tick { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--maroon); color: #fff; }

.outcomes { background: var(--navy-900); color: #fff; padding-block: clamp(48px, 6vw, 72px); }
.outcomes-title { color: #fff; font-size: 1.05rem; font-weight: 500; opacity: .75; margin-bottom: 22px; }
.outcomes-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.outcomes-list li { font-size: clamp(1.25rem, 1rem + .9vw, 1.7rem); font-weight: 500; line-height: 1.3; padding-inline-start: 20px; border-inline-start: 3px solid #E0457A; letter-spacing: -0.015em; }
html[lang="ar"] .outcomes-list li { line-height: 1.6; }

.ind-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.ind-chip { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 500; transition: border-color .15s ease, color .15s ease; }
.ind-chip .icon { color: var(--accent-text); }
.ind-chip:hover { border-color: var(--maroon); color: var(--accent-text); }

.faq-title { font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.2rem); margin-bottom: 24px; }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 2px; cursor: pointer; list-style: none; font-weight: 500; font-size: 1.08rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { color: var(--accent-text); transition: transform .2s ease; }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item p { color: var(--muted); padding: 0 2px 24px; max-width: 70ch; }

.ind-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ind-block { position: relative; padding: 32px; border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; gap: 16px; transition: border-color .2s ease, box-shadow .2s ease; }
.ind-block:hover { border-color: color-mix(in srgb, var(--maroon) 45%, var(--line)); box-shadow: var(--shadow-2); }
.ind-block-head { display: flex; align-items: center; gap: 16px; }
.ind-block h2 { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); }
.ind-block h2 a { text-decoration: none; }
.ind-block h2 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.ind-block-tag { color: var(--muted); }
.ind-block .text-link { margin-top: auto; align-self: flex-start; }

.ind-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.problem-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.problem { padding: 26px 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); border-inline-start: 4px solid var(--maroon); }
.problem h3 { font-size: 1.12rem; margin-bottom: 8px; }
.problem p { color: var(--muted); font-size: .97rem; }
.proof-callout { display: grid; grid-template-columns: minmax(0, 1.5fr) auto; gap: 32px; align-items: center; position: relative; }
.proof-callout h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); }
.proof-callout p:not(.feature-client) { color: #C5CBE0; margin-top: 12px; max-width: 64ch; }

.case-feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 64px); align-items: center; padding: clamp(24px, 4vw, 48px); border-radius: var(--r-xl); background: var(--navy-900); position: relative; overflow: hidden; }
.case-feature::before { content: ""; position: absolute; width: 560px; height: 560px; inset-inline-end: -200px; bottom: -280px; background: radial-gradient(closest-side, rgba(194, 24, 91, .35), transparent); }
.case-feature-copy { position: relative; color: #C5CBE0; }
.case-feature-copy h2 { color: #fff; font-size: clamp(1.9rem, 1.3rem + 2vw, 2.8rem); }
.case-feature-copy h2 a { text-decoration: none; }
.case-feature .case-feature-copy .feature-client { color: #F3A7BF; }
.case-feature-copy .case-cat { color: #fff; font-weight: 500; margin: 10px 0 14px; }
.case-feature-copy .chips-light li { background: transparent; border-color: rgba(255,255,255,.22); color: #E7EAF3; }
.case-feature-copy .btn-outline { --btn-fg: #fff; --btn-bd: rgba(255,255,255,.4); }
.case-feature-visual { position: relative; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-btn { border: 1px solid var(--line-strong); background: var(--surface); padding: .5em 1.1em; border-radius: 999px; font-size: .92rem; font-weight: 500; transition: all .15s ease; }
.filter-btn:hover { border-color: var(--maroon); }
.filter-btn[aria-pressed="true"] { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.platform-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.platform { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.platform-head { display: flex; gap: 14px; align-items: center; }
.platform-mono { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 600; font-size: 1.2rem; flex: none; }
.platform h3 { font-size: 1.15rem; }
.platform-cat { color: var(--accent-text); font-size: .87rem; margin: 2px 0 0; }
.platform > p { color: var(--muted); font-size: .95rem; }
.platform .chips { margin-top: 0; }
.platform-ind { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; color: var(--muted); text-decoration: none; padding-top: 8px; border-top: 1px solid var(--line); }
.platform-ind:hover { color: var(--accent-text); }
.filter-empty { color: var(--muted); }

.case-layout { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.case-facts { position: sticky; top: calc(var(--header-h) + 24px); padding: 24px; border-radius: var(--r-lg); background: var(--bg-soft); border: 1px solid var(--line); }
.case-facts dl { margin: 0 0 20px; display: grid; gap: 16px; }
.case-facts dt { font-size: .82rem; color: var(--muted); }
.case-facts dd { margin: 2px 0 0; font-weight: 500; }
.case-facts dd a { color: var(--accent-text); }
.case-facts .chips { margin-top: 6px; }
.case-body > h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: 48px 0 16px; }
.case-visual { margin-bottom: 8px; padding: clamp(20px, 3vw, 36px); padding-inline-end: calc(clamp(20px, 3vw, 36px) + 70px); padding-bottom: calc(clamp(20px, 3vw, 36px) + 30px); background: var(--navy-900); border-radius: var(--r-xl); }
.case-visual .mock-kiosk { inset-inline-end: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vw, 28px); width: 30%; }
.case-solution { display: grid; gap: 4px; }
.case-sol-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.case-sol-item:last-child { border-bottom: 0; }
.case-sol-item h3 { font-size: 1.08rem; margin-bottom: 4px; }
.case-sol-item p { color: var(--muted); font-size: .97rem; }
.case-next { margin-top: 48px; padding: 32px; border-radius: var(--r-lg); background: var(--bg-soft); border: 1px solid var(--line); }
.case-next h2 { font-size: 1.4rem; margin-bottom: 8px; }
.case-next p { color: var(--muted); margin-bottom: 20px; }

.timeline { display: grid; gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; top: 24px; bottom: 24px; inset-inline-start: 23px; width: 2px; background: var(--line); }
.tl-item { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 24px; padding-bottom: 40px; position: relative; }
.tl-item:last-child { padding-bottom: 0; }
.tl-n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--maroon); color: #fff; font-weight: 600; font-size: 1.1rem; box-shadow: 0 0 0 6px var(--bg); position: relative; }
.tl-body h2 { font-size: clamp(1.3rem, 1.1rem + .7vw, 1.65rem); padding-top: 8px; }
.tl-time { display: inline-flex; align-items: center; gap: 6px; font-size: .87rem; color: var(--accent-text); margin: 6px 0 12px; font-weight: 500; }
.tl-body > p:not(.tl-time) { color: var(--muted); }
.tl-get { margin-top: 12px; padding: 12px 16px; border-radius: var(--r-md); background: var(--bg-soft); font-size: .95rem; color: var(--ink) !important; }
.models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.model { padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.model h3 { font-size: 1.2rem; }
.model p { color: var(--muted); font-size: .97rem; }
.model .model-best { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink); font-size: .92rem; font-weight: 500; }

.founder { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.founder-photo { position: relative; border-radius: var(--r-xl); overflow: hidden; background: linear-gradient(160deg, #94183D, #5E0D27); aspect-ratio: 7 / 8; max-width: 420px; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.founder-mono { display: grid; place-items: center; height: 100%; color: #fff; font-size: 4rem; font-weight: 600; }
.founder-copy h2 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.5rem); margin-bottom: 18px; }
.founder-copy > p:not(.feature-client) { color: var(--muted); }
.markets-title { font-size: 1.1rem; margin: 32px 0 8px; }

.post-list { display: grid; max-width: 860px; }
.post-row { position: relative; padding: 32px 0; border-top: 1px solid var(--line); }
.post-row:last-child { border-bottom: 1px solid var(--line); }
.post-row h2 { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.85rem); margin-bottom: 10px; line-height: 1.3; }
.post-row h2 a { text-decoration: none; }
.post-row h2 a::after { content: ""; position: absolute; inset: 0; }
.post-row:hover h2 { color: var(--accent-text); }
.post-row p:not(.post-meta) { color: var(--muted); max-width: 70ch; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 6vw, 88px); align-items: start; }
.article-body { max-width: 70ch; }
.article-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.aside-card { padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.aside-title { font-weight: 600; margin-bottom: 12px; }
.aside-cta { background: var(--bg-soft); }
.aside-cta p:not(.aside-title) { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }

.contact-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 48px); align-items: start; }
.form-card { padding: clamp(24px, 4vw, 40px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.form-card h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.form-intro { color: var(--muted); margin: 8px 0 24px; font-size: .95rem; }
.form { display: grid; gap: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: grid; gap: 7px; align-content: start; }
.field-full { grid-column: 1 / -1; }
.field label, .field .label { font-weight: 500; font-size: .94rem; }
.req { color: var(--crimson); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--r-md);
  border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2356617E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-inline-end: 40px; }
[dir="rtl"] .field select { background-position: left 14px center; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--silver); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--maroon); background: var(--surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--maroon) 16%, transparent); }
.field [aria-invalid="true"] { border-color: #C2334B; background: color-mix(in srgb, #C2334B 5%, var(--surface)); }
.field-error { color: #C2334B; font-size: .87rem; margin: 0; }

.field-hint { color: var(--muted); font-size: .84rem; margin: 0; }
.fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 18px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.fieldset legend { font-weight: 600; font-size: 1.08rem; margin-bottom: 14px; padding: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 14px 8px; border-radius: var(--r-md); border: 1px solid var(--line-strong); font-size: .88rem; font-weight: 500; line-height: 1.3; transition: all .15s ease; }
.choice span .icon { color: var(--muted); }
.choice input:hover + span { border-color: var(--silver); }
.choice input:checked + span { border-color: var(--maroon); background: color-mix(in srgb, var(--maroon) 7%, var(--surface)); color: var(--accent-text); box-shadow: inset 0 0 0 1px var(--maroon); }
.choice input:checked + span .icon { color: var(--accent-text); }
.choice input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.check { display: flex; align-items: center; gap: 10px; font-size: .94rem; padding: 6px 0; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--maroon); flex: none; }
.form-note { color: var(--muted); font-size: .88rem; margin: 0; }
.form-note a { color: var(--accent-text); }
.form .btn[type="submit"] { justify-self: start; }
.form .btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.form-status { padding: 14px 16px; border-radius: var(--r-md); font-weight: 500; margin-bottom: 20px; font-size: .96rem; }
.form-status.is-ok { background: var(--ok-bg); color: var(--ok); border: 1px solid color-mix(in srgb, var(--ok) 30%, transparent); }
.form-status.is-error { background: color-mix(in srgb, #C2334B 8%, var(--surface)); color: #A12538; border: 1px solid color-mix(in srgb, #C2334B 30%, transparent); }

.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.contact-aside { display: grid; gap: 12px; position: sticky; top: calc(var(--header-h) + 24px); }
.contact-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: inherit; transition: border-color .15s ease; }
a.contact-card:hover { border-color: var(--maroon); }
.contact-card strong { display: block; font-weight: 600; }
.contact-card span > span { display: block; }
.contact-card small { display: block; color: var(--muted); font-size: .86rem; margin-top: 2px; }
.contact-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--bg-soft); color: var(--accent-text); flex: none; }
.contact-card-wa { background: color-mix(in srgb, var(--wa) 8%, var(--surface)); border-color: color-mix(in srgb, var(--wa) 35%, var(--line)); }
.contact-card-wa .contact-ico { background: var(--wa); color: #fff; }
.contact-card-wa:hover { border-color: var(--wa) !important; }
.contact-card-book .contact-ico { background: var(--maroon); color: #fff; }

.nf { padding-block: clamp(80px, 12vw, 160px); }
.nf-mark { margin: 0 auto 28px; width: 110px; }
.nf h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); }
.nf .lead { margin-inline: auto; }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.hero-copy > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > *:nth-child(2) { animation-delay: .06s; }
.hero-copy > *:nth-child(3) { animation-delay: .12s; }
.hero-copy > *:nth-child(4) { animation-delay: .18s; }
.hero-copy > *:nth-child(5) { animation-delay: .24s; }
.board-wrap { animation: rise 1s .2s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }

@media (max-width: 1180px) {
  .nav-link { padding-inline: .6em; }
  .header-cta { display: none; }
}

@media (max-width: 1024px) {
  :root { --header-h: 66px; }
  .main-nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .header-actions { margin-inline-start: auto; }
  .header-actions > .lang-switch { display: none; }
  .header-cta { display: inline-flex; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; padding-bottom: 0; }
  .hero-copy, .board-wrap { min-width: 0; }
  .hero-panel { display: none; }
  .board-wrap { padding-block: 44px 60px; isolation: isolate; }
  .board-wrap::before {
    content: ""; position: absolute; inset-block: 0; inset-inline: calc(var(--gutter) * -1); z-index: -1;
    background: radial-gradient(120% 60% at 85% 0%, rgba(194, 24, 91, .5), transparent 60%), linear-gradient(160deg, #94183D 0%, #7A1232 55%, #5E0D27 100%);
  }
  .board-wrap::after {
    content: ""; position: absolute; inset-inline: calc(var(--gutter) * -1); top: calc(var(--tooth-d) * -1 + 1px); height: var(--tooth-d); z-index: -1;
    background: #93183C;
    -webkit-mask: var(--tooth-h-svg) repeat-x 0 0 / var(--tooth-h) var(--tooth-d);
    mask: var(--tooth-h-svg) repeat-x 0 0 / var(--tooth-h) var(--tooth-d);
  }
  .hero-title, html[lang="ar"] .hero-title { max-width: 20ch; }
  .solutions { grid-template-columns: 1fr; }
  .solutions-intro { position: static; }
  .feature-grid, .case-feature, .ind-intro, .founder { grid-template-columns: 1fr; }
  .feature-visual { order: 2; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-item:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .step:nth-child(2)::before { display: none; }
  .svc-grid, .platform-grid, .models { grid-template-columns: 1fr 1fr; }
  .industry-row { grid-template-columns: 56px minmax(0, 1fr) 40px; }
  .industry-mods { grid-column: 2 / 3; grid-row: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .case-layout, .article-layout, .contact-layout { grid-template-columns: 1fr; }
  .case-facts, .article-aside, .contact-aside { position: static; }
  .cta-band-inner { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .founder-photo { max-width: 340px; }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; }
  body { font-size: 1rem; }
  .brand-word { height: 18px; }
  .brand-mark { height: 34px; }
  .header-cta { display: none; }
  .hero-actions .btn { flex: 1 1 auto; }
  .facts-row { grid-template-columns: 1fr 1fr; }
  .fact { padding: 20px 16px; }
  .fact:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .board { padding: 16px; border-radius: var(--r-lg); }
  .board-kpis { gap: 8px; }
  .kpi { padding: 10px; }
  .solutions-groups { grid-template-columns: 1fr; }
  .why-grid, .steps, .svc-grid, .platform-grid, .models, .post-grid, .post-grid-2, .problem-grid, .ind-blocks, .outcomes-list { grid-template-columns: 1fr; }
  .why-item { border-inline-start: 0; padding-inline-start: 0; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
  .step::before { display: none; }
  .feature-grid-6 { grid-template-columns: 1fr; }
  .industry-row { grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 22px 4px; }
  .industry-ico { width: 48px; height: 48px; }
  .industry-go { display: none; }
  .industry-mods { grid-column: 1 / -1; grid-row: auto; }
  .tick-cols { grid-template-columns: 1fr; }
  .form-grid, .check-grid { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .feature-visual, .case-visual { padding-inline-end: 44px; }
  .mock-kiosk { width: 38%; min-width: 0; }
  .page-hero h1, .page-hero .lead { padding-inline-end: 44px; }
  .page-hero-edge { width: 34px; }
  .proof-callout { grid-template-columns: 1fr; }
  .form .btn[type="submit"] { justify-self: stretch; }
  .wa-float { width: 52px; height: 52px; inset-inline-end: 16px; bottom: 16px; }
  .to-top { inset-inline-end: 20px; bottom: 80px; }
  .ind-block { padding: 24px; }
}

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

@media print {
  .site-header, .site-footer, .cta-band, .wa-float, .to-top, .drawer, .hero-panel, .page-hero-edge { display: none !important; }
  body { color: #000; background: #fff; }
}
