/* ==========================================================================
   ORG ERP — Modules Preview page styles
   Same design system as the company profile deck:
   white / navy #0B1F3A / ORG blue #0078F0 — Cairo (headings) + Tajawal (body)
   + Outfit (Latin & numerals). Scoped under .orgp — no conflicts with the site.
   Dark mode: activated when <html> carries the .dark class.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&family=Tajawal:wght@400;500;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,1,0&display=block');

/* ---------- tokens (light) ---------- */
.orgp {
    --o-bg: #FFFFFF;
    --o-soft: #F5F9FE;
    --o-mist: #EAF3FE;
    --o-ink: #0B1F3A;
    --o-ink2: #2E4362;
    --o-muted: #56677E;
    --o-accent: #0078F0;
    --o-deep: #0059B3;
    --o-asoft: #E3F0FE;
    --o-line: #D9E4F1;
    --o-card: #FFFFFF;
    --o-bar: #EEF3FA;
    --o-inkbg: #0B1F3A;
    --o-ghost: #E3F0FE;
    --o-inkbg-text: #FFFFFF;

    font-family: 'Outfit', 'Tajawal', 'Cairo', sans-serif;
    color: var(--o-ink);
    background: var(--o-bg);
    -webkit-font-smoothing: antialiased;
}

/* ---------- tokens (dark) ---------- */
.dark .orgp {
    --o-bg: #07111F;
    --o-soft: #0B1F3A;
    --o-mist: #0D2747;
    --o-ink: #F0F5FC;
    --o-ink2: #D3DFEE;
    --o-muted: #9DB1CC;
    --o-accent: #4DA3FF;
    --o-deep: #8CC2FF;
    --o-asoft: #10315A;
    --o-line: #1D3B60;
    --o-card: #0E2440;
    --o-bar: #0B1D36;
    --o-inkbg: #10294D;
    --o-ghost: #12315A;
    --o-inkbg-text: #EAF3FE;
}

/* ---------- base ---------- */
.orgp *,
.orgp *::before,
.orgp *::after { box-sizing: border-box; }

.orgp h1, .orgp h2, .orgp h3 {
    font-family: 'Outfit', 'Cairo', 'Tajawal', sans-serif;
    color: var(--o-ink);
    margin: 0;
}

.orgp p { margin: 0; }
.orgp ul { margin: 0; padding: 0; list-style: none; }
.orgp a { text-decoration: none; }
.orgp img { max-width: 100%; }
.orgp section { position: relative; }

/* Latin tokens / numerals inside RTL text */
.orgp .num {
    font-family: 'Outfit', 'Cairo', 'Tajawal', sans-serif;
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
}

/* Material Symbols (filled) */
.orgp .msr {
    font-family: 'Material Symbols Rounded';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    user-select: none;
    flex: none;
}

/* ---------- layout helpers ---------- */
.orgp .orgp-wrap {
    max-width: 80rem;
    margin-inline: auto;
    padding-inline: 1rem;
}
@media (min-width: 640px) { .orgp .orgp-wrap { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .orgp .orgp-wrap { padding-inline: 2rem; } }

/* section head (centered) */
.orgp .shead { text-align: center; max-width: 44rem; margin-inline: auto; }
.orgp .shead h2 { font-size: clamp(1.75rem, 3.5vw, 2.375rem); font-weight: 800; line-height: 1.3; }
.orgp .shead .ssub { margin-top: 0.75rem; font-size: 1.0625rem; font-weight: 500; color: var(--o-muted); line-height: 1.7; }
.orgp .shead .tbar { margin: 0.85rem auto 0; }

/* ---------- small components (same units as the deck) ---------- */
.orgp .tbar {
    width: 52px; height: 5px; border-radius: 3px; flex: none;
    background: linear-gradient(270deg, var(--o-accent), #00A8FF);
}

.orgp .card {
    background: var(--o-card);
    border: 1px solid var(--o-line);
    border-radius: 14px;
}
.orgp .card-soft {
    background: var(--o-soft);
    border: 1px solid var(--o-line);
    border-radius: 14px;
}
.orgp .card-ink {
    background: var(--o-inkbg);
    color: var(--o-inkbg-text);
    border-radius: 16px;
}

.orgp .ubadge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--o-inkbg); color: var(--o-inkbg-text);
    border-radius: 10px; padding: 5px 14px;
    font-size: 0.8125rem; font-weight: 600; line-height: 1.5;
}

.orgp .chip {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--o-asoft); color: var(--o-deep);
    border-radius: 999px; padding: 6px 14px;
    font-size: 0.875rem; font-weight: 600; line-height: 1.5;
    transition: background-color .15s ease, color .15s ease;
}
.orgp a.chip:hover { background: var(--o-accent); color: #FFFFFF; }

.orgp .msr-box {
    width: 3.25rem; height: 3.25rem; border-radius: 14px; flex: none;
    background: var(--o-asoft);
    display: inline-flex; align-items: center; justify-content: center;
}
.orgp .msr-box .msr { font-size: 26px; color: var(--o-deep); }

/* ---------- buttons ---------- */
.orgp .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border-radius: 999px; padding: 0.75rem 1.625rem;
    font-size: 0.9375rem; font-weight: 600; line-height: 1.5;
    cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.orgp .btn .msr { font-size: 18px; }
.orgp .btn-primary {
    background: var(--o-accent); color: #FFFFFF;
    box-shadow: 0 14px 30px -14px rgba(0, 120, 240, .55);
}
.orgp .btn-primary:hover { background: var(--o-deep); }
.orgp .btn-ghost {
    background: var(--o-card); color: var(--o-ink);
    border: 1px solid var(--o-line);
    box-shadow: 0 10px 24px -18px rgba(11, 31, 58, .35);
}
.orgp .btn-ghost:hover { border-color: var(--o-accent); color: var(--o-deep); }
.orgp .btn:focus-visible, .orgp .pill:focus-visible, .orgp .shot-btn:focus-visible {
    outline: 2px solid var(--o-accent); outline-offset: 2px;
}
[dir="rtl"] .orgp .btn .arr { transform: scaleX(-1); }

/* ---------- decorative blobs ---------- */
.orgp .blob { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.orgp .blob-blue { background: radial-gradient(circle, rgba(0, 120, 240, .10) 0%, rgba(0, 120, 240, 0) 70%); }
.orgp .blob-mist { background: radial-gradient(circle, rgba(234, 243, 254, .9) 0%, rgba(234, 243, 254, 0) 70%); }
.dark .orgp .blob-mist { background: radial-gradient(circle, rgba(24, 64, 117, .55) 0%, rgba(24, 64, 117, 0) 70%); }

/* keep content above the decorative blobs */
.orgp .orgp-wrap { position: relative; z-index: 1; }
.orgp .orgp-strip { position: relative; z-index: 1; }

/* ==========================================================================
   HERO (cover slide)
   ========================================================================== */
.orgp .orgp-hero { background: var(--o-bg); overflow: hidden; }

.orgp .orgp-hero .orgp-wrap {
    padding-top: 4rem; padding-bottom: 3.5rem;
}
@media (min-width: 1024px) {
    .orgp .orgp-hero .orgp-wrap { padding-top: 6rem; padding-bottom: 4.5rem; }
}

.orgp .orgp-hero .hgrid {
    display: grid; gap: 3rem; align-items: center;
}
@media (min-width: 1024px) {
    .orgp .orgp-hero .hgrid { grid-template-columns: 5fr 7fr; gap: 3.5rem; }
}

.orgp .orgp-hero .hbrand { text-align: center; }
@media (min-width: 1024px) { .orgp .orgp-hero .hbrand { text-align: start; } }

.orgp .orgp-hero .hlogo { width: 64px; height: auto; margin-inline: auto; }
@media (min-width: 1024px) {
    .orgp .orgp-hero .hlogo { width: 72px; margin-inline: 0; }
}

.orgp .orgp-hero .hmark {
    font-family: 'Outfit', 'Cairo', sans-serif;
    font-weight: 800; font-size: clamp(2.25rem, 4vw, 2.875rem);
    line-height: 1.1; color: var(--o-ink); margin-top: 14px; letter-spacing: .01em;
}

.orgp .orgp-hero h1 {
    margin-top: 10px;
    font-size: clamp(1.625rem, 3.2vw, 2.125rem);
    font-weight: 800; line-height: 1.45;
}

.orgp .orgp-hero .htag {
    margin-top: 12px;
    font-size: clamp(1.0625rem, 2vw, 1.25rem);
    font-weight: 500; color: var(--o-deep); line-height: 1.6;
}

.orgp .orgp-hero .hchip { margin-top: 22px; }

.orgp .orgp-hero .hbtns {
    margin-top: 30px;
    display: flex; flex-direction: column; align-items: center; gap: 12px;
}
@media (min-width: 640px) {
    .orgp .orgp-hero .hbtns { flex-direction: row; justify-content: center; }
}
@media (min-width: 1024px) {
    .orgp .orgp-hero .hbtns { justify-content: flex-start; }
}

.orgp .orgp-hero .hframe {
    aspect-ratio: 1280 / 720;
    border-radius: 16px; overflow: hidden;
    border: 1px solid var(--o-line);
    background: var(--o-soft);
    box-shadow: 0 34px 64px -30px rgba(11, 31, 58, .28);
}
.orgp .orgp-hero .hframe img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* contact strip (cover bottom bar) */
.orgp .orgp-strip {
    background: var(--o-soft);
    border-top: 1px solid var(--o-line);
    display: flex; flex-direction: column;
}
@media (min-width: 640px) { .orgp .orgp-strip { flex-direction: row; } }

.orgp .orgp-strip .ccell {
    flex: 1;
    display: flex; align-items: center; justify-content: center; gap: 12px;
    padding: 1rem 1.25rem;
}
.orgp .orgp-strip .ccell + .ccell { border-top: 1px solid var(--o-line); }
@media (min-width: 640px) {
    .orgp .orgp-strip .ccell + .ccell { border-top: none; border-inline-start: 1px solid var(--o-line); }
}
.orgp .orgp-strip .ccell .msr { font-size: 23px; color: var(--o-deep); }
.orgp .orgp-strip .ccell .cval {
    font-family: 'Outfit', 'Cairo', sans-serif;
    font-weight: 600; font-size: 1.0625rem; color: var(--o-ink);
    direction: ltr; unicode-bidi: isolate;
}

/* ==========================================================================
   INTRO (about slide)
   ========================================================================== */
.orgp .orgp-intro { background: var(--o-soft); padding-block: 4.5rem; }
@media (min-width: 1024px) { .orgp .orgp-intro { padding-block: 5.5rem; } }

.orgp .orgp-intro .ilead {
    margin-top: 1.75rem; max-width: 56rem; margin-inline: auto;
    font-size: 1.0625rem; line-height: 1.9; color: var(--o-ink2);
    text-align: center; font-weight: 400;
}
@media (min-width: 1024px) { .orgp .orgp-intro .ilead { font-size: 1.125rem; } }

.orgp .orgp-intro .igrid {
    margin-top: 3rem;
    display: grid; gap: 1.25rem; grid-template-columns: 1fr;
}
@media (min-width: 640px) { .orgp .orgp-intro .igrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .orgp .orgp-intro .igrid { grid-template-columns: repeat(4, 1fr); } }

.orgp .orgp-intro .icard {
    padding: 1.5rem;
    display: flex; flex-direction: column; gap: 12px;
}
.orgp .orgp-intro .icard h3 { font-size: 1.0625rem; font-weight: 700; }
.orgp .orgp-intro .icard p { font-size: 0.9375rem; line-height: 1.65; color: var(--o-muted); font-weight: 500; }

/* ink stats bar */
.orgp .orgp-stats {
    margin-top: 3rem;
    display: grid; grid-template-columns: 1fr;
    padding: 1.25rem 1.5rem;
}
@media (min-width: 640px) { .orgp .orgp-stats { grid-template-columns: repeat(3, 1fr); padding: 1.75rem 2rem; } }

.orgp .orgp-stats .scell {
    display: flex; align-items: center; justify-content: center; gap: 14px;
    padding: 0.875rem 0.5rem;
}
.orgp .orgp-stats .scell + .scell { border-top: 1px solid rgba(255, 255, 255, .14); }
@media (min-width: 640px) {
    .orgp .orgp-stats .scell + .scell { border-top: none; border-inline-start: 1px solid rgba(255, 255, 255, .14); }
}
.orgp .orgp-stats .snum {
    font-family: 'Outfit', 'Cairo', sans-serif;
    font-weight: 800; font-size: 2.5rem; line-height: 1;
    color: #4DA3FF; direction: ltr; unicode-bidi: isolate;
}
.orgp .orgp-stats .slab {
    font-size: 1rem; font-weight: 700; line-height: 1.45;
}

/* ==========================================================================
   PLATFORM MAP (toc slide)
   ========================================================================== */
.orgp .orgp-map { background: var(--o-bg); padding-block: 4.5rem; overflow: hidden; }
@media (min-width: 1024px) { .orgp .orgp-map { padding-block: 5.5rem; } }

.orgp .orgp-map .mgrid {
    margin-top: 3rem;
    display: grid; gap: 1.25rem; grid-template-columns: 1fr;
}
@media (min-width: 640px) { .orgp .orgp-map .mgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .orgp .orgp-map .mgrid { grid-template-columns: repeat(4, 1fr); } }

.orgp .orgp-map .gcard { padding: 1.5rem; display: flex; flex-direction: column; }

.orgp .orgp-map .ghead { display: flex; align-items: center; gap: 14px; }

.orgp .orgp-map .grange {
    display: inline-block; margin-top: 7px;
    font-family: 'Outfit', 'Cairo', sans-serif; font-weight: 700;
    font-size: 0.8125rem; line-height: 1;
    color: var(--o-deep);
    background: var(--o-bg); border: 1px solid var(--o-line);
    border-radius: 999px; padding: 5px 12px;
    direction: ltr; unicode-bidi: isolate;
}

.orgp .orgp-map .ghr { margin-top: 16px; height: 1px; background: var(--o-line); flex: none; }

.orgp .orgp-map .grow {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 0;
}
.orgp .orgp-map .grow + .grow { border-top: 1px solid var(--o-line); }

.orgp .orgp-map .nnum {
    font-family: 'Outfit', 'Cairo', sans-serif;
    font-weight: 700; font-size: 0.8125rem; line-height: 1;
    color: var(--o-deep); background: var(--o-asoft);
    padding: 4px 8px; border-radius: 7px;
    direction: ltr; unicode-bidi: isolate; flex: none;
}
.orgp .orgp-map .uname {
    font-size: 0.9375rem; font-weight: 500; color: var(--o-ink2); line-height: 1.4;
    transition: color .15s ease;
}
.orgp .orgp-map a.grow:hover .uname { color: var(--o-deep); }

/* ==========================================================================
   STICKY MODULE NAV (pills)
   ========================================================================== */
.orgp .orgp-nav {
    position: sticky; top: 4rem; z-index: 30;
    background: color-mix(in srgb, var(--o-bg) 92%, transparent);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--o-line);
    border-bottom: 1px solid var(--o-line);
}
@supports not (background: color-mix(in srgb, red 50%, blue)) {
    .orgp .orgp-nav { background: var(--o-bg); }
}

.orgp .orgp-pills {
    display: flex; gap: 8px; overflow-x: auto;
    padding-block: 12px;
    scrollbar-width: none;
}
.orgp .orgp-pills::-webkit-scrollbar { display: none; }

.orgp .pill {
    display: inline-flex; align-items: center; gap: 8px; flex: none;
    border-radius: 999px; padding: 8px 16px;
    font-size: 0.875rem; font-weight: 600; line-height: 1.4;
    border: 1px solid var(--o-line);
    background: var(--o-card); color: var(--o-muted);
    white-space: nowrap; cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.orgp .pill .msr { font-size: 18px; }
.orgp .pill:hover { border-color: var(--o-accent); color: var(--o-deep); }
.orgp .pill.active {
    background: var(--o-accent); border-color: var(--o-accent); color: #FFFFFF;
}

/* ==========================================================================
   GROUP HEADER (section divider slide)
   ========================================================================== */
.orgp .orgp-grouphead {
    background: var(--o-mist);
    padding-block: 3.5rem 3rem;
    overflow: hidden;
}
@media (min-width: 1024px) { .orgp .orgp-grouphead { padding-block: 4.5rem 3.5rem; } }

.orgp .orgp-grouphead .ginner {
    display: flex; align-items: center; gap: 1.75rem;
}

.orgp .orgp-grouphead .gnum {
    font-family: 'Outfit', 'Cairo', sans-serif;
    font-weight: 800; font-size: clamp(4.5rem, 10vw, 8rem); line-height: 1;
    color: var(--o-ghost);
    direction: ltr; unicode-bidi: isolate; flex: none;
    display: none;
}
@media (min-width: 640px) { .orgp .orgp-grouphead .gnum { display: block; } }

.orgp .orgp-grouphead .gkicker {
    font-size: 0.875rem; font-weight: 600; color: var(--o-deep);
}

.orgp .orgp-grouphead h2 {
    margin-top: 8px;
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 900; line-height: 1.3;
}

.orgp .orgp-grouphead .gdesc {
    margin-top: 14px;
    font-size: 1.0625rem; font-weight: 500; line-height: 1.7;
    color: var(--o-muted); max-width: 42rem;
}

.orgp .orgp-grouphead .gchips {
    margin-top: 22px;
    display: flex; flex-wrap: wrap; gap: 10px;
}

/* ==========================================================================
   MODULE SECTIONS (unit slides)
   ========================================================================== */
.orgp .orgp-mod { background: var(--o-bg); padding-block: 3.5rem; scroll-margin-top: 8.5rem; }
.orgp .orgp-mod.mod-soft { background: var(--o-soft); }
@media (min-width: 1024px) { .orgp .orgp-mod { padding-block: 4.5rem; } }

.orgp .orgp-mod .grid12 {
    display: grid; gap: 2.75rem; align-items: center;
}
@media (min-width: 1024px) {
    .orgp .orgp-mod .grid12 { grid-template-columns: repeat(12, 1fr); gap: 3.25rem; }
    .orgp .orgp-mod .mtext { grid-column: span 5 / span 5; order: 1; }
    .orgp .orgp-mod .mshot { grid-column: span 7 / span 7; order: 2; }
    .orgp .orgp-mod.mod-b .mtext { order: 2; }
    .orgp .orgp-mod.mod-b .mshot { order: 1; }
}

/* --- text column --- */
.orgp .orgp-mod h3 {
    margin-top: 16px;
    font-size: clamp(1.5rem, 2.5vw, 1.875rem);
    font-weight: 800; line-height: 1.35;
}

.orgp .orgp-mod .mdesc {
    margin-top: 6px;
    font-size: 1.0625rem; font-weight: 500; line-height: 1.6;
    color: var(--o-deep);
}

.orgp .orgp-mod .mintro {
    margin-top: 15px;
    font-size: 1rem; font-weight: 400; line-height: 1.85;
    color: var(--o-muted);
}

.orgp .orgp-mod .flabel {
    margin-top: 26px;
    font-family: 'Outfit', 'Cairo', 'Tajawal', sans-serif;
    font-size: 1.125rem; font-weight: 700;
}
.orgp .orgp-mod .flabel .tbar { margin-top: 9px; }

.orgp .orgp-mod .flist { margin-top: 18px; display: flex; flex-direction: column; gap: 13px; }

.orgp .orgp-mod .flist li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 0.9685rem; font-weight: 500; line-height: 1.65;
    color: var(--o-ink2);
}
.orgp .orgp-mod .flist li .msr { font-size: 21px; color: var(--o-accent); margin-top: 2px; }

/* --- screenshot column --- */
.orgp .browser-frame {
    background: var(--o-card);
    border: 1px solid var(--o-line);
    border-radius: 14px; overflow: hidden;
    box-shadow: 0 26px 50px -24px rgba(11, 31, 58, .30);
}

.orgp .browser-bar {
    height: 34px; background: var(--o-bar);
    border-bottom: 1px solid var(--o-line);
    display: flex; align-items: center; gap: 6px; padding: 0 12px; flex: none;
}
.orgp .bdot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.orgp .bdot.r { background: #F26D6D; }
.orgp .bdot.y { background: #F2C94C; }
.orgp .bdot.g { background: #6FCF97; }

.orgp .browser-url {
    flex: 1; height: 20px;
    background: var(--o-card); border: 1px solid var(--o-line); border-radius: 6px;
    margin-inline-start: 10px;
    display: flex; align-items: center; padding: 0 10px;
    color: var(--o-muted);
    font-family: 'Outfit', 'Cairo', sans-serif; font-size: 11px;
    direction: ltr; justify-content: flex-start;
}

.orgp .shot-btn {
    display: block; width: 100%; padding: 0; border: none; background: none;
    cursor: zoom-in; position: relative;
}
.orgp .shot-btn img { display: block; width: 100%; height: auto; }
.orgp .shot-hint {
    position: absolute; inset-inline-end: 12px; inset-block-end: 12px;
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--o-card); color: var(--o-ink);
    border: 1px solid var(--o-line);
    border-radius: 999px; padding: 7px 14px;
    font-size: 0.75rem; font-weight: 600;
    opacity: 0; transition: opacity .15s ease;
    box-shadow: 0 10px 24px -14px rgba(11, 31, 58, .4);
}
.orgp .shot-hint .msr { font-size: 16px; color: var(--o-deep); }
.orgp .shot-btn:hover .shot-hint,
.orgp .shot-btn:focus-visible .shot-hint { opacity: 1; }
@media (hover: none) { .orgp .shot-hint { opacity: 1; } }

/* business value row */
.orgp .orgp-mod .mvalue { margin-top: 20px; }

.orgp .orgp-mod .vhead { display: flex; align-items: center; gap: 12px; }
.orgp .orgp-mod .vhead b {
    flex: none;
    font-family: 'Outfit', 'Cairo', 'Tajawal', sans-serif;
    font-size: 1rem; font-weight: 700;
}
.orgp .orgp-mod .vhead .vline { flex: 1; height: 1px; background: var(--o-line); }

.orgp .orgp-mod .vcards {
    margin-top: 14px;
    display: grid; gap: 14px; grid-template-columns: 1fr;
}
@media (min-width: 640px) { .orgp .orgp-mod .vcards { grid-template-columns: repeat(3, 1fr); } }

.orgp .orgp-mod .vcard {
    padding: 13px 15px;
    display: flex; flex-direction: column; gap: 8px;
}
.orgp .orgp-mod .vcard .msr { font-size: 22px; color: var(--o-deep); }
.orgp .orgp-mod .vcard p {
    font-size: 0.875rem; font-weight: 500; line-height: 1.55; color: var(--o-ink2);
}

/* ==========================================================================
   WHY ORG ERP (value slide)
   ========================================================================== */
.orgp .orgp-why { background: var(--o-soft); padding-block: 4.5rem; overflow: hidden; }
@media (min-width: 1024px) { .orgp .orgp-why { padding-block: 5.5rem; } }

.orgp .orgp-why .wstats {
    margin-top: 3rem;
    display: grid; grid-template-columns: 1fr;
}
@media (min-width: 640px) { .orgp .orgp-why .wstats { grid-template-columns: repeat(3, 1fr); } }

.orgp .orgp-why .wstat { text-align: center; padding: 0.75rem 0.5rem; }
.orgp .orgp-why .wstat + .wstat { border-top: 1px solid var(--o-line); }
@media (min-width: 640px) {
    .orgp .orgp-why .wstat + .wstat { border-top: none; border-inline-start: 1px solid var(--o-line); }
}
.orgp .orgp-why .wnum {
    font-family: 'Outfit', 'Cairo', sans-serif;
    font-weight: 800; font-size: clamp(2.75rem, 5vw, 3.625rem); line-height: 1.05;
    color: var(--o-accent);
    direction: ltr; unicode-bidi: isolate;
}
.orgp .orgp-why .wlab {
    margin-top: 6px;
    font-family: 'Outfit', 'Cairo', 'Tajawal', sans-serif;
    font-size: 1.0625rem; font-weight: 700;
}

.orgp .orgp-why .wgrid {
    margin-top: 3rem;
    display: grid; gap: 1.25rem; grid-template-columns: 1fr;
}
@media (min-width: 640px) { .orgp .orgp-why .wgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .orgp .orgp-why .wgrid { grid-template-columns: repeat(3, 1fr); } }

.orgp .orgp-why .wcard { padding: 1.25rem 1.375rem; display: flex; flex-direction: column; gap: 10px; }
.orgp .orgp-why .wcard .whead { display: flex; align-items: center; gap: 12px; }
.orgp .orgp-why .wcard .msr-box { width: 44px; height: 44px; border-radius: 12px; }
.orgp .orgp-why .wcard .msr-box .msr { font-size: 23px; }
.orgp .orgp-why .wcard h3 { font-size: 1.0625rem; font-weight: 700; }
.orgp .orgp-why .wcard p { font-size: 0.9375rem; font-weight: 500; line-height: 1.65; color: var(--o-muted); }

/* ==========================================================================
   CLOSING CTA (contact slide)
   ========================================================================== */
.orgp .orgp-cta {
    background: var(--o-bg);
    padding-block: 4.5rem 5.5rem;
    overflow: hidden;
    border-bottom: 12px solid var(--o-inkbg);
}
@media (min-width: 1024px) { .orgp .orgp-cta { padding-block: 5.5rem 6.5rem; } }

.orgp .orgp-cta .cinner {
    display: flex; flex-direction: column; align-items: center; text-align: center;
}

.orgp .orgp-cta .clogo { width: 72px; height: auto; }
@media (min-width: 1024px) { .orgp .orgp-cta .clogo { width: 90px; } }

.orgp .orgp-cta .cbrand {
    font-family: 'Outfit', 'Cairo', sans-serif;
    font-weight: 800; font-size: clamp(2rem, 4vw, 2.5rem); line-height: 1.15;
    color: var(--o-ink); margin-top: 12px;
    direction: ltr; unicode-bidi: isolate;
}

.orgp .orgp-cta h2 {
    margin-top: 14px;
    font-size: clamp(1.625rem, 3.5vw, 2.5rem); font-weight: 900; line-height: 1.4;
}

.orgp .orgp-cta .ctbar { margin-top: 14px; }

.orgp .orgp-cta .cline {
    margin-top: 12px;
    font-size: 1.0625rem; font-weight: 500; line-height: 1.7; color: var(--o-muted);
}

.orgp .orgp-cta .cbtns {
    margin-top: 30px;
    display: flex; flex-direction: column; align-items: center; gap: 12px;
}
@media (min-width: 640px) { .orgp .orgp-cta .cbtns { flex-direction: row; } }

.orgp .orgp-cta .ccards {
    margin-top: 34px;
    display: grid; gap: 1.125rem; grid-template-columns: 1fr; width: 100%;
    max-width: 64rem;
}
@media (min-width: 640px) { .orgp .orgp-cta .ccards { grid-template-columns: repeat(3, 1fr); } }

.orgp .orgp-cta .ccard {
    padding: 20px 18px;
    display: flex; flex-direction: column; align-items: center; gap: 7px;
    box-shadow: 0 20px 44px -28px rgba(11, 31, 58, .32);
}
.orgp .orgp-cta .ccard .clabel {
    font-family: 'Outfit', 'Cairo', 'Tajawal', sans-serif;
    font-size: 0.9375rem; font-weight: 700; color: var(--o-muted);
}
.orgp .orgp-cta .ccard .cval {
    font-family: 'Outfit', 'Cairo', sans-serif;
    font-weight: 600; font-size: 1.1875rem; color: var(--o-ink);
    direction: ltr; unicode-bidi: isolate;
}

.orgp .orgp-cta .ctag {
    margin-top: 30px;
    font-size: 0.875rem; font-weight: 500; color: var(--o-muted);
}
.orgp .orgp-cta .ctag .num { font-weight: 700; }

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.orgp dialog.orgp-lightbox {
    margin: auto;
    max-height: 92vh; width: min(96vw, 1400px);
    border: 1px solid var(--o-line); border-radius: 16px;
    background: var(--o-card); color: var(--o-ink);
    padding: 0; overflow: visible;
    box-shadow: 0 40px 90px -30px rgba(11, 31, 58, .5);
}
.orgp dialog.orgp-lightbox::backdrop { background: rgba(7, 17, 31, .72); }
.orgp .lb-close {
    position: absolute; inset-inline-end: 12px; top: 12px; z-index: 2;
    width: 40px; height: 40px; border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--o-card); color: var(--o-ink);
    border: 1px solid var(--o-line); cursor: pointer;
    box-shadow: 0 10px 24px -14px rgba(11, 31, 58, .45);
    transition: border-color .15s ease, color .15s ease;
}
.orgp .lb-close:hover { border-color: var(--o-accent); color: var(--o-deep); }
.orgp .lb-img {
    display: block; width: 100%; max-height: 92vh;
    object-fit: contain; border-radius: 16px; background: var(--o-card);
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .orgp * { transition: none !important; }
}
