/* =========================================================
   Demas Group — main stylesheet
   Logical properties are used throughout so RTL (Arabic) and
   LTR (English) share one stylesheet.
   ========================================================= */

:root {
  --navy-950: #051427;
  --navy-900: #071d38;
  --navy-800: #0b2545;
  --navy-700: #13315c;
  --navy-600: #1d4477;
  --cyan: #18a7e0;
  --cyan-600: #0b8cc4;
  --cyan-200: #a9e0f6;
  --cyan-50: #ecf8fd;
  --green: #2fae6a;
  --ink: #0e1a2b;
  --muted: #5a6a80;
  --line: #e2e9f1;
  --bg: #ffffff;
  --tint: #f4f8fb;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 40px -12px rgba(11, 37, 69, .22);
  --shadow-lg: 0 30px 80px -20px rgba(11, 37, 69, .35);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1240px;
  --header-h: 92px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}
:lang(ar) { --font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
:lang(ar) body { line-height: 1.85; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3 { letter-spacing: 0; line-height: 1.35; }
p { margin: 0 0 1em; }
::selection { background: var(--cyan); color: #fff; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; inset-inline-start: 12px; top: -60px; z-index: 1000; background: var(--cyan); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.center { text-align: center; }
.mt { margin-top: 28px; }

.ic { width: 1.15em; height: 1.15em; flex: none; }
.ic--sm { width: .9em; height: .9em; }
[dir="rtl"] .ic--flip { transform: scaleX(-1); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan-600);
}
:lang(ar) .eyebrow { letter-spacing: 0; font-size: .92rem; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--cyan-200); }
.h2 { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 3rem); }
.lead { font-size: clamp(1.02rem, .95rem + .3vw, 1.18rem); color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--cyan); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: .98rem; line-height: 1.2;
  cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, color .3s, border-color .3s;
  will-change: transform;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.18);
  transform: translateX(-101%); transition: transform .5s var(--ease);
}
[dir="rtl"] .btn::after { transform: translateX(101%); }
.btn:hover::after { transform: translateX(0); }
.btn:hover { box-shadow: 0 12px 30px -10px rgba(24, 167, 224, .6); }
.btn--lg { padding: 16px 30px; font-size: 1.05rem; }
.btn--sm { padding: 10px 18px; font-size: .9rem; }
.btn--primary { --bg: var(--cyan); }
.btn--dark { --bg: var(--navy-800); }
.btn--dark:hover { box-shadow: 0 12px 30px -10px rgba(11, 37, 69, .6); }
.btn--outline { --bg: transparent; --fg: var(--navy-800); border-color: var(--navy-800); }
.btn--outline::after { background: var(--navy-800); }
.btn--outline:hover { --fg: #fff; }
.btn--ghost { --bg: transparent; border-color: rgba(255,255,255,.7); }
.btn--glass { --bg: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; color: inherit; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }

/* ---------- Preloader & transitions ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 999; background: var(--navy-900); display: grid; place-items: center;
  color: #fff; transition: opacity .6s var(--ease), visibility .6s;
}
.no-js .preloader, .preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__inner { display: grid; justify-items: center; gap: 22px; }
.preloader__mark { width: 84px; filter: brightness(0) invert(1); animation: markIn 1s var(--ease) both; }
.preloader__bar { width: 160px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.15); overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 40%; background: var(--cyan); border-radius: 3px; animation: bar 1.1s var(--ease) infinite; }
.preloader__wave { position: absolute; bottom: 0; left: 0; width: 200%; height: 90px; fill: rgba(24,167,224,.18); animation: waveX 6s linear infinite; }
@keyframes markIn { from { opacity: 0; transform: translateY(14px) scale(.9); } }
@keyframes bar { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
@keyframes waveX { to { transform: translateX(-50%); } }

.curtain { position: fixed; inset: 0; z-index: 998; pointer-events: none; display: grid; }
.curtain span { grid-area: 1 / 1; transform: scaleY(0); transform-origin: bottom; }
.curtain span:first-child { background: var(--cyan); }
.curtain span:last-child { background: var(--navy-900); }

.progress { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--green)); transform-origin: left; transform: scaleX(0); }
[dir="rtl"] .progress span { transform-origin: right; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy-950); color: rgba(255,255,255,.82); font-size: .84rem; }
.topbar__row { display: flex; align-items: center; gap: 26px; min-height: 44px; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar a:hover { color: #fff; }
.topbar__addr { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.topbar__badge { margin-inline-start: auto; font-weight: 600; color: #fff; }

.header {
  position: sticky; top: 0; z-index: 100; background: rgba(11, 37, 69, .96); color: #fff;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform .5s var(--ease), background .3s, box-shadow .3s;
}
body:not(.page-404):not(.page-offline) .header:not(.is-scrolled) { background: linear-gradient(rgba(5,20,39,.55), rgba(5,20,39,0)); backdrop-filter: none; -webkit-backdrop-filter: none; }
.header.is-scrolled { box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); }
.header.is-hidden { transform: translateY(-100%); }
.header__row { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand__img { height: 70px; width: auto; transition: height .4s var(--ease); }
.header.is-scrolled .brand__img { height: 58px; }
.nav { display: flex; align-items: center; gap: 6px; margin-inline: auto; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px;
  font-weight: 600; font-size: 1.02rem; color: rgba(255,255,255,.88); transition: color .25s;
}
.nav__link::after {
  content: ""; position: absolute; inset-inline: 14px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--cyan); transform: scaleX(0); transition: transform .4s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 999px; transition: background .25s; }
.lang-switch:hover { background: rgba(255,255,255,.1); }
.lang-switch[lang="ar"] { font-family: "IBM Plex Sans Arabic", sans-serif; }
.lang-switch[lang="en"] { font-family: "Manrope", sans-serif; }

/* Mega menu */
.has-mega { position: relative; }
.mega {
  position: absolute; top: calc(100% + 14px); inset-inline-start: 50%; width: min(760px, 90vw);
  transform: translate(-50%, 10px); background: #fff; color: var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 18px; opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), transform .4s var(--ease), visibility .3s;
}
[dir="rtl"] .mega { transform: translate(50%, 10px); }
.mega::before { content: ""; position: absolute; inset-inline: 0; top: -16px; height: 16px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
[dir="rtl"] .has-mega:hover .mega, [dir="rtl"] .has-mega:focus-within .mega { transform: translate(50%, 0); }
.mega__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mega__card { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--radius-sm); transition: background .25s; }
.mega__card:hover { background: var(--cyan-50); }
.mega__card img { width: 56px; height: 56px; object-fit: contain; border-radius: 10px; background: var(--tint); }
.mega__card strong { display: block; font-size: .95rem; line-height: 1.3; }
.mega__card small { color: var(--muted); }
.mega__all { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; padding: 12px; border-radius: var(--radius-sm); background: var(--navy-800); color: #fff; font-weight: 700; }

/* Burger + mobile menu */
.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); cursor: pointer; position: relative; z-index: 130; }
.burger span { position: absolute; inset-inline-start: 13px; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .45s var(--ease), opacity .3s, width .3s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; width: 14px; } .burger span:nth-child(3) { top: 28px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mmenu { position: fixed; inset: 0; z-index: 110; color: #fff; display: flex; flex-direction: column; justify-content: center; padding: 110px 28px 40px; visibility: hidden; }
.mmenu__bg { position: absolute; inset: 0; background: var(--navy-900); clip-path: circle(0% at calc(100% - 50px) 50px); transition: clip-path .8s var(--ease); }
[dir="rtl"] .mmenu__bg { clip-path: circle(0% at 50px 50px); }
.menu-open .mmenu { visibility: visible; }
.menu-open .mmenu__bg { clip-path: circle(150% at calc(100% - 50px) 50px); }
[dir="rtl"].menu-open .mmenu__bg, .menu-open[dir="rtl"] .mmenu__bg { clip-path: circle(150% at 50px 50px); }
.mmenu__nav, .mmenu__foot { position: relative; }
.mmenu__nav { display: grid; gap: 4px; }
.mmenu__link { display: flex; align-items: baseline; gap: 14px; font-size: clamp(1.8rem, 8vw, 2.6rem); font-weight: 700; padding: 6px 0; opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .6s var(--ease), color .2s; }
.mmenu__link small { font-size: .8rem; color: var(--cyan); font-weight: 600; }
.mmenu__link.is-active { color: var(--cyan-200); }
.menu-open .mmenu__link { opacity: 1; transform: none; }
.menu-open .mmenu__link:nth-child(1) { transition-delay: .15s; } .menu-open .mmenu__link:nth-child(2) { transition-delay: .2s; }
.menu-open .mmenu__link:nth-child(3) { transition-delay: .25s; } .menu-open .mmenu__link:nth-child(4) { transition-delay: .3s; }
.menu-open .mmenu__link:nth-child(5) { transition-delay: .35s; } .menu-open .mmenu__link:nth-child(6) { transition-delay: .4s; }
.mmenu__foot { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); opacity: 0; transition: opacity .5s .45s; }
.mmenu__foot a { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.85); }
.menu-open .mmenu__foot { opacity: 1; }
.menu-open { overflow: hidden; }
.menu-open .header { z-index: 120; background: transparent !important; box-shadow: none; transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100svh - 44px, 980px); display: flex; flex-direction: column; justify-content: center; color: #fff; overflow: hidden; background: var(--navy-900); padding: 80px 0 150px; margin-top: calc(var(--header-h) * -1); padding-top: calc(var(--header-h) + 60px); }
.hero__media { position: absolute; inset: 0; }
.hero__img { width: 100%; height: 115%; object-fit: cover; transform-origin: center; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(5,20,39,.92) 0%, rgba(11,37,69,.72) 42%, rgba(11,37,69,.2) 100%), linear-gradient(0deg, rgba(5,20,39,.6), transparent 40%);
}
[dir="rtl"] .hero__media::after { background: linear-gradient(-100deg, rgba(5,20,39,.92) 0%, rgba(11,37,69,.72) 42%, rgba(11,37,69,.2) 100%), linear-gradient(0deg, rgba(5,20,39,.6), transparent 40%); }
.hero__drops { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero__content { position: relative; z-index: 2; }
.hero__eyebrow { color: var(--cyan-200); }
.hero__eyebrow::before { display: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(47,174,106,.7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 12px rgba(47,174,106,0); } 100% { box-shadow: 0 0 0 0 rgba(47,174,106,0); } }
.hero__title { font-size: clamp(2.5rem, 1.4rem + 5vw, 5.4rem); max-width: 15ch; margin-bottom: 22px; font-weight: 800; line-height: 1.05; }
:lang(ar) .hero__title { line-height: 1.3; max-width: 13ch; }
.hero__lead { font-size: clamp(1.05rem, .95rem + .5vw, 1.3rem); max-width: 40rem; color: rgba(255,255,255,.85); margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 14px; margin-top: 56px; }
.glass-stat { padding: 16px 22px; border-radius: var(--radius); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); min-width: 170px; }
.glass-stat strong { display: block; font-size: 2rem; line-height: 1.1; font-weight: 800; }
.glass-stat span { font-size: .9rem; color: rgba(255,255,255,.75); }
.hero__scroll { position: absolute; z-index: 3; bottom: 100px; inset-inline-end: 40px; width: 28px; height: 46px; border: 2px solid rgba(255,255,255,.5); border-radius: 20px; }
.hero__scroll span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: #fff; animation: scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }
.hero__wave { position: absolute; bottom: -1px; left: 0; width: 200%; height: 110px; z-index: 2; }
.hero__wave .w1 { fill: rgba(255,255,255,.25); animation: waveX 14s linear infinite; }
.hero__wave .w2 { fill: #fff; animation: waveX 9s linear infinite reverse; }

/* split words */
.word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.word > span { display: inline-block; will-change: transform; }

/* ---------- Marquee ---------- */
.marquee { padding: 26px 0 30px; border-bottom: 1px solid var(--line); overflow: hidden; display: flex; align-items: center; gap: 30px; }
.marquee__label { flex: none; margin: 0; padding-inline: 32px; position: relative; z-index: 1; background: #fff; align-self: stretch; display: flex; align-items: center; font-weight: 800; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); border-inline-end: 1px solid var(--line); }
:lang(ar) .marquee__label { letter-spacing: 0; font-size: .95rem; }
.marquee__track { display: flex; width: max-content; animation: marquee 35s linear infinite; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
[dir="rtl"] .marquee__track { animation-name: marqueeRtl; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 64px; padding-inline-end: 64px; }
.marquee__group img { height: 46px; width: auto; max-width: 170px; object-fit: contain; filter: grayscale(1) opacity(.7); transition: filter .3s; }
.marquee__group img:hover { filter: none; }
.marquee__text { font-weight: 800; font-size: 1.5rem; color: #9aa8ba; white-space: nowrap; font-family: "Manrope", sans-serif; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marqueeRtl { to { transform: translateX(50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(70px, 9vw, 130px) 0; position: relative; }
.section--tint { background: var(--tint); }
.section--navy { background: radial-gradient(1200px 500px at 80% 0%, rgba(24,167,224,.18), transparent 60%), var(--navy-900); color: #fff; }
.section--navy .lead { color: rgba(255,255,255,.75); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head .h2 { max-width: 22ch; margin: 0; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center .lead { max-width: 46rem; margin: 10px auto 0; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }

/* Intro */
.intro__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.intro__media { position: relative; min-height: 520px; }
.intro__img { margin: 0; position: absolute; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.intro__img img { width: 100%; height: 100%; object-fit: cover; }
.intro__img--a { inset-inline-start: 0; top: 0; width: 78%; height: 72%; }
.intro__img--b { inset-inline-end: 0; bottom: 0; width: 56%; height: 50%; border: 8px solid #fff; }
.intro__badge { position: absolute; inset-inline-start: 6%; bottom: 6%; background: var(--cyan); color: #fff; padding: 18px 24px; border-radius: var(--radius); box-shadow: var(--shadow); }
.intro__badge strong { display: block; font-size: 2.2rem; line-height: 1; font-weight: 800; font-family: "Manrope", sans-serif; }
.intro__badge span { font-size: .9rem; font-weight: 600; }
.checks { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checks .ic { color: #fff; background: var(--green); border-radius: 50%; padding: 4px; width: 26px; height: 26px; margin-top: 1px; }

/* Category grid */
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.cat-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(11,37,69,.25); transition: box-shadow .5s var(--ease); transform-style: preserve-3d; }
.cat-card:hover { box-shadow: var(--shadow-lg); }
.cat-card__img { aspect-ratio: 4/3; background: linear-gradient(160deg, #f6fafd, #e7f2f9); display: grid; place-items: center; overflow: hidden; }
.cat-card__img img { width: 78%; height: 78%; object-fit: contain; transition: transform .8s var(--ease); mix-blend-mode: multiply; }
.cat-card:hover .cat-card__img img { transform: scale(1.08) translateY(-4px); }
.cat-card__body { padding: 20px 22px 22px; position: relative; }
.cat-card__body h3 { font-size: 1.25rem; margin-bottom: 4px; }
.cat-card__body p { margin: 0; color: var(--muted); font-size: .92rem; }
.cat-card__go { position: absolute; inset-inline-end: 20px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--cyan-50); color: var(--cyan-600); transition: background .3s, color .3s, transform .4s var(--ease); }
.cat-card:hover .cat-card__go { background: var(--cyan); color: #fff; transform: translateY(-50%) rotate(-45deg); }
[dir="rtl"] .cat-card:hover .cat-card__go { transform: translateY(-50%) rotate(45deg); }
.cat-card--wide { grid-row: span 2; }
.cat-card--wide .cat-card__img { aspect-ratio: auto; flex: 1; }

/* How we work */
.how__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; position: relative; }
.how__card { position: relative; padding: 30px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; overflow: hidden; }
.how__card::before { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: linear-gradient(90deg, var(--cyan), var(--green)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
[dir="rtl"] .how__card::before { transform-origin: right; }
.how__card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.how__card:hover::before { transform: scaleX(1); }
.how__num { position: absolute; inset-inline-end: 20px; top: 14px; font-size: 3.4rem; font-weight: 800; color: var(--cyan-50); line-height: 1; font-family: "Manrope", sans-serif; }
.how__icon { position: relative; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: linear-gradient(135deg, var(--cyan), var(--cyan-600)); color: #fff; margin-bottom: 22px; box-shadow: 0 12px 24px -10px rgba(24,167,224,.7); }
.how__icon .ic { width: 28px; height: 28px; }
.how__card h3 { font-size: 1.2rem; position: relative; }
.how__card p { color: var(--muted); margin: 0; font-size: .96rem; position: relative; }

/* Sectors */
.sectors { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.sector { position: relative; overflow: hidden; display: flex; align-items: flex-end; color: #fff; padding: clamp(28px, 4vw, 60px); isolation: isolate; }
.sector img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.sector::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5,20,39,.92), rgba(5,20,39,.15) 70%); transition: background .5s; }
.sector:hover::before { background: linear-gradient(0deg, rgba(11,37,69,.95), rgba(24,167,224,.25) 80%); }
.sector__body { max-width: 30rem; transform: translateY(20px); transition: transform .6s var(--ease); }
.sector:hover .sector__body { transform: none; }
.sector__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--cyan); margin-bottom: 18px; }
.sector__icon .ic { width: 26px; height: 26px; }
.sector h3 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); }
.sector p { color: rgba(255,255,255,.82); }
.sector .link-arrow { color: var(--cyan-200); }

/* Map */
.map-sec__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: center; }
.kpis { display: flex; gap: 34px; margin: 6px 0 34px; flex-wrap: wrap; }
.kpis strong { display: block; font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--navy-800); font-family: "Manrope", sans-serif; }
.kpis span { color: var(--muted); font-weight: 600; font-size: .92rem; }
.ksa-map { position: relative; }
.ksa-map svg { width: 100%; height: auto; overflow: visible; }
.ksa-map__outline { stroke: var(--cyan); stroke-width: 2; stroke-linejoin: round; }
.ksa-map__dots { opacity: .7; }
.ksa-map__lines path { fill: none; stroke: var(--cyan); stroke-width: 1.6; stroke-dasharray: 4 6; opacity: .55; }
.pin { cursor: pointer; outline: none; }
.pin__dot { fill: var(--navy-800); stroke: #fff; stroke-width: 2; transition: r .3s; }
.pin--main .pin__dot { fill: var(--cyan); }
.pin__pulse { fill: var(--cyan); opacity: .35; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s var(--ease) infinite; }
.pin:nth-child(3n) .pin__pulse { animation-delay: .8s; } .pin:nth-child(3n+1) .pin__pulse { animation-delay: 1.6s; }
.pin__label { font-size: 15px; font-weight: 700; fill: var(--navy-800); text-anchor: middle; opacity: 0; transition: opacity .3s; paint-order: stroke; stroke: #fff; stroke-width: 4px; font-family: var(--font); }
.pin--main .pin__label, .pin:hover .pin__label, .pin:focus .pin__label { opacity: 1; }
@keyframes pulse { 0% { transform: scale(.4); opacity: .55; } 100% { transform: scale(2.2); opacity: 0; } }
.ksa-map__tip { position: absolute; background: var(--navy-900); color: #fff; padding: 10px 14px; border-radius: 10px; font-size: .88rem; pointer-events: none; transform: translate(-50%, calc(-100% - 18px)); white-space: nowrap; box-shadow: var(--shadow); }
.ksa-map__tip strong { display: block; }
.ksa-map__tip span { color: var(--cyan-200); }

/* Clients */
.client-cloud { list-style: none; padding: 0; margin: 0 0 44px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.client-cloud li { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); font-weight: 600; transition: background .3s, transform .4s var(--ease); }
.client-cloud li:hover { background: rgba(24,167,224,.2); transform: translateY(-3px); }
.client-cloud .ic { color: var(--cyan); }

/* Certificates */
.cert-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.cert-row__item { aspect-ratio: 3/2; display: grid; place-items: center; padding: 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.cert-row__item:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.cert-row__item img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; }

/* CTA */
.cta { padding: 0 0 clamp(70px, 9vw, 120px); }
.cta__box { position: relative; overflow: hidden; border-radius: 28px; color: #fff; padding: clamp(36px, 6vw, 80px); isolation: isolate; min-height: 380px; display: flex; align-items: center; }
.cta__img { position: absolute; inset: -15% 0; width: 100%; height: 130%; object-fit: cover; z-index: -2; }
.cta__box::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,29,56,.95), rgba(11,37,69,.75) 55%, rgba(24,167,224,.35)); }
[dir="rtl"] .cta__box::before { background: linear-gradient(-90deg, rgba(7,29,56,.95), rgba(11,37,69,.75) 55%, rgba(24,167,224,.35)); }
.cta__body { max-width: 40rem; }
.cta__body p { color: rgba(255,255,255,.82); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* Newsletter */
.newsletter { padding: 0 0 70px; }
.newsletter__box { display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; align-items: center; padding: 36px 40px; border-radius: 24px; background: linear-gradient(120deg, var(--cyan-50), #fff); border: 1px solid var(--line); }
.newsletter__title { font-size: 1.6rem; margin-bottom: 6px; }
.newsletter__box p { color: var(--muted); margin: 0; }
.newsletter__form { display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter__form input[type=email] { flex: 1 1 220px; padding: 14px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; outline: none; transition: border-color .25s, box-shadow .25s; }
.newsletter__form input[type=email]:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(24,167,224,.15); }
.form-msg { flex-basis: 100%; margin: 4px 0 0; font-weight: 600; font-size: .92rem; min-height: 1.2em; }
.form-msg.is-ok { color: var(--green); } .form-msg.is-err { color: #d64545; }

/* Footer */
.footer { position: relative; background: var(--navy-950); color: rgba(255,255,255,.72); padding-top: 90px; font-size: .95rem; }
.footer__wave { position: absolute; top: -1px; left: 0; width: 100%; height: 60px; fill: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.footer__about img { height: 76px; width: auto; margin-bottom: 18px; }
.footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { transition: color .2s; }
.footer a:hover { color: var(--cyan-200); }
.footer__docs a, .footer__contact a { display: inline-flex; gap: 10px; align-items: flex-start; }
.footer__docs .ic, .footer__contact .ic { color: var(--cyan); margin-top: 4px; }
.footer__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.footer__badges span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.15); font-size: .85rem; color: #fff; }
.footer__family { display: flex; align-items: center; gap: 30px; padding: 26px 0; border-top: 1px solid rgba(255,255,255,.1); flex-wrap: wrap; }
.footer__family > span { font-weight: 700; color: #fff; }
.footer__family div { display: flex; flex-wrap: wrap; gap: 14px; }
.footer__family img { height: 46px; width: auto; max-width: 140px; object-fit: contain; background: #fff; border-radius: 10px; padding: 6px 12px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0 calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.1); font-size: .86rem; flex-wrap: wrap; }
.footer__bottom p { margin: 0; }
.footer__bottom .link-btn { color: var(--cyan-200); font-weight: 700; }

.fab-call { position: fixed; z-index: 90; inset-inline-end: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: #fff; display: none; place-items: center; box-shadow: 0 12px 30px -8px rgba(47,174,106,.7); }
.fab-call .ic { width: 24px; height: 24px; }
.fab-call::before { content: ""; position: absolute; inset: 0; border-radius: 50%; animation: ping 2s infinite; }

.toast { position: fixed; z-index: 200; inset-inline-start: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 20px; border-radius: 14px; background: var(--navy-900); color: #fff; box-shadow: var(--shadow-lg); max-width: calc(100% - 32px); animation: toastIn .5s var(--ease); }
[dir="rtl"] .toast { transform: translateX(50%); padding: 12px 20px 12px 14px; }
.toast[hidden] { display: none; }
.toast__action { background: var(--cyan); border: 0; color: #fff; font-weight: 700; padding: 8px 14px; border-radius: 10px; cursor: pointer; white-space: nowrap; }
.toast__close { background: none; border: 0; color: rgba(255,255,255,.7); cursor: pointer; padding: 4px; display: grid; }
@keyframes toastIn { from { opacity: 0; translate: 0 20px; } }

/* ---------- Inner page hero ---------- */
.phero { position: relative; color: #fff; padding: calc(var(--header-h) + 70px) 0 110px; margin-top: calc(var(--header-h) * -1); overflow: hidden; background: var(--navy-900); }
.phero__media { position: absolute; inset: 0; }
.phero__img { width: 100%; height: 120%; object-fit: cover; }
.phero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(5,20,39,.93), rgba(11,37,69,.7) 55%, rgba(11,37,69,.35)); }
.phero__content { position: relative; z-index: 1; }
.phero__title { font-size: clamp(2.2rem, 1.4rem + 3.5vw, 4rem); font-weight: 800; max-width: 20ch; }
.phero__lead { max-width: 44rem; font-size: 1.12rem; color: rgba(255,255,255,.82); margin: 0; }
.phero__wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 50px; fill: #fff; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: rgba(255,255,255,.65); margin-bottom: 18px; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: var(--cyan-200); }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split__img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.split__img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.stats-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: -60px; position: relative; z-index: 2; }
.stat-card { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); text-align: center; }
.stat-card strong { display: block; font-size: 2.6rem; font-weight: 800; color: var(--cyan-600); line-height: 1.1; font-family: "Manrope", sans-serif; }
.stat-card span { color: var(--muted); font-weight: 600; }
.timeline { position: relative; display: grid; gap: 34px; max-width: 900px; margin-inline: auto; }
.timeline::before { content: ""; position: absolute; inset-inline-start: 50%; top: 0; bottom: 0; width: 2px; background: var(--line); transform: translateX(-50%); }
.timeline__fill { position: absolute; inset-inline-start: 50%; top: 0; width: 2px; height: 100%; background: linear-gradient(var(--cyan), var(--green)); transform: translateX(-50%) scaleY(0); transform-origin: top; }
[dir="rtl"] .timeline::before, [dir="rtl"] .timeline__fill { transform: translateX(50%); }
[dir="rtl"] .timeline__fill { transform: translateX(50%) scaleY(0); }
.tl { position: relative; width: calc(50% - 40px); padding: 24px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 30px -20px rgba(11,37,69,.3); }
.tl:nth-child(odd of .tl) { margin-inline-start: calc(50% + 40px); }
.tl::before { content: ""; position: absolute; top: 30px; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--cyan); inset-inline-end: -50px; }
.tl:nth-child(odd of .tl)::before { inset-inline-end: auto; inset-inline-start: -50px; }
.tl__year { display: inline-block; font-weight: 800; color: var(--cyan-600); font-size: 1.5rem; font-family: "Manrope", sans-serif; margin-bottom: 4px; }
.tl h3 { font-size: 1.15rem; }
.tl p { color: var(--muted); margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature .how__icon { margin-bottom: 18px; }
.feature h3 { font-size: 1.15rem; }
.feature p { color: var(--muted); margin: 0; }
.section--navy .feature { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.section--navy .feature p { color: rgba(255,255,255,.7); }
.tech-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.tech-list li { display: flex; gap: 16px; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--tint); }
.tech-list strong { display: block; color: var(--navy-800); }
.tech-list span { color: var(--muted); font-size: .95rem; }
.tech-list .ic { color: var(--cyan-600); width: 28px; height: 28px; margin-top: 2px; }
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.doc-card { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: border-color .3s, box-shadow .4s var(--ease), transform .4s var(--ease); }
.doc-card:hover { border-color: var(--cyan); box-shadow: var(--shadow); transform: translateY(-4px); }
.doc-card .ic { width: 34px; height: 34px; color: var(--cyan-600); margin-bottom: 8px; }
.doc-card strong { font-size: 1.05rem; }
.doc-card span { color: var(--muted); font-size: .9rem; }
.doc-card dl { margin: 6px 0 0; font-size: .85rem; color: var(--muted); display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; }
.doc-card dt { font-weight: 700; color: var(--ink); }
.doc-card dd { margin: 0; }

/* ---------- Services ---------- */
.process { position: relative; display: grid; gap: 26px; }
.process__line { position: absolute; inset-inline-start: 34px; top: 30px; bottom: 30px; width: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.process__line span { display: block; width: 100%; height: 100%; background: linear-gradient(var(--cyan), var(--green)); transform: scaleY(0); transform-origin: top; }
.pstep { position: relative; display: grid; grid-template-columns: 72px 1fr 1fr; gap: 30px; align-items: center; }
.pstep__num { position: relative; z-index: 1; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 4px solid var(--cyan); font-weight: 800; font-size: 1.4rem; color: var(--navy-800); font-family: "Manrope", sans-serif; }
.pstep__body h3 { font-size: 1.5rem; }
.pstep__body p { color: var(--muted); }
.pstep__img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.pstep__img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.tree { display: grid; gap: 18px; }
.tree__head { display: flex; align-items: center; gap: 14px; }
.tree__head .how__icon { margin: 0; }
.tree__head h3 { margin: 0; font-size: 1.6rem; }
.tree__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tree__col { padding: 20px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); }
.tree__col h4 { font-size: 1.05rem; color: var(--navy-800); margin-bottom: 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.tags li { padding: 6px 12px; border-radius: 999px; background: var(--cyan-50); color: var(--cyan-600); font-weight: 600; font-size: .88rem; }
.svc-list { columns: 2; column-gap: 40px; list-style: none; padding: 0; margin: 0; }
.svc-list li { break-inside: avoid; display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-weight: 600; }
.svc-list .ic { color: var(--green); margin-top: 4px; }

/* ---------- Products ---------- */
.catalog { display: grid; grid-template-columns: 290px 1fr; gap: 34px; align-items: start; }
.catalog__side { position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px); overflow: auto; padding: 22px; border-radius: var(--radius); background: var(--tint); scrollbar-width: thin; }
.catalog__side h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 12px; }
:lang(ar) .catalog__side h2 { letter-spacing: 0; }
.ctree, .ctree ul { list-style: none; margin: 0; padding: 0; }
.ctree ul { padding-inline-start: 14px; border-inline-start: 2px solid var(--line); margin: 4px 0 8px 6px; }
.ctree a { display: flex; justify-content: space-between; gap: 10px; padding: 7px 10px; border-radius: 9px; font-weight: 600; font-size: .94rem; transition: background .2s, color .2s; }
.ctree a small { color: var(--muted); font-weight: 500; }
.ctree a:hover { background: #fff; }
.ctree a.is-active { background: var(--navy-800); color: #fff; }
.ctree a.is-active small { color: var(--cyan-200); }
.catalog__bar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.catalog__bar p { margin: 0; color: var(--muted); }
.search { position: relative; flex: 1 1 320px; max-width: 460px; }
.search input { width: 100%; padding: 13px 20px; padding-inline-start: 46px; border-radius: 999px; border: 1.5px solid var(--line); outline: none; background: #fff; transition: border-color .25s, box-shadow .25s; }
.search input:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(24,167,224,.15); }
.search .ic { position: absolute; inset-inline-start: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.filter-toggle { display: none; }
.subcats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin-bottom: 34px; }
.subcat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 16px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); transition: border-color .3s, box-shadow .4s var(--ease), transform .4s var(--ease); }
.subcat:hover { border-color: var(--cyan); box-shadow: var(--shadow); transform: translateY(-4px); }
.subcat img { width: 90px; height: 90px; object-fit: contain; }
.subcat strong { font-size: .95rem; line-height: 1.3; }
.subcat small { color: var(--muted); }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.pcard { display: flex; flex-direction: column; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: box-shadow .5s var(--ease), transform .5s var(--ease), border-color .3s; }
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-6px); border-color: transparent; }
.pcard__img { aspect-ratio: 1; display: grid; place-items: center; background: #fff; padding: 18px; overflow: hidden; border-bottom: 1px solid var(--line); }
.pcard__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .7s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.07); }
.pcard__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard__cat { font-size: .78rem; font-weight: 700; color: var(--cyan-600); text-transform: uppercase; letter-spacing: .06em; }
:lang(ar) .pcard__cat { letter-spacing: 0; font-size: .85rem; }
.pcard__body h3 { font-size: 1rem; line-height: 1.4; margin: 0; font-family: "Manrope", var(--font); }
.pcard__sku { margin-top: auto; padding-top: 8px; font-size: .8rem; color: var(--muted); }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 44px; }
.pager a, .pager span { min-width: 44px; height: 44px; padding: 0 12px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); font-weight: 700; transition: background .2s, color .2s, border-color .2s; }
.pager a:hover { border-color: var(--cyan); color: var(--cyan-600); }
.pager .is-current { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty .ic { width: 48px; height: 48px; margin: 0 auto 12px; color: var(--cyan); }

.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.product__gallery { position: sticky; top: calc(var(--header-h) + 20px); border-radius: 24px; background: radial-gradient(circle at 50% 40%, #fff, var(--tint)); border: 1px solid var(--line); aspect-ratio: 1; display: grid; place-items: center; padding: 40px; overflow: hidden; }
.product__gallery img { width: 100%; height: 100%; object-fit: contain; transition: transform .2s; }
.product__cat { display: inline-flex; padding: 6px 14px; border-radius: 999px; background: var(--cyan-50); color: var(--cyan-600); font-weight: 700; font-size: .85rem; margin-bottom: 14px; }
.product__title { font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.5rem); font-family: "Manrope", var(--font); }
.product__sku { color: var(--muted); font-weight: 600; margin-bottom: 18px; }
.product__short { font-size: 1.08rem; color: #33445a; padding: 18px 20px; border-inline-start: 4px solid var(--cyan); background: var(--tint); border-radius: 0 12px 12px 0; }
[dir="rtl"] .product__short { border-radius: 12px 0 0 12px; }
.product__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0; }
.product__note { font-size: .9rem; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.prose { color: #33445a; }
.prose h3 { font-size: 1.15rem; margin: 28px 0 12px; color: var(--navy-800); padding-bottom: 8px; border-bottom: 2px solid var(--line); }
.prose ul { padding-inline-start: 20px; }
.prose li { margin-bottom: 6px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .94rem; margin: 10px 0 20px; overflow: hidden; border-radius: 12px; }
.prose td, .prose th { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.prose tr:nth-child(odd) td { background: var(--tint); }
.prose td:first-child { font-weight: 700; color: var(--ink); width: 42%; }
.tagline { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tagline span { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: .85rem; color: var(--muted); }

/* ---------- Projects ---------- */
.ptable-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.ptable { width: 100%; border-collapse: collapse; min-width: 680px; }
.ptable th { background: var(--navy-800); color: #fff; text-align: start; padding: 16px 18px; font-size: .9rem; }
.ptable td { padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ptable tr { transition: background .2s; }
.ptable tbody tr:hover { background: var(--cyan-50); }
.ptable .val { font-weight: 800; color: var(--navy-800); white-space: nowrap; font-family: "Manrope", var(--font); }
.ptable small { display: block; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.chip { padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; cursor: pointer; transition: all .25s; }
.chip:hover { border-color: var(--cyan); }
.chip.is-active { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.sector-tag { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.sector-tag--gov { background: #e8f0fb; color: #1d4477; }
.sector-tag--agri { background: #e6f6ed; color: #1d7a48; }
.sector-tag--land { background: var(--cyan-50); color: var(--cyan-600); }
.sector-tag--intl { background: #fff3e0; color: #b4630b; }
.letters { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.letter { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); position: relative; }
.letter::before { content: "“"; position: absolute; inset-inline-end: 18px; top: -6px; font-size: 5rem; color: var(--cyan-50); font-family: Georgia, serif; line-height: 1; }
.letter strong { display: block; color: var(--navy-800); margin-bottom: 6px; }
.letter p { color: var(--muted); font-size: .95rem; margin: 0 0 10px; }
.letter small { color: var(--cyan-600); font-weight: 700; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: start; }
.info-cards { display: grid; gap: 14px; }
.info-card { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--tint); transition: background .3s, transform .4s var(--ease); }
.info-card:hover { background: var(--cyan-50); transform: translateX(4px); }
[dir="rtl"] .info-card:hover { transform: translateX(-4px); }
.info-card .how__icon { margin: 0; width: 50px; height: 50px; flex: none; }
.info-card strong { display: block; }
.info-card span, .info-card a { color: var(--muted); }
.form { padding: clamp(24px, 4vw, 44px); border-radius: 24px; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form h2 { font-size: 1.7rem; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .92rem; }
.field label i { color: #d64545; font-style: normal; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--tint); outline: none; transition: border-color .25s, box-shadow .25s, background .25s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cyan); background: #fff; box-shadow: 0 0 0 4px rgba(24,167,224,.12); }
.field .is-invalid { border-color: #d64545; }
.form .btn { margin-top: 18px; }
.form-success { text-align: center; padding: 40px 10px; }
.form-success .ic { width: 70px; height: 70px; margin: 0 auto 16px; color: #fff; background: var(--green); border-radius: 50%; padding: 16px; }
.branch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.branch { padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; transition: border-color .3s, box-shadow .4s var(--ease), transform .4s var(--ease); }
.branch:hover { border-color: var(--cyan); box-shadow: var(--shadow); transform: translateY(-4px); }
.branch--main { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.branch h3 { font-size: 1.25rem; margin: 0; display: flex; align-items: center; gap: 10px; }
.branch h3 small { font-size: .7rem; padding: 3px 10px; border-radius: 999px; background: var(--cyan); color: #fff; }
.branch p { margin: 0; color: var(--muted); font-weight: 600; }
.branch--main p { color: var(--cyan-200); }
.branch a { display: inline-flex; gap: 8px; align-items: center; font-size: .92rem; }
.branch a:hover { color: var(--cyan-600); }
.branch--main a:hover { color: var(--cyan-200); }
.branch__links { display: grid; gap: 4px; margin-top: 10px; }
.map-embed { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); height: 420px; background: var(--tint); }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- 404 / offline ---------- */
.state { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 120px 0 80px; }
.state__big { font-size: clamp(6rem, 20vw, 12rem); font-weight: 800; line-height: 1; background: linear-gradient(135deg, var(--cyan), var(--navy-800)); -webkit-background-clip: text; background-clip: text; color: transparent; font-family: "Manrope", sans-serif; }
.state .ic--xl { width: 96px; height: 96px; color: var(--cyan); margin: 0 auto 20px; }

/* ---------- Reveal defaults (set by JS) ---------- */
.js [data-reveal]:not(.is-in) { visibility: hidden; }
.js.no-anim [data-reveal] { visibility: visible !important; }
.tilt { transform-style: preserve-3d; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__link { padding: 10px 10px; font-size: .96rem; }
  .header__cta { display: none; }
  .topbar__addr { display: none; }
}
@media (max-width: 1024px) {
  :root { --header-h: 78px; }
  .nav, .header__actions > .lang-switch { display: none; }
  .burger { display: block; }
  .header__actions { margin-inline-start: auto; }
  .brand__img { height: 58px; }
  .header.is-scrolled .brand__img { height: 52px; }
  .intro__grid, .split, .map-sec__grid, .contact-grid, .product { grid-template-columns: 1fr; }
  .intro__media { min-height: 440px; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .cat-card--wide { grid-row: auto; grid-column: 1 / -1; }
  .cat-card--wide .cat-card__img { aspect-ratio: 16/8; }
  .how__grid { grid-template-columns: 1fr 1fr; }
  .cert-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .newsletter__box { grid-template-columns: 1fr; }
  .catalog { grid-template-columns: 1fr; }
  .catalog__side { position: fixed; inset: 0; z-index: 140; max-height: none; border-radius: 0; transform: translateX(-100%); transition: transform .5s var(--ease); padding-top: 80px; background: #fff; }
  [dir="rtl"] .catalog__side { transform: translateX(100%); }
  .catalog__side.is-open { transform: none; }
  .catalog__close { position: absolute; top: 20px; inset-inline-end: 20px; }
  .filter-toggle { display: inline-flex; }
  .product__gallery { position: relative; top: 0; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .feature-grid, .tree__cols { grid-template-columns: 1fr 1fr; }
  .pstep { grid-template-columns: 72px 1fr; }
  .pstep__img { grid-column: 2; }
  .fab-call { display: grid; }
}
@media (min-width: 1025px) { .catalog__close { display: none; } }
@media (max-width: 760px) {
  .topbar { display: none; }
  .hero { min-height: auto; padding-bottom: 130px; }
  .hero__stats { gap: 10px; margin-top: 40px; }
  .glass-stat { flex: 1 1 calc(50% - 10px); min-width: 0; padding: 14px 16px; }
  .glass-stat strong { font-size: 1.6rem; }
  .hero__scroll { display: none; }
  .sectors { grid-template-columns: 1fr; }
  .sector { min-height: 420px; }
  .cat-grid { grid-template-columns: 1fr; gap: 16px; }
  .how__grid { grid-template-columns: 1fr; }
  .cert-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .form__grid { grid-template-columns: 1fr; }
  .marquee__label { display: none; }
  .timeline::before, .timeline__fill { inset-inline-start: 9px; }
  .tl, .tl:nth-child(odd of .tl) { width: auto; margin-inline-start: 40px; }
  .tl::before, .tl:nth-child(odd of .tl)::before { inset-inline-start: -40px; inset-inline-end: auto; }
  .feature-grid, .tree__cols, .stats-band { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 18px 12px; }
  .stat-card strong { font-size: 2rem; }
  .svc-list { columns: 1; }
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pcard__img { padding: 10px; }
  .pcard__body { padding: 12px; }
  .pcard__body h3 { font-size: .9rem; }
  .intro__media { min-height: 360px; }
  .newsletter__box { padding: 26px 22px; }
  .cta__box { border-radius: 22px; }
  .map-embed { height: 320px; }
  .pstep { grid-template-columns: 56px 1fr; gap: 18px; }
  .pstep__num { width: 56px; height: 56px; font-size: 1.1rem; }
  .process__line { inset-inline-start: 26px; }
}

/* Standalone (installed PWA) tweaks */
@media (display-mode: standalone) {
  .topbar { display: none; }
  .header { padding-top: env(safe-area-inset-top); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal]:not(.is-in) { visibility: visible; }
}

@media print {
  .topbar, .header, .footer, .newsletter, .cta, .fab-call, .preloader, .curtain { display: none !important; }
}
