/* Layout: a storyboard. Each page is one or two slide layouts of the CASCO deck system
   (COVER blue, CONTENT white, ACTIVITY sand, DARK navy). One idea and one interaction per page.
   Manga panels: square corners, navy outline, hard navy shadow. Only tags, bubbles and discs are round. */
:root {
  --ground: #FFFFFF;      /* CONTENT background */
  --ground-alt: #FBF4E3;  /* ACTIVITY background (sand-100) */
  --card: #FFFFFF;
  --soft: #FBF4E3;
  --ink: #003366;         /* text, outlines, hard shadows */
  --muted: #44546B;
  --accent-text: #1236A5; /* kickers and speaker names on light grounds */
  --cover: #1236A5;       /* CASCO blue */
  --deep: #003366;        /* DARK layout */
  --navy: #003366;        /* fixed: text on gold */
  --blue: #1236A5;
  --teal: #006765;
  --gold: #D4A017;
  --sand: #F4E4C1;
  --red: #B3261E;
  --white: #FFFFFF;
  --hair: rgba(0, 51, 102, .2);
  --logo: url(logo-blue.png);
  --font: "Montserrat", "Tajawal", system-ui, "Segoe UI", Tahoma, sans-serif;
  --shadow: 4px 4px 0 var(--ink);
  --line: 1.5px solid var(--ink);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #06182F; --ground-alt: #0A2342; --card: #0E2D55; --soft: #123562;
    --ink: #F4E4C1; --muted: #B9C5D8; --accent-text: #A9C4FF; --deep: #041226;
    --hair: rgba(244, 228, 193, .25); --logo: url(logo-white.png);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ground: #06182F; --ground-alt: #0A2342; --card: #0E2D55; --soft: #123562;
  --ink: #F4E4C1; --muted: #B9C5D8; --accent-text: #A9C4FF; --deep: #041226;
  --hair: rgba(244, 228, 193, .25); --logo: url(logo-white.png);
  color-scheme: dark;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
#site { min-height: 100vh; display: flex; flex-direction: column; }
#site > main { flex: 1; }
#site[data-lang="ar"] { font-size: 17px; line-height: 1.75; }
#site[data-lang="ar"] [lang="en"], #site[data-lang="en"] [lang="ar"] { display: none; }
#site[data-lang="ar"] :is(.kicker, .tag, dt, .band, .pband, .btn, .score) { letter-spacing: 0; }
.wrap { max-width: 1120px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
section { padding-block: clamp(26px, 4vw, 52px); }
.content + .content, .activity + .activity, .dark + .dark { padding-top: 0; }
h1, h2, h3, p, ol, ul, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ol, ul { list-style: none; }
h1, h2, h3 { text-wrap: balance; font-weight: 800; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.3rem); color: var(--white); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.12rem; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
strong { font-weight: 800; }
button { font: inherit; color: inherit; }

.kicker { font-size: .78rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-text); margin-bottom: .5rem; }
.sub { color: var(--muted); max-width: 60ch; margin-top: .6rem; }
.mini { margin-top: 2.6rem; margin-bottom: 1rem; font-size: 1.05rem; }
.illus { font-size: .78rem; font-style: italic; color: var(--muted); margin-top: 1rem; text-align: end; }
.fine { font-size: .8rem; color: var(--muted); }
.tag { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: .22rem .7rem; border-radius: 999px; border: 1.5px solid var(--navy); background: var(--sand); color: var(--navy); }
.tag.gold { background: var(--gold); }

.content { background: var(--ground); }
.activity { background: var(--ground-alt); }
.cover { background: var(--cover); color: var(--white); --card: #FFFFFF; --soft: #FBF4E3; --ink: #003366; --muted: #44546B; --accent-text: #1236A5; --ground: #FFFFFF; --hair: rgba(0, 51, 102, .2); }
.cover .kicker, .dark .kicker { color: var(--gold); }
.cover h2 { color: var(--white); }
.lead { color: var(--sand); max-width: 54ch; margin-top: 1rem; font-size: 1.05rem; }
.dark { background: var(--deep); color: var(--white); }

/* header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: var(--ground); border-bottom: var(--line); }
.top-in { display: flex; align-items: center; gap: 1.1rem; min-height: 62px; }
.logo { flex: none; display: block; width: 138px; aspect-ratio: 640 / 111; background: var(--logo) center / contain no-repeat; }
.nav { display: flex; gap: 1.15rem; margin-inline-start: auto; font-weight: 700; font-size: .86rem; }
.nav a { text-decoration: none; padding-block: .35rem; border-bottom: 3px solid transparent; white-space: nowrap; }
.nav a:hover { color: var(--accent-text); }
.nav a[aria-current="page"] { border-bottom-color: var(--gold); }
.top-act { display: flex; align-items: center; gap: .55rem; }
.lang, .menu-btn { font-weight: 700; font-size: .85rem; background: none; border: var(--line); padding: .35rem .7rem; cursor: pointer; }
.lang:hover, .menu-btn:hover { background: var(--soft); }
.menu-btn { display: none; padding: .2rem .4rem; line-height: 0; }
.menu { border-top: var(--line); background: var(--ground); }
.menu ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .2rem 1rem; padding-block: 1rem; }
.menu a { display: block; padding: .55rem 0; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--hair); }
@media (max-width: 1100px) { .nav { display: none; } .top-act { margin-inline-start: auto; } .menu-btn { display: inline-block; } }
@media (min-width: 1101px) { .menu { display: none !important; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; padding: .7rem 1.25rem; border: 1.5px solid var(--navy); box-shadow: 4px 4px 0 var(--navy); transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--navy); }
.btn:active { transform: translate(4px, 4px); box-shadow: none; }
.btn.sm { padding: .4rem .95rem; font-size: .9rem; box-shadow: 3px 3px 0 var(--ink); border-color: var(--ink); }
.btn.gold { background: var(--gold); color: var(--navy); }
.btn.teal { background: var(--teal); color: var(--white); }
.btn.red { background: var(--red); color: var(--white); }
.btn.ghost { background: transparent; color: var(--white); border-color: var(--white); box-shadow: none; }
.btn.ghost:hover { background: var(--white); color: var(--navy); transform: none; }
.btn.ink { background: var(--card); color: var(--ink); border-color: var(--ink); box-shadow: var(--shadow); }
.btn.wide { width: 100%; }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
[dir="rtl"] .arrow { transform: scaleX(-1); }
@media (prefers-reduced-motion: reduce) { .btn, .door { transition: none !important; } }

/* page head + hero */
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 5vw, 60px); align-items: center; }
.split > * { min-width: 0; }
.split.top-align { align-items: start; }
.cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.6rem; }
.frame { position: relative; background: #FBF4E3; border: 2.25px solid var(--navy); box-shadow: 6px 6px 0 var(--navy); }
.hero-pic { aspect-ratio: 600 / 560; max-width: 100%; }
.hero-pic svg { display: block; width: 100%; height: 100%; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .hero-pic { max-width: 520px; } }

/* bubbles */
.bubble { position: relative; background: var(--soft); color: var(--ink); border: var(--line); border-radius: 18px; padding: .55rem .9rem .65rem; font-size: .95rem; line-height: 1.45; }
.bubble .who { display: block; font-size: .72rem; font-weight: 800; color: var(--accent-text); }
.bubble::after { content: ""; position: absolute; width: 14px; height: 14px; background: inherit; border: solid var(--ink); border-width: 0 1.5px 1.5px 0; inset-block-end: -8.5px; inset-inline-start: 26px; transform: rotate(45deg); }
.bubble.up::after { inset-block-end: auto; inset-block-start: -8.5px; transform: rotate(-135deg); }
.bubble.side::after { inset-block-end: 18px; inset-inline-start: -8.5px; transform: rotate(135deg); }
[dir="rtl"] .bubble.side::after { transform: rotate(-45deg); }
.bubble.in-pic { position: absolute; inset-block-start: 14px; inset-inline-end: 14px; max-width: 58%; background: #FFFFFF; }
.bubble.in-pic::after { inset-inline-start: auto; inset-inline-end: 40px; }
.say { display: flex; align-items: center; gap: 1.1rem; }
.say .face { flex: none; width: 88px; height: 88px; }
.say .bubble { flex: 1 1 auto; min-width: 0; }
.face { display: block; width: 100px; height: 100px; }

/* cards + grids */
.card { background: var(--card); border: var(--line); box-shadow: var(--shadow); padding: 1.25rem; min-width: 0; }
.card.gold { background: var(--gold); color: var(--navy); border-color: var(--navy); box-shadow: 4px 4px 0 var(--navy); }
.card.soft { background: var(--soft); }
.card p { color: var(--muted); font-size: .95rem; margin-top: .4rem; }
.card.gold p, .card.gold small { color: var(--navy); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem; margin-top: 1.8rem; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; margin-top: 1.8rem; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.3rem; margin-top: 1.8rem; }
@media (max-width: 980px) { .grid4, .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid2, .grid3, .grid4 { grid-template-columns: 1fr; } }
.disc { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--cover); color: var(--white); border: 1.5px solid var(--navy); margin-bottom: .8rem; }
.num { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--navy); border: 1.5px solid var(--navy); font-weight: 800; font-variant-numeric: tabular-nums; }

/* doors (home) */
.door { display: flex; flex-direction: column; text-decoration: none; transition: transform .12s, box-shadow .12s; }
.door:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.door .more { margin-top: auto; padding-top: 1rem; font-weight: 800; color: var(--accent-text); display: inline-flex; align-items: center; gap: .5rem; }

/* pick chips (radio / toggle) */
.picks { display: flex; flex-wrap: wrap; gap: .6rem; }
.pick { cursor: pointer; display: inline-flex; }
.pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
label.pick > span, button.pick { border: var(--line); background: var(--card); color: var(--ink); padding: .5rem 1rem; font-weight: 700; font-size: .95rem; }
button.pick { cursor: pointer; }
.pick input:checked + span, button.pick[aria-pressed="true"], button.pick[aria-selected="true"] { background: var(--gold); color: var(--navy); border-color: var(--navy); box-shadow: 3px 3px 0 var(--ink); }
.pick input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 3px; }
.step-label { font-weight: 800; font-size: .88rem; margin: 1.4rem 0 .6rem; display: flex; align-items: center; gap: .6rem; }
.result { margin-top: 1.6rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; min-height: 96px; }
.result .say { flex: 1 1 320px; min-width: 0; }
.result .cta { margin-top: 0; }

/* flow + beats */
.flow { display: flex; align-items: stretch; gap: .6rem; }
.flow li:not(.sep) { flex: 1 1 0; min-width: 0; background: var(--soft); border: var(--line); box-shadow: var(--shadow); padding: .9rem; display: flex; flex-direction: column; gap: .35rem; font-weight: 800; line-height: 1.35; }
.flow small { color: var(--muted); font-size: .82rem; line-height: 1.4; font-weight: 500; }
.sep { flex: none; display: grid; place-items: center; }
@media (max-width: 880px) {
  .flow { flex-direction: column; }
  .flow .sep .arrow, .strip .sep .arrow { transform: rotate(90deg); }
  .flow li:not(.sep) { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .flow small { flex-basis: 100%; }
}
.facts { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 1.4rem; }
dt { font-size: .68rem; font-weight: 800; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
dd { font-weight: 800; font-size: 1.1rem; }

/* cast */
.cast { display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; }
.cast .face { margin-bottom: .6rem; }
.role { font-weight: 700; color: var(--accent-text) !important; font-size: .85rem !important; margin-top: 0 !important; }
.cast .bubble { margin-top: 1rem; align-self: stretch; }

/* print cards */
.strip { display: flex; align-items: center; gap: .9rem; }
.pcard { flex: 0 1 230px; min-width: 0; background: var(--card); border: var(--line); box-shadow: var(--shadow); }
.pcard p { padding: 1.1rem .9rem 1.3rem; text-align: center; font-weight: 800; line-height: 1.4; color: var(--ink); margin: 0; }
.pband { display: flex; align-items: center; justify-content: space-between; padding: .35rem .8rem; color: var(--white); font-weight: 800; font-size: .8rem; letter-spacing: .14em; border-bottom: 1.5px solid var(--navy); }
.pband.red { background: var(--red); } .pband.teal { background: var(--teal); } .pband.gold { background: var(--gold); color: var(--navy); } .pband.navy { background: var(--navy); }
.code { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--white); color: var(--navy); border: 1.5px solid var(--navy); letter-spacing: 0; }
.point { flex: 1 1 240px; min-width: 0; display: flex; align-items: center; gap: .9rem; }
.plus { flex: none; display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--gold); color: var(--navy); border: 1.5px solid var(--navy); font-weight: 800; font-size: 1.3rem; }
.point .bubble::after { display: none; }
@media (max-width: 880px) { .strip { flex-direction: column; align-items: stretch; } .pcard, .point { flex: none; } }

/* dashed sample box */
.sample { border: 1.5px dashed var(--ink); background: var(--soft); padding: 1.3rem; }
.sample > .tag { margin-bottom: .7rem; }
.sample p { max-width: 70ch; }

/* readiness check */
.checks { display: flex; flex-direction: column; gap: .7rem; margin-top: 1.4rem; }
.rc { display: flex; align-items: center; gap: .9rem; cursor: pointer; background: var(--card); border: var(--line); padding: .8rem 1rem; font-weight: 700; }
.rc input { appearance: none; -webkit-appearance: none; flex: none; width: 26px; height: 26px; margin: 0; border: var(--line); background: var(--ground); display: grid; place-items: center; cursor: pointer; }
.rc input:checked { background: var(--teal); border-color: var(--navy); }
.rc input:checked::after { content: ""; width: 7px; height: 13px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg) translate(-1px, -1px); }
.meter { display: flex; align-items: center; gap: 1.2rem; margin-top: 1.6rem; }
.big-disc { flex: none; display: inline-grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: var(--gold); color: var(--navy); border: 2.25px solid var(--navy); box-shadow: 4px 4px 0 var(--navy); font-weight: 800; font-size: 1.7rem; font-variant-numeric: tabular-nums; direction: ltr; }
.meter .bubble { flex: 1; min-width: 0; }

/* knowledge check */
.kc { background: #FFFFFF; color: var(--navy); border: 2.25px solid var(--navy); box-shadow: 6px 6px 0 var(--navy); padding: clamp(1.1rem, 3vw, 1.8rem); display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.kc-q { font-size: clamp(1.15rem, 2.4vw, 1.5rem); font-weight: 800; line-height: 1.35; text-wrap: balance; }
.kc-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.kc-opts button { text-align: start; background: #FFFFFF; color: var(--navy); border: 1.5px solid var(--navy); padding: .8rem 1rem; font-weight: 800; cursor: pointer; display: flex; align-items: center; gap: .7rem; }
.kc-opts button b { flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--sand); border: 1.5px solid var(--navy); font-size: .85rem; }
.kc-opts button span { direction: ltr; }
.kc-opts button:hover { background: var(--soft); }
.kc-opts button.right { background: var(--teal); color: #fff; }
.kc-opts button.wrong { background: var(--red); color: #fff; }
.hintbar { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; background: var(--soft); border: 1.5px dashed var(--navy); padding: .6rem .9rem; font-weight: 600; min-height: 3.2rem; }
.hintbar button { background: var(--gold); color: var(--navy); border: 1.5px solid var(--navy); font-weight: 800; padding: .25rem .8rem; cursor: pointer; }
@media (max-width: 520px) { .kc-opts { grid-template-columns: 1fr; } }

/* tabs */
.tabs { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.panel { margin-top: 1.6rem; }

/* catalogue */
.tools { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.6rem; }
.search { font: inherit; font-weight: 600; color: var(--ink); background: var(--card); border: var(--line); box-shadow: var(--shadow); padding: .75rem 1rem; width: 100%; max-width: 460px; }
.cat { margin-top: 1.6rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.2rem; }
.cat li { display: flex; align-items: center; gap: .8rem; padding-block: .65rem; border-bottom: 1px solid var(--hair); min-width: 0; }
.cat .nm { flex: 1 1 auto; min-width: 0; font-weight: 600; line-height: 1.35; }
.cat .nm small { display: block; color: var(--muted); font-size: .72rem; font-weight: 700; }
.chip { display: inline-block; direction: ltr; font-weight: 800; font-size: .82rem; padding: .3rem .6rem; border: var(--line); background: var(--card); color: var(--ink); white-space: nowrap; }
.cat .chip { flex: none; min-width: 8.6rem; text-align: center; }
.chip.q { background: var(--blue); color: var(--white); border-color: var(--navy); }
.chip.e { background: var(--teal); color: var(--white); border-color: var(--navy); }
.chip.s { background: var(--gold); color: var(--navy); border-color: var(--navy); }
.chip.all { background: var(--navy); color: var(--white); border-color: var(--sand); }
.add { flex: none; width: 36px; height: 36px; border: var(--line); background: var(--card); font-weight: 800; font-size: 1.2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.add[aria-pressed="true"] { background: var(--gold); color: var(--navy); border-color: var(--navy); box-shadow: 2px 2px 0 var(--ink); }
.empty { grid-column: 1 / -1; color: var(--muted); padding-block: 1.5rem; }
.tray { position: sticky; bottom: env(safe-area-inset-bottom, 0px); z-index: 20; background: var(--deep); color: var(--white); border-top: 2.25px solid var(--gold); }
.tray .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .7rem; font-weight: 800; }
@media (max-width: 760px) { .cat { grid-template-columns: 1fr; } .cat .chip { min-width: 7.8rem; } }

/* games */
.game-txt { min-width: 0; }
.score { margin-top: 1.4rem; font-weight: 800; letter-spacing: .1em; color: var(--sand); }
.score b { font-size: 1.6rem; color: var(--gold); font-variant-numeric: tabular-nums; }
.activity .score { color: var(--ink); } .activity .score b { color: var(--accent-text); }
.qcard { background: #FFFFFF; color: var(--navy); border: 2.25px solid var(--navy); box-shadow: 6px 6px 0 var(--navy); padding: clamp(1.1rem, 3vw, 1.8rem); display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.qhead { display: flex; align-items: center; justify-content: space-between; }
.qdisc { display: inline-grid; place-items: center; min-width: 64px; height: 64px; padding-inline: .8rem; border-radius: 999px; background: var(--gold); color: var(--navy); border: 1.5px solid var(--navy); font-weight: 800; font-size: 1.5rem; }
.qdisc.fact { background: var(--teal); color: var(--white); font-size: 1rem; }
.qdisc.myth { background: var(--red); color: var(--white); font-size: 1rem; }
.qtext { font-size: clamp(1.25rem, 2.6vw, 1.7rem); font-weight: 800; line-height: 1.35; text-wrap: balance; min-height: 3.4em; }
.qwhy { font-weight: 600; color: #44546B; background: #FBF4E3; border: 1.5px dashed var(--navy); padding: .7rem .9rem; }
.qbtns, #qEnd { display: flex; flex-wrap: wrap; gap: .9rem; }
.qbtns .btn { flex: 1 1 130px; font-size: 1.05rem; letter-spacing: .08em; }
.match { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2rem; margin-top: 1.6rem; }
.match-col { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.mcard { text-align: start; padding: 0; cursor: pointer; background: var(--card); color: var(--ink); border: var(--line); box-shadow: var(--shadow); }
.mcard p { padding: .9rem; font-weight: 800; line-height: 1.4; }
.mcard[aria-pressed="true"] { outline: 4px solid var(--gold); outline-offset: 2px; }
.mcard.done { box-shadow: none; opacity: .55; cursor: default; }
.mcard.no { animation: shake .3s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
@media (prefers-reduced-motion: reduce) { .mcard.no { animation: none; } }
table.plain { width: 100%; border-collapse: collapse; margin-top: 1.2rem; background: var(--card); border: var(--line); box-shadow: var(--shadow); }
.plain th, .plain td { text-align: start; padding: .7rem 1rem; border-bottom: 1px solid var(--hair); }
.plain th { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.plain td:first-child { font-weight: 800; white-space: nowrap; }
.scroll { overflow-x: auto; }

/* slide samples (fixed light deck colours, sized in container units) */
.viewer { margin-top: 1.6rem; }
.stage { display: flex; align-items: center; gap: .8rem; margin-top: 1.2rem; }
.stage .nav-btn { flex: none; width: 44px; height: 44px; border: var(--line); background: var(--card); cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.stage .nav-btn .arrow path { stroke: currentColor; }
.slides { flex: 1; min-width: 0; }
.slide { --ink: #003366; position: relative; aspect-ratio: 16 / 9; container-type: inline-size; overflow: hidden; border: 2.25px solid #003366; box-shadow: 6px 6px 0 var(--navy); background: #fff; color: #003366; font-family: "Montserrat", "Tajawal", sans-serif; line-height: 1.25; direction: ltr; text-align: left; }
.slide.s-blue { background: #1236A5; color: #fff; } .slide.s-navy { background: #003366; color: #fff; } .slide.s-sand { background: #FBF4E3; }
.slide .pad { position: absolute; inset: 0; padding: 5cqw 4.5cqw; display: flex; flex-direction: column; }
.slide .s-logo { width: 13cqw; display: block; }
.slide .s-k { font-size: 1.15cqw; font-weight: 800; letter-spacing: .28em; color: #D4A017; margin-top: 3.2cqw; }
.slide .s-t { font-size: 4.2cqw; font-weight: 800; line-height: 1.12; margin-top: 1cqw; }
.slide .s-p { font-size: 1.7cqw; color: #F4E4C1; margin-top: 1.4cqw; max-width: 44cqw; line-height: 1.45; }
.slide .s-row { display: flex; gap: .8cqw; margin-top: 2cqw; flex-wrap: wrap; }
.slide .s-chip { font-size: 1.15cqw; font-weight: 800; padding: .5cqw 1cqw; border: .15cqw solid #003366; background: #fff; color: #003366; }
.slide .s-chip.q { background: #1236A5; color: #fff; border-color: #fff; } .slide .s-chip.e { background: #006765; color: #fff; } .slide .s-chip.s { background: #D4A017; }
.slide .s-tag { font-size: 1.05cqw; font-weight: 800; letter-spacing: .12em; padding: .4cqw 1.1cqw; border-radius: 99cqw; background: #F4E4C1; color: #003366; border: .15cqw solid #003366; }
.slide .s-half { position: absolute; inset-block: 0; right: 0; width: 44%; border-left: .25cqw solid #003366; background: #FBF4E3; }
.slide .s-half svg, .slide .s-pic svg { width: 100%; height: 100%; display: block; }
.slide .s-pic { position: absolute; right: 4.5cqw; top: 6cqw; bottom: 6cqw; width: 34%; border: .25cqw solid #003366; box-shadow: .6cqw .6cqw 0 #003366; background: #FBF4E3; }
.slide .s-bub { position: absolute; background: #fff; color: #003366; border: .15cqw solid #003366; border-radius: 1.6cqw; padding: .8cqw 1.2cqw; font-size: 1.35cqw; max-width: 26cqw; line-height: 1.35; }
.slide .s-bub b:first-child { display: block; font-size: 1cqw; color: #1236A5; }
.slide .s-big { font-size: 15cqw; font-weight: 800; color: #D4A017; line-height: .9; }
.slide .s-disc { position: absolute; right: 7cqw; top: 50%; transform: translateY(-50%); width: 24cqw; height: 24cqw; border-radius: 50%; background: #D4A017; color: #003366; border: .25cqw solid #003366; display: grid; place-items: center; text-align: center; font-weight: 800; }
.slide .s-disc b { font-size: 11cqw; line-height: 1; display: block; } .slide .s-disc small { font-size: 1.3cqw; letter-spacing: .2em; }
.slide .s-pts { display: flex; flex-direction: column; gap: 1.6cqw; margin-top: 3cqw; max-width: 52cqw; }
.slide .s-pts li { display: flex; align-items: center; gap: 1.4cqw; font-size: 2.1cqw; font-weight: 700; }
.slide .s-n { flex: none; width: 4cqw; height: 4cqw; border-radius: 50%; background: #D4A017; color: #003366; display: grid; place-items: center; font-weight: 800; font-size: 1.8cqw; }
.slide .s-keep { position: absolute; right: 4.5cqw; top: 14cqw; width: 30cqw; background: #FBF4E3; color: #003366; border: .15cqw solid #D4A017; padding: 1.6cqw; font-size: 1.4cqw; line-height: 1.45; }
.slide .s-keep b { display: block; font-size: 1cqw; letter-spacing: .14em; margin-bottom: .8cqw; }
.slide .s-quote { margin-top: auto; font-size: 1.5cqw; font-style: italic; color: #F4E4C1; }
.slide .s-h { font-size: 2.8cqw; font-weight: 800; }
.slide .s-kb { font-size: 1.1cqw; font-weight: 800; letter-spacing: .24em; color: #1236A5; }
.slide .s-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2cqw; margin-top: 3cqw; }
.slide .s-card { background: #fff; border: .15cqw solid #003366; box-shadow: .5cqw .5cqw 0 #003366; display: flex; flex-direction: column; aspect-ratio: 5 / 6.4; }
.slide .s-band { display: flex; justify-content: space-between; align-items: center; padding: .7cqw 1cqw; color: #fff; font-weight: 800; font-size: 1.05cqw; letter-spacing: .14em; border-bottom: .15cqw solid #003366; }
.slide .s-band i { font-style: normal; width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: #fff; color: #003366; border: .15cqw solid #003366; display: grid; place-items: center; letter-spacing: 0; }
.slide .s-card p { flex: 1; display: grid; place-items: center; text-align: center; font-weight: 800; font-size: 1.55cqw; padding: 1cqw; line-height: 1.3; }
.slide .s-foot { display: flex; justify-content: space-between; align-items: center; padding: 0 1cqw 1cqw; }
.slide .s-foot svg { width: 3.4cqw; height: 3.4cqw; } .slide .s-foot img { width: 6cqw; }
.slide.rtl { direction: rtl; text-align: right; font-family: "Tajawal", "Montserrat", sans-serif; }
.slide .s-man { display: grid; grid-template-columns: 30cqw 1fr; gap: 3cqw; margin-top: 3cqw; align-items: start; }
.slide .s-thumb { aspect-ratio: 16 / 9; background: #1236A5; border: .15cqw solid #003366; box-shadow: .5cqw .5cqw 0 #003366; padding: 2cqw; direction: ltr; text-align: left; color: #fff; font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 1.9cqw; line-height: 1.15; }
.slide .s-thumb img { width: 8cqw; display: block; margin-bottom: 2cqw; }
.slide .s-rows { display: flex; flex-direction: column; gap: 1.4cqw; font-size: 1.6cqw; line-height: 1.5; }
.slide .s-rows b { display: inline-block; font-size: 1.1cqw; background: #F4E4C1; border: .15cqw solid #003366; border-radius: 99cqw; padding: .1cqw 1cqw; margin-bottom: .4cqw; }
.gets { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }

/* about */
.nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; margin-top: 1.8rem; }
.num-card { display: flex; flex-direction: column; }
.num-card b { font-size: 2.6rem; line-height: 1; font-weight: 800; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.num-card.gold b { color: var(--navy); }
.num-card span { font-weight: 800; margin-top: .2rem; }
.num-card small { color: var(--muted); font-size: .78rem; line-height: 1.45; margin-top: .4rem; }
.acc { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.acc li { display: flex; gap: .7rem; align-items: baseline; font-size: .92rem; }
.acc b { flex: none; min-width: 3.4rem; text-align: center; background: var(--navy); color: var(--white); border: 1px solid var(--sand); padding: .1rem .4rem; font-size: .78rem; letter-spacing: .06em; }
@media (max-width: 560px) { .nums { grid-template-columns: 1fr; } }

/* booking */
.form { display: flex; flex-direction: column; gap: 1.3rem; padding: clamp(1.1rem, 3vw, 1.8rem); }
.f2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
label.fl, legend { font-weight: 700; font-size: .88rem; }
label.fl { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
input.in, select.in, textarea.in { font: inherit; font-weight: 500; color: var(--ink); background: var(--ground); border: var(--line); border-radius: 0; padding: .6rem .7rem; width: 100%; min-width: 0; }
.in:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; }
fieldset { border: 0; min-width: 0; }
legend { margin-bottom: .55rem; display: flex; align-items: center; gap: .6rem; padding: 0; }
.picked { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .6rem; }
.picked button { cursor: pointer; }
.msg { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 1rem; }
.msg pre { margin: 0; font: inherit; font-size: .92rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg .bubble { padding: 1rem 1.1rem; }
@media (max-width: 880px) { .msg { position: static; } }
@media (max-width: 560px) { .f2 { grid-template-columns: 1fr; } }

/* footer */
.foot { padding-block: 44px 28px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 2rem 3rem; align-items: flex-start; justify-content: space-between; }
.foot-logo { width: 230px; max-width: 60vw; display: block; }
.foot-nav { display: grid; grid-template-columns: repeat(2, auto); gap: .35rem 2.4rem; font-weight: 700; font-size: .92rem; }
.foot-nav a { text-decoration: none; color: var(--sand); }
.foot-nav a:hover { color: var(--gold); }
.foot-line { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(244, 228, 193, .35); display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; color: var(--sand); font-size: .85rem; }

/* packages */
.band { padding: .8rem 1.25rem; font-weight: 800; font-size: 1.1rem; color: var(--white); border-bottom: 1.5px solid var(--navy); }
.band.blue { background: var(--blue); } .band.navy { background: var(--navy); } .band.sand { background: var(--sand); color: var(--navy); }
.pkg { padding: 0; display: flex; flex-direction: column; }
.pkg .facts { margin: 1rem 1.25rem 0; gap: .9rem 1.4rem; }
.pkg dd { font-size: .98rem; }
.card.gold dt { color: var(--navy); }
.incl { margin: 1rem 1.25rem 1.3rem; display: flex; flex-direction: column; gap: .55rem; font-weight: 600; font-size: .95rem; line-height: 1.4; }
.incl li { display: flex; gap: .6rem; align-items: baseline; }
.incl li::before { content: ""; flex: none; width: 6px; height: 11px; border: solid currentColor; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translateY(-2px); margin-inline: 3px 2px; }
.pkg .btn { margin: auto 1.25rem 1.25rem; }

/* card fan + room-state slides + scoreboard */
.fan { display: flex; justify-content: center; padding-block: 2.2rem 1.6rem; }
.fan .pcard { flex: 0 0 172px; margin-inline: -13px; transition: transform .15s; color: var(--ink); }
.fan .pcard:nth-child(1) { transform: rotate(-9deg) translateY(14px); } .fan .pcard:nth-child(2) { transform: rotate(-5deg) translateY(4px); }
.fan .pcard:nth-child(3) { transform: rotate(-2deg); } .fan .pcard:nth-child(4) { transform: rotate(2deg); }
.fan .pcard:nth-child(5) { transform: rotate(5deg) translateY(4px); } .fan .pcard:nth-child(6) { transform: rotate(9deg) translateY(14px); }
.fan .pcard:hover { transform: translateY(-12px) rotate(0); z-index: 2; }
.fan .pcard p { font-size: .92rem; min-height: 6.2em; display: grid; place-items: center; }
.pband.blue { background: var(--blue); }
@media (max-width: 960px) {
  .fan { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding-inline: 6px; }
  .fan .pcard, .fan .pcard:nth-child(n) { margin: 0; transform: rotate(0); }
  .fan .pcard:nth-child(odd) { transform: rotate(-1.5deg); } .fan .pcard:nth-child(even) { transform: rotate(1.5deg); }
}
@media (prefers-reduced-motion: reduce) { .fan .pcard { transition: none; } }
.states { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; margin-top: 1rem; }
.slide.s-gold { background: #D4A017; color: #003366; }
@media (max-width: 700px) { .states { grid-template-columns: 1fr; } }
.board td:not(:first-child), .board th:not(:first-child) { text-align: center; font-variant-numeric: tabular-nums; }
.board tr.win td { background: var(--gold); color: var(--navy); }

/* client experience photos */
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.8rem; }
.shot { margin: 0; min-width: 0; }
.shot .frame { overflow: hidden; }
.shot img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.shot figcaption { margin-top: 1rem; font-weight: 700; line-height: 1.45; }
.slide .s-logo { width: 15cqw; }
@media (max-width: 700px) { .shots { grid-template-columns: 1fr; } }

/* ============ v3: one size system ============ */
.flush { margin-top: 0 !important; }
.gap-top { margin-top: 1.4rem; }
.cta.center { justify-content: center; }
.in.narrow { max-width: 460px; }
.cat.one { grid-template-columns: 1fr; }
.viewer { margin-top: 0; }
.btn { min-height: 46px; }
.btn.sm { min-height: 36px; }
.btn:disabled { opacity: .45; pointer-events: none; }
label.pick > span, button.pick { min-height: 42px; display: inline-flex; align-items: center; gap: .5rem; }
.err { color: #fff; background: var(--red); font-weight: 700; padding: .5rem .8rem; font-size: .9rem; }
.side { min-width: 0; }

/* the page banner: identical on every inner page */
.opener { padding-block: 0; }
.opener .wrap { min-height: 228px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.opener .op-txt { min-width: 0; padding-block: 1.6rem; }
.opener h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.opener .lead { margin-top: .55rem; font-size: 1rem; max-width: 62ch; }
.op-face { flex: none; width: 128px; height: 128px; }
@media (max-width: 700px) { .opener .wrap { min-height: 236px; gap: 1rem; } .op-face { width: 72px; height: 72px; align-self: flex-start; margin-top: 1.6rem; } }

/* header: account button + services bar */
.nav a { display: inline-flex; align-items: center; gap: .3rem; }
.acct { display: grid; place-items: center; width: 36px; height: 36px; border: var(--line); border-radius: 50%; color: var(--ink); }
.acct svg { width: 20px; height: 20px; }
.acct:hover, .acct[aria-current="page"] { background: var(--gold); color: var(--navy); border-color: var(--navy); }
.svc-bar { position: absolute; inset-inline: 0; top: 100%; z-index: 29; background: var(--ground-alt); border-block: var(--line); box-shadow: 0 5px 0 var(--ink); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .18s, transform .18s, visibility 0s .18s; }
.top.bar-open .svc-bar { visibility: visible; opacity: 1; transform: none; transition: opacity .18s, transform .18s; }
.top.bar-open .chev { transform: rotate(180deg); }
.chev { transition: transform .18s; }
.svc-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.3fr); gap: 1rem; padding-block: 1.2rem 1.4rem; }
.svc-tile { display: flex; flex-direction: column; gap: .15rem; text-decoration: none; background: var(--card); border: var(--line); padding: .9rem; transition: transform .12s, box-shadow .12s; }
.svc-tile:hover, .svc-tile:focus-visible { transform: translate(-2px, -2px); box-shadow: var(--shadow); }
.svc-tile .disc { width: 40px; height: 40px; margin-bottom: .45rem; }
.svc-tile .disc svg { width: 20px; height: 20px; }
.svc-tile small { color: var(--muted); font-size: .8rem; line-height: 1.4; }
.svc-side { display: flex; flex-direction: column; justify-content: space-between; gap: .7rem; min-width: 0; }
.svc-side .face { width: 60px; height: 60px; }
.svc-side .bubble { font-size: .88rem; }
.svc-more { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; font-weight: 700; font-size: .85rem; }
.svc-more a { color: var(--accent-text); text-decoration: none; }
.svc-more a:hover { text-decoration: underline; }
.menu-h { font-size: .72rem; font-weight: 800; color: var(--accent-text); margin-top: .4rem; }
@media (max-width: 1100px) { .svc-bar { display: none; } }
@media (prefers-reduced-motion: reduce) { .svc-bar, .chev, .svc-tile { transition: none; } }

/* page loader: a character takes you to the next page */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--cover); display: grid; place-items: center; visibility: hidden; opacity: 0; --card: #fff; --soft: #FBF4E3; --ink: #003366; --muted: #44546B; --accent-text: #1236A5; }
.loader.on { visibility: visible; opacity: 1; transition: opacity .14s; }
.loader.in { visibility: visible; opacity: 1; animation: loaderOut .4s .2s forwards cubic-bezier(.7, 0, .3, 1); }
@keyframes loaderOut { to { transform: translateY(-100%); visibility: hidden; } }
.loader-in { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; width: min(86vw, 400px); }
.loader-logo { width: 190px; display: block; }
.lf { display: none; width: 100%; }
.loader[data-c="salma"] .lf[data-c="salma"], .loader[data-c="hany"] .lf[data-c="hany"], .loader[data-c="nadia"] .lf[data-c="nadia"], .loader[data-c="tarek"] .lf[data-c="tarek"] { display: flex; }
.lf .face { width: 96px; height: 96px; }
.lbar { width: 100%; height: 14px; border: 1.5px solid #fff; box-shadow: 4px 4px 0 var(--navy); }
.lbar i { display: block; height: 100%; width: 0; background: var(--gold); }
.loader.on .lbar i { animation: lfill .5s linear forwards; }
.loader.in .lbar i { width: 100%; }
@keyframes lfill { to { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .loader.in { display: none; } }
.toast { position: fixed; inset-block-end: 24px; inset-inline: 0; margin-inline: auto; width: max-content; max-width: calc(100vw - 32px); z-index: 90; background: var(--navy); color: #fff; border: 1.5px solid var(--gold); box-shadow: 4px 4px 0 var(--gold); padding: .6rem 1rem; font-weight: 700; }

/* social + app buttons (neutral icons; the platforms' own marks are dropped in at launch) */
.social { display: flex; flex-wrap: wrap; gap: .9rem; }
.soc { display: flex; flex-direction: column; align-items: center; gap: .3rem; text-decoration: none; font-weight: 700; }
.soc .disc { margin: 0; width: 46px; height: 46px; transition: transform .12s; }
.soc:hover .disc { background: var(--gold); color: var(--navy); transform: translateY(-3px); }
.soc small { font-size: .68rem; direction: ltr; }
.dark .soc .disc { background: transparent; border-color: var(--sand); }
.dark .soc small { color: var(--sand); }
.apps { display: flex; flex-wrap: wrap; gap: .7rem; }
.apps .btn { gap: .5rem; padding-inline: 1rem; }
.apps .btn svg { width: 20px; height: 20px; }
.apps .btn span { direction: ltr; }

/* footer */
.foot-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.7fr) minmax(0, 1.3fr); gap: 2rem 3rem; align-items: start; }
.foot-brand p { color: var(--sand); margin-top: 1rem; font-weight: 700; font-size: .92rem; }
.foot-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem 1.6rem; }
.foot-nav a { display: block; padding-block: .18rem; }
.foot-h { font-size: .72rem; font-weight: 800; color: var(--gold); margin-bottom: .6rem; }
@media (max-width: 900px) { .foot-in { grid-template-columns: 1fr; } }

/* booking journey */
.steps { display: flex; }
.steps li { flex: 1 1 0; min-width: 0; position: relative; display: flex; flex-direction: column; align-items: center; gap: .45rem; text-align: center; font-weight: 700; font-size: .82rem; line-height: 1.3; }
.steps li + li::before { content: ""; position: absolute; top: 17px; inset-inline-end: 50%; width: 100%; height: 3px; background: var(--hair); }
.steps li.done::before, .steps li.now::before { background: var(--teal); }
.st-n { position: relative; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1.5px dashed var(--ink); background: var(--card); font-weight: 800; font-variant-numeric: tabular-nums; }
.steps .done .st-n { background: var(--teal); border: 1.5px solid var(--navy); }
.steps .done .st-n::after { content: ""; width: 7px; height: 13px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg) translate(-1px, -1px); }
.steps .now .st-n { background: var(--gold); color: var(--navy); border: 1.5px solid var(--navy); box-shadow: 3px 3px 0 var(--ink); }
.steps .todo { color: var(--muted); }
.steps.mini li { font-size: .5rem; gap: .25rem; }
.steps.mini .st-n { width: 22px; height: 22px; font-size: .62rem; box-shadow: none; }
.steps.mini li + li::before { top: 10px; height: 2px; }
.steps.mini .done .st-n::after { width: 4px; height: 8px; border-width: 0 2px 2px 0; }
.acct-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.gate { display: flex; flex-direction: column; gap: 1.2rem; }

/* phone mock-up */
.phone { justify-self: center; width: min(280px, 78vw); border: 2.25px solid var(--navy); border-radius: 30px; background: #fff; color: #003366; box-shadow: 6px 6px 0 var(--navy); overflow: hidden; --card: #fff; --soft: #FBF4E3; --ink: #003366; --muted: #44546B; --accent-text: #1236A5; --hair: rgba(0, 51, 102, .2); }
.ph-top { background: #1236A5; padding: 1.7rem 1rem .9rem; }
.ph-top img { width: 86px; display: block; }
.ph-body { padding: 1rem 1rem 1.7rem; display: flex; flex-direction: column; gap: .8rem; }
.ph-k { font-size: .62rem; font-weight: 800; color: #1236A5; }
.ph-t { font-weight: 800; font-size: 1.05rem; }
.phone .bubble { font-size: .8rem; }

/* services, about, characters, contact */
.svc-card { display: flex; gap: 1.2rem; align-items: flex-start; }
.svc-card > div { min-width: 0; }
.svc-card .face { flex: none; width: 84px; height: 84px; }
.svc-card .incl { margin: .9rem 0 1.1rem; }
.logo-frame { background: #fff; padding: clamp(1.5rem, 5vw, 3rem); display: grid; place-items: center; }
.logo-frame img { width: 100%; max-width: 380px; display: block; }
.who-tab { padding-inline: .45rem 1rem; }
.who-tab .face { width: 40px; height: 40px; }
.panel.split { align-items: center; }
.char-pic { aspect-ratio: 300 / 330; width: 100%; max-width: 380px; justify-self: center; }
.char-pic svg { display: block; width: 100%; height: 100%; }
.bio { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.2rem; }
.bio dd { font-weight: 600; font-size: 1.02rem; line-height: 1.65; max-width: 52ch; }
.place svg { color: var(--accent-text); }
.place h3 { margin-top: .3rem; }

/* v3 fixes after the visual check */
.form > .tag { align-self: flex-start; }
.steps.mini .st-l { display: none; }
@media (max-width: 700px) { .opener .wrap { min-height: 244px; } }
@media (max-width: 560px) { .steps .st-l { display: none; } .steps li + li::before { top: 17px; } }
@media (max-width: 480px) { .logo { width: 104px; } .top-in { gap: .5rem; } .top-act { gap: .4rem; } .lang { padding-inline: .5rem; } .btn.sm { padding-inline: .7rem; } }

/* v4: accreditation road + SMETA */
.ltr { direction: ltr; unicode-bidi: isolate; }
.road { position: relative; display: flex; flex-direction: column; gap: .7rem; }
.road::before { content: ""; position: absolute; inset-block: 18px; inset-inline-start: 16px; width: 3px; background: var(--hair); }
.road li { position: relative; display: flex; align-items: flex-start; gap: .9rem; }
.road li > div { min-width: 0; background: var(--card); border: var(--line); padding: .6rem .9rem; flex: 1; }
.road b { display: block; }
.road small { display: block; color: var(--muted); font-size: .86rem; line-height: 1.45; margin-top: .15rem; }
.road .num { position: relative; z-index: 1; }
.road li.key > div { background: var(--gold); color: var(--navy); border-color: var(--navy); box-shadow: 4px 4px 0 var(--ink); }
.road li.key small { color: var(--navy); }
.acc-h { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.pillar { transition: opacity .2s; }
#smeta[data-p="2"] .pillar.four { opacity: .35; border-style: dashed; box-shadow: none; }
.step-card .num { margin-bottom: .6rem; }

/* ============ v5: courses, iCASCO, Meraki carousel, Google reviews ============ */
.svc-in { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.svc-side { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
.rate-chip { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.3rem; color: var(--sand); font-weight: 700; text-decoration: none; border-bottom: 1.5px solid var(--gold); padding-bottom: .1rem; }
.stars { color: var(--gold); letter-spacing: .08em; }
body.noscroll { overflow: hidden; }

.art { position: relative; aspect-ratio: 16 / 10; width: 100%; background: var(--blue); color: #fff; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: 1rem 1.1rem; text-align: left; direction: ltr; }
.art-logo { position: absolute; top: .85rem; left: 1.1rem; width: 74px; }
.art-tag { position: absolute; top: .7rem; right: .9rem; font-size: .66rem; font-weight: 800; letter-spacing: .1em; padding: .2rem .6rem; border-radius: 999px; background: var(--sand); color: var(--navy); border: 1.5px solid var(--navy); }
.art-code { font-size: clamp(1.35rem, 2.4vw, 1.8rem); font-weight: 800; line-height: 1.05; max-width: calc(100% - 92px); }
.art-ed { font-weight: 800; color: var(--gold); font-size: 1rem; }
.art-face { position: absolute; right: .7rem; bottom: -12px; width: 86px; height: 86px; }
.ccard, .fcard { font: inherit; color: inherit; text-align: start; cursor: pointer; transition: transform .12s, box-shadow .12s; }
.ccard:hover, .fcard:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.ccard { padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.ccard .art { border-bottom: 1.5px solid var(--navy); }
.cc-body { display: flex; flex-direction: column; gap: .35rem; padding: 1.1rem 1.25rem 1.25rem; }
.cc-body b { font-size: 1.1rem; }
.cc-body small { color: var(--muted); font-size: .88rem; line-height: 1.45; }
.cc-meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .35rem; }
.ccard .more, .fcard .more { margin-top: .6rem; font-weight: 800; color: var(--accent-text); display: inline-flex; align-items: center; gap: .5rem; }
.fcard { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; }
.fcard b { font-size: 1.02rem; line-height: 1.35; }
.fcard small { color: var(--muted); font-size: .82rem; line-height: 1.45; }
.fcard .more { margin-top: auto; padding-top: .4rem; }
@media (prefers-reduced-motion: reduce) { .ccard, .fcard { transition: none; } }

.modal { position: fixed; inset: 0; z-index: 80; background: rgba(0, 26, 51, .6); display: grid; place-items: center; padding: 16px; }
.modal-box { position: relative; width: min(880px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 0; display: flex; flex-direction: column; }
.modal-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 1.4rem; padding: 1.4rem 1.4rem 0; align-items: start; }
.modal-grid .art { border: 1.5px solid var(--navy); box-shadow: 4px 4px 0 var(--navy); }
.modal-info { min-width: 0; padding-top: .4rem; }
.modal-info h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
.modal-info .incl { margin: 1rem 0 0; }
.modal-info .facts { margin-top: 1rem; }
.modal-x { position: absolute; top: .55rem; inset-inline-end: .55rem; z-index: 2; width: 40px; height: 40px; border: var(--line); background: var(--card); color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.reg { margin-top: 1.4rem; padding: 1.4rem; border-top: 1.5px dashed var(--ink); background: var(--soft); display: flex; flex-direction: column; gap: 1rem; }
.reg .cta { margin-top: 0; }
.fl > span { font-weight: 700; font-size: .88rem; }
@media (max-width: 700px) { .modal-grid { grid-template-columns: 1fr; } .modal { place-items: start center; } }

.carousel { display: flex; flex-direction: column; gap: .9rem; }
.car-stage { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #003366; }
.car-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .8s; }
.car-slide.on { opacity: 1; }
.car-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.car-slide.on img { animation: kb 7s ease-out forwards; }
@keyframes kb { from { transform: scale(1); } to { transform: scale(1.07); } }
.car-slide figcaption { position: absolute; inset-inline: 0; bottom: 0; background: rgba(0, 51, 102, .92); color: #fff; padding: .75rem 1.1rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; font-weight: 700; line-height: 1.4; }
.car-topic { color: var(--sand); font-size: .84rem; }
.car-nav { position: absolute; top: 40%; width: 46px; height: 46px; border: 1.5px solid var(--navy); background: #fff; color: #003366; display: grid; place-items: center; cursor: pointer; box-shadow: 3px 3px 0 var(--navy); z-index: 2; }
.car-prev { inset-inline-start: 12px; }
.car-next { inset-inline-end: 12px; }
.car-play { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 2; font-weight: 800; font-size: .8rem; padding: .3rem .8rem; background: var(--sand); color: var(--navy); border: 1.5px solid var(--navy); cursor: pointer; }
.car-thumbs { display: flex; gap: .5rem; overflow-x: auto; padding: .2rem .2rem .4rem; }
.car-thumbs button { flex: none; width: 78px; padding: 0; border: 1.5px solid var(--ink); background: none; cursor: pointer; opacity: .55; }
.car-thumbs button[aria-current="true"] { opacity: 1; outline: 3px solid var(--gold); outline-offset: 2px; }
.car-thumbs img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .car-slide { transition: none; } .car-slide.on img { animation: none; } }
@media (max-width: 600px) { .car-slide figcaption { font-size: .85rem; } .car-nav { width: 38px; height: 38px; } }

.rating { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; }
.big-rate { font-size: 4.2rem; font-weight: 800; line-height: 1; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.rating .stars { font-size: 1.4rem; }
.rating .btn { margin-top: .6rem; }
.topics { display: flex; flex-wrap: wrap; gap: .55rem; }
.topic { display: inline-flex; align-items: center; gap: .55rem; border: var(--line); background: var(--card); color: var(--ink); padding: .35rem .45rem .35rem .8rem; font-weight: 700; font-size: .9rem; }
[dir="rtl"] .topic { padding: .35rem .8rem .35rem .45rem; }
button.topic { font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; box-shadow: 3px 3px 0 var(--ink); }
button.topic:hover { background: var(--gold); color: var(--navy); border-color: var(--navy); }
.topic b { display: inline-grid; place-items: center; min-width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--navy); font-size: .76rem; border: 1.5px solid var(--navy); }

.ic-wrap { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.65fr); gap: 1.6rem; align-items: start; }
.ic-steps { display: flex; flex-direction: column; gap: .5rem; }
.ic-steps button { width: 100%; display: flex; gap: .8rem; align-items: flex-start; text-align: start; background: var(--card); border: var(--line); padding: .6rem .8rem; cursor: pointer; font: inherit; color: inherit; }
.ic-steps button > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.ic-steps button small { display: none; color: var(--muted); font-size: .84rem; font-weight: 500; margin-top: .2rem; line-height: 1.45; }
.ic-steps button[aria-pressed="true"] { background: var(--gold); color: var(--navy); border-color: var(--navy); box-shadow: 4px 4px 0 var(--ink); }
.ic-steps button[aria-pressed="true"] small { display: block; color: var(--navy); }
.ic-steps .num { width: 30px; height: 30px; font-size: .85rem; }
.ic-frame, .shot-frame { margin: 0; background: #fff; }
.ic-frame figure { margin: 0; }
.ic-frame img, .shot-frame img { display: block; width: 100%; height: auto; }
.ic-ctrl { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.1rem; }
.ic-ctrl .nav-btn { width: 44px; height: 44px; border: var(--line); background: var(--card); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
@media (max-width: 900px) { .ic-wrap { grid-template-columns: 1fr; } .ic-steps { flex-direction: row; overflow-x: auto; padding-bottom: .4rem; } .ic-steps li { flex: none; } .ic-steps button[aria-pressed="true"] small, .ic-steps button small { display: none; } }

/* v5 fixes after the visual check */
.door > .tag { align-self: flex-start; }
.rating .big-rate { font-size: 4.2rem; margin: 0; }

/* v6: real company data */
.nums4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nums.on-dark .num-card { --card: #0E2D55; --ink: #F4E4C1; --muted: #B9C5D8; --accent-text: #FFFFFF; color: #fff; }
.nums.on-dark .num-card.gold { --ink: #003366; color: #003366; }
.nums.on-dark .num-card b { color: #fff; } .nums.on-dark .num-card.gold b { color: #003366; }
@media (max-width: 800px) { .nums4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vm { font-size: 1.05rem !important; font-weight: 600; color: var(--ink) !important; line-height: 1.7; margin-top: .8rem !important; }
.contact-card { display: flex; flex-direction: column; gap: .7rem; }
.contact-card p { margin: 0; display: flex; flex-direction: column; gap: .1rem; color: var(--ink); }
.contact-card b { font-size: .75rem; color: var(--muted); }
.contact-card a, .contact-card .sel { font-weight: 800; font-size: 1.05rem; color: var(--accent-text); text-decoration: none; user-select: all; align-self: flex-start; }
.clients { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .8rem; }
.clients li { display: grid; place-items: center; min-height: 76px; padding: .6rem; text-align: center; font-weight: 800; color: #fff; border: 1.5px solid rgba(244, 228, 193, .5); background: rgba(255, 255, 255, .04); }

/* ===== v7: sign-up, certificates, verification ===== */
.mono { font-family: 'Montserrat', monospace; letter-spacing: .04em; }
.tabs2 { display: grid; grid-template-columns: 1fr 1fr; border: var(--line); margin: .4rem 0 1rem; }
.tabs2 button { padding: .7rem; font: inherit; font-weight: 800; background: var(--card); color: var(--ink); border: 0; cursor: pointer; }
.tabs2 button[aria-selected="true"] { background: var(--navy); color: #fff; }
#site:not([data-theme]) .tabs2 button[aria-selected="true"] { box-shadow: inset 0 -4px 0 var(--gold); }
.note-name { margin: .9rem 0; padding: .6rem .8rem; border-inline-start: 4px solid var(--gold); background: var(--soft, #F7F1E3); font-size: .9rem; color: var(--ink); }
.journey { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.journey li { display: flex; gap: .8rem; align-items: flex-start; padding: .7rem .8rem; border: var(--line); background: var(--card); }
.journey .jn { flex: none; display: grid; place-items: center; width: 30px; height: 30px; background: var(--gold); color: #003366; border: var(--line); font-weight: 800; }
.journey b { display: block; color: var(--ink); }
.journey small { display: block; color: var(--muted); margin-top: .15rem; }
.journey.cols3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .journey.cols3 { grid-template-columns: 1fr; } }
.try { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.try .fine { flex: 1 0 100%; margin: 0; }
.try .chip { cursor: pointer; }
.try .chip:hover { background: var(--gold); color: #003366; }
.vres { border: var(--line); box-shadow: var(--shadow); background: var(--card); padding: 1.2rem; }
.vres .vstat { margin: 0 0 1rem; padding: .7rem 1rem; font-weight: 800; font-size: 1.25rem; color: #fff; border: var(--line); }
.vres.good .vstat { background: var(--teal); }
.vres.bad .vstat { background: var(--red); }
.vres .say .face { width: 72px; height: 72px; }
.vrows { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0 0 1rem; border-top: var(--line); }
.vrows div { padding: .55rem .2rem; border-bottom: 1px solid rgba(68,84,107,.3); }
.vrows dt { font-size: .75rem; font-weight: 800; letter-spacing: .06em; color: var(--muted); }
.vrows dd { margin: .15rem 0 0; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
@media (max-width: 520px) { .vrows { grid-template-columns: 1fr; } }
.vprev img, .cert-view img { display: block; width: 100%; height: auto; border: var(--line); box-shadow: var(--shadow); background: #fff; }
.vprev img[src=""], .vprev img:not([src]) { min-height: 160px; }
.cert-view { max-width: 1000px; margin: 0 auto; }
.cert-view img:not([src]) { aspect-ratio: 2000 / 1414; }
.cert-bar { max-width: 1000px; margin: 1.4rem auto 0; display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.cert-link { max-width: 1000px; margin: 1.2rem auto 0; }
.cert-link .row { display: flex; gap: .5rem; margin-top: .35rem; }
.cert-link .row .in { flex: 1; min-width: 0; font-size: .8rem; }
.certs { margin: 1.4rem 0; }
.certs h3 { display: flex; align-items: center; gap: .5rem; margin: 0 0 1rem; }
.certs-in { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 1rem; }
.cmini { display: flex; gap: 1rem; align-items: center; padding: .9rem; border: var(--line); background: var(--card); margin-top: 1rem; }
.certs-in .cmini { margin-top: 0; }
.cmini .qr { flex: none; border: var(--line); }
.cmini .kicker { margin: 0; }
.cmini .cno { margin: .1rem 0; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.15rem; color: var(--accent-text, #1236A5); direction: ltr; text-align: start; }
.cmini .fine { margin: 0 0 .6rem; }
.cmini .cta { gap: .4rem; }
@media (max-width: 480px) { .acct-v { display: none; } .cmini { flex-direction: column; align-items: flex-start; } }

/* ===== v8: client logos marquee ===== */
.clients-sec { overflow: hidden; }
.mq { margin-top: 1.6rem; display: grid; gap: 1rem; direction: ltr; }
.mq-row { display: flex; width: max-content; }
.mq-track { display: flex; gap: 1rem; margin: 0; padding: 0 .5rem; list-style: none; flex: none; }
.mq-track li { flex: none; display: grid; place-items: center; width: 200px; height: 104px; padding: .8rem 1rem; background: #fff; border: var(--line); box-shadow: var(--shadow); }
.mq-track img { max-width: 100%; max-height: 64px; width: auto; height: auto; filter: grayscale(.15); transition: filter .2s, transform .2s; }
.mq-track li:hover img { filter: none; transform: scale(1.06); }
.mq-row.ltr-go { animation: mq-left 48s linear infinite; }
.mq-row.rtl-go { animation: mq-right 48s linear infinite; }
.mq:hover .mq-row, .mq:focus-within .mq-row { animation-play-state: paused; }
@keyframes mq-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes mq-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.mq { -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); padding-block: .3rem .6rem; }
@media (max-width: 560px) { .mq-track li { width: 150px; height: 84px; } .mq-track img { max-height: 50px; } }
@media (prefers-reduced-motion: reduce) {
  .mq { -webkit-mask-image: none; mask-image: none; }
  .mq-row { width: auto; animation: none !important; }
  .mq-row .mq-track { flex-wrap: wrap; justify-content: center; }
  .mq-row .mq-track[aria-hidden] { display: none; }
}

/* ===== v8: news ===== */
.news-feat { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 2rem; align-items: start; padding: 1.4rem; }
.nf-video video { display: block; width: 100%; aspect-ratio: 9 / 16; background: #003366; border: var(--line); box-shadow: var(--shadow); }
.nf-txt h2 { margin: .4rem 0 .8rem; }
.news-meta { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin: 0; color: var(--muted); font-weight: 700; font-size: .9rem; }
.news-feat .checks { margin: 1rem 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.news-feat .checks li { padding-inline-start: 1.6rem; position: relative; }
.news-feat .checks li::before { content: ''; position: absolute; inset-inline-start: 0; top: .45em; width: .8rem; height: .8rem; background: var(--gold); border: var(--line); }
.news-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 1.2rem; margin-top: 1.6rem; }
.news-item { display: flex; gap: 1rem; align-items: flex-start; }
.news-item .disc { flex: none; }
.news-item h3 { margin: .5rem 0 .4rem; }
.news-item p { margin: 0 0 .9rem; }
@media (max-width: 760px) { .news-feat { grid-template-columns: 1fr; } .nf-video { max-width: 340px; margin: 0 auto; width: 100%; } }

/* ===== v9: course detail pages ===== */
.cp-top { padding-block: 1.6rem 0; }
.cp-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border: var(--line); background: var(--card); box-shadow: var(--shadow); }
.cp-fact { padding: .8rem 1rem; border-inline-end: 1px solid rgba(68,84,107,.25); }
.cp-fact:last-child { border-inline-end: 0; }
.cp-fact span { display: block; font-size: .75rem; font-weight: 800; letter-spacing: .06em; color: var(--muted); }
.cp-fact b { display: block; margin-top: .2rem; color: var(--ink); }
.cp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 2rem; align-items: start; }
.cp-main { display: grid; gap: 1.2rem; min-width: 0; }
.cp-sec { background: var(--card); border: var(--line); padding: 1.3rem 1.4rem; }
.cp-sec h2 { margin: 0 0 .8rem; font-size: 1.35rem; }
.cp-sec h3 { margin: 1.2rem 0 .6rem; font-size: 1.05rem; }
.cp-goal { font-size: 1.12rem; font-weight: 700; color: var(--ink); margin: 0; }
.cp-list { margin: 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.cp-list li { position: relative; padding-inline-start: 1.5rem; }
.cp-list li::before { content: ''; position: absolute; inset-inline-start: 0; top: .5em; width: .7rem; height: .7rem; background: var(--gold); border: var(--line); }
.cp-pre { margin: 1rem 0 0; padding: .7rem .9rem; background: var(--soft, #F7F1E3); border-inline-start: 4px solid var(--blue); }
.cp-agenda { display: grid; gap: .5rem; }
.cp-agenda details { border: var(--line); background: var(--card); }
.cp-agenda summary { cursor: pointer; display: flex; align-items: center; gap: .7rem; padding: .7rem .9rem; font-weight: 800; color: var(--ink); list-style: none; }
.cp-agenda summary::-webkit-details-marker { display: none; }
.cp-agenda summary small { margin-inline-start: auto; color: var(--muted); font-weight: 600; }
.cp-agenda summary .jn, .cp-tabs .jn { display: grid; place-items: center; width: 28px; height: 28px; background: var(--gold); color: #003366; border: var(--line); }
.cp-agenda details[open] summary { background: var(--navy); color: #fff; }
.cp-agenda details[open] summary small { color: #F4E4C1; }
.cp-agenda ol { margin: 0; padding: .8rem 2.6rem 1rem 1.2rem; display: grid; gap: .35rem; }
[dir="ltr"] .cp-agenda ol { padding: .8rem 1.2rem 1rem 2.6rem; }
.cp-scroll { overflow-x: auto; }
.cp-cmp { width: 100%; min-width: 560px; border-collapse: collapse; }
.cp-cmp th, .cp-cmp td { border: 1px solid rgba(0,51,102,.25); padding: .6rem .7rem; text-align: start; vertical-align: top; font-size: .92rem; }
.cp-cmp thead th { background: var(--sand); color: #003366; }
.cp-cmp thead th.on { background: var(--navy); }
.cp-cmp thead th.on a { color: #fff; }
.cp-cmp a { color: inherit; font-weight: 800; }
.cp-faq details { border-bottom: 1px solid rgba(68,84,107,.3); padding: .7rem 0; }
.cp-faq summary { cursor: pointer; font-weight: 800; color: var(--ink); }
.cp-faq p { margin: .5rem 0 0; }
.cp-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: var(--line); margin-bottom: 1rem; }
.cp-tabs button { font: inherit; font-weight: 800; padding: .7rem .5rem; border: 0; background: var(--card); color: var(--ink); cursor: pointer; display: grid; gap: .1rem; }
.cp-tabs button + button { border-inline-start: var(--line); }
.cp-tabs button small { font-weight: 600; color: var(--muted); }
.cp-tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.cp-tabs button[aria-selected="true"] small { color: #F4E4C1; }
.cp-aside { position: sticky; top: 84px; }
.cp-reg { display: grid; gap: .8rem; padding: 1.3rem; }
.cp-reg h3 { margin: 0; }
.cp-reg .kicker { margin: 0; }
.cp-sess { display: grid; gap: .5rem; }
.cp-sess > .tag { justify-self: start; margin: 0; }
.cp-s { display: flex; gap: .6rem; align-items: flex-start; padding: .6rem .7rem; border: var(--line); background: var(--card); cursor: pointer; }
.cp-s:has(input:checked) { background: var(--soft, #F7F1E3); box-shadow: inset 4px 0 0 var(--gold); }
.cp-s input { margin-top: .3rem; accent-color: #1236A5; }
.cp-s-in b { display: block; color: var(--ink); }
.cp-s-in small { display: block; color: var(--muted); }
.cal { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; padding: .1rem .2rem .4rem; font-size: .85rem; }
.cal span { color: var(--muted); font-weight: 700; }
.cal a, .cal button { font: inherit; font-weight: 800; padding: .25rem .6rem; border: var(--line); background: var(--card); color: var(--ink); cursor: pointer; text-decoration: none; }
.cal a:hover, .cal button:hover { background: var(--gold); color: #003366; }
.cp-pickset { border: 0; padding: 0; margin: 0; }
.cp-pickset legend { font-weight: 800; font-size: .9rem; margin-bottom: .4rem; color: var(--ink); }
.cp-pickset[hidden] { display: none; }
.cp-rel { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 1rem; margin-top: 1.4rem; }
.cp-relc { display: grid; gap: .3rem; color: var(--ink); text-decoration: none; padding: 1rem; }
.cp-relc small { color: var(--muted); }
.cp-relc:hover { background: var(--gold); color: #003366; }
@media (max-width: 980px) { .cp-grid { grid-template-columns: 1fr; } .cp-aside { position: static; } }
.cp-fact b, .cp-fact b span { font-size: 1rem; font-weight: 800; }

/* ===== v10: accreditations, offices, WhatsApp, PDF ===== */
.marks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1rem; align-items: stretch; }
.marks li { display: grid; place-items: center; gap: .4rem; min-width: 150px; min-height: 110px; padding: .8rem 1rem; background: #fff; border: var(--line); box-shadow: var(--shadow); flex: 1 1 150px; }
.marks img { max-height: 58px; max-width: 200px; width: auto; height: auto; }
.marks small { color: #44546B; font-weight: 700; font-size: .78rem; text-align: center; }
.marks .acc-chip b { font-family: 'Montserrat', sans-serif; font-size: 1.5rem; color: #1236A5; letter-spacing: .04em; }
.marks .acc-chip span { color: #003366; font-weight: 700; font-size: .85rem; text-align: center; }
.marks.mini { gap: .5rem; margin-top: .6rem; }
.marks.mini li { min-width: 0; min-height: 64px; padding: .4rem .6rem; box-shadow: none; flex: 1 1 110px; }
.marks.mini img { max-height: 40px; max-width: 140px; }
.irca-mark { display: block; height: auto; background: #fff; }
.irca-mark.big { width: 240px; margin-bottom: 1rem; padding: .5rem .7rem; border: var(--line); }
.irca-mark.fact { width: 120px; padding: 2px; }
.irca-mark.aside { width: 100%; max-width: 230px; padding: .4rem .5rem; border: var(--line); }
.irca-mark.sec { width: 200px; margin: 0 0 .8rem; padding: .4rem .5rem; border: var(--line); }
.off-tabs { display: flex; flex-wrap: wrap; border-bottom: 1.5px solid rgba(0,51,102,.2); }
.off-tabs button { font: inherit; font-weight: 800; padding: .7rem 1.1rem; background: none; border: 0; border-bottom: 4px solid transparent; color: var(--muted); cursor: pointer; display: grid; text-align: start; }
.off-tabs button small { font-weight: 600; font-size: .78rem; }
.off-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: #1236A5; }
.off-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: 1.4rem; border: var(--line); box-shadow: var(--shadow); background: #003366; color: #fff; min-height: 420px; }
.off-info { padding: 2rem; display: grid; align-content: start; gap: .15rem; }
.off-info h3 { color: #fff; margin: 0 0 .1rem; font-size: 1.4rem; }
.off-k { margin: 1rem 0 0; font-size: .74rem; letter-spacing: .14em; font-weight: 800; color: #D4A017; }
.off-co { margin: 0; color: #F4E4C1; }
.off-v { margin: 0; font-weight: 800; font-size: 1.08rem; color: #fff; }
.off-info .cta { margin-top: 1.4rem; }
.off-info .btn.ghost { color: #fff; border-color: #F4E4C1; }
.off-map { min-height: 320px; background: #F4E4C1; }
.off-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
@media (max-width: 860px) { .off-card { grid-template-columns: 1fr; } }
.wa-fab { position: fixed; z-index: 60; bottom: 18px; inset-inline-end: 18px; display: grid; justify-items: end; gap: .6rem; }
[dir="rtl"] .wa-fab { justify-items: start; }
.wa-btn { width: 58px; height: 58px; border-radius: 50%; border: 2px solid #003366; background: #25D366; color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 3px 3px 0 #003366; }
.wa-btn svg { width: 30px; height: 30px; }
.wa-menu { background: #fff; border: var(--line); box-shadow: var(--shadow); padding: .8rem; display: grid; gap: .4rem; min-width: 230px; color: #003366; }
.wa-menu p { margin: 0 0 .2rem; font-weight: 800; }
.wa-menu a { display: flex; justify-content: space-between; gap: .8rem; padding: .5rem .6rem; border: 1.5px solid #003366; color: #003366; text-decoration: none; font-weight: 700; }
.wa-menu a:hover { background: #25D366; color: #fff; }
.cp-pdf { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem; margin-top: 1rem; }
.cp-pdf > svg { flex: none; width: 34px; height: 34px; color: #1236A5; }
.cp-pdf b { display: block; color: var(--ink); }
.cp-pdf small { display: block; color: var(--muted); margin-bottom: .6rem; }
@media print { .wa-fab { display: none; } }
.cp-price { display: grid; grid-template-columns: 1fr auto; gap: .1rem .6rem; align-items: center; padding: .8rem .9rem; background: #003366; color: #fff; border: var(--line); }
.cp-price .pr-k { grid-column: 1 / -1; font-size: .75rem; letter-spacing: .1em; font-weight: 800; color: #D4A017; }
.cp-price .pr-v { font-size: 1.5rem; font-family: 'Montserrat', 'Tajawal', sans-serif; }
.cp-price select { font: inherit; font-weight: 800; padding: .25rem .4rem; border: 1.5px solid #F4E4C1; background: #003366; color: #fff; }
.cp-price small { grid-column: 1 / -1; color: #F4E4C1; display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; }
.cp-price .tag { font-size: .62rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ===== v10: home hook ===== */
.hook h1 .hl { color: #D4A017; }
.hook-card { background: #fff; color: #003366; border: 2px solid #003366; box-shadow: 8px 8px 0 #003366; padding: 1.3rem; display: grid; gap: .9rem; position: relative; }
.hook-top { display: flex; justify-content: space-between; align-items: center; }
.hook-badge { background: #D4A017; color: #003366; font-weight: 800; letter-spacing: .08em; padding: .3rem .7rem; border: 1.5px solid #003366; font-size: .82rem; }
.hook-n { font-family: 'Montserrat', sans-serif; font-weight: 800; color: #44546B; }
.hook-bar { height: 10px; border: 1.5px solid #003366; background: #F4E4C1; }
.hook-bar i { display: block; height: 100%; width: 100%; background: #1236A5; transform-origin: left; }
[dir="rtl"] .hook-bar i { transform-origin: right; }
.hook-bar.run i { animation: hookt 10s linear forwards; }
.hook-bar.low i { background: #B3261E; }
@keyframes hookt { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.hook-q .face { width: 70px; height: 70px; }
.hook-q .say-txt { font-size: 1.12rem; font-weight: 800; color: #003366; }
.hook-opts { display: grid; gap: .5rem; }
.hook-opts button { font: inherit; font-weight: 800; text-align: start; padding: .75rem .9rem; border: 1.5px solid #003366; background: #fff; color: #003366; cursor: pointer; box-shadow: 3px 3px 0 #003366; transition: transform .12s; }
.hook-opts button:hover:not(:disabled) { transform: translate(-1px, -1px); background: #FBF6EA; }
.hook-opts button.ok { background: #006765; color: #fff; }
.hook-opts button.no { background: #B3261E; color: #fff; }
.hook-opts button:disabled { cursor: default; }
.hook-res { padding: .8rem .9rem; background: #003366; color: #fff; border: 1.5px solid #003366; }
.hook-res b { color: #D4A017; display: block; margin-bottom: .2rem; }
.hook-res a { color: #fff; font-weight: 800; }
.next-run { display: inline-flex; flex-wrap: wrap; gap: .3rem .6rem; align-items: center; margin: 1rem 0 .4rem; padding: .55rem .8rem; background: rgba(0,0,0,.18); border: 1.5px solid #D4A017; color: #fff; text-decoration: none; font-weight: 700; }
.next-run b { color: #D4A017; }
.next-run .dot { width: 9px; height: 9px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 0 rgba(61,220,132,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }
@media (prefers-reduced-motion: reduce) { .next-run .dot { animation: none; } }
[dir="rtl"] .off-info .ltr { text-align: right; }
.off-map { position: relative; }
.off-map:before { content: 'Google Maps'; position: absolute; inset: 0; display: grid; place-items: center; color: #44546B; font-weight: 800; }
.off-map iframe { position: relative; }
/* CQI | IRCA logo comes on its own dark background */
.irca-mark, .irca-mark.big, .irca-mark.aside, .irca-mark.sec { background: #464541; padding: 0; border: var(--line); }
.irca-mark.fact { padding: 0; border: 0; width: 130px; }
.marks li:has(img[src="mk-cqi-irca.png"]) { background: #464541; }
.marks li:has(img[src="mk-cqi-irca.png"]) small { color: #F4E4C1; }
.marks li { min-width: 0; flex: 1 1 180px; overflow: hidden; }
.marks img { max-width: 100%; object-fit: contain; }
.marks li:has(img[src="mk-cqi-irca.png"]) img { max-height: 70px; }

/* ===== v12: calm contact page + one approvals band ===== */
.ct-top { padding-top: 2.4rem; }
.ct-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.6rem; align-items: start; }
.ct-form { display: grid; gap: 1rem; }
.ct-form h2 { margin: 0; font-size: 1.3rem; }
.ct-send { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.ct-send .fine { margin: 0; }
.ct-ch { display: grid; gap: .9rem; }
.ch { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; color: var(--ink); text-decoration: none; transition: transform .15s; }
.ch:hover { transform: translate(-2px, -2px); }
.ch small { display: block; color: var(--muted); font-weight: 700; font-size: .82rem; }
.ch b { display: block; font-size: 1.12rem; color: var(--ink); text-align: start; }
.ch-i { flex: none; width: 46px; height: 46px; display: grid; place-items: center; background: #1236A5; color: #fff; border: var(--line); }
.ch-i.wa { background: #25D366; }
.ch-i svg { width: 22px; height: 22px; }
.off-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.4rem; align-items: stretch; }
.off-list { display: grid; gap: .7rem; }
.off-item { font: inherit; text-align: start; display: grid; gap: .25rem; padding: .95rem 1.1rem; background: var(--card); color: var(--ink); border: var(--line); cursor: pointer; position: relative; }
.off-item[aria-selected="true"] { box-shadow: var(--shadow); border-inline-start: 6px solid #D4A017; }
.off-item b { font-size: 1.08rem; }
.off-c { font-size: .72rem; font-weight: 800; letter-spacing: .1em; color: #1236A5; text-transform: uppercase; }
.off-a { color: var(--muted); font-size: .92rem; line-height: 1.55; }
.off-l { font-size: .85rem; font-weight: 700; color: var(--ink); }
.off-l a { color: #1236A5; }
.off-grid .off-map { border: var(--line); box-shadow: var(--shadow); min-height: 420px; background: #F4E4C1; }
.off-grid .off-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
@media (max-width: 900px) { .ct-grid, .off-grid { grid-template-columns: 1fr; } .off-grid .off-map, .off-grid .off-map iframe { min-height: 300px; } }
.foot-acc { margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid rgba(244,228,193,.25); }
.foot-acc .foot-h { margin-bottom: .7rem; }

/* ===== v12: games philosophy ===== */
.lead-ink { font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.know { padding: 1.3rem; }
.know .kicker { margin: 0 0 .6rem; }
.know-t { width: 100%; border-collapse: collapse; }
.know-t th { text-align: start; padding: .6rem .7rem; font-size: .85rem; }
.know-t th:first-child { background: #F4E4C1; color: #44546B; }
.know-t th:last-child { background: #003366; color: #fff; }
.know-t td { padding: .7rem; border-bottom: 1px solid rgba(0,51,102,.18); vertical-align: top; font-size: .95rem; }
.know-t td:first-child { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(179,38,30,.5); }
.know-t td:last-child { font-weight: 800; color: var(--ink); }
.loop { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: none; }
.loop li { position: relative; background: var(--card); border: var(--line); box-shadow: var(--shadow); padding: 1.1rem; display: grid; gap: .4rem; align-content: start; }
.loop li:not(:last-child)::after { content: '→'; position: absolute; inset-inline-end: -1.05rem; top: 50%; transform: translateY(-50%); font-weight: 800; color: #D4A017; font-size: 1.3rem; z-index: 1; }
[dir="rtl"] .loop li:not(:last-child)::after { content: '←'; }
.loop .jn { display: grid; place-items: center; width: 34px; height: 34px; background: #D4A017; color: #003366; border: var(--line); font-weight: 800; }
.loop b { color: var(--ink); font-size: 1.05rem; }
.loop small { color: var(--muted); font-size: .92rem; line-height: 1.55; }
@media (max-width: 900px) { .loop { grid-template-columns: 1fr 1fr; } .loop li::after { display: none; } }
@media (max-width: 520px) { .loop { grid-template-columns: 1fr; } }
.g2j { width: 100%; min-width: 620px; border-collapse: collapse; background: var(--card); border: var(--line); }
.g2j th { background: #003366; color: #fff; text-align: start; padding: .7rem .8rem; }
.g2j td { padding: .75rem .8rem; border-bottom: 1px solid rgba(0,51,102,.18); vertical-align: top; }
.g2j td:last-child { font-weight: 700; color: var(--ink); }

/* ===== v13: home "new in the standards" slider ===== */
.news-hero { padding-block: 2.2rem 2.4rem; }
.nh-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.nh-head .kicker { margin: 0; }
.nh-ctrl { display: flex; align-items: center; gap: .4rem; }
.nh-btn { width: 36px; height: 36px; border: 1.5px solid #F4E4C1; background: transparent; color: #fff; font-size: 1.2rem; font-weight: 800; cursor: pointer; display: grid; place-items: center; }
.nh-btn:hover { background: #D4A017; color: #003366; border-color: #D4A017; }
.nh-pp { font-size: .7rem; letter-spacing: -.1em; }
.nh-count { color: #F4E4C1; font-family: 'Montserrat', sans-serif; font-weight: 700; min-width: 3.2rem; text-align: center; }
.nh-bar { height: 4px; background: rgba(244,228,193,.25); margin: .8rem 0 1.4rem; }
.nh-bar i { display: block; height: 100%; width: 100%; background: #D4A017; transform: scaleX(0); transform-origin: left; }
[dir="rtl"] .nh-bar i { transform-origin: right; }
.nh-bar.run i { animation: nhrun 5s linear forwards; }
@keyframes nhrun { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.nh-track { display: grid; }
.nh-slide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2.4rem; align-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .5s, transform .5s, visibility .5s; }
.nh-slide.on { opacity: 1; visibility: visible; transform: none; }
.nh-date { margin: 0 0 .5rem; display: inline-block; padding: .25rem .7rem; background: #D4A017; color: #003366; font-weight: 800; border: 1.5px solid #003366; font-size: .88rem; }
.news-hero h1 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); line-height: 1.15; margin: .3rem 0 1rem; }
.nh-pts { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .5rem; }
.nh-pts li { position: relative; padding-inline-start: 1.5rem; color: #fff; font-weight: 600; font-size: 1.02rem; }
.nh-pts li::before { content: ''; position: absolute; inset-inline-start: 0; top: .5em; width: .65rem; height: .65rem; background: #D4A017; border: 1.5px solid #003366; }
.nh-so { margin: 0 0 1.2rem; color: #F4E4C1; }
.nh-so b { color: #fff; }
.nh-src { margin: .9rem 0 0; font-size: .8rem; color: rgba(244,228,193,.8); }
.nh-src a { color: #F4E4C1; }
.nh-art { position: relative; background: #fff; color: #003366; border: 2px solid #003366; box-shadow: 10px 10px 0 #003366; min-height: 300px; padding: 2rem 1.6rem; display: grid; align-content: center; overflow: hidden; }
.nh-art::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(#D4A017 1.2px, transparent 1.4px); background-size: 12px 12px; opacity: .35; }
.nh-art > * { position: relative; }
.nh-stamp { position: absolute; top: 1rem; inset-inline-end: 1rem; padding: .3rem .8rem; border: 3px solid #B3261E; color: #B3261E; font-weight: 800; letter-spacing: .1em; transform: rotate(-6deg); font-family: 'Montserrat', 'Tajawal', sans-serif; background: #fff; }
.nh-code { font-family: 'Montserrat', sans-serif; font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1; direction: ltr; text-align: start; }
.nh-ed { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.8rem; color: #1236A5; direction: ltr; text-align: start; }
.nh-tag { margin-top: .6rem; display: inline-block; justify-self: start; padding: .3rem .7rem; background: #003366; color: #fff; font-weight: 700; }
.nh-face { position: absolute; bottom: -10px; inset-inline-end: 1.2rem; width: 110px; height: 110px; }
.nh-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; margin-top: 1.8rem; }
.nh-dots { display: flex; gap: .4rem; }
.nh-dots button { font: inherit; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: .78rem; padding: .35rem .6rem; border: 1.5px solid #F4E4C1; background: transparent; color: #F4E4C1; cursor: pointer; }
.nh-dots button[aria-selected="true"] { background: #D4A017; color: #003366; border-color: #D4A017; }
.nh-foot .next-run, .nh-foot .rate-chip { margin: 0; }
@media (max-width: 860px) { .nh-slide { grid-template-columns: 1fr; gap: 1.4rem; } .nh-art { min-height: 200px; } .nh-face { width: 84px; height: 84px; } }
@media (prefers-reduced-motion: reduce) { .nh-slide { transition: none; } }
.hook-sec .hook-card { max-width: 520px; justify-self: end; width: 100%; }
.nh-art { padding-top: 4.4rem; }
.nh-stamp { top: 1.1rem; }

/* ===== v14: game library ===== */
.pband.blue { background: #1236A5; }
.gl-tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .6rem; }
.gl-tab { font: inherit; display: grid; justify-items: center; gap: .3rem; padding: .8rem .5rem; background: var(--card); color: var(--ink); border: var(--line); cursor: pointer; text-align: center; transition: transform .15s; }
.gl-tab:hover { transform: translateY(-3px); }
.gl-tab[aria-selected="true"] { background: #003366; color: #fff; box-shadow: 4px 4px 0 #D4A017; }
.gl-tab b { font-size: .95rem; line-height: 1.3; }
.gl-tab small { font-size: .75rem; color: var(--muted); }
.gl-tab[aria-selected="true"] small { color: #F4E4C1; }
.gl-ic { width: 44px; height: 44px; display: grid; place-items: center; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: .85rem; color: #fff; border: 1.5px solid #003366; }
.gl-ic.red { background: #B3261E; } .gl-ic.teal { background: #006765; } .gl-ic.blue { background: #1236A5; } .gl-ic.gold { background: #D4A017; color: #003366; } .gl-ic.navy { background: #003366; border-color: #F4E4C1; }
.gl-panel { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.8rem; margin-top: 1.6rem; align-items: start; }
.gl-h { margin: 0 0 .6rem; font-size: .78rem; font-weight: 800; letter-spacing: .12em; color: #1236A5; text-transform: uppercase; }
#site[data-lang="ar"] .gl-h { letter-spacing: 0; font-size: .9rem; }
.gl-stage { display: grid; }
.gl-sl { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.gl-sl.on { opacity: 1; visibility: visible; }
.gl-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; margin: 1rem 0 1.4rem; }
.gl-thumbs button { font: inherit; font-size: .78rem; font-weight: 700; text-align: start; padding: .5rem .6rem; border: var(--line); background: var(--card); color: var(--ink); cursor: pointer; display: flex; gap: .4rem; align-items: center; direction: ltr; font-family: 'Montserrat', sans-serif; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.gl-thumbs .n { flex: none; width: 20px; height: 20px; display: grid; place-items: center; background: #D4A017; color: #003366; font-weight: 800; }
.gl-thumbs button[aria-pressed="true"] { background: #003366; color: #fff; }
.gl-props { display: flex; gap: 1rem; flex-wrap: wrap; }
.gl-props .pcard { flex: 1 1 200px; }
.gl-props .pcard:nth-child(1) { transform: rotate(-1.5deg); } .gl-props .pcard:nth-child(2) { transform: rotate(1.5deg); }
.gl-info { padding: 1.4rem; display: grid; gap: .9rem; }
.gl-info h3 { margin: 0; font-size: 1.4rem; }
.gl-goal { margin: 0; padding: .7rem .9rem; background: #F7F1E3; border-inline-start: 4px solid #D4A017; color: var(--ink); }
.gl-facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border: var(--line); }
.gl-facts div { padding: .6rem .7rem; border-bottom: 1px solid rgba(0,51,102,.15); }
.gl-facts div:nth-child(odd) { border-inline-end: 1px solid rgba(0,51,102,.15); }
.gl-facts dt { font-size: .72rem; font-weight: 800; color: var(--muted); letter-spacing: .08em; }
.gl-facts dd { margin: .15rem 0 0; font-weight: 700; color: var(--ink); font-size: .92rem; }
.gl-steps { margin: 0; padding: 0; list-style: none; counter-reset: gs; display: grid; gap: .45rem; }
.gl-steps li { counter-increment: gs; position: relative; padding-inline-start: 2.1rem; min-height: 1.6rem; }
.gl-steps li::before { content: counter(gs); position: absolute; inset-inline-start: 0; top: 0; width: 1.5rem; height: 1.5rem; display: grid; place-items: center; background: #003366; color: #fff; font-weight: 800; font-size: .8rem; }
@media (max-width: 980px) { .gl-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); } .gl-panel { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .gl-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gl-thumbs { grid-template-columns: 1fr 1fr; } .gl-facts { grid-template-columns: 1fr; } .gl-facts div:nth-child(odd) { border-inline-end: 0; } }

/* ===== v14: calmer slider visual — the new edition in front of the old one ===== */
.news-hero .nh-art { background: none; border: 0; box-shadow: none; padding: 0; min-height: 340px; display: block; position: relative; overflow: visible; }
.news-hero .nh-art::before { display: none; }
.bk { position: absolute; width: 58%; aspect-ratio: 210 / 297; display: grid; align-content: start; padding: 9% 9%; border: 2px solid #003366; font-family: 'Montserrat', sans-serif; direction: ltr; text-align: left; }
.bk.old { inset-inline-start: 4%; top: 6%; background: #E9EDF5; color: #8A97AE; transform: rotate(-6deg); box-shadow: 6px 6px 0 rgba(0,51,102,.35); }
.bk.new { inset-inline-end: 4%; top: 0; background: #003366; color: #fff; box-shadow: 10px 10px 0 #D4A017; transform: rotate(3deg); }
.bk-iso { font-weight: 700; font-size: clamp(.8rem, 1.4vw, 1rem); letter-spacing: .3em; opacity: .85; }
.bk b { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1; margin-top: .2em; letter-spacing: -.01em; }
.bk-ed { justify-self: start; margin-top: .6em; padding: .2em .6em; font-weight: 800; font-size: clamp(.9rem, 1.6vw, 1.2rem); border: 1.5px solid currentColor; }
.bk.new .bk-ed { background: #D4A017; color: #003366; border-color: #D4A017; }
.bk-t { margin-top: 1.1em; font-size: clamp(.68rem, 1vw, .8rem); line-height: 1.45; color: #F4E4C1; max-width: 90%; }
.bk-lines { position: absolute; inset-inline: 9%; bottom: 9%; display: grid; gap: 7px; }
.bk-lines i { display: block; height: 3px; background: rgba(244,228,193,.35); }
.bk-lines i:nth-child(2) { width: 80%; } .bk-lines i:nth-child(3) { width: 55%; }
.bk-new { position: absolute; top: -14px; inset-inline-end: -14px; background: #B3261E; color: #fff; font-weight: 800; font-size: .72rem; letter-spacing: .14em; padding: .35rem .7rem; border: 2px solid #fff; font-family: 'Montserrat', 'Tajawal', sans-serif; }
.tl { background: #fff; color: #003366; border: 2px solid #003366; box-shadow: 10px 10px 0 #D4A017; padding: 1.8rem 1.6rem; display: grid; gap: 1.2rem; margin-top: 1.4rem; }
.tl-k { margin: 0; font-weight: 800; font-size: 1.15rem; }
.tl-bar { height: 12px; background: #E9EDF5; border: 1.5px solid #003366; position: relative; }
.tl-fill { position: absolute; inset-block: 0; inset-inline-start: 0; width: 6%; background: #D4A017; }
.tl-pts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.tl-pts span { display: grid; gap: .15rem; }
.tl-pts span:nth-child(2) { text-align: center; } .tl-pts span:nth-child(3) { text-align: end; }
.tl-pts b { font-family: 'Montserrat', sans-serif; font-size: 1.15rem; }
.tl-pts small { color: #44546B; font-size: .8rem; }
.tl-note { margin: 0; padding-top: .8rem; border-top: 1px dashed #9AA8BC; color: #44546B; }
@media (max-width: 860px) { .news-hero .nh-art { min-height: 300px; max-width: 420px; width: 100%; justify-self: center; } }

/* ---------- v16 · account cards (per-service pipeline) ---------- */
.acct-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.acct-who h2 { margin: .1rem 0 .2rem; overflow-wrap: anywhere; }
.acct-act { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.linkbtn { background: none; border: 0; padding: .4rem .2rem; font: inherit; font-weight: 700; color: var(--muted); text-decoration: underline; cursor: pointer; }
.bkc { display: grid; gap: .9rem; margin-top: 1.1rem; padding: clamp(1rem, 3vw, 1.6rem); min-width: 0; }
.bkc-head { display: grid; gap: .5rem; }
.bkc-head h3 { font-size: 1.2rem; margin: 0; overflow-wrap: anywhere; }
.bkc-meta { display: flex; flex-wrap: wrap; gap: .4rem; }
.pnow { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .5rem; }
.pnow .who { font-size: .78rem; font-weight: 800; padding: .15rem .55rem; border: 1.5px solid var(--navy); background: var(--card); }
.pnow .who.you { background: var(--gold); color: var(--navy); }
.pbar { display: flex; gap: 4px; }
.pbar i { flex: 1; height: 8px; background: var(--hair); border-radius: 4px; }
.pbar i.done { background: var(--teal); }
.pbar i.now { background: var(--gold); outline: 1.5px solid var(--navy); }
.bkc-now { display: flex; align-items: center; gap: .9rem; padding: .8rem .9rem; background: var(--soft); border-inline-start: 4px solid var(--gold); }
.bkc-now svg { flex: none; width: 56px; height: 56px; }
.bkc-now p { margin: 0; min-width: 0; }
.bkc .cta { margin: 0; }
.bkc .cmini { margin-top: 0; flex-wrap: wrap; }
.pall summary { cursor: pointer; font-weight: 700; color: var(--muted); font-size: .9rem; }
.pall ol { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; gap: .35rem; }
.pall li { display: flex; align-items: center; gap: .55rem; color: var(--muted); font-size: .92rem; }
.pall li .n { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--hair); font-size: .75rem; font-weight: 800; }
.pall li.done { color: var(--ink); } .pall li.done .n { background: var(--teal); border-color: var(--teal); color: #fff; }
.pall li.now { color: var(--ink); font-weight: 800; } .pall li.now .n { background: var(--gold); border-color: var(--navy); color: var(--navy); }
@media (max-width: 560px) { .cmini .qr { width: 76px; height: 76px; } .acct-act .btn { flex: 1 1 auto; } }

/* ---------- v16 · about: values, goals, founder, team ---------- */
.vm-grid { margin-top: 1rem; }
.vm-card .vm { margin: .6rem 0 0; font-size: 1.08rem; line-height: 1.7; }
.sub-h { margin: 1.8rem 0 .8rem; font-size: 1.15rem; }
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: .8rem; }
.values li { display: grid; gap: .3rem; align-content: start; padding: 1rem; background: var(--card); border: var(--line); }
.values .disc { width: 38px; height: 38px; }
.values small { color: var(--muted); line-height: 1.5; }
.goals { margin: 0; padding: 0; list-style: none; counter-reset: g; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: .8rem; }
.goals li { counter-increment: g; display: flex; gap: .7rem; align-items: flex-start; padding: .9rem 1rem; background: var(--soft); border-inline-start: 4px solid var(--gold); line-height: 1.55; }
.goals li::before { content: counter(g); flex: none; display: grid; place-items: center; width: 28px; height: 28px; background: var(--navy); color: #fff; font-weight: 800; font-family: 'Montserrat', sans-serif; }
.founder { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: clamp(1.2rem, 4vw, 2.6rem); align-items: center; }
.founder h2 { margin: .2rem 0 .6rem; }
.ph-slot { margin: 0; position: relative; aspect-ratio: 4 / 5; background: var(--soft); border: var(--line); overflow: hidden; display: grid; }
.ph-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder-ph { box-shadow: 8px 8px 0 var(--gold); }
.ph-empty { display: grid; place-items: center; align-content: center; gap: .4rem; color: var(--muted); border: 2px dashed var(--hair); margin: 8px; text-align: center; }
.ph-empty b { font-family: 'Montserrat', sans-serif; font-size: clamp(1.4rem, 4vw, 2.4rem); color: var(--navy); opacity: .35; letter-spacing: .05em; }
.ph-empty small { font-size: .78rem; }
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 170px), 1fr)); gap: 1.1rem .9rem; }
.team li { display: grid; gap: .25rem; align-content: start; min-width: 0; }
.team .ph-slot { margin-bottom: .45rem; }
.team b { font-size: .98rem; line-height: 1.35; }
.team small { color: var(--muted); line-height: 1.4; }
@media (max-width: 700px) { .founder { grid-template-columns: 1fr; } .founder-ph { max-width: 240px; } }

/* ---------- v16 · edit mode ---------- */
.ed-bar { position: fixed; inset-inline: 0; bottom: 0; z-index: 9999; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; padding: .7rem 1rem; background: var(--navy); color: #fff; box-shadow: 0 -4px 0 var(--gold); font-size: .92rem; }
.ed-bar span { flex: 1 1 200px; opacity: .9; }
.ed-bar .btn { background: #fff; }
body.editing { padding-bottom: 70px; }
body.editing #waFab { display: none; }
body.editing [data-t]:hover, body.editing img:hover, body.editing [data-img]:hover { outline: 2px dashed var(--gold); outline-offset: 2px; cursor: pointer; }
body.editing .ph-empty small::after { content: " · ✎"; }
.ed-dlg { width: min(560px, calc(100vw - 32px)); border: var(--line); padding: 1.2rem; box-shadow: 8px 8px 0 var(--gold); }
.ed-dlg::backdrop { background: rgba(0, 20, 50, .45); }
.ed-dlg h3 { margin: 0 0 .8rem; }
.ed-dlg label { display: grid; gap: .3rem; margin-bottom: .7rem; font-weight: 700; }
.ed-dlg textarea { font: inherit; padding: .6rem; border: var(--line); min-height: 4.5rem; resize: vertical; width: 100%; box-sizing: border-box; }
.linkbtn.on-dark { color: #F4E4C1; }

/* ---------- v17 · footer approvals: manga panels with a gold stamp ---------- */
.foot-acc { margin-top: 2rem; padding-top: 1.6rem; border-top: 1px dashed rgba(244,228,193,.3); }
.fa-head { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.2rem; }
.fa-stamp { color: #D4A017; display: grid; place-items: center; transform: rotate(-8deg); flex: none; }
.fa-head .foot-h { margin: 0; }
.fa-sub { margin: .15rem 0 0; color: #F4E4C1; opacity: .85; font-size: .9rem; }
.fa-marks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.1rem; }
.fa-marks li { display: grid; gap: .6rem; min-width: 0; }
.fa-tile { height: 78px; display: grid; place-items: center; padding: .7rem .9rem; background: #fff; border: 2px solid #F4E4C1; box-shadow: 5px 5px 0 #D4A017; transition: transform .2s ease, box-shadow .2s ease; }
.fa-tile.dark { background: #464541; }
.fa-tile img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.fa-marks li:hover .fa-tile { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 #D4A017; }
.fa-cap { display: grid; gap: .1rem; line-height: 1.35; }
.fa-cap b { color: #fff; font-family: 'Montserrat', sans-serif; font-size: .85rem; letter-spacing: .03em; direction: ltr; text-align: start; }
.fa-cap small { color: #F4E4C1; opacity: .8; font-size: .78rem; }
@media (max-width: 860px) { .fa-marks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .fa-marks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .9rem; } .fa-tile { height: 66px; } .fa-marks li:first-child { grid-column: 1 / -1; } .fa-marks li:first-child .fa-tile { height: 74px; } }
@media (prefers-reduced-motion: reduce) { .fa-tile { transition: none; } }
.fa-tile { overflow: hidden; box-sizing: border-box; }
.fa-tile img { max-height: 52px; }
.fa-tile.dark { padding: .4rem .5rem; } .fa-tile.dark img { max-height: 60px; }
@media (max-width: 520px) { .fa-tile img { max-height: 44px; } .fa-tile.dark img { max-height: 58px; } }
.fa-tile { height: 84px; padding: .45rem .8rem; }
.fa-tile img[src="mk-iosh.png"], .fa-tile img[src="mk-iema.png"] { max-height: 72px; }
.fa-cap b { direction: inherit; unicode-bidi: isolate; }
@media (max-width: 520px) { .fa-tile { height: 72px; } .fa-tile img[src="mk-iosh.png"], .fa-tile img[src="mk-iema.png"] { max-height: 62px; } }
.irca-mark, .irca-mark.big, .irca-mark.aside, .irca-mark.sec, .irca-mark.fact { background: #464541; padding: 6px 9px; box-sizing: border-box; }

/* ---------- v18 · footer: manga panel CTA, calm columns, screentone ---------- */
.foot { position: relative; padding-block: 0 22px; margin-top: 0; background-color: var(--deep, #003366);
  background-image: radial-gradient(rgba(244,228,193,.07) 1.2px, transparent 1.4px); background-size: 14px 14px; background-position: 0 0; }
.foot::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: repeating-linear-gradient(90deg, #D4A017 0 46px, transparent 46px 58px); }
.f-cta { position: relative; top: -48px; margin-bottom: -16px; display: flex; align-items: center; gap: 1rem 1.4rem; flex-wrap: wrap;
  background: #FBF4E3; color: #003366; border: 2.5px solid #003366; box-shadow: 8px 8px 0 #D4A017; padding: .9rem 1.4rem; }
.f-cta > svg { flex: none; width: 74px; height: 74px; background: #fff; border: 2px solid #003366; border-radius: 50%; }
.f-cta-t { flex: 1 1 260px; min-width: 0; }
.f-cta-who { margin: 0; font-size: .78rem; font-weight: 800; color: #1236A5; letter-spacing: .04em; }
.f-cta-say { margin: .15rem 0 0; font-size: 1.12rem; line-height: 1.5; }
.f-cta-say strong { color: #003366; background: linear-gradient(transparent 62%, rgba(212,160,23,.45) 62%); }
.f-cta-b { display: flex; flex-wrap: wrap; gap: .6rem; }
.f-cta-b .btn svg { width: 20px; height: 20px; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr); gap: 2rem 3.5rem; align-items: start; }
.foot-logo { width: 210px; }
.foot-brand .fb-line { margin: .9rem 0 1rem; color: #F4E4C1; font-weight: 500; font-size: .92rem; line-height: 1.6; opacity: .9; }
.fb-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.fb-contact a { color: #fff; text-decoration: none; font-weight: 700; font-size: .92rem; font-family: 'Montserrat', sans-serif; border-bottom: 1px dashed rgba(244,228,193,.35); }
.fb-contact a:hover { color: #D4A017; border-color: #D4A017; }
.fb-cities { margin: .9rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.fb-cities > span { font-size: .76rem; font-weight: 700; color: #003366; background: #F4E4C1; padding: .15rem .55rem; }
.f-social { list-style: none; margin: 1.1rem 0 0; padding: 0; display: flex; gap: .55rem; }
.f-social a { display: grid; place-items: center; width: 40px; height: 40px; color: #F4E4C1; border: 1.5px solid rgba(244,228,193,.6); transition: transform .15s, background .15s, box-shadow .15s; }
.f-social a svg { width: 19px; height: 19px; }
.f-social a:hover { background: #D4A017; color: #003366; border-color: #D4A017; transform: translate(-2px, -2px); box-shadow: 3px 3px 0 #F4E4C1; }
.foot-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem 1.4rem; font-weight: 500; font-size: .92rem; }
.fc-h { margin: 0 0 .8rem; display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .06em; color: #003366; background: #D4A017; padding: .2rem .6rem; transform: skewX(-8deg); }
.fc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.foot-nav .fc a { display: inline-block; padding: .22rem 0; color: rgba(244,228,193,.9); text-decoration: none; background: linear-gradient(#D4A017, #D4A017) no-repeat 100% 100% / 0 2px; transition: background-size .2s, color .2s; }
[dir="ltr"] .foot-nav .fc a { background-position: 0 100%; }
.foot-nav .fc a:hover { color: #fff; background-size: 100% 2px; }
.fc-act { display: grid; gap: .5rem; align-content: start; }
.fc-act .fc-h { justify-self: start; }
.foot-nav .fc a.fa-btn { display: flex; align-items: center; gap: .5rem; padding: .55rem .7rem; color: #fff; text-decoration: none; font-weight: 700; border: 1.5px solid rgba(244,228,193,.45); background: rgba(255,255,255,.04); }
.foot-nav .fc a.fa-btn svg { width: 18px; height: 18px; color: #D4A017; flex: none; }
.foot-nav .fc a.fa-btn:hover { border-color: #D4A017; box-shadow: 4px 4px 0 #D4A017; }
.foot-line { margin-top: 1.8rem; padding-top: 1rem; border-top: 1px dashed rgba(244,228,193,.3); display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.6rem; justify-content: space-between; color: rgba(244,228,193,.8); font-size: .8rem; }
.fl-tag { font-family: 'Montserrat', sans-serif; font-weight: 700; letter-spacing: .14em; color: #D4A017; font-size: .7rem; direction: ltr; }
.fl-edit { font: inherit; font-weight: 700; color: #003366; background: #F4E4C1; border: 0; padding: .3rem .7rem; cursor: pointer; }
.fl-edit:hover { background: #D4A017; }
@media (max-width: 900px) { .foot-in { grid-template-columns: 1fr; } .foot-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .f-cta { padding: .9rem 1rem; top: -40px; } .f-cta > svg { width: 58px; height: 58px; } .f-cta-say { font-size: 1rem; } .f-cta-b { width: 100%; } .f-cta-b .btn { flex: 1 1 0; justify-content: center; } .foot-line { justify-content: flex-start; } }
@media (prefers-reduced-motion: reduce) { .f-social a, .foot-nav .fc a { transition: none; } }
main > section:last-child { padding-bottom: calc(clamp(26px, 4vw, 52px) + 44px); }
.foot-nav .fc a.fa-btn svg { display: block; align-self: center; margin: 0; }
.foot-nav .fc a.fa-btn span { line-height: 1.3; }
.foot-nav .fc a.fa-btn { background-image: none; }

/* ---------- v19 · CASCO in numbers: a manga strip of four panels ---------- */
.stx { list-style: none; margin: 1.8rem 0 .4rem; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 .2rem; counter-reset: none; }
.stx-p { filter: drop-shadow(6px 6px 0 #D4A017); min-width: 0; }
.stx-in { position: relative; height: 100%; box-sizing: border-box; display: grid; align-content: start; gap: .15rem; padding: 1.3rem 1.6rem 1.4rem; color: #003366;
  background: #FBF4E3 radial-gradient(rgba(0,51,102,.13) 1.1px, transparent 1.3px) 0 0 / 9px 9px;
  clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%); }
.stx-p:first-child .stx-in { clip-path: polygon(0 0, 100% 0, 95% 100%, 0 100%); }
.stx-p:last-child .stx-in { clip-path: polygon(5% 0, 100% 0, 100% 100%, 0 100%); }
[dir="rtl"] .stx-in { clip-path: polygon(0 0, 95% 0, 100% 100%, 5% 100%); }
[dir="rtl"] .stx-p:first-child .stx-in { clip-path: polygon(0 0, 100% 0, 100% 100%, 5% 100%); }
[dir="rtl"] .stx-p:last-child .stx-in { clip-path: polygon(0 0, 95% 0, 100% 100%, 0 100%); }
.stx-p.gold .stx-in { background: #D4A017 repeating-conic-gradient(from 0deg at 85% 110%, rgba(255,255,255,.16) 0 2deg, transparent 2deg 9deg); }
[dir="rtl"] .stx-p.gold .stx-in { background: #D4A017 repeating-conic-gradient(from 0deg at 15% 110%, rgba(255,255,255,.16) 0 2deg, transparent 2deg 9deg); }
.stx-no { position: absolute; top: .8rem; inset-inline-end: 1.6rem; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: .72rem; letter-spacing: .12em; opacity: .45; }
.stx-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #003366; color: #F4E4C1; margin-bottom: .5rem; }
.stx-ic svg { width: 20px; height: 20px; }
.stx-p.gold .stx-ic { background: #fff; color: #003366; border: 2px solid #003366; }
.stx-n { font-family: 'Montserrat', sans-serif; font-size: clamp(2.4rem, 4.4vw, 3.5rem); line-height: 1; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; direction: ltr; text-align: start; }
.stx-l { font-weight: 800; font-size: 1rem; }
.stx-c { margin-top: .35rem; font-size: .82rem; line-height: 1.45; opacity: .8; padding-top: .45rem; border-top: 1.5px dashed rgba(0,51,102,.3); }
@media (max-width: 860px) { .stx { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem .3rem; }
  .stx-in, .stx-p:first-child .stx-in, .stx-p:last-child .stx-in, [dir="rtl"] .stx-in, [dir="rtl"] .stx-p:first-child .stx-in, [dir="rtl"] .stx-p:last-child .stx-in { clip-path: polygon(0 0, 100% 0, 97% 100%, 0 100%); } }
@media (max-width: 400px) { .stx-in { padding: 1rem 1.1rem 1.1rem; } .stx-no { inset-inline-end: 1.1rem; } .stx-c { font-size: .76rem; } }
.stx-n { direction: ltr; unicode-bidi: isolate; justify-self: start; }
[dir="rtl"] .stx-n { justify-self: start; }
.stx-p.gold { filter: drop-shadow(6px 6px 0 #F4E4C1); }

/* ---------- v19 · assistant (Salma) ---------- */
.bot { position: fixed; z-index: 70; bottom: 18px; inset-inline-start: 18px; display: grid; justify-items: start; gap: .6rem; max-width: calc(100vw - 36px); }
.bot-fab { display: flex; align-items: center; gap: .5rem; padding: 4px 14px 4px 4px; background: #FBF4E3; color: #003366; border: 2px solid #003366; border-radius: 40px; box-shadow: 4px 4px 0 #D4A017; font: inherit; font-weight: 800; font-size: .9rem; cursor: pointer; }
[dir="rtl"] .bot-fab { padding: 4px 4px 4px 14px; }
.bot-fab svg { width: 44px; height: 44px; background: #fff; border-radius: 50%; border: 1.5px solid #003366; }
.bot-fab:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 #D4A017; }
.bot.open .bot-fab span { display: none; }
.bot-teaser { position: relative; max-width: 250px; padding: .7rem 2rem .7rem .9rem; background: #fff; color: #003366; border: 2px solid #003366; box-shadow: 4px 4px 0 #D4A017; font-weight: 700; font-size: .92rem; cursor: pointer; animation: botIn .35s ease-out; }
[dir="rtl"] .bot-teaser { padding: .7rem .9rem .7rem 2rem; }
.bot-teaser p { margin: 0; }
.bot-teaser::after { content: ""; position: absolute; bottom: -10px; inset-inline-start: 22px; border: 8px solid transparent; border-top-color: #003366; border-bottom: 0; }
.bot-x { position: absolute; top: 2px; inset-inline-end: 4px; background: none; border: 0; font-size: 1.2rem; line-height: 1; color: #44546B; cursor: pointer; padding: .2rem .35rem; }
.bot-panel { width: min(370px, calc(100vw - 36px)); height: min(540px, calc(100vh - 120px)); display: flex; flex-direction: column; background: #FBF4E3; border: 2.5px solid #003366; box-shadow: 7px 7px 0 #D4A017; animation: botIn .25s ease-out; }
.bot-head { display: flex; align-items: center; gap: .6rem; padding: .6rem .7rem; background: #003366; color: #fff; }
.bot-head svg { width: 42px; height: 42px; background: #fff; border-radius: 50%; flex: none; }
.bot-head div { flex: 1; display: grid; line-height: 1.25; }
.bot-head small { color: #F4E4C1; font-size: .76rem; }
.bot-ic { background: none; border: 1.5px solid rgba(244,228,193,.5); color: #F4E4C1; width: 30px; height: 30px; display: grid; place-items: center; font-size: 1.05rem; cursor: pointer; }
.bot-ic:hover { background: #D4A017; color: #003366; border-color: #D4A017; }
.bot-log { flex: 1; overflow-y: auto; padding: .9rem .8rem 1rem; display: flex; flex-direction: column; gap: .55rem; background: radial-gradient(rgba(0,51,102,.08) 1px, transparent 1.2px) 0 0 / 10px 10px; }
.bot-msg { max-width: 88%; padding: .55rem .8rem; line-height: 1.55; font-size: .93rem; border: 1.5px solid #003366; animation: botIn .2s ease-out; }
.bot-msg.her { align-self: flex-start; background: #fff; color: #003366; border-radius: 0 14px 14px 14px; }
[dir="rtl"] .bot-msg.her { border-radius: 14px 0 14px 14px; }
.bot-msg.me { align-self: flex-end; background: #003366; color: #fff; border-radius: 14px 0 14px 14px; font-weight: 700; }
[dir="rtl"] .bot-msg.me { border-radius: 0 14px 14px 14px; }
.bot-opts { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .1rem; }
.bot-opt { font: inherit; font-size: .88rem; font-weight: 700; color: #003366; background: #fff; border: 1.5px solid #003366; border-radius: 20px; padding: .4rem .8rem; cursor: pointer; text-align: start; }
.bot-opt:hover, .bot-opt:focus-visible { background: #D4A017; }
.bot-opts .btn.sm { font-size: .86rem; }
.bot-back { font: inherit; font-size: .82rem; color: #44546B; background: none; border: 0; text-decoration: underline; cursor: pointer; padding: .3rem .2rem; }
.bot-dots { display: inline-flex; gap: 4px; padding: .2rem 0; }
.bot-dots i { width: 6px; height: 6px; border-radius: 50%; background: #003366; opacity: .35; animation: botDot 1s infinite; }
.bot-dots i:nth-child(2) { animation-delay: .15s; } .bot-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes botDot { 50% { opacity: 1; transform: translateY(-2px); } }
@keyframes botIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
body.editing .bot { display: none; }
@media (max-width: 520px) { .bot { bottom: 14px; inset-inline-start: 12px; } .bot-fab span { display: none; } .bot-fab { padding: 3px; } [dir="rtl"] .bot-fab { padding: 3px; } .bot-panel { height: calc(100vh - 100px); } }
@media (prefers-reduced-motion: reduce) { .bot-teaser, .bot-panel, .bot-msg { animation: none; } .bot-dots i { animation: none; } }
@media print { .bot { display: none; } }
.bot-panel { padding: 0 !important; overflow: hidden; }

/* ---------- v20 · About intro: what we do + offices panel ---------- */
.co-split { align-items: center; }
.co-do { list-style: none; margin: 1.1rem 0 .2rem; padding: 0; display: grid; gap: .7rem; }
.co-do li { display: flex; gap: .8rem; align-items: center; padding: .7rem .9rem; background: var(--card); border: var(--line); border-inline-start: 5px solid var(--gold); }
.co-do .disc { flex: none; width: 40px; height: 40px; margin: 0; }
.co-do div { display: grid; gap: .1rem; min-width: 0; }
.co-do b { font-size: 1rem; }
.co-do small { color: var(--muted); font-size: .86rem; line-height: 1.45; }
.geo { position: relative; margin: 0; aspect-ratio: 5 / 4.4; background: #003366 radial-gradient(rgba(244,228,193,.13) 1.2px, transparent 1.4px) 0 0 / 13px 13px; border: 2.5px solid #003366; box-shadow: 9px 9px 0 #D4A017; overflow: hidden; direction: ltr; }
.geo::after { content: ""; position: absolute; inset: 10px; border: 1.5px dashed rgba(244,228,193,.25); pointer-events: none; }
.geo-top { position: absolute; top: 18px; right: 22px; text-align: right; color: #fff; display: grid; gap: .1rem; z-index: 2; }
.geo-top b { font-size: 1.15rem; color: #D4A017; }
.geo-top small { color: #F4E4C1; opacity: .85; }
.geo-route { position: absolute; inset: 0; width: 100%; height: 100%; }
.geo-route path { fill: none; stroke: #D4A017; stroke-width: 2.5; stroke-dasharray: 7 7; vector-effect: non-scaling-stroke; opacity: .9; }
.geo-pin { position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #D4A017; border: 3px solid #003366; box-shadow: 0 0 0 3px #D4A017; z-index: 1; }
.geo-city { position: absolute; z-index: 2; display: grid; gap: .05rem; min-width: 128px; max-width: 46%; padding: .55rem .8rem; background: #FBF4E3; color: #003366; text-decoration: none; border: 2px solid #003366; box-shadow: 4px 4px 0 #F4E4C1; transition: transform .15s, box-shadow .15s; }
[dir="rtl"] .geo-city { direction: rtl; text-align: right; }
.geo-city.gold { background: #D4A017; }
.geo-city .gc-c { font-size: .7rem; font-weight: 800; letter-spacing: .06em; opacity: .7; }
.geo-city b { font-size: 1.15rem; line-height: 1.2; }
.geo-city small { font-size: .74rem; line-height: 1.35; opacity: .85; }
.geo-city:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 #D4A017; }
.geo-city.gold:hover { box-shadow: 6px 6px 0 #F4E4C1; }
.geo figcaption { position: absolute; left: 22px; bottom: 16px; right: 22px; color: #F4E4C1; font-size: .78rem; opacity: .8; }
[dir="rtl"] .geo figcaption { direction: rtl; text-align: right; }
@media (max-width: 520px) { .geo { aspect-ratio: 4 / 4.6; } .geo-city { min-width: 0; max-width: 52%; padding: .45rem .6rem; } .geo-city b { font-size: 1rem; } .geo-city small { font-size: .68rem; } .geo-top b { font-size: 1rem; } }
@media (prefers-reduced-motion: reduce) { .geo-city { transition: none; } }
.geo { aspect-ratio: 5 / 4.6; }
.geo-city { min-width: 0; max-width: none; box-sizing: border-box; }
.geo-top { left: 22px; }
[dir="rtl"] .geo-top { direction: rtl; text-align: right; }
[dir="ltr"] .geo-top { text-align: left; right: auto; }
@media (max-width: 520px) { .geo { aspect-ratio: 4 / 4.9; } .geo-city { max-width: none; } }

/* ---------- v21 · the story of the mark ---------- */
.mark-sec { background: #FBF4E3; color: #003366; }
.mk-head { display: flex; align-items: center; gap: 1.4rem; }
.mk-c { width: 92px; height: auto; flex: none; }
.mk-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(1.4rem, 4vw, 3rem); margin-top: 1.6rem; align-items: start; }
.mk-fig { margin: 0; background: #283E93; border: 2.5px solid #003366; box-shadow: 9px 9px 0 #D4A017; }
.mk-fig img { display: block; width: 100%; height: auto; }
.mk-fig figcaption { display: grid; gap: .3rem; padding: .9rem 1.1rem 1.1rem; color: #F4E4C1; font-size: .9rem; line-height: 1.6; border-top: 1.5px dashed rgba(244,228,193,.35); }
.mk-fig figcaption b { color: #D4A017; font-size: 1rem; }
.mk-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.mk-list li { display: flex; gap: .7rem; align-items: flex-start; padding: .85rem .9rem; background: #fff; border: 1.5px solid #003366; min-width: 0; }
.mk-list li:first-child { grid-column: 1 / -1; background: #003366; color: #fff; box-shadow: 5px 5px 0 #D4A017; }
.mk-list li:first-child p { color: #F4E4C1; }
.mk-n { flex: none; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: .8rem; color: #003366; background: #D4A017; padding: .15rem .4rem; }
.mk-list b { display: block; font-size: 1rem; margin-bottom: .2rem; }
.mk-list p { margin: 0; font-size: .87rem; line-height: 1.6; color: #44546B; }
@media (max-width: 860px) { .mk-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .mk-list { grid-template-columns: 1fr; } .mk-c { width: 64px; } .mk-head { gap: .9rem; } }
.mark-sec h2 { color: #003366; } .mark-sec .lead, .mark-sec .lead-ink { color: #44546B; }
.mk-head > div { min-width: 0; }
.mk-list li:last-child { grid-column: 1 / -1; background: #D4A017; border-color: #003366; }
.mk-list li:last-child .mk-n { background: #003366; color: #fff; }
.mk-list li:last-child p { color: #003366; }

/* ---------- v22 · why "CASCO" + detailed mark story ---------- */
.name-sec { background: var(--ground); }
.nm-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(1.2rem, 3vw, 2.4rem); margin-top: 1.4rem; align-items: start; }
.nm-card { background: var(--card); border: var(--line); padding: clamp(1.1rem, 3vw, 1.8rem); }
.nm-card p { margin: 0 0 .8rem; line-height: 1.75; }
.nm-eq { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; background: #003366; padding: .9rem 1.1rem; margin-bottom: 1.1rem; box-shadow: 6px 6px 0 #D4A017; direction: ltr; }
.nm-iso { font-family: 'Montserrat', sans-serif; font-weight: 800; color: #003366; background: #F4E4C1; padding: .35rem .7rem; letter-spacing: .04em; }
.nm-arrow { color: #D4A017; display: grid; place-items: center; } .nm-arrow svg { width: 24px; height: 24px; }
.nm-eq img { height: 30px; width: auto; }
.nm-note { font-size: .86rem; color: var(--muted); border-inline-start: 3px solid var(--gold); padding-inline-start: .7rem; }
.nm-box { background: #FBF4E3; color: #003366; border: 2px solid #003366; padding: 1.1rem; display: grid; gap: .8rem; justify-items: start; }
.nm-k { margin: 0; font-weight: 800; font-size: .8rem; letter-spacing: .05em; color: #1236A5; }
.nm-stds { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; width: 100%; }
.nm-stds a { display: flex; justify-content: space-between; gap: .6rem; align-items: baseline; padding: .5rem .7rem; background: #fff; border: 1.5px solid #003366; color: #003366; text-decoration: none; }
.nm-stds a:hover { background: #D4A017; }
.nm-stds b { font-family: 'Montserrat', sans-serif; font-size: .85rem; direction: ltr; white-space: nowrap; }
.nm-stds small { font-size: .82rem; text-align: end; }
.mk-list p.mk-so { margin-top: .55rem; padding-top: .5rem; border-top: 1.5px dashed rgba(0,51,102,.25); color: #003366; font-weight: 600; }
.mk-so .mk-so-k { display: inline-block; font-size: .7rem; font-weight: 800; background: #D4A017; color: #003366; padding: .05rem .4rem; margin-inline-end: .4rem; }
.mk-list li:first-child p.mk-so { color: #fff; border-color: rgba(244,228,193,.35); }
.mk-list li:last-child .mk-so .mk-so-k { background: #003366; color: #fff; }
.mk-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.mk-fig { position: sticky; top: 90px; }
@media (max-width: 860px) { .nm-grid { grid-template-columns: 1fr; } .mk-fig { position: static; } }
.mk-list { grid-template-columns: 1fr; }
.nm-card .nh-src { margin: 0; font-size: .82rem; color: var(--muted); } .nm-card .nh-src a { color: var(--accent-text); font-weight: 700; }
@media (max-width: 860px) { .mk-grid { grid-template-columns: 1fr; } .mk-fig { position: static; max-width: 460px; } }

/* ---------- v23 · top menu: 3 calm dropdowns ---------- */
.nav { gap: 1.6rem; font-size: .92rem; }
.dd-bar { visibility: hidden; opacity: 0; }
.top.bar-open .svc-bar { visibility: hidden; opacity: 0; }
.top.bar-open .dd-bar.on { visibility: visible; opacity: 1; transform: none; transition: opacity .18s, transform .18s; }
.dd-in { display: grid; gap: .8rem; padding-block: 1.1rem 1.3rem; }
.dd-n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 900px; }
.dd-n5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.dd-n6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.dd-bar .svc-tile[aria-current="page"] { border-color: var(--gold); box-shadow: inset 0 -4px 0 var(--gold); }
.dd-btn svg { width: 14px; height: 14px; transition: transform .15s; }
.dd-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.menu-last { margin-top: .6rem; }
@media (max-width: 1100px) { .dd-bar { display: none; } }
.top .nav .dd-btn svg { transform: none; }
.top .nav .dd-btn[aria-expanded="true"] svg { transform: rotate(180deg); }

/* ---------- v24 · 17000 family grouped by who you are ---------- */
.f17g { display: grid; gap: 1.4rem; margin-top: 1.6rem; }
.f17-row { display: grid; grid-template-columns: minmax(0, 230px) minmax(0, 1fr); gap: 1rem; align-items: stretch; }
.f17-who { display: flex; flex-direction: column; gap: .7rem; padding: 1rem; background: #003366; color: #fff; border: 2px solid #003366; box-shadow: 6px 6px 0 #D4A017; }
.f17-who svg { width: 64px; height: 64px; background: #FBF4E3; border-radius: 50%; border: 2px solid #F4E4C1; }
.f17-who b { font-size: 1.12rem; display: block; }
.f17-who p { margin: .3rem 0 0; color: #F4E4C1; font-size: .88rem; line-height: 1.55; }
.f17-row.hot .f17-who { background: #D4A017; color: #003366; box-shadow: 6px 6px 0 #003366; }
.f17-row.hot .f17-who p { color: #003366; }
.f17-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: .9rem; }
.f17c { display: flex; flex-direction: column; background: var(--card); color: var(--ink); text-decoration: none; border: 2px solid #003366; transition: transform .15s, box-shadow .15s; min-width: 0; }
.f17c:hover, .f17c:focus-visible { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 #D4A017; }
.f17c-top { display: flex; align-items: baseline; gap: .45rem; padding: .55rem .8rem; background: #FBF4E3 radial-gradient(rgba(0,51,102,.12) 1px, transparent 1.2px) 0 0 / 8px 8px; border-bottom: 2px solid #003366; direction: ltr; color: #003366; }
.f17c-iso { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .7rem; letter-spacing: .08em; opacity: .7; }
.f17c-top b { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.5rem; line-height: 1; letter-spacing: -.01em; }
.f17c-body { display: grid; gap: .3rem; padding: .75rem .8rem .5rem; flex: 1; }
.f17c-body b { font-size: 1rem; line-height: 1.35; }
.f17c-body small { color: var(--muted); font-size: .82rem; line-height: 1.45; }
.f17c-foot { display: flex; justify-content: space-between; align-items: center; padding: .5rem .8rem .65rem; font-size: .78rem; font-weight: 800; color: var(--accent-text); border-top: 1px dashed var(--hair); }
.f17c-foot svg { width: 18px; height: 18px; }
@media (max-width: 760px) { .f17-row { grid-template-columns: 1fr; } .f17-who { flex-direction: row; align-items: center; } .f17-who svg { width: 52px; height: 52px; flex: none; } }
@media (prefers-reduced-motion: reduce) { .f17c { transition: none; } }

/* ---------- v25 · finder on the courses page; selection bar fixed at the bottom ---------- */
#find { scroll-margin-top: 80px; }
.tray { position: fixed; inset-inline: 0; bottom: 0; z-index: 65; box-shadow: 0 -4px 0 rgba(0,0,0,.12); }
.tray .wrap { padding-block: .65rem calc(.65rem + env(safe-area-inset-bottom, 0px)); }
body.has-tray { padding-bottom: 64px; }
body.has-tray .bot, body.has-tray .wa-fab { bottom: 80px; }
.cp-main { grid-template-columns: minmax(0, 1fr); } .cp-main > * { min-width: 0; }
.cp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
@media (max-width: 560px) { .cp-cmp { min-width: 0; } .cp-cmp th, .cp-cmp td { font-size: .8rem; padding: .45rem .4rem; } }
.cp-tabs { flex-wrap: wrap; }
.cp-tabs button { min-width: 0; flex: 1 1 140px; }
@media (max-width: 560px) { .cp-tabs button { font-size: .8rem; padding: .6rem .35rem; overflow-wrap: anywhere; hyphens: auto; } }

/* ---------- v26 · audit fixes ---------- */
main [id] { scroll-margin-top: 84px; }
@media (max-width: 760px) { .foot { padding-bottom: 92px; } }

/* ---------- v27 · fact strips (course pages + packages + course modal): one look across the site ---------- */
.cp-facts { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border: 2.5px solid #003366; background: var(--card); box-shadow: 7px 7px 0 #D4A017; }
.cp-fact { position: relative; display: grid; align-content: start; gap: .35rem; padding: .95rem 1rem 1.05rem; border-inline-end: 1.5px dashed rgba(0,51,102,.25); min-width: 0; }
.cp-fact.key { background: #FBF4E3 radial-gradient(rgba(0,51,102,.1) 1px, transparent 1.2px) 0 0 / 9px 9px; }
.cpf-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #003366; color: #F4E4C1; }
.cp-fact.key .cpf-ic { background: #D4A017; color: #003366; border: 1.5px solid #003366; }
.cpf-ic svg { width: 18px; height: 18px; }
.cp-fact .cpf-l { font-size: .72rem; font-weight: 800; letter-spacing: .07em; color: #1236A5; text-transform: uppercase; }
.cp-fact b, .cp-fact b span { font-size: 1.02rem; font-weight: 800; color: var(--ink); line-height: 1.35; }
.cp-fact b .irca-mark { margin-top: .15rem; max-width: 100%; }
.cp-fact.key b, .cp-fact.key b span { color: #003366; }
@media (max-width: 560px) { .cp-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cp-fact { border-bottom: 1.5px dashed rgba(0,51,102,.25); } }
/* the simple dl facts (packages, course modal) in the same language */
.facts > div { display: grid; gap: .2rem; padding-inline-start: .7rem; border-inline-start: 3px solid #D4A017; }
.facts dt { font-size: .72rem; font-weight: 800; letter-spacing: .07em; color: #1236A5; }
.facts dd { margin: 0; font-weight: 800; color: var(--ink); }
.cp-fact .cpf-ic { display: grid; place-items: center; } .cp-fact .cpf-ic svg { display: block; } @media (max-width: 560px) { .cp-fact:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* ---------- v28 · menu sits next to the logo (right in Arabic, left in English); actions at the far end ---------- */
.top-in .nav { margin-inline-start: clamp(1.4rem, 3vw, 2.6rem); }
.top-in .top-act { margin-inline-start: auto; }
.cl-txt { display: grid; place-items: center; width: 100%; height: 100%; } .cl-txt b { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 1.3rem; color: #003366; letter-spacing: .01em; } .cl-txt.has-img b { display: none; } .cl-txt img { max-width: 100%; max-height: 64px; }

/* ===== v29: conformity assessment page ===== */
.grid4.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .grid4.g5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid4.g5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid4.g5 { grid-template-columns: 1fr; } }
.svc-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
.ca-tool { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; }
.ca-tool p { flex: 1; margin: 0; }
.ca-tool .chip { font-size: .78rem; }
.lv2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.lv2 .lv { background: var(--card); border: var(--line); padding: 1.1rem 1.2rem; box-shadow: 5px 5px 0 var(--gold); position: relative; }
.lv2 .lv + .lv { background: var(--navy); color: #fff; box-shadow: 5px 5px 0 var(--ink); }
.lv2 .lv + .lv b { color: var(--gold); }
.lv2 .lv h3 { margin: .5rem 0 .3rem; }
.lv2 .lv p { margin: 0; }
.ca-who { display: flex; gap: 1rem; align-items: flex-start; }
.ca-who .disc { flex: none; }
.ca-who p { margin: .3rem 0 0; }
#markets .panel .fine { margin-top: .8rem; }
@media (max-width: 600px) { .lv2 { grid-template-columns: 1fr; } }

/* ===== v30: course journey — cart, payment receipt, material, homework; guest booking; team avatars ===== */
.cart { margin-top: 1.2rem; border-color: var(--gold); box-shadow: 5px 5px 0 var(--gold); }
.cart ul { list-style: none; margin: .4rem 0; padding: 0; display: grid; gap: .3rem; }
.cart a { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem .7rem; border: var(--line); background: var(--soft); color: var(--ink); text-decoration: none; font-weight: 700; }
.cart a b { white-space: nowrap; }
.bkc.in-cart { border-color: var(--gold); }
.paybox { margin-top: 1rem; border: var(--line); background: var(--soft); padding: 1rem; display: grid; gap: .8rem; }
.paybox.done { border-style: dashed; }
.paybox.done p { margin: 0; }
.paybox.busy { opacity: .55; pointer-events: none; }
.pay-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem; }
.pay-k { font-size: .78rem; letter-spacing: .12em; font-weight: 800; color: var(--muted); }
.pay-v { font-family: 'Montserrat', 'Tajawal', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--accent-text, #1236A5); }
.pay-warn { margin: 0; padding: .6rem .8rem; border: 1.5px solid #B4321F; background: #FFF1EC; color: #7A1E10; }
.pay-how summary { cursor: pointer; font-weight: 800; }
.pay-m { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: .6rem; margin-top: .6rem; }
.pay-m > div { border: var(--line); background: var(--card); padding: .6rem .75rem; display: grid; gap: .15rem; }
.pay-m small { color: var(--muted); line-height: 1.45; }
.pay-drop { display: flex; align-items: center; gap: .9rem; padding: .9rem 1rem; border: 2px dashed var(--ink); background: var(--card); cursor: pointer; }
.pay-drop:hover, .pay-drop:focus-within { background: #FFF6DC; border-style: solid; }
.pay-drop .disc { flex: none; background: var(--gold); color: var(--navy); font-weight: 800; }
.pay-drop b, .pay-drop small { display: block; }
.pay-drop small { color: var(--muted); }
.bkc-files { margin-top: 1rem; }
.bkc-files .step-label { margin: 0 0 .4rem; }
.bkc-files ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.fbtn { width: 100%; display: flex; align-items: center; gap: .8rem; text-align: start; font: inherit; color: var(--ink); background: var(--card); border: var(--line); padding: .55rem .7rem; cursor: pointer; }
.fbtn:hover, .fbtn:focus-visible { background: var(--soft); box-shadow: 3px 3px 0 var(--gold); }
.fbtn .fi { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border: var(--line); background: var(--soft); }
.fbtn .fi svg { width: 20px; height: 20px; }
.fbtn > span:nth-child(2) { flex: 1; min-width: 0; }
.fbtn b, .fbtn small { display: block; overflow-wrap: anywhere; }
.fbtn small { color: var(--muted); font-size: .84rem; }
.fbtn .fgo { flex: none; font-weight: 800; color: var(--accent-text, #1236A5); }
.pwbox { margin-top: 1rem; display: grid; gap: .6rem; }
.g-what { display: flex; gap: .8rem; align-items: center; padding: .8rem; border: var(--line); background: var(--soft); margin-bottom: 1rem; }
.g-what .disc { flex: none; }
.g-what .kicker { margin: 0; }
.g-done { display: flex; gap: .8rem; align-items: flex-start; margin-top: 1rem; padding: .9rem 1rem; border: 1.5px solid var(--ink); background: #EAF6EE; color: #0F3D24; }
.g-done .disc { flex: none; background: var(--gold); color: var(--navy); font-weight: 800; }
.g-done b, .g-done small { display: block; }
.team .ph-slot.is-av img { object-fit: cover; }
.fl-edit + .fl-edit { margin-inline-start: .5rem; }
a.fl-edit { text-decoration: none; display: inline-block; }
.tabs2:has(#tabGuest:not([hidden])) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 480px) { .tabs2:has(#tabGuest:not([hidden])) button { font-size: .86rem; padding-inline: .3rem; } }
/* payment: pick a method, then upload */
.pay-pick { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: .6rem; }
.pay-pick legend { display: flex; align-items: center; gap: .55rem; font-weight: 800; padding: 0; margin-bottom: .55rem; }
.pay-pick legend .num { width: 26px; height: 26px; font-size: .85rem; }
.pay-pick .fine { margin: 0; }
.pay-opt { position: relative; display: grid; gap: .15rem; align-content: start; padding: .75rem .85rem .75rem 2.6rem; border: var(--line); background: var(--card); cursor: pointer; }
[dir="rtl"] .pay-opt { padding: .75rem 2.6rem .75rem .85rem; }
.pay-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pay-dot { position: absolute; top: .85rem; inset-inline-start: .85rem; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--ink); background: var(--card); }
.pay-opt small { color: var(--muted); line-height: 1.45; overflow-wrap: anywhere; }
.pay-opt:hover { background: var(--soft); }
.pay-opt:has(input:checked) { background: #FFF6DC; border-color: var(--gold); box-shadow: 4px 4px 0 var(--ink); }
.pay-opt:has(input:checked) .pay-dot { background: var(--gold); box-shadow: inset 0 0 0 4px var(--card); }
.pay-opt:has(input:focus-visible) { outline: 3px solid var(--blue, #1236A5); outline-offset: 2px; }
.pay-drop.off { opacity: .5; cursor: not-allowed; border-style: dashed; }
.pay-drop.off:hover { background: var(--card); }

/* ===== v31: certification quote ===== */
.qt { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.4rem; align-items: start; }
.qt-form { display: grid; gap: 1.3rem; }
.qt-step { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: .7rem; }
.qt-step legend { display: flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.05rem; padding: 0; margin-bottom: .6rem; }
.qt-step legend .num { width: 28px; height: 28px; font-size: .9rem; }
.qt-step .fine { margin: 0; }
.qt-pick input { position: absolute; opacity: 0; }
.qt-pick:has(input:checked) { background: var(--navy); color: #fff; }
.qt-pick:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.qt-more summary { cursor: pointer; font-weight: 700; color: var(--accent-text, #1236A5); margin: .2rem 0 .6rem; }
.qt-lv { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: .55rem; }
.qt-l { position: relative; display: grid; gap: .15rem; padding: .65rem .8rem; border: var(--line); background: var(--card); cursor: pointer; }
.qt-l input { position: absolute; opacity: 0; }
.qt-l small { color: var(--muted); line-height: 1.45; }
.qt-l:has(input:checked) { background: #FFF6DC; border-color: var(--gold); box-shadow: 4px 4px 0 var(--ink); }
.qt-l:has(input:focus-visible) { outline: 3px solid var(--blue, #1236A5); outline-offset: 2px; }
.qt-f { display: grid; gap: .45rem; }
.qt-fa { display: flex; align-items: center; gap: .7rem; padding: .55rem .75rem; border: var(--line); background: var(--card); cursor: pointer; }
.qt-fa span { flex: 1; }
.qt-fa input { width: 18px; height: 18px; accent-color: var(--navy); flex: none; }
.qt-fa em { font-style: normal; font-weight: 800; font-family: 'Montserrat', sans-serif; font-size: .85rem; padding: .1rem .45rem; border: 1.5px solid currentColor; direction: ltr; }
.qt-fa em.dn { color: #11714A; } .qt-fa em.up { color: #A4361F; }
.qt-fa:has(input:checked) { background: var(--soft); }
.qt-sum { position: sticky; top: 92px; display: grid; gap: .8rem; border-color: var(--gold); box-shadow: 6px 6px 0 var(--gold); }
.qt-sum .kicker, .qt-sum .fine { margin: 0; }
.qt-big { display: grid; gap: .1rem; padding: .9rem 1rem; background: var(--navy); color: #fff; border: var(--line); }
.qt-big span { font-size: .8rem; letter-spacing: .1em; font-weight: 800; color: var(--gold); }
.qt-big b { font-family: 'Montserrat', 'Tajawal', sans-serif; font-size: clamp(1.6rem, 3.4vw, 2.2rem); line-height: 1.15; }
.qt-big small { color: #D8E1F0; }
.qt-t { width: 100%; border-collapse: collapse; border: var(--line); font-size: .93rem; background: var(--card); }
.qt-t th { text-align: start; background: var(--soft); font-size: .78rem; letter-spacing: .04em; padding: .45rem .6rem; }
.qt-t td { padding: .45rem .6rem; border-top: 1px solid var(--hair); vertical-align: top; }
.qt-t td small { display: block; color: var(--muted); font-size: .8rem; }
.qt-t td:not(:first-child), .qt-t th:not(:first-child) { text-align: end; white-space: nowrap; font-family: 'Montserrat', 'Tajawal', sans-serif; }
.qt-t tfoot td { font-weight: 800; background: #FFF6DC; border-top: 2px solid var(--ink); }
.qt-cur { display: flex; align-items: center; gap: .6rem; justify-content: flex-end; font-weight: 700; }
.qt-cur select { font: inherit; padding: .3rem .5rem; border: var(--line); background: var(--card); color: var(--ink); }
.qt-acct { margin-top: 1rem; display: grid; gap: .6rem; }
@media (max-width: 900px) { .qt { grid-template-columns: 1fr; } .qt-sum { position: static; } }
.grid4.g5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .grid4.g5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid4.g5 { grid-template-columns: 1fr; } }

/* CASCO Store: cart button in the header */
.cart-btn { position: relative; }
.cart-n { position: absolute; top: -6px; inset-inline-end: -6px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--gold); color: var(--navy); border: 1.5px solid var(--navy); font-size: .68rem; font-weight: 800; display: grid; place-items: center; line-height: 1; font-family: 'Montserrat', sans-serif; }
.cart-n[hidden] { display: none; }

/* home slider: CASCO Store slide */
.nh-shop { position: relative; width: 300px; height: 230px; max-width: 100%; }
.nsb { direction: ltr; position: absolute; width: 130px; height: 165px; background: #FBF4E3; border: 2px solid #003366; box-shadow: 6px 6px 0 #D4A017; display: grid; place-items: center; align-content: center; gap: .5rem; text-align: center; padding: .4rem; color: #003366; font-family: "Montserrat", sans-serif; font-size: .78rem; font-weight: 800; }
.nsb .gl-ic { width: 60px; height: 60px; font-size: 1.2rem; }
.nsb.b1 { inset-inline-start: 0; top: 34px; transform: rotate(-8deg); }
.nsb.b2 { inset-inline-start: 84px; top: 8px; transform: rotate(2deg); z-index: 1; }
.nsb.b3 { inset-inline-start: 168px; top: 40px; transform: rotate(9deg); }
.nsb-tag { position: absolute; z-index: 2; bottom: 0; inset-inline-start: 50%; transform: translateX(-50%) rotate(-3deg); background: #D4A017; color: #003366; border: 2px solid #003366; padding: .2rem .8rem; font-weight: 800; white-space: nowrap; }
[dir="rtl"] .nsb-tag { transform: translateX(50%) rotate(-3deg); }

.mq-track img[src="cl-meraki.png"] { max-height: 84px; filter: none; }
@media (max-width: 560px) { .mq-track img[src="cl-meraki.png"] { max-height: 68px; } }
