/* ASM Systems — website styles. Works for both dir="ltr" (English) and dir="rtl" (Arabic):
   layout uses logical properties (inline-start/end) so nothing needs mirroring by hand. */
@font-face {
  font-family: "Cairo";
  src: url("../fonts/Cairo-VF.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --navy: #0A2463;
  --navy-2: #12307A;
  --blue: #0B5ED7;
  --sky: #0A8FD6;
  --teal: #00A99D;
  --slate: #5B6B85;
  --ink: #1F2937;
  --muted: #64748B;
  --line: #E2E7EF;
  --mist: #F4F6F9;
  --white: #FFFFFF;
  --blue-d: #4D94FF;
  --sky-d: #38BDF8;
  --teal-d: #2DD4BF;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(10, 36, 99, .06), 0 8px 24px rgba(10, 36, 99, .06);
  --container: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Cairo", "Segoe UI", Tahoma, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--mist { background: var(--mist); }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--sky); margin-block-end: 12px;
}
[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: 15px; }
.section-head { max-width: 680px; margin-block-end: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; }
.section-head p { margin-block-start: 14px; color: var(--muted); font-size: 18px; }
.section-head--center { margin-inline: auto; text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 10px; font-weight: 700; font-size: 16px;
  font-family: inherit; border: 2px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: #0A52BD; }
.btn--ghost { border-color: var(--line); color: var(--navy); background: var(--white); }
.btn--ghost:hover { border-color: var(--navy); }
.btn--light { background: var(--white); color: var(--navy); }
.btn svg { width: 18px; height: 18px; }
[dir="rtl"] .flip { transform: scaleX(-1); }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88); backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-block-end: 1px solid transparent; transition: border-color .2s;
}
.header.is-scrolled { border-color: var(--line); }
.header__in { display: flex; align-items: center; gap: 24px; height: 76px; }
.header__logo img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; margin-inline-start: auto; }
.nav a { font-weight: 600; font-size: 15.5px; color: var(--ink); }
.nav a:hover { color: var(--blue); }
.header__actions { display: flex; align-items: center; gap: 12px; }
.lang {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px;
  color: var(--navy); padding: 8px 12px; border-radius: 8px; border: 1px solid var(--line);
}
.lang:hover { border-color: var(--navy); }
.lang svg { width: 16px; height: 16px; color: var(--sky); }
.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--white); color: var(--navy); align-items: center; justify-content: center; cursor: pointer;
}
.menu-btn svg { width: 22px; height: 22px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 112px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 60% at 85% 20%, rgba(10, 143, 214, .10), transparent 70%),
    radial-gradient(50% 50% at 10% 90%, rgba(0, 169, 157, .08), transparent 70%);
}
[dir="rtl"] .hero::before { transform: scaleX(-1); }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(36px, 5.2vw, 60px); font-weight: 700; letter-spacing: -.01em; }
[dir="rtl"] .hero h1 { letter-spacing: 0; line-height: 1.35; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero__lead { margin-block: 22px 34px; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 580px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__visual { position: relative; max-width: 460px; justify-self: center; width: 100%; }
.orbit { width: 100%; height: auto; overflow: visible; }
.orbit .arc { fill: none; stroke-width: 14; stroke-linecap: round; stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw 1.2s cubic-bezier(.6,.1,.2,1) forwards; }
.orbit .arc:nth-of-type(2) { animation-delay: .15s; }
.orbit .arc:nth-of-type(3) { animation-delay: .3s; }
.orbit .core { transform-origin: 60px 60px; animation: pop .6s .7s both cubic-bezier(.3,1.6,.5,1); }
.orbit .ring { fill: none; stroke: var(--line); stroke-width: .6; stroke-dasharray: 2 3; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
.orbit-label {
  position: absolute; display: flex; align-items: center; gap: 8px; padding: 8px 14px;
  background: var(--white); border-radius: 999px; box-shadow: var(--shadow); font-weight: 700; font-size: 14.5px;
  color: var(--navy); white-space: nowrap;
}
.orbit-label i { width: 10px; height: 10px; border-radius: 50%; }
.orbit-label--sw { top: 6%; right: -2%; }  /* physical sides: the symbol itself is never mirrored */
.orbit-label--cl { bottom: 2%; left: 50%; transform: translateX(-50%); }
.orbit-label--nw { top: 30%; left: -6%; }
.orbit-label--core {
  top: 50%; left: 50%; transform: translate(-50%, 140%); background: var(--navy); color: var(--white); font-size: 13px;
}

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow); border-block-start: 5px solid var(--c);
  transition: transform .25s, box-shadow .25s;
}
.service:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(10,36,99,.06), 0 18px 40px rgba(10,36,99,.10); }
.service__icon { width: 56px; height: 56px; margin-block-end: 20px; }
.service h3 { font-size: 23px; font-weight: 700; }
.service p { margin-block: 10px 20px; color: var(--muted); font-size: 16px; }
.service li { display: flex; gap: 10px; align-items: flex-start; padding-block: 7px; border-block-start: 1px solid var(--line); font-size: 15.5px; font-weight: 600; color: var(--ink); }
.service li svg { flex: none; width: 18px; height: 18px; margin-block-start: 4px; color: var(--c); }

/* ---------- services: dark band ---------- */
.section--services {
  position: relative; overflow: hidden; color: #C7D2EA;
  background:
    radial-gradient(60% 70% at 100% 0%, rgba(77,148,255,.22), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(45,212,191,.16), transparent 60%),
    var(--navy);
}
.svc-bg { position: absolute; width: 620px; height: 620px; inset-block-start: -170px; inset-inline-end: -170px; color: rgba(255,255,255,.05); pointer-events: none; }
.svc-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 64px; align-items: end; margin-block-end: clamp(36px, 5vw, 56px); }
.svc-head .eyebrow { color: var(--teal-d); }
.svc-head h2 { color: var(--white); font-size: clamp(30px, 3.8vw, 44px); font-weight: 700; }
.svc-head p { color: #B8C4E0; font-size: 18px; }
.svcs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.svc {
  position: relative; display: flex; flex-direction: column; padding: 28px 28px 26px; border-radius: 20px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  border: 1px solid rgba(255,255,255,.1); transition: transform .3s, border-color .3s, box-shadow .3s;
}
.svc::before {  /* coloured glow along the top edge */
  content: ""; position: absolute; inset: 0 0 auto; height: 3px;
  background: linear-gradient(90deg, transparent, var(--g), transparent); opacity: .9;
}
.svc::after {   /* soft light in the corner, matching the card's arc colour */
  content: ""; position: absolute; width: 220px; height: 220px; inset-block-start: -110px; inset-inline-end: -110px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--g) 30%, transparent), transparent 70%); pointer-events: none;
}
.svc:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--g) 55%, transparent); box-shadow: 0 24px 50px rgba(0,0,0,.25); }
.svc__top { display: flex; align-items: center; justify-content: space-between; margin-block-end: 22px; }
.svc__orbit { width: 64px; height: 64px; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.svc:hover .svc__orbit { transform: rotate(-20deg); }
.svc__num { font-size: 44px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.22); }
.svc h3 { color: var(--white); font-size: 25px; }
.svc p { color: #B8C4E0; font-size: 16px; margin-block: 8px 20px; }
.svc ul { margin-block-start: auto; display: grid; gap: 2px; }
.svc li { display: flex; align-items: center; gap: 12px; padding-block: 10px; border-block-start: 1px solid rgba(255,255,255,.08); font-size: 15.5px; font-weight: 600; color: #E6ECF8; }
.svc li i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--g); box-shadow: 0 0 0 4px color-mix(in srgb, var(--g) 20%, transparent); }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.step { position: relative; padding-block-start: 22px; border-block-start: 3px solid var(--line); }
.step::before {
  counter-increment: s; content: "0" counter(s); position: absolute; top: -3px; inset-inline-start: 0;
  width: 56px; height: 3px; background: var(--blue); font-size: 0;
}
.step__num { font-size: 15px; font-weight: 800; color: var(--blue); }
.step h3 { font-size: 20px; margin-block: 6px 8px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* ---------- why ---------- */
.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.why__item { display: flex; gap: 18px; padding: 26px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); }
.why__icon {
  flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(11, 94, 215, .08); color: var(--blue);
}
.why__icon svg { width: 24px; height: 24px; }
.why__item h3 { font-size: 19px; margin-block-end: 6px; }
.why__item p { color: var(--muted); font-size: 15.5px; }

/* ---------- why ASM: bento ---------- */
.why-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px 64px; align-items: end; margin-block-end: clamp(32px, 4.5vw, 52px); }
.why-head h2 { font-size: clamp(30px, 3.8vw, 44px); font-weight: 700; }
.why-head p { color: var(--muted); font-size: 18px; margin-block-end: 18px; }
.bento { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.wcard {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 20px; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s, border-color .3s;
}
.wcard:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--tc, var(--blue)) 40%, var(--line)); box-shadow: 0 20px 44px rgba(10,36,99,.10); }
.wcard__ico {
  flex: none; width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  color: var(--tc, var(--blue)); background: color-mix(in srgb, var(--tc, var(--blue)) 11%, white);
}
.wcard__ico svg { width: 26px; height: 26px; }
.wcard h3 { font-size: 21px; margin-block-end: 6px; }
.wcard p { color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.wcard--wide { grid-column: 2 / 4; flex-direction: row; align-items: center; gap: 20px; }
.wcard--feature {
  grid-row: 1 / 3; color: #C7D2EA; border: 0; padding: 34px; min-height: 380px;
  background: radial-gradient(80% 70% at 100% 100%, rgba(45,212,191,.22), transparent 60%), radial-gradient(70% 60% at 0% 0%, rgba(77,148,255,.25), transparent 60%), var(--navy);
}
.wcard--feature:hover { box-shadow: 0 24px 50px rgba(10,36,99,.28); }
.wcard--feature .wcard__ico { color: #fff; background: rgba(255,255,255,.12); }
.wcard--feature h3 { color: #fff; font-size: 28px; }
.wcard--feature p { color: #C7D2EA; font-size: 17px; max-width: 34ch; }
.wf__ring { position: absolute; width: 230px; height: 230px; inset-block-end: -46px; inset-inline-end: -46px; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.wcard--feature:hover .wf__ring { transform: rotate(40deg); }

/* ---------- clients ---------- */
.clients { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.client {
  display: grid; place-items: center; height: 150px; padding: 24px 32px; transition: transform .25s;
}
.client:hover { transform: translateY(-2px); }
.client img { max-height: 84px; width: auto; object-fit: contain; }
.client--tall img { max-height: 110px; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__text p + p { margin-block-start: 16px; }
.about__text p { color: var(--muted); font-size: 17.5px; }
.about__card {
  position: relative; overflow: hidden; background: var(--navy); color: var(--white); border-radius: 20px;
  padding: clamp(28px, 4vw, 44px);
}
.about__card h3 { color: var(--white); font-size: 22px; margin-block-end: 10px; }
.about__card p { color: #C7D2EA; }
.about__card .mark { position: absolute; width: 220px; inset-inline-end: -60px; bottom: -70px; opacity: .08; }
.about__card + .about__card { margin-block-start: 18px; background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.about__card + .about__card h3 { color: var(--navy); }
.about__card + .about__card p { color: var(--muted); }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; padding-block: 16px; border-block-end: 1px solid var(--line); }
.contact__list li:first-child { padding-block-start: 0; }
.contact__ico {
  flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(10, 143, 214, .10); color: var(--sky);
}
.contact__ico svg { width: 22px; height: 22px; }
.contact__list small { display: block; font-size: 13px; color: var(--muted); font-weight: 600; }
.contact__list a, .contact__list span { font-weight: 700; color: var(--navy); font-size: 17px; }
.contact__list a:hover { color: var(--blue); }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 3.5vw, 36px); box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-block-end: 16px; }
.field label { font-weight: 700; font-size: 14.5px; color: var(--navy); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 10px; border: 1px solid #CBD5E1;
  background: var(--white); color: var(--ink); width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(10,143,214,.18); }
.form__note { font-size: 13.5px; color: var(--muted); margin-block-start: 12px; }
.form__status { margin-block-start: 14px; padding: 12px 14px; border-radius: 10px; font-weight: 600; font-size: 15px; }
.form__status--ok { background: #E6F7F5; color: #04695F; border: 1px solid #A7E3DC; }
.form__status--err { background: #FDECEC; color: #9F1D1D; border: 1px solid #F5BDBD; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; } /* off-screen without a large offset, which widened RTL pages */

/* ---------- CTA band ---------- */
.band { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.band__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 56px; flex-wrap: wrap; }
.band h2 { color: var(--white); font-size: clamp(24px, 3vw, 34px); }
.band p { color: #C7D2EA; margin-block-start: 6px; }
.band .mark { position: absolute; width: 280px; inset-inline-end: 6%; top: -90px; opacity: .06; }

/* ---------- footer ---------- */
.footer { background: #071A4A; color: #B8C4E0; padding-block: 56px 28px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.footer__logo img { height: 40px; width: auto; margin-block-end: 16px; }
.footer h4 { color: var(--white); font-size: 15px; margin: 0 0 14px; }
.footer li { padding-block: 4px; }
.footer a:hover { color: var(--white); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-block-start: 40px; padding-block-start: 22px; border-block-start: 1px solid rgba(255,255,255,.1); font-size: 14px; }
.stripe { display: flex; height: 4px; direction: ltr; }
.stripe i { flex: 1; }

/* ---------- products dropdown ---------- */
.nav__dd { position: relative; }
.nav__ddbtn {
  display: inline-flex; align-items: center; gap: 4px; font: inherit; font-weight: 600; font-size: 15.5px; color: var(--ink);
  background: none; border: 0; padding: 0; cursor: pointer;
}
.nav__ddbtn:hover, .nav__dd.is-open .nav__ddbtn { color: var(--blue); }
.nav__ddbtn .chev { width: 16px; height: 16px; transition: transform .2s; }
.nav__dd.is-open .chev { transform: rotate(180deg); }
.dd {
  position: absolute; top: calc(100% + 18px); inset-inline-start: -18px; width: 370px; padding: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 18px 40px rgba(10, 36, 99, .14); display: none; z-index: 60;
}
.dd::before { content: ""; position: absolute; inset: -18px 0 auto; height: 18px; } /* hover bridge */
.nav__dd.is-open .dd { display: block; }
@media (hover: hover) and (min-width: 881px) { .nav__dd:hover .dd { display: block; } .nav__dd:hover .chev { transform: rotate(180deg); } }
.dd__item { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 12px; }
.dd__item:hover, .dd__item.is-current { background: var(--mist); }
.dd__item img { width: 50px; height: 50px; object-fit: contain; flex: none; }
.dd__item b { display: block; color: var(--navy); font-size: 16.5px; line-height: 1.3; }
.dd__item small { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; }

/* ---------- product cards ---------- */
.pcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pcards--3 { grid-template-columns: repeat(3, 1fr); }
.pcard {
  position: relative; display: flex; flex-direction: column; gap: 4px; padding: 26px 24px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); border-block-start: 4px solid var(--pc);
  transition: transform .25s, box-shadow .25s;
}
.pcard:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(10,36,99,.10); }
.pcard__mark { width: 52px; height: 52px; object-fit: contain; margin-block-end: 14px; }
.pcard h3 { font-size: 21px; }
.pcard small { color: var(--pc); font-weight: 700; font-size: 13.5px; }
.pcard p { color: var(--muted); font-size: 15px; margin-block: 10px 16px; flex: 1; }
.pcard__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; color: var(--navy); }
.pcard__more svg { width: 16px; height: 16px; }
.pcard--sm { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; padding: 18px 20px; }
.pcard--sm .pcard__mark { width: 44px; height: 44px; margin: 0; }
.pcard--sm h3 { font-size: 18px; flex: 1; }
.pcard--sm small { flex-basis: 100%; padding-inline-start: 58px; margin-block-start: -6px; }

/* ---------- home: products showcase ---------- */
.section--products { position: relative; background: linear-gradient(180deg, var(--white) 0%, #F7F9FC 100%); }
.prods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.prod {
  display: flex; flex-direction: column; overflow: hidden; background: var(--white);
  border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 1px 2px rgba(10,36,99,.05);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.prod:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--pc) 40%, var(--line)); box-shadow: 0 24px 50px rgba(10,36,99,.12); }
.prod__media {
  position: relative; height: 190px; display: grid; place-items: center; overflow: hidden; color: var(--pc);
  background:
    radial-gradient(90% 80% at 50% 0%, color-mix(in srgb, var(--pc) 22%, transparent), transparent 70%),
    linear-gradient(160deg, color-mix(in srgb, var(--pc) 13%, white), color-mix(in srgb, var(--pc) 4%, white));
  border-block-end: 1px solid color-mix(in srgb, var(--pc) 18%, var(--line));
}
.prod__media::before, .prod__media::after {   /* soft dotted texture in the corners */
  content: ""; position: absolute; width: 90px; height: 90px; opacity: .35;
  background-image: radial-gradient(color-mix(in srgb, var(--pc) 55%, transparent) 1.2px, transparent 1.4px); background-size: 12px 12px;
}
.prod__media::before { inset-block-start: 14px; inset-inline-start: 14px; }
.prod__media::after { inset-block-end: 14px; inset-inline-end: 14px; }
.prod__arcs { position: absolute; width: 196px; height: 196px; opacity: .3; transition: transform .8s cubic-bezier(.2,.7,.2,1), opacity .3s; }
.prod:hover .prod__arcs { transform: rotate(60deg); opacity: .45; }
.prod__logo {
  position: relative; width: 84px; height: 84px; object-fit: contain; transition: transform .3s;
  filter: drop-shadow(0 8px 14px color-mix(in srgb, var(--pc) 30%, transparent));
}
.prod:hover .prod__logo { transform: scale(1.05); }
.prod__body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.prod__body h3 { font-size: 23px; line-height: 1.2; }
.prod__kind { display: block; font-size: 14px; font-weight: 700; color: var(--pc); margin-block: 2px 12px; }
.prod__body p { color: var(--muted); font-size: 15px; line-height: 1.6; margin-block-end: 16px; }
.prod__feats { display: grid; gap: 8px; margin-block-end: 22px; padding-block-start: 16px; border-block-start: 1px dashed var(--line); }
.prod__feats li { display: flex; align-items: flex-start; gap: 9px; font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.45; }
.prod__feats svg { flex: none; width: 19px; height: 19px; padding: 3px; margin-block-start: 1px; border-radius: 6px; color: var(--pc); background: color-mix(in srgb, var(--pc) 12%, white); }
.prod__more {
  margin-block-start: auto; align-self: stretch; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 15px; color: var(--pc); padding: 10px 16px; border-radius: 10px;
  background: color-mix(in srgb, var(--pc) 10%, white); transition: background .2s, color .2s;
}
.prod__more svg { width: 16px; height: 16px; transition: transform .2s; }
.prod:hover .prod__more { background: var(--pc); color: #fff; }
.prod:hover .prod__more svg { transform: translateX(3px); }
[dir="rtl"] .prod:hover .prod__more svg { transform: scaleX(-1) translateX(3px); }

/* ---------- product page ---------- */
.phero { position: relative; overflow: hidden; padding-block: 28px 56px; }
.phero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(55% 60% at 88% 18%, color-mix(in srgb, var(--pc) 14%, transparent), transparent 70%);
}
[dir="rtl"] .phero::before { transform: scaleX(-1); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-block-end: 32px; }
.crumbs a:hover { color: var(--blue); }
.crumbs b { color: var(--navy); }
.phero__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.phero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 700; }
[dir="rtl"] .phero h1 { line-height: 1.4; }
.pbadge { display: inline-flex; align-items: center; gap: 16px; margin-block-end: 22px; }
.pbadge img { width: 76px; height: 76px; object-fit: contain; }
.pbadge b { display: block; font-size: 26px; color: var(--navy); line-height: 1.2; }
.pbadge small { display: block; font-size: 15px; font-weight: 700; color: var(--pc); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-block: -10px 28px; }
.chips__label { font-size: 13.5px; font-weight: 700; color: var(--muted); margin-inline-end: 4px; }
.chip { font-size: 13.5px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--pc) 10%, white); color: var(--navy); }
.frame { border-radius: 14px; overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(10,36,99,.16); }
.frame__bar { display: flex; gap: 6px; padding: 10px 12px; background: #EEF1F6; direction: ltr; }
.frame__bar i { width: 10px; height: 10px; border-radius: 50%; background: #CBD3DF; }
.frame img { width: 100%; height: auto; }
.ptile {
  display: grid; place-items: center; gap: 18px; aspect-ratio: 4 / 3; border-radius: 22px; padding: 40px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--pc) 12%, white), var(--white)); border: 1px solid var(--line);
}
.ptile img { width: min(52%, 200px); height: auto; }
.ptile b { font-size: clamp(28px, 3vw, 40px); color: var(--navy); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; margin-block-start: 48px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.fact { padding: 20px 22px; border-inline-start: 1px solid var(--line); }
.fact:first-child { border-inline-start: 0; }
.fact b { display: block; font-size: 26px; color: var(--pc); line-height: 1.2; }
.fact span { color: var(--muted); font-size: 14.5px; font-weight: 600; }
.feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feat { display: flex; gap: 16px; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.feat__ico { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--pc) 12%, white); color: var(--pc); }
.feat__ico svg { width: 20px; height: 20px; }
.feat h3 { font-size: 18px; margin-block-end: 4px; }
.feat p { color: var(--muted); font-size: 15px; }
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.shot { margin: 0; }
.shot__btn { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--white); cursor: zoom-in; box-shadow: var(--shadow); }
.shot__btn img { width: 100%; height: auto; aspect-ratio: 1770 / 1350; object-fit: cover; object-position: top left; transition: transform .4s; }
[dir="rtl"] .shot__btn img, .shots--rtl .shot__btn img { object-position: top right; }  /* Arabic screens are anchored on the right */
.shot__btn:hover img { transform: scale(1.02); }
.shot__zoom { position: absolute; inset-block-start: 12px; inset-inline-end: 12px; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(10,36,99,.75); color: #fff; opacity: 0; transition: opacity .2s; }
.shot__zoom svg { width: 20px; height: 20px; }
.shot__btn:hover .shot__zoom, .shot__btn:focus-visible .shot__zoom { opacity: 1; }
.shot figcaption { margin-block-start: 12px; font-weight: 700; color: var(--navy); font-size: 16px; }
.noshots { padding: 28px; border: 1px dashed #CBD5E1; border-radius: var(--radius); color: var(--muted); text-align: center; background: var(--mist); }
.product .band .mark { width: 200px; top: -40px; opacity: .08; filter: grayscale(1) brightness(3); }
.lightbox { width: min(96vw, 1400px); max-height: 94vh; padding: 0; border: 0; border-radius: 14px; background: #0B1530; color: #fff; overflow: auto; }
.lightbox::backdrop { background: rgba(5, 12, 30, .82); }
.lightbox img { width: 100%; height: auto; display: block; }
.lightbox__cap { padding: 12px 18px; font-weight: 700; }
.lightbox__close { position: absolute; inset-block-start: 10px; inset-inline-end: 10px; width: 40px; height: 40px; border-radius: 10px; border: 0; background: rgba(255,255,255,.92); color: var(--navy); display: grid; place-items: center; cursor: pointer; }
.lightbox__close svg { width: 22px; height: 22px; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .pcards { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .wcard--feature { grid-row: auto; grid-column: 1 / -1; min-height: 300px; }
  .wcard--wide { grid-column: 1 / -1; }
  .svcs { grid-template-columns: 1fr 1fr; }
  .svcs .svc:last-child { grid-column: 1 / -1; }
  .prods { grid-template-columns: 1fr 1fr; }
  .services { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
}
@media (max-width: 880px) {
  .nav, .header__actions .btn { display: none; }
  .menu-btn { display: inline-flex; }
  .header__actions { margin-inline-start: auto; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; top: 76px; inset-inline: 0;
    background: var(--white); border-block-end: 1px solid var(--line); padding: 8px var(--gutter) 18px; margin: 0;
    box-shadow: 0 16px 30px rgba(10,36,99,.08);
  }
  .nav.is-open a { padding-block: 13px; border-block-end: 1px solid var(--line); font-size: 17px; }
  .hero__grid, .about, .contact { grid-template-columns: 1fr; }
  .why-head { grid-template-columns: 1fr; }
  .svc-head { grid-template-columns: 1fr; }
  .phero__grid { grid-template-columns: 1fr; }
  .feats, .shots { grid-template-columns: 1fr; }
  .pcards--3 { grid-template-columns: 1fr 1fr; }
  .nav.is-open .nav__dd { border-block-end: 1px solid var(--line); }
  .nav.is-open .nav__ddbtn { width: 100%; justify-content: space-between; padding-block: 13px; font-size: 17px; }
  .nav.is-open .dd { position: static; width: auto; box-shadow: none; border: 0; padding: 0 0 10px; }
  .nav.is-open .dd::before { display: none; }
  .nav.is-open .dd__item { padding: 8px 4px; border-block-end: 0; }
  .hero__visual { max-width: 340px; margin-block-start: 12px; }
  .why { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .services, .steps, .clients, .pcards, .pcards--3 { grid-template-columns: 1fr; }
  .prods { grid-template-columns: 1fr; gap: 18px; }
  .bento { grid-template-columns: 1fr; }
  .wcard--wide { flex-direction: column; align-items: flex-start; }
  .wf__ring { width: 160px; height: 160px; inset-block-end: -40px; inset-inline-end: -40px; }
  .wcard--feature { min-height: 0; padding-block-end: 150px; }
  .svcs { grid-template-columns: 1fr; }
  .svc-bg { width: 380px; height: 380px; inset-block-start: -120px; inset-inline-end: -140px; }
  .prod__media { height: 160px; }
  .fact { border-inline-start: 0; border-block-start: 1px solid var(--line); }
  .fact:first-child { border-block-start: 0; }
  .form__row { grid-template-columns: 1fr; }
  .header__logo img { height: 34px; }
  .orbit-label { font-size: 12.5px; padding: 6px 11px; }
  .pbadge img { width: 60px; height: 60px; }
  .pbadge b { font-size: 22px; }
  .orbit-label--nw { left: -2%; }
  .orbit-label--sw { right: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .band__in { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orbit .arc, .orbit .core { animation: none; stroke-dashoffset: 0; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .service:hover, .client:hover, .svc:hover, .prod:hover, .wcard:hover { transform: none; }
  .wcard--feature:hover .wf__ring { transform: none; }
  .svc:hover .svc__orbit, .prod:hover .prod__arcs { transform: none; }
}
