:root {
  --font-latin: "Gilroy", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-arabic: "Almarai", "Gilroy", "Plus Jakarta Sans", system-ui, sans-serif;
  --ink: #2c2c2c;
  --black: #111;
  --navy: #172642;
  --navy-2: #24395f;
  --red: #d93444;
  --red-dark: #b8202f;
  --gold: #c89e45;
  --mist: #f3f6f7;
  --mist-2: #e9eff1;
  --line: #dce7eb;
  --white: #fff;
  --muted: #6b757c;
  --footer: #151718;
  --footer-text: #c4d1d6;
  --footer-head: #dce7eb;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 14px 40px rgb(23 38 66 / 10%);
  --shadow-lift: 0 18px 44px rgb(23 38 66 / 16%);
  --shell: 1280px;
  --gutter: 16px;
  --section: clamp(44px, 7vw, 80px);
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--chrome-h, calc(var(--header-h) + 56px)) + 16px); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  padding-block-start: var(--chrome-full-h, calc(var(--header-h) + 56px));
  color: var(--ink);
  background: var(--white);
  font: 400 15px/1.6 var(--font-latin);
  letter-spacing: .17px;
  -webkit-font-smoothing: antialiased;
}
[dir="rtl"] body { font-family: var(--font-arabic); letter-spacing: 0; }
body.menu-open, body.mega-open, body.filter-open { overflow: hidden; }
main, main > *, .shell, .shell > *, [class*="-grid"] > *, .grid > * { min-width: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
a { color: inherit; }
button, input, select, textarea { font: inherit; letter-spacing: inherit; color: inherit; }
button { cursor: pointer; }
p, li, h1, h2, h3, a, span { overflow-wrap: break-word; }
[hidden] { display: none !important; }
.shell { width: min(var(--shell), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: var(--section); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; inset-block-start: 8px; inset-inline-start: -999px; z-index: 3000; padding: 10px 16px; background: var(--white); }
.skip-link:focus { inset-inline-start: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

h1, h2, h3, p { margin-block-start: 0; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: .17px; }
h1 { font-size: clamp(1.9rem, 1.2rem + 3.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 1.1rem + 1.7vw, 2.5rem); font-weight: 800; }
h3 { font-size: clamp(1rem, .95rem + .25vw, 1.1rem); font-weight: 700; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; line-height: 1.35; }
.eyebrow { margin-block-end: 10px; color: var(--red); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.note { margin-block-start: 24px; color: var(--muted); font-size: .85rem; }

/* Buttons and links */
.button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 12px;
  background: transparent;
  text-decoration: none;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: color .3s var(--ease), border-color .3s var(--ease), transform .2s;
}
.button svg { width: 18px; height: 18px; }
.button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform .35s var(--ease);
}
.button:active { transform: scale(.98); }
.button.dark { border-color: var(--black); background: var(--black); color: var(--white); }
.button.outline { color: var(--ink); }
.button.light { border-color: var(--white); background: var(--white); color: var(--black); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 28px; }
.button-row .button { flex: 1 1 200px; }
.center-button { margin-block-start: 30px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.arrow-icon { display: inline-grid; width: 18px; height: 18px; transition: transform .25s var(--ease); }
[dir="rtl"] .arrow-icon svg, [dir="rtl"] .slider-arrow svg, [dir="rtl"] .rail-controls svg { transform: scaleX(-1); }
.text-button { min-height: 44px; border: 0; background: transparent; text-decoration: underline; }

/* Fixed chrome: height changes do not move document scroll, so hide/shrink cannot bounce. */
.site-chrome { position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 1002; background: var(--white); }

/* Promo */
.promo {
  position: relative;
  z-index: 1002;
  overflow: hidden;
  max-height: 80px;
  background: var(--navy);
  color: var(--white);
  transition: max-height .28s var(--ease), opacity .28s var(--ease);
}
.promo-inner { min-height: 40px; display: flex; align-items: center; gap: 12px; padding-block: 8px; padding-inline-end: 36px; }
.promo p { margin: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: .74rem; line-height: 1.4; }
.promo p a { color: var(--gold); font-weight: 800; text-underline-offset: 3px; }
.promo button { position: absolute; inset-inline-end: 6px; inset-block-start: 50%; width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: transparent; color: var(--white); transform: translateY(-50%); }
.promo button svg { width: 18px; height: 18px; }
.promo-inner.topbar-navigation {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: space-between !important;
  min-height: 38px;
  padding-block: 6px;
  gap: 16px;
}
.topbar-certificate-link,
.topbar-hub-link {
  position: static !important;
  inset: auto !important;
  translate: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  color: var(--white);
  text-decoration: none;
  font-size: clamp(.68rem, 2.5vw, .76rem);
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: color .2s var(--ease);
}
.topbar-certificate-link {
  margin-inline-end: auto;
}
.topbar-hub-link {
  margin-inline-start: auto;
}
.topbar-certificate-link:hover,
.topbar-hub-link:hover {
  color: var(--gold);
}
.topbar-certificate-link svg,
.topbar-hub-link svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  stroke-width: 1.8;
  color: var(--gold);
}
[dir="rtl"] .topbar-certificate-link,
[dir="rtl"] .topbar-hub-link {
  letter-spacing: 0;
}
.site-chrome.is-scrolled .promo { max-height: 0; opacity: 0; pointer-events: none; }
.site-chrome.is-scrolled .promo-inner { min-height: 0; padding-block: 0; }

/* Header */
.site-header { position: relative; z-index: 1000; background: var(--white); border-block-end: 1px solid #edf0f2; transition: box-shadow .25s var(--ease); }
.site-chrome.is-scrolled .site-header { box-shadow: 0 6px 22px rgb(0 0 0 / 7%); }
.header-row { min-height: var(--header-h); display: flex; align-items: center; gap: 12px; transition: min-height .25s var(--ease); }
.site-chrome.is-scrolled .header-row { min-height: 56px; }
.brand { flex: 0 0 auto; margin-inline-end: auto; }
.brand img { width: 120px; height: 36px; object-fit: contain; object-position: inline-start; transition: width .25s var(--ease), height .25s var(--ease); }
.site-chrome.is-scrolled .brand img { width: 108px; height: 32px; }
.desktop-nav { display: none; }
.desktop-nav a { display: inline-flex; align-items: center; gap: 8px; }
.desktop-nav a > svg { width: 18px; height: 18px; min-width: 18px; min-height: 18px; flex: 0 0 18px; }
.desktop-nav > a, .desktop-nav > .categories-button { flex: 0 0 auto; }
.categories-button > svg { width: 18px; height: 18px; min-width: 18px; min-height: 18px; flex: 0 0 18px; }
.header-actions { display: flex; align-items: center; gap: 2px; }
.icon-button, .menu-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  transition: background .2s, color .2s;
}
.icon-button svg, .menu-button svg { width: 24px; height: 24px; stroke-width: 1.4; }
.menu-button .menu-open, .menu-button .menu-close { display: grid; place-items: center; }
.menu-button .menu-close { display: none; }
.menu-button[aria-expanded="true"] .menu-open { display: none; }
.menu-button[aria-expanded="true"] .menu-close { display: grid; }
.basket-link, .header-text-link { display: none; }
.language-link { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding-inline: 6px; text-decoration: none; font-size: .78rem; font-weight: 600; }
.header-text-link, .desktop-nav a, .categories-button {
  position: relative;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}
[dir="rtl"] .header-text-link, [dir="rtl"] .desktop-nav a, [dir="rtl"] .categories-button { letter-spacing: 0; font-size: .85rem; }

.search-overlay {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  align-items: stretch;
  background: var(--white);
}
.search-overlay[hidden] { display: none; }
.search-overlay-form {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding-inline: clamp(12px, 4vw, 40px);
}
.search-overlay-form input {
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 56px;
  border: 0;
  background: transparent;
  appearance: none;
  text-align: center;
  font-size: clamp(1.05rem, 2.2vw, 1.65rem);
  font-weight: 500;
  color: var(--ink);
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}
.search-overlay-form input::placeholder { color: #9aa3ab; }
.search-overlay-form input:focus { outline: none; }
.search-overlay-submit,
.search-overlay-close {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
}
.search-overlay-submit svg,
.search-overlay-close svg { width: 26px; height: 26px; stroke-width: 1.4; }
.search-hits {
  position: fixed;
  inset-inline: 0;
  inset-block-start: var(--chrome-h, 104px);
  inset-block-end: 0;
  z-index: 1001;
  overflow: auto;
  overscroll-behavior: contain;
  padding-block: 20px 32px;
  background: var(--mist);
  box-shadow: 0 18px 40px rgb(23 38 66 / 12%);
}
.search-hits[hidden] { display: none; }
.search-hits-count,
.search-result-count {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: .95rem;
  font-weight: 700;
}
.search-hits-more { margin: 8px 0 0; text-align: center; }
.search-hits-more a { font-weight: 800; }
.search-pin-source { display: none; }
body.search-open:not(.search-page) { overflow: hidden; }
.large-search { max-width: 800px; display: flex; margin-block-start: 22px; }
.large-search input {
  flex: 1;
  min-width: 0;
  min-height: 50px;
  padding-inline: 16px;
  border: 1px solid var(--line);
  border-start-start-radius: 12px;
  border-end-start-radius: 12px;
  border-inline-end: 0;
  background: var(--mist);
  font-size: 16px;
}
.large-search button {
  width: 54px;
  display: grid;
  place-items: center;
  border: 0;
  border-start-end-radius: 12px;
  border-end-end-radius: 12px;
  background: var(--black);
  color: var(--white);
}
.large-search button svg { width: 22px; height: 22px; }

/* Floating menu panel */
.menu-panel {
  position: fixed;
  inset-block-start: calc(var(--menu-top, 104px) + 8px);
  inset-inline: 10px;
  z-index: 1001;
  max-height: calc(100dvh - var(--menu-top, 104px) - 20px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 10px 24px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 24px 60px rgb(23 38 66 / 18%);
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  animation: panel-in .28s var(--ease);
}
.menu-panel[hidden] { display: none; }
.menu-backdrop { display: none; }
.menu-backdrop[hidden] { display: none !important; }
.menu-panel-close { display: none; }
.menu-links { display: grid; }
.menu-primary-links { display: none; }
.menu-extra-links { display: grid; }
.menu-links a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding-inline: 20px;
  border-block-end: 3px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: color .2s, padding .25s var(--ease);
}
.menu-links a > svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--red); }
[dir="rtl"] .menu-links a { letter-spacing: 0; font-size: .95rem; }
.menu-links a[aria-current="page"] { color: var(--red); }
.menu-links details { border-block-end: 1px solid var(--line); }
.menu-links details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 52px;
  padding-inline: 20px;
  color: var(--ink);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  list-style: none;
  cursor: pointer;
  transition: color .2s var(--ease);
}
[dir="rtl"] .menu-links details summary { letter-spacing: 0; font-size: .95rem; }
.menu-links details summary:hover { color: var(--red); }
.menu-links details summary::-webkit-details-marker { display: none; }
.menu-entry-label { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.menu-entry-label > svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--red); }
.menu-entry-chevron { display: inline-flex; flex: 0 0 auto; }
.menu-entry-chevron > svg { width: 18px; height: 18px; flex: 0 0 auto; transition: transform .25s var(--ease); }
.menu-links details[open] > summary .menu-entry-chevron > svg { transform: rotate(180deg); }
.menu-links details > div {
  display: grid;
  gap: 2px;
  padding: 6px 12px 12px;
  background: var(--mist);
  border-radius: var(--radius-sm);
  margin-inline: 12px;
  margin-block-end: 8px;
}
.menu-links details > div a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding-inline: 12px;
  border-block-end: 0;
  border-radius: 4px;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
  transition: color .2s var(--ease), background .2s var(--ease), padding .2s var(--ease);
}
.menu-links details > div a:hover {
  color: var(--navy);
  background: rgb(255 255 255 / 80%);
  padding-inline-start: 16px;
}
.menu-links details > div a[aria-current="page"] { color: var(--red); font-weight: 700; }

/* Mega menu (desktop) */
.mega-menu {
  display: none;
  opacity: 0;
  transform: translateY(-12px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility 0s linear .28s;
}
.mega-menu.is-open {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility 0s linear;
}
.categories-button svg:last-child { transform: rotate(0deg); transition: transform .28s var(--ease); }
.section-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-block-end: 24px; }
.section-heading h2 { margin: 0; }
.heading-label { display: inline-flex; align-items: center; gap: 10px; }
.heading-label svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--red); }
.section-heading.compact h2, .mega-lower h2 { font-size: .95rem; }
.section-heading a, .solution-grid article a { display: inline-flex; align-items: center; gap: 8px; }
.mega-category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.trending-category-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.mega-services-layout .mega-services { min-width: 0; }
.mega-services-layout .mega-accreditations { min-width: 0; }
.partner-grid, .cert-rail { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.partner-card, .logo-card {
  min-height: 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  border: 1px solid #e6ebed;
  border-radius: var(--radius-sm);
  background: var(--white);
  text-align: center;
  text-decoration: none;
  font-size: .72rem;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.partner-mark { color: var(--navy); font-size: 1.2rem; font-weight: 800; letter-spacing: -.04em; }
.partner-logo {
  width: auto;
  max-width: 132px;
  height: 56px;
  object-fit: contain;
}
.partner-logo.is-pecb {
  height: calc(56px * 0.8);
  max-width: calc(132px * 0.8);
}
.mega-lower { padding-block-start: 25px; border-block-start: 1px solid #d5dfe3; }
.mode-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mode-row a { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); color: var(--navy); font-size: .86rem; font-weight: 700; line-height: 1.3; text-decoration: none; transition: border-color .2s, box-shadow .2s, color .2s; }
.mode-row b { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: rgb(217 52 68 / 9%); color: var(--red); }
.mode-row b svg { width: 20px; height: 20px; }
.mega-locations { margin-block-start: 26px; }
.mega-locations .link-cloud a { gap: 6px; min-height: 36px; padding-inline: 12px; }
.mega-locations .link-cloud svg { width: 14px; height: 14px; color: var(--red); }
.mega-locations .link-cloud a:hover svg { color: currentColor; }
.mode-row a:hover { border-color: var(--red); color: var(--red); box-shadow: var(--shadow); }
.link-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.link-cloud a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); text-decoration: none; font-size: .8rem; transition: background .2s, color .2s, border-color .2s; }
.link-cloud.large { margin-block-start: 22px; }

/* Category and location tiles */
.category-tile, .hero-card {
  position: relative;
  isolation: isolate;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
}
.category-tile picture, .hero-card picture,
.category-tile img, .hero-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}
.category-tile img, .hero-card img {
  max-height: none;
  object-fit: cover;
  object-position: center;
  transition: transform .6s var(--ease), opacity .3s;
}
.category-tile::after, .hero-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgb(7 15 28 / 72%)); }
.hero-card::after { background: linear-gradient(180deg, rgb(7 15 28 / 12%) 28%, rgb(7 15 28 / 78%)); }
.category-tile { aspect-ratio: 1; }
.category-tile img { opacity: .75; }
.category-tile-copy {
  position: absolute;
  inset-inline: 14px;
  inset-block-end: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.3;
}
.category-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgb(255 255 255 / 18%);
  backdrop-filter: blur(8px);
}
.category-icon svg { width: 18px; height: 18px; }
.category-tile.compact { aspect-ratio: auto; min-height: 120px; border-radius: var(--radius-sm); }
.category-tile.compact .category-tile-copy { inset-inline: 10px; inset-block-end: 10px; gap: 6px; font-size: .7rem; }
.category-tile.compact .category-icon { width: 28px; height: 28px; }
.category-tile.compact .category-icon svg { width: 14px; height: 14px; }
.location-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 188px;
  padding: 18px 12px 16px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: #f4f6f8;
  color: var(--navy);
  text-align: center;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}
.location-tile img {
  width: 148px;
  height: 148px;
  pointer-events: none;
  object-fit: contain;
  background: transparent;
}
.location-tile span {
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}
[dir="rtl"] .location-tile span { letter-spacing: 0; }

/* Home hero */
.home-hero {
  overflow: hidden;
  padding-block: 28px var(--section);
  background-color: #f7f8fa;
  background-image:
    radial-gradient(circle at 6% 10%, rgb(217 52 68 / 7%), transparent 26%),
    radial-gradient(circle at 94% 78%, rgb(200 158 69 / 10%), transparent 24%),
    url("/assets/img/hero-texture.svg");
  background-repeat: no-repeat, no-repeat, repeat;
  background-size: auto, auto, 28px 28px;
}
.home-hero h1 { max-width: 1050px; min-height: 3.35em; margin: 0 auto 28px; font-size: clamp(1.8rem, 1.1rem + 3vw, 3.4rem); font-weight: 800; }
.hero-statement-lead { color: var(--navy); }
.hero-statement .typing { color: var(--red); }
.typing { color: var(--red); border-inline-end: 3px solid var(--red); padding-inline-end: 4px; animation: caret 1s step-end infinite; }

/* Homepage impact statistics */
.home-impact {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 0%, rgb(217 52 68 / 16%), transparent 28%),
    radial-gradient(circle at 94% 100%, rgb(200 158 69 / 12%), transparent 26%),
    var(--navy);
  color: var(--white);
}
.home-impact::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgb(255 255 255 / 3%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 3%) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black, transparent 76%);
}
.home-impact .shell { position: relative; }
.home-impact-heading { max-width: 900px; margin: 0 auto clamp(42px, 6vw, 72px); text-align: center; }
.home-impact-heading .eyebrow { color: #ff7d89; }
.home-impact-heading h2 { margin-block-end: 16px; color: var(--white); font-size: clamp(1.85rem, 1.25rem + 2vw, 3rem); }
.home-impact-heading > p:last-child { max-width: 760px; margin: 0 auto; color: #d9e1ec; font-size: clamp(.96rem, .9rem + .2vw, 1.08rem); }
.home-impact-grid { display: grid; grid-template-columns: 1fr; gap: 38px 24px; }
.home-impact-grid article { position: relative; text-align: center; }
.home-impact-grid article::after { content: ""; position: absolute; inset-inline: 22%; inset-block-end: -20px; height: 1px; background: rgb(255 255 255 / 14%); }
.home-impact-grid strong {
  position: relative;
  z-index: 0;
  isolation: isolate;
  display: inline-block;
  margin-block-end: 12px;
  color: var(--white);
  font-size: clamp(2.8rem, 2rem + 4vw, 5rem);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.04em;
}
.home-impact-grid strong::after {
  content: "";
  position: absolute;
  inset-inline-end: -.12em;
  inset-block-start: -.05em;
  z-index: -1;
  width: .34em;
  height: .72em;
  background: linear-gradient(145deg, var(--red) 0 48%, var(--gold) 49% 100%);
  clip-path: polygon(26% 0, 100% 0, 72% 100%, 0 100%);
}
.home-impact-grid h3 { margin-block-end: 9px; color: var(--white); font-size: 1.04rem; }
.home-impact-grid p { max-width: 390px; margin: 0 auto; color: #cad5e4; font-size: .88rem; line-height: 1.65; }
[dir="rtl"] .home-impact-grid strong { letter-spacing: 0; }

@media (min-width: 600px) {
  .home-impact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .home-impact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 70px 56px; }
  .home-impact-grid article::after { display: none; }
}
.hero-rail-wrap { position: relative; width: 100%; }
.hero-rail, .rail {
  display: grid;
  grid-auto-flow: column;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.hero-rail::-webkit-scrollbar, .rail::-webkit-scrollbar { display: none; }
.hero-rail {
  width: 100%;
  padding-inline: clamp(16px, 2.6vw, 36px);
  scroll-padding-inline: clamp(16px, 2.6vw, 36px);
  grid-auto-columns: 78%;
  gap: 16px;
}
.hero-rail.is-enhanced {
  display: block;
  overflow: hidden;
  scroll-snap-type: none;
}
.hero-track {
  display: grid;
  grid-auto-flow: column;
  align-items: stretch;
  gap: 16px;
  grid-auto-columns: 78%;
  will-change: transform;
}
.hero-card {
  aspect-ratio: 1;
  scroll-snap-align: start;
  border-radius: 16px;
  color: var(--white);
  box-shadow: 0 10px 28px rgb(23 38 66 / 12%);
}
.hero-card picture, .hero-card img { opacity: 1; }
.hero-card-body {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 22px 20px 22px;
  background: linear-gradient(180deg, transparent 36%, rgb(7 15 28 / 28%) 62%, rgb(7 15 28 / 74%) 100%);
  text-shadow: 0 1px 12px rgb(7 15 28 / 45%);
}
.hero-card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-block-end: auto;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero-card-kicker svg { width: 16px; height: 16px; flex: 0 0 auto; }
.hero-card-title { font-size: clamp(1.2rem, .95rem + .85vw, 1.85rem); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; }
.hero-card-sub { font-size: .84rem; line-height: 1.4; color: rgb(255 255 255 / 88%); }
.hero-card-link { display: flex; align-items: center; gap: 8px; padding-block-start: 4px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.slider-arrow {
  position: absolute;
  z-index: 2;
  inset-block-start: calc(50% - 40px);
  width: 48px;
  height: 48px;
  display: none;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: background .2s, color .2s, transform .2s;
}
.slider-arrow svg { width: 20px; height: 20px; }
.slider-arrow.prev svg { rotate: 180deg; }
.slider-arrow.prev { inset-inline-start: clamp(8px, 1.4vw, 18px); }
.slider-arrow.next { inset-inline-end: clamp(8px, 1.4vw, 18px); }
.slider-dots { display: flex; justify-content: center; gap: 4px; padding-block-start: 18px; }
.slider-dots button { width: 28px; height: 28px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; }
.slider-dots button::before { content: ""; width: 7px; height: 7px; border-radius: 99px; background: #c9d4d8; transition: width .3s var(--ease), background .3s; }
.slider-dots button[aria-current="true"]::before { width: 22px; background: var(--red); }

/* Partner logo carousel */
.cert-strip h2 { max-width: 920px; margin: 0 auto 22px; text-align: center; font-size: clamp(.78rem, .7rem + .35vw, .95rem); letter-spacing: .1em; text-transform: uppercase; }
.cert-strip .heading-label { justify-content: center; flex-wrap: wrap; }
[dir="rtl"] .cert-strip h2 { letter-spacing: 0; }
.logo-rail-wrap { position: relative; width: 100%; }
.logo-rail-wrap .slider-arrow { inset-block-start: 50%; transform: translateY(-50%); }
.logo-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 72%;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-inline: clamp(16px, 2.6vw, 36px);
  padding-block: 8px 24px;
  margin-block: -8px -24px;
}
.logo-rail::-webkit-scrollbar { display: none; }
.logo-rail.is-enhanced {
  display: block;
  overflow: hidden;
  scroll-snap-type: none;
}
.logo-rail .hero-track {
  display: grid;
  grid-auto-flow: column;
  align-items: stretch;
  gap: 12px;
  grid-auto-columns: 72%;
  will-change: transform;
}
.logo-card {
  scroll-snap-align: start;
  min-height: 118px;
}
.logo-card img {
  width: auto;
  max-width: 148px;
  height: 58px;
  object-fit: contain;
}
.logo-card span {
  color: var(--muted);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
[dir="rtl"] .logo-card span { letter-spacing: 0; }
.logo-group { margin-block-start: 28px; }
.logo-group:first-child { margin-block-start: 0; }
.logo-group h3 { position: relative; margin: 0 0 14px; padding-block-end: 10px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.logo-group h3::after { content: ""; position: absolute; inset-inline-start: 0; inset-block-end: 0; width: 28px; height: 2px; border-radius: 2px; background: var(--red); }
[dir="rtl"] .logo-group h3 { letter-spacing: 0; }

/* Course rails and cards */
.discovery { display: grid; gap: var(--section); }
.course-rail { position: relative; overflow: visible; }
.rail {
  grid-auto-columns: 78%;
  gap: 16px;
  margin: -8px -4px -6px;
  padding: 16px 12px 28px;
}
.rail > * { scroll-snap-align: start; }
.rail-controls { display: none; gap: 8px; }
.rail-controls button, .view-buttons button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  transition: background .2s, color .2s, border-color .2s;
}
.rail-controls button svg { width: 18px; height: 18px; }
.rail-controls [data-rail-prev] svg { rotate: 180deg; }
.rail-all { display: flex; width: fit-content; margin: 18px auto 0; }
.course-grid, .location-grid, .function-grid, .news-grid, .mentor-grid, .benefit-grid, .feature-grid, .audience-grid, .mode-grid, .solution-grid, .content-grid, .gallery-grid, .process-grid { display: grid; gap: 16px; }
.course-grid, .news-grid, .mentor-grid { padding: 12px 8px 28px; margin: -8px -4px -12px; }
.location-grid, .function-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
.course-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform .2s, box-shadow .2s;
}
.course-image { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: var(--navy); }
.course-image img { width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: 100% 50%; transition: transform .6s var(--ease); }
.card-logo { position: absolute; inset-block-start: 12px; inset-inline-start: 12px; display: grid; place-items: center; min-height: 34px; padding: 4px 8px; border-radius: 8px; background: rgb(255 255 255 / 96%); color: var(--black); font-size: .62rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.course-image .card-logo img { width: auto; max-width: 84px; height: 30px; object-fit: contain; transition: none; }
.card-topic { display: flex; align-items: center; gap: 6px; }
.card-topic svg { width: 15px; height: 15px; flex: 0 0 auto; }
.course-card-body { display: flex; flex: 1; flex-direction: column; padding: 16px; }
.course-card h3 { margin-block-end: 8px; }
.course-card h3 a { text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px; transition: background-size .3s var(--ease); }
[dir="rtl"] .course-card h3 a { background-position: 100% 100%; }
.course-card p { color: var(--muted); font-size: .82rem; }
.course-card .eyebrow { margin-block-end: 6px; font-size: .64rem; }
.course-card .upcoming { display: flex; align-items: center; gap: 6px; margin: auto 0 0; padding-block-start: 12px; border-block-start: 1px solid var(--line); color: var(--ink); font-size: .76rem; }
.upcoming svg { width: 16px; height: 16px; flex: 0 0 auto; color: var(--red); }
.course-grid.list-view { grid-template-columns: 1fr; }
.empty-state { padding: 30px; border-radius: var(--radius); background: var(--mist); text-align: center; }

/* Catalogue shelf */
.catalogue-shelf {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgb(217 52 68 / 22%), transparent 34%),
    radial-gradient(circle at 92% 100%, rgb(200 158 69 / 20%), transparent 32%),
    linear-gradient(160deg, var(--navy) 0%, #0e1a30 100%);
  color: var(--white);
}
.catalogue-shelf h2, .catalogue-shelf .text-link { color: var(--white); }
.catalogue-shelf .eyebrow { color: var(--gold); }
.catalogue-shelf .heading-label svg { color: var(--gold); }
.shelf-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 46%;
  gap: 16px;
  overflow-x: auto;
  margin-inline: calc(var(--gutter) * -1);
  padding: 12px var(--gutter) 20px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.shelf-grid::-webkit-scrollbar { display: none; }
.shelf-book {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 14px 16px;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 6%);
  color: var(--white);
  text-decoration: none;
  scroll-snap-align: start;
  transition: transform .3s var(--ease), background .3s, border-color .3s;
}
.shelf-cover {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1.414;
  border-radius: 4px 10px 10px 4px;
  background: #0b1526;
  box-shadow: -6px 0 0 -2px rgb(255 255 255 / 18%), 0 18px 36px rgb(0 0 0 / 38%);
  transform: perspective(900px) rotateY(-8deg);
  transform-origin: left center;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
[dir="rtl"] .shelf-cover { border-radius: 10px 4px 4px 10px; box-shadow: 6px 0 0 -2px rgb(255 255 255 / 18%), 0 18px 36px rgb(0 0 0 / 38%); transform: perspective(900px) rotateY(8deg); transform-origin: right center; }
.shelf-cover img { width: 100%; height: 100%; object-fit: cover; }
.shelf-title { min-height: 2.6em; font-size: .9rem; font-weight: 800; line-height: 1.3; text-align: center; }
.shelf-cta { display: inline-flex; align-items: center; justify-content: center; gap: 6px; margin-block-start: auto; color: var(--gold); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.shelf-cta svg { width: 15px; height: 15px; }
[dir="rtl"] .shelf-cta { letter-spacing: 0; }

/* Portfolio resources */
.resource-grid { display: grid; gap: 16px; }
.resource-tile {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: inherit;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.resource-tile h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin: 0;
  padding: 10px 16px;
  background: var(--navy);
  color: var(--white);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-align: center;
  text-transform: uppercase;
}
[dir="rtl"] .resource-tile h3 { letter-spacing: 0; }
.resource-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0b1526; }
.resource-media img, .resource-media video { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.resource-tile.is-contain .resource-media { background: var(--white); }
.resource-tile.is-contain .resource-media img { object-fit: contain; padding: 12px; }
.resource-tile.is-video .resource-media video { background: #000; }
.resource-tile.is-video h3 { background: var(--red); }

/* Testimonials */
.testimonial { background: var(--mist); text-align: center; }
.testimonial-quote { display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto 12px; color: var(--red); }
.testimonial-quote svg { width: 32px; height: 32px; }
.testimonial-slider { display: grid; }
.testimonial-slide { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease), visibility .6s; }
.testimonial-slide.is-active { opacity: 1; visibility: visible; transform: none; }
.testimonial blockquote { max-width: 900px; margin: 10px auto 18px; font-size: clamp(1.2rem, .9rem + 1.6vw, 2.3rem); font-weight: 700; line-height: 1.4; }
.testimonial figcaption { color: var(--muted); }

/* Image heroes */
.hero-media { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(52px, 9vw, 110px); background: #0b1526; color: rgb(255 255 255 / 88%); }
.hero-media > .hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.06); animation: hero-settle 12s var(--ease) forwards; }
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(110% 90% at 100% 0%, rgb(217 52 68 / 24%), transparent 55%),
    linear-gradient(90deg, rgb(7 13 26 / 95%) 0%, rgb(11 21 40 / 86%) 40%, rgb(14 27 50 / 58%) 72%, rgb(14 27 50 / 42%) 100%),
    linear-gradient(0deg, rgb(7 13 26 / 80%) 0%, transparent 50%);
}
[dir="rtl"] .hero-media::before {
  background:
    radial-gradient(110% 90% at 0% 0%, rgb(217 52 68 / 24%), transparent 55%),
    linear-gradient(270deg, rgb(7 13 26 / 95%) 0%, rgb(11 21 40 / 86%) 40%, rgb(14 27 50 / 58%) 72%, rgb(14 27 50 / 42%) 100%),
    linear-gradient(0deg, rgb(7 13 26 / 80%) 0%, transparent 50%);
}
.hero-media::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: 0; height: 3px; background: linear-gradient(90deg, var(--red), var(--gold) 45%, transparent 85%); }
[dir="rtl"] .hero-media::after { background: linear-gradient(270deg, var(--red), var(--gold) 45%, transparent 85%); }
.hero-media > .breadcrumbs { position: absolute; inset-block-start: clamp(14px, 2.5vw, 26px); inset-inline: 0; z-index: 1; align-items: center; padding: 0; color: rgb(255 255 255 / 62%); font-size: .78rem; }
.hero-media > .breadcrumbs a { color: rgb(255 255 255 / 88%); transition: color .2s; }
.hero-media > .breadcrumbs a:hover { color: var(--gold); }
.hero-media > .breadcrumbs > span:last-child { color: var(--gold); font-weight: 600; }
.hero-media:has(> .breadcrumbs) { padding-block-start: clamp(72px, 10vw, 120px); }
.hero-media h1, .hero-media .advisor-card h2 { color: var(--white); text-shadow: 0 2px 28px rgb(0 0 0 / 40%); }
.hero-media h1 { margin-block-end: 18px; }
.hero-media p { color: rgb(255 255 255 / 88%); }
.hero-media p:not(.eyebrow) { font-size: clamp(1rem, .95rem + .35vw, 1.18rem); line-height: 1.65; text-shadow: 0 1px 14px rgb(0 0 0 / 35%); }
.hero-media .eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); text-shadow: none; }
.hero-media .eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.hero-media .button.dark { border-color: var(--red); background: var(--red); }
.hero-media .button.dark::before { background: var(--red-dark); }
.hero-media .button.outline { border-color: rgb(255 255 255 / 55%); background: rgb(255 255 255 / 8%); color: var(--white); backdrop-filter: blur(6px); }
@keyframes hero-settle { to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero-media > .hero-bg { animation: none; transform: none; } }

/* Catalogue */
.catalogue-banner { min-height: 380px; display: grid; align-items: center; }
.catalogue-banner h1 { max-width: 750px; margin: 0; }
.catalogue-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-block: 16px; border-block-end: 1px solid var(--line); }
.catalogue-tools-end { display: flex; align-items: center; gap: 14px; margin-inline-start: auto; }
.catalogue-tools-end .search-result-count { margin: 0; }
.filter-button { flex: 1 1 auto; }
.view-buttons { display: none; gap: 7px; }
.view-buttons button[aria-pressed="true"] { border-color: var(--black); background: var(--black); color: var(--white); }
.filter-backdrop { position: fixed; inset: 0; z-index: 1100; background: rgb(10 18 30 / 45%); }
.filter-backdrop[hidden] { display: none; }
.filter-panel {
  position: fixed;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 1101;
  max-height: 85dvh;
  display: flex;
  flex-direction: column;
  border-radius: 20px 20px 0 0;
  background: var(--white);
  box-shadow: 0 -20px 50px rgb(0 0 0 / 15%);
  animation: sheet-in .3s var(--ease);
}
.filter-panel[hidden] { display: none; }
.filter-sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-block-end: 1px solid var(--line); }
.filter-sheet-head h2 { margin: 0; font-size: 1.1rem; }
.filter-sheet-head button { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--mist); }
.filter-sheet-head button svg { width: 18px; height: 18px; }
.filter-fields { display: grid; gap: 16px; overflow-y: auto; padding-block: 20px; }
.filter-fields label { font-size: .78rem; font-weight: 700; }
.filter-fields select, .programme-filters input, .programme-filters select { width: 100%; min-height: 50px; margin-block-start: 6px; padding-inline: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); font-size: 16px; }
.filter-sheet-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-block-start: 1px solid var(--line); }
.catalogue .course-rail:nth-child(even) {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: max(var(--gutter), calc((100% - var(--shell)) / 2));
  background: var(--mist);
}
.programme-section { background: var(--mist); }

/* Category page */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px 9px; padding-block: 14px; color: var(--muted); font-size: .75rem; }
.breadcrumbs a { text-decoration: none; }
.course-hero { padding-block: clamp(32px, 6vw, 70px); background: var(--mist); }
.category-hero-grid, .course-hero-grid { display: grid; gap: 28px; align-items: center; }
.page-hero { min-height: 380px; display: grid; align-items: center; }
.page-hero h1, .page-hero p:not(.eyebrow) { max-width: 760px; }
.page-hero .button-row { max-width: 560px; }
.category-hero ul { display: grid; gap: 8px; padding-inline-start: 20px; }
.category-hero li::marker { color: var(--gold); }
.advisor-card { padding: 26px; border: 1px solid rgb(255 255 255 / 16%); border-block-start: 4px solid var(--gold); border-radius: var(--radius); background: rgb(12 22 40 / 55%); box-shadow: 0 24px 60px rgb(0 0 0 / 35%); backdrop-filter: blur(14px); }
.advisor-card h2 { font-size: 1.35rem; }
.advisor-card a { color: var(--gold); font-weight: 800; }
.proof-strip { background: var(--navy); color: var(--white); }
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; }
.proof-grid div { display: flex; align-items: center; gap: 12px; min-height: 80px; padding-inline: 14px; border-block-end: 1px solid rgb(255 255 255 / 12%); }
.proof-grid b { color: var(--gold); font-size: 1.3rem; }
.home-modes {
  background-color: var(--mist);
  background-image:
    radial-gradient(circle at 8% 0%, rgb(217 52 68 / 7%), transparent 28%),
    radial-gradient(circle at 96% 100%, rgb(200 158 69 / 10%), transparent 26%),
    url("/assets/img/hero-texture.svg");
  background-repeat: no-repeat, no-repeat, repeat;
  background-size: auto, auto, 28px 28px;
}
.home-modes .mode-grid a { display: block; text-decoration: none; color: inherit; }
.mode-grid h3 { margin: 12px 0 8px; font-size: 1.05rem; }
.mode-grid p { margin: 0; color: var(--muted); font-size: .86rem; }
.feature-grid article, .benefit-grid article, .mode-grid article, .mode-grid a, .audience-grid article, .solution-grid article, .content-grid article, .mentor-card, .process-grid li {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.benefit-grid span, .audience-grid span, .solution-grid > article > span, .process-grid b, .article-number { color: var(--red); font-weight: 800; }
.programme-filters { display: grid; gap: 12px; margin-block-end: 22px; }
.service-group-quick-nav {
  display: none;
  width: min(100% - 2 * var(--gutter), 520px);
  margin: 0 auto 26px;
  padding: 12px;
  border: 1px solid rgb(200 158 69 / 28%);
  border-block-start: 4px solid var(--gold);
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--navy), #243b63);
  color: var(--white);
  box-shadow: 0 18px 46px rgb(23 38 66 / 22%);
}
.service-group-quick-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.service-group-quick-nav .eyebrow { margin: 0; color: var(--gold); font-size: .67rem; }
.service-group-nav-toggle { display: grid; flex: 0 0 28px; width: 28px; height: 28px; place-items: center; padding: 0; border: 1px solid rgb(255 255 255 / 20%); border-radius: 50%; background: rgb(255 255 255 / 10%); color: var(--white); cursor: pointer; }
.service-group-nav-toggle:hover { border-color: var(--gold); color: var(--gold); }
.service-group-nav-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.service-group-nav-toggle svg { width: 15px; height: 15px; transition: transform .2s; }
.service-group-quick-nav.is-collapsed .service-group-nav-toggle svg { transform: rotate(180deg); }
.service-group-jump-list {
  display: grid;
  max-height: 230px;
  gap: 3px;
  overflow-y: auto;
  margin-inline-end: -12px;
  padding-block-start: 4px;
  padding-inline-end: 12px;
  scrollbar-width: thin;
  scrollbar-color: rgb(255 255 255 / 58%) transparent;
}
.service-group-jump-list::-webkit-scrollbar { width: 6px; }
.service-group-jump-list::-webkit-scrollbar-track { background: transparent; }
.service-group-jump-list::-webkit-scrollbar-thumb { border: 1px solid transparent; border-radius: 999px; background: rgb(255 255 255 / 58%); background-clip: padding-box; }
.service-group-jump-list::-webkit-scrollbar-thumb:hover { background: var(--gold); background-clip: padding-box; }
.service-group-jump {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 4px 5px;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: var(--radius-sm);
  background: rgb(255 255 255 / 7%);
  color: var(--white);
  text-align: start;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s;
}
.service-group-jump:hover, .service-group-jump[aria-pressed="true"] { border-color: var(--gold); background: rgb(200 158 69 / 18%); }
.service-group-jump:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.service-group-jump:hover { transform: translateX(3px); }
[dir="rtl"] .service-group-jump:hover { transform: translateX(-3px); }
.service-group-jump-icon { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; background: rgb(255 255 255 / 10%); color: var(--gold); }
.service-group-jump-icon svg { width: 13px; height: 13px; }
.service-group-jump-copy { display: flex; align-items: baseline; min-width: 0; gap: 5px; }
.service-group-jump-copy b { overflow: hidden; font-size: .76rem; text-overflow: ellipsis; white-space: nowrap; }
.service-group-jump-copy small { flex: 0 0 auto; color: var(--gold); font-size: .7rem; font-weight: 800; }
.service-group-jump > .arrow-icon { justify-self: end; color: var(--gold); }
.service-group-jump > .arrow-icon svg { width: 17px; height: 17px; }
.service-group-collapse { display: flex; align-items: center; gap: 8px; margin-block-start: 12px; color: rgb(255 255 255 / 72%); font-size: .72rem; cursor: pointer; }
.service-group-collapse input { width: 15px; height: 15px; margin: 0; accent-color: var(--gold); }
.service-group-quick-nav.is-collapsed { padding-block: 9px; }
.service-group-quick-nav.is-collapsed .service-group-jump-list,
.service-group-quick-nav.is-collapsed .service-group-collapse { display: none; }
.service-group-quick-nav.is-visible { display: block; }
.sector-grid article { display: flex; align-items: center; gap: 14px; }
.sector-grid h3 { margin: 0; }
.muted { background: var(--mist); }
.mode-grid b { display: grid; width: 40px; height: 40px; place-items: center; color: var(--red); }
.mode-grid b svg { width: 32px; height: 32px; }
.corporate-panel { display: grid; gap: 30px; padding: clamp(24px, 5vw, 55px); border-radius: 24px; background: var(--navy); color: var(--white); }
.corporate-panel h2 { color: var(--white); }
.corporate-panel ol { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0; margin: 0; list-style: none; }
.corporate-panel li { padding: 16px; border: 1px solid rgb(255 255 255 / 18%); border-radius: 12px; }
.corporate-panel li b { display: block; color: var(--gold); font-size: 1.2rem; }
.corporate-panel .button { border-color: var(--white); background: var(--white); color: var(--black); }
.process-grid { padding: 0; margin: 0; list-style: none; }
.process-grid b { display: block; margin-block-end: 10px; font-size: 1.4rem; }

/* Enhanced individual service page */
.service-detail-hero {
  position: relative;
  overflow: hidden;
  padding-block-end: clamp(42px, 6vw, 76px);
  background:
    radial-gradient(circle at 0% 0%, rgb(217 52 68 / 9%), transparent 32%),
    linear-gradient(145deg, #f8fafb 0%, #eef3f5 100%);
}
.service-detail-hero::after { content: ""; position: absolute; inset-inline-end: -90px; inset-block-end: -130px; width: 360px; height: 360px; border: 1px solid rgb(23 38 66 / 8%); border-radius: 50%; box-shadow: 0 0 0 55px rgb(23 38 66 / 2%), 0 0 0 110px rgb(23 38 66 / 2%); pointer-events: none; }
.service-detail-hero-grid { position: relative; z-index: 1; display: grid; gap: clamp(28px, 5vw, 68px); align-items: center; }
.service-detail-copy .eyebrow { display: inline-flex; align-items: center; gap: 9px; }
.service-detail-copy .eyebrow svg { width: 20px; height: 20px; }
.service-detail-copy h1 { max-width: 760px; margin-block-end: 18px; }
.service-detail-lead { max-width: 760px; margin-block-end: 0; color: #53616a; font-size: clamp(1rem, .94rem + .3vw, 1.16rem); line-height: 1.75; }
.service-detail-facts { display: flex; flex-wrap: wrap; gap: 9px; margin-block-start: 22px; }
.service-detail-facts > span { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 6px 11px; border: 1px solid #d5e0e4; border-radius: 999px; background: rgb(255 255 255 / 70%); color: #46545d; font-size: .75rem; font-weight: 700; }
.service-detail-facts svg { width: 16px; height: 16px; color: var(--red); }
.service-detail-media { position: relative; margin: 0; overflow: hidden; border-radius: 24px; background: var(--navy); box-shadow: 0 28px 70px rgb(23 38 66 / 22%); }
.service-detail-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgb(10 19 34 / 78%) 100%); pointer-events: none; }
.service-detail-media > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: right center; }
.service-detail-media figcaption { position: absolute; inset-inline: 18px; inset-block-end: 17px; z-index: 1; display: flex; align-items: center; gap: 12px; color: var(--white); }
.service-detail-media figcaption > span { width: 44px; height: 44px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--red); }
.service-detail-media figcaption svg { width: 22px; height: 22px; }
.service-detail-media figcaption b, .service-detail-media figcaption small { display: block; }
.service-detail-media figcaption small { max-width: 310px; margin-block-start: 2px; color: rgb(255 255 255 / 74%); font-size: .72rem; line-height: 1.35; }
.service-detail-nav { border-block: 1px solid var(--line); background: var(--white); }
.service-detail-nav .shell { display: flex; gap: 5px; overflow-x: auto; padding-block: 9px; scrollbar-width: none; }
.service-detail-nav .shell::-webkit-scrollbar { display: none; }
.service-detail-nav a { flex: 0 0 auto; padding: 8px 12px; border-radius: 999px; color: #4f5c64; text-decoration: none; font-size: .74rem; font-weight: 700; }
.service-detail-nav a:first-child { background: var(--mist); color: var(--ink); }
.service-intro { display: grid; gap: clamp(28px, 5vw, 70px); align-items: start; }
.service-intro-heading { max-width: 560px; }
.service-intro-heading > p:not(.eyebrow), .section-summary { max-width: 720px; color: var(--muted); line-height: 1.75; }
.service-application-grid { display: grid; gap: 2px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--line); }
.service-application-grid article { display: flex; gap: 14px; padding: 20px; background: var(--white); }
.service-application-grid article > span { width: 42px; height: 42px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 12px; background: rgb(217 52 68 / 9%); color: var(--red); }
.service-application-grid svg { width: 21px; height: 21px; }
.service-application-grid h3 { margin: 0 0 5px; }
.service-application-grid p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.55; }
.service-capability-grid { display: grid; gap: 12px; }
.service-capability-card { position: relative; overflow: hidden; min-height: 218px; padding: 24px; border: 1px solid #dbe5e8; border-radius: 18px; background: var(--white); transition: transform .2s, box-shadow .2s, border-color .2s; }
.service-capability-card::after { content: ""; position: absolute; inset-inline-end: -38px; inset-block-end: -52px; width: 120px; height: 120px; border-radius: 50%; background: rgb(217 52 68 / 5%); }
.service-capability-card > span { display: inline-grid; width: 38px; height: 38px; place-items: center; margin-block-end: 30px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: .72rem; font-weight: 800; }
.service-capability-card h3 { margin-block-end: 9px; }
.service-capability-card p { position: relative; z-index: 1; margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.6; }
.service-process-panel { display: grid; gap: 28px; overflow: hidden; padding: clamp(24px, 5vw, 54px); border-radius: 26px; background: linear-gradient(145deg, #172642, #101b30); color: rgb(255 255 255 / 74%); box-shadow: 0 24px 60px rgb(23 38 66 / 18%); }
.service-process-panel h2, .service-process-panel h3 { color: var(--white); }
.service-process-panel .eyebrow { color: var(--gold); }
.service-process-intro > p:not(.eyebrow) { max-width: 520px; }
.service-process-panel ol { display: grid; gap: 1px; padding: 0; margin: 0; overflow: hidden; border: 1px solid rgb(255 255 255 / 13%); border-radius: 18px; background: rgb(255 255 255 / 13%); list-style: none; }
.service-process-panel li { display: grid; grid-template-columns: 46px 1fr; gap: 13px; padding: 20px; background: rgb(17 30 53 / 96%); }
.service-process-panel li > span { color: var(--gold); font-size: .74rem; font-weight: 800; }
.service-process-panel li h3 { margin: 0 0 5px; }
.service-process-panel li p { margin: 0; font-size: .84rem; line-height: 1.55; }
.service-deliverables { background: #f8fafb; }
.service-deliverable-grid { display: grid; gap: 12px; }
.service-deliverable-grid article { padding: 24px; border-block-start: 3px solid var(--red); background: var(--white); box-shadow: 0 12px 32px rgb(23 38 66 / 7%); }
.service-deliverable-grid article > span { width: 40px; height: 40px; display: grid; place-items: center; margin-block-end: 24px; color: var(--red); }
.service-deliverable-grid svg { width: 30px; height: 30px; }
.service-deliverable-grid h3 { margin-block-end: 8px; }
.service-deliverable-grid p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.6; }
.programme-profile { scroll-margin-top: 140px; }
.programme-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-block: 24px 30px; }
.programme-facts article { padding: 18px; border: 1px solid var(--line); background: var(--soft); }
.programme-facts small { display: block; margin-block-end: 7px; color: var(--red); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.programme-facts b { display: block; font-size: .94rem; line-height: 1.45; }
.programme-profile-grid { display: grid; gap: 16px; }
.programme-profile-grid article { padding: clamp(20px, 3vw, 30px); border: 1px solid var(--line); background: var(--white); box-shadow: 0 12px 32px rgb(23 38 66 / 6%); }
.programme-profile-grid h3 { margin-block-end: 16px; }
.programme-profile-grid h4 { margin: 22px 0 8px; font-size: .9rem; }
.programme-profile-grid ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.programme-profile-grid li { display: grid; grid-template-columns: 20px 1fr; gap: 9px; color: var(--muted); line-height: 1.55; }
.programme-profile-grid li svg { width: 17px; color: var(--red); }
.programme-profile-grid p { color: var(--muted); line-height: 1.65; }
.programme-note { margin-block-start: 16px; padding: 16px 18px; border-inline-start: 3px solid var(--gold); background: var(--soft); color: var(--muted); line-height: 1.6; }
.service-related-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(255px, 82%); gap: 14px; overflow-x: auto; padding: 4px 2px 18px; scroll-snap-type: x mandatory; scrollbar-color: #c6d0d5 transparent; }
.service-related-rail .service-item-card { scroll-snap-align: start; }

@media (hover: hover) {
  .service-detail-nav a:hover { background: var(--mist); color: var(--red); }
  .service-capability-card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--shadow-lift); }
}

@media (min-width: 700px) {
  .service-application-grid, .service-capability-grid, .service-deliverable-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .programme-profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-related-rail { grid-auto-columns: minmax(280px, calc((100% - 14px) / 2)); }
}

@media (min-width: 1024px) {
  .service-detail-hero-grid { grid-template-columns: minmax(0, 1.04fr) minmax(380px, .96fr); }
  .service-detail-media > img { min-height: 450px; }
  .service-detail-nav .shell { justify-content: center; gap: 18px; }
  .service-intro { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .service-capability-grid, .service-deliverable-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .service-capability-grid.count-6, .service-capability-grid.count-9 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-process-panel { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: center; }
  .service-related-rail { grid-auto-columns: minmax(280px, calc((100% - 42px) / 4)); }
}

/* Accordions */
.faq details, .outline-accordion details { border-block-end: 1px solid var(--line); }
.faq summary, .outline-accordion summary { position: relative; min-height: 56px; display: flex; align-items: center; padding-block: 14px; padding-inline-end: 36px; cursor: pointer; font-weight: 700; list-style: none; }
.faq summary::after, .outline-accordion summary::after { content: "+"; position: absolute; inset-inline-end: 4px; color: var(--red); font-size: 1.4rem; transition: transform .25s var(--ease); }
.faq details[open] summary::after, .outline-accordion details[open] summary::after { transform: rotate(45deg); }
.faq details p, .outline-accordion details p { max-width: 800px; color: var(--muted); }

/* Course page */
.button.accent { border-color: var(--red); background: var(--red); color: var(--white); }
.button.accent::before { background: var(--red-dark); }
.course-hero-grid { align-items: start; }
.course-hero-main { min-width: 0; }
.course-topic { display: inline-flex; align-items: center; gap: 8px; }
.course-topic svg { width: 18px; height: 18px; flex: 0 0 auto; }
.course-subtitle { max-width: 720px; color: var(--muted); font-size: clamp(.95rem, .9rem + .3vw, 1.08rem); }
.course-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 18px 22px; }
.course-badge { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: .74rem; font-weight: 700; }
.course-badge svg { width: 15px; height: 15px; flex: 0 0 auto; color: var(--red); }
.course-media { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--navy); }
.course-media > img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 100% 50%; }
.course-media-logo { position: absolute; inset-block-start: 14px; inset-inline-start: 14px; display: grid; place-items: center; padding: 6px 10px; border-radius: var(--radius-sm); background: rgb(255 255 255 / 96%); box-shadow: var(--shadow); }
.course-media-logo .partner-logo { max-width: 110px; height: 44px; }
.course-media-icon { position: absolute; inset-block-end: 14px; inset-inline-end: 14px; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: var(--white); box-shadow: var(--shadow); }
.course-media-icon svg { width: 28px; height: 28px; }
.course-booking { align-content: start; padding: clamp(18px, 3vw, 28px); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.course-booking h2 { margin: 0; font-size: 1.05rem; }
.mode-cards, .date-grid { display: grid; gap: 10px; }
.mode-cards { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.date-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.course-booking label > span { min-height: 74px; padding: 12px 14px; border-radius: var(--radius-sm); }
.course-booking .date-grid b { font-size: .84rem; }
.more-dates summary { display: inline-flex; align-items: center; min-height: 44px; color: var(--red); cursor: pointer; font-size: .8rem; font-weight: 800; list-style: none; text-decoration: underline; text-underline-offset: 3px; }
.more-dates[open] summary { margin-block-end: 10px; }
.course-split {
  --edge: max(var(--gutter), calc((100vw - var(--shell)) / 2));
  display: grid;
  grid-template-areas: "overview" "takeaways" "aside" "outline";
  background: var(--mist);
}
.course-block { padding-inline: var(--edge); padding-block-start: clamp(36px, 5vw, 56px); }
.course-overview { grid-area: overview; padding-block-start: var(--section); }
.course-takeaways { grid-area: takeaways; padding-block-end: var(--section); }
.course-details { grid-area: outline; padding-block-end: var(--section); }
.course-trainer p { display: block; max-width: 760px; padding: 18px 20px; border-inline-start: 4px solid var(--red); border-radius: var(--radius-sm); background: var(--white); }
.course-extra p + p { margin-block-start: 12px; }
.course-extra .audience-list { margin-block-start: 12px; }
.course-aside { grid-area: aside; display: grid; align-content: start; gap: 18px; padding-block: var(--section); padding-inline: var(--edge); background: var(--white); }
.course-block h2, .course-aside h2 { margin-block-end: 18px; font-size: clamp(1.25rem, 1.05rem + .8vw, 1.7rem); }
.course-block > p, .show-more p { max-width: 760px; }
.show-more summary { display: inline-flex; min-height: 44px; align-items: center; color: var(--red); cursor: pointer; font-weight: 800; list-style: none; }
.show-more[open] summary { display: none; }
.takeaway-list { display: grid; gap: 14px; padding: 0; margin: 0; list-style: none; }
.takeaway-list li { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--white); font-weight: 600; }
.takeaway-list b { color: var(--red); font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); font-weight: 800; line-height: 1; }
.outline-timeline { position: relative; display: grid; gap: 18px; padding: 0; margin: 0; list-style: none; }
.outline-timeline::before { content: ""; position: absolute; inset-block: 10px; inset-inline-start: 9px; border-inline-start: 2px dashed var(--red); }
.outline-timeline > li { position: relative; padding-inline-start: 36px; }
.outline-timeline > li::before { content: ""; position: absolute; inset-block-start: 4px; inset-inline-start: 2px; width: 16px; height: 16px; border: 3px solid var(--red); border-radius: 50%; background: var(--mist); }
.outline-marker { display: block; margin-block-end: 6px; color: var(--red); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.outline-timeline details { border-radius: var(--radius-sm); background: var(--white); }
.outline-timeline summary { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; cursor: pointer; font-weight: 700; list-style: none; }
.outline-timeline summary svg { color: var(--red); transition: transform .25s var(--ease); }
.outline-timeline details[open] > summary svg { transform: rotate(45deg); }
.outline-timeline ul { display: grid; gap: 4px; padding: 0 16px 14px; margin: 0; list-style: none; }
.outline-timeline ul li { display: flex; align-items: flex-start; gap: 10px; padding-block: 8px; border-block-start: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.outline-timeline ul svg { width: 14px; height: 14px; flex: 0 0 auto; margin-block-start: 5px; color: var(--red); }
.adviser-card, .accred-block, .downloads-block, .audience-block { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.adviser-card { display: grid; gap: 10px; border-block-start: 5px solid var(--red); }
.adviser-card h2, .accred-block h2, .downloads-block h2, .audience-block h2 { margin-block-end: 4px; font-size: 1.15rem; }
.adviser-card p, .accred-block p { margin: 0; color: var(--muted); font-size: .86rem; }
.adviser-avatar { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--red)); color: var(--white); }
.adviser-avatar svg { width: 26px; height: 26px; }
.adviser-link { min-height: 44px; display: flex; align-items: center; gap: 10px; border-block-end: 1px solid var(--line); text-decoration: none; font-size: .86rem; font-weight: 600; }
.adviser-link svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--red); }
.adviser-card .button { margin-block-start: 6px; }
.accred-block { display: grid; gap: 12px; }
.accred-logo { display: flex; align-items: center; min-height: 72px; }
.accred-block .accred-logo { justify-content: center; border-radius: var(--radius-sm); background: var(--mist); }
.accred-certificate { display: flex; align-items: flex-start; gap: 10px; }
.accred-certificate svg { width: 18px; height: 18px; flex: 0 0 auto; margin-block-start: 2px; color: var(--red); }
.course-downloads { display: grid; gap: 8px; padding: 0; margin: 12px 0 0; list-style: none; }
.course-downloads a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; transition: border-color .2s, background-color .2s; }
.course-downloads a:hover, .course-downloads a:focus-visible { border-color: var(--red); background: var(--mist); }
.course-downloads a > svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--red); }
.course-downloads a > svg:last-child { width: 16px; height: 16px; margin-inline-start: auto; color: var(--muted); }
.course-downloads span { display: grid; gap: 2px; min-width: 0; }
.course-downloads b { font-size: .86rem; line-height: 1.3; }
.course-downloads small { color: var(--muted); font-size: .76rem; }
.audience-list { display: grid; gap: 2px; padding: 0; margin: 0; list-style: none; }
.audience-list li { display: flex; align-items: flex-start; gap: 10px; padding-block: 7px; font-size: .9rem; }
.audience-list svg { width: 18px; height: 18px; flex: 0 0 auto; margin-block-start: 2px; color: var(--red); }
.review-carousel blockquote { font-size: clamp(1.05rem, .9rem + .9vw, 1.6rem); }
.course-venues { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.venue-card { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius-sm); color: var(--white); text-decoration: none; }
.venue-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.venue-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(23 38 66 / 85%), rgb(23 38 66 / 0%) 65%); }
.venue-card span { position: absolute; inset-inline: 12px; inset-block-end: 10px; z-index: 1; display: flex; align-items: center; gap: 6px; }
.venue-card svg { width: 16px; height: 16px; flex: 0 0 auto; }
.course-page .to-top { inset-block-end: 88px; }
.sticky-icon { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--red); }
.sticky-icon svg { width: 18px; height: 18px; }
.share-row { display: flex; align-items: center; gap: 10px; margin-block-start: 22px; color: var(--muted); }
.share-row button { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--white); }
.share-row button svg { width: 18px; height: 18px; }
.session-form { display: grid; gap: 16px; }
.session-form label { cursor: pointer; }
.session-form input { position: absolute; opacity: 0; }
.session-form label > span { min-height: 92px; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color .2s, box-shadow .2s, background .2s; }
.session-form input:checked + span { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.session-form input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.session-form b, .session-form small { display: inline-flex; align-items: center; gap: 8px; }
.session-form b { font-size: .95rem; }
.session-form b svg, .session-form small svg { width: 16px; height: 16px; flex: 0 0 auto; color: var(--red); }
.session-form small { color: var(--muted); font-weight: 500; font-size: .8rem; }
.session-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.session-actions .button { min-height: 48px; }
.check-list { padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; }
.check-list svg { width: 18px; height: 18px; flex: 0 0 auto; margin-block-start: 2px; color: var(--red); }
.sticky-enquire {
  position: fixed;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  border-block-start: 1px solid var(--line);
  background: rgb(255 255 255 / 97%);
  box-shadow: 0 -8px 24px rgb(0 0 0 / 8%);
  transform: translateY(110%);
  transition: transform .3s var(--ease);
}
.sticky-enquire.is-visible { transform: none; }
.sticky-enquire span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .82rem; font-weight: 700; }
.sticky-enquire .button { flex: 0 0 auto; min-height: 44px; }
.course-page .footer { padding-block-end: 90px; }

/* Location, editorial, misc */
.location-hero { min-height: 340px; display: grid; align-items: end; }
.location-hero h1 { max-width: 800px; }
.two-column { display: grid; gap: 24px; align-items: center; }
.editorial-hero { min-height: 360px; display: grid; align-items: center; }
.editorial-hero h1 { max-width: 900px; }
.editorial-hero p:not(.eyebrow) { max-width: 760px; }
.compact-hero { padding-block: 40px; }
.content-grid article { border-block-start: 4px solid var(--red); background: var(--mist); }
.gallery-grid article { padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }
.gallery-grid img { width: 100%; aspect-ratio: 1.4; object-fit: cover; }
.gallery-grid h2, .gallery-grid p { margin-inline: 18px; }
.gallery-grid h2 { margin-block-start: 18px; font-size: 1.15rem; }
.dark-section { background: var(--navy); color: var(--white); text-align: center; }
.dark-section h2 { color: var(--white); }
.dark-section p { max-width: 700px; margin-inline: auto; }
.solution-grid a { color: var(--red); font-weight: 800; }
.not-found { min-height: 55vh; display: grid; place-content: center; text-align: center; }
.not-found > span { color: var(--red); font-size: clamp(4rem, 12vw, 6rem); font-weight: 800; }

/* Mentors, news, downloads */
.mentor-card { text-align: center; }
.mentor-avatar { width: 88px; height: 88px; display: grid; place-items: center; margin: 0 auto 16px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--red)); color: var(--white); font-size: 1.4rem; font-weight: 800; }
.mentor-card p { color: var(--muted); font-size: .85rem; }
.news-card { overflow: visible; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .2s, box-shadow .2s; }
.news-image { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.news-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card > div { padding: 18px; }
.news-card time, .article time { color: var(--red); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.news-card h3 { margin-block: 8px; }
.news-card h3 a { text-decoration: none; }
.news-card p { color: var(--muted); font-size: .85rem; }
.article { max-width: 820px; padding-block: 20px var(--section); }
.article h1 { margin-block: 10px 22px; font-size: clamp(1.7rem, 1.2rem + 2.4vw, 3rem); }
.article img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-block-end: 26px; border-radius: var(--radius); }
.article p { font-size: 1.02rem; }
.download-list { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.download-list li { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .2s, border-color .2s; }
.download-list li .button { grid-column: 1 / -1; }
.download-list h3, .download-list p { margin: 0; }
.download-list p { color: var(--muted); font-size: .8rem; }
.download-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--mist); color: var(--red); }
.download-icon svg { width: 24px; height: 24px; }

/* Solutions */
.mega-service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mega-service-grid .category-tile { min-width: 0; }
.mega-service-grid .category-tile-copy { color: var(--white); }
.mega-service-grid .service-category-copy { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.mega-service-grid .service-category-copy b { display: block; font: inherit; line-height: 1.25; }
.mega-service-grid .category-icon, .service-line-copy .category-icon { display: grid; place-items: center; }
.service-category-count { position: absolute; top: 10px; right: 10px; z-index: 2; display: inline-flex; min-width: 22px; height: 20px; align-items: center; justify-content: center; padding-inline: 3px; border: 1px solid rgb(255 255 255 / 78%); border-radius: 999px; background: var(--gold); color: var(--navy); font-size: .52rem; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1; white-space: nowrap; box-shadow: 0 3px 12px rgb(0 0 0 / 24%); }
.service-line-grid, .service-item-grid { display: grid; gap: 14px; }
.service-line-card { display: flex; flex-direction: column; gap: 12px; padding-block-end: 18px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .2s, box-shadow .2s; }
.service-line-card > p, .service-line-card > .text-link { margin: 0; padding-inline: 18px; }
.service-line-card > p { color: var(--muted); font-size: .86rem; }
.service-line-card > .text-link { margin-block-start: auto; }
.service-line-tile { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; color: var(--white); text-decoration: none; }
.service-line-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-line-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(23 38 66 / 88%), rgb(23 38 66 / 0%) 70%); }
.service-line-copy { position: absolute; inset-inline: 16px; inset-block-end: 14px; z-index: 1; display: flex; align-items: center; gap: 12px; }
.service-line-copy .category-icon { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 50%; background: var(--white); }
.service-line-copy svg { width: 24px; height: 24px; }
.service-line-copy b { display: block; font-size: 1.05rem; line-height: 1.25; }
.service-line-copy small { color: rgb(255 255 255 / 80%); font-size: .75rem; }
.service-line-copy .service-category-count { color: var(--navy); font-size: .52rem; }
.service-group-title { margin-block: 28px 14px; font-size: 1.05rem; }
.service-group-title:first-child { margin-block-start: 0; }
.service-item-card { position: relative; isolation: isolate; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--navy); color: var(--white); text-decoration: none; box-shadow: 0 1px 2px rgb(23 38 66 / 10%); transition: transform .25s var(--ease), box-shadow .25s; }
.service-item-card > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; transform: scale(1.14); transition: transform .7s var(--ease); }
.service-item-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(12 22 40 / 45%) 0%, rgb(12 22 40 / 0%) 26%, rgb(12 22 40 / 35%) 45%, rgb(12 22 40 / 82%) 68%, rgb(12 22 40 / 96%) 100%); transition: background .3s; }
.service-item-badge { position: absolute; inset-block-start: 12px; inset-inline-start: 12px; display: inline-flex; align-items: center; gap: 6px; max-width: calc(100% - 24px); padding-block: 5px; padding-inline: 8px 10px; border-radius: 999px; background: rgb(255 255 255 / 94%); color: var(--navy); font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 4px 14px rgb(0 0 0 / 18%); }
.service-item-badge > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.service-item-badge svg { width: 15px; height: 15px; flex: 0 0 auto; color: var(--red); }
.service-item-overlay { position: absolute; inset-inline: 0; inset-block-end: 0; display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 16px; }
.service-item-kind { display: inline-flex; align-self: flex-start; align-items: center; gap: 5px; padding: 3px 9px; border: 1px solid rgb(200 158 69 / 55%); border-radius: 999px; background: rgb(12 22 40 / 70%); color: var(--gold); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.service-item-kind svg { width: 14px; height: 14px; }
.service-item-overlay b { font-size: 1.08rem; line-height: 1.3; text-shadow: 0 1px 12px rgb(0 0 0 / 35%); }
.service-item-cta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-block-start: 6px; padding-block-start: 10px; border-block-start: 1px solid rgb(255 255 255 / 22%); color: rgb(255 255 255 / 85%); font-size: .78rem; font-weight: 700; }
.service-item-cta .arrow-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: rgb(255 255 255 / 16%); color: var(--white); transition: background .25s, color .25s, transform .25s; }
.service-item-cta .arrow-icon svg { width: 16px; height: 16px; }
.service-item-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
[dir="rtl"] .service-item-card .arrow-icon, [dir="rtl"] .service-line-card .arrow-icon { rotate: 180deg; }
.related-course { display: grid; gap: 24px; align-items: center; }
.related-course p:not(.eyebrow) { color: var(--muted); }

/* About pages */
.about-nav { border-block-end: 1px solid var(--line); background: var(--white); }
.about-nav ul { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 8px; margin: 0; padding: 14px var(--gutter); overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; list-style: none; }
.about-nav a { height: 100%; display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: var(--radius-sm); background: var(--navy); color: var(--white); text-decoration: none; box-shadow: 0 0 0 0 transparent; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.about-nav img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; opacity: .82; transition: opacity .25s var(--ease), transform .4s var(--ease); }
.about-nav span { min-height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 6px 3px; font-size: .58rem; font-weight: 600; line-height: 1.2; text-align: center; overflow-wrap: break-word; hyphens: auto; }
.about-nav span svg { flex: none; width: 13px; height: 13px; color: var(--gold); }
.about-nav a[aria-current="page"] { background: var(--red); box-shadow: 0 0 0 2px var(--red); }
.about-nav a[aria-current="page"] img { opacity: 1; }
.about-nav a[aria-current="page"] span svg { color: var(--white); }
.about-prose { max-width: 860px; }
.about-prose p { font-size: 1.02rem; }
.about-prose p:first-child { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); font-weight: 600; }
.about-overview { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about-overview-copy h2, .about-outcomes-intro h2 { max-width: 720px; margin-block: 8px 18px; font-size: clamp(2rem, 1.5rem + 2vw, 3.65rem); line-height: 1.05; }
.about-overview-copy > p:not(.eyebrow) { max-width: 760px; color: var(--muted); font-size: 1.05rem; line-height: 1.75; }
.about-overview-copy .text-link { margin-block-start: 10px; }
.about-fact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.about-fact-grid article { min-height: 135px; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--mist); }
.about-fact-grid strong { color: var(--red); font-size: clamp(2rem, 1.5rem + 2vw, 3.25rem); line-height: 1; }
.about-fact-grid span { margin-block-start: 8px; color: var(--navy); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.about-capability-grid { display: grid; gap: 12px; }
.about-capability-grid article { position: relative; min-height: 245px; padding: 24px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.about-capability-grid article > span { width: 48px; height: 48px; display: grid; place-items: center; margin-block-end: 34px; border-radius: 50%; background: rgb(217 52 68 / 9%); color: var(--red); }
.about-capability-grid article > span svg { width: 22px; height: 22px; }
.about-capability-grid small { position: absolute; inset-block-start: 24px; inset-inline-end: 24px; color: #a9b3c2; font-weight: 800; }
.about-capability-grid h3 { max-width: 260px; margin-block-end: 10px; font-size: 1.12rem; }
.about-capability-grid p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.about-outcomes { display: grid; gap: clamp(30px, 5vw, 80px); align-items: start; }
.about-outcomes-intro > p:not(.eyebrow) { max-width: 620px; color: var(--muted); }
.about-outcome-list { border-block-start: 1px solid var(--line); }
.about-outcome-list > div { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: center; min-height: 70px; border-block-end: 1px solid var(--line); }
.about-outcome-list b { color: var(--red); font-size: .76rem; }
.about-outcome-list span { color: var(--navy); font-size: 1rem; font-weight: 700; }
.about-next { background: var(--navy); color: var(--white); }
.about-next .section-heading h2 { color: var(--white); }
.about-next-grid { display: grid; gap: 10px; }
.about-next-grid > a { min-height: 170px; display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: start; padding: 22px; border: 1px solid rgb(255 255 255 / 13%); border-radius: var(--radius-sm); color: var(--white); text-decoration: none; background: rgb(255 255 255 / 4%); transition: transform .25s var(--ease), border-color .25s, background .25s; }
.about-next-grid > a > span:first-child { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--red); }
.about-next-grid > a > span:first-child svg { width: 21px; height: 21px; }
.about-next-grid h3 { margin-block: 5px 8px; color: var(--white); }
.about-next-grid p { margin: 0; color: rgb(255 255 255 / 65%); font-size: .88rem; line-height: 1.55; }
.about-next-grid .arrow-icon { align-self: center; color: var(--gold); }
.corporate-intro { display: grid; gap: 22px; align-items: end; padding-block-end: clamp(24px, 3vw, 42px); }
.corporate-intro h2 { max-width: 820px; margin-block: 8px 0; font-size: clamp(2rem, 1.5rem + 2vw, 3.55rem); line-height: 1.06; }
.corporate-intro > p { max-width: 720px; margin: 0; color: var(--muted); font-size: clamp(1rem, .95rem + .25vw, 1.14rem); line-height: 1.75; }
.corporate-story { padding-block-start: 0; }
.corporate-flow { display: grid; gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--line); }
.corporate-flow article { min-height: 205px; padding: 24px; background: var(--white); }
.corporate-flow b { color: var(--red); font-size: .76rem; }
.corporate-flow h3 { margin-block: 30px 10px; font-size: 1.15rem; }
.corporate-flow p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.corporate-route-grid { display: grid; gap: 10px; }
.corporate-route-grid > a { min-height: 165px; display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: start; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); color: var(--navy); text-decoration: none; transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.corporate-route-grid > a > span:first-child { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: rgb(217 52 68 / 9%); color: var(--red); }
.corporate-route-grid > a > span:first-child svg { width: 21px; height: 21px; }
.corporate-route-grid h3 { margin-block: 4px 8px; }
.corporate-route-grid p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.55; }
.corporate-route-grid .arrow-icon { align-self: center; color: var(--red); }
.corporate-proof-grid { display: grid; gap: 12px; }
.corporate-proof-grid article { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.corporate-proof-grid article > svg { width: 30px; height: 30px; color: var(--red); }
.corporate-proof-grid h3 { margin-block: 22px 10px; }
.corporate-proof-grid p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.65; }
.about-list { display: grid; gap: 4px 28px; padding: 0; margin: 0; list-style: none; }
.about-list li { display: flex; align-items: flex-start; gap: 10px; padding-block: 9px; border-block-end: 1px solid var(--line); }
.about-list svg { width: 18px; height: 18px; flex: 0 0 auto; margin-block-start: 3px; color: var(--red); }
.service-item-lead { max-width: 74ch; margin-block: 0 18px; color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.credits-list { display: grid; gap: 2px 28px; padding: 0; margin: 0; list-style: none; }
.credits-list li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; padding-block: 8px; border-block-end: 1px solid var(--line); font-size: .94rem; }
.credits-title { font-weight: 600; }
.credits-meta { color: var(--muted); font-size: .85rem; }
.pillar-grid, .testimonial-grid { display: grid; gap: 16px; }
.pillar-grid article { padding: 26px; border: 1px solid var(--line); border-block-start: 4px solid var(--red); border-radius: var(--radius); background: var(--white); }
.pillar-grid h3 { margin-block: 14px 8px; font-size: 1.2rem; }
.pillar-grid p { margin: 0; color: var(--muted); }
.pillar-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--mist); color: var(--red); }
.pillar-icon svg { width: 26px; height: 26px; }
.vision-quote { display: grid; gap: 16px; justify-items: center; max-width: 900px; margin: 0 auto; text-align: center; }
.vision-quote > span { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: var(--white); }
.vision-quote svg { width: 30px; height: 30px; }
.vision-quote p { margin: 0; font-size: clamp(1.25rem, 1rem + 1.4vw, 2.1rem); font-weight: 800; line-height: 1.35; }
.testimonial-grid figure { margin: 0; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--mist); }
.testimonial-grid .testimonial-quote { margin: 0 0 10px; }
.testimonial-grid blockquote { margin: 0 0 14px; font-weight: 600; }
.testimonial-grid figcaption { color: var(--muted); font-size: .85rem; }
.logo-wall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 0; list-style: none; }
.logo-wall li { min-height: 120px; display: grid; justify-items: center; align-content: center; gap: 8px; padding: 14px; border: 1px solid #e6ebed; border-radius: var(--radius-sm); background: var(--white); text-align: center; }
.logo-wall img { width: auto; max-width: 100%; height: 64px; object-fit: contain; }
.logo-wall span { color: var(--muted); font-size: .72rem; line-height: 1.35; }
.logo-wall.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.logo-wall.compact li { min-height: 84px; padding: 10px; }
.logo-wall.compact img { height: 48px; }
.content-grid .accred-logo { min-height: 64px; margin-block-end: 12px; }
.menu-links details { border-block-end: 3px solid var(--line); }
.menu-links details summary { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-inline: 20px; cursor: pointer; font-size: .82rem; font-weight: 500; letter-spacing: .14em; list-style: none; text-transform: uppercase; }
[dir="rtl"] .menu-links details summary { letter-spacing: 0; font-size: .95rem; }
.menu-links details > div { display: grid; padding: 0 20px 12px; }
.menu-links details a { min-height: 30px; padding-inline: 12px; border-block-end: 0; color: var(--muted); font-size: .86rem; letter-spacing: 0; text-transform: none; }
.menu-links details a[aria-current="page"] { color: var(--red); }

/* Contact page */
.contact-hero { min-height: 560px; display: grid; align-items: center; }
.contact-hero::before { background: linear-gradient(90deg, rgb(8 18 34 / 96%) 0%, rgb(14 30 53 / 88%) 54%, rgb(14 30 53 / 45%) 100%); }
[dir="rtl"] .contact-hero::before { background: linear-gradient(270deg, rgb(8 18 34 / 96%) 0%, rgb(14 30 53 / 88%) 54%, rgb(14 30 53 / 45%) 100%); }
.contact-hero-grid { display: grid; gap: 28px; align-items: center; }
.contact-hero-copy h1 { max-width: 720px; margin-block-end: 16px; }
.contact-hero-copy > p:not(.eyebrow) { max-width: 680px; }
.contact-quick-actions { display: grid; gap: 10px; margin-block-start: 28px; }
.contact-quick-actions a { min-width: 0; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid rgb(255 255 255 / 18%); border-radius: 14px; background: rgb(255 255 255 / 9%); color: var(--white); text-decoration: none; backdrop-filter: blur(10px); transition: transform .2s, border-color .2s, background .2s; }
.contact-quick-actions a > svg { width: 38px; height: 38px; flex: 0 0 auto; padding: 9px; border-radius: 11px; background: rgb(200 158 69 / 18%); color: var(--gold); }
.contact-quick-actions a span { min-width: 0; display: grid; }
.contact-quick-actions small { color: rgb(255 255 255 / 62%); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contact-quick-actions b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .82rem; }
.contact-hero-note { position: relative; overflow: hidden; padding: clamp(22px, 3vw, 34px); border: 1px solid rgb(255 255 255 / 18%); border-radius: var(--radius); background: linear-gradient(145deg, rgb(255 255 255 / 15%), rgb(255 255 255 / 6%)); box-shadow: 0 24px 60px rgb(0 0 0 / 28%); backdrop-filter: blur(18px); }
.contact-hero-note::after { content: ""; position: absolute; inset-inline-end: -50px; inset-block-end: -70px; width: 180px; height: 180px; border: 1px solid rgb(200 158 69 / 22%); border-radius: 50%; box-shadow: 0 0 0 24px rgb(200 158 69 / 5%), 0 0 0 48px rgb(200 158 69 / 3%); }
.contact-hero-note-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-block-end: 20px; border-radius: 16px; background: var(--red); color: var(--white); box-shadow: 0 14px 28px rgb(217 52 68 / 32%); }
.contact-hero-note-icon svg { width: 26px; height: 26px; }
.contact-hero-note h2 { position: relative; z-index: 1; margin-block-end: 20px; color: var(--white); font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem); }
.contact-hero-note ul { position: relative; z-index: 1; display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.contact-hero-note li { display: flex; align-items: flex-start; gap: 10px; color: rgb(255 255 255 / 84%); font-size: .86rem; }
.contact-hero-note li svg { width: 18px; height: 18px; flex: 0 0 auto; margin-block-start: 2px; color: var(--gold); }
.contact-offices { display: grid; gap: 30px; }
.contact-section-heading { display: grid; gap: 12px; align-items: end; }
.contact-section-heading h2 { max-width: 680px; margin: 0; }
.contact-section-heading > p { max-width: 580px; margin: 0; color: var(--muted); }
.contact-office-grid { display: grid; gap: 14px; }
.contact-office-card { position: relative; isolation: isolate; overflow: hidden; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 10px 28px rgb(23 38 66 / 6%); transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.contact-office-card::after { content: ""; position: absolute; inset-inline-end: -36px; inset-block-start: -42px; z-index: -1; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgb(217 52 68 / 10%), transparent 68%); }
.contact-office-heading { display: flex; align-items: center; gap: 14px; }
.contact-office-heading .office-flag-badge { width: 50px; height: 50px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 12px; background: linear-gradient(145deg, #ffffff 0%, #f1f4f8 100%); border: 1px solid #d8e2eb; box-shadow: 0 3px 10px rgb(23 38 66 / 6%); transition: border-color .25s, box-shadow .25s, transform .25s; }
.office-flag-badge .country-flag { width: 34px; height: 23px; border-radius: 3px; box-shadow: 0 1px 3px rgb(0 0 0 / 18%); border: 1px solid rgb(0 0 0 / 8%); }
.contact-office-card:hover .office-flag-badge { border-color: var(--gold); box-shadow: 0 6px 18px rgb(200 158 69 / 22%); transform: translateY(-2px); }
.contact-office-card:hover .country-flag { transform: scale(1.05); }
.contact-office-heading > span { width: 46px; height: 46px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 14px; background: var(--navy); color: var(--gold); }
.contact-office-heading svg { width: 22px; height: 22px; }
.contact-office-heading p { margin: 0 0 2px; color: var(--red); font-size: .68rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
[dir="rtl"] .contact-office-heading p { letter-spacing: 0; }
.contact-office-heading h3 { margin: 0; font-size: 1.18rem; }
.contact-office-address { min-height: 52px; margin: 18px 0; color: var(--muted); font-size: .85rem; }
.contact-office-actions { display: grid; gap: 7px; padding-block-start: 14px; border-block-start: 1px solid var(--line); }
.contact-office-actions a { display: flex; align-items: center; gap: 9px; min-height: 32px; color: var(--navy); text-decoration: none; font-size: .8rem; font-weight: 700; }
.contact-office-actions svg { width: 16px; height: 16px; flex: 0 0 auto; color: var(--red); }
.contact-next { background: var(--mist); }
.contact-step-grid { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.contact-step-grid li { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 22px; border: 1px solid #e2e8eb; border-radius: var(--radius); background: var(--white); }
.contact-step-grid li > span { color: var(--red); font-size: 1.5rem; font-weight: 800; line-height: 1; }
.contact-step-grid h3 { margin-block-end: 7px; font-size: 1.05rem; }
.contact-step-grid p { margin: 0; color: var(--muted); font-size: .84rem; }

/* Careers and internships */
.opportunity-hero { min-height: 560px; }
.opportunity-hero::after { background: linear-gradient(90deg, rgb(8 18 34 / 92%) 0%, rgb(11 24 47 / 78%) 48%, rgb(11 24 47 / 28%) 100%); }
[dir="rtl"] .opportunity-hero::after { background: linear-gradient(-90deg, rgb(8 18 34 / 92%) 0%, rgb(11 24 47 / 78%) 48%, rgb(11 24 47 / 28%) 100%); }
.opportunity-hero-grid { position: relative; z-index: 1; display: grid; align-items: center; min-height: 560px; padding-block: 70px; }
.opportunity-hero-grid > div { max-width: 760px; color: rgb(255 255 255 / 82%); }
.opportunity-hero-grid h1 { color: var(--white); }
.opportunity-hero-grid > div > p:not(.eyebrow) { max-width: 690px; font-size: 1.04rem; }
.opportunity-hero-grid aside { margin-block-start: 28px; padding: 26px; border: 1px solid rgb(255 255 255 / 18%); border-radius: var(--radius); background: rgb(12 25 47 / 76%); color: rgb(255 255 255 / 75%); backdrop-filter: blur(12px); }
.opportunity-hero-grid aside > span { display: grid; width: 48px; height: 48px; margin-block-end: 18px; place-items: center; border-radius: 50%; background: rgb(217 52 68 / 20%); color: #ff7d89; }
.opportunity-hero-grid aside svg { width: 24px; height: 24px; }
.opportunity-hero-grid aside h2 { color: var(--white); font-size: 1.35rem; }
.opportunity-hero-grid aside p { margin: 0; }
.opportunity-intro { display: grid; gap: 24px; align-items: end; }
.opportunity-intro h2 { max-width: 720px; margin: 0; }
.opportunity-intro > p { max-width: 620px; margin: 0; color: var(--muted); font-size: 1rem; }
.opportunity-path-grid { display: grid; gap: 16px; }
.opportunity-path-grid article { padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 8px 24px rgb(23 38 66 / 5%); }
.opportunity-path-grid article > span { display: grid; width: 46px; height: 46px; margin-block-end: 28px; place-items: center; border-radius: 12px; background: rgb(217 52 68 / 9%); color: var(--red); }
.opportunity-path-grid svg { width: 23px; height: 23px; }
.opportunity-path-grid h3 { margin-block-end: 9px; }
.opportunity-path-grid p { margin: 0; color: var(--muted); font-size: .88rem; }
.opportunity-value-grid { display: grid; gap: 16px; }
.opportunity-value-grid article { min-height: 210px; padding: 26px; border-block-start: 3px solid var(--red); background: var(--mist); }
.opportunity-value-grid b { display: block; margin-block-end: 35px; color: var(--red); font-size: .82rem; letter-spacing: .1em; }
.opportunity-value-grid p { margin: 0; color: var(--muted); font-size: .88rem; }
.opportunity-process { background: var(--navy); color: rgb(255 255 255 / 75%); }
.opportunity-process .eyebrow { color: #ff7d89; }
.opportunity-process h2, .opportunity-process h3 { color: var(--white); }
.opportunity-process ol { display: grid; gap: 1px; margin: 30px 0 0; padding: 0; overflow: hidden; border: 1px solid rgb(255 255 255 / 12%); border-radius: var(--radius); background: rgb(255 255 255 / 12%); list-style: none; }
.opportunity-process li { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 24px; background: var(--navy); }
.opportunity-process li > span { color: var(--gold); font-size: 1.2rem; font-weight: 800; }
.opportunity-process li p { margin: 0; font-size: .86rem; }
.opportunity-split { display: grid; gap: 30px; align-items: center; }
.opportunity-split > div > p:last-child { color: var(--muted); }
.opportunity-split ul { display: grid; gap: 1px; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); list-style: none; overflow: hidden; }
.opportunity-split li { display: flex; align-items: center; gap: 13px; padding: 17px 20px; background: var(--white); font-weight: 650; }
.opportunity-split li svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--red); }
.opportunity-apply { background: linear-gradient(135deg, var(--mist), #fff); }
.opportunity-apply-grid { display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--white); box-shadow: var(--shadow); }
.opportunity-apply-copy { padding: clamp(26px, 5vw, 54px); background: linear-gradient(160deg, #142440, #0d192c); color: rgb(255 255 255 / 76%); }
.opportunity-apply-copy .eyebrow { color: var(--gold); }
.opportunity-apply-copy h2 { color: var(--white); }
.application-note { display: flex; gap: 13px; margin-block-start: 28px; padding-block-start: 22px; border-block-start: 1px solid rgb(255 255 255 / 14%); }
.application-note svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--gold); }
.application-note p { margin: 0; font-size: .83rem; }
.opportunity-form { align-content: center; }

@media (min-width: 700px) {
  .opportunity-path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opportunity-value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opportunity-process ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .opportunity-hero-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 70px; }
  .opportunity-hero-grid aside { margin: 0; }
  .opportunity-intro { grid-template-columns: 1.15fr .85fr; }
  .opportunity-path-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .opportunity-value-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .opportunity-process ol { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .opportunity-split { grid-template-columns: 1fr 1fr; gap: 80px; }
  .opportunity-apply-grid { grid-template-columns: minmax(310px, .78fr) minmax(0, 1.22fr); }
  .opportunity-form { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: clamp(30px, 4vw, 52px); }
}

/* Callback form */
.callback { padding-block: clamp(28px, 4.5vw, 52px); background: var(--mist); }
.callback-inner { display: grid; overflow: hidden; border: 1px solid #e3e8ec; border-radius: 18px; background: var(--white); box-shadow: 0 18px 44px rgb(16 28 51 / 8%); }
.callback-intro { position: relative; isolation: isolate; overflow: hidden; padding: clamp(22px, 3vw, 32px); background: radial-gradient(120% 80% at 100% 0%, rgb(217 52 68 / 22%), transparent 55%), linear-gradient(160deg, #13213c, #0b1426); color: rgb(255 255 255 / 76%); }
.callback-intro::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: 0; height: 3px; background: linear-gradient(90deg, var(--red), var(--gold)); }
.callback-intro .eyebrow { margin-block-end: 8px; color: var(--gold); }
.callback-intro h2 { margin: 0 0 8px; color: var(--white); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); }
.callback-intro > p:not(.eyebrow) { margin: 0; font-size: .9rem; line-height: 1.6; }
.callback-contacts { display: grid; gap: 4px; margin: 16px 0 0; padding: 0; list-style: none; }
.callback-contacts a { display: inline-flex; align-items: center; gap: 10px; min-height: 38px; color: var(--white); font-size: .86rem; font-weight: 600; text-decoration: none; transition: color .2s; }
.callback-contacts svg { width: 30px; height: 30px; flex: 0 0 auto; padding: 7px; border-radius: 50%; background: rgb(255 255 255 / 9%); color: var(--gold); }
.enquiry-form { display: grid; gap: 12px; padding: clamp(20px, 3vw, 30px); }
.enquiry-form label span { display: block; margin-block-end: 4px; color: var(--muted); font-size: .72rem; font-weight: 600; }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #e3e8ec;
  border-radius: 8px;
  background: #f7f9fa;
  font-size: 16px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus { border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 4px rgb(23 38 66 / 8%); outline: none; }
.enquiry-form textarea { min-height: 72px; resize: vertical; }
.enquiry-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 14px; background: #e9eef4; }
.enquiry-tabs button { min-height: 46px; padding: 8px 10px; border: 0; border-radius: 11px; background: transparent; color: #46546a; font-size: .78rem; font-weight: 750; text-transform: uppercase; transition: color .2s, background .2s, box-shadow .2s; }
.enquiry-tabs button[aria-selected="true"] { background: var(--red); color: var(--white); box-shadow: 0 8px 20px rgb(217 52 68 / 24%); }
.enquiry-form.enquiry-tabs-form { display: block; }
.enquiry-tabs-form > * + * { margin-block-start: 14px; }
.enquiry-identity { display: grid; grid-template-columns: 1fr; gap: 12px 14px; }
.enquiry-mode-panel { display: grid; grid-template-columns: 1fr; gap: 12px 14px; padding-block-start: 2px; }
.enquiry-mode-panel > .form-wide { grid-column: 1 / -1; }
.enquiry-tabs-form .form-action { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.enquiry-tabs-form .form-action .button { width: 100%; }
.enquiry-tabs-form .form-action .form-status { flex: 1 1 220px; }
.form-action { display: grid; gap: 10px; }
.form-action .button { width: 100%; }
.form-status { margin: 0; font-size: .82rem; }
.honeypot { position: absolute; inset-inline-start: -9999px; }

@media (min-width: 700px) {
  .enquiry-identity { grid-template-columns: 2fr 1fr 1fr; }
  .enquiry-mode-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Footer */
.footer { position: relative; isolation: isolate; overflow: hidden; padding-block: 0 24px; background: radial-gradient(90% 60% at 100% 0%, rgb(217 52 68 / 12%), transparent 60%), linear-gradient(180deg, #101c33 0%, #0b1426 100%); color: rgb(255 255 255 / 70%); font-size: .86rem; }
.footer::before { content: ""; position: absolute; inset-inline: 0; inset-block-start: 0; height: 3px; background: linear-gradient(90deg, var(--red), var(--gold) 50%, var(--red)); }
.footer a { color: inherit; text-decoration: none; transition: color .2s, background .2s, border-color .2s, transform .2s; }
.footer h2, .footer h3, .footer h4 { color: var(--white); }
.footer-cta { display: grid; gap: 24px; padding-block: clamp(36px, 6vw, 60px); border-block-end: 1px solid rgb(255 255 255 / 10%); }
.footer-cta .eyebrow { color: var(--gold); }
.footer-cta h2 { max-width: 640px; margin-block-end: 12px; font-size: clamp(1.45rem, 1.1rem + 1.5vw, 2.3rem); }
.footer-cta p:not(.eyebrow) { max-width: 620px; margin: 0; font-size: clamp(.92rem, .88rem + .2vw, 1.02rem); line-height: 1.65; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; align-content: center; }
.footer-cta-actions .button { flex: 1 1 210px; }
.footer .button.footer-ghost { border-color: rgb(255 255 255 / 35%); background: rgb(255 255 255 / 6%); color: var(--white); }
.footer-main { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 24px; padding-block: clamp(36px, 5vw, 56px); }
.footer-brand { grid-column: 1 / -1; display: grid; justify-items: start; gap: 18px; }
.footer-logo { display: inline-grid; place-items: center; padding: 10px 16px; border-radius: 0; background: var(--white); box-shadow: 0 12px 30px rgb(0 0 0 / 25%); }
.footer-logo img { width: 150px; height: 42px; object-fit: contain; }
.footer-brand > p { max-width: 380px; margin: 0; line-height: 1.7; }
.footer-contact { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.footer-contact a { display: inline-flex; align-items: center; gap: 12px; min-height: 40px; color: var(--white); font-weight: 600; }
.footer-contact svg { width: 34px; height: 34px; flex: 0 0 auto; padding: 8px; border-radius: 50%; background: rgb(255 255 255 / 8%); color: var(--gold); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; overflow: hidden; }
.socials img { width: 40px; height: 40px; }
.socials svg { display: none; }
.footer-column h3 { position: relative; margin-block-end: 16px; padding-block-end: 12px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.footer-column h3::after { content: ""; position: absolute; inset-inline-start: 0; inset-block-end: 0; width: 28px; height: 2px; border-radius: 2px; background: var(--red); }
[dir="rtl"] .footer-column h3 { letter-spacing: 0; }
.footer-column div { display: grid; gap: 2px; }
.footer-column a { display: flex; align-items: center; min-height: 36px; line-height: 1.35; }
.footer-offices { padding-block: clamp(28px, 4vw, 40px); border-block-start: 1px solid rgb(255 255 255 / 10%); }
.footer-offices > h3 { margin-block-end: 16px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
[dir="rtl"] .footer-offices > h3 { letter-spacing: 0; }
.office-grid { display: grid; gap: 12px; }
.office-card { display: grid; align-content: start; gap: 8px; padding: 18px; border: 1px solid rgb(255 255 255 / 10%); border-radius: var(--radius-sm); background: rgb(255 255 255 / 4%); transition: border-color .25s, background .25s, transform .25s; }
.office-card h4 { display: flex; align-items: flex-start; gap: 11px; margin: 0; font-size: .95rem; }
.office-flag-wrap { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; margin-block-start: 1px; padding: 2px; border-radius: 4px; background: rgb(255 255 255 / 8%); border: 1px solid rgb(255 255 255 / 15%); }
.office-flag-wrap .country-flag { width: 28px; height: 19px; border-radius: 2px; }
.office-card:hover .office-flag-wrap { border-color: rgb(200 158 69 / 50%); background: rgb(200 158 69 / 15%); }
.office-card:hover .country-flag { transform: scale(1.05); }
.office-card h4 svg { width: 18px; height: 18px; flex: 0 0 auto; margin-block-start: 2px; color: var(--red); }
.office-card h4 small { display: block; margin-block-start: 2px; color: rgb(255 255 255 / 55%); font-size: .74rem; font-weight: 500; }
.office-card p { margin: 0; padding-inline-start: 45px; font-size: .8rem; line-height: 1.6; }
.office-card > a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding-inline-start: 45px; color: var(--white); font-weight: 600; }
.office-card > a svg { width: 15px; height: 15px; color: var(--gold); }
.footer-bottom { display: grid; gap: 12px; padding-block-start: 22px; border-block-start: 1px solid rgb(255 255 255 / 10%); color: rgb(255 255 255 / 50%); font-size: .76rem; }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-legal a { color: rgb(255 255 255 / 72%); }
.footer-note { font-size: .72rem; line-height: 1.6; }
.footer-credit { direction: ltr; font-size: .74rem; }
.footer-credit a { color: rgb(255 255 255 / 85%); font-weight: 600; }

.to-top {
  position: fixed;
  inset-block-end: 20px;
  inset-inline-end: 16px;
  z-index: 1100;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), background .2s;
}
.to-top svg { width: 20px; height: 20px; }
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Hover effects only for devices with a real pointer */
@media (hover: hover) {
  .button:hover { color: var(--white); border-color: var(--red); }
  .button:hover::before { transform: scaleX(1); }
  .button.light:hover, .corporate-panel .button:hover { color: var(--white); }
  .text-link:hover { color: var(--red); }
  .text-link:hover .arrow-icon, .hero-card:hover .arrow-icon { transform: translateX(5px); }
  [dir="rtl"] .text-link:hover .arrow-icon, [dir="rtl"] .hero-card:hover .arrow-icon { transform: translateX(-5px); }
  .desktop-nav a::after, .header-text-link::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: -6px; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .3s var(--ease); }
  .desktop-nav a:hover::after, .header-text-link:hover::after, .desktop-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .desktop-nav a:hover, .categories-button:hover, .header-text-link:hover, .language-link:hover { color: var(--red); }
  .icon-button:hover, .menu-button:hover, .search-overlay-submit:hover, .search-overlay-close:hover { background: var(--mist); color: var(--red); }
  .to-top:hover { background: var(--red); }
  .menu-links a:hover { padding-inline-start: 28px; color: var(--red); }
  .menu-extras details a:hover, .menu-extras summary:hover { color: var(--red); }
  .course-card:hover, .news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
  .course-card:hover .course-image img, .news-card:hover .news-image img, .category-tile:hover img, .hero-card:hover img { transform: scale(1.06); }
  .location-tile:hover, .location-tile:focus-visible {
    transform: translateY(-4px);
    background: #f4f6f8;
    box-shadow: var(--shadow);
  }
  .course-card:hover h3 a { background-size: 100% 1px; }
  .partner-card:hover, .logo-card:hover { transform: translateY(-3px); border-color: var(--red); box-shadow: var(--shadow); }
  .shelf-book:hover { transform: translateY(-6px); border-color: rgb(200 158 69 / 55%); background: rgb(255 255 255 / 10%); }
  .shelf-book:hover .shelf-cover { transform: perspective(900px) rotateY(0deg) scale(1.02); box-shadow: -6px 0 0 -2px rgb(200 158 69 / 60%), 0 24px 44px rgb(0 0 0 / 45%); }
  a.resource-tile:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--shadow-lift); }
  a.resource-tile:hover .resource-media img { transform: scale(1.05); }
  .resource-tile.is-contain:hover .resource-media img { transform: scale(1.03); }
  .feature-grid article:hover, .benefit-grid article:hover, .mode-grid article:hover, .mode-grid a:hover, .audience-grid article:hover, .solution-grid article:hover, .mentor-card:hover, .process-grid li:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--shadow-lift); }
  .download-list li:hover { border-color: transparent; box-shadow: var(--shadow); }
  .link-cloud a:hover { border-color: var(--black); background: var(--black); color: var(--white); }
  .slider-arrow:hover, .rail-controls button:hover { border-color: var(--black); background: var(--black); color: var(--white); }
  .course-card:hover .course-image .card-logo img { transform: none; }
  .service-line-card:hover, .pillar-grid article:hover, .corporate-route-grid > a:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
  .service-line-card:hover .service-line-tile img, .venue-card:hover img { transform: scale(1.06); }
  .mega-service-grid a:hover { border-color: var(--red); color: var(--red); box-shadow: var(--shadow); }
  .service-item-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
  .service-item-card:hover > img { transform: scale(1.22); }
  .service-item-card:hover .service-item-cta .arrow-icon { background: var(--red); transform: translateX(3px); }
  [dir="rtl"] .service-item-card:hover .service-item-cta .arrow-icon { transform: translateX(-3px); }
  .about-nav a:not([aria-current]):hover { transform: translateY(-2px); box-shadow: var(--shadow); }
  .about-nav a:hover img { opacity: 1; transform: scale(1.04); }
  .adviser-link:hover, .menu-links details a:hover, .menu-links details summary:hover { color: var(--red); }
  .footer a:hover { color: var(--white); }
  .callback-contacts a:hover { color: var(--gold); }
  .footer-column a:hover, .footer-legal a:hover, .footer-contact a:hover, .office-card > a:hover { color: var(--gold); }
  .footer-column a:hover { transform: translateX(4px); }
  [dir="rtl"] .footer-column a:hover { transform: translateX(-4px); }
  .footer .button.footer-ghost:hover { border-color: var(--white); background: var(--white); color: var(--black); }
  .footer .button.footer-ghost:hover::before { transform: none; }
  .office-card:hover { border-color: rgb(200 158 69 / 45%); background: rgb(255 255 255 / 7%); }
  .socials a:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgb(0 0 0 / 28%); }
}

/* 480px and up */
@media (min-width: 480px) {
  :root { --gutter: 20px; }
  .hero-rail, .hero-track { grid-auto-columns: calc((100% - 32px) / 2.15); }
  .logo-rail, .logo-rail .hero-track { grid-auto-columns: calc((100% - 24px) / 2.35); }
  .rail { grid-auto-columns: calc((100% - 16px) / 2); }
  .location-grid { grid-template-columns: repeat(3, 1fr); }
  .button-row .button { flex: 0 0 auto; }
  .filter-button { flex: 0 0 auto; }
  .form-action { display: flex; align-items: center; }
  .form-action .button { width: auto; }
  .download-list li { grid-template-columns: auto 1fr auto; }
  .download-list li .button { grid-column: auto; }
  .logo-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* 768px and up */
@media (min-width: 768px) {
  :root { --gutter: 28px; --header-h: 76px; }
  .brand img { width: 150px; height: 44px; }
  .site-chrome.is-scrolled .header-row { min-height: 58px; }
  .site-chrome.is-scrolled .brand img { width: 128px; height: 38px; }
  .promo p { -webkit-line-clamp: 1; }
  .promo-inner { justify-content: center; }
  .basket-link { display: grid; }
  .rail-controls { display: flex; }
  .slider-arrow { display: grid; }
  .slider-arrow.prev { inset-inline-start: 12px; }
  .slider-arrow.next { inset-inline-end: 12px; }
  .menu-panel { inset-inline: auto var(--menu-right, 24px); width: 360px; }
  [dir="rtl"] .menu-panel { inset-inline: var(--menu-right, 24px) auto; }
  .function-grid { grid-template-columns: repeat(3, 1fr); }
  .partner-grid, .cert-rail { grid-template-columns: repeat(3, 1fr); }
  .hero-rail, .hero-track { grid-auto-columns: calc((100% - 48px) / 3.2); }
  .logo-rail, .logo-rail .hero-track { grid-auto-columns: calc((100% - 36px) / 3.4); }
  .course-grid, .news-grid, .mentor-grid, .feature-grid, .audience-grid, .solution-grid, .content-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-grid, .process-grid, .mode-grid { grid-template-columns: repeat(2, 1fr); }
  .shelf-grid { grid-auto-columns: calc((100% - 48px) / 3.3); }
  .resource-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid { grid-template-columns: repeat(4, 1fr); }
  .proof-grid div { border-block-end: 0; border-inline-end: 1px solid rgb(255 255 255 / 15%); }
  .category-hero ul { grid-template-columns: 1fr 1fr; }
  .programme-filters { grid-template-columns: 2fr 1fr; }
  .programme-filters.single { grid-template-columns: minmax(0, 560px); }
  .view-buttons { display: flex; }
  .search-hits { inset-block-end: auto; max-height: min(70vh, 680px); }
  .course-grid.list-view .course-card { display: grid; grid-template-columns: 260px 1fr; }
  .course-grid.list-view .course-image { aspect-ratio: auto; min-height: 200px; border-radius: var(--radius) 0 0 var(--radius); }
  [dir="rtl"] .course-grid.list-view .course-image { border-radius: 0 var(--radius) var(--radius) 0; }
  .mega-menu {
    position: fixed;
    inset: var(--menu-top, 88px) 0 0;
    z-index: 998;
    display: block;
    overflow-y: auto;
    padding-block: 24px 40px;
    background: #f1f4f6;
  }
  .mega-menu[hidden] { display: none; }
  .filter-backdrop { display: none !important; }
  .filter-panel { position: static; max-height: none; border-radius: 0; box-shadow: none; border-block-end: 1px solid var(--line); animation: none; }
  .filter-sheet-head, .filter-sheet-actions { display: none; }
  .filter-fields { grid-template-columns: repeat(3, 1fr); overflow: visible; }
  body.filter-open { overflow: auto; }
  .service-line-grid, .service-item-grid, .testimonial-grid, .about-list { grid-template-columns: repeat(2, 1fr); }
  .pillar-grid { grid-template-columns: repeat(3, 1fr); }
  .logo-wall, .logo-wall.compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .about-nav ul { grid-auto-columns: minmax(180px, 1fr); gap: 10px; padding-block: 18px; }
  .about-nav img { aspect-ratio: 3 / 2; }
  .about-nav span { gap: 4px; padding: 8px 6px; font-size: .74rem; }
  .about-overview, .about-outcomes { grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); }
  .about-capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-next-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .corporate-intro { grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); }
  .corporate-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .corporate-route-grid, .corporate-proof-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .corporate-route-grid > a { grid-template-columns: 44px 1fr; }
  .corporate-route-grid .arrow-icon { display: none; }
  .logo-wall.compact li { min-height: 110px; }
  .logo-wall.compact img { height: 60px; }
  .related-course { grid-template-columns: 1fr minmax(260px, 340px); }
  .contact-quick-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-office-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-step-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .enquiry-form { grid-template-columns: 1fr 1fr; gap: 12px 14px; }
  .form-wide { grid-column: 1 / -1; }
  .two-column { grid-template-columns: 1fr auto; }
  .location-hero { min-height: 460px; }
  .corporate-panel { grid-template-columns: 1fr 1fr; }
  .footer-cta { grid-template-columns: 1.3fr 1fr; align-items: center; gap: 40px; }
  .footer-main { grid-template-columns: repeat(3, 1fr); }
  .office-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .footer-bottom { grid-template-columns: 1fr auto; align-items: center; gap: 12px 30px; }
  .footer-credit { grid-area: 2 / 2; justify-self: end; }
  .footer-note { grid-area: 2 / 1; }
}

/* Mobile: separate search/contact actions and a slide-in navigation drawer */
@media (max-width: 767px) {
  .basket-link { display: grid; }
  .menu-panel {
    inset: 0 auto 0 0;
    width: min(86vw, 380px);
    max-height: 100dvh;
    z-index: 1001;
    border: 0;
    border-radius: 0;
    padding: 12px 20px 24px;
    box-shadow: 0 24px 60px rgb(23 38 66 / 22%);
    animation: drawer-in .3s cubic-bezier(.2, .7, .2, 1);
  }
  [dir="rtl"] .menu-panel { inset: 0 0 0 auto; animation-name: drawer-in-rtl; }
  .menu-backdrop:not([hidden]) {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: block;
    border: 0;
    background: rgb(13 22 35 / 48%);
    backdrop-filter: blur(3px);
    animation: backdrop-in .22s ease-out;
  }
  .menu-panel[hidden] { display: none; }
  body.menu-open { overflow: hidden; }
  .menu-panel-close {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    margin-block-end: 8px;
    padding: 0 12px;
    border: 0;
    border-block-end: 1px solid var(--line);
    background: transparent;
    color: var(--muted);
    text-align: start;
    font: inherit;
    font-size: .82rem;
    font-weight: 700;
  }
  .menu-panel-close svg { width: 20px; height: 20px; }
  .menu-links { display: grid; gap: 2px; padding-block: 4px; }
  .menu-primary-links { display: grid; }
  .menu-extra-links { display: grid; border-block-start: 1px solid var(--line); margin-block-start: 6px; padding-block-start: 6px; }
  .menu-links a { min-height: 48px; padding-inline: 18px; border-block-end: 0; font-size: .95rem; font-weight: 600; }
  .menu-links a[aria-current="page"] { color: var(--red); }
  .menu-links details { border-block-end: 0; }
  .menu-links details summary { min-height: 48px; padding-inline: 18px; font-size: .95rem; font-weight: 600; }
  .menu-links details > div { padding: 4px 10px 10px; margin-inline: 8px; margin-block-end: 6px; background: var(--mist); border-radius: var(--radius-sm); }
  .menu-links details > div a { min-height: 36px; padding-inline: 12px; font-size: .88rem; font-weight: 500; }
}
@media (max-width: 420px) {
  .header-row { gap: 4px; }
  .brand img { width: 104px; height: 32px; }
  .header-actions { gap: 0; }
  .header-actions .icon-button, .header-actions .menu-button { width: 38px; height: 40px; }
  .language-link { min-width: 36px; padding-inline: 2px; font-size: .72rem; }
}
@keyframes drawer-in { from { transform: translateX(-100%); } }
@keyframes drawer-in-rtl { from { transform: translateX(100%); } }
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 767px) {
  .home-hero h1 { min-height: 5.75em; }
  .service-group-quick-nav { width: calc(100% - var(--gutter)); margin-inline: var(--gutter) 0; }
}

/* Tablet: four header items with the categories mega dropdown */
@media (min-width: 768px) and (max-width: 1023px) {
  .header-row { gap: clamp(6px, 1vw, 12px); }
  .brand img { width: clamp(112px, 15vw, 142px); height: 42px; }
  .desktop-nav { display: flex; flex: 1 1 auto; align-items: center; justify-content: center; gap: clamp(8px, 1.4vw, 18px); margin-inline-end: 0; white-space: nowrap; }
  .desktop-nav a, .categories-button { font-size: clamp(.74rem, .9vw, .82rem); letter-spacing: .04em; }
  .categories-button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
  .categories-button svg { width: 18px; height: 18px; }
  .categories-button[aria-expanded="true"] { color: var(--red); }
  .categories-button[aria-expanded="true"] svg:last-child { transform: rotate(-180deg); }
  .header-actions { flex: 0 0 auto; gap: clamp(0px, .4vw, 4px); }
  .header-actions .icon-button,
  .header-actions .menu-button { width: 40px; height: 40px; }
  .header-text-link { display: none; }
  .basket-link { display: grid; place-items: center; }
  .menu-button { display: grid; }
  .mega-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
  .mega-grid > section:nth-child(n + 3) { padding-block-start: 22px; border-block-start: 1px solid #d5dfe3; }
  .mega-category-grid { grid-template-columns: repeat(4, 1fr); }
  .mega-service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .trending-category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 768px) and (max-width: 899px) {
  .desktop-nav { display: none; }
}

/* 1024px and up */
@media (min-width: 1024px) {
  :root { --header-h: 95px; }
  .header-row { gap: 20px; }
  .brand { margin-inline-end: 20px; }
  .header-row { min-height: var(--header-h); }
  .site-chrome.is-scrolled .header-row { min-height: 68px; }
  .site-chrome.is-scrolled .brand img { width: 132px; height: 40px; }
  .to-top { inset-block-end: 28px; inset-inline-end: 28px; }
  .desktop-nav { display: flex; align-items: center; gap: 22px; margin-inline-end: auto; }
  .categories-button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
  .categories-button svg { width: 18px; height: 18px; }
  .categories-button[aria-expanded="true"] { color: var(--red); }
  .categories-button[aria-expanded="true"] svg:last-child { transform: rotate(-180deg); }
  .header-actions { gap: 8px; }
  .header-text-link { display: inline-flex; align-items: center; min-height: 44px; }
  .menu-button { display: grid; }
  .mega-menu { position: fixed; inset: var(--menu-top, 135px) 0 0; z-index: 998; display: block; overflow-y: auto; padding-block: 30px 70px; background: #f1f4f6; }
  .mega-menu[hidden] { display: none; }
  .mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 42px 70px; }
  .mega-grid > section:nth-child(2) { padding-inline-start: 50px; border-inline-start: 1px solid #d5dfe3; }
  .home-hero h1 { min-height: 3.35em; text-align: center; }
  .hero-rail, .hero-track { grid-auto-columns: calc((100% - 64px) / 4.22); }
  .logo-rail, .logo-rail .hero-track { grid-auto-columns: calc((100% - 60px) / 5.35); }
  .slider-arrow.prev { inset-inline-start: 16px; }
  .slider-arrow.next { inset-inline-end: 16px; }
  .rail { grid-auto-columns: calc((100% - 32px) / 3); }
  .location-tile { min-height: 220px; }
  .location-tile img { width: 160px; height: 160px; }
  .discovery { display: block; }
  .function-grid { grid-template-columns: repeat(5, 1fr); }
  .partner-grid, .cert-rail { grid-template-columns: repeat(6, 1fr); }
  .course-grid, .mentor-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid, .feature-grid, .audience-grid, .solution-grid, .content-grid, .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .benefit-grid, .process-grid, .mode-grid { grid-template-columns: repeat(4, 1fr); }
  .mode-grid.three-up { grid-template-columns: repeat(3, 1fr); }
  .shelf-grid { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); gap: 20px; overflow: visible; margin-inline: 0; padding-inline: 0; }
  .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .portfolio-resources .resource-grid { grid-template-columns: minmax(0, calc((100% - 20px) / 2)); justify-content: center; }
  .catalogue-banner, .page-hero, .editorial-hero { min-height: 480px; }
  .category-hero-grid { grid-template-columns: 1fr 340px; gap: 70px; }
  .service-group-quick-nav { position: fixed; inset-block-start: 50%; inset-inline-end: 24px; z-index: 8; width: 258px; max-height: min(78vh, 650px); margin: 0; overflow-y: auto; transform: translateY(-50%) rotate(0deg); transform-origin: calc(100% - 26px) 30px; transition: inset-inline-end .5s var(--ease), transform .5s var(--ease); }
  .service-group-quick-nav.is-collapsed { inset-inline-end: 0; transform: translateY(calc(-50% - 18px)) rotate(-90deg); }
  .service-group-quick-nav h2 { font-size: 1.12rem; }
  .service-group-quick-nav > p:not(.eyebrow) { font-size: .8rem; }
  .course-hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; }
  .course-booking { position: sticky; inset-block-start: calc(var(--chrome-h, calc(var(--header-h) + 56px)) + 20px); }
  .course-split {
    --split-shell: min(var(--shell), 100% - 2 * var(--gutter));
    grid-template-columns: minmax(0, 1fr) calc(var(--split-shell) * .625 - 14px) calc(var(--split-shell) * .375 + 14px) minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    grid-template-areas: ". overview aside ." ". takeaways aside ." ". outline aside .";
  }
  .course-split::before { content: ""; grid-column: 3 / 5; grid-row: 1 / -1; background: var(--white); }
  .course-block { padding-inline: 0 56px; }
  .course-takeaways { padding-block-end: 0; }
  .course-aside { position: relative; padding-inline: 32px 0; background: none; }
  .service-line-grid { grid-template-columns: repeat(3, 1fr); }
  .service-item-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
  .logo-wall, .logo-wall.compact { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .about-nav ul { grid-auto-flow: initial; grid-auto-columns: initial; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; padding: 22px max(var(--gutter), 24px); overflow-x: visible; }
  .about-nav img { aspect-ratio: 4 / 3; }
  .about-nav span { padding-inline: 4px; font-size: .66rem; }
  .about-overview { grid-template-columns: minmax(0, 1.35fr) minmax(380px, .65fr); }
  .about-capability-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .about-capability-grid article { min-height: 300px; }
  .about-next-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .about-next-grid > a { grid-template-columns: 44px 1fr; }
  .about-next-grid .arrow-icon { display: none; }
  .corporate-flow { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mega-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); }
  .mega-grid.mega-services-layout { grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr); }
  .mega-services-layout .mega-accreditations { padding-inline-start: 50px; border-inline-start: 1px solid #d5dfe3; }
  .mega-services-layout .mega-accreditations .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mega-grid > section { min-width: 0; }
  .mega-menu .partner-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mega-menu .partner-logo { max-width: 100%; }
  .mega-grid > section:nth-child(n + 3) { padding-block-start: 25px; border-block-start: 1px solid #d5dfe3; }
  .mega-grid > section:nth-child(4) { padding-inline-start: 50px; border-inline-start: 1px solid #d5dfe3; }
  .contact-hero-grid { grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr); gap: clamp(42px, 6vw, 84px); }
  .contact-section-heading { grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); }
  .contact-office-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .callback-inner { grid-template-columns: minmax(280px, 340px) 1fr; }
  .callback-intro { display: grid; align-content: center; }
  .enquiry-form { grid-template-columns: repeat(3, 1fr); align-content: center; }
  .enquiry-form.enquiry-tabs-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer { padding-block-end: 28px; }
  .footer-main { grid-template-columns: 1.5fr repeat(3, 1fr); gap: 48px; }
  .footer-brand { grid-column: auto; align-content: start; }
  .footer-column a { min-height: 32px; }
  .office-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* 1280px and up */
@media (min-width: 1280px) {
  .header-row { gap: 40px; }
  .brand { margin-inline-end: 40px; }
  .desktop-nav { gap: 34px; }
  .header-actions { gap: 12px; }
  .hero-rail, .hero-track { grid-auto-columns: calc((100% - 64px) / 4.28); }
  .logo-rail, .logo-rail .hero-track { grid-auto-columns: calc((100% - 72px) / 6.35); }
  .rail { grid-auto-columns: calc((100% - 48px) / 4); }
  .mega-service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .course-grid { grid-template-columns: repeat(4, 1fr); }
  .mentor-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1440px) {
  .about-nav span { font-size: .74rem; }
}

/* Phone landscape: keep panels usable on short screens */
@media (max-height: 500px) and (orientation: landscape) {
  .menu-panel { max-height: calc(100dvh - var(--menu-top, 64px) - 12px); }
  .filter-panel { max-height: 95dvh; }
  .hero-card { aspect-ratio: 4 / 3; }
}

@keyframes caret { 50% { border-color: transparent; } }
@keyframes panel-in { from { opacity: 0; transform: translateY(-8px); } }
@keyframes sheet-in { from { transform: translateY(100%); } }

.has-flipbook { overflow: hidden; }
.flipbook-dialog { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: radial-gradient(circle at 50% 40%, #22355a, #0c1528 70%); color: var(--white); }
.flipbook-dialog::backdrop { background: rgb(8 14 28 / 70%); backdrop-filter: blur(4px); }
.flipbook-dialog[open] { animation: fb-dialog-in .28s ease-out; }
.flipbook-dialog [hidden] { display: none !important; }
.fb-shell { position: relative; height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.fb-bar { display: flex; align-items: center; gap: 16px; padding: 10px clamp(14px, 3vw, 28px); border-block-end: 1px solid rgb(255 255 255 / 10%); }
.fb-bar h2 { flex: 1; min-width: 0; margin: 0; overflow: hidden; color: var(--white); font-size: 1rem; text-overflow: ellipsis; white-space: nowrap; }
.fb-count { margin: 0; color: rgb(255 255 255 / 72%); font-size: .82rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fb-tools { display: flex; gap: 6px; }
.fb-tool, .fb-nav { display: grid; place-items: center; border: 1px solid rgb(255 255 255 / 18%); border-radius: 50%; background: rgb(255 255 255 / 6%); color: var(--white); cursor: pointer; transition: background-color .2s, border-color .2s, opacity .2s; }
.fb-tool { width: 40px; height: 40px; }
.fb-nav { width: 52px; height: 52px; }
.fb-tool:hover, .fb-nav:hover:not(:disabled), .fb-tool[aria-pressed="true"], .fb-tool[aria-expanded="true"] { border-color: var(--red); background: var(--red); }
.fb-tool:focus-visible, .fb-nav:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.fb-nav:disabled { opacity: .25; cursor: default; }
.fb-tool svg { width: 18px; height: 18px; }
.fb-nav svg { width: 24px; height: 24px; }
.fb-stage { min-height: 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(6px, 2vw, 24px); padding: clamp(10px, 2.5vw, 28px); }
.fb-viewport { height: 100%; min-height: 0; display: grid; place-items: center; container-type: size; touch-action: pan-y; }
.fb-book { --fb-pages: 1; position: relative; display: grid; grid-template-columns: repeat(var(--fb-pages), 1fr); width: min(100cqw, calc(100cqh * var(--fb-ratio, .7) * var(--fb-pages))); aspect-ratio: calc(var(--fb-ratio, .7) * var(--fb-pages)); perspective: 2600px; user-select: none; }
.fb-book.is-spread { --fb-pages: 2; filter: drop-shadow(0 26px 40px rgb(0 0 0 / 45%)); }
.fb-page, .fb-face { position: relative; overflow: hidden; background: var(--white); cursor: pointer; }
.fb-page img, .fb-face img { width: 100%; height: 100%; display: block; object-fit: contain; pointer-events: none; }
.fb-single { box-shadow: 0 26px 50px rgb(0 0 0 / 45%); }
.fb-left { border-radius: 6px 0 0 6px; }
.fb-right { border-radius: 0 6px 6px 0; }
.fb-left::after, .fb-right::after, .fb-face::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.fb-left::after { background: linear-gradient(to left, rgb(0 0 0 / 22%), transparent 9%); }
.fb-right::after { background: linear-gradient(to right, rgb(0 0 0 / 22%), transparent 9%); }
.fb-page.is-blank { background: transparent; cursor: default; }
.fb-page.is-blank::after { display: none; }
.fb-leaf { position: absolute; inset-block: 0; width: 50%; transform-style: preserve-3d; transition: transform .65s cubic-bezier(.45, .05, .3, 1); z-index: 2; }
.fb-leaf.is-next { left: 50%; transform-origin: left center; }
.fb-leaf.is-prev { left: 0; transform-origin: right center; }
.fb-leaf.is-next.is-turning { transform: rotateY(-180deg); }
.fb-leaf.is-prev.is-turning { transform: rotateY(180deg); }
.fb-face { position: absolute; inset: 0; backface-visibility: hidden; }
.fb-back { transform: rotateY(180deg); }
.fb-face::after { background: linear-gradient(to right, rgb(0 0 0 / 0%), rgb(0 0 0 / 0%)); transition: background .65s; }
.fb-leaf.is-turning .fb-front::after { background: linear-gradient(to right, rgb(0 0 0 / 30%), rgb(0 0 0 / 5%)); }
.fb-book.is-leaving-next { animation: fb-out-next .32s ease-in forwards; }
.fb-book.is-leaving-prev { animation: fb-out-prev .32s ease-in forwards; }
.fb-book.is-entering-next { animation: fb-in-next .32s ease-out; }
.fb-book.is-entering-prev { animation: fb-in-prev .32s ease-out; }
.is-zoomed .fb-viewport { display: block; overflow: auto; touch-action: auto; }
.is-zoomed .fb-book { width: calc(100cqw * 1.8); margin-inline: auto; cursor: grab; }
.is-zoomed .fb-page { cursor: grab; }
.fb-foot { padding: 0 clamp(14px, 3vw, 28px) 14px; }
.fb-range { width: 100%; accent-color: var(--red); }
.fb-thumbs { position: absolute; inset: 61px 0 0; z-index: 3; display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); align-content: start; gap: 16px; padding: clamp(16px, 3vw, 32px); overflow: auto; background: rgb(12 21 40 / 97%); }
.fb-thumbs button { display: grid; gap: 6px; padding: 4px; border: 2px solid transparent; border-radius: var(--radius-sm); background: none; color: rgb(255 255 255 / 75%); cursor: pointer; font-size: .74rem; }
.fb-thumbs button:hover, .fb-thumbs button[aria-current] { border-color: var(--red); color: var(--white); }
.fb-thumbs img { width: 100%; height: auto; border-radius: 4px; background: var(--white); }
.fb-embed { position: relative; z-index: 1; grid-area: 2 / 1; width: 100%; height: 100%; border: 0; background: transparent; }
.is-embed .fb-shell::before { content: ""; grid-area: 2 / 1; place-self: center; width: 44px; height: 44px; border: 3px solid rgb(255 255 255 / 20%); border-block-start-color: var(--red); border-radius: 50%; animation: fb-spin .9s linear infinite; }
.is-embed .fb-stage, .is-embed .fb-foot, .is-embed [data-fb="thumbs"], .is-embed [data-fb="zoom"] { display: none; }
@media (max-width: 640px) {
  .fb-bar { flex-wrap: wrap; gap: 6px 12px; }
  .fb-bar h2 { flex-basis: calc(100% - 60px); order: 1; }
  .fb-count { order: 3; flex: 1; }
  .fb-tools { order: 2; }
  .fb-tools .fb-tool:not([data-fb="close"]) { order: 1; }
  .fb-stage { grid-template-columns: minmax(0, 1fr); }
  .fb-nav { position: absolute; inset-block-end: 54px; z-index: 2; width: 44px; height: 44px; background: rgb(12 21 40 / 70%); }
  .fb-prev { inset-inline-start: 14px; }
  .fb-next { inset-inline-end: 14px; }
  .fb-thumbs { inset-block-start: 96px; }
}
@keyframes fb-spin { to { transform: rotate(360deg); } }
@keyframes fb-dialog-in { from { opacity: 0; transform: scale(.98); } }
@keyframes fb-out-next { to { opacity: 0; transform: translateX(-8%); } }
@keyframes fb-out-prev { to { opacity: 0; transform: translateX(8%); } }
@keyframes fb-in-next { from { opacity: 0; transform: translateX(8%); } }
@keyframes fb-in-prev { from { opacity: 0; transform: translateX(-8%); } }

.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 32px 24px; align-items: stretch; }
.portfolio-book { display: flex; flex-direction: column; height: 100%; gap: 14px; }
.portfolio-cover { position: relative; display: block; aspect-ratio: 520 / 735; overflow: hidden; border-radius: var(--radius); background: var(--mist); box-shadow: 0 20px 40px -24px rgb(23 38 66 / 55%); }
.portfolio-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.portfolio-cover.is-landscape img { object-fit: contain; padding: 14px; }
.portfolio-open { position: absolute; inset: auto 12px 12px; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; border-radius: 999px; background: rgb(255 255 255 / 95%); color: var(--navy); font-size: .82rem; font-weight: 800; opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s; }
.portfolio-open svg { width: 18px; height: 18px; color: var(--red); }
.portfolio-cover:hover img, .portfolio-cover:focus-visible img { transform: scale(1.04); }
.portfolio-cover:hover .portfolio-open, .portfolio-cover:focus-visible .portfolio-open { opacity: 1; transform: none; }
@media (hover: none) { .portfolio-open { opacity: 1; transform: none; } }
.portfolio-copy { display: flex; flex: 1; flex-direction: column; }
.portfolio-copy h3 { margin: 0 0 6px; font-size: 1.02rem; line-height: 1.3; }
.portfolio-copy p { margin: 0; color: var(--muted); font-size: .86rem; }
.portfolio-copy .portfolio-meta { display: flex; align-items: center; gap: 6px; margin-block-start: auto; padding-block-start: 10px; font-size: .78rem; }
.portfolio-meta svg { width: 15px; height: 15px; color: var(--red); }
.portfolio-copy .text-link { display: inline-flex; align-items: center; gap: 6px; margin-block-start: 10px; }
.portfolio-copy .text-link svg { width: 16px; height: 16px; }
.portfolio-video { display: grid; align-items: center; gap: 28px; }
.portfolio-video video { width: 100%; height: auto; border-radius: var(--radius); background: #000; box-shadow: var(--shadow); }
.portfolio-video p { color: var(--muted); }
.brochure-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); align-items: start; gap: 20px; }
.brochure-group { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.brochure-group h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 1.05rem; }
.brochure-group h3 svg { width: 20px; height: 20px; color: var(--red); }
.brochure-group ul { display: grid; padding: 0; margin: 0; list-style: none; }
.brochure-group li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 10px; border-block-start: 1px solid var(--line); }
.brochure-course { font-size: .88rem; font-weight: 600; text-decoration: none; }
.brochure-course:hover { color: var(--red); }
.brochure-file { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: var(--mist); color: var(--navy); font-size: .74rem; font-weight: 700; text-decoration: none; transition: background-color .2s, color .2s; }
.brochure-file:hover { background: var(--red); color: var(--white); }
.brochure-file svg { width: 14px; height: 14px; }
@media (min-width: 900px) { .portfolio-video { grid-template-columns: .8fr 1.2fr; } }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.photo-grid button { display: block; padding: 0; overflow: hidden; border: 0; border-radius: var(--radius-sm); background: var(--mist); cursor: zoom-in; }
.photo-grid img { width: 100%; height: 190px; display: block; object-fit: cover; transition: transform .35s ease; }
.photo-grid button:hover img, .photo-grid button:focus-visible img { transform: scale(1.05); }
.photo-dialog { width: min(1100px, calc(100vw - 32px)); max-width: none; height: min(88dvh, 860px); margin: auto; padding: 0; border: 0; border-radius: var(--radius); background: #0c1528; color: var(--white); overflow: hidden; }
.photo-dialog::backdrop { background: rgb(8 14 28 / 72%); }
.photo-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.photo-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; }
.photo-bar p { flex: 1; margin: 0; font-size: .85rem; font-variant-numeric: tabular-nums; }
.photo-stage { min-height: 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 0 10px 14px; }
.photo-stage img { width: 100%; height: 100%; max-height: calc(88dvh - 90px); object-fit: contain; }
.photo-dialog .fb-nav { background: rgb(255 255 255 / 8%); }

@media (min-width: 768px) {
  .trending-mega-menu {
    inset: var(--menu-top, 88px) auto auto 50%;
    width: min(1120px, calc(100vw - 48px));
    max-height: calc(100dvh - var(--menu-top, 88px) - 20px);
    padding: 24px;
    border: 1px solid #dbe3e8;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 24px 60px rgb(11 20 38 / 18%);
    transform: translateY(-12px);
    translate: -50% 0;
  }
  [dir="rtl"] .trending-mega-menu { translate: -50% 0; }
  .trending-mega-menu .section-heading { margin-block-end: 16px; }
  .trending-mega-menu .category-tile.compact { min-height: 132px; }
  .trending-category-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .typing { border: 0; }
}

/* BEMCON hub */
.hub-body { background: #08111f; }
.hub-body .site-header { background: #fff; }
.hub-page { color: #f7f9fc; background: #08111f; overflow: hidden; }
.hub-hero { position: relative; min-height: 390px; display: grid; place-items: center; border-bottom: 1px solid rgb(255 255 255 / 10%); background: radial-gradient(circle at 82% 18%, rgb(217 52 68 / 18%), transparent 27rem), radial-gradient(circle at 8% 80%, rgb(70 154 183 / 15%), transparent 24rem), linear-gradient(135deg, #0d1a2e, #070d18 62%); }
.hub-hero::before { content: ""; position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgb(255 255 255 / 16%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 16%) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, #000, transparent 94%); }
.hub-hero-inner { position: relative; z-index: 1; text-align: center; padding-block: 86px 72px; }
.hub-page .eyebrow { color: #efb847; letter-spacing: .16em; }
.hub-hero h1 { max-width: 980px; margin: 14px auto 20px; color: #fff; font-size: clamp(2.7rem, 5.5vw, 5.6rem); line-height: .98; letter-spacing: -.055em; }
.hub-hero h1 em { color: #e23a4b; font-style: normal; font-weight: 700; }
.hub-hero-inner > p:not(.eyebrow) { max-width: 730px; margin: 0 auto; color: #b8c2d1; font-size: clamp(1rem, 1.5vw, 1.22rem); line-height: 1.75; }
.hub-facts { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hub-facts span { padding: 9px 16px; border: 1px solid rgb(255 255 255 / 14%); border-radius: 999px; color: #d9e0ea; background: rgb(255 255 255 / 5%); font-size: .82rem; font-weight: 700; }
.hub-section { padding-block: 68px; }
.hub-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 28px; }
.hub-section-heading h2 { margin: 7px 0 0; color: #fff; font-size: clamp(1.75rem, 3vw, 2.65rem); letter-spacing: -.04em; }
.hub-section-heading > p { max-width: 470px; margin: 0; color: #8f9bad; line-height: 1.65; }
.hub-heading-link { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; white-space: nowrap; }
.hub-heading-link svg { width: 18px; }
.hub-quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.hub-link-card, .hub-service-card { position: relative; display: flex; align-items: center; gap: 16px; min-width: 0; border: 1px solid rgb(255 255 255 / 10%); color: #fff; background: linear-gradient(145deg, rgb(255 255 255 / 7%), rgb(255 255 255 / 2%)); transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.hub-link-card { min-height: 132px; padding: 22px; border-radius: 18px; }
.hub-link-card:hover, .hub-service-card:hover { transform: translateY(-4px); border-color: rgb(226 58 75 / 65%); background: linear-gradient(145deg, rgb(255 255 255 / 11%), rgb(255 255 255 / 4%)); }
.hub-link-icon, .hub-service-icon { flex: 0 0 auto; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; color: #fff; background: #bd3445; box-shadow: 0 9px 30px rgb(217 52 68 / 28%); }
.tone-1 .hub-link-icon { background: #2c7896; box-shadow: 0 9px 30px rgb(44 120 150 / 28%); }
.tone-2 .hub-link-icon { background: #bd3445; }
.tone-3 .hub-link-icon { background: #b58b2e; box-shadow: 0 9px 30px rgb(181 139 46 / 26%); }
.tone-4 .hub-link-icon { background: #31835a; box-shadow: 0 9px 30px rgb(49 131 90 / 25%); }
.hub-link-icon svg, .hub-service-icon svg { width: 25px; height: 25px; }
.hub-link-copy, .hub-service-card > span:nth-child(2) { display: grid; gap: 6px; min-width: 0; flex: 1; }
.hub-link-copy b, .hub-service-card b { line-height: 1.3; }
.hub-link-copy small, .hub-service-card small { color: #96a2b3; font-size: .78rem; line-height: 1.55; }
.hub-arrow { flex: 0 0 auto; display: inline-grid; place-items: center; color: #8693a4; }
.hub-arrow svg { width: 17px; height: 17px; }
[dir="rtl"] .hub-arrow svg { transform: scaleX(-1); }
.hub-services { border-block: 1px solid rgb(255 255 255 / 9%); background: #0c1728; }
.hub-service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.hub-service-card { min-height: 104px; padding: 17px; border-radius: 15px; }
.hub-service-icon { width: 42px; height: 42px; border-radius: 12px; background: rgb(217 52 68 / 15%); color: #f04d60; box-shadow: none; }
.hub-service-icon svg { width: 21px; height: 21px; }
.hub-company-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hub-company-grid .hub-link-card { min-height: 116px; }
.hub-company-grid .hub-link-icon { background: #172642; box-shadow: none; color: #e7b33f; }
.hub-cta { padding-block: 56px; border-top: 1px solid rgb(255 255 255 / 10%); background: linear-gradient(110deg, #172642, #202b43 65%, #44212c); }
.hub-cta .shell { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.hub-cta h2 { margin: 6px 0 8px; color: #fff; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.hub-cta p:not(.eyebrow) { max-width: 700px; margin: 0; color: #c0c9d7; }
.hub-cta .button { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px; }
.hub-page + .site-footer { border-top: 0; }
@media (max-width: 1080px) {
  .hub-quick-grid, .hub-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-company-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .hub-hero { min-height: 0; }
  .hub-hero-inner { padding-block: 64px 54px; }
  .hub-section { padding-block: 48px; }
  .hub-section-heading, .hub-cta .shell { align-items: flex-start; flex-direction: column; gap: 16px; }
  .hub-quick-grid, .hub-service-grid, .hub-company-grid { grid-template-columns: 1fr; }
  .hub-link-card { min-height: 112px; }
  .hub-cta .button { width: 100%; justify-content: center; }
}

/* ==========================================================================
   AzAd Suite Products & Solutions Mega-Menu Styles
   ========================================================================== */
.mega-products {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.mega-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.mega-product-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm, 8px);
  text-decoration: none;
  color: var(--ink);
  transition: all .2s var(--ease);
}
.mega-product-card:hover {
  border-color: var(--primary, #d93444);
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.mega-product-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(217, 52, 68, 0.1);
  color: var(--primary, #d93444);
  flex-shrink: 0;
}
.mega-product-icon svg { width: 18px; height: 18px; }
.mega-product-info { display: flex; flex-direction: column; min-width: 0; }
.mega-product-info b { font-size: 0.84rem; line-height: 1.3; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mega-product-info small { font-size: 0.72rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Product Hub Showcase Cards */
.product-showcase-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius, 12px);
  transition: all .25s var(--ease);
}
.product-showcase-card:hover {
  border-color: var(--primary, #d93444);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}
.product-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.product-icon-badge {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(217, 52, 68, 0.08);
  color: var(--primary, #d93444);
}
.product-icon-badge svg { width: 24px; height: 24px; }
.partner-pill {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 20px;
  background: #f0f4f8;
  color: #2b4360;
  border: 1px solid #d8e2ec;
}
[dir="rtl"] .partner-pill { direction: rtl; }
.product-showcase-card h3 {
  margin: 0 0 6px;
  font-size: 1.25rem;
  color: var(--ink);
}
.product-tagline {
  margin: 0 0 10px;
  font-size: 0.88rem;
  color: var(--primary, #d93444);
  line-height: 1.4;
}
.product-lead {
  margin: 0 0 16px;
  font-size: 0.85rem;
  color: var(--body);
  line-height: 1.6;
}
.product-module-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}
.product-module-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--body);
  line-height: 1.4;
}
.product-module-list li svg {
  width: 16px;
  height: 16px;
  color: #10b981;
  flex-shrink: 0;
  margin-top: 2px;
}
.product-showcase-card .button-row {
  margin-top: auto;
  gap: 8px;
}
.product-showcase-card .button-row .button {
  flex: 1;
  text-align: center;
  justify-content: center;
  font-size: 0.8rem;
  padding: 8px 12px;
}

/* Product Detail Page Modules & Benefits */
.feature-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius, 12px);
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(217, 52, 68, 0.08);
  color: var(--primary, #d93444);
  margin-bottom: 12px;
}
.feature-icon svg { width: 20px; height: 20px; }
.feature-card h3 { margin: 0 0 8px; font-size: 1.1rem; color: var(--ink); }
.feature-card p { margin: 0; font-size: 0.86rem; color: var(--body); line-height: 1.6; }

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.benefit-item {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm, 8px);
}
.benefit-item h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  font-size: 1rem;
  color: var(--ink);
}
.benefit-item h4 svg { width: 18px; height: 18px; color: #10b981; flex-shrink: 0; }
.benefit-item p { margin: 0; font-size: 0.84rem; color: var(--body); line-height: 1.5; }

.sector-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.sector-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink);
}
.sector-pill svg { width: 16px; height: 16px; color: var(--primary, #d93444); }

.related-services-box {
  padding: 24px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius, 12px);
  margin-top: 24px;
}
.related-services-box h3 { margin: 0 0 14px; font-size: 1.05rem; color: var(--ink); }
.related-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.related-links-row .text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.86rem;
}

@media (max-width: 1080px) {
  .mega-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .mega-product-grid { grid-template-columns: 1fr; }
}

/* Product Showcase Cards & Hero Figures */
.product-showcase-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius, 12px);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgb(0 0 0 / 4%);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.product-showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgb(0 0 0 / 10%);
}
.product-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0f172a;
}
.product-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
  display: block;
}
.product-showcase-card:hover .product-banner-img {
  transform: scale(1.05);
}
.product-card-media .partner-pill {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-end: 12px;
  background: rgb(15 23 42 / 85%);
  backdrop-filter: blur(8px);
  color: #fbbf24;
  border: 1px solid rgb(251 191 36 / 35%);
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgb(0 0 0 / 25%);
}
.product-overview-media {
  margin-block: 28px 48px;
}
.product-hero-figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius, 16px);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 12px 36px rgb(0 0 0 / 8%);
  background: #0f172a;
}
.product-hero-figure > img {
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: cover;
  display: block;
}
.product-hero-figure > figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  background: var(--white);
  border-block-start: 1px solid var(--line);
}
.product-hero-figure > figcaption > div {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.product-hero-figure > figcaption b {
  font-size: 1.1rem;
  color: var(--ink);
}
.product-hero-figure > figcaption small {
  color: var(--muted);
  font-size: 0.85rem;
}
@media (max-width: 768px) {
  .product-hero-figure > figcaption {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Normalized Category Page Intro & Single-Row Logo Carousel */
.category-intro-section {
  padding-block: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.category-compact-label {
  margin-block-end: 18px;
}
.category-compact-label .eyebrow {
  margin: 0 0 6px;
  font-size: 0.78rem;
  letter-spacing: .12em;
  color: var(--red);
  font-weight: 800;
  text-transform: uppercase;
}
.category-compact-label h2 {
  margin: 0;
  font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.85rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--navy);
}

/* Recognised Learning Single-Row Carousel */
.category-logo-slider {
  position: relative;
  width: 100%;
}
.category-logo-slider .logo-rail {
  padding-block: 8px 18px;
  margin-block: -8px -18px;
  padding-inline: clamp(12px, 2.5vw, 36px);
}
.category-logo-slider .partner-card.logo-card {
  min-height: 110px;
  padding: 16px 18px;
  gap: 8px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 1px 4px rgb(0 0 0 / 4%);
  scroll-snap-align: start;
  transition: transform .2s var(--ease), border-color .2s, box-shadow .2s;
}
.category-logo-slider .partner-card.logo-card:hover {
  transform: translateY(-3px);
  border-color: var(--red);
  box-shadow: var(--shadow);
}
.category-logo-slider .partner-card.logo-card img {
  height: 56px;
  width: auto;
  max-width: 136px;
  object-fit: contain;
}
.category-logo-slider .partner-card.logo-card img.is-pecb {
  height: calc(56px * 0.85);
  max-width: calc(136px * 0.85);
}
.category-logo-slider .partner-card.logo-card span {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.category-logo-slider .slider-arrow {
  inset-block-start: 50%;
  transform: translateY(-50%);
}
.category-logo-slider .slider-arrow.prev {
  inset-inline-start: -12px;
}
.category-logo-slider .slider-arrow.next {
  inset-inline-end: -12px;
}
@media (max-width: 768px) {
  .category-logo-slider .slider-arrow.prev {
    inset-inline-start: 2px;
  }
  .category-logo-slider .slider-arrow.next {
    inset-inline-end: 2px;
  }
}

/* Normalized Capability Cards */
.category-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 820px) {
  .category-capability-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
.category-cap-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 2px 8px rgb(23 38 66 / 4%);
  transition: transform .2s var(--ease), border-color .2s, box-shadow .2s;
}
.category-cap-card:hover {
  transform: translateY(-3px);
  border-color: var(--navy);
  box-shadow: 0 8px 24px rgb(23 38 66 / 8%);
}
.category-cap-card .cap-idx {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgb(200 158 69 / 12%);
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 800;
}
.category-cap-card div {
  flex: 1 1 auto;
  min-width: 0;
}
.category-cap-card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}
.category-cap-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
}

/* Normalized Programme Grid on Category Page */
.category-page .programme-section {
  padding-block: 36px 64px;
}
.category-page .programme-section .section-heading {
  margin-block-end: 20px;
}
.category-page .programme-filters {
  margin-block-end: 24px;
}




/* Standalone Products mega menu */
.mega-grid.mega-products-layout { grid-template-columns: minmax(0, 1fr); }
.mega-products-layout .mega-products { margin-top: 0; padding-top: 0; border-top: 0; }
.mega-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.mega-product-tile { aspect-ratio: 3 / 2; min-width: 0; }
.mega-product-tile .category-tile-copy { inset-inline: 10px; inset-block-end: 10px; flex-direction: row; align-items: flex-end; gap: 8px; }
.mega-product-tile .service-category-copy { display: flex; flex-direction: column; min-width: 0; gap: 3px; }
.mega-product-tile .service-category-copy b { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-height: 1.2; }
.mega-product-tile .service-category-copy small { display: -webkit-box; overflow: hidden; color: rgb(255 255 255 / 82%); font-size: .58rem; font-weight: 500; line-height: 1.25; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
@media (max-width: 767px) {
  .mega-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mega-product-tile .category-icon { display: none; }
  .mega-product-tile .service-category-copy small { display: none; }
}


/* Keep Products and trending dropdown panels the same size and finish. */
@media (min-width: 768px) {
  .products-mega-menu {
    inset: var(--menu-top, 88px) auto auto 50%;
    width: min(1120px, calc(100vw - 48px));
    max-height: calc(100dvh - var(--menu-top, 88px) - 20px);
    padding: 24px;
    border: 1px solid #dbe3e8;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 24px 60px rgb(11 20 38 / 18%);
    transform: translateY(-12px);
    translate: -50% 0;
  }
  [dir="rtl"] .products-mega-menu { translate: -50% 0; }
}
.mega-product-tile::after {
  background: linear-gradient(180deg, rgb(7 15 28 / 0%) 20%, rgb(7 15 28 / 94%) 100%);
}
.turnstile-slot {
  min-width: 0;
  overflow: hidden;
}
