/* Germania Tek – Odoo landing page
   Mobile first · logical properties only · animations use transform/opacity only */

/* ---------- Tokens ---------- */
:root {
  --black: #000;
  --ink: #16181b;
  --text: #2c3036;
  --muted: #5a6068;      /* 6.4:1 on white */
  --line: #d6dadf;
  --line-strong: #868c94; /* 3.4:1 on white – form borders */
  --steel: #eef0f3;
  --white: #fff;
  --red: #d1150f;        /* text + buttons: 5.5:1 with white */
  --red-dark: #a8100b;
  --red-logo: #ff2422;   /* decorative only */
  --gold: #fec238;       /* only on black: 11.4:1 */
  --gold-ink: #5c4100;
  --gold-tint: #fff4d6;
  --on-dark: #c9ccd1;

  --font: 'Archivo', system-ui, sans-serif;
  --font-ar: 'IBM Plex Sans Arabic', 'Archivo', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --wrap: 1240px;
  --gutter: 16px;
  --dirx: 1;
  --focus: var(--black);
  --header-h: 68px;
}
[dir="rtl"] { --dirx: -1; }
@media (min-width: 640px) { :root { --gutter: 32px; } }
@media (min-width: 1024px) { :root { --header-h: 76px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
:lang(ar) body, body:lang(ar) { font-family: var(--font-ar); line-height: 1.85; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 8px; top: -100px; z-index: 200; background: var(--black); color: var(--white); padding: 10px 14px; }
.skip:focus { top: 8px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.plain { list-style: none; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.icon--flip { transform: translateX(var(--nudge, 0)) scaleX(var(--dirx)); transition: transform .25s var(--ease); }
bdi { unicode-bidi: isolate; }

/* Typography */
.h2 {
  font-size: clamp(1.85rem, 1.25rem + 2.4vw, 3.1rem);
  font-weight: 780;
  font-stretch: 78%;
  line-height: 1.04;
  letter-spacing: -.01em;
}
.h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.65rem); font-weight: 740; font-stretch: 86%; line-height: 1.15; }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--muted); max-width: 60ch; }
.fineprint { font-size: .875rem; color: var(--muted); margin-top: 16px; }
:lang(ar) .h2, :lang(ar) .h3, :lang(ar) .hero__h { font-weight: 700; letter-spacing: 0; line-height: 1.35; }
:lang(ar) .lead { line-height: 1.85; }

/* TODO markers – deliberately loud */
.todo {
  background: #fff1a8; color: #3d3100;
  outline: 1px dashed #8a6100; outline-offset: 1px;
  padding: 0 .3em; border-radius: 2px;
  font: 600 .82rem/1.5 var(--font); font-stretch: 100%; letter-spacing: 0;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
:lang(ar) .todo { font-family: var(--font-ar); }

/* Buttons */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .8rem 1.25rem;
  border: 2px solid transparent; border-radius: 4px;
  font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer;
  transition: transform .2s var(--ease);
}
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, .2); opacity: 0; transition: opacity .2s ease; }
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--red); color: var(--white); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark::after { background: rgba(255, 255, 255, .16); }
.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost::after { background: rgba(0, 0, 0, .06); }
.btn--lg { min-height: 56px; padding: 1rem 1.6rem; font-size: 1.0625rem; }
.textlink { display: inline-flex; align-items: center; gap: .45em; font-weight: 650; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); }
.textlink:hover { --nudge: calc(4px * var(--dirx)); text-decoration-color: currentColor; }
.linklike { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }

.ticks { list-style: none; display: grid; gap: 8px; }
.ticks li { display: flex; gap: .6em; align-items: flex-start; font-weight: 600; color: var(--ink); }
.ticks .icon { color: var(--red); margin-top: .2em; }

/* Brand stripe: black / red / gold */
.flagline { display: flex; height: 4px; }
.flagline i { flex: 1; }
.flagline i:nth-child(1) { background: var(--black); }
.flagline i:nth-child(2) { background: var(--red-logo); }
.flagline i:nth-child(3) { background: var(--gold); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); box-shadow: 0 1px 0 transparent; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }
.brand { flex: none; margin-inline-end: auto; padding-block: 6px; }
.brand img { height: 38px; width: auto; }
.site-header__cta { min-height: 40px; padding: .5rem .8rem; font-size: .875rem; }
.menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; background: none; border: 1px solid var(--line); border-radius: 4px; cursor: pointer; }
.menu-btn .icon { width: 22px; height: 22px; }

.nav {
  position: fixed; inset-inline: 0; top: calc(var(--header-h) + 4px); bottom: 0;
  background: var(--white); padding: 24px var(--gutter);
  display: flex; flex-direction: column; gap: 28px;
  opacity: 0; transform: translateY(-8px); visibility: hidden;
  transition: opacity .2s ease, transform .25s var(--ease), visibility 0s .25s;
  overflow-y: auto;
}
.nav.is-open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.nav__list { list-style: none; display: grid; }
.nav__list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.35rem; font-weight: 700; font-stretch: 86%; text-decoration: none; color: var(--ink); }
.lang { list-style: none; display: flex; gap: 4px; }
.lang a { display: grid; place-items: center; min-width: 44px; min-height: 40px; padding: 0 8px; border: 1px solid var(--line); border-radius: 4px; font-size: .875rem; font-weight: 700; text-decoration: none; color: var(--muted); font-family: var(--font); }
.lang a[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.lang a:not([aria-current]):hover { border-color: var(--ink); color: var(--ink); }

@media (max-width: 380px) {
  .brand img { height: 32px; }
  .site-header__cta { font-size: .8125rem; padding-inline: .6rem; }
}
@media (min-width: 1080px) {
  .menu-btn { display: none; }
  .site-header__cta { min-height: 44px; padding: .6rem 1.1rem; font-size: .9375rem; }
  .brand img { height: 42px; }
  .nav { position: static; opacity: 1; transform: none; visibility: visible; flex-direction: row; align-items: center; gap: 28px; padding: 0; background: none; overflow: visible; order: 0; }
  .nav__list { display: flex; gap: 22px; }
  .nav__list a { padding: 8px 0; border: 0; font-size: .9375rem; font-weight: 600; font-stretch: 100%; color: var(--text); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .45em; text-decoration-thickness: 2px; }
  .nav__list a:hover { text-decoration-color: var(--red); }
  .lang { gap: 0; }
  .lang li + li a { border-inline-start: 0; }
  .lang li:first-child a { border-start-end-radius: 0; border-end-end-radius: 0; }
  .lang li:last-child a { border-start-start-radius: 0; border-end-start-radius: 0; }
  .lang li:not(:first-child):not(:last-child) a { border-radius: 0; }
  .lang a { min-width: 40px; min-height: 36px; }
}
:lang(ar) .nav__list a { font-stretch: 100%; }

/* ---------- Hero ---------- */
.hero { padding-block: 32px 64px; }
.hero__grid { display: grid; gap: 44px; }
.hero__h {
  font-size: clamp(2.05rem, 1.2rem + 3.5vw, 4rem);
  font-weight: 800; font-stretch: 72%;
  line-height: 1.02; letter-spacing: -.012em;
}
.hero__lead { margin-top: 22px; font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); color: var(--text); max-width: 58ch; }
.hero .ticks { margin-top: 22px; }
.hero__actions { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hero__note { margin-top: 12px; font-size: .875rem; color: var(--muted); }
.hero__trust { margin-top: 20px; font-size: .875rem; }
@media (min-width: 1000px) {
  .hero { padding-block: 56px 96px; }
  .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 64px; align-items: center; }
}

/* Chaos → order stage */
.stage {
  position: relative; container-type: inline-size;
  aspect-ratio: 100 / 88;
  background-color: var(--steel);
  background-image: linear-gradient(var(--white) 1px, transparent 1px), linear-gradient(90deg, var(--white) 1px, transparent 1px);
  background-size: 24px 24px;
  border-radius: 8px; overflow: hidden;
}
.scrap {
  position: absolute;
  inset-inline-start: calc(var(--x) * 1cqw);
  top: calc(var(--y) * 1cqw);
  width: calc(var(--w) * 1cqw);
  padding: 1.6cqw 2.2cqw;
  background: var(--white); color: var(--ink);
  font-size: clamp(9px, 2.6cqw, 14px); line-height: 1.35;
  border-radius: 2px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .05), 0 10px 18px -12px rgba(0, 0, 0, .45);
  transform: rotate(calc(var(--r) * 1deg * var(--dirx)));
  transition: transform .9s var(--ease) calc(var(--d) * 70ms), opacity .45s ease calc(var(--d) * 70ms + .3s);
  will-change: transform, opacity;
}
[data-state="order"] .scrap {
  transform: translate(calc(var(--dx) * 1cqw * var(--dirx)), calc(var(--dy) * 1cqw)) rotate(0deg) scale(.3);
  opacity: 0;
}
.scrap__file { font-weight: 700; font-size: .85em; color: var(--muted); margin-bottom: .5em; }
.xl { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #b9c0c8; }
.xl span { padding: .2em .4em; border: 1px solid #dfe3e7; font-variant-numeric: tabular-nums; }
.xl span:nth-child(-n+2) { background: #e8f0e8; font-weight: 700; }
.xl span:last-child { color: var(--red); font-weight: 700; }
.scrap--chat { background: #e7f6dd; border-radius: 10px; border-start-start-radius: 2px; display: grid; gap: .2em; }
.scrap--chat b { font-size: .85em; color: #2f6b2f; }
.scrap--note { background: #ffe680; font-weight: 700; font-size: clamp(10px, 2.9cqw, 15px); padding: 2.4cqw; }
.scrap--slip { background: #fbfaf6; border-top: 3px solid var(--ink); display: grid; gap: .4em; }
.slip__line { display: flex; justify-content: space-between; gap: 1em; border-top: 1px dashed #b9c0c8; padding-top: .3em; }
.slip__line s { color: var(--red); }
.scrap--dupes { display: grid; gap: .15em; }
.scrap--dupes span { padding: .15em .3em; border-bottom: 1px solid var(--line); }
.scrap--dupes span:nth-child(n+2) { background: #fde8e7; }
.scrap--mail { font-weight: 600; border-inline-start: 4px solid #4a78c2; }
.scrap--tax { background: var(--ink); color: var(--white); font-weight: 600; }

.board {
  position: absolute; inset-inline: 6cqw; top: 12cqw; bottom: 9cqw;
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: 6px;
  box-shadow: 0 30px 50px -36px rgba(0, 0, 0, .5);
  opacity: 0; transform: scale(.96);
  transition: opacity .5s ease .35s, transform .7s var(--ease) .35s;
}
[data-state="order"] .board { opacity: 1; transform: none; }
.board__bar { display: flex; align-items: center; gap: 2cqw; padding: 2cqw 3cqw; background: var(--ink); color: var(--white); font-weight: 700; font-size: clamp(10px, 2.8cqw, 15px); border-radius: 5px 5px 0 0; }
.board__dots { display: flex; gap: 1cqw; }
.board__dots i { width: 1.6cqw; height: 1.6cqw; min-width: 6px; min-height: 6px; border-radius: 50%; }
.board__dots i:nth-child(1) { background: #5d6168; }
.board__dots i:nth-child(2) { background: var(--red-logo); }
.board__dots i:nth-child(3) { background: var(--gold); }
.board__rows { list-style: none; flex: 1; display: grid; grid-template-rows: repeat(4, 1fr); }
.board__rows li {
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 3cqw; align-content: center;
  padding-inline: 3cqw; border-top: 1px solid var(--line);
  opacity: 0; transform: translateY(2cqw);
  transition: opacity .4s ease, transform .6s var(--ease);
  transition-delay: calc(.55s + var(--i) * .12s);
}
.board__rows li:first-child { border-top: 0; }
[data-state="order"] .board__rows li { opacity: 1; transform: none; }
.board__k { grid-column: 1; font-size: clamp(9px, 2.3cqw, 12.5px); font-weight: 700; color: var(--muted); }
.board__v { grid-column: 1; font-size: clamp(11px, 3cqw, 16px); font-weight: 600; color: var(--ink); line-height: 1.3; }
.board__ok { grid-column: 2; grid-row: 1 / 3; align-self: center; width: 5.5cqw; height: 5.5cqw; min-width: 20px; min-height: 20px; padding: .8cqw; background: var(--gold); color: var(--black); border-radius: 3px; }

.stage-toggle { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; margin-top: 14px; border: 1px solid var(--ink); border-radius: 4px; isolation: isolate; }
.stage-toggle::before {
  content: ""; position: absolute; z-index: -1; inset-block: 0; inset-inline-start: 0; width: 50%;
  background: var(--ink); transition: transform .35s var(--ease);
}
.stage-toggle[data-on="order"]::before { transform: translateX(calc(100% * var(--dirx))); }
.stage-toggle button { min-height: 40px; padding: 0 18px; background: none; border: 0; font-weight: 650; font-size: .9375rem; cursor: pointer; }
.stage-toggle button[aria-pressed="true"] { color: var(--white); }

/* ---------- Pain ---------- */
.pain { background: var(--steel); padding-block: 72px; }
.pain__grid { display: grid; gap: 32px; }
.pain__list { list-style: none; counter-reset: none; }
.pain__list li {
  position: relative; padding-block: 18px; padding-inline-start: 28px;
  border-top: 1px solid #cdd2d8;
  font-size: clamp(1.12rem, 1rem + .55vw, 1.42rem); font-weight: 560; font-stretch: 92%; line-height: 1.35; color: var(--ink);
}
.pain__list li::before { content: ""; position: absolute; inset-inline-start: 0; top: calc(18px + .62em); width: 14px; height: 3px; background: var(--red); }
.pain__close { font-size: 1.125rem; font-weight: 700; color: var(--ink); max-width: 46ch; }
:lang(ar) .pain__list li { font-stretch: 100%; line-height: 1.7; font-weight: 500; }
@media (min-width: 960px) {
  .pain { padding-block: 112px; }
  .pain__grid { grid-template-columns: 5fr 7fr; column-gap: 64px; }
  .pain__h { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
  .pain__close { grid-column: 2; }
}

/* ---------- Fail (dark) ---------- */
.fail { --focus: var(--gold); background: var(--black); color: var(--on-dark); padding-block: 72px; }
.fail .h2 { color: var(--white); }
.fail .lead { color: var(--on-dark); margin-top: 18px; }
.fail__grid { display: grid; gap: 36px; }
.fail__item { padding-block: 24px; border-top: 1px solid #34373c; }
.fail__item dt { color: var(--white); font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); font-weight: 700; font-stretch: 88%; line-height: 1.3; }
.fail__item dd { margin-top: 10px; max-width: 58ch; }
.fail__ours { color: var(--gold); font-weight: 700; margin-inline-end: .3em; }
.fail__ours::after { content: ":"; }
:lang(ar) .fail__item dt { font-stretch: 100%; line-height: 1.6; }
@media (min-width: 960px) {
  .fail { padding-block: 112px; }
  .fail__grid { grid-template-columns: 5fr 7fr; column-gap: 64px; }
  .fail__intro { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
}

/* ---------- Change (before / after) ---------- */
.change { padding-block: 72px 40px; }
.sec-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: 24px; }
.change__row { display: grid; gap: 28px; padding-block: 40px; border-top: 1px solid var(--line); }
.change__text { display: grid; gap: 16px; align-content: center; }
.ba { display: grid; gap: 6px; }
.ba__label { justify-self: start; padding: 2px 8px; border-radius: 3px; font-size: .78rem; font-weight: 700; line-height: 1.5; }
.ba--before .ba__label { border: 1px solid var(--line-strong); color: var(--muted); }
.ba--before .ba__text { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(209, 21, 15, .55); text-decoration-thickness: 1.5px; }
.ba--after .ba__label { background: var(--ink); color: var(--white); }
.ba--after .ba__text { color: var(--ink); font-weight: 500; font-size: 1.08rem; }

.mock { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: 0 34px 60px -44px rgba(0, 0, 0, .55); font-size: .9375rem; }
.mock__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px; background: var(--steel); border-bottom: 1px solid var(--line); font-weight: 700; color: var(--ink); }
.mock__tag { font-size: .75rem; font-weight: 600; color: var(--muted); }
.mock__flag { display: inline-flex; align-items: center; gap: .45em; margin: 0 18px 18px; padding: 6px 10px; background: var(--gold-tint); color: var(--gold-ink); border-radius: 3px; font-size: .8125rem; font-weight: 700; }
.mock__flag .icon { width: 1.1em; height: 1.1em; }
.mtable { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.mtable th { padding: 12px 18px 8px; text-align: start; font-size: .75rem; font-weight: 700; color: var(--muted); }
.mtable td { padding: 10px 18px; border-top: 1px solid var(--line); color: var(--ink); }
.mtable th:last-child, .mtable td:last-child { text-align: end; font-weight: 700; }
.mtable tr:last-child td:last-child { color: var(--red); }
.mtable + .mock__flag { margin-top: 6px; }
.minv { padding: 18px 0 0; }
.minv__to { padding: 0 18px 12px; font-weight: 700; color: var(--ink); }
.minv__line, .minv__total { display: flex; justify-content: space-between; gap: 16px; padding: 10px 18px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.minv__total { border-top: 2px solid var(--ink); margin-bottom: 14px; color: var(--ink); }
.mexp { padding: 18px; display: grid; gap: 14px; }
.mexp__period { font-weight: 700; color: var(--ink); }
.mexp ul { list-style: none; display: grid; gap: 8px; }
.mexp li { display: flex; gap: .5em; align-items: center; }
.mexp li .icon { color: var(--red); }
.mexp__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.mexp__btn { padding: 8px 14px; background: var(--ink); color: var(--white); border-radius: 3px; font-weight: 700; font-size: .875rem; }
.mexp .mock__flag { margin: 0; }
.mchan { padding: 22px 18px; display: grid; gap: 0; justify-items: center; }
.mchan ul { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; }
.mchan li { position: relative; padding: 10px 6px; border: 1px solid var(--line); border-radius: 4px; text-align: center; font-weight: 600; font-size: .8125rem; color: var(--ink); }
.mchan li::after { content: ""; position: absolute; top: 100%; inset-inline-start: 50%; width: 1px; height: 22px; background: var(--line-strong); }
.mchan__stock { margin-top: 22px; display: grid; justify-items: center; padding: 14px 28px; border: 2px solid var(--ink); border-radius: 4px; }
.mchan__stock b { font-size: 2.2rem; font-weight: 800; font-stretch: 75%; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.mchan__stock span { font-size: .8125rem; color: var(--muted); }
@media (min-width: 900px) {
  .change { padding-block: 112px 64px; }
  .change__row { grid-template-columns: 5fr 6fr; gap: 72px; padding-block: 56px; align-items: center; }
  .change__row:nth-of-type(even) .change__text { order: 2; }
}

/* ---------- Spotlight (red block) ---------- */
.spot { --focus: var(--white); background: var(--red); color: var(--white); padding-block: 64px; }
.spot .h2 { color: var(--white); }
.spot__grid { display: grid; gap: 24px; }
.spot__kicker { font-size: clamp(2.4rem, 1.4rem + 4.5vw, 5.4rem); font-weight: 800; font-stretch: 70%; line-height: .95; letter-spacing: -.015em; }
.spot__text { margin-top: 16px; max-width: 62ch; }
.ticks--light { margin-top: 22px; }
.ticks--light li { color: var(--white); }
.ticks--light .icon { color: var(--white); }
.spot .todo { color: #3d3100; }
:lang(ar) .spot__kicker { font-weight: 700; line-height: 1.3; letter-spacing: 0; }
@media (min-width: 960px) {
  .spot { padding-block: 96px; }
  .spot__grid { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
}

/* ---------- Proof ---------- */
.proof { padding-block: 72px; }
.stats { margin-top: 36px; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border-top: 2px solid var(--ink); }
.stat { display: flex; flex-direction: column; padding: 18px 12px 22px 0; padding-inline: 0 12px; border-bottom: 1px solid var(--line); }
.stat dt { order: 2; font-weight: 600; color: var(--ink); }
.stat__value { order: 1; font-size: clamp(2.6rem, 1.8rem + 3vw, 4.2rem); font-weight: 800; font-stretch: 72%; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat__value small { font-size: .45em; font-weight: 700; margin-inline-start: .1em; }
.stat__value .todo { font-size: 1rem; vertical-align: middle; }
.stat__todo { order: 3; margin-top: 8px; }
.stat + .stat { padding-inline-start: 16px; border-inline-start: 1px solid var(--line); }
.proof__h3 { margin-top: 56px; }
.cases { margin-top: 20px; display: grid; gap: 28px; }
.case { border-top: 4px solid var(--ink); padding-top: 20px; display: grid; gap: 10px; align-content: start; }
.case__sector { font-weight: 700; color: var(--muted); font-size: .9375rem; }
.case__result { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; }
.case__result b { font-size: clamp(2.8rem, 2rem + 3vw, 4.4rem); font-weight: 800; font-stretch: 70%; line-height: 1; color: var(--red); font-variant-numeric: tabular-nums; }
.case__result span { font-weight: 700; color: var(--ink); font-size: 1.1rem; max-width: 22ch; line-height: 1.3; }
.case__ba span { font-weight: 700; color: var(--ink); }
.case__client { margin-top: 6px; }
.case__quote { margin: 0; padding-inline-start: 14px; border-inline-start: 3px solid var(--gold); }
.refs { list-style: none; margin-top: 20px; display: grid; gap: 28px; }
.ref { border-top: 4px solid var(--ink); padding-top: 18px; display: grid; gap: 8px; }
.ref__name { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: 800; font-stretch: 72%; line-height: 1; color: var(--ink); }
:lang(ar) .ref__name { font-weight: 700; line-height: 1.3; }
.ref__text { max-width: 44ch; }
.js .ref[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .8s var(--ease); }
.js .ref[data-reveal].is-in { opacity: 1; transform: none; }
.industries { margin-top: 56px; display: grid; gap: 14px; }
.industries ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.industries li { padding: 8px 16px; border: 1px solid var(--ink); border-radius: 999px; font-weight: 600; color: var(--ink); }
.industries .fineprint { margin-top: 0; }
@media (min-width: 900px) {
  .proof { padding-block: 112px; }
  .stat { border-bottom: 0; }
  .refs { grid-template-columns: 1fr 1fr; gap: 56px; }
}

/* ---------- Process timeline ---------- */
.process { background: var(--steel); padding-block: 72px; }
.timeline { --p: 0; list-style: none; position: relative; margin-top: 32px; display: grid; }
.timeline::before, .timeline::after { content: ""; position: absolute; inset-inline-start: 17px; top: 18px; bottom: 18px; width: 2px; background: #c3c9d0; }
.timeline::after { background: var(--red); transform: scaleY(var(--p)); transform-origin: top; transition: transform .2s linear; }
.timeline__step { position: relative; z-index: 1; display: grid; align-content: start; grid-template-columns: 36px 1fr; column-gap: 20px; padding-bottom: 28px; }
.timeline__n { grid-row: 1 / 4; width: 36px; height: 36px; display: grid; place-items: center; background: var(--ink); color: var(--white); border-radius: 50%; font-weight: 800; font-family: var(--font); }
.timeline__h { font-size: 1.25rem; font-weight: 750; font-stretch: 88%; padding-top: 4px; }
.timeline__d { font-size: .875rem; font-weight: 700; color: var(--red); margin-top: 2px; }
.timeline__t { margin-top: 6px; max-width: 46ch; }
:lang(ar) .timeline__h { font-stretch: 100%; }
.process__cta { margin-top: 12px; }
@media (min-width: 1000px) {
  .process { padding-block: 112px; }
  .timeline { grid-template-columns: repeat(5, 1fr); column-gap: 28px; margin-top: 48px; }
  .timeline::before, .timeline::after { inset-inline: 18px; top: 17px; bottom: auto; width: auto; height: 2px; }
  .timeline::after { transform: scaleX(var(--p)); transform-origin: left center; }
  [dir="rtl"] .timeline::after { transform-origin: right center; }
  .timeline__step { grid-template-columns: 1fr; row-gap: 0; padding-bottom: 0; }
  .timeline__n { grid-row: auto; margin-bottom: 18px; }
  .process__cta { margin-top: 48px; }
}

/* ---------- Objections ---------- */
.obj { padding-block: 72px; }
.qh { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.75rem); font-weight: 760; font-stretch: 82%; line-height: 1.15; color: var(--ink); }
:lang(ar) .qh { font-weight: 700; line-height: 1.5; }
.obj__cost { margin-top: 36px; display: grid; gap: 24px; }
.obj__q { display: grid; gap: 10px; align-content: start; }
.pkgs { display: grid; border: 1px solid var(--ink); border-radius: 6px; overflow: hidden; }
.pkg { padding: 24px; display: grid; gap: 10px; align-content: start; }
.pkg + .pkg { border-top: 1px solid var(--line); }
.pkg__name { font-size: 1.1rem; font-weight: 750; }
.pkg__price { font-size: 1.6rem; font-weight: 800; font-stretch: 78%; color: var(--ink); line-height: 1.2; }
.pkg__price span { font-size: .6em; font-weight: 600; color: var(--muted); }
.pkg__fit { color: var(--muted); font-size: .9375rem; }
.pkg ul { list-style: none; display: grid; gap: 6px; margin-top: 6px; }
.pkg li { display: flex; gap: .5em; align-items: flex-start; }
.pkg li .icon { color: var(--red); margin-top: .25em; }
.pkg__time { margin-top: 6px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: .875rem; font-weight: 700; color: var(--ink); }
.obj__licence { margin-top: 0; }
.obj__qa { margin-top: 56px; display: grid; gap: 32px; }
.obj__item { border-top: 2px solid var(--ink); padding-top: 18px; display: grid; gap: 10px; align-content: start; }
@media (min-width: 760px) {
  .pkgs { grid-template-columns: repeat(3, 1fr); }
  .pkg + .pkg { border-top: 0; border-inline-start: 1px solid var(--line); }
}
@media (min-width: 1000px) {
  .obj { padding-block: 112px; }
  .obj__cost { grid-template-columns: 4fr 8fr; column-gap: 56px; }
  .obj__licence { grid-column: 2; }
  .obj__qa { grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 80px; }
}

/* ---------- FAQ ---------- */
.faq { padding-block: 72px; border-top: 1px solid var(--line); }
.faq__grid { display: grid; gap: 28px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none; font-weight: 650; font-size: 1.1rem; color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { color: var(--red); transition: transform .25s var(--ease); }
.faq__item[open] summary .icon { transform: rotate(45deg); }
.faq__item p { padding-bottom: 22px; max-width: 64ch; }
.faq__item[open] p { animation: faq-in .3s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }
@media (min-width: 960px) {
  .faq { padding-block: 112px; }
  .faq__grid { grid-template-columns: 4fr 8fr; gap: 56px; }
}

/* ---------- Contact (dark) ---------- */
.contact { --focus: var(--gold); background: var(--black); color: var(--on-dark); padding-block: 72px; }
.contact .h2, .contact h3 { color: var(--white); }
.contact .lead { color: var(--on-dark); margin-top: 18px; }
.contact__grid { display: grid; gap: 40px; }
.person { display: flex; gap: 16px; align-items: center; margin-top: 32px; padding: 16px; border: 1px solid #34373c; border-radius: 6px; }
.person__photo { flex: none; width: 64px; height: 64px; display: grid; place-items: center; background: var(--gold); color: var(--black); font-weight: 800; font-size: 1.3rem; border-radius: 4px; }
.person__h { font-size: .875rem; font-weight: 600; color: var(--on-dark) !important; }
.person__name { color: var(--white); font-weight: 700; }
.person__role { font-size: .9375rem; }
.contact__h3 { margin-top: 32px; font-size: 1.1rem; font-weight: 700; }
.direct { list-style: none; display: flex; flex-direction: column; gap: 4px; margin-top: 12px; }
.direct a, .direct__static { display: flex; align-items: center; gap: 12px; padding: 12px 0; color: var(--white); text-decoration: none; border-bottom: 1px solid #2a2d31; flex-wrap: wrap; }
.direct a:hover span { text-decoration: underline; }
.direct .icon { color: var(--gold); width: 22px; height: 22px; }
.direct span { font-weight: 700; min-width: 7em; }
.direct bdi { color: var(--on-dark); }
.direct__wa { order: 3; }
.direct--wa-first .direct__wa { order: -1; }
.direct--wa-first .direct__wa a { justify-content: flex-start; padding: 14px 16px; border: 2px solid var(--gold); border-radius: 4px; margin-bottom: 8px; }

.form { display: grid; gap: 18px; padding: 24px; background: var(--white); color: var(--text); border-radius: 6px; --focus: var(--black); align-content: start; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 650; font-size: .9375rem; color: var(--ink); }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1.5px solid var(--line-strong); border-radius: 4px; background: var(--white);
  font: inherit; color: var(--ink);
}
:lang(ar) .field input[dir="ltr"] { text-align: end; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--red); outline-offset: 0; border-color: var(--ink); }
.field.is-invalid input { border-color: var(--red); }
.field__err { color: var(--red); font-size: .875rem; font-weight: 600; }
.field__hint { color: var(--muted); font-size: .8125rem; }
.form__privacy { font-size: .875rem; color: var(--muted); }
.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form__note { font-size: .875rem; color: var(--muted); }
.form__error { padding: 12px 14px; border-inline-start: 4px solid var(--red); background: #fdeceb; color: var(--ink); font-weight: 600; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn[disabled] { opacity: .7; cursor: progress; }
@media (min-width: 640px) {
  .form { grid-template-columns: 1fr 1fr; padding: 32px; }
  .field--full { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .contact { padding-block: 112px; }
  .contact__grid { grid-template-columns: 5fr 7fr; gap: 64px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--white); }
.site-footer__inner { display: grid; gap: 28px; padding-block: 48px 32px; }
.site-footer__logo { justify-self: start; }
.site-footer__logo img { width: 200px; }
.site-footer__text { max-width: 46ch; color: var(--muted); }
.site-footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.site-footer__h { font-size: .9375rem; font-weight: 700; margin-bottom: 10px; }
.site-footer__cols li { padding-block: 4px; font-size: .9375rem; }
.site-footer__cols a, .site-footer__cols .linklike { color: var(--text); }
.site-footer__rights { font-size: .8125rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 20px; }
@media (min-width: 960px) {
  .site-footer__inner { grid-template-columns: 3fr 4fr 5fr; column-gap: 56px; padding-block: 72px 32px; align-items: start; }
  .site-footer__logo img { width: 240px; }
  .site-footer__rights { grid-column: 1 / -1; }
}

/* ---------- Consent ---------- */
.consent { position: fixed; z-index: 120; inset-inline: 12px; bottom: 12px; display: flex; justify-content: flex-end; pointer-events: none; }
.consent__box { pointer-events: auto; width: 100%; max-width: 480px; padding: 20px; background: var(--white); border: 1px solid var(--ink); border-radius: 6px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .45); display: grid; gap: 12px; font-size: .9375rem; animation: consent-in .35s var(--ease); }
.consent__h { font-size: 1.05rem; font-weight: 750; }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.consent__actions .btn { min-height: 44px; padding-inline: .6rem; font-size: .9375rem; }
@keyframes consent-in { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Simple pages ---------- */
.page { padding-block: 56px 96px; }
.page__inner { max-width: 820px; display: grid; gap: 20px; }
.page__sec { display: grid; gap: 8px; padding-top: 20px; border-top: 1px solid var(--line); }
.page--thanks .page__inner { justify-items: start; }
.page__ok { width: 56px; height: 56px; padding: 12px; background: var(--gold); color: var(--black); border-radius: 4px; }

/* ---------- Reveal (only where it carries meaning) ---------- */
.js [data-reveal] .mock, .js .case[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .8s var(--ease); }
.js [data-reveal].is-in .mock, .js .case[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] .mock, .js .case[data-reveal], .js .ref[data-reveal] { opacity: 1; transform: none; }
}
.page__list { list-style: disc; padding-inline-start: 1.3em; display: grid; gap: 6px; }
.page__sec a { color: var(--ink); }
