/* ==========================================================================
   Haar Technologies — Design System v3
   Visual reference: systemsltd.com (white space, light oversized type,
   violet→magenta accent, image-led sections, black footer).
   Shared by English (/) and Arabic (/ar/) pages; logical properties keep
   every rule working in LTR and RTL.
   ========================================================================== */

:root {
  /* Colour */
  --ink: #161616;            /* headings */
  --text: #212529;           /* body */
  --muted: #797C89;          /* secondary text */
  --muted-2: #B8B9C2;        /* inactive list items */
  --line: #E4E4EA;
  --soft: #F4F4F6;           /* grey band */
  --lavender: #F6F1FD;       /* services band */
  --white: #FFFFFF;
  --black: #000000;
  --dark: #111111;
  --navy: #1E2235;           /* submit buttons */
  --on-dark: #FFFFFF;
  --on-dark-muted: #D0D0D0;
  --violet: #7C3AED;
  --accent: #8A3FD1;         /* numbers, highlights */
  --magenta: #C026D3;
  --pink: #EC4899;
  --grad: linear-gradient(90deg, #7C3AED 0%, #C026D3 55%, #EC4899 100%);

  /* Type */
  --font-en: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-ar: "IBM Plex Sans Arabic", "Plus Jakarta Sans", "Segoe UI", Tahoma, Arial, sans-serif;
  --font: var(--font-en);

  /* Layout */
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 8px;
  --radius-lg: 14px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 18px 50px -22px rgba(22, 22, 22, .25);
}
html[lang="ar"] { --font: var(--font-ar); }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; font-weight: 400; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 300; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 6px; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(64px, 8vw, 120px); }
.section--soft { background: var(--soft); }
.section--lavender { background: linear-gradient(180deg, var(--lavender) 0%, #FBF8FF 60%, #fff 100%); }
.section--dark { background: var(--black); color: var(--on-dark); }

/* ---------- Typography ---------- */
.display { font-size: clamp(2.5rem, 4.6vw, 4.1rem); line-height: 1.08; font-weight: 400; letter-spacing: -.01em; }
.h2 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); line-height: 1.2; font-weight: 500; color: var(--ink); letter-spacing: -.005em; }
.section--dark .h2 { color: #fff; }
.h3 { font-size: clamp(1.25rem, 1.6vw, 1.5rem); line-height: 1.3; font-weight: 500; color: var(--ink); }
.lead { font-size: clamp(1rem, 1.2vw, 1.125rem); line-height: 1.65; color: var(--muted); }
.kicker { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-block-end: 14px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.accent { color: var(--accent); }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-block-end: clamp(28px, 4vw, 44px); }
.head-row .lead { max-width: 640px; margin-block-start: 12px; }
.section-head { max-width: 760px; margin-block-end: clamp(32px, 5vw, 56px); }
.section-head .lead { margin-block-start: 14px; }

html[lang="ar"] * { letter-spacing: 0 !important; }
html[lang="ar"] body { line-height: 1.8; }
html[lang="ar"] .display { line-height: 1.3; }
html[lang="ar"] .h2 { line-height: 1.4; }

/* ---------- Icons (Phosphor icon font) ---------- */
.ico { font-size: 22px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.ico--sm { font-size: 16px; }
.ico--lg { font-size: 30px; }
html[dir="rtl"] .flip-rtl { transform: scaleX(-1); }

/* ---------- Buttons ---------- */
.btn-pill {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid currentColor;
  font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.btn-pill .ico { font-size: 16px; transition: transform .3s var(--ease); }
.btn-pill:hover .ico { transform: translateX(4px); }
html[dir="rtl"] .btn-pill:hover .ico.flip-rtl { transform: scaleX(-1) translateX(4px); }
html[lang="ar"] .btn-pill { font-size: 14px; }
.btn-pill--white { background: #fff; color: var(--ink); border-color: #fff; }
.btn-pill--white:hover { background: transparent; color: #fff; }
.btn-pill--dark { color: var(--ink); border-color: var(--ink); }
.btn-pill--dark:hover { background: var(--ink); color: #fff; }
.btn-pill--light { color: #fff; border-color: rgba(255,255,255,.7); }
.btn-pill--light:hover { background: #fff; color: var(--ink); }
.btn-solid { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 42px; padding: 0 30px; border-radius: 4px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; transition: background-color .3s; }
.btn-solid:hover { background: var(--violet); }
.link-caps { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.link-caps .ico { font-size: 16px; transition: transform .3s var(--ease); }
.link-caps:hover .ico { transform: translateX(4px); }
html[dir="rtl"] .link-caps:hover .ico.flip-rtl { transform: scaleX(-1) translateX(4px); }
html[lang="ar"] .link-caps { font-size: 13.5px; }

/* ==========================================================================
   Header (solid white, sticky — inspired by idaratech.sa)
   ========================================================================== */
body { padding-top: var(--header-h); }
.site-header { position: fixed; inset-inline: 0; top: 0; z-index: 100; height: var(--header-h); background: #fff; color: var(--ink); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(0,0,0,.35); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-mark { width: 36px; height: 36px; color: currentColor; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-en); font-size: 16.5px; font-weight: 700; }
.brand-text small { font-family: var(--font-ar); font-size: 13px; font-weight: 500; opacity: .7; margin-block-start: 2px; }
html[lang="ar"] .brand-text strong { font-family: var(--font-ar); font-size: 18px; }
html[lang="ar"] .brand-text small { font-family: var(--font-en); font-size: 11.5px; }

.main-nav { flex: 1; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; }
.main-nav > ul > li { position: static; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font-size: 15.5px; font-weight: 500; color: var(--ink); transition: background-color .2s; }
.nav-link:hover, .has-drop:hover > .nav-link, .has-drop:focus-within > .nav-link, .nav-link[aria-current="page"] { background: #EFEFF3; }
.nav-link .ico { font-size: 13px; color: var(--violet); transition: transform .3s var(--ease); }
.has-drop:hover > .nav-link .ico, .has-drop:focus-within > .nav-link .ico { transform: rotate(180deg); }

/* Dropdown / mega (white panel under the header, full width) */
.drop { position: absolute; inset-inline: 0; top: 100%; background: #fff; color: var(--ink); border-top: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
.has-drop:hover > .drop, .has-drop:focus-within > .drop { opacity: 1; visibility: visible; transform: none; }
.drop-inner { display: grid; grid-template-columns: 280px 1fr; gap: 48px; padding-block: 36px 40px; }
.drop-intro .drop-title { font-size: 22px; font-weight: 500; }
.drop-intro p { margin-block-start: 10px; font-size: 14px; color: var(--muted); }
.drop-intro .link-caps { margin-block-start: 20px; }
.drop-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 32px; }
.drop-links--3 { grid-template-columns: repeat(3, 1fr); }
.drop-links a { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 6px; transition: background-color .2s; }
.drop-links a:hover { background: var(--soft); }
.drop-links .ico { color: var(--accent); margin-block-start: 2px; }
.drop-links strong { display: block; font-size: 14.5px; font-weight: 600; }
.drop-links span { display: block; font-size: 13px; color: var(--muted); margin-block-start: 2px; }

.header-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; border-radius: 999px; font-size: 14.5px; font-weight: 500; transition: background-color .2s; }
.lang-switch:hover { background: #EFEFF3; }
.lang-switch .ico { font-size: 19px; }
.lang-switch [lang="ar"], .lang-switch:lang(ar) { font-family: var(--font-ar); }
.btn-round { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; font-size: 15px; font-weight: 600; white-space: nowrap; transition: background-color .25s, color .25s, border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.btn-round .ico { font-size: 18px; transition: transform .3s var(--ease); }
.btn-round:hover .ico { transform: translateX(4px); }
html[dir="rtl"] .btn-round:hover .ico.flip-rtl { transform: scaleX(-1) translateX(4px); }
.btn-round--outline { border-color: var(--ink); color: var(--ink); }
.btn-round--outline:hover { background: var(--ink); color: #fff; }
.btn-round--dark { background: var(--ink); color: #fff; }
.btn-round--dark:hover { background: var(--violet); }
.site-header.is-scrolled .header-btn:not(.header-btn--outline) { background: var(--grad); }
.btn-round--lg { height: 54px; padding: 0 30px; font-size: 16px; background: linear-gradient(135deg, #0B0B1E, #2E1065); color: #fff; box-shadow: 0 16px 34px -18px rgba(46,16,101,.8); }
.btn-round--lg:hover { background: linear-gradient(135deg, #2E1065, #7C3AED); transform: translateY(-2px); }
.nav-toggle { display: none; width: 42px; height: 42px; position: relative; border-radius: 999px; }
.nav-toggle span { position: absolute; inset-inline-start: 10px; width: 22px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease); }
.nav-toggle span:nth-child(1) { top: 14px; } .nav-toggle span:nth-child(2) { top: 20px; } .nav-toggle span:nth-child(3) { top: 26px; }
.nav-open .nav-toggle span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 20px; transform: rotate(-45deg); }
.nav-cta { display: none; }

/* ==========================================================================
   Hero slider (home)
   ========================================================================== */
.hero-slider { position: relative; height: calc(100vh - var(--header-h)); min-height: 560px; max-height: 900px; overflow: hidden; background: #000; color: #fff; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide-media { position: absolute; inset: 0; }
.slide-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.slide.is-active .slide-media img { transform: scale(1); }
.slide-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.25) 50%, rgba(0,0,0,0) 75%), linear-gradient(0deg, rgba(0,0,0,.45), transparent 40%); }
html[dir="rtl"] .slide-media img { transform: scaleX(-1) scale(1.06); }
html[dir="rtl"] .slide.is-active .slide-media img { transform: scaleX(-1); }
html[dir="rtl"] .slide-media::after { background: linear-gradient(270deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.25) 50%, rgba(0,0,0,0) 75%), linear-gradient(0deg, rgba(0,0,0,.45), transparent 40%); }
.slide-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding-block-end: clamp(90px, 16vh, 170px); }
.slide-content .display { max-width: 760px; }
.slide-content p { max-width: 540px; margin-block: 22px 34px; font-size: clamp(1rem, 1.3vw, 1.2rem); color: #E6E6E6; }
.slide-content > * { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.slide.is-active .slide-content > * { opacity: 1; transform: none; }
.slide.is-active .slide-content > *:nth-child(2) { transition-delay: .12s; }
.slide.is-active .slide-content > *:nth-child(3) { transition-delay: .24s; }
.slider-arrow { position: absolute; top: 50%; z-index: 5; width: 52px; height: 52px; display: grid; place-items: center; color: #fff; opacity: .75; transform: translateY(-50%); transition: opacity .2s; }
.slider-arrow:hover { opacity: 1; }
.slider-arrow .ico { font-size: 34px; }
.slider-arrow--prev { inset-inline-start: 12px; }
.slider-arrow--next { inset-inline-end: 12px; }
.slider-dots { position: absolute; z-index: 5; bottom: 40px; inset-inline-start: 0; inset-inline-end: 0; }
.slider-dots .container { display: flex; gap: 10px; }
.slider-dots button { width: 44px; height: 3px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.slider-dots button span { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
html[dir="rtl"] .slider-dots button span { transform-origin: right; }
.slider-dots button.is-active span { animation: dotfill 7s linear forwards; }
.hero-slider.is-paused .slider-dots button.is-active span { animation-play-state: paused; }
@keyframes dotfill { to { transform: scaleX(1); } }

/* ==========================================================================
   Featured cards
   ========================================================================== */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.f-card { position: relative; display: flex; flex-direction: column; background: var(--dark); color: #fff; border-radius: var(--radius); overflow: hidden; min-height: 100%; }
.f-card-media { aspect-ratio: 4 / 3.4; overflow: hidden; }
.f-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.f-card:hover .f-card-media img { transform: scale(1.06); }
.f-card-body { padding: 18px 18px 22px; }
.f-card-body small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #9A9AA6; }
html[lang="ar"] .f-card-body small { font-size: 12.5px; }
.f-card-body h3 { margin-block-start: 8px; font-size: 15.5px; font-weight: 600; line-height: 1.4; }
.f-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); pointer-events: none; }

/* ==========================================================================
   Impact numbers
   ========================================================================== */
.impact-head { max-width: 760px; }
.impact-head .lead { margin-block-start: 14px; max-width: 620px; }
.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-block-start: clamp(40px, 6vw, 72px); }
.impact { position: relative; padding-block-start: 26px; }
.impact::before { content: ""; position: absolute; top: 0; inset-inline-start: 0; width: 70%; height: 2px; background: var(--grad); }
.impact-value { font-family: var(--font-en); font-size: clamp(2.6rem, 4vw, 3.6rem); font-weight: 300; line-height: 1; color: var(--accent); direction: ltr; unicode-bidi: isolate; display: inline-block; }
.impact-value small { font-size: .45em; font-weight: 400; margin-inline-start: 4px; }
.impact p { margin-block-start: 18px; font-size: clamp(1.05rem, 1.4vw, 1.3rem); font-weight: 400; line-height: 1.45; color: var(--ink); }

/* ==========================================================================
   Horizontal rails (frameworks, services)
   ========================================================================== */
.rail-wrap { position: relative; }
.rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-block-end: 6px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; flex: none; }
.rail-arrows { display: flex; gap: 8px; }
.rail-arrows button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); background: #fff; transition: background-color .2s, color .2s, border-color .2s; }
.rail-arrows button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.rail-arrows button[disabled] { opacity: .35; pointer-events: none; }

/* Frameworks tiles (like the awards strip) */
.fw-tile { width: 220px; min-height: 210px; padding: 26px 20px; border-radius: var(--radius); background: var(--soft); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; transition: background-color .3s, box-shadow .3s; }
.fw-tile:hover { background: #fff; box-shadow: var(--shadow); }
.fw-tile .ico { font-size: 34px; color: var(--accent); }
.fw-tile b { font-family: var(--font-en); font-size: 20px; font-weight: 600; color: var(--ink); }
.fw-tile span { font-size: 13px; color: var(--muted); line-height: 1.45; }

/* Service cards */
.s-card { width: 300px; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(22,22,22,.35); transition: transform .4s var(--ease), box-shadow .4s; }
.s-card:hover { transform: translateY(-4px); box-shadow: 0 1px 0 var(--line), 0 24px 50px -24px rgba(22,22,22,.4); }
.s-card-body { padding: 20px 18px 16px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.s-card h3 { font-size: 22px; font-weight: 500; line-height: 1.2; color: var(--ink); min-height: 2.4em; }
.s-card p { font-size: 13.5px; line-height: 1.55; color: #555866; }
.s-card .link-caps { margin-block-start: auto; padding-block-start: 6px; }
.s-card-media { height: 150px; overflow: hidden; }
.s-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.s-card:hover .s-card-media img { transform: scale(1.06); }

/* ==========================================================================
   Industries we serve (rotating list + image)
   ========================================================================== */
.ind-showcase { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.ind-showcase .lead { margin-block-start: 14px; max-width: 460px; }
.ind-list { margin-block: 30px 30px; display: grid; gap: 4px; }
.ind-list button { display: flex; align-items: center; gap: 0; width: 100%; text-align: start; padding: 6px 0; font-size: clamp(1rem, 1.4vw, 1.2rem); font-weight: 500; color: var(--muted-2); transition: color .3s; }
.ind-list button .ico { font-size: 34px; color: var(--ink); width: 0; opacity: 0; overflow: hidden; transition: width .3s var(--ease), opacity .3s; }
.ind-list button:hover { color: var(--muted); }
.ind-list button.is-active { color: var(--ink); font-weight: 600; }
.ind-list button.is-active .ico { width: 36px; opacity: 1; margin-inline-end: 14px; }
.ind-stage { position: relative; aspect-ratio: 1100 / 760; border-radius: var(--radius); overflow: hidden; background: #000; }
.ind-stage figure { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .8s ease; }
.ind-stage figure.is-active { opacity: 1; }
.ind-stage img { width: 100%; height: 100%; object-fit: cover; }
.ind-stage figcaption { position: absolute; inset-inline: 20px; bottom: 20px; padding: 16px 18px; border-radius: var(--radius); background: rgba(0,0,0,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; font-size: 14.5px; line-height: 1.55; border: 1px solid rgba(255,255,255,.12); }
.ind-stage figcaption b { display: block; font-size: 16px; font-weight: 600; margin-block-end: 4px; }

/* ==========================================================================
   Technology platforms grid
   ========================================================================== */
.alliances { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.alliances .lead { margin-block: 16px 30px; max-width: 460px; }
.logo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.logo-tile { height: 100px; border-radius: var(--radius); background: #fff; display: grid; place-items: center; padding: 12px; text-align: center; font-family: var(--font-en); font-size: 19px; font-weight: 700; letter-spacing: -.01em; color: #3B3D4A; transition: box-shadow .3s, color .3s; direction: ltr; }
.logo-tile:hover { box-shadow: var(--shadow); color: var(--violet); }

/* ==========================================================================
   Full-bleed image band (like "Where careers take shape")
   ========================================================================== */
.band-image { position: relative; min-height: 560px; display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden; background: #000; }
.band-image > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-image::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 50% 50%, rgba(0,0,0,.25), rgba(0,0,0,.65)); }
.band-image .container { position: relative; z-index: 2; }
.band-title { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 600; line-height: 1.1; letter-spacing: -.01em; }
.band-image p { margin: 16px auto 30px; max-width: 560px; font-size: 1.1rem; color: #E6E6E6; }

/* ==========================================================================
   Contact band (dark → magenta, with form card)
   ========================================================================== */
.contact-band { position: relative; overflow: hidden; background: #000; color: #fff; padding-block: clamp(72px, 9vw, 130px); }
.contact-band::before { content: ""; position: absolute; inset: 0; background:
  repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 1px, transparent 1px 34px),
  radial-gradient(60% 80% at 100% 100%, rgba(236,72,153,.85), transparent 60%),
  radial-gradient(50% 60% at 85% 40%, rgba(192,38,211,.55), transparent 65%),
  linear-gradient(90deg, #000 30%, transparent 100%); }
html[dir="rtl"] .contact-band::before { transform: scaleX(-1); }
.contact-band .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.contact-band-title { font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 400; line-height: 1.15; }
.contact-band-copy p { margin-block-start: 18px; max-width: 460px; color: var(--on-dark-muted); }
.contact-band-copy ul { margin-block-start: 26px; display: grid; gap: 12px; }
.contact-band-copy li { display: flex; gap: 10px; align-items: center; color: #fff; }
.contact-band-copy li .ico { color: var(--pink); }
.contact-band-copy li a:hover { text-decoration: underline; }

.form-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); box-shadow: 0 30px 80px -30px rgba(0,0,0,.6); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; font-weight: 500; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; min-height: 40px; padding: 9px 12px; border: 1px solid #D5D6DD; border-radius: 4px; background: #fff; font-size: 14px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #A3A5B0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(124,58,237,.15); }
.field .err { display: none; font-size: 12px; color: #DC3545; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #DC3545; }
.field.has-error .err { display: block; }
.field input[type="tel"], .field input[type="email"] { direction: ltr; }
html[dir="rtl"] .field input[type="tel"], html[dir="rtl"] .field input[type="email"] { text-align: right; }
.consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: #444; }
.consent input { width: 16px; height: 16px; margin-block-start: 3px; accent-color: var(--violet); flex: none; }
.consent.has-error { color: #DC3545; }
.form-foot { grid-column: 1 / -1; margin-block-start: 6px; }
.form-status { grid-column: 1 / -1; display: none; padding: 12px 14px; border-radius: 4px; font-size: 14px; }
.form-status.is-ok { display: block; background: #F1ECFD; color: #4C1D95; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #000; color: #BDBDC4; padding-block: 72px 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1.5fr; gap: 40px; }
.footer-brand .brand { color: #fff; }
.footer-brand p { margin-block-start: 14px; font-size: 12.5px; }
.socials { display: flex; gap: 8px; margin-block-start: 20px; }
.socials a { width: 30px; height: 30px; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; transition: background-color .2s; }
.socials a:hover { background: var(--pink); color: #fff; }
.socials .ico { font-size: 15px; }
.site-footer .foot-title { color: #fff; font-size: 13.5px; font-weight: 600; margin-block-end: 14px; }
.site-footer ul li + li { margin-block-start: 10px; }
.site-footer ul a { font-size: 13.5px; transition: color .2s; }
.site-footer ul a:hover { color: #fff; }
.newsletter p { color: #fff; font-size: 14px; font-weight: 600; max-width: 300px; }
.newsletter form { display: flex; gap: 10px; margin-block-start: 16px; flex-wrap: wrap; }
.newsletter input { flex: 1; min-width: 180px; height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid #55565F; background: transparent; color: #fff; font-size: 14px; direction: ltr; }
html[dir="rtl"] .newsletter input { text-align: right; }
.newsletter input::placeholder { color: #8C8D96; }
.newsletter button { height: 42px; padding: 0 22px; border-radius: 999px; border: 1px solid #fff; color: #fff; font-size: 13.5px; transition: background-color .2s, color .2s; }
.newsletter button:hover { background: #fff; color: #000; }
.newsletter .form-status.is-ok { background: rgba(255,255,255,.08); color: #fff; margin-block-start: 12px; width: 100%; }
.contact-lines li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; }
.contact-lines .ico { font-size: 16px; color: #fff; margin-block-start: 3px; }
.footer-bottom { margin-block-start: 56px; padding-block-start: 22px; border-top: 1px solid #222; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 12.5px; }
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom a:hover { color: #fff; }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-banner { position: relative; min-height: 420px; display: flex; align-items: flex-end; color: #fff; background: #000; overflow: hidden; padding-block: 90px 70px; }
.page-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
html[dir="rtl"] .page-banner > img { transform: scaleX(-1); }
.page-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.75), rgba(0,0,0,.2) 65%, transparent); }
html[dir="rtl"] .page-banner::after { background: linear-gradient(270deg, rgba(0,0,0,.75), rgba(0,0,0,.2) 65%, transparent); }
.page-banner .container { position: relative; z-index: 2; }
.page-banner .display { max-width: 820px; font-size: clamp(2.3rem, 4.2vw, 3.7rem); }
.page-banner p { margin-block-start: 18px; max-width: 600px; font-size: 1.1rem; color: #E0E0E0; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 12.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-block-end: 18px; }
html[lang="ar"] .crumbs { font-size: 14px; }
.crumbs a:hover { color: #fff; }
.crumbs .ico { font-size: 12px; }

.intro-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 80px); }
.intro-split .lead + .lead { margin-block-start: 16px; }

/* Services page */
.chip-nav-wrap { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transition: top .4s var(--ease); }
.chip-nav { display: flex; gap: 4px; overflow-x: auto; padding-block: 12px; scrollbar-width: none; }
.chip-nav::-webkit-scrollbar { display: none; }
.chip-nav a { flex: none; padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--muted); transition: all .2s; }
.chip-nav a:hover { color: var(--ink); background: var(--soft); }
.chip-nav a.is-active { color: #fff; background: var(--ink); }

.svc-block { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 80px); padding-block: clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line); }
.svc-block:last-child { border-bottom: 0; }
.svc-block-head { position: sticky; top: calc(var(--header-h) + 84px); align-self: start; }
.svc-block-head .num { font-family: var(--font-en); font-size: 14px; font-weight: 600; color: var(--accent); }
.svc-block-head h2 { margin-block-start: 10px; }
.svc-block-head .lead { margin-block-start: 16px; }
.svc-block-head .media { margin-block-start: 26px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; }
.svc-block-head .media img { width: 100%; height: 100%; object-fit: cover; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 22px; }
.tag { font-size: 12.5px; font-weight: 500; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); direction: ltr; unicode-bidi: isolate; }
.cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cap { background: #fff; padding: 24px; transition: background-color .3s; }
.cap:hover { background: #FBF9FF; }
.cap h3 { display: flex; gap: 10px; align-items: center; font-size: 16px; font-weight: 600; color: var(--ink); }
.cap h3 .ico { font-size: 20px; color: var(--accent); }
.cap p { margin-block-start: 8px; font-size: 14.5px; color: var(--muted); }
.outcome { margin-block-start: 16px; display: flex; gap: 16px; align-items: center; padding: 20px 22px; border-radius: var(--radius); background: var(--lavender); color: var(--ink); }
.outcome .ico { font-size: 28px; color: var(--accent); }
.outcome p { font-size: 15px; }

.models { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.model { padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; transition: box-shadow .3s, transform .3s var(--ease); }
.model:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.model .ico { font-size: 34px; color: var(--accent); }
.model h3 { font-size: 19px; font-weight: 600; color: var(--ink); }
.model p { font-size: 14.5px; color: var(--muted); }
.model small { margin-block-start: auto; padding-block-start: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink); font-weight: 500; }
.section--dark .model { background: #0D0D0D; border-color: #222; }
.section--dark .model h3 { color: #fff; }
.section--dark .model p { color: #A8A8B0; }
.section--dark .model small { color: #fff; border-color: #222; }

.models--3 { grid-template-columns: repeat(3, 1fr); background: none; text-align: start; }
@media (max-width: 991px) { .models--3 { grid-template-columns: 1fr; } }

/* Industries page */
.ind-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.ind-card { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: box-shadow .3s, transform .3s var(--ease); }
.ind-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.ind-card-media { position: relative; aspect-ratio: 16 / 8; overflow: hidden; background: #000; }
.ind-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ind-card:hover .ind-card-media img { transform: scale(1.05); }
.ind-card-media .ico { position: absolute; bottom: 16px; inset-inline-start: 16px; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--ink); font-size: 24px; }
.ind-card-body { padding: 24px 26px 28px; }
.ind-card-body p { margin-block-start: 10px; color: var(--muted); }
.ind-card-body ul { margin-block-start: 18px; display: grid; gap: 8px; }
.ind-card-body li { display: flex; gap: 10px; font-size: 14.5px; }
.ind-card-body li .ico { font-size: 18px; color: var(--accent); margin-block-start: 3px; }

.fw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fw-grid .fw-tile { width: auto; }

/* About page */
.mv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.mv-card { padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); background: var(--soft); }
.mv-card--dark { background: #000; color: #fff; position: relative; overflow: hidden; }
.mv-card--dark::after { content: ""; position: absolute; width: 360px; height: 360px; inset-inline-end: -120px; bottom: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(192,38,211,.55), transparent 65%); }
.mv-card .kicker { margin: 0; }
.mv-card--dark .kicker { color: #E9A8F5; }
.mv-card .h3 { margin-block: 14px; font-size: clamp(1.35rem, 2.2vw, 1.85rem); font-weight: 500; }
.mv-card--dark .h3 { color: #fff; }
.mv-card--dark .lead { color: #B9B9C2; position: relative; z-index: 1; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value { padding: 28px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.value .ico { font-size: 34px; color: var(--accent); }
.value h3 { margin-block-start: 18px; font-size: 18px; font-weight: 600; color: var(--ink); }
.value p { margin-block-start: 8px; font-size: 14.5px; color: var(--muted); }
.mark-explainer { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.mark-stage { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: #000; display: grid; place-items: center; }
.mark-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.mark-stage svg { position: relative; width: 46%; height: auto; aspect-ratio: 1; color: #fff; filter: drop-shadow(0 0 40px rgba(192,38,211,.6)); }
.mark-points { display: grid; gap: 22px; margin-block-start: 30px; }
.mark-point { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.mark-point .n { font-family: var(--font-en); font-size: 28px; font-weight: 300; color: var(--accent); line-height: 1; }
.mark-point h3 { font-size: 17px; font-weight: 600; color: var(--ink); }
.mark-point p { margin-block-start: 4px; font-size: 15px; color: var(--muted); }

/* Contact page */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.info-card { padding: 28px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.info-card > .ico { font-size: 30px; color: var(--accent); }
.info-card h3 { margin-block: 16px 12px; font-size: 18px; font-weight: 600; color: var(--ink); }
.info-card p, .info-card li { font-size: 14.5px; color: var(--muted); }
.info-card a:hover { color: var(--ink); }
.info-card .contact-lines li + li { margin-block-start: 8px; }
.info-card .contact-lines .ico { color: var(--accent); }
.info-card .hours li { display: flex; justify-content: space-between; gap: 10px; padding-block: 6px; border-bottom: 1px dashed var(--line); }
.info-card .hours li:last-child { border: 0; }
.info-card .hours b { color: var(--ink); font-weight: 600; }
.cities { display: flex; flex-wrap: wrap; gap: 6px; }
.cities span { padding: 5px 11px; border-radius: 999px; background: var(--soft); font-size: 13px; color: var(--ink); }
.wa-link { display: inline-flex; align-items: center; gap: 8px; margin-block-start: 16px; font-weight: 600; color: #128C4B; }
.faq { max-width: 880px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 0; font-size: 17px; font-weight: 500; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { font-size: 20px; transition: transform .3s var(--ease); color: var(--accent); }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq details p { padding-block-end: 22px; color: var(--muted); max-width: 760px; }

/* ==========================================================================
   Hexagon service cluster (inspired by idaratech.sa)
   ========================================================================== */
.hex-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hex-title { max-width: 620px; font-size: clamp(2rem, 3.2vw, 2.85rem); font-weight: 600; line-height: 1.18; color: var(--ink); letter-spacing: -.015em; }
html[lang="ar"] .hex-title { line-height: 1.45; }
.hex-copy .lead { margin-block: 20px 32px; max-width: 560px; font-size: clamp(1.05rem, 1.4vw, 1.25rem); }
.cta-checks { display: flex; flex-direction: column; gap: 10px; margin-block-start: 22px; padding-inline-start: 12px; }
.cta-checks li { display: flex; gap: 8px; align-items: center; font-size: 14.5px; color: var(--ink); }
.cta-checks .ico { font-size: 18px; color: #16A34A; }
.hex-wrap { max-width: 600px; justify-self: center; width: 100%; }
.hex-svg { width: 100%; height: auto; direction: ltr; overflow: visible; }
.hx-orbit { fill: none; stroke: #E3E3EA; stroke-width: 1.4; stroke-dasharray: 6 8; }
.hx-orbit--outer { stroke: #EFEFF4; }
.hx-arc { fill: none; stroke: url(#hx-arc); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 520 300; }
.hx-spin { transform-origin: 300px 320px; animation: hxspin 14s linear infinite; }
@keyframes hxspin { to { transform: rotate(360deg); } }
.hx-dot { animation: hxpulse 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes hxpulse { 50% { transform: scale(1.5); opacity: .6; } }
.hx { cursor: pointer; animation: hxfloat 6s ease-in-out infinite; animation-delay: var(--d); }
@keyframes hxfloat { 50% { transform: translateY(-7px); } }
.hx-in { transition: transform .35s var(--ease), filter .35s; filter: drop-shadow(0 14px 18px rgba(22,22,22,.14)); }
.hx:hover .hx-in, .hx:focus-visible .hx-in { transform: scale(1.07); filter: drop-shadow(0 20px 26px rgba(22,22,22,.22)); }
.hx:focus-visible { outline: none; }
.hx-code { font-family: var(--font-en); font-weight: 800; fill: #fff; letter-spacing: -.01em; }
.hx-sub { font-family: var(--font); font-size: 11.5px; font-weight: 600; fill: rgba(255,255,255,.92); }
html[lang="ar"] .hx-sub { font-size: 12px; }
.hx-center-label { font-family: var(--font-en); font-size: 15px; font-weight: 800; letter-spacing: .12em; }
.hx-center-tex { opacity: .35; }

/* ==========================================================================
   AI section (inspired by idaratech.sa "An AI that speaks your language")
   ========================================================================== */
.ai-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.ai-visual { position: relative; border-radius: 16px; overflow: hidden; min-height: 380px; display: grid; place-items: center; padding: 36px; background: #000; }
.ai-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.chat { position: relative; width: min(420px, 100%); padding: 18px; border-radius: 16px; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); display: flex; flex-direction: column; gap: 10px; }
.chat-head { display: flex; align-items: center; gap: 10px; padding-block-end: 10px; border-bottom: 1px solid var(--line); font-size: 14px; }
.chat-avatar { width: 28px; height: 28px; border-radius: 50%; background: #161616; display: grid; place-items: center; color: #fff; }
.chat-avatar svg { width: 18px; height: 18px; }
.chat-online { margin-inline-start: auto; font-size: 12px; font-weight: 600; color: #16A34A; display: inline-flex; align-items: center; gap: 6px; }
.chat-online::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #16A34A; }
.bubble { max-width: 86%; padding: 10px 14px; border-radius: 14px; font-size: 13.5px; line-height: 1.5; }
.bubble--user { align-self: flex-end; background: #161616; color: #fff; border-end-end-radius: 4px; }
.bubble--bot { align-self: flex-start; background: #F1ECFD; color: #2E1065; border-end-start-radius: 4px; }
.bubble[dir="rtl"] { font-family: var(--font-ar); }
.chip-label { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink); margin-block-end: 18px; }
.chip-label .ico { font-size: 16px; color: var(--violet); }
.ai-split .lead { margin-block: 16px 22px; }
.ai-points { display: grid; gap: 12px; margin-block-end: 26px; }
.ai-points li { display: flex; gap: 12px; align-items: center; font-weight: 500; color: var(--ink); }
.ai-points .ico { font-size: 24px; color: var(--accent); }

/* ==========================================================================
   Contact band additions: checks, big phone, stepped form, size pills
   ========================================================================== */
.cb-checks { display: grid; gap: 12px; margin-block-start: 26px; }
.cb-checks li { display: flex; gap: 10px; align-items: flex-start; color: #fff; }
.cb-checks .ico { font-size: 20px; color: #4ADE80; margin-block-start: 2px; }
.cb-call { margin-block-start: 34px; padding-block-start: 26px; border-top: 1px solid rgba(255,255,255,.15); }
.cb-call > span { display: block; font-size: 15px; color: var(--on-dark-muted); }
.cb-phone { display: inline-block; margin-block-start: 6px; font-family: var(--font-en); font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 300; letter-spacing: -.01em; background: linear-gradient(90deg, #F472B6, #FB923C); -webkit-background-clip: text; background-clip: text; color: transparent; unicode-bidi: isolate; }
.cb-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-block-start: 12px; font-size: 14px; color: #fff; }
.cb-links a { display: inline-flex; align-items: center; gap: 6px; }
.cb-links a:hover { text-decoration: underline; }
.form-step { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--ink); margin-block-start: 8px; }
.form-step:first-child { margin-block-start: 0; }
.form-step span { width: 24px; height: 24px; flex: none; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font-size: 12px; font-family: var(--font-en); }
.pill-radios { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pill-radios label { cursor: pointer; }
.pill-radios input { position: absolute; opacity: 0; pointer-events: none; }
.pill-radios span { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid #D5D6DD; border-radius: 6px; font-size: 14px; direction: ltr; transition: border-color .2s, background-color .2s; }
html[dir="rtl"] .pill-radios span { flex-direction: row-reverse; justify-content: flex-end; }
.pill-radios span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #A3A5B0; flex: none; transition: border-color .2s, box-shadow .2s; }
.pill-radios input:checked + span { border-color: var(--violet); background: #F6F1FD; }
.pill-radios input:checked + span::before { border-color: var(--violet); box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 8px var(--violet); }
.pill-radios input:focus-visible + span { outline: 2px solid var(--violet); outline-offset: 2px; }

/* Back to top */
.back-to-top { position: fixed; z-index: 90; bottom: 22px; inset-inline-end: 22px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s var(--ease), visibility .3s, background-color .2s; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--violet); }
.back-to-top .ico { font-size: 18px; }

/* Reveal on scroll */
.js-motion [data-reveal] { opacity: 0; transform: translateY(28px); }
.js-motion [data-reveal].is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-motion [data-reveal-delay="1"].is-in { transition-delay: .08s; }
.js-motion [data-reveal-delay="2"].is-in { transition-delay: .16s; }
.js-motion [data-reveal-delay="3"].is-in { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .models, .values { grid-template-columns: repeat(2, 1fr); }
  .header-btn--outline { display: none; }
}
@media (max-width: 991px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: inline-block; }
  .main-nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: #fff; color: var(--ink); overflow-y: auto; padding: 12px var(--gutter) 40px; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
  .nav-open .main-nav { opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
  .nav-open .site-header { border-bottom-color: var(--line); }
  .header-btn { display: none; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: 18px 0; font-size: 18px; opacity: 1; }
  .nav-link { border-radius: 0; }
  .nav-link:hover, .nav-link[aria-current="page"], .has-drop:hover > .nav-link { background: none; }
  .nav-link[aria-current="page"] { color: var(--violet); }
  .has-drop > .nav-link .ico { display: none; }
  .drop { position: static; opacity: 1; visibility: inherit; transform: none; box-shadow: none; border: 0; }
  .drop .container { padding: 0; }
  .drop-inner { display: block; padding: 0 0 12px; }
  .drop-intro { display: none; }
  .drop-links, .drop-links--3 { grid-template-columns: 1fr; }
  .drop-links a { padding: 8px 0; }
  .drop-links span { display: none; }
  .nav-cta { display: block; border: 0 !important; padding-block-start: 24px; }
  .nav-cta .btn-round { width: 100%; }
  .ind-showcase, .alliances, .contact-band .container, .intro-split, .svc-block, .mark-explainer { grid-template-columns: 1fr; }
  .svc-block-head { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ind-grid { grid-template-columns: 1fr; }
  .fw-grid, .info-grid { grid-template-columns: repeat(2, 1fr); }
  .head-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767px) {
  .feature-grid, .models, .values, .mv-grid, .cap-grid, .form-grid, .fw-grid, .info-grid { grid-template-columns: 1fr; }
  .impact-grid { gap: 32px 20px; }
  .slider-arrow { display: none; }
  .slide-content { padding-block-end: 110px; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-tile { height: 80px; font-size: 16px; }
  .s-card { width: 82vw; max-width: 320px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .band-image { min-height: 460px; }
  .page-banner { min-height: 420px; }
  .lang-switch .lang-label { display: none; }
}
@media (max-width: 480px) {
  .impact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 991px) {
  .hex-split, .ai-split { grid-template-columns: 1fr; }
  .hex-copy { text-align: center; }
  .hex-copy .lead { margin-inline: auto; }
  .cta-checks { flex-direction: row; justify-content: center; flex-wrap: wrap; gap: 8px 18px; padding: 0; }
  .hex-wrap { max-width: 460px; }
}
@media (max-width: 767px) {
  .pill-radios { grid-template-columns: repeat(2, 1fr); }
  .ai-visual { padding: 20px; min-height: 0; }
}
.map-link { color: var(--accent); margin-inline-start: 18px; }
/* Phosphor duotone layers are positioned for LTR; keep icons LTR inside RTL pages */
.ph-duotone { direction: ltr; unicode-bidi: isolate; }

/* ==========================================================================
   Technology stack tabs (inspired by techgropse.ae "Technologies We Use")
   ========================================================================== */
.tech-section { background: #07060D; color: #fff; overflow: hidden; }
.tech-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 45% at 50% 0%, rgba(124,58,237,.35), transparent 70%), radial-gradient(40% 40% at 100% 100%, rgba(192,38,211,.18), transparent 70%); pointer-events: none; }
.tech-section .container { position: relative; }
.tech-head { text-align: center; max-width: 820px; margin: 0 auto clamp(28px, 4vw, 44px); }
.tech-head .h2 { color: #fff; }
.tech-head .lead { margin-block-start: 14px; color: #B9B8C6; }
.tech-tablist { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-block-end: 24px; }
.tech-tablist button { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 10px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; white-space: nowrap; transition: background-color .25s, color .25s, transform .25s var(--ease); }
.tech-tablist button .ico { font-size: 18px; color: var(--violet); transition: color .25s; }
.tech-tablist button:hover { transform: translateY(-2px); }
.tech-tablist button[aria-selected="true"] { background: var(--grad); color: #fff; box-shadow: 0 12px 30px -14px rgba(192,38,211,.8); }
.tech-tablist button[aria-selected="true"] .ico { color: #fff; }
.tech-panel-wrap { border: 1px solid rgba(124,58,237,.55); border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, rgba(30,27,75,.55), rgba(10,9,20,.65)); box-shadow: 0 40px 90px -50px rgba(124,58,237,.7); }
.tech-panel { padding: clamp(14px, 2vw, 24px); }
.tech-panel[hidden] { display: none; }
.tech-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.tech-tile { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 8px 14px; border-radius: 12px; text-align: center; font-size: 13.5px; font-weight: 600; color: #fff; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); direction: ltr; transition: transform .3s var(--ease), border-color .3s, background-color .3s; animation: tilein .45s var(--ease) both; animation-delay: calc(var(--i) * 30ms); }
.tech-tile:hover { transform: translateY(-3px); border-color: rgba(192,38,211,.6); background: rgba(255,255,255,.07); }
@keyframes tilein { from { opacity: 0; transform: translateY(10px); } }
.tech-logo { width: 60px; height: 60px; border-radius: 14px; background: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px -10px rgba(0,0,0,.6); }
.tech-logo img { width: 38px; height: 38px; object-fit: contain; }
.tech-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px clamp(18px, 2vw, 26px); background: var(--grad); color: #fff; font-size: 16px; font-weight: 700; }
.tech-cta .ico { font-size: 20px; transition: transform .3s var(--ease); }
.tech-cta:hover .ico { transform: translateX(6px); }
html[dir="rtl"] .tech-cta:hover .ico.flip-rtl { transform: scaleX(-1) translateX(6px); }
@media (max-width: 1100px) { .tech-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 767px) {
  .tech-tablist { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .tech-tablist::-webkit-scrollbar { display: none; }
  .tech-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .tech-tile { font-size: 12px; padding: 14px 4px 10px; }
  .tech-logo { width: 50px; height: 50px; }
  .tech-logo img { width: 32px; height: 32px; }
}

/* ==========================================================================
   Contact page v5: contact hub
   ========================================================================== */
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,.6); } 70% { box-shadow: 0 0 0 8px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }
.contact-hero { position: relative; overflow: hidden; background: #07060D; color: #fff; padding-block: clamp(36px, 5vw, 64px) clamp(56px, 6vw, 88px); }
.contact-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; }
html[dir="rtl"] .contact-hero-bg { transform: scaleX(-1); }
.contact-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,6,13,.94) 30%, rgba(7,6,13,.5)); pointer-events: none; }
html[dir="rtl"] .contact-hero::after { background: linear-gradient(270deg, rgba(7,6,13,.94) 30%, rgba(7,6,13,.5)); }
.contact-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-hero .display { font-size: clamp(2.2rem, 3.6vw, 3.2rem); }
.contact-hero .lead { color: #CFCFDA; margin-block-start: 16px; max-width: 520px; }
.open-status { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-block-start: 22px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); font-size: 13.5px; }
.open-status .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; animation: livepulse 2s infinite; }
.open-status b { color: #fff; font-weight: 600; }
.open-status span { color: #B9B8C6; }
.open-status.is-closed .dot { background: #FBBF24; animation: none; }
.hub-label { margin-block: 30px 12px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #B9B8C6; }
html[lang="ar"] .hub-label { font-size: 14px; }
.qa-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.qa { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background-color .25s, border-color .25s, transform .25s var(--ease); }
.qa:hover { background: rgba(255,255,255,.1); border-color: rgba(192,38,211,.6); transform: translateY(-2px); }
.qa-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); flex: none; }
.qa-ico .ico { font-size: 20px; color: #fff; }
.qa-txt { flex: 1; min-width: 0; }
.qa-txt small { display: block; font-size: 12px; color: #B9B8C6; }
.qa-txt b { display: block; font-size: 14.5px; font-weight: 600; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qa > .ico { color: #8C8BA0; font-size: 16px; transition: transform .25s var(--ease), color .25s; }
.qa:hover > .ico { color: #fff; transform: translateX(3px); }
html[dir="rtl"] .qa:hover > .ico.flip-rtl { transform: scaleX(-1) translateX(3px); }
.picks { display: flex; flex-wrap: wrap; gap: 8px; }
.pick { padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); color: #E4E3F0; font-size: 14px; font-weight: 500; transition: background-color .2s, color .2s, border-color .2s; }
.pick:hover { border-color: #fff; color: #fff; }
.pick.is-on { background: #fff; color: var(--ink); border-color: #fff; }
.field select.flash { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(124,58,237,.22); }

.steps-line { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps-line::before { content: ""; position: absolute; top: 28px; inset-inline: 56px; height: 2px; background: repeating-linear-gradient(90deg, #D9D6E6 0 8px, transparent 8px 14px); }
.step-item { position: relative; }
.step-ico { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.step-ico .ico { font-size: 26px; color: var(--accent); }
.step-num { position: absolute; top: -6px; inset-inline-start: 40px; z-index: 2; padding: 2px 8px; border-radius: 999px; background: var(--grad); color: #fff; font-family: var(--font-en); font-size: 11px; font-weight: 700; }
.step-item h3 { margin-block-start: 22px; font-size: 19px; font-weight: 600; color: var(--ink); }
.step-item p { margin-block-start: 8px; color: var(--muted); max-width: 340px; }

.visit-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; align-items: stretch; }
.visit-card { background: #fff; border-radius: 16px; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); }
.visit-addr { display: flex; gap: 10px; align-items: flex-start; margin-block-start: 16px; color: var(--ink); font-weight: 500; }
.visit-addr .ico { font-size: 24px; color: var(--accent); }
.visit-sub { margin-block: 26px 8px; font-size: 15px; font-weight: 600; color: var(--ink); }
.week li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; border-radius: 8px; font-size: 14.5px; color: var(--muted); }
.week li em { display: none; margin-inline-start: 8px; padding: 2px 8px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 11px; font-weight: 700; font-style: normal; }
.week li b { font-weight: 600; color: var(--ink); direction: ltr; unicode-bidi: isolate; }
.week li.is-today { background: var(--lavender); color: var(--ink); font-weight: 600; }
.week li.is-today em { display: inline-block; }
.visit-note { display: flex; gap: 8px; align-items: center; margin-block-start: 14px; font-size: 13.5px; color: var(--muted); }
.visit-note .ico { font-size: 16px; color: var(--magenta); }
.visit-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 22px; }
.map-frame { min-height: 440px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #E9E9EF; }
.map-frame iframe { display: block; width: 100%; height: 100%; min-height: 440px; border: 0; filter: grayscale(.2) contrast(1.04); }

.coverage { background: #07060D; color: #fff; overflow: hidden; }
.coverage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(45% 60% at 85% 50%, rgba(124,58,237,.28), transparent 70%); pointer-events: none; }
.coverage-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.coverage .h2 { color: #fff; }
.coverage .lead { margin-block-start: 14px; color: #B9B8C6; }
.cov-points { margin-block-start: 26px; display: grid; gap: 12px; }
.cov-points li { display: flex; gap: 12px; align-items: center; color: #fff; }
.cov-points .ico { font-size: 24px; color: #E879F9; }
.ksa-map { position: relative; aspect-ratio: 16 / 11; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); background-image: radial-gradient(rgba(255,255,255,.13) 1px, transparent 1.4px), linear-gradient(160deg, #1C1A3A, #0B0A14); background-size: 14px 14px, auto; direction: ltr; }
.ksa-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ksa-map path { fill: none; stroke: rgba(232,121,249,.5); stroke-width: 1.2; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; animation: mapdash 30s linear infinite; }
@keyframes mapdash { to { stroke-dashoffset: -300; } }
.city { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -6px); display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: #C9C8E6; white-space: nowrap; }
.city::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 4px rgba(124,58,237,.25); }
.city.is-hub { color: #fff; font-weight: 700; }
.city.is-hub::before { width: 14px; height: 14px; background: var(--pink); animation: hubpulse 2s infinite; }
@keyframes hubpulse { 0% { box-shadow: 0 0 0 0 rgba(236,72,153,.6); } 70% { box-shadow: 0 0 0 12px rgba(236,72,153,0); } 100% { box-shadow: 0 0 0 0 rgba(236,72,153,0); } }
html[lang="ar"] .city { font-family: var(--font-ar); }

.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-grid .faq { max-width: none; }
.faq-help { margin-block-start: 28px; padding: 24px; border-radius: 16px; background: var(--lavender); }
.faq-help > .ico { font-size: 34px; color: var(--accent); }
.faq-help p { margin-block: 10px 18px; color: var(--ink); }

@media (max-width: 991px) {
  .contact-hero-grid, .visit-grid, .coverage-grid, .faq-grid { grid-template-columns: 1fr; }
  .steps-line { grid-template-columns: 1fr; gap: 32px; }
  .steps-line::before { top: 28px; bottom: 28px; inset-inline-start: 27px; inset-inline-end: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, #D9D6E6 0 8px, transparent 8px 14px); }
  .step-item { padding-inline-start: 76px; min-height: 56px; }
  .step-ico { position: absolute; inset-inline-start: 0; top: 0; }
  .step-item h3 { margin-block-start: 0; }
  .faq-side { position: static; }
  .map-frame, .map-frame iframe { min-height: 320px; }
}
@media (max-width: 600px) {
  .qa-grid { grid-template-columns: 1fr; }
  .city { font-size: 10.5px; }
}

/* ==========================================================================
   Services page v6: distinct service sections with signature visuals
   ========================================================================== */
.chip-nav a { display: inline-flex; align-items: center; gap: 6px; }
.chip-nav a .ico { font-size: 16px; }
.chip-progress { position: absolute; inset-inline: 0; bottom: -1px; height: 2px; background: transparent; }
.chip-progress i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .15s linear; }

.svc2 { position: relative; padding-block: clamp(64px, 8vw, 110px); overflow: hidden; }
.svc2--soft { background: var(--soft); }
.svc2--dark { background: #07060D; color: #fff; }
.svc2--dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(45% 55% at 85% 20%, color-mix(in srgb, var(--acc) 30%, transparent), transparent 70%); pointer-events: none; }
.svc2 .container { position: relative; }
.svc2-top { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.svc2--flip .svc2-intro { order: 2; }
.svc2-num { display: block; font-family: var(--font-en); font-size: clamp(4.5rem, 8vw, 7rem); font-weight: 700; line-height: .9; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--acc) 70%, transparent); margin-block-end: 18px; }
.svc2 .kicker { color: var(--acc); }
.svc2--dark .h2 { color: #fff; }
.svc2 .lead { margin-block-start: 14px; }
.svc2--dark .lead { color: #B9B8C6; }
.svc2--dark .tag { border-color: rgba(255,255,255,.15); color: #CFCFDA; }
.svc2-cta { margin-block-start: 26px; background: var(--acc); color: #fff; height: 46px; }
.svc2-cta:hover { filter: brightness(1.1); transform: translateY(-2px); }

/* capability cards */
.cap2-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-block-start: clamp(40px, 5vw, 64px); }
.cap2 { padding: 24px; border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.svc2--soft .cap2 { border-color: transparent; }
.cap2:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--acc) 40%, transparent); box-shadow: 0 24px 50px -30px color-mix(in srgb, var(--acc) 60%, transparent); }
.cap2-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--acc) 12%, #fff); color: var(--acc); transition: background-color .35s, color .35s; }
.cap2-ico .ico { font-size: 26px; }
.cap2:hover .cap2-ico { background: var(--acc); color: #fff; }
.cap2 h3 { margin-block-start: 16px; font-size: 17px; font-weight: 600; color: var(--ink); }
.cap2 p { margin-block-start: 8px; font-size: 14.5px; color: var(--muted); }
.svc2--dark .cap2 { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); }
.svc2--dark .cap2 h3 { color: #fff; }
.svc2--dark .cap2 p { color: #A9A8B8; }
.svc2--dark .cap2-ico { background: color-mix(in srgb, var(--acc) 22%, transparent); }
.svc2-outcome { display: flex; gap: 16px; align-items: center; margin-block-start: 14px; padding: 20px 24px; border-radius: 16px; background: linear-gradient(90deg, color-mix(in srgb, var(--acc) 14%, #fff), #fff); border: 1px solid color-mix(in srgb, var(--acc) 22%, transparent); }
.svc2-outcome .ico { font-size: 30px; color: var(--acc); }
.svc2-outcome p { color: var(--ink); }
.svc2-outcome b { display: inline-block; margin-inline-end: 8px; padding: 2px 10px; border-radius: 999px; background: var(--acc); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; vertical-align: 2px; }
html[lang="ar"] .svc2-outcome b { text-transform: none; font-size: 13px; }
.svc2--dark .svc2-outcome { background: linear-gradient(90deg, color-mix(in srgb, var(--acc) 22%, transparent), rgba(255,255,255,.02)); border-color: rgba(255,255,255,.1); }
.svc2--dark .svc2-outcome p { color: #fff; }

/* ---------- shared mock-UI frame ---------- */
.svc2-visual { position: relative; }
.svc2-visual::before { content: ""; position: absolute; inset: 10% 8%; border-radius: 50%; background: var(--acc); filter: blur(70px); opacity: .22; }
.vx { position: relative; direction: ltr; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(22,22,22,.35); overflow: hidden; font-size: 13.5px; color: var(--ink); }
html[lang="ar"] .vx { direction: rtl; }
.svc2--dark .vx { background: #11101C; border-color: rgba(255,255,255,.1); color: #E4E3F0; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.vx-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.svc2--dark .vx-bar { border-color: rgba(255,255,255,.08); }
.vx-bar b { font-weight: 600; }
.vx-dots { display: flex; gap: 6px; direction: ltr; }
.vx-dots i { width: 9px; height: 9px; border-radius: 50%; background: #E3E3EA; }
.vx-dots i:first-child { background: #FF5F57; } .vx-dots i:nth-child(2) { background: #FEBC2E; } .vx-dots i:nth-child(3) { background: #28C840; }
.vx-body { display: grid; grid-template-columns: auto 1fr; gap: 22px; padding: 20px; align-items: center; }
.meter { display: block; height: 6px; border-radius: 999px; background: #EDEDF3; overflow: hidden; }
.svc2--dark .meter { background: rgba(255,255,255,.1); }
.meter i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--acc); transition: width 1.4s var(--ease) .3s; }
.meter.amber i { background: #F59E0B; }
.is-in .meter i, .meter.is-on i { width: var(--w); }

/* 01 NOC */
.ring { position: relative; width: 132px; height: 132px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: #EDEDF3; stroke-width: 10; }
.ring-fg { fill: none; stroke: var(--acc); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 314; stroke-dashoffset: 314; transition: stroke-dashoffset 1.6s var(--ease) .3s; }
.is-in .ring-fg { stroke-dashoffset: 4; }
.ring > div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring b { font-family: var(--font-en); font-size: 22px; font-weight: 600; }
.ring small { font-size: 11.5px; color: var(--muted); }
.health { display: grid; gap: 12px; }
.health li { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: 13px; }
.health li em { font-style: normal; color: var(--muted); font-size: 12px; }
.health li .meter { grid-column: 1 / -1; }
.vx-toast { display: flex; align-items: center; gap: 10px; margin: 0 20px 20px; padding: 12px 14px; border-radius: 12px; background: #F0FDF4; border: 1px solid #BBF7D0; font-size: 12.5px; animation: toastin 6s var(--ease) infinite; }
.vx-toast .ico { color: #16A34A; font-size: 18px; }
.vx-toast span { flex: 1; }
.vx-toast b { color: #15803D; font-weight: 600; }
@keyframes toastin { 0%, 8% { opacity: 0; transform: translateY(10px); } 15%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* 02 Cloud migration */
.vx-cloud { padding: 22px; }
.flow { display: grid; grid-template-columns: 1fr 1.1fr 1fr; align-items: center; gap: 8px; }
.node { padding: 18px 12px; border-radius: 14px; text-align: center; background: var(--soft); border: 1px solid var(--line); }
.node .ico { font-size: 34px; color: #64748B; }
.node b { display: block; margin-block-start: 8px; font-size: 13.5px; }
.node small { display: block; font-size: 11.5px; color: var(--muted); }
.node--dst { background: color-mix(in srgb, var(--acc) 10%, #fff); border-color: color-mix(in srgb, var(--acc) 35%, transparent); }
.node--dst .ico { color: var(--acc); }
.pipe { position: relative; height: 10px; border-radius: 999px; background: repeating-linear-gradient(90deg, #DCE3EC 0 8px, transparent 8px 14px); }
html[lang="ar"] .pipe { transform: scaleX(-1); }
html[lang="ar"] .phone { right: auto; left: 0; }
html[lang="ar"] .vx-soft { padding-inline-end: 0; padding-inline-start: 70px; }
.pkt { position: absolute; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 4px; background: var(--acc); box-shadow: 0 0 12px var(--acc); animation: pkt 2.4s linear infinite; }
.pkt:nth-child(2) { animation-delay: .6s; } .pkt:nth-child(3) { animation-delay: 1.2s; } .pkt:nth-child(4) { animation-delay: 1.8s; }
@keyframes pkt { from { left: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } to { left: calc(100% - 14px); opacity: 0; } }
.stats3 { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 10px; margin-block-start: 18px; }
.stats3 > div { padding: 14px; border-radius: 12px; border: 1px solid var(--line); }
.stats3 small { display: block; font-size: 11.5px; color: var(--muted); }
.stats3 b { display: block; margin-block: 4px 8px; font-family: var(--font-en); font-size: 20px; font-weight: 600; }
.stats3 b.good { color: #16A34A; }

/* 03 SOC radar */
.radar { position: relative; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, transparent 0 24%, rgba(255,255,255,.06) 24.5% 25%, transparent 25.5% 49%, rgba(255,255,255,.06) 49.5% 50%, transparent 50.5% 74%, rgba(255,255,255,.08) 74.5% 75%, transparent 75.5%), radial-gradient(circle, color-mix(in srgb, var(--acc) 18%, transparent), transparent 70%); border: 1px solid rgba(255,255,255,.12); overflow: hidden; }
.sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, color-mix(in srgb, var(--acc) 65%, transparent), transparent 25%); animation: sweep 3.2s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.blip { position: absolute; left: var(--x); top: var(--y); width: 9px; height: 9px; border-radius: 50%; background: #F43F5E; box-shadow: 0 0 10px #F43F5E; animation: blip 3.2s ease-out infinite; animation-delay: var(--d, 0s); }
.blip--ok { background: #4ADE80; box-shadow: 0 0 10px #4ADE80; }
@keyframes blip { 0%, 100% { opacity: .15; transform: scale(.6); } 20% { opacity: 1; transform: scale(1.2); } }
.feed { display: grid; gap: 8px; }
.feed li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 9px 11px; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); font-size: 12.5px; opacity: 0; transform: translateX(12px); }
.is-in .feed li { animation: feedin .6s var(--ease) forwards; animation-delay: calc(var(--i) * .45s + .3s); }
.is-in .feed li:first-child { animation: feedin .6s var(--ease) .3s forwards, livefeed 2.4s ease-in-out 1.2s infinite; }
@keyframes livefeed { 50% { border-color: rgba(244,63,94,.45); } }
.feed li .ico { font-size: 17px; color: color-mix(in srgb, var(--acc) 80%, #fff); }
.feed li small { display: block; font-size: 11px; color: #8F8EA3; }
.feed b { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.feed b.bad { background: rgba(244,63,94,.15); color: #FB7185; }
.feed b.ok { background: rgba(74,222,128,.14); color: #4ADE80; }
@keyframes feedin { to { opacity: 1; transform: none; } }
.vx-foot { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px 20px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12.5px; }
.vx-foot b { font-family: var(--font-en); color: #fff; }

/* 04 Topology */
.vx-topo { aspect-ratio: 16 / 11; background-image: radial-gradient(rgba(22,22,22,.08) 1px, transparent 1.4px); background-size: 16px 16px; direction: ltr; }
.topo-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.topo-lines line { stroke: color-mix(in srgb, var(--acc) 70%, transparent); stroke-width: 1.6; stroke-dasharray: 5 6; vector-effect: non-scaling-stroke; animation: topo 2.5s linear infinite; }
@keyframes topo { to { stroke-dashoffset: -22; } }
.tnode { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.tnode .ico { width: 52px; height: 52px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 30px -16px rgba(22,22,22,.4); font-size: 26px; color: var(--acc); }
.tnode small { font-size: 11.5px; font-weight: 600; white-space: nowrap; background: rgba(255,255,255,.85); padding: 1px 6px; border-radius: 6px; }
html[lang="ar"] .tnode small { font-family: var(--font-ar); }
.tnode--hq .ico { width: 70px; height: 70px; border-radius: 20px; background: var(--acc); color: #fff; font-size: 34px; box-shadow: 0 0 0 10px color-mix(in srgb, var(--acc) 15%, transparent), 0 20px 40px -16px var(--acc); }
.topo-chips { position: absolute; bottom: 12px; inset-inline: 12px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.topo-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 12px; font-weight: 600; }
html[lang="ar"] .topo-chips span { font-family: var(--font-ar); }
.topo-chips .ico { font-size: 14px; color: var(--acc); }

/* 05 Software: browser + phone */
.vx-soft { background: none; border: 0; box-shadow: none; overflow: visible; padding-block-end: 30px; padding-inline-end: 70px; }
.browser { border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(22,22,22,.35); overflow: hidden; }
.br-body { padding: 18px; }
.br-head { display: flex; justify-content: space-between; align-items: center; }
.br-head b { font-size: 16px; }
.lang-pill { padding: 3px 10px; border-radius: 999px; background: var(--soft); font-size: 12px; font-weight: 700; }
.br-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-block: 14px; }
.br-kpis span { padding: 12px; border-radius: 12px; background: var(--soft); }
.br-kpis small { display: block; font-size: 11.5px; color: var(--muted); }
.br-kpis b { font-family: var(--font-en); font-size: 20px; }
.br-chart { display: flex; align-items: flex-end; gap: 8px; height: 110px; padding: 10px; border-radius: 12px; border: 1px solid var(--line); }
.br-chart i { flex: 1; height: 0; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--acc), color-mix(in srgb, var(--acc) 35%, #fff)); transition: height 1.2s var(--ease); }
.is-in .br-chart i { height: var(--h); }
.phone { position: absolute; bottom: 0; right: 0; left: auto; width: 170px; padding: 26px 12px 14px; border-radius: 26px; background: #0F0E1A; color: #fff; border: 4px solid #1F1D2E; box-shadow: 0 30px 60px -24px rgba(0,0,0,.6); font-family: var(--font-ar); animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.ph-notch { position: absolute; top: 8px; left: 50%; width: 54px; height: 8px; margin-left: -27px; border-radius: 999px; background: #1F1D2E; }
.phone > b { display: block; font-size: 14px; margin-block-end: 10px; }
.phone ul { display: grid; gap: 6px; }
.phone li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.07); font-size: 12px; }
.phone li .ico { font-size: 16px; color: color-mix(in srgb, var(--acc) 70%, #fff); }
.phone li em { margin-inline-start: auto; font-style: normal; font-size: 11px; color: #A9A8B8; }
.ph-btn { display: block; margin-block-start: 10px; padding: 8px; border-radius: 10px; text-align: center; font-size: 12px; font-weight: 700; background: var(--acc); }

/* 06 Data & AI */
.hbars { display: grid; gap: 12px; padding: 20px; }
.hbars li { display: grid; grid-template-columns: 80px 1fr 34px; gap: 10px; align-items: center; font-size: 12.5px; }
.hbars b { font-family: var(--font-en); text-align: end; color: #fff; }
.hbar { height: 12px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.hbar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #7C3AED, var(--acc)); transition: width 1.3s var(--ease); transition-delay: calc(var(--i) * .1s + .3s); }
.is-in .hbar i { width: var(--w); }
.vx-insight { display: flex; gap: 12px; align-items: flex-start; margin: 0 20px 20px; padding: 14px; border-radius: 14px; background: color-mix(in srgb, var(--acc) 16%, transparent); border: 1px solid color-mix(in srgb, var(--acc) 35%, transparent); }
.ai-dot { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--grad); }
.ai-dot .ico { font-size: 16px; color: #fff; }
.vx-insight p { font-size: 13px; color: #E4E3F0; }
.vx-insight b { display: block; color: #fff; }

/* 07 Roadmap */
.roadmap { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 26px 20px 10px; }
.roadmap::before { content: ""; position: absolute; top: 37px; inset-inline: 40px; height: 2px; background: linear-gradient(90deg, var(--acc) 55%, #E5E5EC 55%); }
html[lang="ar"] .roadmap::before { background: linear-gradient(270deg, var(--acc) 55%, #E5E5EC 55%); }
.roadmap li { position: relative; text-align: center; }
.rm-dot { position: relative; z-index: 1; width: 24px; height: 24px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid #D9D9E3; }
.rm-dot .ico { font-size: 13px; color: #fff; }
.rm-done .rm-dot { background: var(--acc); border-color: var(--acc); }
.rm-prog .rm-dot { border-color: var(--acc); box-shadow: 0 0 0 6px color-mix(in srgb, var(--acc) 20%, transparent); animation: progpulse 2s infinite; }
@keyframes progpulse { 50% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--acc) 5%, transparent); } }
.roadmap small { display: block; font-family: var(--font-en); font-size: 11px; color: var(--muted); }
.roadmap b { display: block; font-size: 13.5px; }
.roadmap em { display: inline-block; margin-block-start: 6px; padding: 2px 8px; border-radius: 999px; font-style: normal; font-size: 11px; font-weight: 600; background: var(--soft); color: var(--muted); }
.rm-done em { background: #DCFCE7; color: #15803D; }
.rm-prog em { background: color-mix(in srgb, var(--acc) 18%, #fff); color: #92400E; }
.rm-progress { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 16px 20px 20px; }
.rm-progress b { font-family: var(--font-en); }

/* 08 Ticket board */
.vx-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px; background: var(--soft); }
.col { padding: 10px; border-radius: 14px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.col .col-h { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.col .col-h b { font-family: var(--font-en); font-size: 11px; padding: 1px 7px; border-radius: 999px; background: var(--soft); color: var(--ink); }
.tk { padding: 10px; border-radius: 10px; border: 1px solid var(--line); font-size: 12.5px; background: #fff; box-shadow: 0 8px 20px -16px rgba(22,22,22,.4); }
.tk span { display: block; font-weight: 500; }
.tk em { display: inline-block; margin-block-start: 6px; padding: 2px 7px; border-radius: 6px; font-style: normal; font-size: 10.5px; font-weight: 700; background: var(--soft); color: var(--muted); font-family: var(--font-en); }
.tk--p1 { border-inline-start: 3px solid #F43F5E; } .tk--p1 em { background: #FFE4E6; color: #BE123C; }
.tk--p2 { border-inline-start: 3px solid #F59E0B; animation: tkmove 5s var(--ease) infinite; } .tk--p2 em { background: #FEF3C7; color: #B45309; }
.tk--done { opacity: .75; } .tk--done em { background: #DCFCE7; color: #15803D; }
@keyframes tkmove { 0%, 70%, 100% { transform: none; } 80% { transform: translateY(-4px); box-shadow: 0 16px 30px -16px rgba(22,22,22,.5); } }
.csat { margin-block-start: auto; display: flex; align-items: center; gap: 6px; padding: 8px; border-radius: 10px; background: color-mix(in srgb, var(--acc) 12%, #fff); font-size: 12px; font-weight: 700; color: var(--ink); }
.csat .ico { color: #F59E0B; font-size: 16px; }

@media (max-width: 1100px) { .cap2-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 991px) {
  .svc2-top { grid-template-columns: 1fr; }
  .svc2--flip .svc2-intro { order: 0; }
}
@media (max-width: 600px) {
  .cap2-grid { grid-template-columns: 1fr; }
  .vx-body { grid-template-columns: 1fr; justify-items: center; }
  .vx-body .health, .vx-body .feed { width: 100%; }
  .stats3 { grid-template-columns: 1fr 1fr; }
  .stats3 > div:first-child { grid-column: 1 / -1; }
  .vx-board { grid-template-columns: 1fr; }
  .vx-soft { padding-inline-end: 0; padding-block-end: 0; }
  .phone { position: relative; margin: -40px auto 0; inset: auto; }
  .tnode .ico { width: 40px; height: 40px; font-size: 20px; }
  .tnode--hq .ico { width: 52px; height: 52px; font-size: 26px; }
  .tnode small { font-size: 10px; }
  .roadmap { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .roadmap::before { display: none; }
}

/* ==========================================================================
   Leadership (About page): portraits framed in the Haar brackets
   Add a leader by copying an <article class="leader">; with three leaders the
   CEO quote card moves to its own full-width row automatically.
   ========================================================================== */
.leaders { position: relative; overflow: hidden; background: #0B0A10; }
.leaders::before, .leaders::after { content: ""; position: absolute; pointer-events: none; border-radius: 50%; }
.leaders::before { width: 70vw; height: 70vw; inset-block-start: -35vw; inset-inline-end: -25vw; background: radial-gradient(closest-side, rgba(124,58,237,.30), transparent 70%); }
.leaders::after { width: 55vw; height: 55vw; inset-block-end: -30vw; inset-inline-start: -20vw; background: radial-gradient(closest-side, rgba(236,72,153,.16), transparent 70%); }
.leaders .container { position: relative; z-index: 1; }
.leaders-head { max-width: 780px; margin-block-end: clamp(40px, 5vw, 64px); }
.leaders .kicker { color: #E9A8F5; }
.leaders .lead { color: #B9B4C7; margin-block-start: 18px; }
.leaders-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px); align-items: start; }

.leader-photo { position: relative; padding: 14px; }
.leader-photo::before, .leader-photo::after { content: ""; position: absolute; inset-block: 0; width: 24px; border: 2px solid rgba(255,255,255,.85); transition: transform .6s var(--ease), border-color .4s; }
.leader-photo::before { inset-inline-start: 0; border-inline-end: 0; }
.leader-photo::after { inset-inline-end: 0; border-inline-start: 0; }
.leader-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; transition: transform .6s var(--ease), filter .6s; filter: saturate(.94); }
.leader-abbr { position: absolute; inset: auto 14px 14px 14px; padding: 72px 20px 16px; border-radius: 0 0 4px 4px; background: linear-gradient(180deg, transparent, rgba(11,10,16,.82)); font-family: var(--font-en); font-size: clamp(52px, 5.4vw, 84px); font-weight: 700; line-height: .8; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.92); pointer-events: none; }
.leader:hover .leader-photo::before { transform: translateX(-8px); border-color: #E879F9; }
.leader:hover .leader-photo::after { transform: translateX(8px); border-color: #E879F9; }
[dir="rtl"] .leader:hover .leader-photo::before { transform: translateX(8px); }
[dir="rtl"] .leader:hover .leader-photo::after { transform: translateX(-8px); }
.leader:hover .leader-photo img { transform: translateY(-4px); filter: saturate(1.04); }

.leader-body { padding: 24px 14px 0; }
.leader-role { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; background: linear-gradient(90deg, #A78BFA, #E879F9, #F472B6); -webkit-background-clip: text; background-clip: text; color: transparent; }
[dir="rtl"] .leader-role { letter-spacing: 0; font-size: 14px; }
.leader-name { color: #fff; font-size: clamp(22px, 2vw, 27px); font-weight: 500; letter-spacing: -.01em; margin-block-start: 6px; }
.leader-bio { color: #A8A3B6; font-size: 15px; line-height: 1.7; margin-block-start: 12px; }
.leader-focus { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.leader-focus li { font-size: 12.5px; color: #E6E1F0; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.04); border-radius: 999px; padding: 6px 12px; }

.leader-quote { position: relative; align-self: stretch; display: flex; flex-direction: column; margin: 14px 0 0; padding: clamp(28px, 3vw, 40px); border-radius: 18px; border: 1px solid rgba(255,255,255,.1); background: linear-gradient(160deg, rgba(124,58,237,.38), rgba(192,38,211,.16) 48%, rgba(236,72,153,.10)), #14111C; overflow: hidden; }
.leader-quote::after { content: ""; position: absolute; inset-inline-end: -60px; inset-block-start: -60px; width: 200px; height: 200px; border-radius: 50%; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 0 0 30px rgba(255,255,255,.025), 0 0 0 60px rgba(255,255,255,.02); }
.leader-quote > .ico { align-self: flex-start; font-size: 46px; color: #E9A8F5; }
.leader-quote-mark { position: absolute; inset-inline-end: 32px; inset-block-end: 118px; width: 150px; height: 150px; color: #fff; opacity: .12; pointer-events: none; }
.leader-quote > *:not(.leader-quote-mark) { position: relative; z-index: 1; }
.leader-quote-label { margin-block-start: 18px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #E9A8F5; }
[dir="rtl"] .leader-quote-label { letter-spacing: 0; font-size: 14px; }
.leader-quote blockquote { margin: 14px 0 32px; }
.leader-quote blockquote p { color: #fff; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.55; letter-spacing: -.01em; }
.leader-quote figcaption { margin-block-start: auto; padding-block-start: 22px; border-top: 1px solid rgba(255,255,255,.14); display: flex; align-items: center; gap: 14px; }
.leader-quote figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #0B0A10, 0 0 0 4px #C026D3; }
.leader-quote figcaption b { display: block; color: #fff; font-size: 15px; font-weight: 600; }
.leader-quote figcaption span { color: #A8A3B6; font-size: 13px; }

/* three or more leaders: the quote becomes a full-width row */
.leaders-grid:has(.leader:nth-of-type(3)) .leader-quote { grid-column: 1 / -1; }
.leaders-grid:has(.leader:nth-of-type(3)) .leader-quote-mark { display: none; }

@media (max-width: 1024px) {
  .leaders-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .leader-quote { grid-column: 1 / -1; }
  .leader-quote-mark { display: none; }
}
@media (max-width: 640px) {
  .leaders-grid { grid-template-columns: 1fr; }
  .leader { max-width: 440px; }
}
@media (prefers-reduced-motion: reduce) {
  .leader-photo::before, .leader-photo::after, .leader-photo img { transition: none; }
}
