/* ═══════════════════════════════════════════════════════════════
   kadermis.com — the website (update 56)
   The platform's navy chrome and cyan signal, on a white reading
   surface. Course codes are the type that carries the page.
   ═══════════════════════════════════════════════════════════════ */

@font-face { font-family: "Readex Arabic"; src: url(/fonts/readex/readex-arabic-400.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: "Readex Arabic"; src: url(/fonts/readex/readex-arabic-500.woff2) format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: "Readex Arabic"; src: url(/fonts/readex/readex-arabic-600.woff2) format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: "Readex Arabic"; src: url(/fonts/readex/readex-arabic-700.woff2) format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: "Inter Site"; src: url(/fonts/site/inter-400.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-024F, U+2000-206F, U+20AC; }
@font-face { font-family: "Inter Site"; src: url(/fonts/site/inter-500.woff2) format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-024F, U+2000-206F, U+20AC; }
@font-face { font-family: "Inter Site"; src: url(/fonts/site/inter-600.woff2) format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-024F, U+2000-206F, U+20AC; }
@font-face { font-family: "Inter Site"; src: url(/fonts/site/inter-700.woff2) format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-024F, U+2000-206F, U+20AC; }

:root {
  --ink: #0B1F3A;
  --ink-2: #16304F;
  --signal: #4EC0F2;
  --deep: #1B6FA3;
  --paper: #EEF3F7;
  --white: #FFFFFF;
  --amber: #E9A23B;
  --text: #14233A;
  --text-2: #4E5F78;
  --line: #D8E1EA;
  --ok: #16805A;
  --ok-bg: #E3F4EC;
  --soon: #9A6410;
  --soon-bg: #FCF0DC;
  --err: #B8323E;
  --err-bg: #FCEBED;
  --on-ink: #E8F1F9;
  --on-ink-2: #9FB4CD;
  --wrap: 1160px;
  --font: "Inter Site", "Readex Arabic", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.65; }
body.lang-ar { font-size: 17px; line-height: 1.8; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { color: var(--ink); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
.lang-ar h1, .lang-ar h2, .lang-ar h3 { line-height: 1.45; }
h1 { font-size: clamp(30px, 5vw, 50px); letter-spacing: -.01em; }
h2 { font-size: clamp(22px, 3vw, 28px); }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.wrap.narrow { max-width: var(--wrap); }
.wrap.narrow > * { max-width: 760px; }
.muted { color: var(--text-2); }
.small { font-size: .875em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--white); padding: 8px 14px; border-radius: 6px; z-index: 50; }
.skip:focus { top: 12px; }
.preview-bar { background: var(--amber); color: var(--ink); text-align: center; font-size: 14px; padding: 6px 12px; font-weight: 600; }

/* ── buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; border: 2px solid transparent; cursor: pointer; white-space: nowrap; }
.btn--signal { background: var(--signal); color: var(--ink); }
.btn--signal:hover { background: #7AD1F6; color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--ink-2); color: var(--white); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--ghost-on-ink { color: var(--on-ink); border-color: rgba(232,241,249,.35); background: transparent; }
.btn--ghost-on-ink:hover { border-color: var(--on-ink); color: var(--white); }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn--lg { min-height: 52px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }
.link { font-weight: 600; }

/* ── header ── */
.top { background: var(--ink); position: sticky; top: 0; z-index: 30; }
.top__in { max-width: var(--wrap); margin-inline: auto; padding: 0 20px; height: 76px; display: flex; align-items: center; gap: 28px; }
/* The logo, larger (update 59.1): it is the name the visitor came for. */
.top__logo { flex: none; }
.top__logo img { width: 210px; height: auto; display: block; }
@media (max-width: 1180px) { .top__logo img { width: 180px; } }
@media (max-width: 960px) { .top__logo img { width: 190px; } }
.top__nav { display: flex; gap: 22px; flex: 1; }
.top__nav a { color: var(--on-ink-2); text-decoration: none; font-size: 15px; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.top__nav a:hover, .top__nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--signal); }
.top__acts { display: flex; align-items: center; gap: 10px; }
.top__lang { color: var(--on-ink); text-decoration: none; font-size: 15px; padding: 0 6px; }
.top__menu { display: none; margin-inline-start: auto; }
.top__menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; }
.top__menu summary::-webkit-details-marker { display: none; }
.top__menu summary span { display: block; width: 22px; height: 2px; background: var(--on-ink); border-radius: 2px; }
.top__drawer { position: absolute; inset-inline: 0; top: 76px; background: var(--ink); padding: 8px 20px 24px; display: grid; gap: 2px; border-top: 1px solid rgba(255,255,255,.08); }
.top__drawer a { color: var(--on-ink); text-decoration: none; padding: 12px 0; font-size: 17px; border-bottom: 1px solid rgba(255,255,255,.07); }
.top__drawer .btn { margin-top: 14px; border-bottom: 0; color: var(--ink); }
@media (max-width: 1180px) { .top__nav { gap: 16px; } .top__nav a { font-size: 14px; } .top__in { gap: 20px; } }
@media (max-width: 960px) {
  .top__nav, .top__acts { display: none; }
  .top__menu { display: block; }
}

/* ── hero: the finder and Able ── */
.hero { background: linear-gradient(180deg, var(--paper) 0%, var(--white) 100%); border-bottom: 1px solid var(--line); }
.hero__in { max-width: var(--wrap); margin-inline: auto; padding: 56px 20px 48px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero__text { min-width: 0; }
.hero h1 { max-width: 15em; }
.hero__lead { font-size: 1.12em; color: var(--text-2); max-width: 36em; margin-bottom: 28px; }
.finder { max-width: 560px; position: relative; }
.finder__box input { width: 100%; }
@media (max-width: 420px) { .finder__box .btn { padding: 0 14px; } }
.finder label { display: block; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.finder__box { display: flex; gap: 8px; background: var(--white); border: 2px solid var(--ink); border-radius: 14px; padding: 6px; }
.finder__box input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 19px; font-weight: 600; padding: 8px 10px; color: var(--ink); background: transparent; letter-spacing: .01em; }
.finder__box input::placeholder { font-weight: 400; font-size: 16px; color: var(--text-2); }
.finder__box:focus-within { box-shadow: 0 0 0 4px rgba(78,192,242,.35); }
.finder__out { list-style: none; margin: 8px 0 0; padding: 6px; background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 14px 36px rgba(11,31,58,.14); position: absolute; inset-inline: 0; z-index: 10; max-height: 360px; overflow: auto; }
.finder__out a { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: baseline; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--text); }
.finder__out a:hover, .finder__out a[aria-selected="true"] { background: var(--paper); }
.finder__out b { font-size: 18px; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.01em; direction: ltr; }
.finder__out em { font-style: normal; font-size: 13px; color: var(--text-2); }
.finder__none { margin-top: 10px; color: var(--text-2); }
.hero__able { margin: 0; position: relative; justify-self: center; width: min(100%, 400px); }
.hero__able img { width: 100%; filter: drop-shadow(0 18px 30px rgba(11,31,58,.18)); }
.bubble { position: absolute; inset-inline-start: -4%; bottom: -4%; background: var(--white); border: 2px solid var(--amber); border-radius: 18px;
  padding: 14px 16px; max-width: 260px; box-shadow: 0 10px 28px rgba(11,31,58,.14); display: grid; gap: 10px; font-size: 15px; line-height: 1.6; color: var(--ink); }
.bubble .btn { justify-self: start; }
.bubble::before { content: ""; position: absolute; top: -11px; inset-inline-end: 34%; width: 18px; height: 18px; background: var(--white);
  border-top: 2px solid var(--amber); border-inline-start: 2px solid var(--amber); transform: rotate(45deg); }
[dir="rtl"] .bubble::before { transform: rotate(-45deg); }
@media (prefers-reduced-motion: no-preference) {
  .bubble { animation: pop .5s .4s both cubic-bezier(.2,.9,.3,1.2); }
  @keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
}
@media (max-width: 860px) {
  .hero__in { grid-template-columns: 1fr; padding-top: 32px; gap: 8px; }
  .hero__able { width: min(78%, 300px); order: -1; justify-self: start; display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 12px; }
  .bubble { position: static; max-width: none; animation: none; }
  .bubble::before { display: none; }
}

/* ── bands ── */
.band { padding: 64px 0; }
.band--paper { background: var(--paper); }
.band__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.band__title { margin-bottom: 24px; }
.band__term { font-weight: 500; color: var(--text-2); font-size: .7em; }

.paths { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.path { padding: 26px 24px 28px; text-decoration: none; color: var(--text); display: flex; flex-direction: column; gap: 6px; }
.path + .path { border-inline-start: 1px solid var(--line); }
.path p { color: var(--text-2); flex: 1; margin: 0 0 8px; }
.path__go { color: var(--deep); font-weight: 700; }
.path:hover { background: var(--paper); }
.path:hover h3 { color: var(--deep); }
@media (max-width: 760px) { .paths { grid-template-columns: 1fr; } .path + .path { border-inline-start: 0; border-top: 1px solid var(--line); } }

.codes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.codes a { display: flex; flex-direction: column; padding: 14px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--text-2); font-size: 14px; }
.codes a:hover { border-color: var(--ink); }
.codes b { font-size: 22px; color: var(--ink); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.codes [dir="ltr"]:not(b) { text-align: start; }
.figures { margin-top: 22px; font-weight: 600; color: var(--ink); }

.how { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; margin: 0; }
.how__item { padding: 18px 0; border-top: 1px solid var(--line); }
.how dt { font-weight: 700; color: var(--ink); font-size: 18px; }
.how dd { margin: 4px 0 0; color: var(--text-2); }
@media (max-width: 700px) { .how { grid-template-columns: 1fr; } }
.reviews { margin-top: 28px; }

.cta { background: var(--ink); color: var(--on-ink); padding: 52px 0; }
.cta__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta h2 { color: var(--white); margin-bottom: 6px; }
.cta p { color: var(--on-ink-2); margin: 0; }

/* ── inner pages ── */
.page-head { background: var(--paper); padding: 48px 0 40px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.page-head .lead { font-size: 1.12em; color: var(--text-2); max-width: 44em; margin: 0; }
.page-head .muted { margin: 10px 0 0; }
.page-head--done { text-align: start; }
.back { display: inline-block; margin-bottom: 14px; font-size: 15px; text-decoration: none; font-weight: 600; }
.back::before { content: "‹ "; }
[dir="rtl"] .back::before { content: "› "; }

.filters { display: flex; gap: 14px; flex-wrap: wrap; align-items: end; margin-bottom: 18px; }
.f { display: grid; gap: 6px; font-size: 15px; }
.f > span { font-weight: 600; color: var(--ink); }
.f em { font-style: normal; font-weight: 400; color: var(--text-2); font-size: 13px; }
.f input, .f select, .f textarea { font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid #B9C6D4; border-radius: 8px; background: var(--white); color: var(--text); min-height: 46px; width: 100%; }
.f textarea { resize: vertical; min-height: 110px; }
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--deep); outline: 2px solid rgba(78,192,242,.45); outline-offset: 0; }
.filters .f { min-width: 200px; }
.filters .f--grow { flex: 1; min-width: 220px; }

.catalogue { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.crs a { display: grid; grid-template-columns: 150px 1fr auto; gap: 20px; align-items: center; padding: 18px 8px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
.crs a:hover { background: var(--paper); }
.crs__code { font-size: 24px; color: var(--ink); letter-spacing: -.015em; font-variant-numeric: tabular-nums; text-align: start; }
.crs__main { display: grid; gap: 2px; min-width: 0; }
.crs__name { font-weight: 600; color: var(--ink); text-align: start; }
.crs__sum { color: var(--text-2); font-size: .92em; }
.crs__state { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.crs__state--now { background: var(--ok-bg); color: var(--ok); }
.crs__state--next { background: var(--soon-bg); color: var(--soon); }
.crs__state--ask { background: var(--paper); color: var(--text-2); }
.catalogue__none { padding: 24px 0; color: var(--text-2); }
@media (max-width: 640px) { .crs a { grid-template-columns: 1fr auto; gap: 4px 12px; } .crs__main { grid-column: 1 / -1; order: 3; } }

.aside-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px; padding-block: 56px; border-top: 1px solid var(--line); margin-top: 56px; }
.aside-form > div p { color: var(--text-2); }
@media (max-width: 820px) { .aside-form { grid-template-columns: 1fr; gap: 12px; } }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__grid .f--wide { grid-column: 1 / -1; }
@media (max-width: 560px) { .form__grid { grid-template-columns: 1fr; } }
.form__note { font-size: 13px; color: var(--text-2); margin: 14px 0; }
.form__err { background: var(--err-bg); color: var(--err); border-radius: 8px; padding: 10px 14px; margin-bottom: 16px; font-weight: 600; }
.form__err p { margin: 0; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── a course ── */
.page-head--course { padding-top: 32px; }
.course-code { font-size: clamp(44px, 8vw, 76px); font-weight: 700; color: var(--ink); letter-spacing: -.03em; line-height: 1; margin: 0 0 10px; font-variant-numeric: tabular-nums; text-align: start; }
.page-head--course h1 { font-size: clamp(22px, 3.2vw, 32px); font-weight: 600; color: var(--ink-2); text-align: start; }
.course-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin: 14px 0 22px; color: var(--text-2); font-size: 15px; }
.course { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.course__main section { margin-bottom: 44px; }
.course__side { position: sticky; top: 92px; }
.side-box { border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: grid; gap: 12px; }
.side-box__code { font-size: 32px; font-weight: 700; color: var(--ink); margin: 0; letter-spacing: -.02em; text-align: start; }
.side-box h2 { font-size: 20px; margin: 0; }
.side-box p { margin: 0; color: var(--text-2); font-size: 15px; }
.side-box .form__grid { grid-template-columns: 1fr; }
@media (max-width: 900px) { .course { grid-template-columns: 1fr; gap: 0; } .course__side { position: static; margin-bottom: 40px; } }
.stages { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.stage { border: 1px solid var(--line); border-radius: 12px; padding: 18px 18px 14px; border-top: 4px solid var(--ink); }
.stage--final { border-top-color: var(--deep); }
.stage--practical { border-top-color: var(--signal); }
.stage h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.stage__tag { font-size: 12px; font-weight: 700; background: var(--ink); color: var(--white); padding: 2px 8px; border-radius: 6px; letter-spacing: .02em; }
.stage--final .stage__tag { background: var(--deep); }
.stage--practical .stage__tag { background: var(--signal); color: var(--ink); }
.stage p { margin: 0 0 6px; }
.stage__hours { color: var(--text-2); font-size: 15px; }
.stage__price { display: grid; margin-top: 10px !important; }
.stage__price strong { font-size: 26px; color: var(--ink); font-variant-numeric: tabular-nums; }
.stage__price span, .stage__alt { font-size: 14px; color: var(--text-2); }
.outline { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 40px; }
.outline li { break-inside: avoid; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.outline__part { font-weight: 700; color: var(--ink); border-bottom: 0 !important; padding-top: 16px !important; }
.outline-groups { display: grid; gap: 8px 40px; }
.outline-groups--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.outline-group .outline { columns: 1; }
.outline-group h3.outline__part { margin: 0; padding: 8px 0 4px !important; font-size: 15px; }
.outline-groups:not(.outline-groups--two) .outline { columns: 2; }
@media (max-width: 700px) { .outline-groups--two { grid-template-columns: 1fr; } .outline-groups .outline { columns: 1 !important; } }
.outline__no { display: inline-block; min-width: 5.5em; margin-inline-end: 10px; color: var(--deep); font-weight: 600; font-variant-numeric: tabular-nums; }
.outline--chapters li[dir="ltr"] { text-align: left; }
.lang-ar .outline--chapters li[dir="ltr"] { text-align: right; direction: ltr; unicode-bidi: plaintext; }
.course-en { margin: -4px 0 12px; color: var(--ink-2, #4a5a70); font-size: 15px; }
@media (max-width: 700px) { .outline { columns: 1; } }
.tools { display: flex; flex-wrap: wrap; gap: 8px; }
.tools span { background: var(--paper); border-radius: 6px; padding: 4px 10px; font-size: 14px; color: var(--ink-2); }
.steps { margin: 0; padding-inline-start: 22px; display: grid; gap: 10px; }
.steps li::marker { font-weight: 700; color: var(--deep); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--deep); }
.qa[open] summary::after { content: "−"; }
.qa > div { padding-bottom: 14px; color: var(--text-2); }

/* ── KADER courses ── */
.fields { display: grid; gap: 0; }
.field { padding: 26px 0; border-top: 1px solid var(--line); }
.field h2 { display: flex; align-items: baseline; gap: 14px; font-size: 22px; }
.field__code { font-size: 15px; font-weight: 700; color: var(--deep); background: var(--paper); padding: 2px 10px; border-radius: 6px; }
.soon summary { cursor: pointer; list-style: none; display: inline-flex; gap: 12px; align-items: center; color: var(--deep); font-weight: 600; }
.soon summary::-webkit-details-marker { display: none; }
.soon summary span { color: var(--soon); background: var(--soon-bg); padding: 2px 10px; border-radius: 999px; font-size: 13px; }
.soon > p { color: var(--text-2); margin-top: 12px; }
.soon .form { max-width: 640px; }

/* ── business, about, contact, policies ── */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; margin: 0; }
.services > div { padding: 22px 0; border-top: 1px solid var(--line); }
.services dt { font-weight: 700; font-size: 19px; color: var(--ink); }
.services dd { margin: 6px 0 0; color: var(--text-2); }
@media (max-width: 700px) { .services { grid-template-columns: 1fr; } }
.prose h2 { margin-top: 1.6em; font-size: 22px; }
.prose h3 { margin-top: 1.2em; }
.prose ul { padding-inline-start: 22px; }
.prose li { margin-bottom: 6px; }
.ticks { list-style: none; padding: 0; display: grid; gap: 10px; margin-bottom: 32px; }
.ticks li { padding-inline-start: 30px; position: relative; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .55em; width: 16px; height: 9px; border-inline-start: 3px solid var(--signal); border-bottom: 3px solid var(--signal); transform: rotate(-45deg); }
[dir="rtl"] .ticks li::before { transform: rotate(45deg) scaleX(-1); }
.reach { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 32px; }
.reach li { padding: 18px 0; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.reach span { color: var(--text-2); font-size: 14px; }
.reach a { font-size: 19px; font-weight: 600; text-decoration: none; text-align: start; }
.pol-list { list-style: none; padding: 0; }
.pol-list li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.pol-list a { font-weight: 600; font-size: 18px; text-decoration: none; }
.versions { margin: 40px 0; color: var(--text-2); }
.verify { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; }
.verify .f { flex: 1; min-width: 220px; }
.nf-links { list-style: none; padding: 0; display: flex; gap: 22px; flex-wrap: wrap; }
.faq-topic { margin-bottom: 36px; }

/* ── footer ── */
.foot { background: var(--ink); color: var(--on-ink-2); margin-top: 80px; padding: 52px 0 28px; font-size: 15px; }
.cta + .foot, main:has(> .cta:last-child) + .foot { margin-top: 0; }
.foot__in { max-width: var(--wrap); margin-inline: auto; padding: 0 20px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot__brand img { width: 140px; margin-bottom: 14px; }
.foot__brand p { margin: 0 0 4px; }
.foot h2 { color: var(--white); font-size: 15px; margin-bottom: 12px; }
.foot__col { display: grid; align-content: start; gap: 8px; }
.foot a { color: var(--on-ink); text-decoration: none; }
.foot a:hover { color: var(--signal); }
.foot__legal { max-width: var(--wrap); margin: 40px auto 0; padding: 18px 20px 0; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }
@media (max-width: 820px) { .foot__in { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }

/* ── the centre's accounts (update 59.1) ── */
.foot__brand img { width: 190px; height: auto; }
.social { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.social__a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 10px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18); color: var(--on-ink) !important; font-size: 14px; font-weight: 600; }
[dir="rtl"] .social__a { padding: 0 10px 0 14px; }
.social__a:hover, .social__a:focus-visible { border-color: var(--signal); color: var(--white) !important; }
.social--light .social__a { border-color: var(--line); color: var(--ink) !important; background: var(--white); }
.social--light .social__a:hover { border-color: var(--ink); }
.fab-reach { position: fixed; inset-inline-end: 24px; bottom: 24px; z-index: 39; display: grid; gap: 10px; }
.fab-reach--above { bottom: 92px; }
.fab-reach__a { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: var(--white); background: var(--ink);
  box-shadow: 0 10px 24px rgba(11,31,58,.25); border: 2px solid var(--white); }
.fab-reach__a svg { width: 24px; height: 24px; }
.fab-reach__a--whatsapp { background: #1F8A4C; }
.fab-reach__a:hover, .fab-reach__a:focus-visible { transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .fab-reach__a:hover { transform: none; } }
/* On a phone they sit beside Able in one row, so they cover as little of the page as they can. */
@media (max-width: 520px) {
  .fab-reach { inset-inline-end: 16px; bottom: 16px; grid-auto-flow: column; }
  .fab-reach--above { inset-inline-end: 88px; bottom: 24px; }
  .fab-reach__a { width: 46px; height: 46px; }
}
@media print { .fab-reach { display: none; } }

/* ── Able ── */
.able { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 40; }
.able__fab { display: flex; align-items: center; gap: 10px; background: var(--white); border: 2px solid var(--amber); border-radius: 999px; padding: 4px 18px 4px 4px;
  font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; box-shadow: 0 10px 28px rgba(11,31,58,.22); }
[dir="rtl"] .able__fab { padding: 4px 4px 4px 18px; }
.able__fab img { width: 48px; height: 48px; border-radius: 50%; background: var(--paper); }
.able__fab[aria-expanded="true"] { display: none; }
.able__panel { position: fixed; inset-inline-end: 20px; bottom: 20px; width: min(380px, calc(100vw - 24px)); height: min(560px, calc(100vh - 40px)); background: var(--white);
  border-radius: 18px; box-shadow: 0 24px 60px rgba(11,31,58,.3); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); }
.able__panel[hidden] { display: none; }
.able__head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--ink); color: var(--on-ink); }
.able__head div { display: grid; flex: 1; line-height: 1.3; }
.able__head strong { color: var(--white); }
.able__head span { font-size: 13px; color: var(--on-ink-2); }
.able__face { width: 40px; height: 40px; border-radius: 50%; background: var(--white); }
.able__x { background: none; border: 0; color: var(--on-ink); font-size: 28px; line-height: 1; cursor: pointer; width: 40px; height: 40px; border-radius: 8px; }
.able__log { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; background: var(--paper); }
.able__msg { margin: 0; padding: 10px 14px; border-radius: 14px; max-width: 88%; font-size: 15px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.able__msg--bot { background: var(--white); color: var(--text); align-self: flex-start; border-end-start-radius: 4px; }
.able__msg--me { background: var(--ink); color: var(--white); align-self: flex-end; border-end-end-radius: 4px; }
.able__msg--wait { color: var(--text-2); font-style: normal; display: flex; gap: 8px; align-items: center; }
.able__msg--wait img, .able__msg--hand img { width: 44px; height: 44px; }
.able__msg--hand { display: grid; gap: 8px; border: 2px solid var(--amber); }
.able__msg--hand .btn { justify-self: start; }
.able__form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); background: var(--white); }
.able__form textarea { flex: 1; font: inherit; font-size: 16px; border: 1px solid #B9C6D4; border-radius: 12px; padding: 9px 12px; resize: none; max-height: 120px; min-height: 44px; }
.able__note { margin: 0; padding: 0 12px 10px; font-size: 12px; color: var(--text-2); background: var(--white); }
@media (max-width: 520px) { .able__fab span { display: none; } .able__fab { padding: 4px !important; } .able__panel { inset: 0; width: 100%; height: 100%; border-radius: 0; } }
@media print { .top, .foot, .able, .preview-bar { display: none; } }
/* English course names on the Arabic pages sit on the reading side. */
.lang-ar .crs__name, .lang-ar .codes span[dir="ltr"], .lang-ar .crs__code, .lang-ar .finder__out span { text-align: right; }
/* The code and name of a course read from the page's own side. */
.lang-ar .course-code, .lang-ar .page-head--course h1, .lang-ar .side-box__code { text-align: right; }

/* ── trainers (update 57) ── */
.people { list-style: none; padding: 0; margin: 8px 0 32px; }
.person { display: grid; grid-template-columns: 112px 1fr; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.person:last-child { border-bottom: 0; }
.person__img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; background: var(--paper); }
.person__text h3 { margin: 4px 0 2px; font-size: 20px; color: var(--ink); }
.person__role { margin: 0 0 10px; color: var(--deep); font-weight: 600; font-size: 15px; }
.person .prose p { margin: 0 0 10px; }
@media (max-width: 560px) { .person { grid-template-columns: 72px 1fr; gap: 14px; } .person__img { width: 72px; height: 72px; } }
