/* Espaces × Talent360 — «مساحة لنمو فريقك»
   Light theme following the Talent360 company profile and brochure: mint gradients, teal contour waves, navy headings,
   a cream highlight strip, navy stat cards and teal service blocks. Own layout (numbered sections, hero question card,
   bento services, workshop ticket). Espaces appears as its logo on a dark chip and its gold, used sparingly. */
:root {
  --ink: #0A1130;
  --navy: #0E183C;
  --navy-2: #16224D;
  --teal: #1FC9B1;
  --teal-2: #17A895;
  --teal-ink: #0F6E62;
  --mint: #E7F7F4;
  --paper: #F3FAF9;
  --mint-1: #E8F9F8;
  --mint-2: #D6EFEE;
  --mint-3: #BFDEDF;
  --cream: #FFF5CB;
  --purple: #5B2A86;
  --teal-3: #12907F;
  --sand: #F7F2E8;
  --sand-2: #E9D0AA;
  --white: #FFFFFF;
  --text: #1C2541;
  --muted: #56617A;
  --on-dark: #C8D1E6;
  --on-dark-2: #8E9AB8;
  --line: rgba(14, 24, 60, .12);
  --line-dark: rgba(255, 255, 255, .12);
  --gold: #C9971E;
  --gold-2: #F2C863;
  --esp-ink: #0B0D10;
  --warn: #FFF3C9;
  --err: #B3261E;
  --focus: #4C8DFF;
  --r: 22px;
  --r-lg: 30px;
  --shadow: 0 1px 2px rgba(10,17,48,.06), 0 24px 48px -24px rgba(10,17,48,.28);
  --gutter: 18px;
  --max: 1200px;
  --font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;
  --font-head: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;
  --ann-h: 40px;
}
html[lang="en"] { --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif; --font-head: "Unbounded", "Montserrat", system-ui, sans-serif; }
@media (min-width: 768px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-block-start: calc(84px + var(--ann-h)); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--mint-1); color: var(--text); font: 400 17px/1.75 var(--font); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
html[lang="en"] body { font-size: 16px; line-height: 1.65; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--teal-ink); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); margin: 0 0 .5em; line-height: 1.3; font-weight: 700; }
html[lang="en"] h1, html[lang="en"] h2 { font-weight: 500; letter-spacing: -.015em; line-height: 1.15; }
html[lang="en"] h3, html[lang="en"] h4 { font-family: "Montserrat", sans-serif; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; inset-inline-start: 8px; inset-block-start: -60px; background: var(--teal); color: var(--ink); padding: 10px 16px; border-radius: 10px; z-index: 300; font-weight: 700; }
.skip:focus { inset-block-start: 8px; }
.container { position: relative; z-index: 1; max-inline-size: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.hp { position: absolute !important; inset-inline-start: -9999px; inline-size: 1px; block-size: 1px; opacity: 0; }
.muted { color: var(--muted); }
.small { font-size: .93rem; }
.tiny { font-size: .8rem; line-height: 1.6; margin: 0; }
bdi { unicode-bidi: isolate; }

/* ---------- Buttons ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-block-size: 50px; padding: 12px 26px; border-radius: 16px; border: 1.5px solid transparent;
  font: 700 1rem/1.3 var(--font); text-decoration: none; cursor: pointer; text-align: center; transition: transform .18s, background .18s, box-shadow .18s, color .18s, border-color .18s; }
.btn:active { transform: translateY(1px); }
.btn-teal { background: var(--teal); color: var(--ink); box-shadow: 0 16px 30px -14px rgba(31,201,177,.75); }
.nav .btn-teal { background: var(--navy); color: #fff; box-shadow: 0 10px 22px -12px rgba(14,24,60,.55); }
.nav .btn-teal:hover { background: var(--navy-2); }
.btn-teal:hover { background: #3fd8c3; transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 16px 30px -16px rgba(14,24,60,.6); }
.btn-navy .ico-dir { color: var(--teal); }
.btn-sand { background: rgba(247,242,232,.85); color: var(--navy); border-color: rgba(14,24,60,.18); }
.btn-sand:hover { background: #fff; border-color: rgba(14,24,60,.3); transform: translateY(-2px); }
.btn-navy:hover { background: var(--navy-2); transform: translateY(-2px); }
.btn-line { background: transparent; color: var(--navy); border-color: rgba(14,24,60,.25); }
.btn-line:hover { border-color: var(--teal-2); background: var(--mint); }
.btn-ghost-dark { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.22); }
.btn-ghost-dark:hover { background: rgba(255,255,255,.12); }
.btn-gold { background: var(--gold); color: var(--esp-ink); }
.btn-gold:hover { background: #DDA92A; transform: translateY(-2px); }
.btn-lg { min-block-size: 58px; padding: 14px 30px; font-size: 1.06rem; }
.btn-sm { min-block-size: 44px; padding: 8px 18px; font-size: .93rem; }
.btn-block { inline-size: 100%; }
.btn[disabled] { opacity: .55; cursor: wait; transform: none; }
.ico-dir { flex: none; }
[dir="rtl"] .ico-dir { transform: scaleX(-1); }
.link-btn { appearance: none; background: none; border: 0; padding: 0; font: 700 .95rem var(--font); color: var(--teal-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-block-size: 44px; }

/* ---------- Top bar + header ---------- */
.topbar { position: sticky; inset-block-start: 0; z-index: 61; background: var(--esp-ink); color: #E6E9F2; font-size: .86rem; }
.topbar a { display: flex; align-items: center; justify-content: center; gap: 12px; block-size: var(--ann-h); padding-inline: var(--gutter); color: inherit; text-decoration: none; white-space: nowrap; overflow: hidden; }
.topbar .tag { display: inline-flex; align-items: center; gap: 7px; color: var(--gold-2); font-weight: 800; font-size: .78rem; letter-spacing: .02em; }
.topbar .tag::before { content: ""; inline-size: 7px; block-size: 7px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 4px rgba(242,200,99,.2); }
.topbar .t-long, .topbar .t-short { overflow: hidden; text-overflow: ellipsis; }
.topbar .t-short { display: none; }
.topbar .t-cta { color: var(--gold-2); font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.topbar .t-cta svg { inline-size: 15px; block-size: 15px; }
@media (max-width: 760px) { .topbar .t-long, .topbar .tag { display: none; } .topbar .t-short { display: inline; } }

.nav { position: sticky; inset-block-start: var(--ann-h); z-index: 60; background: rgba(255,255,255,.9); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 rgba(14,24,60,.06), 0 12px 30px -26px rgba(14,24,60,.45); }
.nav-in { display: flex; align-items: center; gap: 18px; min-block-size: 68px; }
.lockup { display: flex; align-items: center; gap: 12px; min-inline-size: 0; }
.lockup a { display: inline-flex; align-items: center; min-block-size: 44px; }
.lockup .mm img { block-size: 34px; inline-size: auto; }
.lockup .sep { inline-size: 1px; block-size: 30px; background: rgba(14,24,60,.18); }
.lockup .t360 img { block-size: 24px; inline-size: auto; }
.lockup .x { color: var(--muted); }
.esp-logo-chip { display: inline-flex; align-items: center; justify-content: center; background: var(--esp-ink); border: 1px solid rgba(242,200,99,.28); border-radius: 10px; padding: 7px 10px; }
.esp-logo-chip img { block-size: 18px; inline-size: auto; }
.esp-logo-chip.sm { padding: 5px 8px; } .esp-logo-chip.sm img { block-size: 14px; }
.esp-logo-chip.lg { padding: 14px 18px; border-radius: 16px; } .esp-logo-chip.lg img { block-size: 34px; }
.menu { display: none; margin-inline: auto; }
.menu ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.menu a { display: inline-flex; align-items: center; min-block-size: 44px; padding: 0 12px; border-radius: 10px; color: var(--navy); text-decoration: none; font-weight: 600; font-size: .94rem; }
.menu a:hover { color: var(--teal-ink); background: var(--mint-1); }
.menu a, .nav-cta { white-space: nowrap; }
@media (min-width: 1240px) { .menu { display: block; } }
.nav-actions { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
@media (min-width: 1240px) { .nav-actions { margin-inline-start: 0; } }
.icon-btn { inline-size: 44px; block-size: 44px; display: inline-grid; place-items: center; border-radius: 12px; border: 0; background: transparent; color: var(--navy); cursor: pointer; text-decoration: none; font: 800 .9rem var(--font); }
.icon-btn:hover { background: var(--mint-1); }
.lang-btn { border: 1px solid var(--line); }
html[lang="en"] .lang-btn { font-family: "IBM Plex Sans Arabic", sans-serif; font-size: 1.05rem; }
.nav-cta { display: none; }
@media (min-width: 700px) { .nav-cta { display: inline-flex; } }
.menu-btn { display: inline-grid; }
@media (min-width: 1240px) { .menu-btn { display: none; } }
@media (max-width: 420px) { .lockup .mm img { block-size: 28px; } .lockup .t360 img { block-size: 18px; } .esp-logo-chip img { block-size: 14px; } .lockup { gap: 8px; } }

.drawer { position: fixed; inset: 0; z-index: 200; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(5,9,26,.6); opacity: 0; transition: opacity .3s; }
.drawer-panel { position: absolute; inset-block: 0; inset-inline-end: 0; inline-size: min(360px, 88vw); background: var(--white); color: var(--navy); padding: 18px; display: flex; flex-direction: column; gap: 16px; transform: translateX(100%); transition: transform .3s ease; }
[dir="rtl"] .drawer-panel { transform: translateX(-100%); }
.drawer.open .drawer-scrim { opacity: 1; }
.drawer.open .drawer-panel { transform: none; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; }
.drawer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.drawer-links a { display: flex; justify-content: space-between; align-items: center; min-block-size: 52px; padding: 0 14px; border-radius: 12px; color: var(--navy); text-decoration: none; font-weight: 600; font-size: 1.05rem; }
.drawer-links a:hover { background: var(--mint-1); }
.drawer-foot { margin-block-start: auto; display: grid; gap: 10px; }
.drawer-lang { color: var(--teal-ink); text-align: center; min-block-size: 44px; display: grid; place-items: center; }
html.drawer-open { overflow: hidden; }

/* ---------- Section frame ---------- */
.sec { position: relative; padding-block: 72px; }
@media (min-width: 1024px) { .sec { padding-block: 112px; } }
.sec-white { background: var(--white); }
.sec-paper { background: linear-gradient(180deg, #FBFAF6 0%, #EFF7F5 100%); }
.sec-soft { background: linear-gradient(135deg, var(--sand) 0%, #EEF4EF 55%, #DDEFEB 100%); overflow: hidden; isolation: isolate; }
.sec-mint { background: linear-gradient(120deg, #EDFAF9 0%, #DDF1F0 45%, #CBE7E7 100%); overflow: hidden; isolation: isolate; }
.sec-night { background: radial-gradient(1200px 500px at 50% -10%, #17306B 0%, #0A1230 60%); color: var(--on-dark); }
.sec-night .sec-head h2 { color: #fff; } .sec-night .sec-head p { color: var(--on-dark); }
.sec-night .sec-head .idx { color: var(--teal); } .sec-night .sec-head .idx b { background: rgba(31,201,177,.16); color: var(--teal); }
.sec-night .stat { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); box-shadow: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.sec-night .market { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); box-shadow: none; }
.sec-night .market h3 { color: #fff; } .sec-night .market p { color: var(--on-dark); } .sec-night .market .city, .sec-night .market a { color: var(--teal); }
.sec-mint::before { content: ""; position: absolute; z-index: -1; inset-inline: -5%; inset-block-end: -40px; block-size: 300px; background: url("../img/waves-ribbon.svg") center / 100% 100% no-repeat; opacity: .55; pointer-events: none; }
.sec-dark { background: var(--ink); color: var(--on-dark); }
.sec-dark h2, .sec-dark h3, .sec-dark h4 { color: #fff; }
.grid-bg { background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px); background-size: 56px 56px; }
.sec-head { max-inline-size: 760px; margin: 0 0 48px; }
.sec-head .idx { display: flex; align-items: center; gap: 10px; margin-block-end: 14px; font: 700 .85rem/1 "Montserrat", sans-serif; letter-spacing: .08em; color: var(--teal-ink); text-transform: uppercase; }
html[lang="ar"] .sec-head .idx { font-family: var(--font); letter-spacing: 0; font-size: .95rem; }
.sec-head .idx b { font: 700 .72rem/1 "Montserrat", sans-serif; letter-spacing: .08em; padding: 5px 8px; border-radius: 999px; background: rgba(31,201,177,.16); color: var(--teal-3); }
.sec-head h2::after { content: ""; display: block; inline-size: 120px; block-size: 3px; margin-block-start: 18px; background: linear-gradient(90deg, var(--teal), var(--teal-3)); border-radius: 3px; transform-origin: 0 50%; transition: transform 1s cubic-bezier(.65,0,.35,1) .2s; }
[dir="rtl"] .sec-head h2::after { transform-origin: 100% 50%; }
html.anim .sec-head.rv h2::after { transform: scaleX(0); }
html.anim .sec-head.rv.in h2::after { transform: scaleX(1); }
.sec-dark .sec-head .idx { color: var(--teal); }
.sec-dark .sec-head .idx b { background: rgba(31,201,177,.14); color: var(--teal); }
.sec-head h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.8rem); margin-block-end: 14px; }
.sec-head p { font-size: 1.06rem; color: var(--muted); margin: 0; max-inline-size: 40em; }
.sec-dark .sec-head p { color: var(--on-dark); }
.sec-head-row { display: grid; gap: 22px; align-items: end; margin-block-end: 36px; }
.sec-head-row .sec-head { margin: 0; }
@media (min-width: 900px) { .sec-head-row { grid-template-columns: minmax(0, 1fr) auto; } }

/* ---------- Hero: drifting profile waves, glass layers in depth (follow the pointer), drawn highlight ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, #FFFFFF 0%, #F1FBFA 45%, #DDF1EF 100%); color: var(--navy); padding-block: 48px 64px; }
.hero-flow { position: absolute; z-index: -1; inset-inline: 0; inset-block-end: -20px; block-size: 360px; display: flex; inline-size: 200%; animation: drift 38s linear infinite; opacity: .75; pointer-events: none; }
.hero-flow img { inline-size: 50%; block-size: 100%; object-fit: fill; }
.hero-flow img + img { transform: scaleX(-1); }
@keyframes drift { to { transform: translateX(-50%); } }
[dir="rtl"] .hero-flow { animation-name: drift-rtl; }
@keyframes drift-rtl { to { transform: translateX(50%); } }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .hero { padding-block: 84px 110px; } .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px; padding: 5px; padding-inline-end: 16px; border-radius: 12px; background: var(--navy); color: #fff; font-size: .9rem; font-weight: 600; box-shadow: 0 14px 30px -18px rgba(14,24,60,.7); }
.hero-kicker .esp-logo-chip { border-color: rgba(242,200,99,.4); border-radius: 8px; }
.hero h1 { color: var(--navy); font-size: clamp(2.5rem, 1.4rem + 3.6vw, 4.1rem); line-height: 1.12; margin-block-end: 22px; font-weight: 700; letter-spacing: -.02em; }
html[lang="ar"] .hero h1 { line-height: 1.3; letter-spacing: 0; }
html[lang="en"] .hero h1 { font-weight: 500; font-size: clamp(2.3rem, 1.3rem + 3.4vw, 3.9rem); }
.hero h1 .hl { color: var(--teal-3); background: linear-gradient(90deg, rgba(31,201,177,.28), rgba(31,201,177,.28)) no-repeat 0 90% / 0% 24%; padding-inline: 4px; margin-inline: -4px; animation: swipe 1.1s cubic-bezier(.65,0,.35,1) .7s forwards; }
[dir="rtl"] .hero h1 .hl { background-position: 100% 90%; }
@keyframes swipe { to { background-size: 100% 24%; } }
.hero .sub { font-size: clamp(1.04rem, 1rem + .3vw, 1.18rem); color: #46526C; max-inline-size: 34em; margin-block-end: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-block-size: 44px; color: var(--navy); font-weight: 700; text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 2px; transition: background-size .35s ease; }
[dir="rtl"] .text-link { background-position: 100% 100%; }
.text-link:hover { background-size: 100% 2px; }
.text-link .ico-dir { color: var(--teal-3); transition: translate .25s; }
.text-link:hover .ico-dir { translate: 4px 0; }
[dir="rtl"] .text-link:hover .ico-dir { translate: -4px 0; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 0; list-style: none; padding: 0; margin: 30px 0 0; color: var(--muted); font-size: .92rem; font-weight: 600; }
.hero-meta li + li::before { content: ""; display: inline-block; inline-size: 4px; block-size: 4px; border-radius: 50%; background: var(--teal); margin-inline: 12px; vertical-align: middle; }

/* Glass layers in depth */
.hero-visual { perspective: 1400px; }
.stack { position: relative; inline-size: min(100%, 520px); aspect-ratio: 1 / .92; margin-inline: auto; transform-style: preserve-3d; transform: rotateX(calc(8deg + var(--py, 0) * -6deg)) rotateY(calc(-14deg + var(--px, 0) * 10deg)); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
[dir="rtl"] .stack { transform: rotateX(calc(8deg + var(--py, 0) * -6deg)) rotateY(calc(14deg + var(--px, 0) * 10deg)); }
.pane { position: absolute; border-radius: 28px; border: 1px solid rgba(255,255,255,.9); background: rgba(255,255,255,.55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 40px 80px -40px rgba(14,24,60,.45); }
.p3 { inset: 0 18% 22% 4%; transform: translateZ(-120px); background: linear-gradient(160deg, rgba(31,201,177,.35), rgba(31,201,177,.08)); }
.p2 { inset: 8% 8% 14% 12%; transform: translateZ(-60px); background: rgba(255,255,255,.4); }
.p1 { inset: 16% 0 4% 20%; transform: translateZ(0); background: rgba(255,255,255,.88); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
[dir="rtl"] .p3 { inset: 0 4% 22% 18%; } [dir="rtl"] .p2 { inset: 8% 12% 14% 8%; } [dir="rtl"] .p1 { inset: 16% 20% 4% 0; }
.p1-top { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .9rem; color: var(--navy); }
.p1-top img { inline-size: 36px; block-size: auto; }
.p1-top i { margin-inline-start: auto; inline-size: 54px; block-size: 20px; border-radius: 999px; background: #FBF1D6; border: 1px solid #EBCB7A; }
.p1-h { margin: 6px 0 0; font: 700 1.15rem var(--font-head); color: var(--navy); }
.bars { display: grid; gap: 12px; }
.bars span { display: grid; gap: 5px; }
.bars b { font-size: .8rem; color: var(--muted); font-weight: 600; }
.bars em { display: block; block-size: 10px; border-radius: 99px; background: var(--mint-1); overflow: hidden; }
.bars em i { display: block; block-size: 100%; border-radius: 99px; background: #9AB3B6; inline-size: 30%; animation: grow 7s ease-in-out infinite; }
.bars .w1 { --w: 88%; background: linear-gradient(90deg, var(--teal-2), var(--teal)); }
.bars .w2 { --w: 52%; background: #3F8A87; animation-delay: .25s; }
.bars .w3 { --w: 34%; animation-delay: .5s; }
@keyframes grow { 0%, 8% { inline-size: 6%; } 30%, 80% { inline-size: var(--w); } 100% { inline-size: 6%; } }
.p1-steps { display: grid; gap: 8px; margin-block-start: auto; }
.p1-steps i { block-size: 12px; border-radius: 6px; background: var(--mint-1); }
.p1-steps i:nth-child(1) { inline-size: 92%; } .p1-steps i:nth-child(2) { inline-size: 78%; } .p1-steps i:nth-child(3) { inline-size: 64%; }
.htag { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: rgba(255,255,255,.92); border: 1px solid rgba(14,24,60,.08); box-shadow: 0 18px 34px -20px rgba(14,24,60,.5); font-size: .82rem; font-weight: 700; color: var(--navy); white-space: nowrap; transform: translateZ(70px); animation: float 7s ease-in-out infinite; }
.htag i { inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(31,201,177,.2); }
.htag.gold { background: var(--esp-ink); color: #F4E2B3; border-color: rgba(242,200,99,.35); }
.htag.gold i { background: var(--gold-2); box-shadow: 0 0 0 4px rgba(242,200,99,.25); }
.tg1 { inset-block-start: 4%; inset-inline-end: 2%; }
.tg2 { inset-block-start: 40%; inset-inline-start: -4%; animation-delay: -2s; }
.tg3 { inset-block-end: 12%; inset-inline-start: 6%; animation-delay: -4s; }
.tg4 { inset-block-end: -2%; inset-inline-end: 8%; animation-delay: -5.5s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (max-width: 999px) { .hero-visual { max-inline-size: 440px; margin-inline: auto; inline-size: 100%; } }
@media (max-width: 700px) { .hero { padding-block: 32px 44px; } .hero-ctas .btn { inline-size: 100%; } .hero-visual { max-inline-size: 340px; } .htag { font-size: .74rem; padding: 7px 10px; } }
@media (prefers-reduced-motion: reduce) { .hero-flow, .bars em i, .htag { animation: none; } .bars em i { inline-size: var(--w); } .hero h1 .hl { animation: none; background-size: 100% 30%; } .stack { transition: none; } }

/* Scroll progress */
.progress { position: fixed; inset-block-start: 0; inset-inline: 0; block-size: 3px; z-index: 300; pointer-events: none; }
.progress i { display: block; block-size: 100%; inline-size: 100%; background: linear-gradient(90deg, var(--teal), var(--teal-3)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
[dir="rtl"] .progress i { transform-origin: 100% 50%; }

/* Pointer light on cards */
.spot { position: relative; }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0; opacity: 0; transition: opacity .3s; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(31,201,177,.18), transparent 60%); }
.spot:hover::before { opacity: 1; }
.spot > * { position: relative; z-index: 1; }
.b-card.spot::before { background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.35), transparent 60%); }

/* Hero Q1 card: the assessment starts right here */
.q1 { position: relative; background: #fff; border: 1px solid rgba(31,201,177,.4); border-radius: var(--r-lg); padding: 22px; box-shadow: 0 40px 70px -40px rgba(14,24,60,.55); }
@media (min-width: 640px) { .q1 { padding: 28px; } }
.q1::before { content: ""; position: absolute; inset-block-start: 0; inset-inline: 28px; block-size: 4px; border-radius: 0 0 4px 4px; background: var(--teal); }
.q1-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-block-end: 14px; font-size: .85rem; color: var(--muted); font-weight: 700; }
.q1-top .dots { display: flex; gap: 6px; }
.q1-top .dots i { inline-size: 26px; block-size: 4px; border-radius: 4px; background: var(--mint-2); }
.q1-top .dots i:first-child { background: var(--teal); }
.q1 h2 { color: var(--navy); font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); margin-block-end: 16px; }
.q1-opts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.q1-opts button { inline-size: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: start; min-block-size: 56px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid transparent; background: var(--mint-1); color: var(--navy); font: 700 .98rem/1.45 var(--font); cursor: pointer; transition: background .15s, border-color .15s, transform .15s, box-shadow .15s; }
.q1-opts button:hover { background: #fff; border-color: var(--teal); box-shadow: 0 12px 24px -18px rgba(14,24,60,.5); transform: translateX(-3px); }
[dir="ltr"] .q1-opts button:hover { transform: translateX(3px); }
.q1-opts button svg { flex: none; color: var(--teal-3); }
.q1-foot { margin: 14px 0 0; font-size: .85rem; color: var(--muted); }

/* ---------- Logo strip ---------- */
.logos { background: var(--mint-1); padding-block: 8px 40px; }
.logos .container > .logos-in { background: #fff; border-radius: 24px; padding: 22px 26px; box-shadow: var(--shadow); }
.logos-in { display: grid; gap: 16px; align-items: center; }
@media (min-width: 900px) { .logos-in { grid-template-columns: 220px minmax(0, 1fr); gap: 32px; } }
.logos-label { margin: 0; font-weight: 700; color: var(--navy); font-size: .98rem; line-height: 1.5; }
.logos-label span { display: block; color: var(--muted); font-weight: 500; font-size: .88rem; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 48px; inline-size: max-content; list-style: none; margin: 0; padding: 4px 0; animation: marquee 48s linear infinite; }
[dir="rtl"] .marquee-track { animation-name: marquee-rtl; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
.logo-tile { flex: none; display: flex; align-items: center; }
.logo-tile img { block-size: 40px; inline-size: auto; max-inline-size: 150px; object-fit: contain; filter: none; opacity: .92; transition: filter .2s, opacity .2s; }
.logo-tile:hover img, .logo-tile:focus img { filter: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .marquee-track { flex-wrap: wrap; inline-size: auto; justify-content: center; } .marquee-track > [aria-hidden="true"] { display: none; } }

/* ---------- Offer strip (Espaces) ---------- */
.offer { display: grid; gap: 22px; align-items: center; padding: 26px; border-radius: var(--r-lg); background: var(--navy); color: var(--on-dark); position: relative; overflow: hidden; }
.offer::after { content: ""; position: absolute; inset-block: 0; inset-inline-end: 0; inline-size: 40%; background: linear-gradient(90deg, transparent, rgba(201,151,30,.16)); pointer-events: none; }
[dir="rtl"] .offer::after { background: linear-gradient(270deg, transparent, rgba(201,151,30,.16)); }
@media (min-width: 900px) { .offer { grid-template-columns: auto minmax(0, 1fr) auto; gap: 32px; padding: 30px 36px; } }
.offer h2 { color: #fff; font-size: clamp(1.25rem, 1rem + .9vw, 1.7rem); margin: 0 0 6px; }
.offer p { margin: 0; max-inline-size: 640px; }
.offer .tag { display: inline-block; margin-block-end: 8px; font-size: .78rem; font-weight: 800; color: var(--gold-2); letter-spacing: .02em; }
.offer-big { display: flex; align-items: center; gap: 18px; position: relative; z-index: 1; }
.offer-big strong { font: 700 3.4rem/1 "Montserrat", sans-serif; color: var(--gold-2); letter-spacing: -.03em; }
html[lang="en"] .offer-big strong { font-family: "Unbounded", sans-serif; font-weight: 500; font-size: 3rem; }
@media (max-width: 899px) { .offer-big { justify-content: space-between; } }

/* ---------- Assessment shell ---------- */
.assess-shell { display: grid; gap: 0; background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
@media (min-width: 1000px) { .assess-shell { grid-template-columns: 300px minmax(0, 1fr); } }
.assess-side { background: var(--navy); color: var(--on-dark); padding: 24px; display: flex; flex-direction: column; gap: 22px; }
@media (min-width: 1000px) { .assess-side { padding: 32px 28px; } }
.stepper { display: grid; gap: 4px; }
.stepper span { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--on-dark-2); font-weight: 600; transition: background .2s, color .2s; }
.stepper span b { inline-size: 30px; block-size: 30px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(255,255,255,.25); font: 700 .85rem "Montserrat", sans-serif; flex: none; }
.stepper span.on { color: #fff; }
.stepper span.on b { background: var(--teal); border-color: var(--teal); color: var(--ink); }
@media (max-width: 999px) { .stepper { grid-template-columns: repeat(3, minmax(0, 1fr)); } .stepper span { flex-direction: column; gap: 6px; text-align: center; font-size: .82rem; padding: 6px 4px; } }
.side-paths h3 { color: #fff; font-size: 1rem; margin-block-end: 4px; }
.side-paths p { font-size: .88rem; color: var(--on-dark-2); margin-block-end: 10px; }
.side-paths ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.side-paths a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-dark); color: #fff; text-decoration: none; transition: background .15s, border-color .15s; }
.side-paths a:hover { background: rgba(31,201,177,.12); border-color: var(--teal); }
.side-paths .pi { inline-size: 36px; block-size: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(31,201,177,.14); color: var(--teal); flex: none; }
.side-paths .pi svg { inline-size: 22px; block-size: 22px; }
.side-paths b { display: block; font-size: .95rem; }
.side-paths small { display: block; color: var(--on-dark-2); font-size: .76rem; direction: ltr; text-align: start; }
@media (max-width: 999px) { .side-paths { display: none; } }
.assess-main { padding: 22px; min-inline-size: 0; }
@media (min-width: 640px) { .assess-main { padding: 36px 40px; } }
.quiz__progress { display: flex; align-items: center; gap: 14px; margin-block-end: 18px; color: var(--muted); font-weight: 700; font-size: .92rem; }
.quiz__progress .bar { flex: 1; block-size: 6px; border-radius: 6px; background: #E6ECEC; overflow: hidden; }
.quiz__progress .bar span { display: block; block-size: 100%; inline-size: 33.3%; background: var(--teal); border-radius: 6px; transition: inline-size .3s ease; }
.q { border: 0; padding: 0; margin: 0; min-inline-size: 0; }
.q legend { padding: 0; margin-block-end: 20px; font: 700 clamp(1.3rem, 1.05rem + 1vw, 1.9rem)/1.35 var(--font-head); color: var(--navy); }
html[lang="en"] .q legend { font-weight: 500; }
.opt { position: relative; display: block; margin-block-end: 10px; cursor: pointer; }
.opt input { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opt > span { display: block; position: relative; min-block-size: 62px; padding: 16px 20px; padding-inline-start: 60px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--white); transition: border-color .15s, background .15s, box-shadow .15s; }
.opt > span::before { content: ""; position: absolute; inset-inline-start: 20px; inset-block-start: 20px; inline-size: 22px; block-size: 22px; border-radius: 50%; border: 2px solid #A8B3C7; background: #fff; transition: all .15s; }
.opt b { display: block; color: var(--navy); font-weight: 700; }
.opt small { display: block; color: var(--muted); font-size: .9rem; margin-block-start: 2px; }
.opt:hover > span { border-color: var(--teal-2); box-shadow: 0 12px 24px -18px rgba(10,17,48,.45); }
.opt input:checked + span { border-color: var(--teal-2); background: var(--mint); }
.opt input:checked + span::before { border-color: var(--teal-2); background: var(--teal-2); box-shadow: inset 0 0 0 4px #fff; }
.opt input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.opt-row { display: grid; gap: 10px; }
@media (min-width: 640px) { .opt-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } .opt-row .opt { margin: 0; } .opt-row .opt > span { text-align: center; padding: 22px 14px 20px; } .opt-row .opt > span::before { position: static; display: block; margin: 0 auto 12px; } .opt-row .opt b { font-size: 1.2rem; } }
.q-err { color: var(--err); font-weight: 700; margin: 4px 0 0; }
.quiz__nav { display: flex; gap: 12px; margin-block-start: 22px; }
.quiz__nav #q-next { margin-inline-start: auto; min-inline-size: 160px; }
.q-in { animation: q-in .35s ease both; }
@keyframes q-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Result */
.result:focus { outline: none; }
.result-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; margin-block-end: 10px; }
.result-kicker { font: 700 .82rem var(--font); color: var(--teal-ink); background: var(--mint); border-radius: 999px; padding: 4px 12px; }
.result-badge { font: 800 .76rem var(--font); color: #7A5A0C; background: #FBF1D6; border: 1px solid #EBCB7A; border-radius: 999px; padding: 4px 12px; }
.result h3 { font-size: clamp(1.45rem, 1.15rem + 1.1vw, 2.1rem); margin-block-end: 10px; }
html[lang="en"] .result h3 { font-family: "Unbounded", sans-serif; font-weight: 500; line-height: 1.25; }
.result h4 { margin: 26px 0 12px; font-size: 1.08rem; }
.result__why { color: var(--muted); font-size: 1.05rem; }
.focus-card { margin: 20px 0; padding: 20px 22px; border-radius: 22px; background: radial-gradient(600px 200px at 80% -20%, #1B3570 0%, var(--navy) 60%); color: #fff; }
.focus-h { margin: 0 0 14px; font-weight: 800; color: #fff; }
.focus-h small { font-weight: 500; color: var(--on-dark-2); margin-inline-start: 6px; }
.focus-map { display: grid; gap: 12px; }
.fm-row { display: grid; grid-template-columns: minmax(110px, 10rem) minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: .93rem; }
.fm-l { color: var(--on-dark); font-weight: 600; }
.fm-bar { block-size: 12px; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden; }
.fm-bar i { display: block; block-size: 100%; inline-size: 0; border-radius: 99px; background: #4A5878; transition: inline-size .9s cubic-bezier(.2,.8,.2,1); }
.fm-0 .fm-bar i { background: linear-gradient(90deg, var(--teal-2), var(--teal)); }
.fm-1 .fm-bar i { background: #2E7C77; }
.fm-tag { font: 700 .74rem var(--font); padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--on-dark); white-space: nowrap; }
.fm-0 .fm-tag { background: var(--teal); color: var(--ink); }
.fm-0 .fm-l { color: #fff; font-weight: 800; }
@media (max-width: 480px) { .fm-row { grid-template-columns: 1fr auto; } .fm-bar { grid-column: 1 / -1; grid-row: 2; } }
.result__fit { border-inline-start: 4px solid var(--teal); background: var(--paper); padding: 14px 18px; border-radius: 12px; font-weight: 600; color: var(--navy); }
.r-steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.r-steps li { counter-increment: s; position: relative; padding: 16px 18px; padding-inline-start: 64px; border-radius: 16px; border: 1px solid var(--line); background: var(--white); }
.r-steps li::before { content: counter(s, decimal-leading-zero); position: absolute; inset-inline-start: 18px; inset-block-start: 16px; font: 700 1rem/1.75 "Montserrat", sans-serif; color: var(--teal-2); }
.result__note { background: var(--warn); padding: 14px 18px; border-radius: 12px; }
.path-chips { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.path-chips a { display: inline-flex; align-items: center; min-block-size: 44px; padding: 8px 14px; border-radius: 12px; border: 1px solid var(--line); color: var(--navy); font-weight: 700; text-decoration: none; }
.path-chips a:hover { border-color: var(--teal-2); background: var(--mint); }
.result__cta { display: grid; gap: 16px; align-items: center; margin: 22px 0 10px; padding: 22px; border-radius: 20px; background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: var(--on-dark); }
@media (min-width: 760px) { .result__cta { grid-template-columns: minmax(0, 1fr) auto; } }
.result__cta-h { margin: 0 0 4px; font-weight: 800; color: #fff; font-size: 1.1rem; }
.result__cta p { margin: 0; }
.result-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.result-tools .link-btn { margin-inline-start: auto; }
.share-msg { color: var(--teal-ink); font-weight: 700; font-size: .9rem; }
.share-msg:empty { display: none; }
.print-head { display: none; }

/* ---------- Numbers: a calm band with thin dividers ---------- */
.numbers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: #fff; border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
@media (min-width: 900px) { .numbers { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.stat { padding: 26px 18px; text-align: center; border-inline-end: 1px solid var(--line); border-block-end: 1px solid var(--line); }
@media (min-width: 900px) { .stat { border-block-end: 0; } .stat:last-child { border-inline-end: 0; } }
.stat b { display: block; font: 600 clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem)/1.1 "Montserrat", sans-serif; color: var(--navy); letter-spacing: -.02em; }
html[lang="en"] .stat b { font-family: "Unbounded", sans-serif; font-weight: 500; }
.stat span { display: block; margin-block-start: 6px; color: var(--muted); font-size: .9rem; }
.stat:nth-child(5) { grid-column: 1 / -1; }
@media (min-width: 900px) { .stat:nth-child(5) { grid-column: auto; } }

/* ---------- Flow (how it works): a timeline that fills on reveal ---------- */
.flow { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; counter-reset: f; }
.flow::before, .flow::after { content: ""; position: absolute; border-radius: 3px; }
.flow::before { background: rgba(14,24,60,.1); }
.flow::after { background: linear-gradient(90deg, var(--teal), var(--teal-3)); transition: transform 1.6s cubic-bezier(.65,0,.35,1) .2s; }
@media (min-width: 900px) {
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; padding-block-start: 64px; }
  .flow::before, .flow::after { inset-block-start: 23px; inset-inline: 24px; block-size: 3px; }
  .flow::after { transform-origin: 0 50%; }
  [dir="rtl"] .flow::after { transform-origin: 100% 50%; }
  html.anim .flow.rv::after { transform: scaleX(0); }
  html.anim .flow.rv.in::after { transform: scaleX(1); }
}
@media (max-width: 899px) {
  .flow { padding-inline-start: 64px; }
  .flow::before, .flow::after { inset-block: 6px; inset-inline-start: 23px; inline-size: 3px; }
  .flow::after { transform-origin: 50% 0; }
  html.anim .flow.rv::after { transform: scaleY(0); }
  html.anim .flow.rv.in::after { transform: scaleY(1); }
}
.flow li { position: relative; counter-increment: f; }
.flow li::before { content: counter(f); position: absolute; inset-block-start: -64px; inset-inline-start: 0; inline-size: 48px; block-size: 48px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--teal); color: var(--teal-3); font: 700 1.05rem "Montserrat", sans-serif; box-shadow: 0 10px 22px -12px rgba(14,24,60,.4); transition: background .4s, color .4s; }
@media (max-width: 899px) { .flow li::before { inset-block-start: -4px; inset-inline-start: -64px; } }
html.anim .flow.rv.in li::before { background: var(--teal); color: var(--navy); }
.flow.rv.in li:nth-child(2)::before { transition-delay: .7s; } .flow.rv.in li:nth-child(3)::before { transition-delay: 1.3s; }
.flow .n { display: none; }
.flow h3 { font-size: 1.22rem; margin: 0 0 6px; }
.flow p { color: var(--muted); margin: 0; }
.flow .chip { display: inline-block; margin-block-start: 14px; font-size: .8rem; font-weight: 700; color: var(--teal-3); background: rgba(31,201,177,.12); border-radius: 8px; padding: 4px 10px; }

/* ---------- Services bento ---------- */
.bento { display: grid; gap: 16px; }
@media (min-width: 900px) { .bento { grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; } .bento .b-main { grid-row: 1 / span 3; } }
.b-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--r-lg); text-decoration: none; overflow: hidden; transition: transform .2s, box-shadow .2s; min-block-size: 230px; isolation: isolate; }
.b-card:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(10,17,48,.6); }
.b-card .ico { inline-size: 52px; block-size: 52px; border-radius: 14px; display: grid; place-items: center; margin-block-end: 8px; }
.b-card .ico svg { inline-size: 28px; block-size: 28px; }
.b-card h3 { font-size: 1.4rem; margin: 0; color: inherit; }
.b-card p { margin: 0; max-inline-size: 30em; }
.b-card .en { font: 700 .8rem "Montserrat", sans-serif; letter-spacing: .04em; opacity: .8; direction: ltr; text-align: start; }
.b-card .go { margin-block-start: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; padding-block-start: 14px; }
.b-card .en { color: var(--purple); opacity: 1; text-transform: uppercase; }
.b-card .en::after { content: ""; display: block; inline-size: 120px; block-size: 2px; margin-block-start: 8px; background: currentColor; opacity: .55; }
.b-card h3 { color: var(--navy); }
.b-main { background: linear-gradient(160deg, #3CCDB6 0%, #1FB7A1 100%); color: var(--ink); min-block-size: 420px; }
.b-main .ico, .b-hcm .ico, .b-od .ico, .b-off .ico { background: rgba(255,255,255,.92); color: var(--teal-ink); }
.b-main p, .b-hcm p, .b-od p, .b-off p { color: #0E2A36; }
.b-main p { max-inline-size: 26em; }
.b-main::after { content: ""; position: absolute; z-index: -1; inset-block-end: -40px; inset-inline-end: -16px; inline-size: 160px; block-size: 340px; background: url("../img/puzzle.webp") center / contain no-repeat; opacity: .9; }
[dir="rtl"] .b-main::after { transform: scaleX(-1); }
@media (max-width: 899px) { .b-main { min-block-size: 300px; } .b-main::after { inline-size: 130px; block-size: 300px; opacity: .4; } }
.b-hcm { background: linear-gradient(160deg, #8ED8D0 0%, #6CC9C0 100%); color: var(--ink); }
.b-od { background: linear-gradient(160deg, #5FD0BE 0%, #45C1AE 100%); color: var(--ink); }
.b-off { background: linear-gradient(160deg, #A9E3DC 0%, #86D6CD 100%); color: var(--ink); }
.b-card .go { color: var(--navy); }

/* ---------- Markets ---------- */
.markets { display: grid; gap: 14px; }
@media (min-width: 900px) { .markets { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.market { position: relative; padding: 26px; border-radius: var(--r); border: 1px solid rgba(31,201,177,.3); background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; }
.market .city { font: 600 .8rem "Montserrat", sans-serif; letter-spacing: .1em; color: var(--teal-3); text-transform: uppercase; }
.market h3 { margin: 0; font-size: 1.35rem; }
.market p { margin: 0 0 12px; color: var(--muted); }
.market a { margin-block-start: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--teal-ink); font-weight: 700; text-decoration: none; min-block-size: 44px; }
.market a:hover { text-decoration: underline; }
.market .flag { position: absolute; inset-block-start: 22px; inset-inline-end: 22px; font-size: 1.6rem; }

/* ---------- Workshop ticket ---------- */
.ws-grid { display: grid; gap: 22px; align-items: start; }
@media (min-width: 1000px) { .ws-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; } }
.ticket { position: relative; display: grid; border-radius: var(--r-lg); background: radial-gradient(700px 260px at 90% -20%, #1B3570 0%, var(--navy) 60%); color: var(--on-dark); overflow: hidden; box-shadow: 0 30px 60px -36px rgba(14,24,60,.7); }
@media (min-width: 700px) { .ticket { grid-template-columns: minmax(0, 1fr) 210px; } }
.ticket-main { padding: 28px; }
.ticket .t-tag { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 800; color: var(--gold-2); margin-block-end: 12px; }
.ticket h3 { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); margin-block-end: 10px; }
.ticket-main > p { margin-block-end: 20px; }
.ticket .roles { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticket .roles li { display: flex; gap: 12px; align-items: flex-start; }
.ticket .roles b { color: #fff; }
.ticket .roles .tick { flex: none; inline-size: 22px; block-size: 22px; color: var(--teal); margin-block-start: 3px; }
.ticket-stub { position: relative; margin: 12px; padding: 22px; border-radius: 22px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); display: grid; gap: 16px; align-content: center; }
@media (min-width: 700px) { .ticket-stub::before, .ticket-stub::after { display: none; content: ""; position: absolute; inset-inline-start: -14px; inline-size: 26px; block-size: 26px; border-radius: 50%; background: var(--ticket-bg, var(--paper)); } .ticket-stub::before { inset-block-start: -13px; } .ticket-stub::after { inset-block-end: -13px; } }
.ticket-stub div span { display: block; font-size: .78rem; color: var(--on-dark-2); }
.ticket-stub div b { display: block; color: #fff; font-size: 1.05rem; }
.ticket-stub .gold { color: var(--gold-2); }
.ws-status { margin: 22px 0 0; padding: 12px 16px; border-radius: 12px; background: rgba(242,200,99,.12); border: 1px solid rgba(242,200,99,.3); color: #F4E2B3; font-size: .95rem; }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); border: 1px solid var(--line); }
@media (min-width: 640px) { .form-card { padding: 32px; } }
.form-card h3 { margin-block-end: 4px; font-size: 1.3rem; }
.form-card .small { margin-block-end: 18px; }
.fields { display: grid; gap: 14px; }
.field label { display: block; font-size: .86rem; font-weight: 700; margin-block-end: 6px; color: var(--navy); }
.field input, .field select { inline-size: 100%; min-block-size: 52px; padding: 10px 16px; border-radius: 14px; border: 1.5px solid #CBD3E1; background: #FBFCFB; color: var(--text); font: 500 1rem var(--font); }
.field input:focus, .field select:focus { outline: none; border-color: var(--teal-2); box-shadow: 0 0 0 4px rgba(31,201,177,.22); }
.field input[aria-invalid="true"] { border-color: var(--err); }
input[type="email"] { direction: ltr; text-align: left; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin-block: 18px; cursor: pointer; }
.consent input { inline-size: 22px; block-size: 22px; margin: 2px 0 0; flex: none; accent-color: var(--teal-2); }
.form-msg:empty { display: none; }
.form-msg { margin-block-start: 14px; padding: 12px 16px; border-radius: 12px; font-size: .95rem; }
.form-msg.is-ok { background: var(--mint); color: #0B4F46; border: 1px solid #9ADFD4; }
.form-msg.is-preview { background: var(--warn); color: #5A4300; border: 1px solid #E8D68A; }
.form-msg.is-err { background: #FCEBEA; color: var(--err); border: 1px solid #F0B7B3; }
.form-msg .btn { margin-block-start: 10px; }

/* ---------- Tools ---------- */
.tool-tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); max-inline-size: 100%; }
.tool-tabs button { appearance: none; border: 0; background: transparent; border-radius: 999px; min-block-size: 44px; padding: 8px 20px; font: 700 .95rem var(--font); color: var(--muted); cursor: pointer; white-space: nowrap; }
.tool-tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
@media (max-width: 480px) { .tool-tabs button { padding: 8px 10px; font-size: .86rem; } }
.tools-grid { display: grid; gap: 16px; margin-block-start: 26px; }
@media (min-width: 1000px) { .tools-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; } }
.guide-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.guide { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 16px; align-items: center; padding: 18px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); transition: border-color .15s, box-shadow .15s; }
@media (min-width: 640px) { .guide { grid-template-columns: auto minmax(0, 1fr) auto; } }
.guide:hover { border-color: var(--teal-2); box-shadow: 0 16px 30px -24px rgba(10,17,48,.5); }
.guide .doc { inline-size: 48px; block-size: 56px; border-radius: 8px; background: var(--mint); color: var(--teal-ink); display: grid; place-items: center; font: 700 .7rem "Montserrat", sans-serif; position: relative; overflow: hidden; }
.guide .doc::after { content: ""; position: absolute; inset-block-start: 0; inset-inline-end: 0; inline-size: 14px; block-size: 14px; background: linear-gradient(225deg, var(--white) 50%, #B9E6DE 50%); }
[dir="rtl"] .guide .doc::after { background: linear-gradient(135deg, var(--white) 50%, #B9E6DE 50%); }
.guide h3 { font-size: 1.02rem; margin: 0 0 2px; }
.guide p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.guide .meta { display: block; font-size: .78rem; font-weight: 700; color: var(--teal-ink); margin-block-end: 2px; }
@media (max-width: 639px) { .guide .btn { grid-column: 1 / -1; } }
.calc { background: radial-gradient(700px 260px at 85% -20%, #1B3570 0%, var(--navy) 60%); color: var(--on-dark); border-radius: var(--r-lg); padding: 28px; box-shadow: 0 30px 60px -36px rgba(14,24,60,.7); }
.calc .kind { font-size: .8rem; font-weight: 800; color: var(--teal); }
.calc h3 { color: #fff; font-size: 1.4rem; margin: 6px 0 4px; }
.calc > p { margin-block-end: 18px; }
.calc .field label { color: #fff; }
.calc .field input { background: #fff; font: 700 1.2rem "Montserrat", sans-serif; direction: ltr; text-align: left; }
.sc-out { margin: 18px 0 8px; display: grid; gap: 8px; }
.sc-out div { display: flex; justify-content: space-between; gap: 10px; font-size: .94rem; }
.sc-out dt { color: var(--on-dark); }
.sc-out dd { margin: 0; font: 700 .98rem "Montserrat", sans-serif; color: #fff; direction: ltr; }
.sc-out .sc-net { padding: 12px 0; border-block: 1px solid var(--line-dark); }
.sc-out .sc-net dt { color: #fff; font-weight: 800; }
.sc-out .sc-net dd { font-size: 1.4rem; color: var(--teal); }
.sc-split { display: flex; block-size: 10px; border-radius: 99px; overflow: hidden; background: rgba(255,255,255,.1); margin-block: 8px 14px; }
.sc-split span { block-size: 100%; transition: inline-size .5s ease; }
.sc-split .n { background: var(--teal); } .sc-split .i { background: var(--gold-2); } .sc-split .t { background: #FF8F7A; }
.calc .tiny { color: var(--on-dark-2); }

/* ---------- Enquiry ---------- */
.enq-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1000px) { .enq-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }
.promise { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.promise li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; color: var(--navy); }
.promise .tick { flex: none; inline-size: 22px; block-size: 22px; color: var(--teal-3); margin-block-start: 3px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 28px; }
@media (min-width: 1000px) { .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; } .faq-grid .sec-head { position: sticky; inset-block-start: calc(110px + var(--ann-h)); } }

.faq-list { display: grid; gap: 10px; }
.faq-list details { background: var(--white); border: 1px solid transparent; border-radius: 18px; box-shadow: 0 12px 24px -20px rgba(14,24,60,.5); }
.faq-list details[open] { border-color: var(--teal-2); }
.faq-list summary { list-style: none; cursor: pointer; padding: 18px 20px; min-block-size: 60px; display: flex; justify-content: space-between; align-items: center; gap: 14px; font-weight: 700; color: var(--navy); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; inline-size: 32px; block-size: 32px; border-radius: 50%; background: var(--teal); color: var(--navy); display: grid; place-items: center; font: 700 1.2rem/1 "Montserrat", sans-serif; }
.faq-list details[open] summary::after { content: "−"; background: var(--teal); color: var(--ink); }
.faq-list details > div { padding: 0 20px 18px; color: var(--muted); }
.faq-list details p { margin: 0; }

/* ---------- Footer (light) ---------- */
.footer { position: relative; overflow: hidden; background: linear-gradient(120deg, #EDFAF9 0%, #D6EFEE 60%, #C6E4E4 100%); color: var(--muted); padding-block: 64px 120px; isolation: isolate; border-block-start: 1px solid var(--line); }
@media (min-width: 768px) { .footer { padding-block-end: 40px; } }
.footer::after { display: none; content: ""; position: absolute; z-index: -1; inset-block-start: 20px; inset-inline-end: -6%; inline-size: min(30%, 380px); aspect-ratio: 1103 / 880; background: url("../img/t-shape.webp") center / contain no-repeat; opacity: .12; }
@media (max-width: 899px) { .footer::after { display: none; } }
[dir="rtl"] .footer::after { transform: scaleX(-1); }
.foot-top { display: grid; gap: 28px; padding-block-end: 32px; border-block-end: 1px solid var(--line); }
@media (min-width: 900px) { .foot-top { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot-logos { display: flex; align-items: center; gap: 14px; margin-block-end: 14px; }
.foot-logos .mm img { block-size: 52px; inline-size: auto; }
.foot-logos .t360 img { block-size: 30px; inline-size: auto; }
.foot-logos .esp-logo-chip img { block-size: 26px; }
.footer h3 { color: var(--navy); font-size: 1rem; margin-block-end: 10px; }
.footer a { color: var(--navy); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer ul a { display: inline-flex; min-block-size: 36px; align-items: center; color: var(--navy); text-decoration: none; font-weight: 600; }
.footer ul a:hover { color: var(--teal-ink); text-decoration: underline; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 22px; padding-block-start: 20px; font-size: .85rem; color: var(--muted); }

/* ---------- Sticky CTA (mobile) ---------- */
.sticky-cta { position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 70; display: flex; gap: 10px; align-items: center; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-block-start: 1px solid var(--line); box-shadow: 0 -12px 30px -20px rgba(14,24,60,.4); transform: translateY(110%); transition: transform .25s ease; }
.sticky-cta.show { transform: none; }
.sticky-cta .mini-offer { flex: none; font: 700 1rem "Montserrat", sans-serif; color: var(--esp-ink); background: var(--cream); border: 1px solid #EBCB7A; border-radius: 12px; padding: 10px 12px; }
.sticky-cta .btn { flex: 1; background: var(--navy); color: #fff; box-shadow: none; }
@media (min-width: 768px) { .sticky-cta { display: none; } }

/* ---------- Guide dialog ---------- */
.gate { border: 0; border-radius: 24px; padding: 0; inline-size: min(460px, calc(100vw - 32px)); background: var(--white); color: var(--text); box-shadow: 0 40px 90px rgba(5,9,26,.5); }
.gate::backdrop { background: rgba(5,9,26,.62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.gate form { position: relative; padding: 28px 24px 24px; }
.gate .kind { font-size: .8rem; font-weight: 800; color: var(--teal-ink); }
.gate h3 { padding-inline-end: 36px; margin: 4px 0 16px; }
.gate .field { margin-block-end: 14px; }
.gate__close { position: absolute; inset-inline-end: 10px; inset-block-start: 10px; inline-size: 44px; block-size: 44px; border: 0; border-radius: 12px; background: transparent; font-size: 1.6rem; color: var(--muted); cursor: pointer; }
.gate__close:hover { background: var(--paper); }
.seg { border: 0; padding: 0; margin: 0 0 18px; }
.seg legend { font-weight: 700; font-size: .86rem; margin-block-end: 6px; padding: 0; color: var(--navy); }
.seg label { display: inline-flex; align-items: center; gap: 8px; min-block-size: 44px; padding: 6px 16px; border: 1.5px solid var(--line); border-radius: 12px; margin-inline-end: 8px; cursor: pointer; }
.seg label:has(input:checked) { border-color: var(--teal-2); background: var(--mint); }
.seg input { accent-color: var(--teal-2); inline-size: 18px; block-size: 18px; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.anim .rv { opacity: 0; translate: 0 22px; transition: opacity .7s ease var(--d, 0ms), translate .7s cubic-bezier(.2,.8,.2,1) var(--d, 0ms); }
  html.anim .rv.in { opacity: 1; translate: 0 0; }
  .hero-copy > * { animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; } .hero-copy > :nth-child(3) { animation-delay: .16s; } .hero-copy > :nth-child(4) { animation-delay: .24s; } .hero-copy > :nth-child(5) { animation-delay: .32s; } .hero-copy > :nth-child(6) { animation-delay: .4s; }
  .q1 { animation: rise .9s cubic-bezier(.2,.8,.2,1) .3s both; }
  .hero-art { animation: art-in 1.4s cubic-bezier(.2,.8,.2,1) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes art-in { from { opacity: 0; translate: 0 40px; } }

/* ---------- Print: "Save as PDF" prints only the plan ---------- */
@media print {
  @page { margin: 14mm; }
  body { background: #fff !important; }
  .topbar, .nav, .drawer, .footer, .sticky-cta, dialog, main > *:not(#assess), #assess .sec-head, .assess-side, #quiz, .result-tools, .result__cta .btn, .result__paths { display: none !important; }
  #assess { padding: 0 !important; background: none !important; }
  .assess-shell { display: block !important; box-shadow: none !important; border: 0 !important; }
  .assess-main { padding: 0 !important; }
  .print-head { display: flex !important; align-items: center; gap: 12px; padding-block-end: 12px; margin-block-end: 16px; border-block-end: 2px solid #1FC9B1; font-weight: 700; color: #0E183C; }
  .print-head img { block-size: 28px; inline-size: auto; }
  .print-head .esp-logo-chip img { block-size: 13px; }
  .print-head > span:last-child { margin-inline-start: auto; font-size: .85rem; }
  .focus-card, .result__cta, .fm-tag, .fm-bar i, .esp-logo-chip, .result-kicker, .result-badge { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .r-steps li { break-inside: avoid; padding-block: 10px; }
  html[lang] body { font-size: 12.5px; line-height: 1.55; }
  .result__why { font-size: 1rem; margin-block-end: 6px; }
  .result h3 { font-size: 1.3rem; }
  .result h4 { margin: 14px 0 8px; }
  .focus-card { margin: 12px 0; padding: 14px 18px; }
  .result__fit { padding: 10px 14px; margin-block-end: 6px; }
  .r-steps { gap: 6px; }
  .result__cta { margin: 12px 0 0; padding: 12px 16px; break-inside: avoid; }
  .result__cta-h { font-size: .95rem; }
  .result__note { padding: 10px 14px; margin-block-end: 0; }
  @page { margin: 11mm; }
  html.anim .rv { opacity: 1 !important; translate: none !important; }
}

/* Arabic header shows both brand marks, as on the brochure; the Latin one hides on small screens */
html[lang="ar"] .lockup .t360 img { block-size: 18px; }
@media (max-width: 640px) { html[lang="ar"] .lockup .t360 { display: none; } }

/* Two-column sections keep their heading aligned to the start */
.enq-grid .sec-head { text-align: start; margin: 0; }
.enq-grid .sec-head .idx { justify-content: flex-start; }
.enq-grid .sec-head h2::after { margin-inline: 0; }
.enq-grid .sec-head p { margin: 0; }

.btn .ico-dir { transition: translate .25s ease; }
.btn:hover .ico-dir { translate: 4px 0; }
[dir="rtl"] .btn:hover .ico-dir { translate: -4px 0; }
.btn-navy::after, .btn-teal::after, .btn-gold::after { content: ""; position: absolute; inset-block: 0; inline-size: 40%; inset-inline-start: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent); transform: skewX(-20deg); transition: inset-inline-start .7s ease; pointer-events: none; }
.btn-navy:hover::after, .btn-teal:hover::after, .btn-gold:hover::after { inset-inline-start: 120%; }
.tool-tabs, .tool-tabs button { border-radius: 14px; }
.tool-tabs button { border-radius: 10px; }

/* Client logos: two strips, Egypt and international, moving in opposite directions */
.logos-in { align-items: start; }
.logo-rows { display: grid; gap: 14px; min-inline-size: 0; }
.logo-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; align-items: center; }
@media (min-width: 760px) { .logo-row { grid-template-columns: 170px minmax(0, 1fr); gap: 16px; } }
.row-tag { justify-self: start; font-size: .8rem; font-weight: 700; color: var(--teal-3); background: rgba(31,201,177,.12); border-radius: 8px; padding: 4px 10px; white-space: nowrap; }
.marquee.rev .marquee-track { animation-direction: reverse; }
.logo-row .logo-tile img { block-size: 36px; max-inline-size: 140px; }
.logo-row + .logo-row { padding-block-start: 14px; border-block-start: 1px solid var(--line); }
.logo-row img { mix-blend-mode: multiply; }

/* Team & manager tools tab: two columns on wide screens, Excel badge, tabs wrap on phones */
.guide-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.guide .doc.xls { background: #E3F4E8; color: #1D6B3A; }
.guide .doc.xls::after { background: linear-gradient(225deg, var(--white) 50%, #B7DEC4 50%); }
[dir="rtl"] .guide .doc.xls::after { background: linear-gradient(135deg, var(--white) 50%, #B7DEC4 50%); }
@media (max-width: 760px) { .tool-tabs { flex-wrap: wrap; } .tool-tabs button { flex: 1 1 auto; } }
