@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Noto+Sans+Arabic:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,500,0,0&display=block');

:root {
  --ink: #230859;
  --ink-2: #170340;
  --ink-3: #33108a;
  --cyan: #00b8d9;
  --cyan-bright: #00dcff;
  --green: #3fae2f;
  --purple: #8b3fe0;
  --red: #d1002b;
  --dark-red: #7a0c1f;
  --magenta: #d600a8;
  --orange: #e07300;
  --white: #ffffff;
  --grey-50: #f6f5fa;
  --grey-100: #eeebf5;
  --grey-200: #ddd8ea;
  --grey-400: #a79fc2;
  --grey-600: #6b6280;
  --grey-800: #3a3450;
  --text: #201a35;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 6px 24px rgba(35, 8, 89, 0.12);
  --shadow-lg: 0 16px 48px rgba(35, 8, 89, 0.22);
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-ar: 'Noto Sans Arabic', 'Manrope', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--grey-50);
  -webkit-font-smoothing: antialiased;
}
html[dir="rtl"] body { font-family: var(--font-ar); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Skip link ===== */
/* Parked out of sight by clipping rather than by `left: -999px`. In LTR the
   browser throws away leftward overflow, so the old trick was invisible — but
   in RTL that same 999px becomes real scrollable width, and every Arabic page
   could be dragged sideways into empty space. Clipping is direction-neutral. */
.skip-link {
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  background: var(--white);
  color: var(--ink);
  padding: 10px 16px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  width: auto;
  height: auto;
  overflow: visible;
  clip-path: none;
}

/* ===== Link strip at the very top of every page =====
   Landing pages and demo tools. Dark red so it stands out from the violet
   header beneath it. Small centred text links, in the manner of marketismo.com.
   On a narrow screen the row scrolls sideways instead of wrapping; auto
   margins keep it centred when it fits and start-aligned when it doesn't. */
.utility {
  background: var(--dark-red);
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  font-size: 13px;
}
.utility .container {
  overflow-x: auto;
  scrollbar-width: none;
}
.utility .container::-webkit-scrollbar { display: none; }
.utility-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  margin: 0 auto;
  padding: 13px 0;
}
.u-group { display: flex; align-items: center; gap: 20px; }
.u-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
}
.u-label::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.utility a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  white-space: nowrap;
}
.utility a:hover,
.utility a:focus-visible { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.utility a.active { color: var(--white); font-weight: 700; }
.u-sep { width: 1px; height: 18px; background: rgba(255, 255, 255, 0.3); flex: none; }

/* ===== Top utility bar (country selector) ===== */
.topbar {
  background: var(--ink-2);
  color: var(--white);
  font-size: 13px;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.selector {
  position: relative;
}
.selector-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.selector-btn:hover { border-color: rgba(255,255,255,0.7); }
.selector-menu {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-end: 0;
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 6px;
  display: none;
  z-index: 60;
}
.selector.open .selector-menu { display: block; }
.selector-menu button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  text-align: start;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text);
}
.selector-menu button:hover { background: var(--grey-100); }
.selector-menu button.active { background: var(--grey-100); font-weight: 700; }
/* Arabic needs its own font: Manrope has no Arabic glyphs, and on an
   English or Spanish page the body is not using the Arabic stack. */
.selector-lang[lang="ar"] { font-family: var(--font-ar); }
.flag-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--cyan-bright);
  flex: none;
}

/* ===== Header / masthead ===== */
.masthead {
  background: var(--ink);
  color: var(--white);
}
.masthead .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo {
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.logo-img {
  height: 34px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-end;
}
.main-nav a {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}
.main-nav a:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.main-nav a.active { background: var(--white); color: var(--ink); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 26px;
}

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    padding-bottom: 12px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; }
  .masthead .container { flex-wrap: wrap; }
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(120deg, var(--ink) 0%, var(--ink-3) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset-inline-end: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,220,255,0.35), transparent 70%);
}
.hero .container { padding-top: 44px; padding-bottom: 40px; position: relative; }
.hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero h1 { font-size: 34px; font-weight: 800; max-width: 720px; line-height: 1.25; }
.hero p.lead { margin-top: 12px; max-width: 620px; font-size: 16px; color: rgba(255,255,255,0.85); }
.hero-ctas { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 24px;
  font-weight: 700;
  font-size: 14px;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--cyan-bright); color: var(--ink-2); }
.btn-primary:hover { box-shadow: 0 8px 20px rgba(0,220,255,0.35); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.6); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { box-shadow: var(--shadow); }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ===== Section shells ===== */
.section { padding: 48px 0; }
.section-tight { padding: 28px 0; }
.section-title { font-size: 24px; font-weight: 800; color: var(--ink); }
.section-sub { color: var(--grey-600); margin-top: 6px; font-size: 15px; max-width: 640px; }
.section-alt { background: var(--white); }

/* ===== Calendar layout =====
   Filters sit in a bar above the calendar rather than in a sidebar, so the
   month grid gets the full page width: each day column is ~175px instead of
   ~130px, which is what lets course and event names be set large and in full. */
.cal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.filters-panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px 32px;
}
.filter-group { margin: 0; }
.filter-group h4 {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--grey-600);
  margin-bottom: 9px;
  font-weight: 800;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  border: 1.5px solid var(--grey-200);
  background: var(--white);
  padding: 7px 13px;
  border-radius: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.chip:hover { border-color: var(--ink-3); }
.chip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.chip[data-disabled="true"] { opacity: 0.4; cursor: not-allowed; }
.city-select {
  width: 100%;
  min-width: 190px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1.5px solid var(--grey-200);
  font-size: 14px;
  font-family: inherit;
  margin-top: 8px;
}
.filter-reset {
  align-self: flex-end;
  margin-inline-start: auto;
  text-align: center;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-3);
  background: var(--grey-100);
  border-radius: 18px;
  padding: 9px 16px;
  border: none;
}

/* ===== Calendar main ===== */
.cal-main { min-width: 0; }
.cal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.cal-month-nav { display: flex; align-items: center; gap: 12px; }
.cal-month-nav button {
  background: var(--white);
  border: 1.5px solid var(--grey-200);
  border-radius: 50%;
  width: 40px; height: 40px;
  font-size: 19px;
  color: var(--ink);
}
.cal-month-nav button:hover { border-color: var(--ink); }
.cal-month-label { font-size: 23px; font-weight: 800; color: var(--ink); min-width: 190px; text-align: center; }
.view-toggle { display: flex; background: var(--grey-100); border-radius: 22px; padding: 3px; }
.view-toggle button {
  background: transparent;
  border: none;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--grey-600);
}
.view-toggle button.active { background: var(--white); color: var(--ink); box-shadow: var(--shadow); }

.legend { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 14px; font-size: 14px; color: var(--grey-800); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend .dot { width: 9px; height: 9px; border-radius: 50%; }

.month-grid {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
/* minmax(0, 1fr), not 1fr: with plain 1fr a long title widens its own column
   and pushes Sunday off the edge of the grid. */
.month-grid-head, .month-grid-body {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.month-grid-head div {
  padding: 12px 6px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--grey-600);
  text-align: center;
  background: var(--grey-50);
}
.day-cell {
  min-height: 150px;
  min-width: 0;
  border-top: 1px solid var(--grey-100);
  border-inline-start: 1px solid var(--grey-100);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.day-cell.outside { background: var(--grey-50); opacity: 0.5; }
.day-cell.today { background: #f2ecff; }
.day-num { font-size: 15px; font-weight: 800; color: var(--grey-600); }
.day-cell.today .day-num { color: var(--ink-3); }

/* Each entry is a small card: what it is on one line, then the name in full
   (up to two lines) at a readable size. */
.pill {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.25;
  padding: 7px 9px 8px;
  border-radius: 8px;
  border: none;
  color: var(--white);
  text-align: start;
  width: 100%;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(35, 8, 89, 0.12);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.pill-kicker {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  opacity: 0.92;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pill-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  width: 100%;
  overflow-wrap: anywhere;
}
.pill-meta {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.92;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pill:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 4px 10px rgba(35, 8, 89, 0.18); }

/* A class of a cohort course: the card is a group, not a button — the main
   area opens the course, the ‹ › arrows step through its classes. */
.pill-class { padding: 0; gap: 0; cursor: default; overflow: hidden; }
.pill-class:hover { transform: none; }
.pill-main {
  display: flex; flex-direction: column; gap: 3px;
  background: none; border: none; color: inherit; font: inherit; text-align: start;
  padding: 7px 9px 6px; width: 100%; cursor: pointer;
}
.pill-main:hover { background: rgba(255, 255, 255, 0.1); }
.pill-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 4px;
  background: rgba(0, 0, 0, 0.14);
  padding: 2px 3px;
  font-size: 11.5px; font-weight: 800;
}
.pill-count { flex: 1; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill-step {
  flex: none; width: 24px; height: 22px; border-radius: 5px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.18); border: none; color: inherit;
  font-size: 16px; font-weight: 800; line-height: 1; cursor: pointer;
}
.pill-step:hover { background: rgba(255, 255, 255, 0.34); }
.pill-step:focus-visible, .pill-main:focus-visible { outline: 2px solid var(--white); outline-offset: -2px; }
.pill-step.is-off { background: none; opacity: 0.35; cursor: default; }
html[dir="rtl"] .pill-step { transform: scaleX(-1); }
/* First and final classes are the milestones of a course: a stronger edge. */
.pill-class.is-first, .pill-class.is-last { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55), 0 1px 2px rgba(35, 8, 89, 0.12); }
/* The class an arrow just jumped to. */
.pill-class.is-focus { box-shadow: 0 0 0 3px var(--ink), 0 4px 12px rgba(35, 8, 89, 0.3); }
.pill-more {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-3);
  background: var(--grey-100);
  border: none;
  border-radius: 8px;
  text-align: center;
  padding: 6px 4px;
}
.pill-more:hover { background: var(--grey-200); }
.cat-f2f { background: var(--cyan); }
.cat-online { background: var(--purple); }
.cat-exam { background: var(--orange); }
.cat-event { background: var(--green); }
.cat-cultural { background: var(--magenta); }

/* ===== Always-available strip ===== */
.always-strip {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 18px;
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.always-strip .badge {
  background: var(--purple);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
}

/* ===== List / agenda view ===== */
.agenda-list { display: flex; flex-direction: column; gap: 12px; }
.agenda-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 20px;
  display: flex;
  gap: 18px;
  align-items: center;
  border-inline-start: 7px solid var(--cyan);
  cursor: pointer;
}
.agenda-item:hover { box-shadow: var(--shadow-lg); }
.agenda-item.cat-online-border { border-inline-start-color: var(--purple); }
.agenda-item.cat-exam-border { border-inline-start-color: var(--orange); }
.agenda-item.cat-event-border { border-inline-start-color: var(--green); }
.agenda-item.cat-cultural-border { border-inline-start-color: var(--magenta); }
.agenda-date {
  flex: none;
  width: 78px;
  text-align: center;
  font-size: 30px;
  line-height: 1.05;
  font-weight: 800;
  color: var(--ink);
}
.agenda-date small { display: block; font-weight: 800; color: var(--grey-600); font-size: 13px; text-transform: uppercase; margin-top: 2px; }
.agenda-body { flex: 1; min-width: 0; }
.agenda-body h4 { font-size: 18px; font-weight: 800; line-height: 1.3; color: var(--ink); }
.agenda-body p { font-size: 14.5px; color: var(--grey-600); margin-top: 4px; }
.agenda-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.agenda-meta .tag { font-size: 12.5px; padding: 4px 11px; }.tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 10px;
  background: var(--grey-100);
  color: var(--grey-800);
}
.empty-state {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px 20px;
  text-align: center;
  color: var(--grey-600);
}
.empty-state strong { display: block; color: var(--ink); font-size: 17px; margin-bottom: 6px; }

/* ===== Modal ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(23, 3, 64, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white);
  border-radius: 18px;
  max-width: 560px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.modal-close {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  background: var(--grey-100);
  border: none;
  border-radius: 50%;
  width: 32px; height: 32px;
  font-size: 16px;
  color: var(--ink);
}
.modal-head {
  padding: 22px 24px 14px;
}
.modal-head .tag { margin-inline-end: 6px; }
.modal-head h3 { font-size: 20px; font-weight: 800; color: var(--ink); margin-top: 10px; }
.modal-body { padding: 4px 24px 24px; }
.modal-body p { font-size: 14px; color: var(--grey-800); line-height: 1.55; margin-bottom: 14px; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.info-item { background: var(--grey-50); border-radius: 10px; padding: 10px 12px; }
.info-item small { display: block; font-size: 11px; text-transform: uppercase; color: var(--grey-600); font-weight: 700; margin-bottom: 3px; }
.info-item span { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.price-box {
  background: var(--ink);
  color: var(--white);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  gap: 10px;
  flex-wrap: wrap;
}
.price-box .amount { font-size: 20px; font-weight: 800; }
.price-box .note { font-size: 12px; color: rgba(255,255,255,0.75); }
/* Stands in for the price box on face-to-face courses, where the figure is
   quoted in the enrolment journey instead. */
.price-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--grey-50);
  border-inline-start: 3px solid var(--cyan);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 6px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--grey-800);
}
.price-note .msym { font-size: 19px; color: var(--cyan); flex: none; }

/* "Who is this course for" / "Expected outcomes" in the course modal. */
.course-fit { display: grid; gap: 10px; margin-bottom: 16px; }
.course-fit-block { border: 1px solid var(--grey-200); border-radius: 12px; padding: 14px 16px; }
.course-fit-block.is-outcomes { background: var(--grey-50); border-color: transparent; }
.course-fit-block h4 { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.course-fit-block h4 .msym { font-size: 20px; color: var(--cyan); }
.course-fit-block.is-outcomes h4 .msym { color: var(--green); }
.modal-body .course-fit-lead { font-size: 12.5px; color: var(--grey-600); font-weight: 700; margin-bottom: 6px; }
.course-fit ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.course-fit li { position: relative; padding-inline-start: 18px; font-size: 13.5px; line-height: 1.45; color: var(--grey-800); }
.course-fit li::before { content: ''; position: absolute; inset-inline-start: 2px; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.course-fit-block.is-outcomes li::before { content: '✓'; width: auto; height: auto; background: none; top: 0; font-weight: 800; color: var(--green); }
.modal-body .course-fit-included { font-size: 12.5px; color: var(--grey-600); margin: 10px 0 0; }
.course-fit-included strong { color: var(--grey-800); }
.course-fit-next { display: flex; gap: 8px; align-items: flex-start; font-size: 13px !important; margin: 0 !important; color: var(--grey-800); }
.course-fit-next .msym { font-size: 18px; color: var(--ink); flex: none; }

.disclaimer { font-size: 11.5px; color: var(--grey-600); margin-top: 6px; }
.cta-flow { display: flex; flex-direction: column; gap: 8px; }
.flow-steps { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; font-size: 12px; color: var(--grey-600); font-weight: 700; }
.flow-steps .step { background: var(--grey-100); padding: 5px 10px; border-radius: 12px; }
.flow-steps .arrow { color: var(--grey-400); }

/* ===== Wizard inside modal ===== */
.wizard-step { display: none; }
.wizard-step.active { display: block; }
.form-row { margin-bottom: 12px; }
.form-row label { display: block; font-size: 12.5px; font-weight: 700; color: var(--grey-800); margin-bottom: 5px; }
.form-row input, .form-row select {
  width: 100%;
  padding: 9px 11px;
  border-radius: 8px;
  border: 1.5px solid var(--grey-200);
  font-size: 13.5px;
  font-family: inherit;
}
.level-result {
  background: var(--grey-50);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
  margin-bottom: 12px;
}
.level-result .big { font-size: 30px; font-weight: 800; color: var(--ink-3); }
.confirm-box {
  background: #eefaf0;
  border: 1.5px solid #bfe8c6;
  color: #1c6b2b;
  border-radius: 10px;
  padding: 14px;
  font-size: 13.5px;
  font-weight: 600;
}
.topic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.topic-card {
  border: 1.5px solid var(--grey-200);
  border-radius: 10px;
  padding: 10px;
  font-size: 13px;
  font-weight: 700;
  text-align: start;
  background: var(--white);
}
.topic-card.active { border-color: var(--purple); background: #f6ecff; color: var(--purple); }

/* ===== Generic content cards (companies/institutions/cultural/partnerships) ===== */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 22px; }
.info-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}
.info-card .icon-circle {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  color: var(--white);
  margin-bottom: 14px;
}
.info-card h3 { font-size: 16px; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.info-card p { font-size: 13.5px; color: var(--grey-600); line-height: 1.5; }
.info-card a.card-link { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--ink-3); }

.stat-row { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 8px; }
.stat { }
.stat .num { font-size: 30px; font-weight: 800; color: var(--white); }
.stat .lbl { font-size: 12.5px; color: rgba(255,255,255,0.7); }

.cta-band {
  background: var(--ink);
  color: var(--white);
  border-radius: 20px;
  padding: 36px;
  margin-top: 40px;
  text-align: center;
}
.cta-band h2 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.8); max-width: 520px; margin: 0 auto 18px; }

/* ===== Footer ===== */
.site-footer {
  background: var(--ink-2);
  color: rgba(255,255,255,0.75);
  padding: 32px 0;
  margin-top: 48px;
  font-size: 13px;
}
.site-footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.site-footer .foot-note { max-width: 560px; }
/* Non-affiliation notice. The prototype copies British Council branding closely
   enough that anyone who reaches it must be told at once that it is not the
   real site — so this sits on its own full-width row above the small print. */
.site-footer .foot-unofficial {
  flex-basis: 100%;
  background: rgba(255,255,255,0.10);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: #fff;
  font-weight: 700;
  line-height: 1.5;
}

/* ===== Floating widgets ===== */
.fab-stack {
  position: fixed;
  inset-inline-end: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 150;
}
.fab {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  border: none;
}
.fab-chat { background: var(--ink-3); }
.fab-whatsapp { background: #25D366; }

.chat-panel {
  position: fixed;
  inset-inline-end: 20px;
  bottom: 88px;
  width: 340px;
  max-width: calc(100vw - 40px);
  height: 440px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 150;
}
.chat-panel.open { display: flex; }
.chat-head {
  background: var(--ink);
  color: var(--white);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-head strong { font-size: 14px; }
.chat-head small { display: block; font-size: 11px; color: rgba(255,255,255,0.7); }
.chat-body { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--grey-50); }
.msg { max-width: 80%; padding: 9px 12px; border-radius: 12px; font-size: 13px; line-height: 1.4; }
.msg-bot { background: var(--white); box-shadow: var(--shadow); align-self: flex-start; border-end-start-radius: 3px; }
.msg-user { background: var(--ink-3); color: var(--white); align-self: flex-end; border-end-end-radius: 3px; }
.chat-suggest { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; background: var(--grey-50); }
.chat-suggest button {
  border: 1.5px solid var(--grey-200);
  background: var(--white);
  border-radius: 14px;
  padding: 5px 10px;
  font-size: 11.5px;
  font-weight: 600;
}
.chat-input-row { display: flex; border-top: 1px solid var(--grey-100); }
.chat-input-row input {
  flex: 1;
  border: none;
  padding: 12px 14px;
  font-size: 13px;
  font-family: inherit;
}
.chat-input-row input:focus { outline: none; }
.chat-input-row button {
  background: var(--ink);
  color: var(--white);
  border: none;
  padding: 0 18px;
  font-weight: 700;
  font-size: 13px;
}

.wa-panel {
  position: fixed;
  inset-inline-end: 20px;
  bottom: 88px;
  width: 300px;
  max-width: calc(100vw - 40px);
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  display: none;
  padding: 18px;
  z-index: 150;
}
.wa-panel.open { display: block; }
.wa-panel h4 { font-size: 15px; font-weight: 800; margin-bottom: 6px; color: var(--ink); }
.wa-panel p { font-size: 13px; color: var(--grey-600); margin-bottom: 12px; }
.wa-number {
  background: var(--grey-50);
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 800;
  font-size: 15px;
  text-align: center;
  margin-bottom: 10px;
  color: var(--ink);
  letter-spacing: 0.5px;
}

/* ===== Utility ===== */
.hide { display: none !important; }
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.small-note { font-size: 12px; color: var(--grey-600); }

/* ===== Google Material Symbols =====
   Icons are decorative and always sit beside their own label, so they carry
   aria-hidden and are never the only way a category is communicated — colour
   and text still say the same thing. `direction: ltr` keeps the ligature
   resolving on the Arabic (RTL) build. */
.msym {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
  font-size: 1.05em;
  vertical-align: -0.15em;
}

/* Legend: a filled category chip, so the colour key survives alongside the icon. */
.legend .legend-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: inline-grid;
  place-items: center;
  color: var(--white);
  flex-shrink: 0;
}
.legend .legend-icon .msym { font-size: 14px; vertical-align: 0; }

/* Month-grid pills: white icon on the category colour. */
.pill-kicker .pill-icon {
  font-size: 15px;
  margin-inline-end: 4px;
  vertical-align: -0.12em;
  opacity: 0.92;
}

/* Agenda rows and modal headings: the icon takes the category colour rather
   than sitting on it, so it reads as part of the heading. */
.agenda-body h4 .agenda-icon,
.modal-head h3 .modal-icon {
  background: transparent;
  margin-inline-end: 8px;
  vertical-align: -0.16em;
}
.agenda-body h4 .agenda-icon { font-size: 21px; }
.modal-head h3 .modal-icon { font-size: 21px; }

.agenda-body h4 .agenda-icon.cat-f2f,
.modal-head h3 .modal-icon.cat-f2f { color: var(--cyan); }
.agenda-body h4 .agenda-icon.cat-online,
.modal-head h3 .modal-icon.cat-online { color: var(--purple); }
.agenda-body h4 .agenda-icon.cat-exam,
.modal-head h3 .modal-icon.cat-exam { color: var(--orange); }
.agenda-body h4 .agenda-icon.cat-event,
.modal-head h3 .modal-icon.cat-event { color: var(--green); }
.agenda-body h4 .agenda-icon.cat-cultural,
.modal-head h3 .modal-icon.cat-cultural { color: var(--magenta); }

/* ===== Hero with campaign image ===== */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
}
.hero-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  line-height: 0;
}
.hero-media img { width: 100%; height: auto; }
.hero-cta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-cta .btn-primary .msym { font-size: 18px; vertical-align: -0.18em; }
.hero-note { font-size: 12.5px; color: rgba(255, 255, 255, 0.72); margin-top: 12px; }

/* The hero's decorative glow sits behind the photo on wide screens; on narrow
   ones it would land on top of it, so it goes. */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero::after { display: none; }
  .hero h1 { font-size: 27px; }

  /* Once the calendar layout stacks, a sticky filters panel pins itself over
     the calendar it is filtering. This override has to live here, after the
     .filters-panel rule itself — a media query adds no specificity, so the
     same declaration placed earlier in the file simply loses the cascade. */
  .filters-panel { position: static; max-height: none; }
}
