/* =========================================================================
   Assanad Alfanni — public site stylesheet
   Brand: cobalt blue (#02387D / #1E5BD6) + steel gray (#626C77) from the logo.
   Layout uses CSS logical properties so RTL (ar) and LTR (en) share one file.
   ========================================================================= */
:root {
  --blue-950: #000F38;
  --blue-900: #001A5C;
  --blue-800: #02387D;
  --blue-700: #0A3F8F;
  --blue-600: #1E5BD6;
  --blue-400: #5B8BF0;
  --blue-100: #DCE7FF;
  --blue-50:  #EEF3FF;
  --steel-900: #23282E;
  --steel-700: #3D434B;
  --steel-600: #4F5862;
  --steel-500: #626C77;
  --steel-300: #A9B3BE;
  --steel-200: #C9D1DA;
  --steel-100: #E3E8EE;
  --steel-50:  #F3F5F8;
  --ink: #14181D;
  --white: #fff;
  --ok: #0F7B4D;  --ok-bg: #E4F5EC;
  --warn: #8A5A00; --warn-bg: #FFF4DB;
  --err: #B42318; --err-bg: #FEECEB;

  --font: "Cairo", system-ui, -apple-system, "Segoe UI", Roboto, Tahoma, sans-serif;
  --radius-sm: 8px; --radius: 14px; --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(0,26,92,.06), 0 1px 1px rgba(0,26,92,.04);
  --shadow: 0 12px 32px -16px rgba(0,26,92,.28);
  --shadow-lg: 0 32px 64px -32px rgba(0,26,92,.45);
  --ease: cubic-bezier(.2,.8,.2,1);
  --wrap: 1240px;
  --hdr-h: 76px;
  --metal: linear-gradient(145deg, #A9B3BE 0%, #6F7A86 40%, #4A535D 65%, #8C97A4 100%);
  --cobalt: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 50%, var(--blue-600) 100%);
}


*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.7; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.lang-ar body, body.lang-ar { line-height: 1.85; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-600); }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; line-height: 1.25; color: var(--blue-900); font-weight: 700; letter-spacing: -.01em; }
.lang-ar h1, .lang-ar h2, .lang-ar h3 { letter-spacing: 0; line-height: 1.4; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue-600); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blue-600); color: #fff; }

.ic { width: 1.25em; height: 1.25em; flex: none; }
.ic--lg { width: 2rem; height: 2rem; }
.ic--xl { width: 3rem; height: 3rem; }
[dir="rtl"] .ic--flip { transform: scaleX(-1); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 1rem; top: -100px; z-index: 200; background: var(--blue-900); color: #fff; padding: .75rem 1rem; border-radius: var(--radius-sm); }
.skip:focus { top: 1rem; }
main:focus { outline: none; }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.mt { margin-top: 2rem; } .mt-lg { margin-top: 4.5rem; }
.muted { color: var(--steel-500); }

/* ---------- Typography scale ---------- */
.h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); font-weight: 700; }
.h3 { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.75rem); }
.h4 { font-size: 1.2rem; display: flex; align-items: center; gap: .5rem; }
.h5 { font-size: 1.05rem; }
.h6 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--steel-500); }
.lang-ar .h6 { letter-spacing: 0; text-transform: none; }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--steel-600); max-width: 64ch; }
.prose { color: var(--steel-700); font-size: 1.05rem; }
.prose h2 { font-size: 1.3rem; margin-top: 2rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600); margin-bottom: .9rem; }
.lang-ar .eyebrow { letter-spacing: 0; font-size: .9rem; text-transform: none; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--blue-100); }

/* ---------- Buttons ---------- */
.btn { --b: var(--blue-600); display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 48px; padding: .75rem 1.4rem; border-radius: var(--radius-sm); border: 1.5px solid transparent; font-weight: 600; font-size: .98rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn--sm { min-height: 42px; padding: .55rem 1.1rem; font-size: .92rem; }
.btn--lg { min-height: 54px; padding: .9rem 1.75rem; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--blue-600); color: #fff; box-shadow: 0 10px 24px -12px rgba(30,91,214,.8); }
.btn--primary:hover { background: var(--blue-700); color: #fff; }
.btn--outline { border-color: var(--steel-200); color: var(--blue-900); background: #fff; }
.btn--outline:hover { border-color: var(--blue-600); color: var(--blue-700); }
.btn--light { background: #fff; color: var(--blue-800); }
.btn--light:hover { background: var(--blue-50); color: var(--blue-900); }
.btn--ghost-light { border-color: rgba(255,255,255,.45); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { background: rgba(255,255,255,.16); color: #fff; border-color: #fff; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--blue-700); text-decoration: none; }
.link-arrow .ic { transition: transform .25s var(--ease); width: 1.1em; height: 1.1em; }
.link-arrow:hover .ic { transform: translateX(4px); }
[dir="rtl"] .link-arrow:hover .ic { transform: scaleX(-1) translateX(4px); }
.link-arrow--light { color: #fff; }
.link-arrow--light:hover { color: var(--blue-100); }
.row-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 1.5rem; }

/* ---------- Topbar & header ---------- */
.topbar { background: var(--blue-950); color: rgba(255,255,255,.75); font-size: .85rem; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 1rem; }
.topbar__links { display: flex; gap: 1.5rem; }
.topbar a, .topbar__note { color: inherit; display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar .ic { width: 15px; height: 15px; color: var(--blue-400); }

.hdr { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--steel-100); transition: box-shadow .25s; }
.hdr.is-scrolled { box-shadow: 0 10px 30px -20px rgba(0,26,92,.35); }
.hdr__in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--hdr-h); }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--blue-900); flex: none; }
.brand img { width: 44px; height: auto; }
.brand__t b { display: block; font-size: 1.15rem; font-weight: 700; line-height: 1.15; }
.brand__t small { display: block; font-size: .72rem; color: var(--steel-500); line-height: 1.3; font-weight: 500; }
.brand--light { color: #fff; } .brand--light .brand__t small { color: rgba(255,255,255,.6); }
.nav { display: flex; align-items: center; gap: 1.25rem; }
.nav__list { display: flex; list-style: none; gap: .15rem; }
.nav__list a { position: relative; display: block; white-space: nowrap; padding: .55rem .8rem; font-weight: 500; font-size: .95rem; color: var(--steel-700); text-decoration: none; border-radius: var(--radius-sm); transition: color .2s, background .2s; }
.nav__list a:hover { color: var(--blue-800); background: var(--steel-50); }
.nav__list a[aria-current="page"] { color: var(--blue-800); font-weight: 600; }
.nav__list a[aria-current="page"]::after { content: ""; position: absolute; inset-inline: .8rem; bottom: .2rem; height: 2px; border-radius: 2px; background: var(--blue-600); }
.nav__actions { display: flex; align-items: center; gap: .75rem; }
.lang { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .75rem; border: 1px solid var(--steel-200); border-radius: var(--radius-sm); font-size: .88rem; font-weight: 600; color: var(--steel-700); text-decoration: none; }
.lang:hover { border-color: var(--blue-600); color: var(--blue-700); }
.lang .ic { width: 16px; height: 16px; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--steel-200); border-radius: var(--radius-sm); background: #fff; color: var(--blue-900); cursor: pointer; align-items: center; justify-content: center; }
.burger .ic { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; min-height: min(88vh, 820px); display: flex; flex-direction: column; background: var(--blue-950); overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(to bottom, rgba(0,15,56,.25), rgba(0,15,56,.15) 40%, rgba(0,15,56,.85)),
  linear-gradient(to var(--hero-dir, right), rgba(0,15,56,.85) 0%, rgba(0,15,56,.35) 55%, transparent 85%); }
[dir="rtl"] .hero__shade { --hero-dir: left; }
.hero__in { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-block: clamp(4rem, 9vw, 7rem) 3rem; max-width: var(--wrap); }
.hero__title { color: #fff; font-size: clamp(2.6rem, 1.4rem + 5.5vw, 5.4rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.02; margin-bottom: 1rem; max-width: 14ch; }
.lang-ar .hero__title { letter-spacing: 0; line-height: 1.2; font-weight: 700; }
.hero__subtitle { font-size: clamp(1.2rem, 1rem + 1vw, 1.75rem); font-weight: 600; color: #fff; margin-bottom: .5rem; max-width: 34ch; }
.hero__support { font-size: clamp(1rem, .95rem + .3vw, 1.15rem); color: var(--blue-100); margin-bottom: 2.25rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__rail { border-top: 1px solid rgba(255,255,255,.14); background: rgba(0,15,56,.55); backdrop-filter: blur(10px); }
.hero__rail-in { display: grid; grid-template-columns: repeat(3, 1fr); }
.rail { display: flex; align-items: center; gap: 1rem; padding: 1.35rem 1.25rem; color: #fff; text-decoration: none; border-inline-start: 1px solid rgba(255,255,255,.12); transition: background .25s; }
.rail:first-child { border-inline-start: 0; padding-inline-start: 0; }
.rail:hover { background: rgba(255,255,255,.06); color: #fff; }
.rail__n { font-size: .8rem; font-weight: 700; color: var(--blue-400); font-variant-numeric: tabular-nums; }
.rail__t { font-weight: 600; }
.rail__a { margin-inline-start: auto; opacity: .6; transition: opacity .2s, transform .25s var(--ease); }
.rail:hover .rail__a { opacity: 1; }

/* ---------- Sections ---------- */
.sec { padding-block: clamp(4rem, 3rem + 4vw, 6.5rem); }
.sec--tight { padding-block: clamp(3rem, 2.5rem + 2vw, 4.5rem); }
.sec--paper { background: var(--steel-50); }
.sec--dark { background: var(--blue-950); color: rgba(255,255,255,.8); position: relative; overflow: hidden; }
.sec--dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 500px at 85% -10%, rgba(30,91,214,.35), transparent 60%), radial-gradient(700px 500px at -10% 110%, rgba(98,108,119,.3), transparent 60%); pointer-events: none; }
.sec--dark .wrap { position: relative; }
.sec--dark .h2 { color: #fff; }
.sec__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem 3rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.sec__head .h2 { margin-bottom: .25rem; }
.sec__head .lead { margin: .5rem 0 0; }
.sec__head--center { flex-direction: column; align-items: center; text-align: center; }

/* Intro */
.intro__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.intro__panel { background: var(--steel-50); border: 1px solid var(--steel-100); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.25rem); }
/* ---------- Engineering capabilities: spec-sheet panel ----------
   Restrained, drawing-sheet look: hairline rows, registration marks in the
   corners, a blue rule that draws in on hover. */
.spec { position: relative; padding: clamp(1.5rem, 3vw, 2.25rem); background: #fff; border: 1px solid var(--steel-100); }
.spec__mk { position: absolute; width: 14px; height: 14px; border-color: var(--blue-600); border-style: solid; border-width: 0; }
.spec__mk--a { top: -1px; inset-inline-start: -1px; border-top-width: 2px; border-inline-start-width: 2px; }
.spec__mk--b { top: -1px; inset-inline-end: -1px; border-top-width: 2px; border-inline-end-width: 2px; }
.spec__mk--c { bottom: -1px; inset-inline-start: -1px; border-bottom-width: 2px; border-inline-start-width: 2px; }
.spec__mk--d { bottom: -1px; inset-inline-end: -1px; border-bottom-width: 2px; border-inline-end-width: 2px; }
.spec__h { font-size: 1.05rem; font-weight: 700; color: var(--blue-900); margin: 0 0 .5rem; padding-bottom: .9rem; border-bottom: 2px solid var(--blue-900); }
.spec__h--sub { margin-top: 1.75rem; border-bottom-width: 1px; border-bottom-color: var(--steel-200, #d7dde5); font-size: .95rem; color: var(--steel-700); }
.spec__list { list-style: none; margin: 0; }
.spec__list li { position: relative; }
.spec__list li::before { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--steel-100); }
.spec__list a { position: relative; display: flex; align-items: center; gap: .9rem; padding: .95rem .25rem; color: var(--blue-900); font-weight: 500; text-decoration: none; transition: padding .3s var(--ease), color .2s; }
.spec__list a::after { content: ""; position: absolute; inset-inline-start: 0; bottom: -1px; height: 2px; width: 100%; background: var(--blue-600); transform: scaleX(0); transform-origin: var(--o, left); transition: transform .45s var(--ease); }
[dir="rtl"] .spec__list a::after { --o: right; }
.spec__list a:hover { color: var(--blue-600); padding-inline-start: .6rem; }
.spec__list a:hover::after { transform: scaleX(1); }
.spec__ic { display: grid; place-items: center; flex: none; color: var(--blue-600); }
.spec__ic .ic { width: 22px; height: 22px; }
.spec__t { flex: 1; line-height: 1.45; }
.spec__go { width: 16px; height: 16px; color: var(--steel-400, #94a3b8); transition: color .2s, transform .3s var(--ease); }
.spec__list a:hover .spec__go { color: var(--blue-600); transform: translateX(4px); }
[dir="rtl"] .spec__list a:hover .spec__go { transform: scaleX(-1) translateX(4px); }
.spec__inds { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin: .5rem 0 0; }
.spec__inds a { color: var(--steel-700); font-size: .93rem; text-decoration: none; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.spec__inds a:hover { color: var(--blue-600); border-bottom-color: currentColor; }
/* Touch 1 — drafting-in: when the sheet scrolls into view the corner marks
   settle into place, the header rule and every row line are drawn across in
   sequence, and the rows fade up after their line (JS adds .is-drawn). */
.js .spec[data-draw]:not(.is-drawn) .spec__mk { transform: scale(2.2); opacity: 0; }
.spec__mk { transition: transform .8s var(--ease), opacity .8s; }
.spec__h { position: relative; border-bottom: 0; }
.spec__h::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--blue-900); transform-origin: var(--o, left); transition: transform 1s var(--ease) .15s; }
.spec__h--sub::after { height: 1px; background: var(--steel-200, #d7dde5); }
[dir="rtl"] .spec__h::after, [dir="rtl"] .spec__list li::before { --o: right; }
.spec__list li::before { transform-origin: var(--o, left); transition: transform .9s var(--ease); }
.spec__list li > a { transition: padding .3s var(--ease), color .2s, opacity .6s ease, transform .6s var(--ease); }
.js .spec[data-draw]:not(.is-drawn) .spec__h::after, .js .spec[data-draw]:not(.is-drawn) .spec__list li::before { transform: scaleX(0); }
.js .spec[data-draw]:not(.is-drawn) .spec__list li > a { opacity: 0; transform: translateY(8px); }
.spec__list li:nth-child(1)::before { transition-delay: .25s; } .spec__list li:nth-child(1) > a { transition-delay: 0s, 0s, .45s, .45s; }
.spec__list li:nth-child(2)::before { transition-delay: .35s; } .spec__list li:nth-child(2) > a { transition-delay: 0s, 0s, .55s, .55s; }
.spec__list li:nth-child(3)::before { transition-delay: .45s; } .spec__list li:nth-child(3) > a { transition-delay: 0s, 0s, .65s, .65s; }
.spec__list li:nth-child(4)::before { transition-delay: .55s; } .spec__list li:nth-child(4) > a { transition-delay: 0s, 0s, .75s, .75s; }
.spec__list li:nth-child(5)::before { transition-delay: .65s; } .spec__list li:nth-child(5) > a { transition-delay: 0s, 0s, .85s, .85s; }
.spec__list li:nth-child(6)::before { transition-delay: .75s; } .spec__list li:nth-child(6) > a { transition-delay: 0s, 0s, .95s, .95s; }
.spec.is-drawn .spec__list li > a { transition-delay: 0s; }
/* Touch 2 — on hover the icon re-draws itself like a pen stroke. */
.spec__ic .ic { stroke-dasharray: 90; stroke-dashoffset: 0; }
.spec__list a:hover .spec__ic .ic { animation: pen 1.1s var(--ease) both; }
@keyframes pen { from { stroke-dashoffset: 90; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .spec__list a, .spec__list a::after, .spec__mk, .spec__h::after, .spec__list li::before, .spec__list li > a { transition: none !important; }
  .js .spec[data-draw] .spec__mk, .js .spec[data-draw] .spec__h::after, .js .spec[data-draw] .spec__list li::before, .js .spec[data-draw] .spec__list li > a { transform: none !important; opacity: 1 !important; }
  .spec__list a:hover .spec__ic .ic { animation: none; }
}
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.tags a { display: inline-block; padding: .4rem .85rem; border-radius: 999px; background: #fff; border: 1px solid var(--steel-200); color: var(--steel-700); font-size: .88rem; font-weight: 500; text-decoration: none; }
.tags a:hover { border-color: var(--blue-600); color: var(--blue-700); }

/* Service lines (home) */
.lines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.line { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--steel-100); border-radius: var(--radius-lg); padding: 2rem 1.75rem 1.75rem; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; overflow: hidden; }
.line::after { content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px; background: var(--cobalt); transform: scaleX(0); transform-origin: var(--o, left); transition: transform .45s var(--ease); }
[dir="rtl"] .line::after { --o: right; }
.line:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.line:hover::after { transform: scaleX(1); }
.line__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.line__ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--cobalt); color: #fff; box-shadow: 0 12px 24px -12px rgba(2,56,125,.8); }
.line__ic .ic { width: 28px; height: 28px; }
.line:nth-child(2) .line__ic { background: var(--metal); box-shadow: 0 12px 24px -12px rgba(61,67,75,.8); }
.line__n { font-size: 2.6rem; font-weight: 800; color: var(--steel-100); line-height: 1; font-variant-numeric: tabular-nums; }
.line__title { font-size: 1.3rem; }
.line__d { color: var(--steel-500); font-size: .95rem; }
.ticks { list-style: none; display: grid; gap: .55rem; margin: .5rem 0 1.5rem; }
.ticks li { display: flex; gap: .6rem; align-items: flex-start; color: var(--steel-700); font-size: .96rem; line-height: 1.5; }
.ticks .ic { width: 18px; height: 18px; color: var(--blue-600); margin-top: .15em; }
.ticks a { color: inherit; text-decoration: none; } .ticks a:hover { color: var(--blue-700); text-decoration: underline; }
.line .link-arrow { margin-top: auto; }

/* Project cards */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pgrid--2 { grid-template-columns: repeat(2, 1fr); }
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--steel-100); border-radius: var(--radius-lg); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pcard__media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--cobalt); overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__ph { position: absolute; inset: 0; display: flex; flex-direction: column; gap: .5rem; align-items: center; justify-content: center; color: rgba(255,255,255,.75); background: var(--cobalt); background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px), var(--cobalt); background-size: 32px 32px, 32px 32px, auto; }
.pcard__ph .ic { width: 48px; height: 48px; opacity: .8; }
.pcard__ph small { font-size: .8rem; }
.chip { position: absolute; top: 1rem; inset-inline-start: 1rem; display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .7rem; border-radius: 999px; font-size: .78rem; font-weight: 600; background: #fff; color: var(--steel-700); }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip--completed { color: var(--ok); } .chip--ongoing { color: var(--blue-600); } .chip--planned { color: var(--warn); }
.facts .chip { position: static; background: var(--steel-50); }
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.5rem 1.5rem; }
.pcard__cat { font-size: .78rem; font-weight: 600; color: var(--blue-600); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .35rem; }
.lang-ar .pcard__cat { letter-spacing: 0; font-size: .85rem; }
.pcard__title { font-size: 1.15rem; margin-bottom: .75rem; }
.pcard__title a { color: inherit; text-decoration: none; }
.pcard__title a:hover { color: var(--blue-700); }
.pcard__meta { margin: 0 0 1.25rem; display: grid; gap: .45rem; }
.pcard__meta div { display: flex; gap: .5rem; align-items: flex-start; font-size: .9rem; color: var(--steel-600); line-height: 1.5; }
.pcard__meta dt .ic { width: 17px; height: 17px; color: var(--steel-300); margin-top: .15em; }
.pcard__meta dd { margin: 0; }
.pcard .link-arrow { margin-top: auto; font-size: .93rem; }
.phbadge { display: inline-block; padding: .25rem .65rem; border-radius: 6px; background: var(--warn-bg); color: var(--warn); font-size: .78rem; font-weight: 700; border: 1px dashed #d9a52c; margin-bottom: .6rem; }
.phbadge--lg { font-size: .9rem; padding: .5rem .85rem; }

.empty { display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; padding: clamp(2.5rem, 5vw, 4rem) 1.5rem; border: 1.5px dashed var(--steel-200); border-radius: var(--radius-lg); color: var(--steel-500); }
.empty .ic { width: 44px; height: 44px; color: var(--steel-300); }
.empty p { max-width: 52ch; margin: 0; }

/* Partners */
.logos { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }
.logos li { display: grid; place-items: center; height: 96px; background: #fff; border: 1px solid var(--steel-100); border-radius: var(--radius); padding: 1rem; }
.logos img { max-height: 56px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.logos li:hover img { filter: none; opacity: 1; }
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.partner { background: #fff; border: 1px solid var(--steel-100); border-radius: var(--radius-lg); padding: 1.75rem; }
.partner__logo { height: 80px; display: flex; align-items: center; margin-bottom: 1rem; }
.partner__logo img { max-height: 64px; width: auto; }
.partner__kind { font-size: .8rem; font-weight: 600; color: var(--blue-600); margin-bottom: .25rem; }

/* Industries */
.inds { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.ind { position: relative; display: flex; flex-direction: column; min-height: 280px; padding: 1.75rem 1.5rem; border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.75); text-decoration: none; transition: background .35s, border-color .35s, transform .35s var(--ease); }
.ind:hover { transform: translateY(-4px); border-color: rgba(91,139,240,.55); background: linear-gradient(180deg, rgba(30,91,214,.28), rgba(255,255,255,.03)); color: rgba(255,255,255,.85); }
.ind__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--metal); color: #fff; margin-bottom: auto; box-shadow: inset 0 1px 0 rgba(255,255,255,.4); }
.ind__ic .ic { width: 26px; height: 26px; }
.ind__t { color: #fff; font-size: 1.15rem; margin: 2rem 0 .5rem; }
.ind__d { font-size: .9rem; line-height: 1.6; margin: 0; }
.ind__a { position: absolute; top: 1.75rem; inset-inline-end: 1.5rem; opacity: .4; transition: opacity .25s; }
.ind:hover .ind__a { opacity: 1; }

/* Values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.value { padding: 2rem; border-radius: var(--radius-lg); border: 1px solid var(--steel-100); background: #fff; }
.value__ic { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--blue-50); color: var(--blue-600); margin-bottom: 1.25rem; }
.value__ic .ic { width: 28px; height: 28px; }
.value h3 { font-size: 1.25rem; }
.value p { color: var(--steel-500); margin: 0; }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq__list { display: grid; gap: .75rem; }
.qa { background: #fff; border: 1px solid var(--steel-100); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.qa[open] { border-color: var(--blue-400); box-shadow: var(--shadow); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 1.35rem; font-weight: 600; color: var(--blue-900); cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa__pm { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--steel-50); }
.qa__pm::before, .qa__pm::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; background: var(--blue-700); transform: translate(-50%, -50%); transition: transform .25s var(--ease); }
.qa__pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa__pm::after { transform: translate(-50%, -50%) rotate(0); }
.qa p { padding: 0 1.35rem 1.25rem; margin: 0; color: var(--steel-600); }

/* CTA band */
.ctaband { background: var(--cobalt); color: #fff; position: relative; overflow: hidden; }
.ctaband::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, #000, transparent 70%); }
[dir="rtl"] .ctaband::before { mask-image: linear-gradient(270deg, #000, transparent 70%); }
.ctaband__in { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding-block: clamp(3rem, 5vw, 4.5rem); }
.ctaband__title { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.2rem); }
.ctaband p { color: var(--blue-100); max-width: 56ch; margin: 0; }
.ctaband__actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* ---------- Page hero (inner pages) ---------- */
.phero { position: relative; isolation: isolate; color: #fff; background: var(--blue-950); overflow: hidden; }
.phero__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px 400px at 85% 0, rgba(30,91,214,.45), transparent 60%), url("/assets/img/hero-industrial.svg") center 70% / cover no-repeat; opacity: .55; }
.phero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,15,56,.5), rgba(0,15,56,.92)); }
.phero__in { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.phero__title { color: #fff; font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); max-width: 22ch; }
.phero__lead { color: var(--blue-100); font-size: clamp(1.02rem, 1rem + .35vw, 1.2rem); max-width: 68ch; margin: 0; }
.phero__actions { margin-top: 1.75rem; }
.phero__nav { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.25rem; margin-bottom: 1.5rem; }
.backbtn { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem 1rem .45rem .85rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: .88rem; font-weight: 600; text-decoration: none; background: rgba(255,255,255,.06); transition: background .2s, border-color .2s; }
.backbtn:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.45); color: #fff; }
.backbtn__ic { width: 16px; height: 16px; transform: scaleX(-1); transition: transform .25s var(--ease); }
[dir="rtl"] .backbtn__ic { transform: none; }
.backbtn:hover .backbtn__ic { transform: scaleX(-1) translateX(3px); }
[dir="rtl"] .backbtn:hover .backbtn__ic { transform: translateX(3px); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 0; font-size: .85rem; color: rgba(255,255,255,.6); }
.crumbs li + li::before { content: "/"; margin-inline-end: .4rem; opacity: .5; }
.crumbs a { color: rgba(255,255,255,.75); text-decoration: none; } .crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; }
.jump, .filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.jump a, .filters a { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); color: #fff; text-decoration: none; font-size: .92rem; font-weight: 500; background: rgba(255,255,255,.05); }
.jump a:hover, .filters a:hover { background: rgba(255,255,255,.14); color: #fff; }
.filters a[aria-current="true"] { background: #fff; color: var(--blue-800); border-color: #fff; }
.jump .ic { width: 18px; height: 18px; }

/* ---------- Services listing ---------- */
.sgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.scard { position: relative; display: flex; flex-direction: column; padding: 1.75rem; background: #fff; border: 1px solid var(--steel-100); border-radius: var(--radius-lg); text-decoration: none; color: inherit; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.scard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: inherit; }
.scard__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--blue-50); color: var(--blue-600); margin-bottom: 1.25rem; transition: background .3s, color .3s; }
.scard:hover .scard__ic { background: var(--cobalt); color: #fff; }
.scard__ic .ic { width: 26px; height: 26px; }
.scard__t { font-size: 1.12rem; }
.scard__d { color: var(--steel-500); font-size: .94rem; flex: 1; }
.badge { position: absolute; top: 1.25rem; inset-inline-end: 1.25rem; padding: .2rem .6rem; border-radius: 999px; background: var(--blue-600); color: #fff; font-size: .75rem; font-weight: 700; }

/* ---------- Detail pages ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.detail__fig { margin: 0 0 2rem; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 8; background: var(--cobalt); }
.detail__fig img { width: 100%; height: 100%; object-fit: cover; }
.figph { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; color: rgba(255,255,255,.7); background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 40px 40px; font-size: .9rem; text-align: center; padding: 1rem; }
.figph__ic { display: grid; place-items: center; width: 108px; height: 108px; border-radius: 50%; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); box-shadow: 0 0 0 14px rgba(255,255,255,.05), 0 0 0 28px rgba(255,255,255,.03); }
.figph__ic .ic { width: 50px; height: 50px; }
.pcard__ph .figph__ic { width: 84px; height: 84px; }
.pcard__ph .figph__ic .ic { width: 38px; height: 38px; opacity: 1; }
.twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2rem; }
.panel { background: var(--steel-50); border: 1px solid var(--steel-100); border-radius: var(--radius-lg); padding: 1.5rem 1.6rem .5rem; }
.panel .h4 .ic { color: var(--blue-600); }
.detail__side { position: sticky; top: calc(var(--hdr-h) + 1.5rem); display: grid; gap: 1.25rem; }
.sidecard { background: #fff; border: 1px solid var(--steel-100); border-radius: var(--radius-lg); padding: 1.6rem; }
.sidecard--dark { background: var(--cobalt); color: rgba(255,255,255,.8); border: 0; }
.sidecard--dark .h3, .sidecard--dark .h4, .sidecard--dark .h5 { color: #fff; }
.sidecard--dark p { font-size: .94rem; }
.sidecard__tel { display: flex; align-items: center; gap: .6rem; margin-top: 1rem; color: #fff; text-decoration: none; font-weight: 600; }
.sidecard__tel:hover { color: var(--blue-100); }
.sidecard__tel + .sidecard__tel { margin-top: .6rem; }
.sidelist { list-style: none; display: grid; gap: .25rem; }
.sidelist a { display: flex; gap: .65rem; align-items: center; padding: .6rem .5rem; border-radius: var(--radius-sm); color: var(--steel-700); text-decoration: none; font-size: .93rem; line-height: 1.4; }
.sidelist a:hover { background: var(--steel-50); color: var(--blue-700); }
.sidelist .ic { color: var(--blue-600); width: 18px; height: 18px; }
.facts { display: grid; gap: 1rem; margin: 0; }
.facts dt { font-size: .8rem; color: var(--steel-500); font-weight: 500; }
.facts dd { margin: .15rem 0 0; font-weight: 600; color: var(--blue-900); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.gallery__item { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(0,10,30,.92); display: grid; place-items: center; padding: 2rem; }
.lightbox img { max-height: 88vh; width: auto; border-radius: var(--radius); }
.lightbox button { position: absolute; top: 1rem; inset-inline-end: 1rem; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; cursor: pointer; display: grid; place-items: center; }

/* About */
.split { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.factbox { background: var(--steel-50); border: 1px solid var(--steel-100); border-radius: var(--radius-lg); padding: 2rem; }
.factbox__logo { display: grid; place-items: center; padding: 1.5rem; background: #fff; border-radius: var(--radius); margin-bottom: 1.5rem; }
.factbox__logo img { width: 120px; }
.factbox dl { margin: 0; display: grid; gap: 1.1rem; }
.factbox dt { font-weight: 700; color: var(--blue-900); font-size: .95rem; }
.factbox dd { margin: .2rem 0 0; color: var(--steel-600); font-size: .95rem; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.mv__card { background: #fff; border-radius: var(--radius-lg); padding: 2rem; border-inline-start: 4px solid var(--blue-600); }
.capcols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.capcol { background: #fff; border-radius: var(--radius-lg); padding: 1.75rem; border: 1px solid var(--steel-100); }

/* Industries page */
.indlist { display: grid; gap: 1.25rem; }
.indrow { display: grid; grid-template-columns: 340px 1fr; gap: 2rem; padding: 2rem; border: 1px solid var(--steel-100); border-radius: var(--radius-lg); background: #fff; scroll-margin-top: calc(var(--hdr-h) + 1rem); }
.indrow:target { border-color: var(--blue-600); box-shadow: var(--shadow); }
.indrow__head { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.indrow__head .h3 { margin: 0; }
.indrow__n { font-weight: 800; color: var(--steel-200); font-size: 1.6rem; }
.indrow__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--cobalt); color: #fff; }
.indrow__ic .ic { width: 26px; height: 26px; }
.indrow .lead { margin-bottom: 1.25rem; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; align-items: start; }
.ccards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ccard { display: flex; align-items: center; gap: 1rem; padding: 1.4rem; border-radius: var(--radius-lg); border: 1px solid var(--steel-100); background: #fff; text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s; }
.ccard:hover { border-color: var(--blue-400); box-shadow: var(--shadow); color: inherit; }
.ccard--wide { grid-column: 1 / -1; }
.ccard small { display: block; color: var(--steel-500); font-size: .82rem; }
.ccard b { display: block; color: var(--blue-900); font-weight: 600; line-height: 1.5; word-break: break-word; }
.ccard__ic { display: grid; place-items: center; width: 50px; height: 50px; flex: none; border-radius: 12px; background: var(--blue-50); color: var(--blue-600); }
.ccard__ic--wa { background: #E7F8EE; color: #128C4A; }
.contact__rfq .ic--lg { color: var(--blue-100); margin-bottom: 1rem; }

/* ---------- Forms ---------- */
.rfq { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.rfq__side { position: sticky; top: calc(var(--hdr-h) + 1.5rem); display: grid; gap: 1.25rem; }
.form { background: #fff; border: 1px solid var(--steel-100); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--shadow); }
.form__set { border: 0; padding: 0; margin: 0 0 1.5rem; }
.form__set legend { display: flex; align-items: center; gap: .65rem; font-weight: 700; color: var(--blue-900); font-size: 1.1rem; margin-bottom: 1.25rem; }
.form__set legend span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue-600); color: #fff; font-size: .85rem; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
.field { margin-bottom: 1.15rem; }
.field label, .field .label { display: block; font-weight: 600; font-size: .92rem; color: var(--steel-700); margin-bottom: .4rem; }
.req { color: var(--err); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea { width: 100%; min-height: 50px; padding: .7rem .95rem; border: 1.5px solid var(--steel-200); border-radius: var(--radius-sm); background: #fff; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23626C77' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-inline-end: 2.5rem; }
[dir="rtl"] .field select { background-position: left 1rem center; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--steel-300); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(30,91,214,.15); }
.field--err input, .field--err select, .field--err textarea, .field--err .drop { border-color: var(--err); }
.field__err { color: var(--err); font-size: .86rem; margin: .35rem 0 0; font-weight: 500; }
.field__hint { color: var(--steel-500); font-size: .84rem; margin: .35rem 0 0; }
.field--check { display: grid; grid-template-columns: auto 1fr; gap: .25rem .7rem; align-items: start; }
.field--check input { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--blue-600); }
.field--check label { font-weight: 400; margin: 0; }
.field--check .field__err { grid-column: 1 / -1; }
.drop { display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: 1.75rem 1rem; border: 1.5px dashed var(--steel-300); border-radius: var(--radius); background: var(--steel-50); text-align: center; cursor: pointer; transition: border-color .2s, background .2s; font-weight: 400 !important; }
.drop:hover, .drop.is-over { border-color: var(--blue-600); background: var(--blue-50); }
.drop .ic { color: var(--blue-600); }
.drop__t { font-weight: 600; color: var(--blue-900); }
.drop__h { font-size: .84rem; color: var(--steel-500); }
.drop__input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop__input:focus-visible + .field__err, .drop__input:focus-visible { outline: none; }
.field:has(.drop__input:focus-visible) .drop { outline: 3px solid var(--blue-600); outline-offset: 2px; }
.hp { position: absolute !important; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: 1.25rem; border-top: 1px solid var(--steel-100); }
.secure { display: flex; align-items: center; gap: .5rem; color: var(--steel-500); font-size: .86rem; margin: 0; }
.secure .ic { color: var(--ok); width: 18px; height: 18px; }
.alert { padding: 1rem 1.15rem; border-radius: var(--radius-sm); margin-bottom: 1.5rem; font-weight: 500; }
.alert--err { background: var(--err-bg); color: var(--err); border: 1px solid #f5c2bd; }
.steps { list-style: none; counter-reset: s; display: grid; gap: 1rem; }
.steps li { counter-increment: s; position: relative; padding-inline-start: 2.6rem; }
.steps li::before { content: counter(s); position: absolute; inset-inline-start: 0; top: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-50); color: var(--blue-700); font-weight: 700; font-size: .85rem; }
.steps b { display: block; color: var(--blue-900); font-size: .95rem; }
.steps span { color: var(--steel-500); font-size: .9rem; }
.thanks__ic { display: inline-grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); margin-bottom: 1.5rem; }
.refbox { display: inline-flex; flex-direction: column; gap: .25rem; padding: 1.25rem 2rem; border-radius: var(--radius); border: 1.5px dashed var(--blue-400); background: var(--blue-50); margin: 1rem 0 1.5rem; }
.refbox b { font-size: 1.6rem; color: var(--blue-800); letter-spacing: .05em; font-variant-numeric: tabular-nums; }
.refbox small, .refbox span { color: var(--steel-500); font-size: .88rem; }
.errpage__code { font-size: clamp(5rem, 15vw, 9rem); font-weight: 800; line-height: 1; margin: 0 0 1rem; background: var(--cobalt); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Footer ---------- */
.ftr { background: var(--blue-950); color: rgba(255,255,255,.65); padding-top: clamp(3.5rem, 6vw, 5rem); font-size: .94rem; }
.ftr__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 2.5rem; padding-bottom: 3rem; }
.ftr__brand p { margin-top: 1.25rem; max-width: 36ch; }
.ftr__h { color: #fff; font-size: 1rem; margin-bottom: 1.1rem; }
.ftr__list { list-style: none; display: grid; gap: .6rem; }
.ftr__list a { color: inherit; text-decoration: none; }
.ftr__list a:hover { color: #fff; }
.ftr__contact li { display: flex; gap: .6rem; align-items: flex-start; line-height: 1.5; }
.ftr__contact .ic { width: 17px; height: 17px; color: var(--blue-400); margin-top: .2em; }
.social { list-style: none; display: flex; gap: .5rem; margin-top: 1rem; }
.social a { color: #fff; font-size: .85rem; padding: .35rem .7rem; border: 1px solid rgba(255,255,255,.2); border-radius: 6px; text-decoration: none; }
.ftr__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.5rem; border-top: 1px solid rgba(255,255,255,.08); font-size: .86rem; }
.ftr__bottom p { margin: 0; }
.ftr__top { display: inline-flex; align-items: center; gap: .4rem; color: inherit; text-decoration: none; }
.ftr__top:hover { color: #fff; }
.ftr__top .ic { width: 16px; height: 16px; }

.wa { position: fixed; bottom: 1.25rem; inset-inline-start: 1.25rem; z-index: 90; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; box-shadow: 0 12px 28px -10px rgba(37,211,102,.7); transition: transform .25s var(--ease); }
.wa:hover { transform: scale(1.07); color: #fff; }
.wa .ic { width: 30px; height: 30px; }

/* ---------- Reveal (subtle; disabled with reduced motion) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1260px) {
  .brand__t small { display: none; }
  .nav { gap: .9rem; }
  .nav__list a { padding-inline: .6rem; }
}
@media (max-width: 1180px) {
  .inds { grid-template-columns: repeat(3, 1fr); }
  .nav__list a { padding-inline: .45rem; font-size: .9rem; }
  .nav__actions .btn { padding-inline: 1rem; }
}
@media (max-width: 1100px) {
  .nav { gap: .6rem; }
  .nav__list a { padding-inline: .38rem; font-size: .88rem; }
  .nav__actions .btn { padding-inline: .85rem; font-size: .9rem; }
}
@media (max-width: 1024px) {
  :root { --hdr-h: 68px; }
  .burger { display: inline-flex; position: relative; z-index: 2; }
  .hdr { backdrop-filter: none; background: #fff; }
  .nav { position: fixed; inset: var(--nav-top, var(--hdr-h)) 0 0 0; z-index: 1; flex-direction: column; align-items: stretch; gap: 1rem; padding: 1.5rem 1.25rem 2rem; background: #fff; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s var(--ease); }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { padding: .95rem .5rem; font-size: 1.05rem; border-bottom: 1px solid var(--steel-100); border-radius: 0; }
  .nav__list a[aria-current="page"]::after { display: none; }
  .nav__actions { flex-direction: column; align-items: stretch; }
  .nav__actions .btn, .lang { justify-content: center; min-height: 48px; }
  body.nav-open { overflow: hidden; }
  .lines, .values, .capcols, .partners { grid-template-columns: 1fr 1fr; }
  .pgrid, .sgrid { grid-template-columns: 1fr 1fr; }
  .intro__grid, .faq, .split, .detail, .rfq, .contact { grid-template-columns: 1fr; }
  .detail__side, .rfq__side { position: static; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .indrow { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 720px) {
  .topbar__note, .topbar a:nth-child(2) span { display: none; }
  .brand__t small { display: none; }
  .hero { min-height: auto; }
  .hero__rail-in { grid-template-columns: 1fr; }
  .rail { border-inline-start: 0; border-top: 1px solid rgba(255,255,255,.1); padding-inline: 0; }
  .rail:first-child { border-top: 0; }
  .lines, .values, .capcols, .partners, .pgrid, .pgrid--2, .sgrid, .inds, .mv, .twocol, .grid2, .ccards, .gallery { grid-template-columns: 1fr; }
  .ind { min-height: 0; }
  .ind__t { margin-top: 1.25rem; }
  .ftr__grid { grid-template-columns: 1fr; gap: 2rem; }
  .form__foot { flex-direction: column-reverse; align-items: stretch; }
  .form__foot .btn { width: 100%; }
  .hero__actions .btn { flex: 1 1 100%; }
  .detail__fig { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
@media print {
  .topbar, .hdr, .ftr, .wa, .ctaband, .hero__rail { display: none; }
  .hero, .phero { background: none; color: #000; }
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Office map (end of every page) ----------
   Live Google Map inside a rounded frame (loaded when scrolled near).
   A self-hosted map image with the company pin sits underneath, so the
   frame is never empty (e.g. offline previews or blocked third parties). */
.mapsec { padding-block: clamp(3.5rem, 3rem + 3vw, 5.5rem); background: var(--steel-50); }
.mapsec__grid { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: stretch; }
.mapcard { background: #fff; border: 1px solid var(--steel-100); border-radius: var(--radius-lg); padding: 2rem; display: flex; flex-direction: column; }
.mapcard .h3 { margin-bottom: 1.25rem; }
.mapcard__list { list-style: none; display: grid; gap: 0; margin-bottom: 1.5rem; }
.mapcard__list li { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 0; border-top: 1px solid var(--steel-100); }
.mapcard__list li:first-child { border-top: 0; padding-top: 0; }
.mapcard__ic { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--blue-50); color: var(--blue-600); }
.mapcard__list small { display: block; color: var(--steel-500); font-size: .82rem; }
.mapcard__list b, .mapcard__list a { color: var(--blue-900); font-weight: 600; line-height: 1.6; text-decoration: none; word-break: break-word; }
.mapcard__list a:hover { color: var(--blue-600); }
.mapcard .btn { margin-top: auto; align-self: flex-start; }
.mapbox { position: relative; min-height: 420px; border-radius: 22px; overflow: hidden; background: #e9edf2; border: 1px solid var(--steel-100); box-shadow: var(--shadow); isolation: isolate; }
.mapbox__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mapbox iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; opacity: 0; transition: opacity .6s ease; }
.mapbox.is-loaded iframe { opacity: 1; }
.mapbox noscript iframe { opacity: 1; }
.mapbox__pin { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -66px 0 0 -28px; z-index: 1; }
.mapbox.is-loaded .mapbox__pin { display: none; }
.mappin__head { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50% 50% 50% 6px; transform: rotate(-45deg); background: #fff; border: 3px solid var(--blue-600); box-shadow: 0 14px 28px -10px rgba(0,26,92,.6); }
.mappin__head img { width: 30px; height: auto; transform: rotate(45deg); }
.mappin__pulse { position: absolute; left: 50%; top: 66px; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: rgba(30,91,214,.45); animation: pin-pulse 2.2s ease-out infinite; }
@keyframes pin-pulse { from { transform: scale(.6); opacity: .9; } to { transform: scale(5); opacity: 0; } }
@media (max-width: 1024px) { .mapsec__grid { grid-template-columns: 1fr; } .mapbox { min-height: 360px; } }
@media (max-width: 720px) {
  .mapcard { padding: 1.5rem; }
  .mapbox { min-height: 300px; border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) { .mappin__pulse { animation: none; } }


/* ---------- Clients & partners — premium layout ----------
   Clients: feature cards with monogram (logo replaces it when uploaded).
   Partners: hairline "logo wall" with typographic wordmarks. */
.orgsec { position: relative; isolation: isolate; overflow: hidden; background: #fff; }
.orgsec__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 45% at 50% 0%, rgba(30,91,214,.10), transparent 70%), radial-gradient(rgba(2,56,125,.16) 1px, transparent 1.2px) 0 0 / 22px 22px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 35%, #000 40%, transparent 100%); mask-image: radial-gradient(80% 70% at 50% 35%, #000 40%, transparent 100%); }
.orgs2 { display: grid; gap: clamp(2.5rem, 2rem + 2vw, 4rem); }
.orgs2__label { display: flex; align-items: center; gap: 1rem; margin: 0 0 1.5rem; font-size: .95rem; font-weight: 700; letter-spacing: .02em; color: var(--blue-700, #1d4fb8); }
.orgs2__label::before, .orgs2__label::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--steel-200, #d7dde5)); }
.orgs2__label::after { background: linear-gradient(90deg, var(--steel-200, #d7dde5), transparent); }
.orgs2__label span { padding: .45rem 1.1rem; border-radius: 999px; background: var(--blue-50); border: 1px solid rgba(30,91,214,.15); }

.ccl-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.ccl { position: relative; isolation: isolate; display: flex; flex-direction: column; height: 100%; min-height: 230px; padding: 1.75rem; border-radius: 24px; overflow: hidden; text-decoration: none; color: #fff;
  background: linear-gradient(160deg, #0b2a6b 0%, var(--blue-950) 60%); border: 1px solid rgba(255,255,255,.08); box-shadow: 0 30px 60px -35px rgba(0,26,92,.6); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.ccl::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 28px 28px; -webkit-mask-image: linear-gradient(200deg, #000, transparent 65%); mask-image: linear-gradient(200deg, #000, transparent 65%); }
.ccl__glow { position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(91,139,240,.35), transparent 60%); }
a.ccl:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -35px rgba(0,26,92,.75); }
a.ccl:hover .ccl__glow { opacity: 1; }
a.ccl:focus-visible { outline: 2px solid var(--blue-400); outline-offset: 4px; }
.ccl__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: auto; padding-bottom: 2rem; }
.ccl__mono { display: grid; place-items: center; min-width: 64px; height: 64px; padding-inline: .9rem; border-radius: 18px; font: 800 1.15rem/1 var(--font); letter-spacing: .06em; direction: ltr;
  background: linear-gradient(135deg, #5B8BF0, var(--blue-600)); box-shadow: 0 14px 30px -12px rgba(91,139,240,.7), inset 0 1px 0 rgba(255,255,255,.35); }
.ccl__mono img { max-height: 40px; max-width: 120px; filter: brightness(0) invert(1); }
.ccl__idx { font-weight: 800; font-size: 2.4rem; line-height: 1; color: rgba(255,255,255,.08); font-variant-numeric: tabular-nums; }
.ccl__foot { display: flex; align-items: flex-end; gap: 1rem; }
.ccl__txt { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.ccl__name { font-size: 1.2rem; font-weight: 700; line-height: 1.45; color: #fff; }
.ccl__alt { margin-top: .35rem; font-size: .85rem; color: rgba(255,255,255,.55); line-height: 1.45; }
a.ccl:hover, a.ccl:hover .ccl__name { color: #fff; }
.ccl__go { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); color: #fff; transition: background .3s, border-color .3s, transform .4s var(--ease); }
[dir="rtl"] .ccl__go svg { transform: scaleX(-1); }
a.ccl:hover .ccl__go { background: #fff; border-color: #fff; color: var(--blue-900); transform: rotate(-8deg) scale(1.06); }

.wall { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--steel-100); border: 1px solid var(--steel-100); border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px -45px rgba(0,26,92,.35); }
.wall li { background: #fff; }
.wall__cell { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; height: 100%; min-height: 150px; padding: 1.5rem 1rem; text-decoration: none; transition: background .35s; }
.wall__cell::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .35s; background: radial-gradient(240px circle at 50% 120%, rgba(30,91,214,.14), transparent 70%); }
a.wall__cell:hover::before { opacity: 1; }
.wall__mark { position: relative; font: 800 clamp(1.35rem, 1.1rem + .9vw, 1.9rem)/1 var(--font); letter-spacing: -.01em; color: var(--steel-500); transition: color .35s, transform .45s var(--ease); }
a.wall__cell:hover .wall__mark { color: transparent; background: linear-gradient(90deg, var(--blue-600), #5B8BF0); -webkit-background-clip: text; background-clip: text; transform: translateY(-3px); }
.wall__logo { position: relative; max-height: 52px; max-width: 70%; filter: grayscale(1); opacity: .7; transition: filter .35s, opacity .35s; }
a.wall__cell:hover .wall__logo { filter: none; opacity: 1; }
.wall__ar { position: relative; font-size: .82rem; color: var(--steel-500); opacity: .8; }
.wall__go { position: absolute; top: .9rem; inset-inline-end: .9rem; color: var(--blue-600); opacity: 0; transform: translate(-4px, 4px); transition: opacity .3s, transform .35s var(--ease); }
[dir="rtl"] .wall__go svg { transform: scaleX(-1); }
a.wall__cell:hover .wall__go { opacity: 1; transform: none; }
a.wall__cell:focus-visible { outline: 2px solid var(--blue-600); outline-offset: -4px; }
@media (max-width: 900px) { .ccl-grid { grid-template-columns: 1fr; } .ccl { min-height: 0; } .ccl__top { padding-bottom: 1.25rem; } }
@media (max-width: 640px) { .wall { grid-template-columns: 1fr 1fr; } .wall__cell { min-height: 120px; } }
@media (prefers-reduced-motion: reduce) { .ccl, .wall__mark, .ccl__go { transition: none; } a.ccl:hover { transform: none; } }

/* ---------- Services: sticky stacking cards ----------
   Each card sticks under the header; the next one slides up over it.
   A small per-card offset leaves the edge of the card beneath visible.
   Pure CSS (works without JS); motion.js adds a gentle scale/dim on cards
   that get covered (skipped for reduced motion). */
.stk { --stk-top: calc(var(--hdr-h) + 1.25rem); --stk-step: 22px; display: grid; gap: 2rem; padding-bottom: 1rem; }
.stk__card { position: sticky; top: var(--stk-top); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); min-height: min(68vh, 560px); border-radius: 28px; overflow: hidden; background: #fff; border: 1px solid var(--steel-100); box-shadow: 0 -14px 40px -24px rgba(0,26,92,.35), 0 30px 60px -40px rgba(0,26,92,.45); transform-origin: 50% 0; will-change: transform; }
.stk__card--2 { top: calc(var(--stk-top) + var(--stk-step)); }
.stk__card--3 { top: calc(var(--stk-top) + var(--stk-step) * 2); }
.stk__card--4 { top: calc(var(--stk-top) + var(--stk-step) * 3); }
.stk__body { display: flex; flex-direction: column; justify-content: center; gap: .25rem; padding: clamp(1.75rem, 1rem + 3vw, 3.5rem); }
.stk__top { display: flex; align-items: baseline; gap: .5rem; margin-bottom: .75rem; }
.stk__n { font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); font-weight: 800; line-height: 1; color: var(--blue-600); font-variant-numeric: tabular-nums; }
.stk__of { font-weight: 600; color: var(--steel-400, #94a3b8); }
.stk__title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); color: var(--blue-900); margin-bottom: .5rem; }
.stk__d { color: var(--steel-500); font-size: 1.02rem; max-width: 52ch; margin-bottom: .5rem; }
.stk__body .ticks { margin-bottom: 1.75rem; }
.stk__body .btn { align-self: flex-start; }
.stk__art { position: relative; display: grid; place-items: center; overflow: hidden; color: #fff; background: var(--cobalt); background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px), var(--cobalt); background-size: 36px 36px, 36px 36px, auto; }
.stk__card--2 .stk__art { background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(135deg, #3d434b, #626c77); }
.stk__card--3 .stk__art { background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(135deg, var(--blue-950), #0b3a8c); }
.stk__gear { position: absolute; width: 130%; max-width: none; inset-inline-end: -45%; bottom: -40%; opacity: .1; filter: brightness(0) invert(1); animation: spin 40s linear infinite; }
.stk__ic { position: relative; display: grid; place-items: center; width: clamp(120px, 10vw, 160px); aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); box-shadow: 0 0 0 18px rgba(255,255,255,.05), 0 0 0 38px rgba(255,255,255,.03); }
.stk__ic .ic { width: 46%; height: 46%; }
@media (max-width: 900px) {
  .stk { --stk-top: calc(var(--hdr-h) + .75rem); --stk-step: 14px; gap: 1.25rem; }
  .stk__card { grid-template-columns: 1fr; min-height: 0; border-radius: 22px; }
  .stk__art { order: -1; height: 120px; }
  .stk__ic { width: 76px; box-shadow: 0 0 0 10px rgba(255,255,255,.05); }
  .stk__gear { width: 70%; inset-inline-end: -15%; bottom: -120%; }
  .stk__body { padding: 1.5rem 1.4rem 1.75rem; }
  .stk__n { font-size: 2.2rem; }
}
@media (prefers-reduced-motion: reduce) { .stk__gear { animation: none; } }
