/* ==========================================================================
   injaztc — For IT Solution
   Design system & global styles
   Brand: deep indigo #302B7C · navy #1C4990 · azure #1C74C4 · cyan #29ABE2
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand */
  --indigo-900: #221E5E;
  --indigo-800: #302B7C;
  --navy-900: #0B1734;
  --navy-800: #102247;
  --navy-700: #16305F;
  --navy-600: #1C4990;
  --azure-500: #1C74C4;
  --cyan-400: #29ABE2;
  --cyan-300: #55C3EE;
  --cyan-200: #A6E0F7;

  /* Neutrals */
  --ink: #0E1729;
  --ink-2: #33405A;
  --ink-3: #64748B;
  --line: #E3E9F2;
  --line-2: #EEF2F8;
  --surface: #FFFFFF;
  --surface-2: #F6F9FD;
  --surface-3: #EEF4FB;

  /* Semantic */
  --accent: var(--cyan-400);
  --brand: var(--navy-600);

  /* Gradients */
  --grad-brand: linear-gradient(135deg, var(--cyan-400) 0%, var(--azure-500) 45%, var(--indigo-800) 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(41,171,226,.14), rgba(48,43,124,.14));
  --grad-deep: linear-gradient(160deg, #0B1734 0%, #122A57 55%, #1B3D7A 100%);

  /* Shape */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Elevation */
  --sh-sm: 0 1px 2px rgba(11, 23, 52, .06), 0 2px 8px rgba(11, 23, 52, .05);
  --sh-md: 0 4px 12px rgba(11, 23, 52, .07), 0 12px 32px rgba(11, 23, 52, .08);
  --sh-lg: 0 12px 28px rgba(11, 23, 52, .10), 0 32px 64px rgba(11, 23, 52, .12);
  --sh-brand: 0 10px 30px rgba(28, 116, 196, .28);

  /* Rhythm */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(64px, 9vw, 120px);

  /* Motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --dur: .45s;

  /* Type */
  --font-ar: "IBM Plex Sans Arabic", "Tajawal", system-ui, sans-serif;
  --font-en: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font: var(--font-ar);
  --font-display: var(--font);
}

html[lang="en"] {
  --font: var(--font-en);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { letter-spacing: 0; line-height: 1.4; }

h1 { font-size: clamp(2.1rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p { text-wrap: pretty; }

::selection { background: var(--cyan-400); color: #fff; }

:focus-visible {
  outline: 3px solid var(--cyan-400);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 3. Layout primitives ---------- */
.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}
.container--wide { --container: 1360px; }
.container--narrow { --container: 820px; }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--alt { background: var(--surface-2); }
.section--dark { background: var(--navy-900); color: rgba(255,255,255,.76); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.stack { display: flex; flex-direction: column; }
.cluster { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center { text-align: center; margin-inline: auto; }

/* ---------- 4. Section heading ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--azure-500);
  margin-bottom: 14px;
}
html[dir="rtl"] .eyebrow { letter-spacing: 0; }
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
}
.section--dark .eyebrow { color: var(--cyan-300); }

.sec-head { max-width: 62ch; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head.center { text-align: center; }
.sec-head p { margin-top: 16px; font-size: 1.05rem; color: var(--ink-3); }
.section--dark .sec-head p { color: rgba(255,255,255,.7); }

.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* On dark surfaces the brand gradient must stay light end-to-end,
   otherwise its indigo stop disappears into the background. */
.section--dark .gradient-text,
.hero .gradient-text,
.page-hero .gradient-text,
.cta-band .gradient-text {
  background: linear-gradient(120deg, var(--cyan-200), var(--cyan-400) 55%, #8E9BF0);
  -webkit-background-clip: text; background-clip: text;
}

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: var(--grad-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border: 0;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: .95rem;
  line-height: 1;
  cursor: pointer;
  background: var(--btn-bg);
  color: #fff;
  box-shadow: var(--sh-brand);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(28,116,196,.38); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
html[dir="rtl"] .btn .i-arrow { transform: scaleX(-1); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--azure-500); color: var(--azure-500); }
.section--dark .btn--ghost, .hero .btn--ghost {
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.28);
}
.section--dark .btn--ghost:hover, .hero .btn--ghost:hover {
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7);
  background: rgba(255,255,255,.06);
  color: #fff;
}
.btn--light { background: #fff; color: var(--navy-700); box-shadow: var(--sh-md); }
.btn--light:hover { box-shadow: var(--sh-lg); }
.btn--sm { padding: 10px 20px; font-size: .875rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--azure-500); font-size: .93rem;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
html[dir="rtl"] .link-arrow svg { transform: scaleX(-1); }
.link-arrow:hover svg { transform: translateX(4px); }
html[dir="rtl"] .link-arrow:hover svg { transform: scaleX(-1) translateX(4px); }

/* ---------- 6. Header ---------- */
.header {
  position: fixed;
  inset-block-start: 0; inset-inline: 0;
  z-index: 100;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s;
}
.header__inner {
  display: flex; align-items: center; gap: clamp(16px, 3vw, 40px);
  height: 84px;
  transition: height .35s var(--ease);
}
.header.is-stuck {
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 rgba(11,23,52,.07), 0 8px 30px rgba(11,23,52,.06);
}
.header.is-stuck .header__inner { height: 68px; }

.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 40px; width: auto; transition: height .35s var(--ease); }
.header.is-stuck .brand img { height: 34px; }
.brand__light { display: block; }
.brand__dark { display: none; }
.header.is-stuck .brand__light,
.header--solid .brand__light { display: none; }
.header.is-stuck .brand__dark,
.header--solid .brand__dark { display: block; }

.nav { display: flex; align-items: center; gap: 4px; margin-inline-end: auto; }
.nav a {
  position: relative;
  padding: 10px 14px;
  font-size: .94rem;
  font-weight: 600;
  color: rgba(255,255,255,.82);
  border-radius: var(--r-sm);
  transition: color .25s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute; inset-block-end: 2px; inset-inline-start: 14px;
  width: 0; height: 2px; border-radius: 2px;
  background: var(--grad-brand);
  transition: width .3s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { width: calc(100% - 28px); }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.header.is-stuck .nav a, .header--solid .nav a { color: var(--ink-2); }
.header.is-stuck .nav a:hover, .header.is-stuck .nav a[aria-current="page"],
.header--solid .nav a:hover, .header--solid .nav a[aria-current="page"] { color: var(--navy-600); }

.header__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.nav__cta { display: none; }

.lang-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 15px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.1);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
  color: #fff;
  font-weight: 700; font-size: .85rem;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.lang-btn:hover { background: rgba(255,255,255,.2); }
.lang-btn svg { width: 16px; height: 16px; }
.header.is-stuck .lang-btn, .header--solid .lang-btn {
  background: var(--surface-3); color: var(--navy-700);
  box-shadow: inset 0 0 0 1px var(--line);
}
.header.is-stuck .lang-btn:hover, .header--solid .lang-btn:hover { background: var(--line-2); }

.burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.1);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
  cursor: pointer;
}
.burger span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; position: relative; transition: all .3s var(--ease); }
.burger span::before, .burger span::after {
  content: ""; position: absolute; inset-inline-start: 0; width: 20px; height: 2px;
  background: #fff; border-radius: 2px; transition: all .3s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.header.is-stuck .burger, .header--solid .burger { background: var(--surface-3); box-shadow: inset 0 0 0 1px var(--line); }
.header.is-stuck .burger span, .header.is-stuck .burger span::before, .header.is-stuck .burger span::after,
.header--solid .burger span, .header--solid .burger span::before, .header--solid .burger span::after { background: var(--ink); }
body.nav-open .burger span { background: transparent !important; }
body.nav-open .burger span::before { top: 0; transform: rotate(45deg); }
body.nav-open .burger span::after { top: 0; transform: rotate(-45deg); }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(140px, 18vh, 200px) clamp(80px, 10vw, 130px);
  background: var(--grad-deep);
  color: rgba(255,255,255,.78);
  overflow: hidden;
  isolation: isolate;
}
.hero h1 { color: #fff; }
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__glow {
  position: absolute;
  width: 60vw; aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  animation: float 18s ease-in-out infinite alternate;
}
.hero__glow--a { background: radial-gradient(circle, #1C74C4, transparent 65%); inset-block-start: -18%; inset-inline-end: -12%; }
.hero__glow--b { background: radial-gradient(circle, #29ABE2, transparent 62%); inset-block-end: -26%; inset-inline-start: -14%; animation-delay: -7s; opacity: .35; }
.hero__grid {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 100%);
}
@keyframes float {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(4%, 6%, 0) scale(1.12); }
}

.hero__layout {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.hero__lede { font-size: clamp(1.02rem, 1.6vw, 1.16rem); color: rgba(255,255,255,.74); margin-block: 22px 34px; max-width: 56ch; }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 8px 8px 18px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.07);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
  font-size: .84rem; font-weight: 600;
  color: rgba(255,255,255,.86);
  margin-bottom: 26px;
  backdrop-filter: blur(8px);
}
html[dir="rtl"] .pill { padding: 8px 18px 8px 8px; }
.pill__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 4px rgba(74,222,128,.2);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(74,222,128,.2);} 50% { box-shadow: 0 0 0 8px rgba(74,222,128,0);} }
.pill__tag {
  padding: 4px 12px; border-radius: var(--r-pill);
  background: var(--grad-brand); color: #fff; font-size: .74rem; font-weight: 700;
}

/* Hero visual — animated node board */
.hero__visual { position: relative; }
.node-board {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
}
.node-board svg { width: 100%; height: 100%; overflow: visible; }
.node-board .nb-node {
  animation: nb-breathe 6s ease-in-out infinite;
}
@keyframes nb-breathe { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-7px) } }
.nb-link { stroke-dasharray: 6 10; animation: nb-flow 3s linear infinite; }
@keyframes nb-flow { to { stroke-dashoffset: -32; } }

.float-card {
  position: absolute;
  display: flex; align-items: center; gap: 12px;
  padding: 13px 18px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.09);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), 0 18px 40px rgba(0,0,0,.25);
  color: #fff;
  max-width: min(100%, 260px);
  animation: float-y 7s ease-in-out infinite;
}
@keyframes float-y { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-12px) } }
.float-card__ic {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--grad-brand);
}
.float-card__ic svg { width: 19px; height: 19px; stroke: #fff; }
.float-card b { display: block; font-size: .95rem; line-height: 1.3; }
.float-card small { font-size: .76rem; color: rgba(255,255,255,.6); }
.float-card--1 { inset-block-start: 4%; inset-inline-start: 0; animation-delay: -1s; }
.float-card--2 { inset-block-end: 10%; inset-inline-end: 0; animation-delay: -4s; }

/* Hero stats strip */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: clamp(56px, 7vw, 84px);
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.stat b {
  display: block;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800; color: #fff; line-height: 1.1;
  font-family: var(--font-en);
}
.stat span { font-size: .87rem; color: rgba(255,255,255,.6); }

/* ---------- 8. Cards ---------- */
.card {
  position: relative;
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line), var(--sh-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute; inset-block-start: 0; inset-inline: 0;
  height: 3px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: var(--origin, left);
  transition: transform .5s var(--ease);
}
html[dir="rtl"] .card::before { --origin: right; }
.card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px transparent, var(--sh-lg); }
.card:hover::before { transform: scaleX(1); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .95rem; color: var(--ink-3); }

.card__ic {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: var(--grad-brand-soft);
  color: var(--azure-500);
  margin-bottom: 20px;
  transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}
.card__ic svg { width: 26px; height: 26px; }
.card:hover .card__ic { background: var(--grad-brand); color: #fff; transform: rotate(-6deg) scale(1.06); }

.card--dark {
  background: rgba(255,255,255,.04);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
  color: rgba(255,255,255,.72);
}
.card--dark p { color: rgba(255,255,255,.62); }
.card--dark:hover { background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), var(--sh-lg); }
.card--dark .card__ic { background: rgba(255,255,255,.08); color: var(--cyan-300); }

.card__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.tag {
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--surface-3);
  color: var(--navy-700);
  font-size: .76rem; font-weight: 600;
}
.card--dark .tag { background: rgba(255,255,255,.08); color: var(--cyan-200); }

/* Numbered feature */
.numbered { display: flex; gap: 20px; align-items: flex-start; }
.numbered__n {
  flex: none;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 15px;
  background: var(--grad-brand);
  color: #fff;
  font-family: var(--font-en);
  font-weight: 800; font-size: 1.05rem;
  box-shadow: var(--sh-brand);
}
.numbered h3 { font-size: 1.12rem; margin-bottom: 6px; }
.numbered p { font-size: .93rem; color: var(--ink-3); }
.section--dark .numbered p { color: rgba(255,255,255,.62); }

/* ---------- 9. Marquee (partners / clients) ---------- */
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex; align-items: center; gap: clamp(36px, 6vw, 80px);
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
html[dir="rtl"] .marquee__track { animation-name: marquee-rtl; }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
.marquee__item {
  font-family: var(--font-en);
  font-size: clamp(1.05rem, 1.7vw, 1.45rem);
  font-weight: 700;
  color: var(--ink-3);
  opacity: .58;
  white-space: nowrap;
  transition: opacity .3s var(--ease), color .3s var(--ease);
  display: flex; align-items: center; gap: 10px;
}
.marquee__item:hover { opacity: 1; color: var(--navy-600); }
.marquee__item svg { width: 24px; height: 24px; }
.section--dark .marquee__item { color: rgba(255,255,255,.85); }

/* ---------- 10. Media / figure ---------- */
.media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media { background: var(--navy-900); }
.media--blob { border-radius: 58% 42% 52% 48% / 46% 50% 50% 54%; }

.media-stack { position: relative; }
.media-badge {
  position: absolute;
  inset-block-end: -22px; inset-inline-start: -22px;
  padding: 20px 26px;
  border-radius: var(--r-lg);
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--sh-lg);
  text-align: center;
}
.media-badge b { display: block; font-size: 2rem; font-weight: 800; font-family: var(--font-en); line-height: 1; }
.media-badge span { font-size: .8rem; opacity: .85; }

/* ---------- 11. Accordion ---------- */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%;
  display: flex; align-items: center; gap: 18px;
  padding: 22px 4px;
  background: none; border: 0;
  text-align: start;
  cursor: pointer;
  font-weight: 700; font-size: 1.03rem;
  color: var(--ink);
  transition: color .25s var(--ease);
}
.acc__btn:hover { color: var(--navy-600); }
.acc__btn span { flex: 1; }
.acc__ic {
  flex: none;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--surface-3);
  color: var(--navy-600);
  transition: transform .35s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.acc__ic svg { width: 16px; height: 16px; }
.acc__item.is-open .acc__ic { transform: rotate(45deg); background: var(--grad-brand); color: #fff; }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding-bottom: 22px; color: var(--ink-3); font-size: .96rem; max-width: 70ch; }

/* ---------- 12. Timeline ---------- */
.timeline { position: relative; padding-inline-start: 34px; }
.timeline::before {
  content: "";
  position: absolute; inset-block: 8px; inset-inline-start: 7px;
  width: 2px;
  background: linear-gradient(to bottom, var(--cyan-400), var(--azure-500), transparent);
}
.timeline__item { position: relative; padding-bottom: 36px; }
.timeline__item::before {
  content: "";
  position: absolute; inset-block-start: 7px; inset-inline-start: -34px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px var(--azure-500);
}
.section--dark .timeline__item::before { background: var(--navy-900); }
.timeline__year {
  font-family: var(--font-en);
  font-weight: 800; font-size: .85rem;
  color: var(--azure-500);
  letter-spacing: .06em;
}
.section--dark .timeline__year { color: var(--cyan-300); }
.timeline h3 { font-size: 1.08rem; margin: 4px 0 6px; }
.timeline p { font-size: .93rem; color: var(--ink-3); }
.section--dark .timeline p { color: rgba(255,255,255,.62); }

/* ---------- 13. CTA band ---------- */
.cta-band {
  position: relative;
  padding: clamp(44px, 6vw, 76px);
  border-radius: var(--r-xl);
  background: var(--grad-deep);
  color: rgba(255,255,255,.76);
  overflow: hidden;
  isolation: isolate;
}
.cta-band h2 { color: #fff; }
.cta-band::after {
  content: "";
  position: absolute; z-index: -1;
  inset-block-start: -40%; inset-inline-end: -10%;
  width: 55%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(41,171,226,.45), transparent 65%);
  filter: blur(50px);
}
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.cta-band p { margin-top: 12px; max-width: 52ch; }

/* ---------- 14. Forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: .87rem; font-weight: 700; color: var(--ink); }
.field input, .field textarea, .field select {
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--line);
  background: var(--surface);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
  width: 100%;
  font-size: .95rem;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--azure-500);
  box-shadow: 0 0 0 4px rgba(28,116,196,.12);
}
.field input::placeholder, .field textarea::placeholder { color: #A3AFC2; }
.form-note { font-size: .82rem; color: var(--ink-3); }
.form-status { padding: 14px 18px; border-radius: var(--r-md); font-size: .9rem; font-weight: 600; display: none; }
.form-status.is-ok { display: block; background: #E8F8EF; color: #157347; }
.form-status.is-err { display: block; background: #FDECEC; color: #B02A2A; }

/* ---------- 15. Contact info tiles ---------- */
.info-tile {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.info-tile:hover { background: var(--surface-3); transform: translateY(-3px); }
.info-tile__ic {
  flex: none; width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: var(--grad-brand);
  color: #fff;
}
.info-tile__ic svg { width: 20px; height: 20px; }
.info-tile b { display: block; font-size: .93rem; color: var(--ink); }
.info-tile span, .info-tile a { font-size: .92rem; color: var(--ink-3); }
.info-tile a:hover { color: var(--azure-500); }

/* ---------- 16. Portfolio ---------- */
.work {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--grad-deep);
  min-height: 440px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(24px, 3vw, 34px);
  color: rgba(255,255,255,.75);
  isolation: isolate;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.work:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.work__art { position: absolute; inset: 0; z-index: -1; }
.work__art svg,
.work__art img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* Each mockup is a device on a dark stage; zoom past the empty stage
     so the interface itself fills the card. */
  transform: scale(1.34);
  transform-origin: 50% 56%;
  transition: transform .7s var(--ease);
}
.work:hover .work__art img { transform: scale(1.42); }
/* The screenshot sits behind live text, so the scrim has to be strong
   enough to hold contrast over its lightest areas. */
.work::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top,
    rgba(6,14,32,.97) 0%, rgba(6,14,32,.93) 34%,
    rgba(6,14,32,.62) 56%, rgba(6,14,32,.14) 100%);
}
.work__cat { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan-300); }
html[dir="rtl"] .work__cat { letter-spacing: 0; }
.work h3 { color: #fff; margin: 8px 0 8px; font-size: 1.25rem; }
.work p { font-size: .92rem; color: rgba(255,255,255,.68); }
.work .card__tags { margin-top: 16px; }
.work .tag { background: rgba(255,255,255,.12); color: #fff; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.filter {
  padding: 9px 20px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--surface-3);
  color: var(--ink-2);
  font-weight: 600; font-size: .88rem;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.filter:hover { background: var(--line-2); }
.filter.is-active { background: var(--grad-brand); color: #fff; box-shadow: var(--sh-brand); }

/* ---------- 17. Testimonials ---------- */
.quote {
  padding: clamp(26px, 3vw, 36px);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line), var(--sh-sm);
  display: flex; flex-direction: column; gap: 20px;
  height: 100%;
}
.quote__mark { width: 34px; height: 34px; color: var(--cyan-300); }
.quote p { font-size: 1rem; color: var(--ink-2); flex: 1; }
.quote__who { display: flex; align-items: center; gap: 13px; }
.quote__av {
  width: 44px; height: 44px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad-brand);
  color: #fff; font-weight: 800; font-size: .95rem;
  font-family: var(--font-en);
}
.quote__who b { display: block; font-size: .92rem; color: var(--ink); }
.quote__who span { font-size: .82rem; color: var(--ink-3); }

/* ---------- 18. Process steps ---------- */
.process { counter-reset: step; display: grid; gap: 2px; }
.process__row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: clamp(20px, 4vw, 56px);
  padding-block: 30px;
  border-top: 1px solid var(--line);
  align-items: start;
  transition: background .3s var(--ease);
}
.section--dark .process__row { border-color: rgba(255,255,255,.12); }
.process__row:last-child { border-bottom: 1px solid var(--line); }
.section--dark .process__row:last-child { border-color: rgba(255,255,255,.12); }
.process__n {
  font-family: var(--font-en);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--line);
  transition: color .35s var(--ease), -webkit-text-stroke-color .35s var(--ease);
}
.section--dark .process__n { -webkit-text-stroke-color: rgba(255,255,255,.24); }
.process__row:hover .process__n {
  color: transparent;
  -webkit-text-stroke-color: var(--cyan-400);
}
.process__body h3 { margin-bottom: 8px; }
.process__body p { color: var(--ink-3); max-width: 70ch; }
.section--dark .process__body p { color: rgba(255,255,255,.62); }

/* ---------- 19. Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding-block: clamp(140px, 17vh, 190px) clamp(50px, 7vw, 80px);
  background: var(--grad-deep);
  color: rgba(255,255,255,.74);
  overflow: hidden;
  isolation: isolate;
}
.page-hero h1 { color: #fff; }
.page-hero p { margin-top: 16px; max-width: 62ch; font-size: 1.05rem; }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; }
.crumbs { display: flex; align-items: center; gap: 9px; font-size: .84rem; color: rgba(255,255,255,.55); margin-bottom: 18px; }
.crumbs a:hover { color: #fff; }
.crumbs svg { width: 13px; height: 13px; opacity: .55; }
html[dir="rtl"] .crumbs svg { transform: scaleX(-1); }

/* ---------- 20. Footer ---------- */
.footer { background: var(--navy-900); color: rgba(255,255,255,.6); padding-block: clamp(56px, 7vw, 84px) 0; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 52px;
}
.footer img.footer__logo { height: 42px; width: auto; margin-bottom: 20px; }
.footer p { font-size: .93rem; max-width: 40ch; }
.footer h4 { color: #fff; font-size: .95rem; font-weight: 700; margin-bottom: 18px; }
.footer__links { display: flex; flex-direction: column; gap: 11px; }
.footer__links a { font-size: .92rem; transition: color .25s var(--ease), padding .25s var(--ease); }
.footer__links a:hover { color: var(--cyan-300); padding-inline-start: 5px; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  padding-block: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .85rem;
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.72);
  transition: all .3s var(--ease);
}
.socials a:hover { background: var(--grad-brand); color: #fff; transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }

.newsletter { display: flex; gap: 8px; margin-top: 6px; }
.newsletter input {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: #fff;
  font-size: .9rem;
}
.newsletter input::placeholder { color: rgba(255,255,255,.4); }
.newsletter input:focus { outline: none; border-color: var(--cyan-400); }

/* ---------- 21. Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  inset-block-end: 24px; inset-inline-end: 24px;
  z-index: 90;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 10px 30px rgba(37,211,102,.4);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- 22. Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--delay, 0s);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 23. Mobile nav ---------- */
@media (max-width: 980px) {
  .burger { display: flex; }
  .nav {
    position: fixed;
    inset-block-start: 0; inset-inline-end: 0;
    height: 100dvh;
    width: min(80vw, 320px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    padding: 104px 24px 32px;
    background: var(--navy-900);
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    margin: 0;
    overflow-y: auto;
  }
  html[dir="rtl"] .nav { transform: translateX(-100%); }
  body.nav-open .nav { transform: translateX(0); }
  .nav a { color: rgba(255,255,255,.82) !important; font-size: 1.05rem; padding: 14px 12px; }
  .nav a::after { display: none; }
  .nav a:hover, .nav a[aria-current="page"] { color: #fff !important; background: rgba(255,255,255,.07); }
  .nav__cta {
    display: inline-flex !important;
    margin-top: 22px;
    color: #fff !important;
    background: var(--grad-brand) !important;
    justify-content: center;
  }
  .nav__cta:hover { color: #fff !important; }
  .nav-scrim {
    position: fixed; inset: 0; z-index: 99;
    background: rgba(6,14,32,.6);
    backdrop-filter: blur(3px);
    opacity: 0; pointer-events: none;
    transition: opacity .35s var(--ease);
  }
  body.nav-open .nav-scrim { opacity: 1; pointer-events: auto; }
  body.nav-open { overflow: hidden; }
  .header__actions { margin-inline-start: auto; }
}

/* Small phones: the drawer already carries the call to action */
@media (max-width: 680px) {
  .header__actions > .btn { display: none; }
  .lang-btn { padding: 9px 12px; }
}

/* ---------- 24. Responsive ---------- */
@media (max-width: 1080px) {
  .hero__layout { grid-template-columns: 1fr; text-align: center; }
  html[dir="rtl"] .hero__layout { text-align: center; }
  .hero__lede { margin-inline: auto; }
  .hero .cluster { justify-content: center; }
  .hero__visual { order: -1; max-width: 420px; margin-inline: auto; }
  .float-card { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .g-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .g-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .split { grid-template-columns: 1fr; }
  .split .media-stack { order: -1; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; text-align: start; }
  .process__row { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 620px) {
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .footer__grid { grid-template-columns: 1fr; }
  .media-badge {
    inset-inline: 0;
    margin-inline: auto;
    width: fit-content;
    inset-block-end: -18px;
  }
  .cluster > .btn { flex: 1 1 100%; }
  #contact-form > .btn { width: 100%; }
}

/* ---------- 25. Utilities ---------- */
.mt-0 { margin-top: 0 } .mt-1 { margin-top: 8px } .mt-2 { margin-top: 16px }
.mt-3 { margin-top: 24px } .mt-4 { margin-top: 32px } .mt-5 { margin-top: 48px }
.mb-3 { margin-bottom: 24px } .mb-4 { margin-bottom: 32px }
.muted { color: var(--ink-3); }
.small { font-size: .88rem; }
.lead { font-size: 1.06rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.divider { height: 1px; background: var(--line); border: 0; }

.check-list { display: grid; gap: 13px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .96rem; }
.check-list svg {
  flex: none; width: 22px; height: 22px;
  color: var(--cyan-400);
  margin-top: 2px;
}

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

/* Print */
@media print {
  .header, .footer, .wa-float, .hero__bg { display: none !important; }
  body { color: #000; }
}
