/* ==========================================================================
   Web Value + WV ONE ERP
   Web Value: the logo's indigo and teal ribbon on deep night blue. Premium, high contrast.
   WV ONE: the original product palette (navy, blue, teal) and app icons, made richer.
   ========================================================================== */
:root {
  --night: #070b24;
  --night-2: #0c1338;
  --night-3: #141d4d;
  --indigo: #4a5ca8;
  --indigo-deep: #2f4089;
  --indigo-ink: #1f2a66;
  --blue: #4f8fbf;
  --teal: #66c0be;
  --teal-bright: #7fd6d3;
  --teal-ink: #237572;
  --ink: #141a3c;
  --muted: #545f78;
  --line: #e4e8f2;
  --line-2: #d3d9e8;
  --paper: #f6f7fb;
  /* WV ONE (original) */
  --navy: #344289;
  --navy-dark: #283670;
  --erp-ink: #222d57;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(10, 15, 44, .06), 0 18px 40px -18px rgba(10, 15, 44, .28);
  --shadow-lg: 0 50px 100px -40px rgba(10, 15, 44, .55);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  --font-ar: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --wrap: 1240px;
  --grad: linear-gradient(120deg, var(--teal) 0%, var(--blue) 45%, var(--indigo) 100%);
  color-scheme: light;
}
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .55s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(18px); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.65; font-size: 16.5px; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: clip; }
html[lang="ar"] body { font-family: var(--font-ar); line-height: 1.8; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.06; letter-spacing: -.035em; font-weight: 800; font-family: var(--font-display); color: var(--ink); text-wrap: balance; }
html[lang="ar"] :is(h1, h2, h3, h4) { font-family: var(--font-ar); letter-spacing: 0; line-height: 1.3; font-weight: 700; }
h1 { font-size: clamp(2.6rem, 6vw, 5.1rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.3rem); }
h3 { font-size: 1.22rem; letter-spacing: -.02em; }
p { margin: 0 0 1em; color: var(--muted); }
.lead { font-size: clamp(1.08rem, 1.35vw, 1.24rem); line-height: 1.65; max-width: 60ch; }
.fine { font-size: .87rem; color: var(--muted); }
.center { text-align: center; }
.mono { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .85em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), calc(100% - 56px)); margin-inline: auto; }
.skip { position: fixed; inset-inline-start: 12px; top: 10px; z-index: 100; background: #fff; padding: 10px 16px; border-radius: 8px; box-shadow: var(--shadow); transform: translateY(-160%); transition: transform .2s; }
.skip:focus { transform: none; }
main:focus { outline: none; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
[dir="rtl"] .flip-rtl { transform: scaleX(-1); }

/* Scroll progress */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 80; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: left; transform: scaleX(var(--p, 0)); }
[dir="rtl"] .progress i { transform-origin: right; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: .96rem; line-height: 1.2; white-space: nowrap; transition: transform .35s var(--ease), background .25s, border-color .25s, box-shadow .35s, color .25s; will-change: transform; }
.btn .ico { transition: transform .35s var(--ease); }
.btn:hover .ico:last-child { transform: translateX(4px); }
[dir="rtl"] .btn:hover .ico.flip-rtl:last-child { transform: scaleX(-1) translateX(4px); }
.btn-lg { min-height: 58px; padding: 15px 30px; font-size: 1.02rem; }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: .9rem; }
.btn-xs { min-height: 30px; padding: 4px 12px; font-size: .78rem; }
.btn-block { width: 100%; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--indigo-deep); box-shadow: 0 16px 34px -14px rgba(47, 64, 137, .8); }
.btn-teal { background: var(--grad); color: #fff; box-shadow: 0 14px 34px -14px rgba(102, 192, 190, .9); }
.btn-teal:hover { box-shadow: 0 22px 44px -16px rgba(102, 192, 190, 1); }
.btn-white { background: #fff; color: var(--indigo-ink); box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .5); }
.btn-white:hover { background: #eef3ff; }
.btn-glass { color: #fff; border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .08); backdrop-filter: blur(8px); }
.btn-glass:hover { border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .14); }
.btn-outline-light { border-color: rgba(255, 255, 255, .32); color: #fff; background: transparent; }
.btn-outline-light:hover { border-color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); box-shadow: 0 16px 34px -14px rgba(52, 66, 137, .8); }
.btn-soft { background: #e3f3f3; color: var(--navy-dark); }
.btn-soft:hover { background: #cfeceb; }
.btn-ghost { color: var(--navy-dark); border-color: var(--line-2); background: #fff; }
.btn-ghost:hover { border-color: var(--navy); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.actions.start { justify-content: flex-start; }
.text-link { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; color: var(--indigo-deep); white-space: nowrap; }
.text-link--navy { color: var(--navy); }
.text-link--light { color: #fff; }
.text-link .ico { transition: transform .3s var(--ease); }
.text-link:hover .ico { transform: translateX(5px); }
[dir="rtl"] .text-link:hover .ico { transform: scaleX(-1) translateX(5px); }
.more { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; font-size: .92rem; color: var(--indigo-deep); margin-top: auto; }
.more .ico { transition: transform .3s var(--ease); }
a:hover .more .ico { transform: translateX(5px); }
[dir="rtl"] a:hover .more .ico { transform: scaleX(-1) translateX(5px); }
.kicker { display: inline-block; margin: 0 0 20px; font-size: .95rem; font-weight: 700; color: var(--teal-ink); }
.kicker--light, .hero-wv .kicker, .hero-inner .kicker { color: var(--teal-bright); }
.eyebrow { display: inline-block; margin: 0 0 16px; font-size: .95rem; font-weight: 700; color: var(--teal-ink); }
.section--night .eyebrow { color: var(--teal-bright); }

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.8) blur(18px); -webkit-backdrop-filter: saturate(1.8) blur(18px); border-bottom: 1px solid transparent; transition: transform .45s var(--ease), border-color .3s, box-shadow .3s, background .3s; }
.site-header.is-scrolled { border-bottom-color: rgba(20, 26, 60, .08); box-shadow: 0 10px 30px -22px rgba(10, 15, 44, .5); }
.site-header.is-hidden { transform: translateY(-100%); }
.nav { position: relative; display: flex; align-items: center; gap: 30px; min-height: 78px; }
.primary-nav { display: flex; align-items: center; gap: 24px; flex: 1; }
.primary-nav ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.primary-nav ul a, .primary-nav summary { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 10px 13px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--ink); transition: color .2s, background .2s; }
.primary-nav ul a::after { content: ""; position: absolute; inset-inline: 14px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.primary-nav ul a:hover::after, .primary-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav ul a:hover, .primary-nav summary:hover { color: var(--indigo-deep); }
.primary-nav [aria-current="page"] { color: var(--indigo-deep); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.lang-switch { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--muted); transition: color .2s, background .2s; }
.lang-switch:hover { color: var(--indigo-deep); background: var(--paper); }
.lang-switch span { font-family: var(--font-ar); }
html[lang="ar"] .lang-switch span { font-family: var(--font); }
.menu-toggle { display: none; margin-inline-start: auto; width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; align-items: center; justify-content: center; }
.menu-toggle .ico { width: 22px; height: 22px; }
.menu-toggle .i-close, .menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }
.wv-logo { display: inline-flex; align-items: center; flex: none; }
.wv-logo img { height: 36px; width: auto; }
.wv-logo--light img { height: 44px; }
.nav-erp a { gap: 8px !important; border: 1px solid var(--line-2); margin-inline-start: 10px; padding-inline: 16px !important; }
.nav-erp a::after { display: none; }
.nav-erp a img { width: 18px; height: auto; }
.nav-erp a:hover { border-color: var(--teal); background: #f1fbfa; }

/* ── Web Value hero ─────────────────────────────────────────────────────── */
.hero-wv, .hero-inner { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--night); }
.hero-glow { position: absolute; inset: -20% -10% auto -10%; height: 140%; z-index: -1; background:
  radial-gradient(40% 45% at 78% 30%, rgba(74, 92, 168, .55), transparent 70%),
  radial-gradient(35% 40% at 70% 70%, rgba(102, 192, 190, .28), transparent 70%),
  radial-gradient(45% 50% at 0% 100%, rgba(47, 64, 137, .55), transparent 70%),
  linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); animation: glow 16s ease-in-out infinite alternate; }
@keyframes glow { to { transform: translate3d(-3%, 2%, 0) scale(1.05); } }
.hero-wv :is(h1, h2, h3), .hero-inner :is(h1, h2, h3) { color: #fff; }
.hero-wv p, .hero-inner p { color: #c3cdea; }
.hero-wv__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; min-height: min(78vh, 760px); padding: 70px 0 30px; }
.hero-wv h1 { font-size: clamp(2.9rem, 6.2vw, 5.6rem); line-height: 1.02; margin-bottom: 26px; }
.hero-wv .lead { margin-bottom: 36px; color: #c9d3ee; }
.hero-wv__art { position: relative; align-self: stretch; display: grid; place-items: center; }
.hero-wv__art .ribbon { width: min(100%, 520px); height: auto; filter: drop-shadow(0 40px 80px rgba(102, 192, 190, .25)); }
.facts { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 30px 0 46px; gap: 24px; border-top: 1px solid rgba(255, 255, 255, .1); }
.facts li { display: grid; gap: 4px; }
.facts b { font-family: var(--font-display); font-size: clamp(2.2rem, 3.6vw, 3.2rem); line-height: 1; color: #fff; letter-spacing: -.04em; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff 30%, #b9c6f0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts span { font-size: .93rem; color: #9fb0d8; }
.ticker { overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .025); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker__track { display: flex; align-items: center; gap: 34px; width: max-content; padding: 20px 0; animation: ticker 48s linear infinite; }
.ticker__track span { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: #dbe3f8; white-space: nowrap; }
html[lang="ar"] .ticker__track span { font-family: var(--font-ar); }
.ticker__track img { width: 20px; height: auto; opacity: .9; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
[dir="rtl"] .ticker__track { animation-name: ticker-rtl; }
@keyframes ticker-rtl { to { transform: translateX(50%); } }

/* Ribbon animation */
.ribbon .ribbon-lines path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.2s var(--ease) forwards, sway 9s ease-in-out infinite alternate; animation-delay: calc(.25s + var(--i) * 45ms), calc(2s + var(--i) * -.35s); transform-box: view-box; transform-origin: 705px 1495px; }
.ribbon .ribbon-band { opacity: 0; animation: band 1.4s .2s var(--ease) forwards; transform-box: view-box; transform-origin: 1342px 400px; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes sway { from { transform: rotate(-1.2deg); } to { transform: rotate(1.6deg); } }
@keyframes band { from { opacity: 0; transform: scale(.9) translateX(-40px); } to { opacity: 1; transform: none; } }
[dir="rtl"] .ribbon { transform: scaleX(-1); }

/* Word-by-word headline reveal */
.words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.words .w > span { display: inline-block; transform: translateY(105%); animation: word .9s var(--ease) forwards; animation-delay: calc(.08s + var(--i) * 70ms); }
@keyframes word { to { transform: none; } }
.fade-up { opacity: 0; transform: translateY(18px); animation: fadeup .9s var(--ease) forwards; animation-delay: var(--d, .3s); }
@keyframes fadeup { to { opacity: 1; transform: none; } }

/* Inner hero */
.hero-inner > .wrap { position: relative; padding: 76px 0 84px; }
.hero-inner h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); max-width: 16ch; }
.hero-inner .lead { margin-bottom: 0; }
.hero-inner__art { position: absolute; inset-inline-end: -40px; top: -40px; bottom: -60px; width: min(46%, 560px); opacity: .55; pointer-events: none; z-index: -1; }
.hero-inner__art .ribbon { height: 100%; width: auto; margin-inline-start: auto; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 28px; padding: 0; font-size: .88rem; }
.crumbs li { color: #9fb0d8; display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; opacity: .5; }
.crumbs a { color: #e1e8fa; }
.crumbs a:hover { color: var(--teal-bright); }
.chip-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.chip-nav a { padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); font-size: .9rem; font-weight: 600; color: #e3ebfb; background: rgba(255, 255, 255, .04); transition: all .25s; }
.chip-nav a:hover { border-color: var(--teal); color: #fff; background: rgba(102, 192, 190, .12); }

/* ── Sections ──────────────────────────────────────────────────────────── */
.section { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.section--white { background: #fff; }
.section--tint { background: var(--paper); }
.section--night { background: radial-gradient(60% 60% at 100% 0%, rgba(74, 92, 168, .3), transparent 70%), var(--night); color: #fff; }
.section--night :is(h1, h2, h3) { color: #fff; }
.section--night .lead, .section--night p { color: #b8c4e6; }
.section--cta { padding-top: 0; }
.section--night + .section--cta, .section--white + .section--cta { padding-top: clamp(40px, 6vw, 80px); }
.section-head { max-width: 780px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head .lead { margin-bottom: 0; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 52px; }
.section-head-row .section-head { margin-bottom: 0; }
.mini-title { font-size: .98rem; color: var(--ink); font-weight: 700; margin: 0 0 14px; letter-spacing: -.01em; }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 7vw, 100px); align-items: center; }
.split--top { align-items: start; }
.prose p { font-size: 1.08rem; }

/* Glow cards: cursor-following light + subtle tilt */
.glow-card { position: relative; isolation: isolate; }
.glow-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(102, 192, 190, .9), rgba(74, 92, 168, .5) 40%, transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; pointer-events: none; z-index: 2; }
.glow-card:hover::before { opacity: 1; }

/* Service cards */
.service-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.service-card { grid-column: span 2; display: flex; flex-direction: column; gap: 6px; padding: 34px 30px 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 0 rgba(10, 15, 44, .03); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; min-height: 270px; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.service-card:nth-child(-n+2) { grid-column: span 3; }
.service-card:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card h3 { font-size: 1.35rem; margin-top: 4px; }
.service-card p { font-size: 1rem; }
.service-icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: linear-gradient(140deg, rgba(102, 192, 190, .18), rgba(74, 92, 168, .16)); color: var(--indigo-deep); margin-bottom: 18px; flex: none; }
.service-icon .ico { width: 26px; height: 26px; }
.service-icon--lg { width: 66px; height: 66px; border-radius: 20px; }
.service-icon--lg .ico { width: 32px; height: 32px; }

/* Product band (home) */
.product-band { position: relative; isolation: isolate; overflow: hidden; padding: clamp(80px, 10vw, 130px) 0; color: #fff; background: linear-gradient(135deg, var(--indigo-ink) 0%, var(--indigo-deep) 45%, var(--indigo) 100%); }
.product-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 90% 100%, rgba(102, 192, 190, .45), transparent 70%); }
.product-band__ribbon { position: absolute; z-index: -1; inset-inline-start: -120px; top: -80px; width: 520px; opacity: .22; pointer-events: none; }
.product-band__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.product-band h2 { color: #fff; font-size: clamp(2.6rem, 5vw, 4.2rem); margin-bottom: 8px; }
.product-band__head { font-family: var(--font-display); font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 700; color: var(--teal-bright) !important; margin-bottom: 18px; letter-spacing: -.02em; }
html[lang="ar"] .product-band__head { font-family: var(--font-ar); }
.product-band .lead { color: #d6def7; }
.module-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 34px; }
.module-chips a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .16); font-size: .88rem; font-weight: 600; color: #eef2ff; transition: background .25s, border-color .25s, transform .3s var(--ease); }
.module-chips a:hover { background: rgba(255, 255, 255, .18); border-color: var(--teal-bright); transform: translateY(-2px); }
.module-chips .ico { width: 16px; height: 16px; color: var(--teal-bright); }
.product-band__screen { perspective: 1400px; }
.product-band__screen .dash { transform: rotateY(var(--ty, -10deg)) rotateX(var(--tx, 6deg)); transform-style: preserve-3d; box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .6); transition: transform .2s linear; }
[dir="rtl"] .product-band__screen .dash { transform: rotateY(calc(var(--ty, -10deg) * -1)) rotateX(var(--tx, 6deg)); }

/* Project cards */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project-grid--featured { grid-template-columns: repeat(6, 1fr); }
.project-grid--featured > :nth-child(-n+2) { grid-column: span 3; }
.project-grid--featured > :nth-child(n+3) { grid-column: span 2; }
.project-card { display: flex; border-radius: var(--radius); }
.project-link { display: flex; flex-direction: column; width: 100%; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.project-link:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.project-link:hover .cover-icon { transform: scale(1.08) rotate(-4deg); }
.project-link:hover .cover-lines { transform: scale(1.08) translateY(-4%); }
.project-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.project-body h2, .project-body h3 { font-size: 1.25rem; margin: 14px 0 8px; }
.project-body p { font-size: .96rem; margin-bottom: 18px; }
.project-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.domain-tag { font-size: .78rem; font-weight: 600; color: var(--muted); padding: 3px 10px; border-radius: 999px; background: var(--paper); }
.domain-tag--light { background: rgba(255, 255, 255, .1); color: #d6e1f5; }
.section--night .project-link { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.section--night .project-link:hover { background: rgba(255, 255, 255, .07); }
.section--night .project-body p { color: #aebbe0; }
.section--night .domain-tag { background: rgba(255, 255, 255, .08); color: #c8d3f0; }
.section--night .more { color: var(--teal-bright); }

/* Status badges */
.status { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px 4px 9px; border-radius: 999px; font-size: .77rem; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--live { color: #0f6b4b; background: #dcf4e9; }
.status--live i { box-shadow: 0 0 0 3px rgba(15, 107, 75, .2); animation: pulse 2s infinite; }
.status--demo { color: #24508a; background: #e1ebfa; }
.status--design { color: #74480a; background: #fbecd2; }
.status--planned { color: #4e5b70; background: #eaedf3; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(15, 107, 75, 0); } }

/* Covers: illustration only, never fake screenshots */
.cover { position: relative; overflow: hidden; aspect-ratio: 16 / 9; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--c1), var(--c2)); --c1: var(--night-3); --c2: var(--indigo); }
.cover--erp { --c1: #1f2a66; --c2: #4a5ca8; }
.cover--projects { --c1: #0c1338; --c2: #2f4089; }
.cover--tendering { --c1: #1d5f66; --c2: #4f8fbf; }
.cover--web { --c1: #2f4089; --c2: #4f8fbf; }
.cover--mobile { --c1: #1f2a66; --c2: #2f8f8c; }
.cover--industry { --c1: #0c1338; --c2: #237572; }
.cover--retail { --c1: #3d4f9c; --c2: #5aaeb9; }
.cover--interactive { --c1: #4a5ca8; --c2: #7fbfd0; }
.cover-lines { position: absolute; inset-inline-end: -6%; top: -18%; width: 52%; opacity: .45; transition: transform .8s var(--ease); }
.cover-lines .ribbon path { animation: none !important; stroke-dashoffset: 0 !important; opacity: 1 !important; }
.cover-lines .ribbon .ribbon-band { opacity: .9; }
.cover-lines .ribbon-lines { stroke: rgba(255, 255, 255, .8) !important; }
.cover-icon { position: relative; display: grid; place-items: center; width: 80px; height: 80px; border-radius: 24px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .26); backdrop-filter: blur(8px); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); transition: transform .6s var(--ease); }
.cover-icon .ico { width: 36px; height: 36px; }
.cover-label { position: absolute; inset-inline-start: 18px; bottom: 14px; font-size: .8rem; font-weight: 600; color: rgba(255, 255, 255, .88); }
.cover--hero { border-radius: 26px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .14); }
.cover--hero .cover-icon { width: 116px; height: 116px; border-radius: 32px; }
.cover--hero .cover-icon .ico { width: 54px; height: 54px; }

/* Process */
.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; list-style: none; padding: 0; margin: 0; }
.process::before { content: ""; position: absolute; top: 0; inset-inline: 10px; height: 2px; background: var(--line); }
.process::after { content: ""; position: absolute; top: 0; inset-inline-start: 10px; width: calc(100% - 20px); height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .2s; }
[dir="rtl"] .process::after { transform-origin: right; }
.process.is-in::after { transform: scaleX(1); }
.process li { position: relative; padding-top: 34px; }
.process-dot { position: absolute; top: 0; inset-inline-start: 0; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--line-2); transition: border-color .4s, background .4s; transition-delay: calc(.4s + var(--i) * .35s); }
.process.is-in .process-dot { border-color: var(--teal); background: var(--teal); box-shadow: 0 0 0 6px rgba(102, 192, 190, .18); }
.process-n { display: block; font-family: var(--font-display); font-size: 3.2rem; font-weight: 800; line-height: 1; margin-bottom: 14px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.process h3 { font-size: 1.35rem; }
.process p { font-size: .99rem; margin: 0; }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.principle { position: relative; padding: 32px 26px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.principle:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.principle .process-n { font-size: 2.4rem; }
.principle p { margin: 0; font-size: .98rem; }

/* CTA band */
.cta-band { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; padding: clamp(40px, 6vw, 80px); border-radius: 32px; }
.cta-band h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); }
.cta-band p { margin: 0; font-size: 1.1rem; }
.cta-band .actions { justify-content: flex-end; }
.cta-band--wv, .cta-band--erp { background: linear-gradient(120deg, var(--indigo-ink), var(--indigo-deep) 45%, #3f7fb3 80%, var(--teal)); }
.cta-band--wv h2, .cta-band--erp h2 { color: #fff; }
.cta-band--wv p, .cta-band--erp p { color: #dfe6fb; }
.cta-band__art { position: absolute; z-index: -1; inset-inline-end: -40px; top: -60px; width: 360px; opacity: .3; }

/* About */
.two-brands { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; }
.brand-card { display: grid; gap: 8px; align-content: start; padding: 34px; border-radius: 24px; border: 1px solid var(--line); }
.brand-card img { height: 52px; width: auto; }
.brand-card--wv { background: linear-gradient(150deg, var(--night), var(--night-3)); border: 0; }
.brand-card--wv h3 { color: #fff; }
.brand-card--wv p { color: #c9d5ee; margin: 0; }
.brand-card--erp { background: radial-gradient(ellipse at 30% 20%, #e3f4f4, #fff 70%); transition: transform .5s var(--ease), box-shadow .5s; }
.brand-card--erp:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.brand-card--erp p { margin: 0; }
.brand-arrow { display: grid; place-items: center; color: var(--teal-ink); }
.brand-arrow .ico { width: 34px; height: 34px; }

/* Services detail */
.service-detail { scroll-margin-top: 90px; }
.check-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; background: var(--paper); border-radius: 14px; color: var(--ink); font-weight: 500; transition: transform .35s var(--ease), background .3s; }
.check-list li:hover { transform: translateX(4px); background: #eef1fa; }
[dir="rtl"] .check-list li:hover { transform: translateX(-4px); }
.section--tint .check-list li { background: #fff; }
.check-list .ico { color: var(--teal-ink); margin-top: 4px; stroke-width: 2.4; }
.example-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.example-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-weight: 600; transition: border-color .25s, transform .35s var(--ease), box-shadow .35s; }
.example-list a:hover { border-color: var(--indigo); transform: translateX(5px); box-shadow: var(--shadow); }
[dir="rtl"] .example-list a:hover { transform: translateX(-5px); }

/* Products */
.flagship { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: clamp(30px, 4vw, 56px); border-radius: 30px; background: radial-gradient(ellipse at 10% 10%, #e1f4f4, transparent 60%), radial-gradient(ellipse at 100% 100%, #e4e9fb, transparent 55%), #f7fafc; border: 1px solid var(--line); margin-bottom: 30px; transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.flagship:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.flagship__copy img { width: 160px; height: auto; margin: 10px 0; }
.flagship__copy h2 { margin-top: 6px; }
.flagship__meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.flagship__apps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.product-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.product-item { display: flex; gap: 18px; align-items: flex-start; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.product-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-item h3 { margin: 10px 0 6px; }
.product-item p { margin: 0; font-size: .97rem; }
.product-item .go { margin-inline-start: auto; color: var(--indigo-deep); margin-top: 6px; }
.product-item__body { flex: 1; }

/* Portfolio filters */
.section--filters { padding-top: 44px; }
.filters { position: sticky; top: 86px; z-index: 10; display: grid; gap: 10px; padding: 16px 20px; margin-bottom: 46px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 18px 40px -30px rgba(10, 15, 44, .5); }
.filter-row { display: flex; align-items: center; gap: 12px; }
.filter-label { flex: none; width: 76px; font-size: .9rem; font-weight: 700; color: var(--ink); }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-weight: 600; font-size: .87rem; color: var(--ink); transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease); }
.chip span { font-size: .74rem; color: var(--muted); background: var(--paper); border-radius: 999px; padding: 0 7px; }
.chip:hover { border-color: var(--indigo); transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip[aria-pressed="true"] span { background: rgba(255, 255, 255, .16); color: #fff; }
.filter-count { margin: 0; font-size: .86rem; }
.portfolio-group { margin-bottom: 70px; scroll-margin-top: 200px; }
.group-head { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; padding-bottom: 16px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.group-head h2 { font-size: 1.7rem; margin: 0; }
.group-head p { margin: 0; font-size: .97rem; }
.empty { text-align: center; padding: 64px 20px; border: 1px dashed var(--line-2); border-radius: 22px; }
.project-card.is-filtered-in { animation: pop .5s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }

/* Case study */
.case-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: center; }
.case-hero h1 { margin-top: 18px; }
.case-hero .actions { margin-top: 28px; }
.case-layout { display: grid; grid-template-columns: 310px 1fr; gap: clamp(32px, 6vw, 84px); align-items: start; }
.case-facts { position: sticky; top: 110px; padding: 26px; border-radius: 22px; background: var(--paper); }
.case-facts dl { margin: 0 0 8px; display: grid; gap: 20px; }
.case-facts dt { font-size: .86rem; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.case-facts dd { margin: 0; font-weight: 600; display: grid; gap: 6px; justify-items: start; }
.case-facts dd small { font-weight: 400; color: var(--muted); font-size: .86rem; line-height: 1.45; }
.case-facts .mini-title { margin-top: 24px; }
.versions { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; border-inline-start: 2px solid var(--teal); padding-inline-start: 14px; }
.versions li { display: grid; }
.versions span { font-size: .86rem; color: var(--muted); }
.case-story { display: grid; gap: 16px; }
.story-step { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 30px 30px 16px; border: 1px solid var(--line); border-radius: 22px; transition: box-shadow .5s var(--ease); }
.story-step:hover { box-shadow: var(--shadow); }
.story-step h2 { font-size: 1.45rem; }
.story-step .check-list { margin-bottom: 14px; }
.story-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--grad); color: #fff; font-weight: 800; font-family: var(--font-display); }
.note { display: flex; gap: 10px; align-items: flex-start; padding: 13px 15px; background: #fff7e6; border-radius: 12px; color: #6b4a00; font-size: .94rem; }
.note .ico { margin-top: 4px; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1.4fr .8fr; gap: clamp(32px, 6vw, 76px); align-items: start; }
.contact-form { display: grid; gap: 20px; padding: clamp(24px, 4vw, 44px); border-radius: 28px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: #fff; margin-top: -120px; position: relative; z-index: 2; }
.form-notice { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 13px 15px; border-radius: 14px; background: #fff7e6; color: #6b4a00; font-size: .93rem; border: 1px solid #f3dfae; }
.form-notice .ico { margin-top: 4px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label, .seg legend { font-weight: 600; font-size: .93rem; color: var(--ink); }
.field label i { color: #b03a3a; font-style: normal; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid #c6cfe0; background: #fff; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(74, 92, 168, .16); }
.field [aria-invalid="true"] { border-color: #b03a3a; }
.field textarea { resize: vertical; min-height: 140px; }
.hint { margin: 0; font-size: .86rem; }
.err { margin: 0; font-size: .86rem; color: #b03a3a; }
.err:empty { display: none; }
.field--check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.field--check input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--indigo); }
.seg { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.seg legend { margin-bottom: 10px; padding: 0; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: inline-block; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 600; font-size: .93rem; cursor: pointer; transition: all .25s; }
.seg input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.seg input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status:empty { display: none; }
.form-status { padding: 15px 17px; border-radius: 14px; font-weight: 600; animation: fadeup .5s var(--ease) both; }
.form-status.is-test { background: #fff7e6; color: #6b4a00; border: 1px solid #f3dfae; }
.form-status.is-ok { background: #dcf4e9; color: #0f6b4b; }
.form-status.is-err { background: #fde8e8; color: #8f2626; }
.contact-aside { position: sticky; top: 110px; display: grid; gap: 20px; }
.contact-aside h2 { font-size: 1.5rem; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 16px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; gap: 12px; color: var(--muted); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--grad); color: #fff; font-weight: 800; font-size: .9rem; }
.aside-mail { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.aside-erp { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: radial-gradient(ellipse at 20% 20%, #e3f4f4, #fff 70%); transition: transform .5s var(--ease), box-shadow .5s; }
.aside-erp:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.aside-erp img { width: 60px; height: auto; }
.aside-erp b { display: block; }
.aside-erp small { color: var(--muted); }
.aside-erp > .ico { margin-inline-start: auto; color: var(--navy); }

/* ── Footer ────────────────────────────────────────────────────────────── */
.site-footer { color: #fff; padding: 80px 0 28px; }
.wv-footer { background: var(--night); }
.erp-footer { background: #1f2a5e; }
.footer-top { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 34px; }
.footer-brand { display: grid; gap: 18px; align-content: start; justify-items: start; }
.footer-tag { width: 250px; height: auto; margin-top: -6px; }
.footer-brand p { color: #aebbe0; margin: 0; max-width: 40ch; }
.site-footer h2 { font-family: var(--font); font-size: .95rem; letter-spacing: 0; color: #fff; margin: 8px 0 16px; }
html[lang="ar"] .site-footer h2 { font-family: var(--font-ar); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.site-footer ul a { color: #b8c4e6; font-size: .95rem; transition: color .2s; }
.site-footer ul a:hover { color: var(--teal-bright); }
.footer-end { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; color: #8f9fca; }
.footer-end .lang-switch { color: #e0e8f7; }
.footer-end .lang-switch:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.erp-footer-brand { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; letter-spacing: -.06em; color: #fff !important; direction: ltr; margin: 0; }
.erp-footer-brand span { color: var(--teal); margin-inline-start: .12em; }
.footer-back { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--teal-bright); }
.erp-login .footer-back { color: var(--navy); justify-content: center; width: 100%; margin-top: 6px; }

/* ==========================================================================
   WV ONE ERP identity (original palette and app icons, richer and deeper)
   ========================================================================== */
.brand-erp { --ink: var(--erp-ink); }
.erp-topbar { background: var(--navy-dark); color: #dbe6ff; font-size: .86rem; }
.erp-topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 12px; }
.erp-topbar a { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: #fff; }
.erp-topbar a:hover { color: var(--teal); }
.erp-topbar span { opacity: .75; }
.erp-logo img { width: 78px; height: auto; }
.brand-erp .primary-nav ul a::after { background: linear-gradient(90deg, var(--navy), var(--teal)); }
.brand-erp .primary-nav ul a:hover, .brand-erp .primary-nav [aria-current="page"], .brand-erp .primary-nav summary:hover { color: var(--navy); }
.has-mega { position: static; }
.mega summary { list-style: none; cursor: pointer; }
.mega summary::-webkit-details-marker { display: none; }
.mega .chev { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.mega[open] .chev { transform: rotate(180deg); }
.mega-panel { position: absolute; top: calc(100% - 4px); inset-inline: 0; padding: 24px 28px 26px; background: #fff; border: 1px solid var(--line); border-radius: 0 0 28px 28px; box-shadow: 0 30px 60px -24px rgba(52, 66, 137, .4); animation: drop .35s var(--ease) both; }
@keyframes drop { from { opacity: 0; transform: translateY(-10px); } }
.mega-all { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); font-weight: 700; margin-bottom: 14px; }
.mega-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.app-tile { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 12px 6px; border-radius: 18px; text-align: center; font-size: .87rem; transition: background .3s, transform .45s var(--ease); min-width: 0; }
.app-tile strong { font-weight: 600; line-height: 1.25; }
a.app-tile:hover { background: #edf6f8; transform: translateY(-6px); }
a.app-tile:hover .app-icon { box-shadow: 0 14px 28px -10px color-mix(in srgb, var(--tint) 60%, transparent); }
.app-tile--row { flex-direction: row; text-align: start; padding: 8px 10px; }
.app-tile--row:hover { transform: none !important; }
.app-tile--static { font-size: .77rem; }
.app-icon { position: relative; display: inline-grid; place-items: center; flex: none; overflow: hidden; color: var(--erp-ink); background: linear-gradient(150deg, color-mix(in srgb, var(--tint) 26%, white), #fff 82%); border: 1px solid color-mix(in srgb, var(--tint) 38%, white); box-shadow: 0 6px 16px color-mix(in srgb, var(--tint) 22%, transparent); transition: box-shadow .4s; }
.app-icon::before { content: ""; position: absolute; width: 39%; height: 39%; background: var(--tint); opacity: .4; border-radius: 38%; transform: rotate(-21deg); inset-inline-end: 13%; bottom: 13%; }
.app-icon .ico { position: relative; width: 56%; height: 56%; stroke-width: 1.65; }
.app-icon--lg { width: 68px; height: 68px; border-radius: 20px; }
.app-icon--md { width: 48px; height: 48px; border-radius: 14px; box-shadow: none; }
.app-icon--sm { width: 42px; height: 42px; border-radius: 13px; box-shadow: none; }

.erp-hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(60% 70% at 85% 10%, rgba(79, 137, 185, .28), transparent 70%), radial-gradient(50% 60% at 10% 0%, rgba(102, 192, 190, .3), transparent 70%), linear-gradient(180deg, #e9f4f7, #f6f9fd 70%, #fff); }
.erp-hero__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 52px; align-items: center; padding: 64px 0 34px; }
.erp-hero__logo { width: 180px; height: auto; margin-bottom: 20px; animation: fadeup .9s var(--ease) both; }
.erp-hero h1 { color: var(--erp-ink); font-size: clamp(2.6rem, 5.4vw, 4.7rem); letter-spacing: -.05em; line-height: 1.03; margin-bottom: 18px; }
html[lang="ar"] .erp-hero h1 { letter-spacing: 0; line-height: 1.25; }
/* The teal pointer from the WV ONE logo: it sits on the start side, under the text, like in the logo */
.pointer { display: inline-block; width: 30px; height: 32px; flex: none; background: var(--teal); clip-path: polygon(0 39.8%, 100% 0, 73.3% 100%, 46.9% 59.8%); animation: pointer-arrive .8s .5s var(--ease) both; }
[dir="rtl"] .pointer { transform: scaleX(-1); }
.pointer--below { display: block; margin: -2px 0 16px; width: 26px; height: 28px; }
@keyframes pointer-arrive { from { opacity: 0; translate: 14px -14px; scale: .6; } }
.handwritten { display: flex; align-items: center; gap: 14px; font-family: Caveat, "Segoe Print", "Bradley Hand", cursive; font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--navy) !important; margin: 0 0 18px; line-height: 1.2; animation: fadeup .9s .5s var(--ease) both; }
html[lang="ar"] .handwritten { font-family: var(--font-ar); font-weight: 600; font-size: clamp(1.15rem, 2vw, 1.5rem); }
.erp-hero .lead { color: var(--muted); margin-bottom: 30px; }
.erp-hero .actions { animation: fadeup .9s .65s var(--ease) both; }
.app-row { display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; padding: 30px 0 64px; }
.app-row .app-tile { opacity: 0; animation: fadeup .8s var(--ease) forwards; animation-delay: calc(.7s + var(--step) * 60ms); }
.erp-hero--inner > .wrap { padding: 60px 0 64px; }
.erp-hero--inner h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); margin-bottom: 10px; }
.erp-hero .crumbs li { color: var(--muted); }
.erp-hero .crumbs a { color: var(--navy); }
.erp-hero .crumbs a:hover { color: var(--teal-ink); }
.chip-nav--erp a { border-color: var(--line-2); color: var(--navy-dark); background: #fff; }
.chip-nav--erp a:hover { border-color: var(--navy); color: var(--navy); background: #fff; }
.module-hero { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.module-hero__icon .app-icon--lg { width: 160px; height: 160px; border-radius: 46px; box-shadow: 0 40px 70px -24px color-mix(in srgb, var(--tint) 70%, transparent); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -14px; } }
.lead--ink { color: var(--erp-ink) !important; font-size: 1.24rem; }
.in-flow { display: flex; gap: 14px; padding: 20px 22px; border-radius: 16px; background: #eef4fb; margin-top: 8px; }
.in-flow > .ico { color: var(--navy); width: 26px; height: 26px; margin-top: 2px; }
.in-flow p { margin: 0; color: var(--erp-ink); }
.in-flow .mini-title { margin-bottom: 4px; }

/* Dashboard preview */
.dash { margin: 0; background: #fff; border: 1px solid #d6e2ec; border-radius: 22px; box-shadow: 0 50px 100px -40px rgba(52, 66, 137, .55); overflow: hidden; color: var(--erp-ink); }
.erp-hero__visual .dash { animation: dashin 1.1s .3s var(--ease) both; }
@keyframes dashin { from { opacity: 0; transform: translateY(40px) scale(.97); } }
.dash-top, .demo-chrome { display: flex; align-items: center; gap: 12px; padding: 12px 18px; background: #f4f8fb; border-bottom: 1px solid var(--line); font-size: .86rem; color: var(--muted); font-weight: 600; }
.dash-top img, .demo-chrome img { width: 42px; height: auto; }
.dash-top .demo-badge, .demo-chrome .demo-badge { margin-inline-start: auto; }
.dash-body { padding: 18px; display: grid; gap: 14px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.kpi { display: grid; gap: 2px; padding: 12px 13px; border-radius: 12px; background: linear-gradient(160deg, #eef5f9, #f6f9fc); }
.kpi small { font-size: .74rem; color: var(--muted); }
.kpi b { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -.03em; color: var(--erp-ink); }
.kpi span { font-size: .72rem; color: var(--teal-ink); font-weight: 600; }
.dash-cols { display: grid; grid-template-columns: 1.35fr 1fr; gap: 12px; }
.chart-card, .approvals { border: 1px solid var(--line); border-radius: 14px; padding: 13px 15px; }
.chart-title { font-size: .8rem; font-weight: 700; color: var(--erp-ink) !important; margin: 0 0 10px; }
.bars { display: flex; align-items: flex-end; gap: 8%; height: 124px; padding: 0 2% 18px; position: relative; background: repeating-linear-gradient(to top, #e9f0f6 0, #e9f0f6 1px, transparent 1px, transparent 25%); background-size: 100% calc(100% - 18px); background-repeat: no-repeat; }
.bar-pair { position: relative; flex: 1; height: 100%; display: flex; align-items: flex-end; gap: 3px; }
.bar-pair i { flex: 1; height: var(--h); border-radius: 6px 6px 0 0; transform-origin: bottom; transform: scaleY(.04); transition: transform 1.1s var(--ease); }
.is-in .bar-pair i, .erp-hero__visual .bar-pair i, .demo-panel .bar-pair i { transform: none; }
.bar-pair:nth-child(2) i { transition-delay: .06s; } .bar-pair:nth-child(3) i { transition-delay: .12s; } .bar-pair:nth-child(4) i { transition-delay: .18s; } .bar-pair:nth-child(5) i { transition-delay: .24s; } .bar-pair:nth-child(6) i { transition-delay: .3s; }
.erp-hero__visual .bar-pair i { animation: grow 1.2s .6s var(--ease) both; }
@keyframes grow { from { transform: scaleY(.04); } }
.bar-pair .b1 { background: linear-gradient(180deg, var(--blue), var(--navy)); }
.bar-pair .b2 { background: linear-gradient(180deg, #8fd4d2, var(--teal)); }
.bar-pair small { position: absolute; bottom: -18px; inset-inline: -6px; text-align: center; font-size: .65rem; color: var(--muted); }
.legend { display: flex; align-items: center; gap: 6px; font-size: .74rem; margin: 10px 0 0; color: var(--muted) !important; }
.legend span { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.lg1 { background: var(--navy); }
.lg2 { background: var(--teal); margin-inline-start: 10px; }
.approvals ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.approvals li { display: grid; padding: 9px 11px; border-radius: 10px; background: #f5f8fc; border-inline-start: 3px solid var(--teal); font-size: .79rem; color: var(--erp-ink); font-weight: 600; line-height: 1.35; }
.approvals small { color: var(--muted); font-weight: 500; }
.dash figcaption { padding: 10px 18px; font-size: .76rem; color: var(--muted); background: #fbfdfe; border-top: 1px solid var(--line); }
.demo-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; background: #fff3d6; color: #74480a; border: 1px solid #f0d9a0; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.demo-badge .ico { width: 14px; height: 14px; }

/* Flow (tender to collection) on deep navy */
.erp-flow-section { background: linear-gradient(160deg, #1f2a5e, var(--navy-dark) 50%, var(--navy)); color: #fff; overflow: hidden; }
.erp-flow-section h2 { color: #fff; }
.erp-flow-section .lead { color: #cfd9f5; }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; padding: 0; margin: 0; }
.flow-step { position: relative; display: grid; gap: 8px; align-content: start; padding: 26px 22px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px; transition: transform .5s var(--ease), background .3s, border-color .3s; backdrop-filter: blur(6px); }
.flow-step:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .1); border-color: rgba(102, 192, 190, .6); }
.flow-step::after { content: ""; position: absolute; top: 46px; inset-inline-end: -14px; width: 10px; height: 12px; background: var(--teal); clip-path: polygon(0 0, 100% 50%, 0 100%); z-index: 1; }
[dir="rtl"] .flow-step::after { transform: scaleX(-1); }
.flow-step:nth-child(4n)::after, .flow-step:last-child::after { display: none; }
.flow-n { position: absolute; top: 14px; inset-inline-end: 20px; font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; color: rgba(255, 255, 255, .12); letter-spacing: -.04em; }
.flow-step h3 { margin: 10px 0 0; font-size: 1.12rem; color: #fff; }
.flow-step p { margin: 0; font-size: .92rem; color: #c3cdea; }
.flow-step a { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 700; color: var(--teal-bright); margin-top: 4px; }

.section--erp-tint { background: #f2f7fa; }
.module-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.module-grid--3 { grid-template-columns: repeat(3, 1fr); }
.module-card { display: flex; align-items: center; gap: 16px; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: transform .45s var(--ease), border-color .3s, box-shadow .45s var(--ease); }
.module-card:hover { transform: translateY(-5px); border-color: #9cc9d4; box-shadow: var(--shadow); }
.module-card:hover .go { transform: translateX(4px); }
[dir="rtl"] .module-card:hover .go { transform: scaleX(-1) translateX(4px); }
.module-card h3 { margin: 0 0 2px; font-size: 1.08rem; }
.module-card p { margin: 0; font-size: .92rem; line-height: 1.45; }
.module-card .go { margin-inline-start: auto; color: var(--navy); transition: transform .3s var(--ease); }
.pager { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.pager a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); }
.industry-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.industry-chip { display: inline-flex; align-items: center; gap: 10px; padding: 15px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 700; transition: border-color .3s, transform .45s var(--ease), box-shadow .45s; }
.industry-chip .ico { color: var(--navy); width: 22px; height: 22px; }
.industry-chip:hover { border-color: var(--teal); transform: translateY(-4px); box-shadow: var(--shadow); }
.honest-box { display: flex; gap: 18px; padding: 28px; border-radius: 22px; background: linear-gradient(130deg, #e3f3f3, #e9eefc); }
.honest-box > .ico { width: 34px; height: 34px; color: var(--navy); flex: none; }
.honest-box h3 { margin-bottom: 6px; }

.industries { display: grid; gap: 18px; }
.industry { padding: clamp(24px, 3vw, 40px); border-radius: 24px; border: 1px solid var(--line); scroll-margin-top: 120px; transition: box-shadow .5s var(--ease); }
.industry:hover { box-shadow: var(--shadow); }
.industry__head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 20px; }
.industry__head h2 { font-size: 1.7rem; margin-bottom: 6px; }
.industry__head p { margin: 0; max-width: 70ch; }
.industry__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: linear-gradient(140deg, #dff2f2, #e6ebfa); color: var(--navy); flex: none; }
.industry__icon .ico { width: 28px; height: 28px; }
.industry__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mini-modules { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mini-modules .app-tile--row { border: 1px solid var(--line); border-radius: 14px; }
.mini-modules .app-tile--row:hover { border-color: var(--teal); background: #f4fbfb; }

.integration-list { display: grid; gap: 12px; margin-bottom: 30px; }
.integration { display: flex; gap: 18px; padding: 24px 26px; border: 1px solid var(--line); border-radius: 18px; transition: box-shadow .45s var(--ease); }
.integration:hover { box-shadow: var(--shadow); }
.integration__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: #eef4fb; color: var(--navy); flex: none; }
.integration__body { flex: 1; }
.integration__top { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
.integration h2 { font-size: 1.18rem; margin: 0 0 6px; }
.integration p { margin: 0 0 6px; }
.not-claimed { font-size: .92rem; padding: 9px 13px; background: #fff7e6; border-radius: 10px; color: #6b4a00 !important; }
.istatus { display: inline-flex; padding: 4px 12px; border-radius: 999px; font-size: .77rem; font-weight: 700; white-space: nowrap; }
.istatus--available { background: #dcf4e9; color: #0f6b4b; }
.istatus--partial { background: #e1ebfa; color: #24508a; }
.istatus--not-connected { background: #eaedf3; color: #4e5b70; }
.istatus--on-request { background: #def2f2; color: var(--teal-ink); }
.istatus--to-verify { background: #fbecd2; color: #74480a; }
.legend-box { padding: 24px 26px; border-radius: 18px; background: #f2f7fa; }
.legend-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--muted); }
.legend-box .istatus { margin-inline-end: 8px; }

/* Demo app */
.demo-section { padding-top: 10px; }
.demo-app { border: 1px solid #d6e2ec; border-radius: 26px; box-shadow: 0 60px 110px -50px rgba(52, 66, 137, .6); overflow: hidden; background: #fff; }
.demo-url { font-size: .82rem; background: #fff; padding: 3px 12px; border-radius: 8px; border: 1px solid var(--line); color: var(--erp-ink); }
.demo-tabs { display: flex; gap: 6px; padding: 14px 18px 0; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.demo-tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border: 0; border-bottom: 3px solid transparent; background: none; font-weight: 700; color: var(--muted); font-size: .94rem; transition: color .2s, border-color .3s; }
.demo-tabs button[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--navy); }
.demo-tabs button:hover { color: var(--navy); }
.demo-panel { padding: 22px; animation: fadeup .5s var(--ease) both; }
.demo-panel .dash { box-shadow: none; border: 0; }
.demo-panel .dash-top, .demo-panel .dash figcaption { display: none; }
.demo-panel .dash-body { padding: 0; }
.panel-intro { max-width: 70ch; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.boq { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .93rem; }
.boq th, .boq td { padding: 11px 13px; text-align: start; border-bottom: 1px solid var(--line); }
.boq th { background: #f4f8fb; font-size: .84rem; color: var(--muted); font-weight: 600; }
.boq tbody tr { transition: background .2s; }
.boq tbody tr:hover { background: #f8fbfd; }
.num { width: 104px; padding: 8px 10px; border-radius: 9px; border: 1px solid #c6cfe0; text-align: end; font-variant-numeric: tabular-nums; font-size: 16px; }
.num:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(52, 66, 137, .16); }
.num-out { font-weight: 700; text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
.boq-totals { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 10px; margin-top: 18px; align-items: stretch; }
.boq-totals > div { display: grid; gap: 4px; padding: 13px 15px; border-radius: 14px; background: #eef4f9; font-size: .84rem; color: var(--muted); }
.boq-totals b { font-family: var(--font-display); font-size: 1.25rem; color: var(--erp-ink); font-variant-numeric: tabular-nums; transition: color .3s; }
.boq-totals b.flash { color: var(--teal-ink); }
.boq-totals .grand { background: linear-gradient(130deg, var(--navy-dark), var(--navy)); color: #cfd8f5; }
.boq-totals .grand b { color: #fff; }
.boq-totals .num { width: 100%; }
.boq-totals .btn { align-self: center; }
.proj-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.proj-head h2 { font-size: 1.45rem; margin-bottom: 4px; }
.proj-head p { margin: 0; }
.ring { --p: 0; width: 124px; height: 124px; border-radius: 50%; display: grid; place-items: center; align-content: center; background: radial-gradient(closest-side, #fff 78%, transparent 79% 100%), conic-gradient(var(--teal) calc(var(--p) * 1%), #e2edf2 0); }
.ring span { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; color: var(--erp-ink); line-height: 1; }
.ring small { font-size: .72rem; color: var(--muted); }
.proj-cols { display: grid; grid-template-columns: 1fr 1.2fr; gap: 26px; }
.milestones, .invoices { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.milestones li { display: grid; grid-template-columns: 1fr 1.2fr 44px; gap: 12px; align-items: center; font-size: .93rem; }
.milestones b { text-align: end; font-variant-numeric: tabular-nums; }
.track { display: block; height: 8px; border-radius: 99px; background: #e2edf2; overflow: hidden; }
.track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--teal)); transition: width .8s var(--ease); }
[dir="rtl"] .track i { background: linear-gradient(-90deg, var(--blue), var(--teal)); }
.track--lg { height: 12px; }
.invoices li { display: grid; grid-template-columns: auto 1fr auto auto; gap: 12px; align-items: center; padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; font-size: .91rem; }
.invoices b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.pill { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: .77rem; font-weight: 700; }
.pill--ok { background: #dcf4e9; color: #0f6b4b; animation: fadeup .4s var(--ease) both; }
.collection { margin-top: 16px; display: grid; gap: 8px; }
.collection p { margin: 0; font-size: .93rem; }
.demo-foot { display: flex; align-items: center; gap: 8px; margin: 0; padding: 13px 22px; font-size: .86rem; background: #fbfdfe; border-top: 1px solid var(--line); }

/* Login */
.erp-login > .wrap { display: grid; place-items: center; padding: 70px 0 100px; }
.login-card { width: min(480px, 100%); padding: 40px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: 0 60px 110px -50px rgba(52, 66, 137, .6); text-align: center; display: grid; gap: 6px; animation: dashin 1s var(--ease) both; }
.login-card img { width: 150px; height: auto; margin: 0 auto 12px; }
.login-card h1 { font-size: 1.9rem; letter-spacing: -.03em; }
.login-card hr { width: 100%; border: 0; border-top: 1px solid var(--line); margin: 18px 0 10px; }
.login-card .btn { margin-top: 10px; }
.pending { display: flex; gap: 12px; text-align: start; padding: 16px; border-radius: 16px; background: #fff7e6; border: 1px solid #f3dfae; color: #6b4a00; margin-top: 10px; }
.pending h2 { font-size: 1rem; margin: 0 0 4px; color: #6b4a00; letter-spacing: 0; }
.pending p { margin: 0; font-size: .9rem; color: #6b4a00; }
.pending > .ico { margin-top: 3px; }

/* 404 */
.nf > .wrap { padding: 100px 0 110px; }
.nf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.nf-code { font-family: var(--font-display); font-size: clamp(4.5rem, 12vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -.06em; margin: 0 0 10px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.nf-ar { font-family: var(--font-ar); padding-top: 18px; }
.nf-ar h2 { font-family: var(--font-ar); letter-spacing: 0; font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.3; }

/* ── Motion on scroll ──────────────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(34px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; filter: none; }
.js .service-card.reveal.is-in { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: opacity 1s var(--ease), filter 1s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease); }
.js .project-card.reveal.is-in, .js .glow-card.reveal.is-in { transition-property: opacity, filter, transform; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
  .words .w > span, .fade-up { transform: none; opacity: 1; }
  .ribbon .ribbon-lines path { stroke-dashoffset: 0; }
  .ticker__track { animation: none; }
  @view-transition { navigation: none; }
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .primary-nav ul a, .primary-nav summary { padding: 9px 9px; font-size: .91rem; }
  .nav { gap: 16px; }
  .app-row { grid-template-columns: repeat(5, 1fr); max-width: 660px; margin-inline: auto; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow-step::after { display: none; }
  .principles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .site-header.is-hidden { transform: none; }
  .primary-nav { position: fixed; inset: var(--nav-top, 78px) 0 0 0; flex-direction: column; align-items: stretch; gap: 0; padding: 14px 22px 30px; background: #fff; overflow-y: auto; transform: translateY(-10px); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), transform .4s var(--ease), visibility .3s; border-top: 1px solid var(--line); }
  .primary-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav ul a, .primary-nav summary { display: flex; padding: 16px 6px; font-size: 1.12rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .primary-nav ul a::after { display: none; }
  .nav-erp a { margin: 12px 0 0; border-radius: 999px !important; justify-content: center; }
  .nav-actions { margin: 20px 0 0; flex-direction: column; align-items: stretch; }
  .nav-actions .btn { min-height: 52px; }
  .lang-switch { justify-content: center; padding: 13px; border: 1px solid var(--line); }
  .mega-panel { position: static; border: 0; box-shadow: none; padding: 10px 0; border-radius: 0; animation: none; }
  .mega-grid { grid-template-columns: repeat(3, 1fr); }
  body.menu-open { overflow: hidden; }
  .hero-wv__grid, .erp-hero__grid, .case-hero, .product-band__grid, .flagship, .split, .contact-layout, .case-layout, .cta-band, .nf-grid { grid-template-columns: 1fr; }
  .hero-wv__grid { min-height: 0; padding-top: 56px; }
  .hero-wv__art { order: -1; max-height: 300px; margin-bottom: -20px; }
  .hero-wv__art .ribbon { width: 240px; }
  .hero-inner__art { width: 70%; opacity: .25; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card, .service-card:nth-child(-n+2) { grid-column: auto; min-height: 0; }
  .service-card:first-child { grid-column: 1 / -1; }
  .project-grid, .project-grid--featured { grid-template-columns: 1fr 1fr; }
  .project-grid--featured > :nth-child(n) { grid-column: auto; }
  .project-grid--featured > :first-child { grid-column: 1 / -1; }
  .process { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .process::before, .process::after { display: none; }
  .case-facts, .contact-aside { position: static; }
  .contact-form { margin-top: -60px; }
  .cta-band .actions { justify-content: flex-start; }
  .module-grid--3 { grid-template-columns: 1fr 1fr; }
  .boq-totals { grid-template-columns: 1fr 1fr; }
  .boq-totals .btn { grid-column: 1 / -1; justify-self: start; }
  .proj-cols, .industry__cols { grid-template-columns: 1fr; }
  .two-brands { grid-template-columns: 1fr; }
  .brand-arrow { transform: rotate(90deg); }
  .filters { top: 80px; }
  .product-band__screen .dash { transform: none !important; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 36px); }
  .nav { min-height: 68px; }
  .wv-logo img { height: 30px; }
  .hero-wv h1 { font-size: clamp(2.4rem, 11vw, 3.2rem); }
  .hero-wv .actions .btn, .erp-hero .actions .btn, .cta-band .actions .btn { width: 100%; }
  .hero-wv__art { max-height: 220px; }
  .hero-wv__art .ribbon { width: 170px; }
  .service-grid, .project-grid, .project-grid--featured, .product-list, .module-grid, .module-grid--3, .process, .principles, .flow, .field-row, .mini-modules { grid-template-columns: 1fr; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .app-row { grid-template-columns: repeat(5, 1fr); gap: 2px; }
  .app-row .app-tile { font-size: .7rem; padding: 6px 2px; }
  .app-row .app-icon--lg { width: 50px; height: 50px; border-radius: 15px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .dash-cols { grid-template-columns: 1fr; }
  .flagship__apps { grid-template-columns: repeat(5, 1fr); }
  .flagship__apps strong { display: none; }
  .mega-grid { grid-template-columns: repeat(2, 1fr); }
  .filter-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .filters { position: static; }
  .module-hero { grid-template-columns: 1fr; }
  .module-hero__icon { display: none; }
  .story-step { grid-template-columns: 1fr; padding: 22px; }
  .invoices li { grid-template-columns: 1fr auto; }
  .invoices li > span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .milestones li { grid-template-columns: 1fr 44px; }
  .milestones .track { grid-column: 1 / -1; grid-row: 2; }
  .erp-topbar span { display: none; }
  .erp-hero__logo { display: none; }
  .erp-hero__grid { padding-top: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .login-card { padding: 28px 20px; }
  .integration { flex-direction: column; }
  .contact-form { margin-top: -40px; }
  .cta-band { border-radius: 24px; }
}

/* ==========================================================================
   LIGHT THEME (owner request): every section on light grounds, colour used as accent.
   ========================================================================== */
.hero-wv, .hero-inner { color: var(--ink); background: #fbfcff; }
.hero-glow { background:
  radial-gradient(42% 50% at 80% 25%, rgba(74, 92, 168, .16), transparent 70%),
  radial-gradient(38% 45% at 70% 80%, rgba(102, 192, 190, .22), transparent 70%),
  radial-gradient(45% 50% at 0% 100%, rgba(79, 143, 191, .12), transparent 70%),
  linear-gradient(180deg, #fdfdff 0%, #f1f5fc 100%); }
.hero-wv :is(h1, h2, h3), .hero-inner :is(h1, h2, h3) { color: var(--ink); }
.hero-wv p, .hero-inner p, .hero-wv .lead { color: var(--muted); }
.kicker--light, .hero-wv .kicker, .hero-inner .kicker { color: var(--teal-ink); }
.hero-wv__art .ribbon { filter: drop-shadow(0 40px 60px rgba(74, 92, 168, .18)); }
.hero-inner__art { opacity: .5; }
.facts { border-top-color: var(--line); }
.facts b { background: linear-gradient(120deg, var(--indigo-deep), var(--blue) 60%, var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts span { color: var(--muted); }
.ticker { border-top: 1px solid var(--line); background: #fff; }
.ticker__track span { color: var(--indigo-ink); }
.crumbs li { color: var(--muted); }
.crumbs a { color: var(--indigo-deep); }
.crumbs a:hover { color: var(--teal-ink); }
.chip-nav a { border-color: var(--line-2); color: var(--indigo-ink); background: #fff; }
.chip-nav a:hover { border-color: var(--indigo); color: var(--indigo-deep); background: #fff; }
.domain-tag--light { background: #fff; color: var(--muted); border: 1px solid var(--line); }
.btn-glass { color: var(--indigo-ink); border-color: var(--line-2); background: rgba(255, 255, 255, .8); backdrop-filter: blur(8px); }
.btn-glass:hover { border-color: var(--indigo); background: #fff; }
.btn-white { background: var(--indigo-deep); color: #fff; box-shadow: 0 14px 30px -14px rgba(47, 64, 137, .7); }
.btn-white:hover { background: var(--indigo); }
.btn-outline-light { border-color: var(--line-2); color: var(--indigo-ink); }
.btn-outline-light:hover { border-color: var(--indigo); }
.section--night { background: var(--paper); color: var(--ink); }
.section--night :is(h1, h2, h3) { color: var(--ink); }
.section--night .lead, .section--night p { color: var(--muted); }
.service-card:nth-child(1) { background: linear-gradient(150deg, #eef1fd, #e5f4f4); border: 1px solid #dfe5f6; }
.service-card:nth-child(1) :is(h3, .more) { color: var(--ink); }
.service-card:nth-child(1) p { color: var(--muted); }
.service-card:nth-child(1) .service-icon { background: #fff; color: var(--indigo-deep); }
.service-card:nth-child(2) { background: linear-gradient(150deg, #f3fbfb, #f3f5fe); }
.product-band { color: var(--ink); background: linear-gradient(135deg, #eef1fd 0%, #f5f7ff 45%, #e6f5f4 100%); border-block: 1px solid var(--line); }
.product-band::after { background: radial-gradient(50% 60% at 90% 100%, rgba(102, 192, 190, .25), transparent 70%); }
.product-band__ribbon { opacity: .35; }
.product-band h2 { color: var(--ink); }
.product-band__head { color: var(--teal-ink) !important; }
.product-band .lead { color: var(--muted); }
.module-chips a { background: #fff; border-color: var(--line); color: var(--indigo-ink); }
.module-chips a:hover { background: #fff; border-color: var(--teal); }
.module-chips .ico { color: var(--teal-ink); }
.product-band__screen .dash { box-shadow: 0 60px 120px -50px rgba(47, 64, 137, .45); }
.cover { --c1: #e8ecfb; --c2: #def2f1; color: var(--indigo-deep); }
.cover--erp { --c1: #e5e9fb; --c2: #e1eefa; }
.cover--projects { --c1: #ebeefb; --c2: #e4e8fa; }
.cover--tendering { --c1: #dff2f1; --c2: #e3edf9; }
.cover--web { --c1: #e8ecfb; --c2: #def3f2; }
.cover--mobile { --c1: #e6eafb; --c2: #d9f0ef; }
.cover--industry { --c1: #edf0f7; --c2: #dceff0; }
.cover--retail { --c1: #ebeefc; --c2: #e0f2f4; }
.cover--interactive { --c1: #efeefc; --c2: #e2f1f7; }
.cover-icon { background: #fff; border-color: rgba(74, 92, 168, .14); color: var(--indigo-deep); box-shadow: 0 20px 40px -22px rgba(47, 64, 137, .45); }
.cover-label { color: var(--indigo-ink); opacity: .75; }
.cover-lines { opacity: .55; }
.cover-lines .ribbon-lines { stroke: url(#none) !important; }
.cover-lines .ribbon-lines path { stroke: var(--teal); }
.cover-lines .ribbon .ribbon-band { fill: var(--indigo); opacity: .55; }
.cover--hero { border-color: var(--line); }
.section--night .project-link { background: #fff; border-color: var(--line); }
.section--night .project-link:hover { background: #fff; }
.section--night .project-body p { color: var(--muted); }
.section--night .domain-tag { background: var(--paper); color: var(--muted); }
.section--night .more { color: var(--indigo-deep); }
.cta-band--wv, .cta-band--erp { background: linear-gradient(120deg, #eef1fd 0%, #f6f8ff 50%, #e2f4f3 100%); border: 1px solid #dfe5f6; }
.cta-band--wv h2, .cta-band--erp h2 { color: var(--ink); }
.cta-band--wv p, .cta-band--erp p { color: var(--muted); }
.cta-band__art { opacity: .45; }
.brand-card--wv { background: linear-gradient(150deg, #eef1fd, #e6f5f4); border: 1px solid var(--line); }
.brand-card--wv h3 { color: var(--ink); }
.brand-card--wv p { color: var(--muted); }
.site-footer { color: var(--ink); }
.wv-footer, .erp-footer { background: #f3f5fb; border-top: 1px solid var(--line); }
.footer-brand p { color: var(--muted); }
.site-footer h2 { color: var(--ink); }
.site-footer ul a { color: var(--muted); }
.site-footer ul a:hover { color: var(--indigo-deep); }
.footer-end { border-top-color: var(--line); color: var(--muted); }
.footer-end .lang-switch { color: var(--indigo-ink); }
.footer-end .lang-switch:hover { background: #fff; color: var(--indigo-deep); }
.wv-logo--light img { height: 40px; }
.erp-footer-brand { color: var(--erp-ink) !important; }
.footer-back { color: var(--navy); }
.erp-topbar { background: #eaf0fa; color: var(--navy-dark); border-bottom: 1px solid #dde6f3; }
.erp-topbar a { color: var(--navy); }
.erp-topbar a:hover { color: var(--teal-ink); }
.erp-flow-section { background: linear-gradient(170deg, #f1f6fb, #eef1fb 60%, #eaf6f5); color: var(--erp-ink); position: relative; isolation: isolate; }
.erp-flow-section h2 { color: var(--erp-ink); }
.erp-flow-section .lead { color: var(--muted); }
.flow-step { background: #fff; border-color: var(--line); backdrop-filter: none; }
.flow-step:hover { background: #fff; border-color: #9cc9d4; box-shadow: var(--shadow); }
.flow-n { color: #e3e9f3; }
.flow-step h3 { color: var(--erp-ink); }
.flow-step p { color: var(--muted); }
.flow-step a { color: var(--navy); }
.erp-hero { background: radial-gradient(55% 65% at 85% 10%, rgba(79, 137, 185, .16), transparent 70%), radial-gradient(50% 60% at 10% 0%, rgba(102, 192, 190, .2), transparent 70%), linear-gradient(180deg, #f3f8fb, #fbfcfe 70%, #fff); }
.erp-hero > .wrap, .erp-flow-section > .wrap { position: relative; z-index: 1; }

/* Floating WV ONE pointers */
.arrows-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.arrows-bg i { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: calc(var(--s) * 1.07); background: var(--c); opacity: 0; clip-path: polygon(0 39.8%, 100% 0, 73.3% 100%, 46.9% 59.8%); animation: fly var(--d) ease-in-out var(--dl) infinite; will-change: transform, opacity; }
[dir="rtl"] .arrows-bg i { left: auto; right: var(--x); }
@keyframes fly {
  0% { opacity: 0; transform: translate(0, 0) rotate(var(--r)) scale(.85); }
  20% { opacity: var(--o); }
  50% { transform: translate(calc(var(--dx) * .5), calc(var(--dy) * .7)) rotate(calc(var(--r) - 8deg)) scale(1); }
  80% { opacity: var(--o); }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--r)) scale(.9); }
}
[dir="rtl"] .arrows-bg i { animation-name: fly-rtl; }
@keyframes fly-rtl {
  0% { opacity: 0; transform: scaleX(-1) translate(0, 0) rotate(var(--r)); }
  20% { opacity: var(--o); }
  80% { opacity: var(--o); }
  100% { opacity: 0; transform: scaleX(-1) translate(var(--dx), var(--dy)) rotate(var(--r)); }
}
.cta-band--erp .arrows-bg { z-index: -1; }

/* Why / mission / values / timeline / contact */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why { padding: 30px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.why:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.why h3 { font-size: 1.2rem; margin-top: 4px; }
.why p { margin: 0; }
.why-icon { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: linear-gradient(140deg, rgba(102, 192, 190, .2), rgba(74, 92, 168, .16)); color: var(--indigo-deep); margin-bottom: 16px; }
.why-icon .ico { width: 24px; height: 24px; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 26px; }
.mv { padding: 36px; border-radius: 24px; background: #fff; border: 1px solid var(--line); }
.mv h2 { font-size: 1.7rem; }
.mv p { margin: 0; font-size: 1.07rem; }
.values { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.values .mini-title { margin: 0 8px 0 0; }
.values ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.values li { padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--indigo-ink); }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; margin: 0; padding: 30px 0 0; }
.timeline::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease); }
[dir="rtl"] .timeline::before { transform-origin: right; }
.timeline.is-in::before { transform: scaleX(1); }
.timeline b { display: block; font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.timeline p { margin: 6px 0 0; }
.contact-list { list-style: none; margin: 0; padding: 22px; display: grid; gap: 16px; border-radius: 20px; background: var(--paper); }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list li > .ico { color: var(--teal-ink); margin-top: 4px; }
.contact-list span { display: grid; gap: 2px; }
.contact-list small { color: var(--muted); font-size: .82rem; }
.contact-list a { font-weight: 600; color: var(--ink); }
.contact-list a:hover { color: var(--indigo-deep); }
.contact-form { margin-top: 0; }
.tech { display: flex; flex-wrap: wrap; gap: 6px; }
.tech span { padding: 3px 10px; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-size: .84rem; }

/* Guided demo tour */
.tour { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; scroll-margin-top: 110px; }
.tour-side { position: sticky; top: 110px; display: grid; gap: 18px; }
.tour-how { padding: 20px 22px; border-radius: 18px; background: #f2f7fa; }
.tour-how h2 { font-size: 1.05rem; margin-bottom: 10px; letter-spacing: -.01em; }
.tour-how ol { margin: 0; padding-inline-start: 18px; display: grid; gap: 6px; font-size: .9rem; color: var(--muted); }
.tour-steps { display: grid; gap: 8px; }
.tour-steps button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; text-align: start; border-radius: 16px; border: 1px solid var(--line); background: #fff; transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.tour-steps button:hover { border-color: #9cc9d4; transform: translateX(3px); }
[dir="rtl"] .tour-steps button:hover { transform: translateX(-3px); }
.tour-steps button[aria-selected="true"] { border-color: var(--navy); box-shadow: 0 16px 30px -20px rgba(52, 66, 137, .6); }
.tour-steps b { display: block; font-size: .98rem; color: var(--erp-ink); }
.tour-steps small { display: block; font-size: .82rem; color: var(--muted); }
.tour-n { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 11px; background: #eef2fb; color: var(--navy); font-weight: 800; transition: background .3s, color .3s; }
.tour-steps button[aria-selected="true"] .tour-n { background: var(--navy); color: #fff; }
.tour-done { margin-inline-start: auto; color: var(--teal-ink); opacity: 0; transition: opacity .3s; }
.tour-steps button.is-done .tour-done { opacity: 1; }
.tour-steps button.is-done .tour-n { background: #dcf1f0; color: var(--teal-ink); }
.tour-progress { height: 6px; border-radius: 99px; background: #e5ebf4; overflow: hidden; }
.tour-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--navy), var(--teal)); border-radius: inherit; transition: width .6s var(--ease); }
.tour-panel { animation: fadeup .5s var(--ease) both; }
.tour-step { margin: 0 0 4px; font-weight: 700; color: var(--teal-ink); font-size: .92rem; }
.tour-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 16px; }
.tour-explain { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.tour-explain > div { padding: 16px 18px; border-radius: 16px; background: #f5f8fc; border: 1px solid var(--line); }
.tour-explain h3 { display: flex; align-items: center; gap: 8px; font-size: .95rem; margin-bottom: 6px; letter-spacing: 0; }
.tour-explain p { margin: 0; font-size: .95rem; }
.tour-explain .tour-try { background: #e9f6f5; border-color: #cbe9e7; }
.tour-try h3 { color: var(--teal-ink); }
.tour-screen { border: 1px solid #d6e2ec; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -45px rgba(52, 66, 137, .55); }
.tour-screen .demo-url { display: inline-flex; align-items: center; gap: 6px; }
.tour-body { padding: 20px; display: grid; gap: 14px; }
.tour-body .bar-pair i { transform: none; }
.tour-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn.is-sent { background: #0f6b4b; }
.btn:disabled { cursor: default; transform: none; }
.tour-toast { margin: 14px 0 0; min-height: 0; font-weight: 600; color: #0f6b4b; }
.tour-toast:empty { display: none; }
.tour-toast.show { animation: fadeup .45s var(--ease) both; padding: 12px 16px; border-radius: 12px; background: #dcf4e9; }
.tour-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; }
.approvals li { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.approvals li > span { display: grid; }
.approvals li.is-approved { border-inline-start-color: #0f6b4b; background: #f1faf6; }
.kpi b.flash, .boq-totals b.flash { color: var(--teal-ink); }
.milestones input[type="range"] { width: 100%; accent-color: var(--teal-ink); }
.inv-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.inv-top h3 { margin-bottom: 4px; }
.inv-top p { margin: 0; }
.invoices li.is-new { animation: fadeup .5s var(--ease) both; border-color: var(--teal); }
.tour-finish { margin-top: 10px; padding: 22px; border-radius: 18px; background: linear-gradient(120deg, #eef1fd, #e2f4f3); animation: fadeup .6s var(--ease) both; }
.tour-finish h3 { font-size: 1.3rem; }
@media (max-width: 960px) {
  .tour { grid-template-columns: 1fr; }
  .tour-side { position: static; }
  .tour-steps { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .tour-explain, .mv-grid, .why-grid, .timeline { grid-template-columns: 1fr; }
  .tour-steps button small { display: none; }
  .tour-body { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) { .arrows-bg { display: none; } .timeline::before { transform: none; } }
.service-grid { grid-template-columns: repeat(12, 1fr); }
.service-card { grid-column: span 3; min-height: 250px; padding: 30px 26px 26px; }
.service-card:nth-child(-n+2) { grid-column: span 6; }
@media (max-width: 960px) { .service-card, .service-card:nth-child(-n+2) { grid-column: span 6; } .service-card:first-child { grid-column: span 12; } }
@media (max-width: 640px) { .service-grid { grid-template-columns: 1fr; } .service-card, .service-card:nth-child(n) { grid-column: auto; } }

/* Industries */
.industry-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 32px; }
.industry-card { display: flex; flex-direction: column; gap: 4px; padding: 30px 26px; border-radius: 22px; background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.industry-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.industry-card .industry__icon { margin-bottom: 14px; }
.industry-card h3 { font-size: 1.35rem; }
.industry-card p { flex: 1; }
.ind-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.ind-tabs a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); font-weight: 700; color: var(--erp-ink); transition: border-color .3s, transform .4s var(--ease), box-shadow .4s; }
.ind-tabs a .ico { color: var(--navy); width: 20px; height: 20px; }
.ind-tabs a:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: var(--shadow); }
.industry-block { scroll-margin-top: 90px; }
.industry-top { display: flex; gap: 22px; align-items: flex-start; margin-bottom: 36px; }
.industry-top .industry__icon { width: 70px; height: 70px; border-radius: 22px; }
.industry-top .industry__icon .ico { width: 34px; height: 34px; }
.industry-top h2 { max-width: 22ch; }
.industry-top .lead { margin: 0; }
.industry-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 20px; margin-bottom: 20px; }
.pains, .helps { padding: 28px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.pains h3, .helps h3, .industry-story h3 { font-size: 1.15rem; letter-spacing: -.01em; margin-bottom: 16px; }
.pains ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pains li { position: relative; padding: 14px 16px 14px 46px; border-radius: 14px; background: #fff6f3; color: #7a3b28; font-weight: 500; }
[dir="rtl"] .pains li { padding: 14px 46px 14px 16px; }
.pains li::before { content: ""; position: absolute; inset-inline-start: 16px; top: 18px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #e3a58f; }
.helps ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.helps a { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease), box-shadow .4s; }
.helps a:hover { border-color: #9cc9d4; transform: translateX(4px); box-shadow: var(--shadow); }
[dir="rtl"] .helps a:hover { transform: translateX(-4px); }
.helps b { display: block; color: var(--erp-ink); }
.helps small { display: block; color: var(--muted); font-size: .9rem; }
.helps .go { margin-inline-start: auto; color: var(--navy); }
.industry-story { padding: 26px 28px; border-radius: 22px; background: linear-gradient(120deg, #eef1fd, #e3f4f3); margin-bottom: 16px; }
.industry-story p { margin: 0; color: var(--erp-ink); font-size: 1.08rem; }
.specialties { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.specialties > span { font-weight: 700; color: var(--erp-ink); margin-inline-end: 6px; }
.specialties ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.specialties li { padding: 8px 15px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .92rem; color: var(--navy-dark); }
.custom-note { display: flex; gap: 10px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px dashed #9cc9d4; color: var(--erp-ink); margin: 0; }
.custom-note .ico { color: var(--teal-ink); margin-top: 4px; }
@media (max-width: 960px) { .industry-cards, .industry-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .industry-top { flex-direction: column; } }
.pains li, [dir="rtl"] .pains li { padding: 14px 18px; border-inline-start: 3px solid #e3a58f; }
.pains li::before { display: none; }

/* WV product family */
.family-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.family-grid--small { grid-template-columns: repeat(3, 1fr); }
.family-card { display: flex; flex-direction: column; gap: 6px; padding: 24px 24px 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.family-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.family-logo { display: grid; place-items: center; height: 110px; padding: 10px 6px; margin-bottom: 10px; border-radius: 16px; background: linear-gradient(140deg, #f7f9ff, #f1f9f9); }
.family-logo img { max-height: 84px; width: auto; max-width: 100%; transition: transform .6s var(--ease); }
.family-card:hover .family-logo img { transform: scale(1.05); }
.family-cat { font-weight: 700; color: var(--teal-ink); font-size: .9rem; }
.family-card p { font-size: .96rem; flex: 1; }
.family-block { margin: 70px 0 60px; }
.list-title { font-size: 1.6rem; margin: 0 0 22px; }
.product-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.product-hero__logo { padding: 34px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.product-hero__logo img { width: 100%; height: auto; }
.product-hero .kicker { margin-bottom: 12px; }
@media (max-width: 1100px) { .family-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 960px) { .family-grid, .family-grid--small { grid-template-columns: 1fr 1fr; } .product-hero__grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .family-grid, .family-grid--small { grid-template-columns: 1fr; } }

/* ── Product screens (illustrative, sample data) ─────────────────────── */
.screen-section { background: radial-gradient(60% 60% at 50% 0%, rgba(102, 192, 190, .14), transparent 70%), #fff; overflow: hidden; }
.screen-stage { max-width: 1060px; margin-inline: auto; perspective: 1600px; }
.mock { margin: 0; border-radius: 22px; background: #fff; border: 1px solid #d9e2ef; box-shadow: 0 70px 120px -60px rgba(31, 42, 102, .55), 0 2px 0 rgba(255, 255, 255, .8) inset; overflow: hidden; font-size: 13.5px; color: var(--ink); transform: rotateX(6deg) translateY(20px); transition: transform 1.2s var(--ease); }
.is-in .mock, .screen-stage.is-in .mock { transform: none; }
.mock-bar { display: flex; align-items: center; gap: 14px; padding: 12px 18px; background: linear-gradient(180deg, #f7f9fd, #f1f5fb); border-bottom: 1px solid var(--line); }
.mock-bar img { height: 30px; width: auto; }
.mock-title { font-weight: 700; color: var(--indigo-ink); }
.mock-bar .demo-badge { margin-inline-start: auto; }
.mock-body { padding: 18px; background: #fbfcfe; }
.mock figcaption { padding: 9px 18px; font-size: .78rem; color: var(--muted); border-top: 1px solid var(--line); background: #fff; }
.m-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.m-head b { font-size: .95rem; }
.m-head small { color: var(--muted); }
.m-input { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; color: var(--muted); margin-bottom: 14px; }
.m-input .ico { color: var(--teal-ink); }
.m-input kbd { margin-inline-start: auto; font-family: ui-monospace, Menlo, monospace; font-size: .8rem; padding: 2px 8px; border-radius: 6px; background: var(--paper); color: var(--ink); }
.m-btn { display: inline-flex; align-items: center; justify-content: center; padding: 11px 16px; border-radius: 12px; font-weight: 700; background: var(--indigo-deep); color: #fff; }
.m-btn--ghost { background: #fff; color: var(--indigo-ink); border: 1px solid var(--line-2); }
.m-track { display: block; height: 7px; border-radius: 99px; background: #e5ebf4; overflow: hidden; }
.m-track i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--teal)); transition: width 1.4s var(--ease) .3s; }
.is-in .m-track i { width: var(--w); }
.m-track--ok i { background: linear-gradient(90deg, #2f9e78, #4cc29a); }
.m-pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .74rem; font-weight: 700; background: #eaedf3; color: #4e5b70; white-space: nowrap; }
.m-pill--ok { background: #dcf4e9; color: #0f6b4b; }
.m-pill--low { background: #fbecd2; color: #74480a; }
.m-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.m-table th { text-align: start; font-size: .76rem; color: var(--muted); font-weight: 600; padding: 9px 12px; background: #f4f7fb; }
.m-table td { padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: middle; }
.m-table td small { display: block; color: var(--muted); font-size: .74rem; }
/* Stagger children in */
.mock [style*="--i"] { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(.35s + var(--i) * 80ms); }
.is-in .mock [style*="--i"] { opacity: 1; transform: none; }

/* POS */
.pos { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.pos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pos-tile { display: grid; gap: 4px; padding: 14px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.pos-tile b { font-size: .88rem; }
.pos-tile small { color: var(--teal-ink); font-weight: 700; }
.pos-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(140deg, rgba(102, 192, 190, .22), rgba(74, 92, 168, .16)); color: var(--indigo-deep); margin-bottom: 4px; }
.pos-right { display: flex; flex-direction: column; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.pos-cart { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; flex: 1; }
.pos-cart li { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 8px; border-bottom: 1px dashed var(--line-2); }
.pos-cart small { display: block; color: var(--muted); font-size: .76rem; }
.pos-sum { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; color: var(--muted); font-size: .86rem; margin-bottom: 10px; }
.pos-sum b { color: var(--ink); text-align: end; }
.pos-total { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 14px; border-radius: 12px; background: linear-gradient(120deg, var(--indigo-ink), var(--indigo)); color: #fff; margin-bottom: 10px; }
.pos-total b { font-family: var(--font-display); font-size: 1.35rem; }
.pos-pay { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px; }
/* GOLD */
.gold-rates { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 10px; align-items: center; margin-bottom: 14px; }
.gold-rate { padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.gold-rate small { font-weight: 800; color: #9a6a1f; }
.gold-rate b { display: block; font-family: var(--font-display); font-size: 1.3rem; }
.gold-rate span { font-size: .72rem; color: var(--muted); }
.gold-rate.is-on { background: linear-gradient(140deg, #fff6e2, #fdecc4); border-color: #efd59a; }
.gold-live { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .8rem; color: #0f6b4b; }
.gold-live i { width: 8px; height: 8px; border-radius: 50%; background: #2f9e78; animation: pulse 1.6s infinite; box-shadow: 0 0 0 3px rgba(47, 158, 120, .2); }
.gold-cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; }
.gold-calc, .gold-items { padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.gold-calc dl { display: grid; gap: 6px; margin: 0 0 12px; }
.gold-calc dl div { display: flex; justify-content: space-between; color: var(--muted); }
.gold-calc dd { margin: 0; color: var(--ink); font-weight: 700; }
.gold-calc .pos-total { background: linear-gradient(120deg, #8a5a14, #c4922f); margin: 0; }
.gold-items ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.gold-items li { display: flex; align-items: center; gap: 12px; }
.gold-items small { display: block; color: var(--muted); font-size: .76rem; }
.gold-dot { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(140deg, #fff3d6, #f3d48e); color: #74480a; font-weight: 800; font-size: .78rem; }
/* FACTORY */
.fac-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 14px; }
.fac-flow span { padding: 9px 10px; border-radius: 10px; text-align: center; font-weight: 700; font-size: .82rem; background: #eef1f7; color: var(--muted); }
.fac-flow span.is-on { background: linear-gradient(120deg, #e3e9fb, #ddf2f1); color: var(--indigo-ink); }
.fac-cols { display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; align-items: start; }
.fac-cols .m-table td:last-child { min-width: 110px; }
.fac-bom { padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.fac-bom ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fac-bom li { display: flex; justify-content: space-between; padding: 8px 10px; border-radius: 10px; background: #f6f8fc; }
/* STOCK */
.stk-tabs, .ptl-tabs { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.stk-tabs span, .ptl-tabs span { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-weight: 600; font-size: .84rem; color: var(--muted); }
.stk-tabs .is-on, .ptl-tabs .is-on { background: var(--indigo-ink); color: #fff; border-color: var(--indigo-ink); }
.stk-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.stk-kpis .kpi b { font-size: 1.3rem; }
/* PROJECTS */
.prj { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; }
.gantt { padding: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.gantt-head, .gantt-row { display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 10px; }
.gantt-head { grid-template-columns: 130px repeat(10, 1fr); font-size: .72rem; color: var(--muted); margin-bottom: 8px; }
.gantt-row { padding: 7px 0; border-top: 1px solid var(--line); font-size: .84rem; }
.gantt-lane { position: relative; height: 22px; background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), #eef1f7 calc(10% - 1px) 10%); }
.gantt-lane i { position: absolute; top: 3px; bottom: 3px; inset-inline-start: calc(var(--s) * 10%); width: calc(var(--l) * 10%); border-radius: 7px; background: #e3e9f6; overflow: hidden; }
.gantt-lane em { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--indigo), var(--teal)); transition: width 1.4s var(--ease); transition-delay: calc(.4s + var(--i) * .12s); }
[dir="rtl"] .gantt-lane em { inset: 0 0 0 auto; }
.is-in .gantt-lane em { width: calc(var(--p) * 1%); }
.prj-side { display: grid; gap: 12px; align-content: start; }
.prj-card { padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.prj-card dl { display: grid; gap: 6px; margin: 0; }
.prj-card dl div { display: flex; justify-content: space-between; color: var(--muted); }
.prj-card dd { margin: 0; font-weight: 700; color: var(--ink); }
.prj-vo { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.prj-vo li { display: flex; justify-content: space-between; gap: 8px; align-items: center; font-size: .84rem; }
/* TENDER */
.tdr { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tdr-col { padding: 12px; border-radius: 16px; background: #f1f4f9; min-height: 220px; }
.tdr-colhead { display: flex; justify-content: space-between; margin-bottom: 10px; }
.tdr-colhead span { display: grid; place-items: center; min-width: 22px; height: 22px; border-radius: 7px; background: #fff; font-size: .78rem; font-weight: 700; }
.tdr-card { display: grid; gap: 8px; padding: 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 18px -14px rgba(31, 42, 102, .5); margin-bottom: 8px; }
.tdr-card b { font-size: .86rem; line-height: 1.35; }
.tdr-meta { display: flex; justify-content: space-between; align-items: center; gap: 6px; flex-wrap: wrap; font-size: .78rem; color: var(--muted); }
/* PORTAL */
.ptl-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.ptl-main, .ptl-side { padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.ptl-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.ptl-head small { display: block; color: var(--muted); }
.ring--sm { width: 70px; height: 70px; }
.ring--sm span { font-size: 1.05rem; }
.ptl-wp { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ptl-wp li { display: grid; grid-template-columns: 120px 1fr 40px; gap: 10px; align-items: center; font-size: .86rem; }
.ptl-wp b { text-align: end; }
.ptl-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ptl-feed li { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; }
.ptl-feed li > .ico { color: var(--teal-ink); margin-top: 3px; }
.ptl-feed small { display: block; color: var(--muted); font-size: .76rem; }
@media (max-width: 860px) {
  .pos, .gold-cols, .fac-cols, .prj, .ptl-cols { grid-template-columns: 1fr; }
  .tdr { grid-template-columns: 1fr 1fr; }
  .gold-rates { grid-template-columns: 1fr 1fr; }
  .stk-kpis { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .mock { font-size: 12.5px; transform: none; }
  .mock-bar img { height: 24px; }
  .mock-bar .demo-badge { display: none; }
  .pos-grid { grid-template-columns: 1fr 1fr; }
  .tdr { grid-template-columns: 1fr; }
  .fac-flow { grid-template-columns: 1fr 1fr; }
  .gantt-head, .gantt-row { grid-template-columns: 90px 1fr; }
  .gantt-head { grid-template-columns: 90px repeat(10, 1fr); }
  .m-table { font-size: .78rem; }
  .ptl-wp li { grid-template-columns: 90px 1fr 36px; }
}
@media (prefers-reduced-motion: reduce) { .mock, .mock [style*="--i"] { transform: none; opacity: 1; } .m-track i { width: var(--w); } .gantt-lane em { width: calc(var(--p) * 1%); } }

/* ── Animated scenes (replace static icon tiles) ─────────────────────── */
.scene { display: block; width: 150px; height: 94px; margin-bottom: 18px; border-radius: 18px; background: linear-gradient(150deg, #f4f6fe, #eef8f8); overflow: hidden; flex: none; }
.scene svg { width: 100%; height: 100%; display: block; }
.scene--lg { width: 220px; height: 138px; border-radius: 24px; }
.scene--sm { width: 110px; height: 69px; border-radius: 14px; margin-bottom: 0; }
.service-card:nth-child(1) .scene, .industry-story .scene { background: rgba(255, 255, 255, .75); }
.scene * { transform-box: fill-box; }
/* shared */
.s-draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: s-draw 3.6s var(--ease) infinite; }
@keyframes s-draw { 0% { stroke-dashoffset: 1; } 45%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.s-pulse { transform-origin: center; animation: s-pulse 1.8s ease-in-out infinite; }
@keyframes s-pulse { 50% { transform: scale(1.5); opacity: .5; } }
.s-float { animation: s-float 3.2s ease-in-out infinite; }
@keyframes s-float { 50% { transform: translateY(-5px); } }
.s-pop { transform-origin: center; animation: s-pop 3.6s var(--ease) infinite; }
@keyframes s-pop { 0%, 55% { transform: scale(0); } 70%, 95% { transform: scale(1); } 100% { transform: scale(0); } }
.s-in { transform-origin: left center; animation: s-in 4.2s var(--ease) infinite; animation-delay: calc(var(--i) * .18s); }
@keyframes s-in { 0% { opacity: 0; transform: translateY(6px) scale(.96); } 15%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; } }
/* erp */
.s-bars rect { transform-origin: bottom; animation: s-bar 3.6s var(--ease) infinite; animation-delay: calc(var(--i) * .1s); }
@keyframes s-bar { 0% { transform: scaleY(.1); } 35%, 85% { transform: scaleY(1); } 100% { transform: scaleY(.1); } }
/* mobile */
.s-scroll { animation: s-scroll 5s linear infinite; }
@keyframes s-scroll { from { transform: translateY(0); } to { transform: translateY(-64px); } }
/* boq */
.s-fill { transform-origin: left; animation: s-fill 3.6s var(--ease) infinite; animation-delay: calc(var(--i) * .3s); }
@keyframes s-fill { 0% { transform: scaleX(0); } 25%, 90% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
/* pos */
.s-scan { animation: s-scan 2.4s ease-in-out infinite; }
@keyframes s-scan { 50% { transform: translateY(44px); } }
.s-print { animation: s-print 3s var(--ease) infinite; }
@keyframes s-print { 0% { opacity: 0; transform: translateY(-8px); } 30%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
/* sync */
.s-go { animation: s-go 2s ease-in-out infinite; }
.s-back { animation: s-back 2s ease-in-out infinite .5s; }
@keyframes s-go { 0% { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(44px); opacity: 0; } }
@keyframes s-back { 0% { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(-44px); opacity: 0; } }
/* ai */
.s-node { transform-origin: center; animation: s-node 2.4s ease-in-out infinite; animation-delay: calc(var(--i) * .15s); }
@keyframes s-node { 50% { transform: scale(1.25); filter: brightness(1.15); } }
.s-signal { stroke-dasharray: .25 1; stroke-dashoffset: 1.25; animation: s-signal 2.2s linear infinite; }
.s-signal--2 { animation-delay: 1.1s; }
@keyframes s-signal { to { stroke-dashoffset: 0; } }
/* shield */
.s-scanv { animation: s-scanv 2.6s ease-in-out infinite; }
@keyframes s-scanv { 50% { transform: translateY(74px); } }
.s-orbit { transform-origin: center; animation: s-spin 14s linear infinite; }
@keyframes s-spin { to { transform: rotate(360deg); } }
/* cloud */
.s-led { animation: s-led 1.2s steps(2) infinite; animation-delay: calc(var(--i) * .3s); }
@keyframes s-led { 50% { opacity: .2; } }
.s-up { animation: s-up 2s ease-in-out infinite; }
@keyframes s-up { 0% { transform: translateY(8px); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(-8px); opacity: 0; } }
/* brand */
.s-swatch { transform-origin: center; animation: s-swatch 3s ease-in-out infinite; animation-delay: calc(var(--i) * .25s); }
@keyframes s-swatch { 50% { transform: scale(1.15) translateY(-3px); } }
.s-grow { transform-origin: left; animation: s-fill 3.6s var(--ease) infinite; }
/* team */
.s-bob { animation: s-float 2.8s ease-in-out infinite; animation-delay: calc(var(--i) * .3s); }
/* clock */
.s-ring { stroke-dasharray: 1; stroke-dashoffset: 1; animation: s-ring 3.4s var(--ease) infinite; }
@keyframes s-ring { 0% { stroke-dashoffset: 1; } 70%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.s-hand { transform-origin: bottom center; animation: s-spin 3.4s linear infinite; }
/* chat */
.s-bubble { animation: s-bubble 4.5s var(--ease) infinite; animation-delay: calc(var(--i) * .6s); }
@keyframes s-bubble { 0% { opacity: 0; transform: translateY(8px) scale(.95); } 12%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.s-typing { animation: s-typing 1s ease-in-out infinite; animation-delay: calc(var(--i) * .15s); }
@keyframes s-typing { 50% { transform: translateY(-3px); opacity: .4; } }
/* lang */
.s-spin { transform-origin: center; animation: s-spin 8s linear infinite; }
.s-spin text { transform-origin: center; animation: s-spin 8s linear infinite reverse; }
/* target */
.s-arrow { animation: s-arrow 2.8s var(--ease) infinite; }
@keyframes s-arrow { 0% { transform: translate(60px, -34px); opacity: 0; } 30% { opacity: 1; } 45%, 90% { transform: none; opacity: 1; } 100% { opacity: 0; } }
.s-ripple { transform-origin: center; animation: s-ripple 2.8s ease-out infinite; }
@keyframes s-ripple { 0%, 45% { transform: scale(1); opacity: 0; } 50% { opacity: 1; } 100% { transform: scale(3.4); opacity: 0; } }
/* vision */
.s-rise { animation: s-rise 4s ease-in-out infinite; }
@keyframes s-rise { 0% { transform: translateY(30px); } 50%, 80% { transform: translateY(-12px); } 100% { transform: translateY(30px); } }
.s-flag { transform-origin: left center; animation: s-flag 1.6s ease-in-out infinite; }
@keyframes s-flag { 50% { transform: scaleX(.75); } }
/* build */
.s-floor { transform-origin: bottom; animation: s-floor 4.8s var(--ease) infinite; animation-delay: calc(var(--i) * .35s); }
@keyframes s-floor { 0% { opacity: 0; transform: translateY(-16px); } 12%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.s-hook { animation: s-hook 2.4s ease-in-out infinite; }
@keyframes s-hook { 50% { transform: scaleY(1.8); } }
/* gears */
.s-gear { animation: s-spin 6s linear infinite; }
.s-gear--rev { animation-direction: reverse; animation-duration: 4s; }
/* trade */
.s-belt { animation: s-belt 3s linear infinite; }
@keyframes s-belt { from { transform: translateX(0); } to { transform: translateX(40px); } }
/* qr */
.s-cell { animation: s-cell 3.6s var(--ease) infinite; animation-delay: calc(var(--i) * .08s); }
@keyframes s-cell { 0% { opacity: 0; } 25%, 85% { opacity: 1; } 100% { opacity: 0; } }
.scene--qr .s-scan { animation: s-scanqr 2.4s ease-in-out infinite; }
@keyframes s-scanqr { 50% { transform: translateY(66px); } }
/* mail */
.s-letter { animation: s-letter 3s var(--ease) infinite; }
@keyframes s-letter { 0%, 20% { transform: translateY(14px); } 50%, 80% { transform: translateY(-6px); } 100% { transform: translateY(14px); } }
/* tasks */
.s-tick { stroke-dasharray: 1; stroke-dashoffset: 1; animation: s-tick 3.6s var(--ease) infinite; animation-delay: calc(var(--i) * .5s); }
@keyframes s-tick { 0% { stroke-dashoffset: 1; } 20%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
/* Pause scenes that are off screen (JS toggles .scene-off) */
.scene-off * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .scene * { animation: none !important; stroke-dashoffset: 0 !important; opacity: 1 !important; transform: none !important; } }

/* Placement of scenes in existing components */
.cover-icon { width: auto; height: auto; padding: 0; background: transparent; border: 0; box-shadow: none; backdrop-filter: none; }
.cover-icon .scene { width: 150px; height: 94px; margin: 0; background: rgba(255, 255, 255, .92); box-shadow: 0 20px 40px -22px rgba(47, 64, 137, .45); }
.cover--hero .cover-icon .scene { width: 240px; height: 150px; border-radius: 26px; }
.project-link:hover .cover-icon { transform: translateY(-4px); }
.industry-card .scene { margin-bottom: 18px; }
.industry-top .scene { margin: 0; }
.integration .scene { background: #f2f6fb; }
.honest-box .scene { background: rgba(255, 255, 255, .8); }
.product-item .scene { margin-top: 2px; }
.mv .scene { margin-bottom: 20px; }
@media (max-width: 640px) { .scene--lg { width: 180px; height: 112px; } }

/* Home: WV ONE band uses the WV ONE identity, not Web Value's */
.product-band--erp { position: relative; isolation: isolate; color: var(--erp-ink); background: radial-gradient(60% 70% at 85% 10%, rgba(79, 137, 185, .2), transparent 70%), radial-gradient(50% 60% at 10% 0%, rgba(102, 192, 190, .26), transparent 70%), linear-gradient(180deg, #eef6f8, #f7fafd 70%, #fff); border-block: 1px solid #dde8ef; padding-bottom: 20px; }
.product-band--erp::after { display: none; }
.product-band--erp > .wrap { position: relative; z-index: 1; }
.product-band--erp .arrows-bg { z-index: 0; }
.product-band--erp h2 { color: var(--erp-ink); font-size: clamp(2.1rem, 4vw, 3.4rem); letter-spacing: -.05em; line-height: 1.05; margin: 6px 0 14px; }
html[lang="ar"] .product-band--erp h2 { letter-spacing: 0; line-height: 1.3; }
.product-band--erp .lead { color: var(--muted); margin-bottom: 30px; }
.erp-band-kicker { font-weight: 700; color: var(--navy); margin: 0 0 14px; }
.erp-band-logo { width: 170px; height: auto; margin-bottom: 8px; }
.product-band--erp .handwritten { animation: none; }
.product-band--erp .pointer { animation: none; }
.product-band--erp .btn { border-radius: 8px; }
.product-band--erp .product-band__screen .dash { box-shadow: 0 50px 100px -40px rgba(52, 66, 137, .55); }
.app-row--band { padding: 46px 0 40px; }
.app-row--band .app-tile { opacity: 1; animation: none; }

/* Contact form: compose mode (WhatsApp / email) */
.form-foot { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-wa { background: #12a46b; color: #fff; border-color: #12a46b; box-shadow: 0 12px 24px rgba(18, 164, 107, .22); }
.btn-wa:hover { background: #0e8f5d; border-color: #0e8f5d; }
.btn-outline { background: #fff; color: var(--indigo-ink); border: 1.5px solid var(--line-2); }
.btn-outline:hover { border-color: var(--indigo); }
@media (max-width: 560px) { .form-foot .btn { flex: 1 1 100%; } }
