/* ==========================================================================
   Akakus Digital — stylesheet
   Identity: Night Navy, Akakus Orange, Terracotta, Desert Sand.
   Type: Tajawal (Arabic) + Sora (Latin), self-hosted in assets/fonts.
   Layout uses logical properties, so it works in RTL (Arabic) and LTR (English).
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face { font-family: 'Tajawal'; src: url('../fonts/Tajawal-Regular.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Tajawal'; src: url('../fonts/Tajawal-Medium.woff') format('woff'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Tajawal'; src: url('../fonts/Tajawal-Bold.woff') format('woff'); font-weight: 600 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Tajawal'; src: url('../fonts/Tajawal-ExtraBold.woff') format('woff'); font-weight: 800 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Sora'; src: url('../fonts/Sora-Variable.woff') format('woff'); font-weight: 100 800; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --navy-1000: #060D17;
  --navy-950: #09121F;
  --navy-900: #0E1A2B;
  --navy-800: #16263D;
  --navy-700: #1F3350;
  --line-dark: #22344D;
  --glass-line: rgba(245, 239, 230, .09);
  --orange: #E07A3F;
  --orange-hover: #EC8B53;
  --terracotta: #A34A1A;
  --sand: #F2E4CF;
  --sand-50: #FAF5EC;
  --sand-line: #EFE6D8;
  --cream: #F5EFE6;
  --ink: #0E1A2B;
  --text: #22303F;
  --muted: #5B6675;
  --muted-dark: #9AA7B8;
  --border: #E6E1D8;
  --field-border: #858E9B;
  --white: #FFFFFF;
  --ok: #5FD08A;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow: 0 1px 2px rgba(14, 26, 43, .05), 0 16px 40px rgba(14, 26, 43, .08);

  --container: 1200px;
  --header-h: 92px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  --font-ar: 'Tajawal', 'Sora', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  --font-en: 'Sora', 'Tajawal', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-ar);
  font-size: 18px;
  line-height: 1.8;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
html[lang="en"] body { font-family: var(--font-en); font-size: 16px; line-height: 1.7; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--ink); font-weight: 800; line-height: 1.25; }
h3 { font-weight: 700; }
html[lang="en"] h1, html[lang="en"] h2 { font-weight: 700; letter-spacing: -.025em; line-height: 1.12; }
html[lang="en"] h3 { font-weight: 600; letter-spacing: -.01em; }
h1, h2 { text-wrap: balance; }
p { margin: 0 0 1em; }

::selection { background: var(--orange); color: var(--ink); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .container { padding-inline: 32px; } }

.skip-link {
  position: absolute;
  top: -80px;
  inset-inline-start: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--orange);
  color: var(--ink);
  font-weight: 700;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.ltr { direction: ltr; unicode-bidi: isolate; }
[hidden] { display: none !important; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 26px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, box-shadow .3s, transform .3s var(--ease-out);
  will-change: transform;
}
html[lang="en"] .btn { font-weight: 600; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn .arrow { transition: transform .3s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }
html[dir="rtl"] .btn .arrow { transform: scaleX(-1); }
html[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(4px); }
.btn-lg { min-height: 58px; padding: 14px 32px; font-size: 17px; }

.btn-primary { background: var(--orange); color: var(--ink); box-shadow: 0 0 0 0 rgba(224, 122, 63, 0); }
.btn-primary:hover { background: var(--orange-hover); box-shadow: 0 14px 34px -8px rgba(224, 122, 63, .6); }
.btn-ghost { border-color: rgba(245, 239, 230, .22); color: var(--cream); background: rgba(245, 239, 230, .03); }
.btn-ghost:hover { border-color: rgba(245, 239, 230, .6); background: rgba(245, 239, 230, .07); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--navy-700); box-shadow: 0 14px 30px -10px rgba(14, 26, 43, .55); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-whatsapp { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-whatsapp:hover { background: var(--ink); color: var(--cream); }

/* ---------- Header (floating glass pill) ---------- */
.site-header {
  position: fixed;
  top: 14px;
  inset-inline: 0;
  z-index: 60;
  padding-inline: 14px;
  pointer-events: none;
}
.header-inner {
  pointer-events: auto;
  position: relative;
  max-width: 1180px;
  height: 64px;
  margin-inline: auto;
  padding-inline: 18px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--glass-line);
  border-radius: 999px;
  background: rgba(14, 26, 43, .55);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  color: var(--cream);
  transition: background-color .35s, box-shadow .35s, border-color .35s;
}
.site-header.is-scrolled .header-inner,
.site-header.menu-open .header-inner {
  background: rgba(11, 21, 35, .88);
  border-color: rgba(245, 239, 230, .12);
  box-shadow: 0 18px 40px -12px rgba(6, 13, 23, .55);
}

.brand { display: inline-flex; align-items: center; gap: 11px; direction: ltr; color: var(--cream); flex: none; }
.brand-mark { width: 36px; height: 36px; flex: none; transition: transform .5s var(--ease-spring); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand-text { display: flex; flex-direction: column; font-family: var(--font-en); line-height: 1; }
.brand-name { font-size: 18px; font-weight: 700; letter-spacing: .08em; }
.brand-sub { margin-top: 5px; font-size: 9px; letter-spacing: .68em; color: var(--orange); }

.nav-links { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--muted-dark);
  font-size: 16px;
  font-weight: 500;
  transition: color .2s, background-color .2s;
}
html[lang="en"] .nav-links a { font-size: 14.5px; }
.nav-links a:hover { color: var(--cream); background: rgba(245, 239, 230, .05); }
.nav-links a[aria-current="page"] { color: var(--cream); background: rgba(245, 239, 230, .09); }
.nav-links .mobile-cta { display: none; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-toggle {
  min-width: 44px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid rgba(245, 239, 230, .18);
  border-radius: 999px;
  background: transparent;
  color: var(--cream);
  font-family: var(--font-en);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
html[lang="en"] .lang-toggle { font-family: var(--font-ar); font-size: 16px; }
.lang-toggle:hover { border-color: rgba(245, 239, 230, .5); background: rgba(245, 239, 230, .05); }
.header-cta { min-height: 44px; padding: 10px 20px; font-size: 15px; }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(245, 239, 230, .18);
  border-radius: 50%;
  background: transparent;
  color: var(--cream);
  cursor: pointer;
}
.menu-toggle svg { width: 20px; height: 20px; }
.menu-toggle .icon-close { display: none; }
.site-header.menu-open .menu-toggle .icon-open { display: none; }
.site-header.menu-open .menu-toggle .icon-close { display: block; }

@media (max-width: 959px) {
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .header-inner { height: 60px; padding-inline: 14px 8px; }
  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid rgba(245, 239, 230, .1);
    border-radius: 24px;
    background: var(--navy-900);
    box-shadow: 0 30px 60px -10px rgba(6, 13, 23, .7);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(.98);
    transform-origin: top center;
    transition: opacity .25s, transform .35s var(--ease-out), visibility .25s;
  }
  .site-header.menu-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { display: flex; padding: 13px 16px; border-radius: 14px; font-size: 18px; }
  html[lang="en"] .nav-links a { font-size: 16px; }
  .nav-links .mobile-cta { display: block; margin-top: 6px; }
  .nav-links a.btn-primary { width: 100%; justify-content: center; color: var(--ink); background: var(--orange); font-weight: 700; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: calc(var(--header-h) + 64px);
  padding-bottom: 130px;
  background: var(--navy-950);
  color: var(--cream);
}
@media (min-width: 768px) { .hero { padding-top: calc(var(--header-h) + 88px); padding-bottom: 170px; } }

.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 239, 230, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 239, 230, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 10%, transparent 75%);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  will-change: transform;
}
.blob-1 { width: 560px; height: 560px; top: -160px; inset-inline-start: -120px; background: radial-gradient(circle, rgba(224, 122, 63, .55), transparent 65%); animation: drift-1 22s ease-in-out infinite alternate; }
.blob-2 { width: 640px; height: 640px; top: 20%; inset-inline-end: -220px; background: radial-gradient(circle, rgba(63, 110, 180, .45), transparent 65%); animation: drift-2 26s ease-in-out infinite alternate; }
@keyframes drift-1 { to { transform: translate(140px, 120px) scale(1.15); } }
@keyframes drift-2 { to { transform: translate(-160px, -80px) scale(.9); } }

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(520px circle at var(--hx, 50%) var(--hy, 30%), rgba(224, 122, 63, .13), transparent 60%);
  opacity: var(--spot, 0);
  transition: opacity .4s;
  pointer-events: none;
}

.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border: 1px solid rgba(245, 239, 230, .12);
  border-radius: 999px;
  background: rgba(245, 239, 230, .04);
  color: var(--muted-dark);
  font-size: 15px;
  font-weight: 500;
  transition: border-color .25s, color .25s, background-color .25s;
}
html[lang="en"] .hero-badge { font-size: 13.5px; }
.hero-badge:hover { border-color: rgba(224, 122, 63, .5); color: var(--cream); background: rgba(224, 122, 63, .08); }
.hero-badge svg { width: 15px; height: 15px; }
html[dir="rtl"] .hero-badge .arrow { transform: scaleX(-1); }
.badge-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.badge-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--orange); animation: ping 2s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.9); opacity: 0; } }

.hero-title {
  margin: 30px 0 .62em;
  color: var(--cream);
  font-size: clamp(52px, 10vw, 128px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.01em;
}
html[lang="en"] .hero-title { margin-bottom: .45em; font-size: clamp(46px, 7.4vw, 104px); letter-spacing: -.045em; line-height: 1.02; }
@media (max-width: 599px) { html[lang="ar"] .hero-title { line-height: 1.22; } .sb-title { display: none; } .showcase-bar { justify-content: space-between; } }
.hero-title .word {
  display: inline-block;
  overflow: hidden;
  padding: .1em .06em .16em;
  margin: -.1em -.02em -.16em;
  vertical-align: top;
}
.hero-title .word > span { display: inline-block; }
.hero-title .accent { color: var(--orange); }
.accent-wrap { position: relative; display: inline-block; }
.title-ridge {
  position: absolute;
  inset-inline: 4%;
  bottom: -.34em;
  width: 92%;
  height: .2em;
  overflow: visible;
}
html[lang="en"] .title-ridge { bottom: -.14em; }
.title-ridge path {
  fill: none;
  stroke: var(--orange);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 320;
  stroke-dashoffset: 0;
}

.hero-lead {
  max-width: 640px;
  margin: 0 auto 38px;
  color: var(--muted-dark);
  font-size: clamp(18px, 2.1vw, 22px);
  line-height: 1.75;
}
html[lang="en"] .hero-lead { font-size: clamp(17px, 1.9vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Showcase */
.showcase-wrap { position: relative; margin-top: 76px; perspective: 1800px; }
.showcase-wrap::before {
  content: "";
  position: absolute;
  inset: 8% 12% auto;
  height: 70%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(224, 122, 63, .32), transparent);
  filter: blur(40px);
  animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe { 50% { opacity: .55; transform: scale(1.06); } }

.showcase {
  position: relative;
  padding: 10px;
  border: 1px solid rgba(245, 239, 230, .12);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(245, 239, 230, .09), rgba(245, 239, 230, .02));
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(245, 239, 230, .1);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform .5s var(--ease-out);
  text-align: start;
}
.showcase-screen { overflow: hidden; border: 1px solid rgba(245, 239, 230, .06); border-radius: 24px; background: #0A1424; }
.showcase-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 46px;
  padding-inline: 18px;
  border-bottom: 1px solid rgba(245, 239, 230, .06);
  direction: ltr;
}
.sb-dots { display: flex; gap: 7px; }
.sb-dots i { width: 11px; height: 11px; border-radius: 50%; background: #2A3B55; }
.sb-dots i:first-child { background: #E07A3F; }
.sb-title { flex: 1; text-align: center; color: #5E6D82; font-family: var(--font-en); font-size: 11px; font-weight: 600; letter-spacing: .28em; }
.sb-live { display: inline-flex; align-items: center; gap: 7px; color: var(--ok); font-family: var(--font-en); font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.sb-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(95, 208, 138, .6); animation: live 1.8s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(95, 208, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(95, 208, 138, 0); } }

.showcase-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 12px; }
@media (max-width: 899px) { .showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sc-network { display: none !important; } }
@media (max-width: 599px) { .showcase-grid { grid-template-columns: minmax(0, 1fr); } }

.sc-tile {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 300px;
  padding: 18px;
  border: 1px solid rgba(245, 239, 230, .07);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(22, 38, 61, .7), rgba(14, 26, 43, .5));
}
.sc-head { display: flex; align-items: center; gap: 10px; color: var(--cream); font-size: 15.5px; font-weight: 700; }
html[lang="en"] .sc-head { font-size: 14px; font-weight: 600; }
.sc-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(224, 122, 63, .15); color: var(--orange); }
.sc-icon svg { width: 16px; height: 16px; }
.sc-pill {
  margin-inline-start: auto;
  padding: 3px 10px;
  border: 1px solid rgba(95, 208, 138, .25);
  border-radius: 999px;
  background: rgba(95, 208, 138, .1);
  color: var(--ok);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

/* radar */
.radar {
  position: relative;
  width: min(150px, 70%);
  aspect-ratio: 1;
  margin: 2px auto 0;
  overflow: hidden;
  border: 1px solid rgba(224, 122, 63, .25);
  border-radius: 50%;
  background:
    linear-gradient(rgba(224, 122, 63, .15), rgba(224, 122, 63, .15)) center / 1px 100% no-repeat,
    linear-gradient(rgba(224, 122, 63, .15), rgba(224, 122, 63, .15)) center / 100% 1px no-repeat,
    repeating-radial-gradient(circle, transparent 0 22px, rgba(224, 122, 63, .16) 22px 23px);
}
.radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(224, 122, 63, .55), rgba(224, 122, 63, 0) 30%);
  animation: spin 3.2s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.blip {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: 7px;
  height: 7px;
  margin: -3.5px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 12px var(--orange);
  opacity: 0;
  animation: blip 3.2s var(--d) infinite;
}
@keyframes blip { 0%, 100% { opacity: 0; transform: scale(.4); } 8% { opacity: 1; transform: scale(1.2); } 40% { opacity: .2; transform: scale(1); } }
.radar-core {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: -20px;
  border-radius: 12px;
  background: var(--orange);
  color: var(--ink);
  box-shadow: 0 0 0 6px rgba(224, 122, 63, .15);
}
.radar-core svg { width: 22px; height: 22px; }

.sc-list { display: grid; gap: 8px; margin: auto 0 0; padding: 0; list-style: none; }
.sc-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid rgba(245, 239, 230, .06);
  border-radius: 12px;
  background: rgba(9, 18, 31, .45);
  color: #C9D2DE;
  font-size: 14.5px;
}
html[lang="en"] .sc-list li { font-size: 13px; }
.sc-list b { margin-inline-start: auto; color: var(--ok); font-size: 12.5px; font-weight: 700; }
.sc-check { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: rgba(95, 208, 138, .16); color: var(--ok); }
.sc-check svg { width: 11px; height: 11px; }

/* network */
.net-graph { width: 100%; height: auto; margin-top: 4px; }
.net-graph .links line { stroke: rgba(154, 167, 184, .25); stroke-width: 1.2; stroke-dasharray: 3 5; animation: dash 20s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -200; } }
.net-graph .packet { fill: var(--orange); filter: drop-shadow(0 0 4px var(--orange)); }
.net-graph .node .dot { fill: #2B4060; stroke: #9AA7B8; stroke-width: 1.2; }
.net-graph .node .ring { fill: none; stroke: rgba(224, 122, 63, .55); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: ring 2.8s var(--d, 0s) ease-out infinite; }
.net-graph .node-core .dot { fill: var(--orange); stroke: #FFC79E; }
@keyframes ring { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
.net-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; color: #C9D2DE; font-size: 14px; }
html[lang="en"] .net-foot { font-size: 13px; }
.bars { display: inline-flex; align-items: flex-end; gap: 3px; height: 18px; direction: ltr; }
.bars i { width: 4px; border-radius: 2px; background: var(--ok); animation: eq 1.2s ease-in-out infinite; }
.bars i:nth-child(1) { height: 30%; animation-delay: -.2s; }
.bars i:nth-child(2) { height: 55%; animation-delay: -.5s; }
.bars i:nth-child(3) { height: 80%; animation-delay: -.1s; }
.bars i:nth-child(4) { height: 60%; animation-delay: -.7s; }
.bars i:nth-child(5) { height: 95%; animation-delay: -.35s; }
@keyframes eq { 50% { transform: scaleY(.45); } }
.bars i { transform-origin: bottom; }

/* code */
.code {
  flex: 1;
  margin: 0;
  padding: 14px 16px;
  overflow: hidden;
  border: 1px solid rgba(245, 239, 230, .06);
  border-radius: 12px;
  background: rgba(6, 13, 23, .6);
  color: #C9D2DE;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.75;
  text-align: left;
}
.code .cl { display: block; width: max-content; max-width: 100%; white-space: pre; overflow: hidden; }
.code .tk { color: #FF9A62; }
.code .tb { color: #7CC4FF; }
.code .ts { color: #9BE39F; }
.code .tc { color: var(--orange); }
.code .tg { color: var(--ok); font-weight: 700; }
.deploy { display: flex; align-items: center; gap: 10px; color: #C9D2DE; font-size: 13.5px; }
.deploy-bar { flex: 1; height: 6px; overflow: hidden; border-radius: 99px; background: rgba(245, 239, 230, .08); }
.deploy-bar i { display: block; width: 100%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--orange), #FFB27F); transform-origin: left; }
html[dir="rtl"] .deploy-bar i { transform-origin: right; }
.deploy-pct { color: var(--ok); font-family: var(--font-en); font-size: 12px; font-weight: 700; }

/* ridge */
.hero-ridge {
  position: absolute;
  bottom: -1px;
  inset-inline: 0;
  z-index: 1;
  width: 100%;
  height: 56px;
  pointer-events: none;
}
@media (min-width: 768px) { .hero-ridge { height: 100px; } }
.ridge-back { fill: var(--navy-800); }
.ridge-front { fill: var(--ridge-front, var(--white)); }

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 26px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
html[dir="rtl"] .marquee-track { animation-name: marquee-rtl; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; align-items: center; gap: 44px; margin: 0; padding: 0 22px; list-style: none; }
.marquee li {
  display: inline-flex;
  align-items: center;
  gap: 44px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 700;
  white-space: nowrap;
}
html[lang="en"] .marquee li { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.marquee li::after { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--orange); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: calc(var(--header-h) + 70px);
  padding-bottom: 120px;
  background: var(--navy-950);
  color: var(--cream);
}
@media (min-width: 768px) { .page-hero { padding-top: calc(var(--header-h) + 96px); padding-bottom: 160px; } }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(245, 239, 230, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 239, 230, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 5%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 5%, transparent 75%);
}
.page-hero::after {
  content: "";
  position: absolute;
  top: -200px;
  inset-inline-end: -150px;
  z-index: -1;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 122, 63, .28), transparent 65%);
  filter: blur(60px);
  animation: drift-2 24s ease-in-out infinite alternate;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 860px; margin-bottom: 20px; color: var(--cream); font-size: clamp(40px, 6.4vw, 76px); line-height: 1.12; }
html[lang="en"] .page-hero h1 { font-size: clamp(38px, 5.8vw, 70px); }
.page-hero p:not(.eyebrow) { max-width: 660px; margin: 0; color: var(--muted-dark); font-size: clamp(18px, 2vw, 21px); }
.hero-deco { position: absolute; top: calc(var(--header-h) + 30px); inset-inline-end: 6%; width: 300px; height: 300px; opacity: .55; pointer-events: none; }
@media (max-width: 767px) { .hero-deco { display: none; } }

/* ---------- Eyebrows ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--terracotta);
  font-size: 16px;
  font-weight: 700;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
html[lang="en"] .eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.page-hero .eyebrow, .section-dark .eyebrow { color: var(--orange); }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: 80px; }
@media (min-width: 768px) { .section { padding-block: 120px; } }
.section-sand { background: var(--sand-50); }
.section-dark { position: relative; overflow: hidden; isolation: isolate; background: var(--navy-950); color: var(--cream); }
.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(245, 239, 230, .1) 1px, transparent 1.6px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 40%, #000 0%, transparent 80%);
  mask-image: radial-gradient(ellipse 75% 70% at 50% 40%, #000 0%, transparent 80%);
}
.section-dark h2, .section-dark h3 { color: var(--cream); }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(34px, 4.8vw, 58px); }
.section-head > p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 19px; }
html[lang="en"] .section-head > p:not(.eyebrow) { font-size: 18px; }
.section-dark .section-head > p:not(.eyebrow) { color: var(--muted-dark); }

/* ---------- Cards / bento ---------- */
.bento { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .card-feature { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); } .card-feature { grid-column: auto; grid-row: span 2; } }

.card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(224, 122, 63, .12), transparent 45%);
  opacity: 0;
  transition: opacity .35s;
}
.card:hover { transform: translateY(-6px); border-color: #DCCDB6; box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card h3 { margin: 10px 0 0; font-size: 22px; }
html[lang="en"] .card h3 { font-size: 20px; }
.card p { margin: 0; color: var(--muted); font-size: 16.5px; }
html[lang="en"] .card p { font-size: 15.5px; }

.card-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 16px;
  background: var(--navy-900);
  color: var(--orange);
  transition: background-color .3s, color .3s, transform .5s var(--ease-spring);
}
.card-icon svg { width: 28px; height: 28px; }
.card:hover .card-icon { background: var(--orange); color: var(--ink); transform: rotate(-6deg) scale(1.06); }
.card-num { position: absolute; top: 30px; inset-inline-end: 28px; color: #8A8580; font-family: var(--font-en); font-size: 13px; font-weight: 600; letter-spacing: .12em; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  color: var(--terracotta);
  font-size: 16px;
  font-weight: 700;
}
html[lang="en"] .card-link { font-size: 15px; font-weight: 600; }
.card-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
html[dir="rtl"] .card-link .arrow { transform: scaleX(-1); }
.card:hover .card-link .arrow { transform: translateX(4px); }
html[dir="rtl"] .card:hover .card-link .arrow { transform: scaleX(-1) translateX(4px); }

.card-feature { padding: 36px 32px; border-color: var(--navy-900); background: var(--navy-950); color: var(--cream); }
.card-feature::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(224, 122, 63, .22), transparent 50%); }
.card-feature:hover { border-color: var(--navy-900); box-shadow: 0 30px 60px -20px rgba(9, 18, 31, .5); }
.card-feature .card-icon { background: var(--orange); color: var(--ink); }
.card-feature .card-num { color: var(--muted-dark); }
.card-feature h3 { color: var(--cream); font-size: 28px; }
html[lang="en"] .card-feature h3 { font-size: 26px; }
.card-feature p { color: var(--muted-dark); font-size: 17.5px; }
.card-feature .card-link { color: var(--orange); }
.feature-points { display: grid; gap: 12px; margin: 10px 0 8px; padding: 0; list-style: none; }
.feature-points li { display: flex; align-items: flex-start; gap: 10px; color: var(--cream); font-size: 16px; }
html[lang="en"] .feature-points li { font-size: 15px; }
.feature-points svg { flex: none; width: 18px; height: 18px; margin-top: 5px; color: var(--orange); }
.feature-art { position: absolute; bottom: -46px; inset-inline-end: -46px; z-index: -1; width: 260px; height: 260px; pointer-events: none; animation: slow-spin 60s linear infinite; }
@keyframes slow-spin { to { transform: rotate(360deg); } }

.card-wide {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
  padding: 28px 32px;
  border: 1px solid #E8D7BC;
  border-radius: var(--radius-lg);
  background: var(--sand);
}
.card-wide .card-icon { background: var(--ink); color: var(--orange); }
.card-wide-text { flex: 1 1 300px; }
.card-wide h3 { margin: 0 0 4px; font-size: 22px; }
.card-wide p { margin: 0; color: #5A4632; }

/* ---------- Features (why us / values) ---------- */
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.why-intro .btn { margin-top: 30px; }
@media (min-width: 1024px) {
  .why-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .why-intro { position: sticky; top: calc(var(--header-h) + 40px); margin-bottom: 0; }
}
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.features-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.feature {
  position: relative;
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border-radius: 15px;
  background: rgba(224, 122, 63, .14);
  color: var(--terracotta);
  transition: transform .5s var(--ease-spring), background-color .3s, color .3s;
}
.feature:hover .feature-icon { transform: scale(1.1) rotate(-6deg); background: var(--orange); color: var(--ink); }
.feature-icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 20px; }
.feature p { margin: 0; color: var(--muted); font-size: 16.5px; }
html[lang="en"] .feature p { font-size: 15.5px; }

/* ---------- Process timeline ---------- */
.steps { display: grid; gap: 36px; margin: 0; padding: 0; list-style: none; }
.step { position: relative; }
.step-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  border: 1.5px solid var(--orange);
  border-radius: 50%;
  background: var(--navy-950);
  color: var(--orange);
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  box-shadow: 0 0 0 8px var(--navy-950);
}
.step:last-child .step-num { background: var(--orange); color: var(--ink); }
.step h3 { font-size: 23px; color: var(--cream); }
.step p { margin: 0; color: var(--muted-dark); font-size: 16.5px; }
html[lang="en"] .step p { font-size: 15.5px; }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  border: 0 dashed rgba(224, 122, 63, .5);
}
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .step:not(:last-child)::after { top: 28px; inset-inline-start: 72px; inset-inline-end: -28px; border-top-width: 1.5px; transform-origin: left; }
  html[dir="rtl"] .step:not(:last-child)::after { transform-origin: right; }
}
@media (max-width: 959px) {
  .steps { gap: 34px; }
  .step { padding-inline-start: 78px; min-height: 56px; }
  .step-num { position: absolute; top: 0; inset-inline-start: 0; margin: 0; }
  .step h3 { padding-top: 12px; }
  .step:not(:last-child)::after { top: 64px; bottom: -30px; inset-inline-start: 27px; border-inline-start-width: 1.5px; transform-origin: top; }
}

/* ---------- Split / story ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 48px; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; } }
.split h2 { font-size: clamp(34px, 4.6vw, 54px); }
.split > div > p:not(.eyebrow) { color: var(--muted); font-size: 18.5px; }
html[lang="en"] .split > div > p:not(.eyebrow) { font-size: 17.5px; }
.story-art { position: relative; overflow: hidden; border-radius: var(--radius-xl); background: var(--sand); box-shadow: var(--shadow); }
.story-art svg { width: 100%; height: auto; }
.story-art [data-speed] { will-change: transform; }
.art-caption {
  position: absolute;
  bottom: 18px;
  inset-inline-start: 18px;
  z-index: 1;
  padding: 6px 14px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(14, 26, 43, .8);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--cream);
  font-size: 14px;
  font-weight: 500;
}
.check-list { display: grid; gap: 14px; margin: 28px 0 34px; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink); font-weight: 500; }
.check-list svg { flex: none; width: 22px; height: 22px; margin-top: 4px; color: var(--terracotta); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: 72px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 120V70l80-22 70 16 90-38 60 24 60-12 90 34 90-30 60 14 90-40 70 30 60-14 80 30 90-34 70 24 80-30 70 26 80-14 70 26 80-18V120Z' fill='%23C9622B' fill-opacity='.45'/%3E%3C/svg%3E") bottom / 100% 70px no-repeat,
    var(--orange);
  color: var(--ink);
}
@media (min-width: 768px) { .cta-band { padding-block: 96px; } }
.cta-band::after {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline-end: 24%;
  z-index: -1;
  width: 240px;
  height: 240px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cpath fill-rule='evenodd' d='M8 102 L50 20 L70 59 L82 38 L112 102 Z M38 102 L50 78 L62 102 Z' fill='%23C9622B' fill-opacity='.5'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: translateY(calc(-50% + var(--py, 0px)));
  pointer-events: none;
}
@media (max-width: 959px) { .cta-band::after { top: auto; bottom: -30px; inset-inline-end: -40px; width: 180px; height: 180px; transform: none; } }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band h2 { margin-bottom: 8px; font-size: clamp(32px, 4.4vw, 52px); }
.cta-band p { margin: 0; color: #3A2414; font-size: 19px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; padding-top: 80px; background: var(--navy-1000); color: var(--muted-dark); font-size: 16px; }
html[lang="en"] .site-footer { font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 40px; padding-bottom: 56px; }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr; } }
.footer-about p { max-width: 320px; margin: 20px 0 0; }
.footer-slogan { margin-top: 12px !important; color: var(--cream); font-weight: 700; }
.site-footer h2 { margin-bottom: 16px; color: var(--cream); font-size: 16px; font-weight: 700; }
.footer-links { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-links a { transition: color .2s; }
.footer-links a:hover { color: var(--cream); }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-block: 24px; font-size: 14px; }
.footer-bottom::before { content: ""; position: absolute; top: 0; inset-inline: 20px; border-top: 1px solid var(--line-dark); }
@media (min-width: 768px) { .footer-bottom::before { inset-inline: 32px; } }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-dark); border-radius: 12px; color: var(--muted-dark); transition: color .2s, border-color .2s; }
.socials a:hover { color: var(--cream); border-color: var(--muted-dark); }
.socials svg { width: 20px; height: 20px; }

.footer-mark {
  display: flex;
  justify-content: center;
  margin-bottom: -.16em;
  direction: ltr;
  color: #0F1C2E;
  font-family: var(--font-en);
  font-size: clamp(72px, 18vw, 270px);
  font-weight: 800;
  line-height: .8;
  letter-spacing: .04em;
  user-select: none;
  pointer-events: none;
}
.footer-mark span { display: inline-block; transition: color .4s; }
.site-footer:hover .footer-mark span { color: #13243A; }

/* ---------- Services page ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0 0; padding: 0; list-style: none; }
.chips a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid rgba(245, 239, 230, .14);
  border-radius: 999px;
  background: rgba(245, 239, 230, .03);
  color: var(--cream);
  font-size: 16px;
  transition: border-color .2s, background-color .2s, transform .3s var(--ease-out);
}
html[lang="en"] .chips a { font-size: 15px; }
.chips a:hover { border-color: var(--orange); background: rgba(224, 122, 63, .12); transform: translateY(-2px); }

.service-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 32px;
  padding-block: 72px;
  border-bottom: 1px solid var(--border);
}
.service-block:first-child { padding-top: 0; }
.service-block:last-child { padding-bottom: 0; border-bottom: 0; }
@media (min-width: 960px) {
  .service-block { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; }
  .service-intro { position: sticky; top: calc(var(--header-h) + 32px); }
}
.service-intro .card-icon { margin-bottom: 22px; }
.service-intro h2 { font-size: clamp(30px, 3.8vw, 44px); }
.service-intro p { margin-bottom: 28px; color: var(--muted); font-size: 18.5px; }
html[lang="en"] .service-intro p { font-size: 17.5px; }
.service-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.service-list li {
  padding: 24px;
  border: 1px solid var(--sand-line);
  border-radius: var(--radius);
  background: var(--sand-50);
  transition: border-color .25s, transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.service-list li:hover { border-color: #E2C9A6; transform: translateY(-4px); box-shadow: var(--shadow); }
.service-list h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; font-size: 18px; }
html[lang="en"] .service-list h3 { font-size: 16.5px; }
.service-list h3::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--orange); transform: rotate(45deg); }
.service-list p { margin: 0; color: var(--muted); font-size: 16px; }
html[lang="en"] .service-list p { font-size: 15px; }

.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq details { padding: 2px 26px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); transition: border-color .25s, box-shadow .3s; }
.faq details[open] { border-color: #DCCDB6; box-shadow: var(--shadow); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 20px 0;
  color: var(--ink);
  font-size: 18.5px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
html[lang="en"] .faq summary { font-size: 17px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--terracotta); font-size: 28px; font-weight: 400; line-height: 1; transition: transform .35s var(--ease-spring); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { margin: 0; padding-bottom: 22px; color: var(--muted); }

/* ---------- About page ---------- */
.mv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.mv-card { position: relative; overflow: hidden; isolation: isolate; padding: 40px 36px; border-radius: var(--radius-lg); background: var(--navy-950); color: var(--cream); transition: transform .45s var(--ease-out); }
.mv-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(400px circle at var(--mx, 80%) var(--my, 0%), rgba(224, 122, 63, .2), transparent 50%); }
.mv-card:hover { transform: translateY(-5px); }
.mv-card .card-icon { margin-bottom: 24px; background: var(--orange); color: var(--ink); }
.mv-card h3 { color: var(--cream); font-size: 26px; }
.mv-card p { margin: 0; color: var(--muted-dark); font-size: 18px; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 32px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; } }
.form-card { padding: clamp(24px, 4vw, 44px); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.form-card h2 { font-size: clamp(26px, 3vw, 34px); }
.form-card > p { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px; margin-top: 28px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--ink); font-size: 16px; font-weight: 700; transition: color .2s; }
html[lang="en"] .field label { font-size: 15px; font-weight: 600; }
.field:focus-within label { color: var(--terracotta); }
.field .req { color: var(--terracotta); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1.5px solid var(--field-border);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 16.5px;
  transition: border-color .2s, box-shadow .25s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(224, 122, 63, .2); }
.field input[type="tel"], .field input[type="email"] { direction: ltr; text-align: left; }
html[dir="rtl"] .field input[type="tel"], html[dir="rtl"] .field input[type="email"] { text-align: right; }
.field [aria-invalid="true"] { border-color: #B42318; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.form-note { margin: 16px 0 0; color: var(--muted); font-size: 14.5px; }
.form-status { margin: 14px 0 0; font-weight: 700; }
.form-status:empty { display: none; }
.form-status.is-error { color: #B42318; }
.form-status.is-ok { color: #1E6B3A; }
.contact-info { display: grid; gap: 14px; align-content: start; }
.info-item { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border: 1px solid var(--sand-line); border-radius: var(--radius); background: var(--sand-50); transition: transform .4s var(--ease-out), border-color .25s; }
.info-item:hover { transform: translateX(-4px); border-color: #E2C9A6; }
html[dir="ltr"] .info-item:hover { transform: translateX(4px); }
.info-item .card-icon { width: 48px; height: 48px; border-radius: 14px; }
.info-item .card-icon svg { width: 24px; height: 24px; }
.info-item h3 { margin: 0 0 2px; color: var(--muted); font-size: 15px; font-weight: 500; }
.info-item .value { color: var(--ink); font-size: 18px; font-weight: 700; word-break: break-word; }
.info-item a.value:hover { color: var(--terracotta); }
.info-item .value-line { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.info-item .value-line + .value-line { margin-top: 4px; }
.info-item .value-label { min-width: 44px; color: var(--muted); font-size: 14px; }
.hp { display: none !important; }

/* ==========================================================================
   Motion
   Everything below only runs when JS is on (html.js) and the visitor has not
   asked for reduced motion.
   ========================================================================== */

.scroll-progress {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 80;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), #FFB27F);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
  pointer-events: none;
}
html[dir="rtl"] .scroll-progress { transform-origin: right; background: linear-gradient(270deg, var(--orange), #FFB27F); }

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }

  /* Hero entrance */
  .js .hero .anim { opacity: 0; transform: translateY(26px); filter: blur(8px); }
  .js .hero-title .word > span { transform: translateY(115%); }
  .js .title-ridge path { stroke-dashoffset: 320; }
  .js .anim-showcase .showcase { opacity: 0; transform: translateY(80px) rotateX(24deg) scale(.94); }

  .is-loaded .hero .anim { animation: rise 1s var(--ease-out) var(--d, 0s) forwards; }
  .is-loaded .hero-title .word > span { animation: word-up 1.1s var(--ease-out) var(--d, 0s) forwards; }
  .is-loaded .title-ridge path { animation: draw 1.2s var(--ease-out) 1s forwards; }
  .is-loaded .anim-showcase .showcase { animation: showcase-in 1.6s var(--ease-out) 1s forwards; }
  .is-ready .anim-showcase .showcase { opacity: 1; animation: none; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }

  @keyframes rise { to { opacity: 1; transform: none; filter: none; } }
  @keyframes word-up { to { transform: none; } }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes showcase-in { to { opacity: 1; transform: none; } }

  /* Inner page entrance */
  .js .page-hero .container > :not(h1) { opacity: 0; transform: translateY(24px); filter: blur(6px); }
  .is-loaded .page-hero .container > :not(h1) { animation: rise .9s var(--ease-out) forwards; }
  .is-loaded .page-hero .container > :nth-child(1) { animation-delay: .05s; }
  .is-loaded .page-hero .container > :nth-child(3) { animation-delay: .45s; }
  .is-loaded .page-hero .container > :nth-child(4) { animation-delay: .6s; }
  .js .hero-deco { opacity: 0; }
  .is-loaded .hero-deco { animation: deco-in 1.4s var(--ease-out) .3s forwards; }
  @keyframes deco-in { from { opacity: 0; } to { opacity: .55; } }

  /* Showcase live sequence (restarts every cycle via .run) */
  .js .sc-list li { opacity: 0; transform: translateX(10px); }
  .js .code .cl { max-width: 0; }
  .js .deploy-bar i { transform: scaleX(0); }
  .js .sc-pill-deploy, .js .deploy-pct { opacity: 0; transform: scale(.7); }

  .showcase.run .sc-list li { animation: item-in .6s var(--ease-out) forwards; animation-delay: calc(.6s + var(--i) * .45s); }
  .showcase.run .code .cl { animation: type .55s steps(var(--n)) forwards; animation-delay: calc(.4s + var(--i) * .5s); }
  .showcase.run .deploy-bar i { animation: fill 1.4s var(--ease-out) 4.6s forwards; }
  .showcase.run .sc-pill-deploy, .showcase.run .deploy-pct { animation: pop .5s var(--ease-spring) 6s forwards; }

  @keyframes item-in { to { opacity: 1; transform: none; } }
  @keyframes type { to { max-width: calc(var(--n) * 1ch + 1ch); } }
  @keyframes fill { to { transform: scaleX(1); } }
  @keyframes pop { to { opacity: 1; transform: none; } }

  /* Scroll reveal */
  .js .reveal { opacity: 0; transform: translateY(40px); filter: blur(6px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out), filter 1s var(--ease-out); transition-delay: var(--rd, 0s); }
  .js .reveal.is-visible { opacity: 1; transform: none; filter: none; }

  /* Word-by-word headings */
  .js [data-split] .w { display: inline-block; overflow: hidden; padding: .08em .03em .14em; margin: -.08em -.03em -.14em; vertical-align: top; }
  .js [data-split] .w > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--wi) * 60ms + var(--rd, 0s)); }
  .js .is-visible [data-split] .w > span,
  .js [data-split].is-visible .w > span { transform: none; }

  /* Timeline */
  .js .step .step-num { transform: scale(.4); opacity: 0; transition: transform .8s var(--ease-spring), opacity .5s; transition-delay: var(--rd, 0s); }
  .js .step.is-visible .step-num { transform: none; opacity: 1; }
  .js .step:not(:last-child)::after { transform: scaleX(0); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--rd, 0s) + .35s); }
  .js .step.is-visible:not(:last-child)::after { transform: none; }
  @media (max-width: 959px) {
    .js .step:not(:last-child)::after { transform: scaleY(0); }
  }

  /* Footer letters */
  .js .footer-mark span { transform: translateY(70%); opacity: 0; transition: transform 1.1s var(--ease-out), opacity 1s, color .4s; transition-delay: calc(var(--li) * 70ms); }
  .js .footer-mark.is-visible span { transform: none; opacity: 1; }

  /* Magnetic buttons */
  .magnetic { transition: transform .35s var(--ease-out), background-color .25s, box-shadow .3s; }
}

/* About: presence (Libya & Tunisia) */
.section-dark .split > div > p:not(.eyebrow) { color: var(--muted-dark); }
.presence-map { position: relative; padding: 36px 28px 28px; border: 1px solid var(--glass-line); border-radius: var(--radius-lg); background: linear-gradient(160deg, rgba(31, 51, 80, .55), rgba(9, 18, 31, .2)); }
.presence-link { display: block; width: 100%; height: 120px; }
.presence-nodes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: -18px; }
.presence-node { position: relative; padding: 22px 20px 18px; border: 1px solid var(--glass-line); border-radius: var(--radius); background: rgba(9, 18, 31, .65); }
.presence-node h3 { margin: 10px 0 6px; color: var(--cream); font-size: 24px; }
.presence-node p { margin: 0; color: var(--muted-dark); font-size: 16px; line-height: 1.6; }
.presence-pin { position: relative; display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 6px rgba(224, 122, 63, .15); }
.presence-pin::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(224, 122, 63, .5); animation: presence-ping 2.4s var(--ease-out) infinite; }
@keyframes presence-ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .presence-pin::after { animation: none; } }

/* ==========================================================================
   Contact page
   ========================================================================== */
.is-loaded .contact-hero .container > :nth-child(5) { animation-delay: .75s; }
.quick-contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 36px; }
@media (min-width: 560px) { .quick-contact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .quick-contact { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.qc { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 16px 18px; border: 1px solid var(--glass-line); border-radius: var(--radius); background: rgba(245, 239, 230, .04); color: var(--cream); text-decoration: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform .35s var(--ease-out), border-color .25s, background-color .25s; }
.qc:hover { transform: translateY(-3px); border-color: rgba(224, 122, 63, .6); background: rgba(224, 122, 63, .08); }
.qc-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(224, 122, 63, .14); color: var(--orange); transition: background-color .25s, color .25s; }
.qc:hover .qc-icon { background: var(--orange); color: var(--ink); }
.qc-icon svg { width: 22px; height: 22px; }
.qc-text { display: flex; flex-direction: column; min-width: 0; }
.qc-label { color: var(--muted-dark); font-size: 14px; }
.qc-value { overflow: hidden; color: var(--cream); font-size: 15.5px; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
@media (max-width: 559px) { .qc { padding: 12px 14px; } .qc-icon { width: 40px; height: 40px; } }

.open-status, .page-hero p.open-status { display: inline-flex; align-items: center; gap: 10px; max-width: none; margin-top: 22px; padding: 8px 16px; border: 1px solid var(--glass-line); border-radius: 999px; background: rgba(245, 239, 230, .04); color: var(--cream); font-size: 15px; line-height: 1.5; }
.status-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--muted-dark); }
.open-status.is-open .status-dot { background: var(--ok); box-shadow: 0 0 0 4px rgba(95, 208, 138, .18); }
.open-status.small { margin-top: 4px; padding: 0; border: 0; background: none; color: var(--muted-dark); font-size: 14px; }

.contact-main { padding-top: 64px; }
.form-card { position: relative; overflow: hidden; }
.form-card::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 4px; background: linear-gradient(90deg, var(--orange), var(--terracotta)); }
.form-head h2 { margin-bottom: 8px; }
.form-head p { margin: 0; color: var(--muted); font-size: 17px; }
.service-pick { min-width: 0; margin: 30px 0 0; padding: 0; border: 0; }
.service-pick legend { float: inline-start; width: 100%; margin-bottom: 12px; padding: 0; color: var(--ink); font-size: 16px; font-weight: 700; }
.service-pick .chips { clear: both; }
html[lang="en"] .service-pick legend { font-size: 15px; font-weight: 600; }
.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 136px), 1fr)); gap: 10px; }
@media (min-width: 1100px) { .chips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.chip { position: relative; display: block; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip-body { display: flex; align-items: center; gap: 10px; height: 100%; min-height: 54px; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 14px; background: var(--sand-50); color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.35; transition: border-color .2s, background-color .2s, color .2s; }
.chip-body svg { flex: none; width: 20px; height: 20px; color: var(--terracotta); transition: color .2s; }
.chip:hover .chip-body { border-color: #E2C9A6; }
.chip input:focus-visible + .chip-body { outline: 3px solid rgba(224, 122, 63, .45); outline-offset: 2px; }
.chip input:checked + .chip-body { border-color: var(--ink); background: var(--ink); color: var(--cream); }
.chip input:checked + .chip-body svg { color: var(--orange); }
.contact-main .form-grid { margin-top: 24px; }
.form-hint { margin: 12px 0 0; color: var(--muted); font-size: 14.5px; }
.btn-block { width: 100%; margin-top: 24px; }
.btn-block svg { width: 20px; height: 20px; }
html[dir="rtl"] .btn-block svg { transform: scaleX(-1); }
.contact-main .form-status { margin-top: 14px; padding: 12px 16px; border-radius: 12px; font-size: 15.5px; }
.contact-main .form-status.is-error { background: #FDECEA; }
.contact-main .form-status.is-ok { background: #E8F5EC; }
.form-alt { margin: 18px 0 0; color: var(--muted); font-size: 15.5px; text-align: center; }
.link-btn { padding: 0; border: 0; background: none; color: var(--terracotta); font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--orange); }
.contact-main .form-note { text-align: center; }
.form-note a { color: var(--terracotta); text-decoration: underline; text-underline-offset: 3px; }
.form-success { padding: 36px 8px 24px; text-align: center; }
.form-success:focus { outline: none; }
.form-success p { max-width: 460px; margin: 0 auto 24px; color: var(--muted); font-size: 17px; }
.success-icon { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 50%; background: var(--orange); color: var(--ink); box-shadow: 0 0 0 10px rgba(224, 122, 63, .14); animation: success-pop .6s var(--ease-spring); }
.success-icon svg { width: 36px; height: 36px; }
@keyframes success-pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }

.contact-panel { position: relative; overflow: hidden; isolation: isolate; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); background: var(--navy-950); color: var(--cream); }
.contact-panel::before { content: ""; position: absolute; z-index: -1; top: -120px; inset-inline-end: -120px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(224, 122, 63, .22), transparent 70%); }
@media (min-width: 960px) { .contact-panel { position: sticky; top: calc(var(--header-h) + 24px); } }
.contact-panel h2 { margin-bottom: 16px; color: var(--cream); font-size: clamp(24px, 2.4vw, 28px); }
.contact-list { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.contact-list a { display: flex; align-items: center; gap: 14px; margin-inline: -12px; padding: 10px 12px; border-radius: 14px; color: inherit; text-decoration: none; transition: background-color .2s; }
.contact-list a:hover { background: rgba(245, 239, 230, .05); }
.cl-icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--navy-800); color: var(--orange); }
.cl-icon svg { width: 20px; height: 20px; }
.cl-text { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.cl-label { color: var(--muted-dark); font-size: 14px; }
.cl-value { color: var(--cream); font-size: 16.5px; font-weight: 700; }
.cl-arrow { flex: none; width: 18px; height: 18px; color: var(--muted-dark); transition: transform .25s var(--ease-out), color .25s; }
html[dir="rtl"] .cl-arrow { transform: scaleX(-1); }
.contact-list a:hover .cl-arrow { color: var(--orange); transform: translateX(3px); }
html[dir="rtl"] .contact-list a:hover .cl-arrow { transform: scaleX(-1) translateX(3px); }
.panel-block { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--glass-line); }
.panel-block h3 { margin-bottom: 14px; color: var(--cream); font-size: 17px; }
.office { display: flex; align-items: center; gap: 14px; }
.office + .office { margin-top: 12px; }
.office strong { color: var(--cream); font-size: 16px; }
.office .cl-text > span:not(.open-status) { color: var(--muted-dark); font-size: 15px; }
.next-steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.next-steps li { display: flex; align-items: flex-start; gap: 12px; color: var(--muted-dark); font-size: 15px; line-height: 1.7; }
.ns-num { flex: none; display: grid; place-items: center; width: 26px; height: 26px; margin-top: 1px; border: 1.5px solid var(--orange); border-radius: 50%; color: var(--orange); font-family: var(--font-en); font-size: 12.5px; font-weight: 700; }

/* ==========================================================================
   Legal pages & 404
   ========================================================================== */
.legal { max-width: 800px; }
.legal-updated { display: inline-block; margin-bottom: 8px; padding: 6px 14px; border-radius: 999px; background: var(--sand-50); border: 1px solid var(--sand-line); color: var(--muted); font-size: 15px; }
.legal h2 { margin-top: 44px; font-size: clamp(22px, 2.6vw, 28px); }
.legal p, .legal li { color: var(--text); font-size: 18px; line-height: 1.9; }
.legal ul { margin: 0 0 1em; padding-inline-start: 1.3em; }
.legal li { margin-bottom: .35em; }
.legal li::marker { color: var(--orange); }
.legal a { color: var(--terracotta); text-decoration: underline; text-underline-offset: 3px; }
.page-hero .hero-actions { justify-content: flex-start; margin-top: 36px; }
.page-404 { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
}
