/* NGS TECH — site stylesheet
   Layout concept: dark navy bands (heroes, quote band) carrying the blueprint grid, blue glow and
   schematic illustrations of the brand brochure; light "paper" bands for reading. Header and footer are
   white so the official logo (drawn for light backgrounds) shows in its true colours.
   Logical properties throughout so the Arabic version mirrors cleanly. */
:root {
  --night: #0A1222;
  --night-2: #101B30;
  --night-3: #16243D;
  --night-line: rgba(140, 170, 220, 0.14);
  --on-night: #E7EEF8;
  --on-night-2: #A2B3CC;
  --sky: #4BBEF5;
  --violet: #9A8CF2;
  --paper: #F4F7FB;
  --white: #FFFFFF;
  --ink: #0C1627;
  --ink-2: #4A5870;
  --rule: #DCE3ED;
  --blue: #1A66D6;
  --blue-deep: #1250AE;
  --blue-soft: #E8F1FC;
  --ok: #138A5B;
  --danger: #B42318;
  --font-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ar: "Cairo", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --radius: 12px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
html[lang="ar"] body { font-family: var(--font-ar); line-height: 1.85; }
img, svg { max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.on-night :focus-visible { outline-color: var(--sky); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { font-family: var(--font-ar); letter-spacing: 0; line-height: 1.35; }
h1 { font-size: clamp(2rem, 1.35rem + 2.8vw, 3.35rem); font-weight: 760; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.15rem); font-weight: 720; }
h3 { font-size: 1.12rem; font-weight: 680; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--white); color: var(--ink); padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }
.ltr { direction: ltr; unicode-bidi: isolate; }

.wrap { max-width: 1180px; margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.narrow { max-width: 860px; }

/* Eyebrow + lead */
.eyebrow { font-size: 0.78rem; font-weight: 650; text-transform: uppercase; letter-spacing: 0.16em; color: var(--blue); }
.on-night .eyebrow { color: var(--sky); }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 0.9rem; text-transform: none; }
.lead { font-size: clamp(1.06rem, 1rem + 0.3vw, 1.2rem); color: var(--ink-2); max-width: 64ch; }
.on-night .lead { color: var(--on-night-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 10px; font-weight: 650; font-size: 1rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.2; transition: background-color .15s, border-color .15s, color .15s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-deep); color: var(--white); }
.on-night .btn--primary { background: var(--sky); color: var(--night); }
.on-night .btn--primary:hover { background: #7ED0F8; color: var(--night); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.on-night .btn--ghost { color: var(--on-night); border-color: rgba(231, 238, 248, 0.28); }
.on-night .btn--ghost:hover { border-color: var(--sky); color: var(--sky); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 0.94rem; }
.btn[disabled] { opacity: 0.7; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
html[dir="rtl"] .flip, html[dir="rtl"] .card__more svg, html[dir="rtl"] .guide-strip svg, html[dir="rtl"] .more-link svg { transform: scaleX(-1); }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--white); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255, 255, 255, 0.97); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--rule); box-shadow: 0 6px 24px rgba(10, 18, 34, 0.07); color: var(--ink); }
.header__row { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; line-height: 0; border-radius: 6px; }
.logo__img { display: block; height: 42px; width: auto; max-width: none; }
.site-footer .logo__img { height: 48px; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex: 1; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__list > li > a, .dropdown > summary { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 550; font-size: 0.98rem; cursor: pointer; list-style: none; }
.dropdown > summary::-webkit-details-marker { display: none; }
.dropdown > summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .7; }
.nav__list > li > a:hover, .dropdown > summary:hover, .nav__list > li > a[aria-current="page"] { background: var(--blue-soft); color: var(--night); }
.dropdown { position: relative; }
.dropdown__panel { position: absolute; inset-inline-start: 0; top: calc(100% + 10px); width: min(640px, 90vw); background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: 0 24px 48px rgba(10, 18, 34, 0.14); padding: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.dropdown__panel a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 0.95rem; line-height: 1.3; }
.dropdown__panel a:hover { background: var(--paper); color: var(--night); }
.dropdown__panel svg { width: 18px; height: 18px; color: var(--blue); flex: none; }
.dropdown__sub { grid-column: 1 / -1; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-2); padding: 10px 10px 2px; border-top: 1px solid var(--rule); margin-top: 6px; }
.dropdown__panel ul { display: contents; list-style: none; }
.nav__aside { display: flex; align-items: center; gap: 14px; }
.langs { display: flex; gap: 2px; list-style: none; font-size: 0.85rem; font-weight: 650; }
.langs a { display: inline-block; padding: 6px 8px; border-radius: 6px; color: var(--ink-2); text-decoration: none; }
.langs a:hover { color: var(--night); background: var(--blue-soft); }
.langs a[aria-current="true"] { color: var(--white); background: var(--night); }
.nav-toggle { display: none; margin-inline-start: auto; background: transparent; border: 1px solid var(--rule); color: var(--night); border-radius: 8px; width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span.bar, .nav-toggle span.bar::before, .nav-toggle span.bar::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; content: ""; }
.nav-toggle span.bar::before { position: absolute; top: -6px; }
.nav-toggle span.bar::after { position: absolute; top: 6px; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .js .nav { display: none; }
  .js .nav.is-open { display: flex; }
  .nav { position: absolute; inset-inline: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--white); border-bottom: 1px solid var(--rule); box-shadow: 0 18px 30px rgba(10, 18, 34, 0.12); padding: 12px var(--gutter-r) 20px var(--gutter-l); max-height: calc(100vh - 68px); overflow-y: auto; }
  .nav__list { flex-direction: column; align-items: stretch; }
  .dropdown__panel { position: static; width: auto; grid-template-columns: 1fr; box-shadow: none; margin-top: 4px; }
  .nav__aside { justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--rule); }
  .header__row { position: relative; }
}

/* Heroes */
.on-night { background: var(--night); color: var(--on-night); }
.hero {
  position: relative;
  background:
    radial-gradient(55% 65% at 88% 12%, rgba(37, 99, 235, 0.38), transparent 70%),
    radial-gradient(40% 55% at 0% 105%, rgba(20, 184, 166, 0.13), transparent 70%),
    linear-gradient(var(--night-line) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, var(--night-line) 1px, transparent 1px) 0 0 / 56px 56px,
    var(--night);
  padding-block: clamp(36px, 5vw, 72px) clamp(28px, 4vw, 48px);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero__text { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.hero__text--article { max-width: 820px; }
.hero h1 { color: var(--white); }
.article-meta { font-size: 0.9rem; color: var(--on-night-2); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; font-size: 0.86rem; color: var(--on-night-2); }
.crumbs li + li::before { content: "/"; margin-inline-end: 6px; opacity: .5; }
.crumbs a { color: var(--on-night-2); text-decoration: none; }
.crumbs a:hover { color: var(--white); text-decoration: underline; }
.orbit { width: 100%; max-width: 440px; justify-self: center; }
.commit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; margin-top: clamp(28px, 4vw, 44px); }
.commit li { display: flex; align-items: baseline; gap: 12px; padding: 14px 16px; border: 1px solid var(--night-line); border-radius: 10px; background: rgba(16, 27, 48, 0.6); }
.commit b { font-family: var(--font-display); font-size: 1.6rem; color: var(--sky); font-weight: 750; white-space: nowrap; direction: ltr; }
.commit span { font-size: 0.9rem; color: var(--on-night-2); line-height: 1.35; }
.hero-form { min-width: 0; }

/* Schematic illustrations (brochure style) */
.ill { width: 100%; max-width: 520px; height: auto; display: block; justify-self: center; }
.ill-bg { fill: rgba(13, 22, 40, 0.72); stroke: rgba(140, 170, 220, 0.2); }
.ill .p { fill: #0E1A30; stroke: rgba(126, 211, 250, 0.5); stroke-width: 1.4; }
.ill .p2 { fill: #13223D; stroke: rgba(126, 211, 250, 0.28); stroke-width: 1.2; }
.ill .pk { stroke: #4BBEF5; stroke-width: 2; }
.ill .edge { stroke: #4BBEF5; }
.ill .s, .ill .sv, .ill .sg, .ill .s2, .ill .sr, .ill .act, .ill .paperline { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ill .s { stroke: #4BBEF5; stroke-width: 1.6; }
.ill .sv { stroke: #A99CF6; stroke-width: 1.6; }
.ill .sg { stroke: #34D399; stroke-width: 1.6; }
.ill .s2 { stroke: rgba(126, 211, 250, 0.34); stroke-width: 1.2; }
.ill .sr { stroke: #F87171; stroke-width: 1.8; }
.ill .thick { stroke-width: 2.2; }
.ill .dash { stroke-dasharray: 3 6; }
.ill .act { stroke: #4BBEF5; stroke-width: 2; }
.ill .f { fill: #4BBEF5; }
.ill .fv { fill: #9A8CF2; }
.ill .fg { fill: #34D399; }
.ill .fr { fill: #F87171; }
.ill .fb { fill: #4BBEF5; stroke: none; }
.ill .fbs { fill: rgba(75, 190, 245, 0.85); }
.ill .f2 { fill: rgba(126, 211, 250, 0.3); }
.ill .fd { fill: rgba(75, 190, 245, 0.14); }
.ill .fdv { fill: rgba(154, 140, 242, 0.24); }
.ill .gt { fill: none; stroke: rgba(126, 211, 250, 0.16); stroke-width: 8; }
.ill .ga { fill: none; stroke: #4BBEF5; stroke-width: 8; stroke-linecap: round; }
.ill .cone { fill: rgba(75, 190, 245, 0.07); stroke: rgba(126, 211, 250, 0.25); stroke-dasharray: 4 6; }
.ill .paper { fill: #E7EEF8; }
.ill .paperline { stroke: #9DB0CB; stroke-width: 1.6; }
.ill text { font-family: "Inter", "Cairo", system-ui, sans-serif; }
.ill .t { fill: #93A6C2; font-size: 10.5px; font-weight: 650; letter-spacing: 0.12em; }
.ill .tb { fill: #E7EEF8; font-family: var(--font-display); font-size: 15px; font-weight: 750; letter-spacing: 0.06em; }
.ill .tk { fill: #4BBEF5; font-family: var(--font-display); font-size: 17px; font-weight: 800; letter-spacing: 0.04em; }
.ill .tl { fill: #FFFFFF; font-family: var(--font-display); font-size: 28px; font-weight: 800; }
.ill .tlk { fill: #4BBEF5; font-family: var(--font-display); font-size: 30px; font-weight: 800; }
.ill .tx { fill: rgba(126, 211, 250, 0.16); font-family: var(--font-display); font-size: 44px; font-weight: 800; }
.ill .tick { fill: #0C1627; font-family: var(--font-display); font-size: 12px; font-weight: 800; }
.ill .tdk { fill: #0A1222; font-family: var(--font-display); font-size: 14px; font-weight: 800; }
.ill .flow { stroke-dasharray: 3 7; animation: ill-flow 1.4s linear infinite; }
@keyframes ill-flow { to { stroke-dashoffset: -20; } }

/* Bands */
.band { padding-block: clamp(48px, 6vw, 88px); }
.band--white { background: var(--white); }
.band--paper { background: var(--paper); }
.band__head { display: flex; flex-direction: column; gap: 12px; margin-bottom: clamp(24px, 3vw, 40px); max-width: 760px; }
.band__head p { color: var(--ink-2); }
.band__head--spaced { margin-top: clamp(36px, 5vw, 56px); }

/* Constat */
.constat { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; background: var(--white); border: 1px solid var(--rule); border-inline-start: 4px solid var(--blue); padding: 22px 26px; margin-bottom: clamp(36px, 5vw, 56px); }
.constat__label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--blue); }
html[lang="ar"] .constat__label { letter-spacing: 0; font-size: .92rem; }
.constat p:last-child { color: var(--ink-2); font-size: 1.05rem; }

/* Two columns: scope / gains */
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.split > div { min-width: 0; display: flex; flex-direction: column; gap: 22px; }
@media (min-width: 961px) { .split > div:last-child { position: sticky; top: calc(92px + env(safe-area-inset-top, 0px)); } }
.scope { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.scope li { position: relative; padding-inline-start: 22px; }
.scope li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.6em; width: 8px; height: 8px; background: var(--blue); border-radius: 2px; }
.scope strong { display: block; font-weight: 680; color: var(--ink); }
.scope span { color: var(--ink-2); font-size: 0.99rem; }
.gains { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.gains li { display: flex; gap: 14px; align-items: flex-start; }
.gains .tick { width: 26px; height: 26px; border-radius: 50%; background: #E3F5EC; color: var(--ok); display: grid; place-items: center; flex: none; margin-top: 1px; }
.gains .tick svg { width: 15px; height: 15px; }
.gains h3 { font-size: 1.02rem; margin-bottom: 2px; }
.gains p { color: var(--ink-2); font-size: 0.97rem; }
.subhead { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-2); font-family: var(--font-body); }
html[lang="ar"] .subhead { letter-spacing: 0; font-size: .95rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chips li { padding: 6px 12px; border: 1px solid var(--rule); border-radius: 999px; font-size: 0.88rem; background: var(--white); color: var(--ink); }

/* Cards */
.cards { display: grid; gap: 16px; }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card--link { text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.card--link:hover { border-color: var(--blue); color: var(--ink); transform: translateY(-2px); }
.card__icon { width: 44px; height: 44px; border-radius: 11px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.card__icon svg { width: 22px; height: 22px; }
.card p { color: var(--ink-2); font-size: 0.97rem; }
.card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--blue); font-size: 0.94rem; }
.card__more svg { width: 16px; height: 16px; }
.card__eyebrow { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--blue); }
.card--guide h2, .card--guide h3 { font-size: 1.14rem; }
.more-link { margin-top: 20px; }
.more-link a { display: inline-flex; gap: 8px; align-items: center; font-weight: 650; text-decoration: none; }
.more-link svg { width: 16px; height: 16px; }
.guide-strip { display: flex; align-items: center; gap: 16px; padding: 18px 22px; background: var(--white); border: 1px solid var(--rule); border-inline-start: 4px solid var(--violet); border-radius: var(--radius); text-decoration: none; color: var(--ink); margin-bottom: clamp(28px, 4vw, 44px); }
.guide-strip:hover { border-color: var(--blue); color: var(--ink); }
.guide-strip__k { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--blue); white-space: nowrap; }
.guide-strip__t { font-weight: 650; flex: 1; min-width: 0; }
.guide-strip svg { width: 18px; height: 18px; color: var(--blue); flex: none; }

/* Method steps (a real sequence) */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: step; }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.chips--links li { padding: 0; }
.chips--links li:hover { border-color: var(--blue); }
.chips--links a { display: inline-block; padding: 6px 14px; color: var(--ink); text-decoration: none; border-radius: 999px; }
.chips--links a:hover { color: var(--blue); }
.facts { list-style: none; display: grid; gap: 16px; }
.facts li { display: flex; flex-direction: column; gap: 2px; }
.facts .k { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--on-night-2); }
html[lang="ar"] .facts .k { letter-spacing: 0; font-size: 0.86rem; }
.facts .v { color: var(--on-night); font-weight: 600; }
.prose.detail { margin-top: clamp(28px, 4vw, 44px); }
.prose.detail h2:first-child { margin-top: 0; }
.steps li { counter-increment: step; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-weight: 750; font-size: 0.95rem; color: var(--white); background: var(--night); width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; }
.steps h3 { font-size: 1.02rem; }
.steps p { color: var(--ink-2); font-size: 0.94rem; }

/* About split + contact block */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.about-grid > div { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.about-grid p { color: var(--ink-2); }
.nap { background: var(--night); color: var(--on-night); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; border: 1px solid var(--night-line); }
.nap ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.nap li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; }
.nap svg { width: 20px; height: 20px; color: var(--sky); flex: none; margin-top: 3px; }
.nap a { color: var(--on-night); text-decoration: none; font-weight: 600; }
.nap a:hover { color: var(--sky); }

/* FAQ */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 2px; font-family: var(--font-display); font-weight: 650; font-size: 1.08rem; color: var(--ink); }
html[lang="ar"] .faq summary { font-family: var(--font-ar); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--blue); line-height: 1; flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq .faq__a { padding: 0 2px 22px; color: var(--ink-2); max-width: 70ch; }

/* Quote band with the form */
.quote { padding-block: clamp(48px, 6vw, 88px); }
.quote__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.quote__text { display: flex; flex-direction: column; gap: 16px; min-width: 0; padding-top: 8px; }
.quote__text h2 { color: var(--white); }
.quote__text p { color: var(--on-night-2); max-width: 52ch; }
.quote__contact { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.quote__contact li { display: flex; align-items: center; gap: 12px; }
.quote__contact svg { width: 20px; height: 20px; color: var(--sky); flex: none; }
.quote__contact a { color: var(--on-night); font-weight: 650; text-decoration: none; font-size: 1.05rem; }
.quote__contact a:hover { color: var(--sky); }

/* Forms */
.leadform { position: relative; background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; border: 1px solid var(--rule); min-width: 0; }
.on-night .leadform { border-color: transparent; box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3); }
.leadform__title { grid-column: 1 / -1; font-size: 1.25rem; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.req { color: #C2410C; font-weight: 700; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1px solid var(--rule); border-radius: 9px; padding: 11px 12px; width: 100%; min-width: 0; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.field [aria-invalid="true"] { border-color: var(--danger); background: #FFF7F6; }
.form-hint { grid-column: 1 / -1; font-size: 0.84rem; color: var(--ink-2); margin-top: -2px; }
.form-status { grid-column: 1 / -1; font-size: 0.95rem; border-radius: 9px; }
.form-status:empty { display: none; }
.form-status.is-error { background: #FEF3F2; color: var(--danger); border: 1px solid #FECDCA; padding: 10px 12px; }
.form-status.is-info { background: var(--blue-soft); color: var(--blue-deep); border: 1px solid #C7DBF7; padding: 10px 12px; }
.leadform .btn { grid-column: 1 / -1; }
.on-night .leadform .btn--primary { background: var(--blue); color: var(--white); }
.on-night .leadform .btn--primary:hover { background: var(--blue-deep); color: var(--white); }
.form-note { grid-column: 1 / -1; font-size: 0.85rem; color: var(--ink-2); }
.form-note a { font-weight: 650; }
.hp { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; opacity: 0; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; gap: 14px; align-items: flex-start; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 18px 20px; }
.contact-card svg { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: 2px; }
.contact-card .k { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-2); font-weight: 650; }
html[lang="ar"] .contact-card .k { letter-spacing: 0; font-size: .9rem; }
.contact-card .v { font-weight: 650; font-size: 1.05rem; color: var(--ink); text-decoration: none; direction: ltr; unicode-bidi: isolate; }
.contact-card a.v:hover { color: var(--blue); }
.contact-card__note { color: var(--ink-2); font-size: .92rem; margin-top: 6px; }

/* Guides */
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.prose { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(22px, 4vw, 44px); min-width: 0; }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.6rem); margin-top: 40px; scroll-margin-top: 96px; }
.prose p, .prose li { color: var(--ink-2); max-width: 68ch; }
.prose ul, .prose ol { padding-inline-start: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose li::marker { color: var(--blue); font-weight: 700; }
.essentials { background: var(--blue-soft); border-radius: 10px; padding: 20px 22px; }
.prose .essentials h2 { margin-top: 0; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--blue-deep); font-family: var(--font-body); }
.essentials ul { margin-top: 12px; }
.prose .essentials li { color: var(--ink); }
.table-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: 10px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 0.95rem; min-width: 520px; }
.prose th, .prose td { text-align: start; padding: 12px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose thead th { background: var(--paper); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-2); }
.prose tbody th { color: var(--ink); font-weight: 650; }
.prose td { color: var(--ink-2); }
.prose tbody tr:last-child th, .prose tbody tr:last-child td { border-bottom: none; }
.article-aside { position: sticky; top: calc(84px + env(safe-area-inset-top, 0px)); display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.toc { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 18px 20px; }
.toc__title { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-2); margin-bottom: 10px; }
.toc ol { list-style: none; display: flex; flex-direction: column; gap: 8px; counter-reset: toc; }
.toc li { counter-increment: toc; display: flex; gap: 10px; font-size: 0.94rem; line-height: 1.4; }
.toc li::before { content: counter(toc); color: var(--blue); font-weight: 700; min-width: 1.2em; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--blue); text-decoration: underline; }
.aside-card { display: flex; flex-direction: column; gap: 8px; background: var(--night); color: var(--on-night); border-radius: var(--radius); padding: 20px; text-decoration: none; }
.aside-card:hover { color: var(--white); }
.aside-card__icon { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: rgba(75, 190, 245, 0.14); color: var(--sky); }
.aside-card__icon svg { width: 22px; height: 22px; }
.aside-card .card__eyebrow { color: var(--sky); }
.aside-card__t { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.aside-card__d { color: var(--on-night-2); font-size: 0.93rem; }
.aside-card .card__more { color: var(--sky); }

/* Thank-you + 404 */
.thanks { padding-block: clamp(64px, 10vw, 120px); }
.thanks__box { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; max-width: 760px; }
.thanks__icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: rgba(52, 211, 153, 0.14); color: #34D399; }
.thanks__icon svg { width: 36px; height: 36px; }
.thanks h1 { color: var(--white); font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); }
.thanks__phone { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--white); text-decoration: none; direction: ltr; unicode-bidi: isolate; }
.thanks__phone:hover { color: var(--sky); }
.thanks .actions { justify-content: center; }
.nf-page { min-height: calc(100vh - 69px); }
.nf-grid { display: grid; gap: 40px; }
.nf { display: flex; flex-direction: column; gap: 10px; }
.nf h2 { color: var(--white); }

/* Footer */
.site-footer { background: var(--white); color: var(--ink-2); border-top: 1px solid var(--rule); padding-block: 56px calc(28px + env(safe-area-inset-bottom, 0px)); font-size: 0.95rem; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.footer__grid > div { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.footer__h { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink); font-family: var(--font-body); font-weight: 700; }
html[lang="ar"] .footer__h { letter-spacing: 0; font-size: .92rem; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--blue); text-decoration: underline; }
.site-footer .btn--primary { background: var(--blue); color: var(--white); text-decoration: none; }
.site-footer .btn--primary:hover { background: var(--blue-deep); color: var(--white); }
.footer__cta { align-self: flex-start; margin-top: 6px; }
.social { flex-direction: row !important; flex-wrap: wrap; gap: 14px !important; }
.footer__base { border-top: 1px solid var(--rule); margin-top: 40px; padding-top: 20px; font-size: 0.86rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* Floating WhatsApp (desktop) and action bar (phones) */
.wa-float { position: fixed; inset-inline-end: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #1FAF5A; color: var(--white); display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25); }
.wa-float:hover { background: #17964C; color: var(--white); }
.wa-float svg { width: 28px; height: 28px; }
html[dir="rtl"] .wa-float { inset-inline-end: calc(18px + env(safe-area-inset-left, 0px)); }
.mbar { display: none; }

/* Responsive */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hero__grid, .split, .about-grid, .contact-grid, .quote__grid, .article-grid { grid-template-columns: minmax(0, 1fr); }
  .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .orbit { max-width: 340px; }
  .ill { max-width: 460px; }
  .article-aside { position: static; }
}
@media (max-width: 760px) {
  .logo__img { height: 36px; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
  .wa-float { display: none; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 8px max(12px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); background: rgba(10, 18, 34, 0.97); border-top: 1px solid var(--night-line); backdrop-filter: blur(8px); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 10px; color: var(--on-night); text-decoration: none; font-weight: 650; font-size: 0.95rem; border: 1px solid rgba(231, 238, 248, 0.18); }
  .mbar a svg { width: 18px; height: 18px; flex: none; }
  .mbar .mbar__main { background: var(--sky); color: var(--night); border-color: transparent; }
}
@media (max-width: 640px) {
  .cards--3, .cards--2, .steps, .steps--3, .steps--4, .commit { grid-template-columns: minmax(0, 1fr); }
  .constat { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 18px; }
  .leadform { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .orbit, .hero__grid > .ill { display: none; }
  .btn { width: 100%; }
  .actions { flex-direction: column; }
  .guide-strip { flex-direction: column; align-items: flex-start; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .ill .flow { animation: none; }
}
