/* =====================================================================
   JE PERFORMANCE — Jamal El Ouadi · design system v2
   Brand (from programme PDFs): blue #365D9D (+ logo gradient #6A9CF0→#27457E),
   black / graphite / light greys, Bebas Neue headlines, Poppins text.
   v2: light + dark + blue section themes, Lenis smooth scroll, adaptive header.
   ===================================================================== */

:root {
  /* brand */
  --blue: #365d9d;
  --blue-2: #5b8fe6;     /* bright logo blue */
  --blue-3: #7fb0ff;     /* highlight */
  --blue-deep: #22407a;
  --navy: #0b0f1a;       /* dark surfaces lean blue-black, never pure black */
  --navy-2: #121827;
  --navy-3: #1a2236;
  --paper: #f4f5f8;      /* light surfaces */
  --paper-2: #ffffff;
  --paper-3: #e8ebf1;
  --ink: #0e1117;
  --white: #ffffff;
  --wa: #25d366;

  /* semantic (dark default; overridden per theme below) */
  --bg: var(--navy);
  --bg-2: var(--navy-2);
  --bg-3: var(--navy-3);
  --text: #eef0f4;
  --text-2: rgba(238, 240, 244, .74);
  --text-3: rgba(238, 240, 244, .50);
  --line: rgba(238, 240, 244, .10);
  --line-2: rgba(238, 240, 244, .22);
  --card: linear-gradient(180deg, #161c2c, #10151f);
  --card-line: rgba(238, 240, 244, .10);
  --card-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 20px 50px -24px rgba(0,0,0,.8);
  --glass: rgba(11, 15, 26, .72);
  --accent: var(--blue-2);
  --accent-text: var(--blue-3);

  /* type */
  --ff-display: "Bebas Neue", "Oswald", Impact, "Arial Narrow", sans-serif;
  --ff-body: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --ff-ar: "IBM Plex Sans Arabic", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --fs-display: clamp(3.9rem, 8.6vw, 8.6rem);
  --fs-h2: clamp(2.6rem, 5.4vw, 5rem);
  --fs-h3: 1.9rem;
  --fs-lede: clamp(1.05rem, 1.35vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: .9rem;
  --fs-micro: .74rem;

  /* layout */
  --space: clamp(4.5rem, 9vw, 8.5rem);
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --container: 1240px;
  --r-sm: 10px; --r-md: 18px; --r-lg: 26px;
  --header-h: 4.75rem;

  /* motion */
  --ease: cubic-bezier(.22, .72, .18, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- section themes ---------- */
.theme-light {
  --bg: var(--paper); --bg-2: var(--paper-2); --bg-3: var(--paper-3);
  --text: var(--ink); --text-2: rgba(14,17,23,.72); --text-3: rgba(14,17,23,.52);
  --line: rgba(14,17,23,.10); --line-2: rgba(14,17,23,.2);
  --card: linear-gradient(180deg, #ffffff, #fafbfd);
  --card-line: rgba(14,17,23,.08);
  --card-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 1px 2px rgba(14,17,23,.04), 0 24px 50px -28px rgba(27,47,94,.28);
  --glass: rgba(244,245,248,.78);
  --accent: var(--blue); --accent-text: var(--blue);
}
.theme-white { --bg: var(--paper-2); }
.theme-white { --bg: var(--paper-2); --bg-2: var(--paper); --bg-3: var(--paper-3); --text: var(--ink); --text-2: rgba(14,17,23,.72); --text-3: rgba(14,17,23,.52); --line: rgba(14,17,23,.10); --line-2: rgba(14,17,23,.2); --card: linear-gradient(180deg, #ffffff, #f6f7fa); --card-line: rgba(14,17,23,.08); --card-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 1px 2px rgba(14,17,23,.04), 0 24px 50px -28px rgba(27,47,94,.28); --glass: rgba(255,255,255,.8); --accent: var(--blue); --accent-text: var(--blue); }
.theme-blue {
  --bg: #2f5aa6; --bg-2: #27509a; --bg-3: #1f4284;
  --text: #ffffff; --text-2: rgba(255,255,255,.82); --text-3: rgba(255,255,255,.62);
  --line: rgba(255,255,255,.16); --line-2: rgba(255,255,255,.32);
  --card: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.07));
  --card-line: rgba(255,255,255,.22);
  --card-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 24px 50px -24px rgba(8,20,48,.6);
  --glass: rgba(47,90,166,.8);
  --accent: #ffffff; --accent-text: #dbe8ff;
}
.theme-dark { --bg: var(--navy); }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0; background: var(--navy); color: var(--text);
  font-family: var(--ff-body); font-size: var(--fs-body); line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, fieldset, blockquote { margin: 0; }
fieldset { border: 0; padding: 0; min-width: 0; } legend { padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 300; background: var(--blue); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

.section { position: relative; padding-block: var(--space); background: var(--bg); color: var(--text); }
.section + .section { border-top: 1px solid var(--line); }
.theme-blue.section { background: radial-gradient(90% 70% at 85% 0%, rgba(127,176,255,.35), transparent 60%), linear-gradient(160deg, #3764b4 0%, #2a51a0 50%, #1c3c7e 100%); }
.theme-dark.section { background: radial-gradient(70% 50% at 15% 0%, rgba(54,93,157,.25), transparent 60%), var(--navy); }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 220; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue-deep), var(--blue-3)); }

/* ---------- typography ---------- */
.display { font-family: var(--ff-display); font-size: var(--fs-display); font-weight: 400; line-height: .86; letter-spacing: .01em; text-transform: uppercase; }
.h2 { font-family: var(--ff-display); font-size: var(--fs-h2); font-weight: 400; line-height: .92; letter-spacing: .01em; text-transform: uppercase; text-wrap: balance; }
.display em, .h2 em { font-style: normal; color: var(--accent-text); }
.theme-blue .h2 em { color: #dbe8ff; }
.display em { background: linear-gradient(100deg, #9cc3ff 0%, var(--blue-2) 50%, #3e73c9 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h3 { font-family: var(--ff-display); font-size: var(--fs-h3); font-weight: 400; line-height: 1; letter-spacing: .04em; text-transform: uppercase; }
.eyebrow { font-size: var(--fs-micro); letter-spacing: .22em; text-transform: uppercase; color: var(--text-3); font-weight: 500; display: inline-flex; align-items: center; gap: .7rem; }
.eyebrow::before { content: ""; width: 1.4rem; height: .7rem; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 20'><path d='M2 2l8 8-8 8M14 2l8 8-8 8M26 2l8 8-8 8' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 20'><path d='M2 2l8 8-8 8M14 2l8 8-8 8M26 2l8 8-8 8' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat; }
[dir="rtl"] .eyebrow::before { transform: scaleX(-1); }
.lede { font-size: var(--fs-lede); line-height: 1.55; color: var(--text-2); max-width: 38ch; text-wrap: pretty; }
.sub { color: var(--text-2); font-size: var(--fs-lede); max-width: 54ch; line-height: 1.55; text-wrap: pretty; }
.section-head { display: grid; gap: 1rem; max-width: 780px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head .h2 { margin-top: .15rem; }

/* ---------- buttons ---------- */
.btn { --h: 3.3rem; position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; height: var(--h); padding-inline: 1.6rem; border-radius: 999px; font-weight: 600; font-size: .95rem; white-space: nowrap; transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .3s, color .3s, border-color .3s; }
.btn .ico { width: 1.1rem; height: 1.1rem; transition: transform .5s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
[dir="rtl"] .btn .ico { transform: scaleX(-1); } [dir="rtl"] .btn:hover .ico { transform: scaleX(-1) translateX(3px); }
.btn-sm { --h: 2.7rem; padding-inline: 1.2rem; font-size: .875rem; }
.btn-lg { --h: 3.9rem; padding-inline: 2.1rem; font-size: 1.05rem; }
.btn-primary { color: #fff; background: linear-gradient(180deg, #6a9cf0 0%, #3f6fc4 55%, #2a4d8f 100%); box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 -2px 0 rgba(0,0,0,.2) inset, 0 10px 26px -10px rgba(54,93,157,.75), 0 2px 6px rgba(0,0,0,.18); }
.btn-primary::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; background: radial-gradient(120% 120% at 50% 120%, rgba(255,255,255,.3), transparent 60%); opacity: 0; transition: opacity .4s; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 -2px 0 rgba(0,0,0,.2) inset, 0 18px 38px -12px rgba(54,93,157,.9), 0 3px 8px rgba(0,0,0,.2); }
.btn-primary:hover::after { opacity: 1; }
.btn-primary:active { transform: translateY(0) scale(.985); }
.theme-blue .btn-primary { color: var(--blue-deep); background: linear-gradient(180deg, #ffffff, #e6eefc); box-shadow: 0 1px 0 #fff inset, 0 14px 30px -12px rgba(8,20,48,.6); }
.btn-secondary { color: var(--text); background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.04)); border: 1px solid var(--line-2); box-shadow: 0 1px 0 rgba(255,255,255,.08) inset; }
.btn-secondary:hover { transform: translateY(-2px); border-color: var(--text-3); }
.theme-light .btn-secondary, .theme-white .btn-secondary { background: #fff; border-color: rgba(14,17,23,.14); box-shadow: 0 1px 2px rgba(14,17,23,.05), 0 10px 24px -14px rgba(27,47,94,.3); }
.btn-ghost { color: var(--text-2); padding-inline: .5rem; }
.btn-ghost::before { content: ""; position: absolute; left: .5rem; right: .5rem; bottom: .9rem; height: 1px; background: currentColor; opacity: .4; transition: opacity .3s; }
.btn-ghost:hover { color: var(--text); } .btn-ghost:hover::before { opacity: 1; }
.btn-ghost:disabled { opacity: .35; cursor: not-allowed; }
.btn-wa { color: #fff; background: linear-gradient(180deg, #3ddc74 0%, #25b956 55%, #1a9444 100%); box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 -2px 0 rgba(0,0,0,.2) inset, 0 12px 28px -10px rgba(37,211,102,.7); }
.btn-wa:hover { transform: translateY(-2px); }
.btn-wa .ico { width: 1.25rem; height: 1.25rem; }

/* ---------- icons / cards / chips ---------- */
.icon3d { width: 2.6rem; height: 2.6rem; flex: none; filter: drop-shadow(0 6px 10px rgba(0,0,0,.35)); }
.icon3d.lg { width: 3.6rem; height: 3.6rem; }
.ico { width: 1rem; height: 1rem; flex: none; }
.card { position: relative; background: var(--card); border: 1px solid var(--card-line); border-radius: var(--r-lg); box-shadow: var(--card-shadow); }
.theme-blue .card { backdrop-filter: blur(10px); }
.pill { display: inline-flex; align-items: center; height: 1.8rem; padding-inline: .8rem; border-radius: 999px; font-size: var(--fs-micro); letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: var(--text-2); border: 1px solid var(--line-2); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { font-size: var(--fs-small); padding: .45rem .95rem; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); color: var(--text-2); }

/* ---------- header ---------- */
.site-header { position: fixed; inset-inline: 0; top: 0; z-index: 200; height: var(--header-h); display: flex; align-items: center; color: #fff; transform: translateY(0); transition: transform .55s var(--ease), background-color .4s, color .4s, box-shadow .4s, border-color .4s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgba(11,15,26,.78); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-color: rgba(255,255,255,.08); }
.site-header.is-scrolled.on-light { background: rgba(255,255,255,.82); color: var(--ink); border-color: rgba(14,17,23,.08); box-shadow: 0 10px 30px -20px rgba(27,47,94,.25); }
.site-header.is-scrolled.on-blue { background: rgba(38,76,146,.85); color: #fff; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: .8rem; }
.brand-mark { width: 2.7rem; height: 3rem; display: block; filter: brightness(1.38) saturate(1.08) drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
.site-header.on-light .brand-mark { filter: none; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: grid; line-height: 1.05; }
.brand-name { font-family: var(--ff-display); font-size: 1.5rem; letter-spacing: .06em; text-transform: uppercase; }
.brand-name b { font-weight: 400; color: var(--blue-2); }
.on-light .brand-name b { color: var(--blue); }
.brand-sub { font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; opacity: .6; font-weight: 500; }
.nav ul { display: flex; gap: 1.7rem; }
.nav a { font-size: .9rem; font-weight: 500; opacity: .78; position: relative; padding-block: .3rem; transition: opacity .3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--blue-2); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav a:hover, .nav a.is-active { opacity: 1; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: .7rem; }
.lang-toggle { display: inline-flex; align-items: center; gap: .45rem; height: 2.7rem; padding-inline: .9rem; border-radius: 999px; border: 1px solid currentColor; font-size: .8rem; letter-spacing: .06em; opacity: .75; transition: opacity .3s; }
.lang-toggle:hover { opacity: 1; }
.lang-opt { opacity: .55; } .lang-opt.is-active { opacity: 1; font-weight: 600; }
.lang-sep { width: 1px; height: 1rem; background: currentColor; opacity: .4; }
.burger { display: none; width: 2.7rem; height: 2.7rem; border-radius: 999px; border: 1px solid currentColor; position: relative; opacity: .85; }
.burger span { position: absolute; left: 50%; width: 1.1rem; height: 1.5px; background: currentColor; transform: translateX(-50%); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: calc(50% - 4px); } .burger span:last-child { top: calc(50% + 3px); }
.burger[aria-expanded="true"] span:first-child { top: 50%; transform: translateX(-50%) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 50%; transform: translateX(-50%) rotate(-45deg); }
.site-header.menu-open { background: var(--navy); color: #fff; }

/* mobile menu lives OUTSIDE the header (backdrop-filter on the header would trap position:fixed) */
.mobile-menu { position: fixed; inset: 0; z-index: 190; display: none; flex-direction: column; justify-content: space-between; padding: calc(var(--header-h) + 1rem) var(--gutter) max(1.25rem, env(safe-area-inset-bottom)); overflow-y: auto; -webkit-overflow-scrolling: touch; background: linear-gradient(180deg, var(--navy) 0%, #0f1526 100%); color: #fff; opacity: 0; transform: translateY(-8px); transition: opacity .35s var(--ease), transform .45s var(--ease); }
.mobile-menu.is-open { opacity: 1; transform: none; }
.mobile-menu ul { display: grid; }
.mobile-menu li { border-bottom: 1px solid rgba(255,255,255,.08); opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.mobile-menu.is-open li { opacity: 1; transform: none; }
.mobile-menu.is-open li:nth-child(1) { transition-delay: .05s } .mobile-menu.is-open li:nth-child(2) { transition-delay: .1s } .mobile-menu.is-open li:nth-child(3) { transition-delay: .15s } .mobile-menu.is-open li:nth-child(4) { transition-delay: .2s } .mobile-menu.is-open li:nth-child(5) { transition-delay: .25s } .mobile-menu.is-open li:nth-child(6) { transition-delay: .3s }
.mobile-menu ul a { display: flex; justify-content: space-between; align-items: center; padding: clamp(.55rem, 1.6vh, 1rem) 0; font-family: var(--ff-display); font-size: clamp(1.7rem, 4.2vh, 2.3rem); letter-spacing: .05em; text-transform: uppercase; }
.mobile-menu ul a::after { content: ""; width: .6rem; height: .6rem; border-top: 2px solid var(--blue-2); border-right: 2px solid var(--blue-2); transform: rotate(45deg); opacity: .8; }
[dir="rtl"] .mobile-menu ul a::after { transform: rotate(-135deg); }
.mobile-menu .mm-cta { color: var(--blue-3); }
.mm-foot { display: flex; flex-wrap: wrap; gap: .85rem 1.25rem; align-items: center; color: rgba(255,255,255,.6); font-size: .85rem; padding-top: 1.25rem; }
.mm-foot .btn { width: 100%; justify-content: center; font-size: 1rem; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; padding-block: calc(var(--header-h) + 3rem) 2.5rem; overflow: clip; isolation: isolate; background: var(--navy); color: #fff; }
.hero-media { position: absolute; inset: -6% 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-position: 72% 10%; transform-origin: 50% 15%; transform: translateX(7%) scale(1.15); animation: heroIn 1.8s var(--ease) both; }
[dir="rtl"] .hero-media img { transform: translateX(-7%) scale(1.15); animation-name: heroInRtl; }
@keyframes heroIn { from { transform: translateX(7%) scale(1.22); opacity: .4; } to { transform: translateX(7%) scale(1.15); opacity: 1; } }
@keyframes heroInRtl { from { transform: translateX(-7%) scale(1.22); opacity: .4; } to { transform: translateX(-7%) scale(1.15); opacity: 1; } }
.hero-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  linear-gradient(90deg, rgba(11,15,26,.92) 0%, rgba(11,15,26,.78) 30%, rgba(11,15,26,.35) 55%, rgba(11,15,26,.05) 80%),
  linear-gradient(180deg, rgba(11,15,26,.5) 0%, rgba(11,15,26,0) 25%, rgba(11,15,26,0) 60%, rgba(11,15,26,.9) 100%); }
[dir="rtl"] .hero-shade { background:
  linear-gradient(270deg, rgba(11,15,26,.92) 0%, rgba(11,15,26,.78) 30%, rgba(11,15,26,.35) 55%, rgba(11,15,26,.05) 80%),
  linear-gradient(180deg, rgba(11,15,26,.5) 0%, rgba(11,15,26,0) 25%, rgba(11,15,26,0) 60%, rgba(11,15,26,.9) 100%); }
[dir="rtl"] .hero-media img { object-position: 28% 30%; }
.hero::after { content: ""; position: absolute; left: -4%; top: 16%; width: 40%; height: 44%; z-index: -1; pointer-events: none; opacity: .22; background-image: radial-gradient(circle, rgba(255,255,255,.95) 1.2px, transparent 1.7px); background-size: 14px 14px; -webkit-mask: linear-gradient(115deg, #000 0%, transparent 70%); mask: linear-gradient(115deg, #000 0%, transparent 70%); transform: skewY(-12deg); }
[dir="rtl"] .hero::after { left: auto; right: -4%; transform: skewY(12deg); -webkit-mask: linear-gradient(245deg, #000 0%, transparent 70%); mask: linear-gradient(245deg, #000 0%, transparent 70%); }
.hero-grid { display: grid; gap: 2.5rem; }
.hero-copy { display: grid; gap: 1.4rem; max-width: 760px; }
.hero-copy .display { font-size: calc(var(--fs-display) * .86); }
.hero-copy .display { margin-top: .2rem; text-shadow: 0 12px 40px rgba(0,0,0,.35); }
.hero-copy .lede { color: rgba(255,255,255,.82); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: .4rem; }
.hero-ctas .btn-ghost { color: rgba(255,255,255,.85); }
.hero-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.14); }
.hero-facts li { display: flex; align-items: center; gap: .85rem; font-size: .88rem; color: rgba(255,255,255,.82); line-height: 1.3; }
.scroll-cue { position: absolute; right: var(--gutter); bottom: 2.2rem; width: 1px; height: 3.5rem; background: rgba(255,255,255,.2); overflow: hidden; }
.scroll-cue span { position: absolute; inset: 0; background: var(--blue-2); animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
[dir="rtl"] .scroll-cue { right: auto; left: var(--gutter); }

/* ---------- marquee (brand blue band) ---------- */
.marquee { background: linear-gradient(90deg, #2d57a3, #365d9d 50%, #2d57a3); color: #fff; overflow: hidden; padding-block: .95rem; }
.marquee-track { display: flex; align-items: center; gap: 2.6rem; width: max-content; animation: marquee 26s linear infinite; will-change: transform; }
.marquee-track span { font-family: var(--ff-display); text-transform: uppercase; letter-spacing: .14em; font-size: 1.15rem; opacity: .95; }
.marquee-track i { width: 6px; height: 6px; border-radius: 50%; background: #fff; opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }
[dir="rtl"] .marquee-track { animation-direction: reverse; }

/* ---------- results / compare ---------- */
.compare-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.4vw, 2rem); }
.compare, .still { display: grid; gap: .9rem; }
.compare-frame, .still-frame { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--bg-3); border: 1px solid var(--card-line); box-shadow: var(--card-shadow); }
.compare-frame { aspect-ratio: .42; touch-action: pan-y; container-type: size; --pos: 50%; cursor: ew-resize; }
.still-frame { aspect-ratio: 1290 / 1247; }
.cmp-layer { position: absolute; inset: 0; overflow: hidden; }
.cmp-layer img { position: absolute; top: 0; height: 100%; width: auto; max-width: none; }
.cmp-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp-after  { clip-path: inset(0 0 0 var(--pos)); }
.cmp-before img { left: calc(50% - (var(--seam) * var(--R) * 100cqh) / 2); }
.cmp-after img  { left: calc(50% - ((1 + var(--seam)) * var(--R) * 100cqh) / 2); }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); box-shadow: 0 0 0 1px rgba(0,0,0,.15), 0 0 20px rgba(0,0,0,.4); }
.cmp-handle span { position: absolute; top: 50%; left: 50%; width: 3rem; height: 3rem; transform: translate(-50%, -50%); border-radius: 50%; background: linear-gradient(180deg, #fff, #e6eaf2); box-shadow: 0 1px 0 #fff inset, 0 8px 22px -6px rgba(0,0,0,.6), 0 0 0 1px rgba(0,0,0,.12); }
.cmp-handle span::before, .cmp-handle span::after { content: ""; position: absolute; top: 50%; width: 7px; height: 7px; border-top: 2px solid var(--blue); border-left: 2px solid var(--blue); }
.cmp-handle span::before { left: 33%; transform: translateY(-50%) rotate(-45deg); }
.cmp-handle span::after { right: 33%; transform: translateY(-50%) rotate(135deg); }
.cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.cmp-tag { position: absolute; top: 1rem; padding: .35rem .75rem; border-radius: 999px; font-size: var(--fs-micro); letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--ink); background: rgba(255,255,255,.9); backdrop-filter: blur(8px); pointer-events: none; }
.cmp-tag-l { left: 1rem; } .cmp-tag-r { right: 1rem; color: #fff; background: var(--blue); }
[dir="rtl"] .cmp-tag-l { left: auto; right: 1rem; } [dir="rtl"] .cmp-tag-r { right: auto; left: 1rem; }
[dir="rtl"] .compare-frame { direction: ltr; }
.still-frame img { width: 100%; height: 100%; }
figcaption { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding-inline: .25rem; }
figcaption strong { font-weight: 600; }
figcaption span { color: var(--text-3); font-size: var(--fs-small); text-align: end; }

.log { margin-top: clamp(3rem, 6vw, 5rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 2.5rem; align-items: start; }
.log-head { display: grid; gap: .75rem; align-content: start; }
.log-head .still { margin-bottom: 1rem; }
.log-head p { color: var(--text-2); font-size: var(--fs-small); max-width: 40ch; }
.log-head a { color: var(--accent-text); font-weight: 500; border-bottom: 1px solid currentColor; }
.log-card { padding: .5rem 1.75rem; }
.log-list li { display: grid; grid-template-columns: 7.5rem 1fr 1.2fr; gap: 1rem; align-items: baseline; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.log-list li:last-child { border-bottom: 0; }
.log-time { white-space: nowrap; font-family: var(--ff-display); font-size: 1.9rem; letter-spacing: .02em; line-height: 1; font-variant-numeric: tabular-nums; }
.log-list li.reveal { transform: translateX(-18px); filter: none; } [dir="rtl"] .log-list li.reveal { transform: translateX(18px); } .log-list li.reveal.is-in { transform: none; }
.log-time small { font-family: var(--ff-body); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-inline-start: .3rem; font-weight: 500; }
.log-res b { font-weight: 700; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.log-res small { color: var(--text-3); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; }
.log-note { color: var(--text-2); font-size: var(--fs-small); }
.results-cta { margin-top: clamp(2.5rem, 5vw, 4rem); display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; padding: 1.5rem 1.75rem; border-radius: var(--r-md); background: var(--bg-2); border: 1px solid var(--card-line); }
.results-cta p { color: var(--text-2); max-width: 48ch; }
.results-cta strong { color: var(--text); font-weight: 600; }

/* ---------- method ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.pillar { padding: 1.75rem 1.5rem 1.6rem; display: grid; gap: .9rem; align-content: start; transition: transform .6s var(--ease), border-color .4s; }
.pillar:hover { transform: translateY(-4px); border-color: var(--line-2); }
.pillar .num { position: absolute; top: 1.3rem; right: 1.4rem; font-family: var(--ff-display); font-size: 1.1rem; letter-spacing: .14em; color: var(--blue-2); }
[dir="rtl"] .pillar .num { right: auto; left: 1.4rem; }
.pillar h3 { font-family: var(--ff-display); font-size: var(--fs-h3); font-weight: 400; letter-spacing: .04em; text-transform: uppercase; margin-top: .4rem; line-height: 1; }
.pillar p { color: var(--text-2); font-size: var(--fs-small); line-height: 1.6; }
.excerpt { margin-top: clamp(3rem, 6vw, 5rem); display: grid; gap: 1.75rem; }
.excerpt-head { display: grid; gap: .6rem; max-width: 62ch; }
.excerpt-note { color: var(--text-2); font-size: var(--fs-small); }
.excerpt-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.1rem; }
.sheet { border-radius: var(--r-md); background: linear-gradient(180deg, #ffffff, #eef0f4); color: #141416; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); overflow: hidden; }
.sheet-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem; background: #0e1117; color: #fff; font-family: var(--ff-display); font-size: 1.25rem; letter-spacing: .05em; text-transform: uppercase; }
.sheet-tag { font-family: var(--ff-body); font-size: var(--fs-micro); letter-spacing: .14em; color: var(--blue-3); font-weight: 600; }
.sheet-list li { display: flex; justify-content: space-between; gap: 1.25rem; align-items: baseline; padding: .75rem 1.25rem; border-bottom: 1px dashed rgba(20,20,22,.16); font-size: var(--fs-small); }
.sheet-list li:last-child { border-bottom: 0; }
.sheet-list b { white-space: nowrap; font-weight: 600; color: var(--blue); }
.sheet-list em { font-style: normal; font-weight: 700; margin-inline-end: .4rem; }
.sheet-rules { display: flex; flex-wrap: wrap; gap: .4rem; padding: 1rem 1.25rem 1.25rem; border-top: 1px solid rgba(20,20,22,.1); }
.sheet-rules span { font-size: var(--fs-micro); letter-spacing: .04em; padding: .35rem .7rem; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 500; }

/* ---------- coaching ---------- */
.formats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.1rem; align-items: stretch; }
.formats .format { grid-column: span 2; }
.formats .format:nth-child(4) { grid-column: 2 / span 2; }
.formats .format:nth-child(5) { grid-column: 4 / span 2; }
@media (max-width: 1100px) { .formats { grid-template-columns: repeat(2, 1fr); } .formats .format, .formats .format:nth-child(4), .formats .format:nth-child(5) { grid-column: auto; } .formats .format:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 640px) { .formats { grid-template-columns: 1fr; } .formats .format:last-child:nth-child(odd) { grid-column: auto; } }
.format-tag { font-weight: 600; color: var(--text) !important; font-size: var(--fs-small); margin-top: -.3rem; }
.format.is-featured .format-tag { color: #fff !important; }
.ticks-h { font-size: var(--fs-micro); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--accent) !important; margin-top: .25rem; }
.format.is-featured .ticks-h { color: #fff !important; opacity: .85; }
[lang="ar"] .ticks-h { letter-spacing: 0; }
.format { padding: 1.9rem 1.75rem; display: flex; flex-direction: column; gap: 1rem; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.format:hover { transform: translateY(-5px); }
.format.is-featured { background: radial-gradient(120% 90% at 0% 0%, rgba(127,176,255,.35), transparent 55%), linear-gradient(160deg, #3764b4, #22407a); color: #fff; border-color: rgba(255,255,255,.2); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 30px 60px -26px rgba(34,64,122,.7); }
.format.is-featured p, .format.is-featured .ticks li { color: rgba(255,255,255,.84); }
.format.is-featured .pill { color: #fff; border-color: rgba(255,255,255,.35); }
.format.is-featured .ticks .ico { color: #fff; }
.format.is-featured .btn-secondary { background: #fff; color: var(--blue-deep); border-color: transparent; }
.format-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.format h3 { font-family: var(--ff-display); font-size: 2rem; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; margin-top: .4rem; line-height: 1; }
.format p { color: var(--text-2); font-size: var(--fs-small); line-height: 1.6; }
.ticks { display: grid; gap: .55rem; padding-block: .25rem .5rem; }
.ticks li { display: flex; gap: .6rem; align-items: flex-start; font-size: var(--fs-small); color: var(--text-2); }
.ticks .ico { color: var(--accent); margin-top: .25rem; }
.format .btn { align-self: flex-start; margin-top: auto; }
.format-note { margin-top: 1.5rem; color: var(--text-3); font-size: var(--fs-small); text-align: center; }

/* ---------- about ---------- */
.about { overflow: clip; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.about-media { position: relative; min-height: 560px; }
.photo { overflow: hidden; border-radius: var(--r-lg); box-shadow: 0 40px 80px -40px rgba(27,47,94,.45); background: var(--bg-3); }
.photo-main { width: 76%; aspect-ratio: 3 / 4; }
.photo-main img { width: 100%; height: 100%; }
.photo-float { position: absolute; right: 0; bottom: -3rem; width: 36%; aspect-ratio: 3 / 4; outline: 10px solid var(--bg); }
[dir="rtl"] .photo-float { right: auto; left: 0; }
.photo-float img { width: 100%; height: 100%; }
.about-copy { display: grid; gap: 1.25rem; }
.about-copy > p { color: var(--text-2); font-size: 1.05rem; line-height: 1.7; max-width: 56ch; }
.quote { position: relative; padding: 1.5rem 1.5rem 1.5rem 1.75rem; border-inline-start: 3px solid var(--blue); background: var(--bg-2); border-radius: 0 var(--r-md) var(--r-md) 0; margin-block: .5rem; }
[dir="rtl"] .quote { border-radius: var(--r-md) 0 0 var(--r-md); }
.quote p { font-weight: 300; font-size: clamp(1.02rem, 1.3vw, 1.2rem); line-height: 1.6; color: var(--text); }
.quote cite { display: block; margin-top: .9rem; font-style: normal; font-size: var(--fs-small); color: var(--text-3); }
.quote cite a { color: var(--accent-text); border-bottom: 1px solid currentColor; }
.strip { width: min(100% - 2 * var(--gutter), var(--container)); margin: var(--space) auto 0; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.strip-track { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.strip-item { position: relative; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 4 / 5; }
.strip-item img { object-position: 50% 35%; }
.strip-item { background: var(--bg-3); box-shadow: 0 20px 40px -24px rgba(27,47,94,.35); }
.strip-item img { width: 100%; height: 100%; transition: transform 1.2s var(--ease); }
.strip-item:hover img { transform: scale(1.05); }
.strip-item figcaption { position: absolute; inset-inline: 0; bottom: 0; padding: 2.5rem 1rem 1rem; font-size: var(--fs-small); color: #fff; background: linear-gradient(180deg, transparent, rgba(11,15,26,.85)); }

/* ---------- testimonials (blue) ---------- */
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.t-card { padding: 1.9rem 1.75rem 1.6rem; display: flex; flex-direction: column; gap: 1rem; transition: transform .6s var(--ease); }
.t-card:hover { transform: translateY(-4px); }
.t-mark { width: 2.2rem; height: 1.6rem; color: #dbe8ff; }
.t-card h3 { font-family: var(--ff-display); font-size: var(--fs-h3); letter-spacing: .04em; text-transform: uppercase; line-height: 1; }
.t-card blockquote p { color: var(--text-2); font-size: .98rem; line-height: 1.7; font-weight: 300; }
.t-card footer { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); display: flex; align-items: center; gap: .75rem; }
.t-avatar { width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; font-family: var(--ff-display); font-size: 1.05rem; letter-spacing: .05em; color: var(--blue-deep); background: linear-gradient(145deg, #ffffff, #d7e3fb); box-shadow: 0 6px 14px -6px rgba(0,0,0,.4); }
.t-name { display: grid; line-height: 1.2; } .t-name b { font-weight: 600; font-size: .95rem; } .t-name span { font-size: var(--fs-micro); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.t-note { margin-top: 1.5rem; color: var(--text-3); font-size: var(--fs-small); }

/* ---------- apply ---------- */
.apply-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.apply-intro { display: grid; gap: 1.25rem; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.apply-intro > p { color: var(--text-2); font-size: 1.05rem; line-height: 1.7; max-width: 48ch; }
.steps { display: grid; gap: .75rem; margin-top: .5rem; }
.steps li { display: grid; grid-template-columns: 2.6rem 1fr; gap: 1rem; align-items: start; padding: 1rem 1.1rem; border-radius: var(--r-md); background: var(--bg-2); border: 1px solid var(--card-line); }
.steps .n { width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; font-family: var(--ff-display); font-size: 1.25rem; color: #fff; background: linear-gradient(145deg, #5b8fe6, #22407a); box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 8px 16px -8px rgba(34,64,122,.7); }
.steps b { display: block; font-weight: 600; }
.steps span:not(.n) { color: var(--text-2); font-size: var(--fs-small); line-height: 1.5; }
.qform { padding: clamp(1.5rem, 3vw, 2.5rem); display: grid; gap: 1.5rem; overflow: hidden; }
.qform-progress { height: 4px; border-radius: 4px; background: var(--bg-3); overflow: hidden; }
.qform-progress span { display: block; height: 100%; width: 16.6%; background: linear-gradient(90deg, var(--blue-deep), var(--blue-2)); transition: width .6s var(--ease); }
.qform-step-label { font-size: var(--fs-micro); letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); margin-top: -.75rem; font-weight: 500; }
.qform-step-label b { color: var(--text); }
.qstep { display: none; gap: 1rem; animation: stepIn .55s var(--ease) both; }
.qstep.is-active { display: grid; }
@keyframes stepIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.qstep legend { font-size: clamp(1.2rem, 1.8vw, 1.45rem); font-weight: 600; line-height: 1.3; margin-bottom: 1rem; text-wrap: balance; }
.qhint { color: var(--text-3); font-size: var(--fs-small); } .qhint.small { font-size: var(--fs-micro); }
.opts { display: grid; gap: .6rem; } .opts-row { grid-template-columns: repeat(3, 1fr); }
.opt { position: relative; display: flex; align-items: center; gap: .85rem; padding: 1rem 1.1rem; border-radius: var(--r-md); border: 1px solid var(--card-line); background: var(--bg); cursor: pointer; transition: border-color .3s, background .3s, transform .4s var(--ease), box-shadow .4s; }
.opt:hover { border-color: var(--line-2); transform: translateY(-1px); }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt span { font-size: .97rem; line-height: 1.35; }
.opt::before { content: ""; width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 1.5px solid var(--line-2); flex: none; transition: all .3s; background: var(--bg-2); }
.opt:has(input:checked) { border-color: var(--blue-2); background: rgba(91,143,230,.1); box-shadow: 0 0 0 3px rgba(91,143,230,.15); }
.opt:has(input:checked)::before { border-color: var(--blue); background: radial-gradient(circle, #fff 0 30%, var(--blue) 32% 100%); }
.opt:has(input:focus-visible) { outline: 2px solid var(--blue-2); outline-offset: 2px; }
.opts-row .opt { justify-content: center; } .opts-row .opt::before { display: none; }
.opts-row .opt span { font-family: var(--ff-display); font-size: 1.7rem; letter-spacing: .04em; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.field { display: grid; gap: .4rem; } .field-full { grid-column: 1 / -1; }
.field span { font-size: var(--fs-micro); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); font-weight: 500; }
.field input, .field textarea { width: 100%; font: inherit; color: var(--text); padding: .85rem 1rem; border-radius: var(--r-sm); border: 1px solid var(--card-line); background: var(--bg); transition: border-color .3s, box-shadow .3s; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--blue-2); box-shadow: 0 0 0 3px rgba(91,143,230,.18); }
.field input:user-invalid { border-color: #d9534f; }
.field textarea { resize: vertical; min-height: 5.5rem; }
.qnav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: .5rem; border-top: 1px solid var(--line); }
.qerror { color: #c43c38; font-size: var(--fs-small); }
.qoutcome { display: grid; gap: 1rem; justify-items: start; animation: stepIn .55s var(--ease) both; }
.qoutcome h3 { font-family: var(--ff-display); font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 400; letter-spacing: .03em; text-transform: uppercase; line-height: 1; }
.qoutcome p { color: var(--text-2); max-width: 50ch; }
.fallback { display: grid; gap: .8rem; width: 100%; }
.fallback pre { white-space: pre-wrap; font: .85rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--text-2); background: var(--bg); border: 1px solid var(--card-line); border-radius: var(--r-sm); padding: 1rem; max-height: 14rem; overflow: auto; direction: ltr; text-align: left; }
.fallback-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq-grid .section-head { margin-bottom: 0; }
.acc details { border-bottom: 1px solid var(--line); }
.acc details:first-child { border-top: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.35rem 0; font-size: 1.05rem; font-weight: 500; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; flex: none; width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 1px solid var(--line-2); background: linear-gradient(var(--text), var(--text)) center / 10px 1.5px no-repeat, linear-gradient(var(--text), var(--text)) center / 1.5px 10px no-repeat; transition: transform .5s var(--ease); }
.acc details[open] summary::after { transform: rotate(135deg); }
.acc p { color: var(--text-2); padding-bottom: 1.4rem; max-width: 60ch; margin-top: -.3rem; line-height: 1.7; }

/* ---------- cta band ---------- */
.cta-band { position: relative; padding-block: var(--space); overflow: hidden; color: #fff; background: radial-gradient(60% 80% at 50% 120%, rgba(91,143,230,.45), transparent 65%), var(--navy); }
.cta-inner { display: grid; gap: 2rem; justify-items: center; text-align: center; }
.cta-inner .h2 { max-width: 18ch; }
.cta-inner .h2 em { color: var(--blue-3); }
.cta-sub { color: rgba(255,255,255,.7); max-width: 46ch; margin-top: -1rem; }

/* ---------- footer ---------- */
.site-footer { background: #080b14; color: #fff; padding-top: 4rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.foot-brand { display: grid; gap: 1.25rem; align-content: start; }
.foot-brand p { color: rgba(255,255,255,.55); font-size: var(--fs-small); max-width: 34ch; line-height: 1.6; }
.foot-h { font-size: var(--fs-micro); letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 1rem; font-weight: 500; }
.foot-nav, .foot-social, .foot-meta { display: grid; align-content: start; gap: .6rem; }
.foot-nav a, .foot-social a { color: rgba(255,255,255,.72); font-size: var(--fs-small); display: inline-flex; align-items: center; gap: .5rem; transition: color .3s; width: fit-content; }
.foot-nav a:hover, .foot-social a:hover { color: #fff; }
.foot-social small { color: rgba(255,255,255,.45); }
.foot-meta p { color: rgba(255,255,255,.72); font-size: var(--fs-small); line-height: 1.6; }
.foot-meta .lang-toggle { margin-top: .75rem; width: fit-content; }
.ap-free { font-weight: 600; color: var(--text); }
.foot-legal a { color: rgba(255,255,255,.6); transition: color .3s; }
.foot-legal a:hover { color: #fff; }
.foot-brand p + p { margin-top: .6rem; }
.foot-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.5rem 2rem; border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.45); font-size: var(--fs-micro); letter-spacing: .04em; }

/* ---------- sticky mobile CTA ---------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 180; display: none; padding: .75rem var(--gutter) calc(.75rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid rgba(14,17,23,.08); transform: translateY(110%); transition: transform .5s var(--ease); }
.sticky-cta.is-visible { transform: none; }
.sticky-cta .btn { width: 100%; }

/* ---------- reveal motion ---------- */
.reveal { opacity: 0; transform: translateY(34px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1.15s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0s); will-change: opacity, transform; }
.reveal.is-in { opacity: 1; transform: none; filter: blur(0); }
.reveal.is-in.is-settled { will-change: auto; }
/* the clip lives on the img, not the observed figure, so IntersectionObserver still sees the element */
.reveal-img { overflow: hidden; }
.reveal-img > img { clip-path: inset(100% 0 0 0); transform: scale(1.18); transition: clip-path 1.3s var(--ease), transform 1.7s var(--ease); transition-delay: var(--d, 0s); }
.reveal-img.reveal-img-l > img { clip-path: inset(0 100% 0 0); }
[dir="rtl"] .reveal-img.reveal-img-l > img { clip-path: inset(0 0 0 100%); }
.reveal-img.is-in > img, [dir="rtl"] .reveal-img.is-in > img { clip-path: inset(0 0 0 0); transform: none; }

/* hero intro: headline lines rise out of a mask, then the rest cascades */
.ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.ln-in { display: block; transform: translateY(112%); transition: transform 1.25s var(--ease); transition-delay: calc(.25s + var(--i, 0) * .13s); }
[lang="ar"] .ln { padding-bottom: .22em; margin-bottom: -.22em; }
html.is-loaded .ln-in { transform: none; }
html.is-loaded .ln-in.no-anim { transition: none; }
.hero-copy > .reveal, .hero-facts.reveal { transition-duration: 1.1s, 1.25s, 1s; }
.scroll-cue { transition: opacity .5s; }
.hero.is-away .scroll-cue { opacity: 0; }

/* hero image: settle in, then a very slow drift so the frame never feels frozen */
@keyframes heroDrift { from { transform: translateX(7%) scale(1.15); } to { transform: translateX(5.5%) scale(1.2); } }
html.is-loaded .hero-media img { animation: heroIn 1.8s var(--ease) both, heroDrift 22s ease-in-out 1.8s infinite alternate; }
html.is-loaded[dir="rtl"] .hero-media img { animation: heroInRtl 1.8s var(--ease) both; }

/* Mid-size desktop / landscape tablet: keep the subject in frame */
@media (min-width: 769px) and (max-width: 1180px) {
  .hero-media img, html.is-loaded .hero-media img { object-position: 58% 12%; transform: scale(1.08); animation: heroInMid 1.8s var(--ease) both, heroDriftMid 22s ease-in-out 1.8s infinite alternate; }
  [dir="rtl"] .hero-media img, html.is-loaded[dir="rtl"] .hero-media img { object-position: 42% 12%; transform: scale(1.08); animation: heroInMid 1.8s var(--ease) both, heroDriftMid 22s ease-in-out 1.8s infinite alternate; }
  @keyframes heroInMid { from { transform: scale(1.16); opacity: .4; } to { transform: scale(1.08); opacity: 1; } }
  @keyframes heroDriftMid { from { transform: scale(1.08); } to { transform: scale(1.13); } }
  .hero-shade { background:
    linear-gradient(90deg, rgba(11,15,26,.94) 0%, rgba(11,15,26,.82) 35%, rgba(11,15,26,.4) 60%, rgba(11,15,26,.08) 85%),
    linear-gradient(180deg, rgba(11,15,26,.5) 0%, rgba(11,15,26,0) 25%, rgba(11,15,26,0) 60%, rgba(11,15,26,.9) 100%); }
  [dir="rtl"] .hero-shade { background:
    linear-gradient(270deg, rgba(11,15,26,.94) 0%, rgba(11,15,26,.82) 35%, rgba(11,15,26,.4) 60%, rgba(11,15,26,.08) 85%),
    linear-gradient(180deg, rgba(11,15,26,.5) 0%, rgba(11,15,26,0) 25%, rgba(11,15,26,0) 60%, rgba(11,15,26,.9) 100%); }
}

/* ---------- Arabic ---------- */
[lang="ar"] body, [lang="ar"] { font-family: var(--ff-ar); }
[lang="ar"] .display, [lang="ar"] .h2, [lang="ar"] .h3, [lang="ar"] .log-time, [lang="ar"] .marquee-track span, [lang="ar"] .pillar h3, [lang="ar"] .format h3, [lang="ar"] .sheet-top, [lang="ar"] .qoutcome h3, [lang="ar"] .t-card h3, [lang="ar"] .opts-row .opt span, [lang="ar"] .mobile-menu ul a { font-family: var(--ff-ar); letter-spacing: 0; text-transform: none; }
[lang="ar"] .display { font-size: clamp(2.8rem, 8vw, 7rem); line-height: 1.05; font-weight: 700; }
[lang="ar"] .h2 { font-size: clamp(2rem, 4.4vw, 3.8rem); line-height: 1.2; font-weight: 700; }
[lang="ar"] .pillar h3, [lang="ar"] .format h3, [lang="ar"] .t-card h3 { font-size: 1.35rem; font-weight: 600; line-height: 1.3; }
[lang="ar"] .mobile-menu ul a { font-size: 1.7rem; font-weight: 600; }
[lang="ar"] .eyebrow, [lang="ar"] .pill, [lang="ar"] .cmp-tag, [lang="ar"] .field span, [lang="ar"] .qform-step-label, [lang="ar"] .foot-h, [lang="ar"] .brand-sub, [lang="ar"] .sheet-tag { letter-spacing: 0; }
[dir="rtl"] .nav a::after, [dir="rtl"] .btn-ghost::before { transform-origin: right; }
[dir="rtl"] .fallback pre { direction: ltr; }

/* ---------- breakpoints: 1024 / 768 / 480 ---------- */
@media (max-width: 1024px) {
  .nav { display: none; } .burger { display: inline-flex; } .nav-actions .btn { display: none; }
  .mobile-menu { display: flex; pointer-events: none; } .mobile-menu.is-open { pointer-events: auto; }
  .hero-facts { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }

  .t-grid { grid-template-columns: 1fr; }
  .about-grid, .apply-grid, .faq-grid { grid-template-columns: 1fr; }
  .about-media { min-height: 0; margin-bottom: 3.5rem; }
  .apply-intro { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .log { grid-template-columns: 1fr; }
  .excerpt-grid { grid-template-columns: 1fr; }
        .sticky-cta { display: block; }
  body { padding-bottom: 0; }
}
@media (max-width: 768px) {
  .strip-track { gap: .7rem; }
  .strip-item { aspect-ratio: 3 / 4; border-radius: var(--r-md); }
  .strip-item figcaption { padding: 2rem .8rem .8rem; font-size: .78rem; }
  /* mobile hero: photo band on top, copy below, so the figure is never hidden under the text */
  .hero { padding-top: 0; min-height: 0; align-items: start; }
  .hero-media { position: relative; inset: auto; z-index: 0; height: 68svh; min-height: 440px; max-height: 620px; margin-top: 0; transform: none !important; }
  .hero-media img, [dir="rtl"] .hero-media img, html.is-loaded .hero-media img, html.is-loaded[dir="rtl"] .hero-media img { object-position: 50% 8%; transform: none; animation: heroInM 1.4s var(--ease) both; }
  @keyframes heroInM { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
  .hero-shade, [dir="rtl"] .hero-shade { background: linear-gradient(180deg, rgba(11,15,26,.55) 0%, rgba(11,15,26,0) 22%, rgba(11,15,26,0) 55%, var(--navy) 100%); }
  .hero-shade { position: absolute; top: 0; left: 0; right: 0; height: 68svh; min-height: 440px; max-height: 620px; z-index: 1; }
  .hero-grid { position: relative; z-index: 1; margin-top: -4.5rem; padding-bottom: 2.5rem; }
  .hero::after { display: none; }
  .compare-grid { grid-template-columns: 1fr; } .compare-frame { aspect-ratio: .5; }
  .log-list li { grid-template-columns: 7.5rem 1fr; } .log-note { grid-column: 2; }
  .log-card { padding-inline: 1.25rem; }
  .pillars { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cta-inner .h2 { max-width: none; }
  .scroll-cue { display: none; }
  .results-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .brand-sub { display: none; }
  .hero-facts { grid-template-columns: 1fr; gap: 1rem; }
  .hero-ctas .btn { width: 100%; }
  .qnav { flex-direction: column-reverse; align-items: stretch; } .qnav .btn { width: 100%; }
  .photo-float { outline-width: 6px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, .reveal-img { opacity: 1; transform: none; clip-path: none; }
  .hero-media img, [dir="rtl"] .hero-media img { animation: none !important; }
  [data-parallax] { transform: none !important; }
}

/* ---------- application delivery status ---------- */
.send-status { display: inline-flex; align-items: center; gap: .6rem; font-size: .95rem; color: var(--text-2); margin: .25rem 0 .5rem; }
.send-status .dot { width: .6rem; height: .6rem; border-radius: 50%; background: var(--blue-2); animation: pulse 1s ease-in-out infinite; }
.send-status.is-sent { color: #1f7a4d; font-weight: 600; }
.send-status.is-sent .ico { width: 1.1rem; height: 1.1rem; stroke: currentColor; }
@keyframes pulse { 0%, 100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.1); } }
#sentBlock { display: grid; gap: 1rem; }
#sentBlock .btn { justify-self: start; }
[dir="rtl"] #sentBlock .btn { justify-self: end; }
.format-top { flex-wrap: wrap; row-gap: .75rem; }
.format-top .pill { white-space: nowrap; margin-inline-start: auto; }

/* ---------- desktop motion layer (v4) ---------- */
.site-header.is-hidden:not(.menu-open) { transform: translateY(-110%); }

/* card spotlight: a soft light that follows the pointer across cards */
@media (hover: hover) and (pointer: fine) {
  .card { overflow: hidden; }
  .card::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .5s var(--ease);
    background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(106,156,240,.16), transparent 60%); }
  .theme-light .card::before, .theme-white .card::before { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(54,93,157,.10), transparent 60%); }
  .card:hover::before { opacity: 1; }
  .card > * { position: relative; z-index: 1; }
  .format.card:hover, .pillar.card:hover, .t-card.card:hover { box-shadow: 0 30px 60px -28px rgba(10,20,45,.45), var(--card-shadow); }
  .format.card:hover { transform: translateY(-7px); }
  .pillar.card:hover, .t-card.card:hover { transform: translateY(-5px); }
  .strip-item { overflow: hidden; }
  .strip-item img { transition: transform 1.4s var(--ease), filter .8s var(--ease); }
  .strip-item:hover img { transform: scale(1.07); }
  .strip-item figcaption { transition: transform .6s var(--ease), opacity .6s; }
  .strip-item:hover figcaption { transform: translateY(-4px); }
  .photo img { transition: transform 1.6s var(--ease); }
  .photo:hover img { transform: scale(1.04); }
  .compare-frame { cursor: none; }
  .acc summary { transition: color .3s, padding-inline-start .4s var(--ease); }
  .acc summary:hover { padding-inline-start: .35rem; }
  .log-list li { transition: background-color .35s, transform .5s var(--ease); }
  .log-list li:hover { background: rgba(54,93,157,.05); }
}

/* button shine sweep */
.btn-primary, .btn-wa { overflow: hidden; }
.btn-primary::before, .btn-wa::before { content: ""; position: absolute; top: -40%; bottom: -40%; width: 40%; left: -60%; z-index: 0; transform: skewX(-22deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.38), transparent); transition: left .9s var(--ease); pointer-events: none; }
.btn-primary:hover::before, .btn-wa:hover::before { left: 130%; }
.btn > * { position: relative; z-index: 1; }
[data-magnetic] { transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .5s var(--ease); }


/* pointer aura + drag label (fine pointers only) */
.aura { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 1.5px solid rgba(106,156,240,.9); opacity: 0; transform: translate3d(-100px,-100px,0) scale(1); transition: opacity .4s, width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .35s, border-color .35s; mix-blend-mode: normal; display: none; }
.aura::after { content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center; font: 600 .62rem/1 var(--ff-body); letter-spacing: .14em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .3s; }
.aura.is-on { opacity: 1; }
.aura.is-link { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: rgba(106,156,240,.18); border-color: rgba(106,156,240,.6); }
.aura.is-drag { width: 74px; height: 74px; margin: -37px 0 0 -37px; background: rgba(54,93,157,.92); border-color: transparent; }
.aura.is-drag::after { opacity: 1; }
.aura.is-down { transform: translate3d(var(--ax), var(--ay), 0) scale(.85); }
@media (hover: hover) and (pointer: fine) { .aura { display: block; } }

@media (prefers-reduced-motion: reduce) {
  .ln-in { transform: none !important; transition: none !important; }
  .reveal { filter: none !important; }
  .reveal-img > img { clip-path: none !important; transform: none !important; transition: none !important; }
  .card::before, .aura, .btn-primary::before, .btn-wa::before { display: none !important; }
  .site-header.is-hidden { transform: none; }
  html.is-loaded .hero-media img { animation: none !important; }
}
