/* ==========================================================================
   CADD LABS v2 — design system
   Theme "Blueprint Crimson": deep indigo-navy (logo emblem), crimson (logo
   wordmark) and blueprint cyan. Change the THEME tokens below to re-colour
   the whole site.
   ========================================================================== */

/* Self-hosted fonts (SIL Open Font License) — latin subset */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/inter-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('../fonts/plus-jakarta-sans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* ---------------- THEME ---------------- */
  --brand: #e0142f;            /* CADD LABS crimson */
  --brand-600: #c8102e;        /* crimson for text / hover on light */
  --brand-300: #ff9aac;        /* crimson for text on dark */
  --brand-50: #fff0f2;
  --berry: #c2185b;
  --accent: #2bd4f2;           /* blueprint cyan (use on dark) */
  --accent-600: #0a7f98;       /* cyan for text on light */
  --accent-50: #e6fafd;
  --indigo: #4f46e5;           /* logo emblem indigo */
  --indigo-50: #eef0ff;
  --success: #2f9e44;          /* logo green */

  --ink-950: #0a1236;
  --ink-900: #101a4b;
  --ink-850: #15215a;
  --ink-800: #1c2a6b;
  --ink-700: #2b3a85;
  --on-dark: #eef1fa;
  --on-dark-muted: #b4bcdc;
  --line-dark: rgba(170, 185, 255, 0.2);

  --bg: #ffffff;
  --bg-soft: #f4f6ff;
  --text: #0f1638;
  --muted: #525b78;
  --border: #e2e6f2;

  --grad-brand: linear-gradient(135deg, #e0142f 0%, #c2185b 100%);      /* white text ≥ 4.5:1 */
  --grad-banner: linear-gradient(120deg, #d4143a 0%, #7e22ce 52%, #4338ca 100%);
  --grad-text-dark: linear-gradient(90deg, #ff6b86 0%, #a5b4fc 55%, #4fdcf3 100%);
  --grad-text-light: linear-gradient(90deg, #d8102e 0%, #4f46e5 100%);
  --aurora:
    radial-gradient(55% 60% at 88% 8%, rgba(236, 30, 70, 0.34), transparent 65%),
    radial-gradient(45% 55% at 0% 100%, rgba(43, 212, 242, 0.22), transparent 65%),
    radial-gradient(45% 45% at 45% 45%, rgba(99, 102, 241, 0.34), transparent 70%);
  --blueprint:
    linear-gradient(rgba(96, 230, 250, 0.07) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(90deg, rgba(96, 230, 250, 0.07) 1px, transparent 1px) 0 0 / 36px 36px;
  /* ---------------------------------------- */

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(14, 20, 51, 0.06);
  --shadow: 0 1px 2px rgba(14, 20, 51, 0.05), 0 12px 32px -14px rgba(14, 20, 51, 0.18);
  --shadow-lg: 0 30px 60px -28px rgba(14, 20, 51, 0.38);
  --glow: 0 12px 26px -12px rgba(224, 20, 47, 0.7);

  --font-head: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 74px;
  --card-border: #c2185b;      /* border colour of every bordered card */
  --section-y: clamp(32px, 4.2vw, 56px);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: rgba(224, 20, 47, 0.16); }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a[href^="tel:"] { white-space: nowrap; word-spacing: .12em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -0.02em; word-spacing: .06em; } /* Plus Jakarta Sans has a narrow space */
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 2px; border-radius: 6px; }
.section--dark :focus-visible, .hero-home :focus-visible, .page-hero :focus-visible, .site-footer :focus-visible, .topbar :focus-visible, .modal__intro :focus-visible { outline-color: var(--accent); }
main:focus { outline: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: #fff; color: var(--text); padding: 10px 16px; border-radius: 10px; font-weight: 600; box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 940px; }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- typography helpers ---------- */
.text-accent { background: var(--grad-text-light); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section--dark .text-accent, .hero-home .text-accent, .page-hero .text-accent, .modal__intro .text-accent { background-image: var(--grad-text-dark); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .32rem .8rem .32rem .6rem; margin: 0 0 1rem;
  border-radius: 999px; background: var(--brand-50); border: 1px solid #ffd6dd;
  font-family: var(--font-head); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-600);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px rgba(224, 20, 47, .15); }
.section--dark .eyebrow, .modal__intro .eyebrow { background: rgba(255, 107, 134, .1); border-color: rgba(255, 107, 134, .28); color: var(--brand-300); }
.section--dark .eyebrow::before, .modal__intro .eyebrow::before { background: var(--accent); box-shadow: 0 0 0 3px rgba(43, 212, 242, .2); }
.section-title { font-size: clamp(1.65rem, 1.15rem + 1.8vw, 2.6rem); font-weight: 800; margin-bottom: .45em; }
.h3 { font-size: 1.3rem; }
.section-head { max-width: 860px; margin-bottom: clamp(22px, 3vw, 36px); }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head:has(+ .prose) { margin-bottom: clamp(16px, 2vw, 22px); }
.section-head--left .section-title { margin-bottom: .3em; }
.section-text { color: var(--muted); font-size: 1.06rem; margin: 0; }
.prose p { color: var(--muted); }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--text); font-weight: 600; }
.prose--center { max-width: 920px; margin: 0 auto clamp(28px, 4vw, 44px); text-align: center; }
.prose--lead p { font-size: 1.06rem; }
.bullets { list-style: none; display: grid; gap: .45rem; margin: 0 0 1em; }
.bullets li { position: relative; padding-left: 1.4em; color: var(--muted); }
.bullets li::before { content: ""; position: absolute; left: .15em; top: .62em; width: .5em; height: .5em; border-radius: 3px; background: var(--grad-brand); transform: rotate(45deg); }
.bullets--cols { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.link-btn { background: none; border: 0; padding: 0; color: var(--brand-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- sections ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(28px, 3vw, 40px); }
/* Two neighbouring sections on the same background: one gap between them, not two. */
.section--dark + .section--dark, .section--soft + .section--soft { padding-top: 0; }
/* The section padding is the whole gap: no extra margin under the last block. */
.section > .container > :last-child, .section > .container > :last-child > :last-child, .page-hero__content > :last-child, .page-hero > .container > :last-child { margin-bottom: 0; }
/* Two consecutive white sections share one gap instead of stacking both paddings. */
:is(.section:not(.section--soft):not(.section--dark), .job-banner-wrap) + .section:not(.section--soft):not(.section--dark) { padding-top: 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--aurora), var(--blueprint), var(--ink-900); color: var(--on-dark); }
.section--dark .section-text, .section--dark .prose p { color: var(--on-dark-muted); }
.section--dark .prose strong { color: #fff; }

/* ---------- buttons ---------- */
.btn {
  --pad-y: .8rem; --pad-x: 1.3rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 12px; border: 1.5px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; line-height: 1.2;
  text-decoration: none; white-space: nowrap; word-spacing: .08em;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:hover .icon--arrowRight { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn--sm { --pad-y: .55rem; --pad-x: 1rem; font-size: .88rem; border-radius: 10px; }
.btn--lg { --pad-y: .95rem; --pad-x: 1.6rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--grad-brand); color: #fff; box-shadow: var(--glow); }
.btn--primary:hover { box-shadow: 0 18px 36px -14px rgba(224, 20, 47, .8); }
.btn--outline { border-color: var(--brand); color: var(--brand-600); background: #fff; }
.btn--outline:hover { background: var(--brand-50); }
.section--dark .btn--outline { color: #fff; background: transparent; border-color: rgba(255, 255, 255, .35); }
.section--dark .btn--outline:hover { background: rgba(255, 255, 255, .08); }
.btn--glass { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .24); color: #fff; backdrop-filter: blur(6px); }
.btn--glass:hover { background: rgba(255, 255, 255, .16); }
.btn--light { background: #fff; color: var(--ink-900); }
.btn--dark { background: var(--ink-900); color: #fff; }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost-dark { background: var(--ink-900); color: #fff; }
.btn--wa { background: #0e7a3b; color: #fff; }
.btn--wa:hover { background: #0b6831; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.5rem; }
.btn-row--center { justify-content: center; }
.btn-row .or { font-size: .72rem; font-weight: 700; color: var(--muted); border: 1px solid var(--border); border-radius: 50%; width: 30px; height: 30px; display: grid; place-items: center; }
.icon-btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border); background: #fff; color: var(--text); }
.icon-btn .icon { width: 20px; height: 20px; }

/* ---------- topbar & header ---------- */
.topbar { background: var(--ink-950); color: var(--on-dark-muted); font-size: .82rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; }
.topbar__branches { display: flex; align-items: center; gap: .5rem; margin: 0; }
.topbar__branches .icon { color: var(--accent); width: 15px; height: 15px; }
.topbar__branches span + .icon { margin-left: .9rem; }
.topbar__links { display: flex; align-items: center; gap: 1.25rem; }
.topbar__links a { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; color: var(--on-dark); }
.topbar__links a:hover { color: var(--brand-300); }
.topbar__links .icon { width: 15px; height: 15px; color: var(--accent); }
.topbar__wa .icon { color: #25d366; }

/* Quick links (content/site.mjs → topLinks): a slim row above the header, after the SevenMentor reference. */
.quicklinks { background: #fff; border-bottom: 1px solid var(--border); font-size: .84rem; }
.quicklinks ul { list-style: none; display: flex; justify-content: flex-end; flex-wrap: wrap; margin: 0; padding: 0; }
.quicklinks li { display: flex; align-items: center; }
.quicklinks li + li::before { content: ""; width: 1px; height: 14px; background: #c9cde0; }
.quicklinks a { display: block; padding: .45rem .9rem; font-weight: 600; color: var(--brand-600); text-decoration: none; }
.quicklinks li:last-child a { padding-right: 0; }
.quicklinks a:hover, .quicklinks a[aria-current="page"] { color: var(--ink-900); text-decoration: underline; text-underline-offset: 3px; }
.drawer__quick { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--border); }
.drawer__quick a { display: block; padding: .4rem .75rem; border-radius: 999px; background: var(--brand-50); color: var(--brand-600); font-weight: 600; font-size: .85rem; text-decoration: none; }

.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--border); transition: box-shadow .25s ease, background-color .25s ease; }
.site-header.is-scrolled { background: #fff; box-shadow: 0 10px 30px -18px rgba(14, 20, 51, .4); }
.site-header .container, .topbar .container, .quicklinks .container { max-width: 1320px; }
.site-header__inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { flex: none; }
.brand img { display: block; width: 260px; height: auto; }
.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; align-items: center; gap: .15rem; }
.nav__item { position: relative; }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .5rem; white-space: nowrap; border: 0; background: none; border-radius: 10px; font-family: var(--font-head); font-weight: 600; font-size: .9rem; text-decoration: none; color: var(--text); }
.nav__link .icon { width: 16px; height: 16px; transition: transform .2s ease; }
.nav__link::after { content: ""; position: absolute; left: .5rem; right: .5rem; bottom: .2rem; height: 2px; border-radius: 2px; background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav__link:hover, .nav__item.is-open > .nav__link { color: var(--brand-600); }
.nav__link:hover::after, .nav__item.is-open > .nav__link::after, .nav__link[aria-current="page"]::after, .nav__item.is-current > .nav__link::after { transform: scaleX(1); }
.nav__link[aria-current="page"], .nav__item.is-current > .nav__link { color: var(--brand-600); }
.nav__item.is-open > .nav__link .icon { transform: rotate(180deg); }
.menu { position: absolute; top: calc(100% + 12px); left: 50%; min-width: 330px; transform: translate(-50%, 8px); opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s; background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-lg); padding: .5rem; }
.menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__item.is-open .menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.menu ul { list-style: none; }
.menu a { display: flex; align-items: center; gap: .75rem; padding: .6rem .7rem; border-radius: 12px; text-decoration: none; }
.menu a:hover, .menu a:focus-visible, .menu a[aria-current="page"] { background: var(--bg-soft); }
.menu strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: .92rem; line-height: 1.3; }
.menu small { display: block; font-size: .76rem; color: var(--muted); }
.menu__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: #fff; flex: none; }
.menu__icon .icon { width: 19px; height: 19px; }
.site-header__actions { display: flex; align-items: center; gap: .75rem; }
.header-phone { display: flex; align-items: center; gap: .55rem; text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: .9rem; line-height: 1.2; }
.header-phone small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .72rem; color: var(--muted); }
.header-phone__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--brand-50); color: var(--brand); }
.header-phone__icon .icon { width: 18px; height: 18px; }
.nav-burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); background: #fff; place-items: center; }
.nav-burger .icon { width: 22px; height: 22px; }

/* drawer */
.drawer { position: fixed; inset: 0; z-index: 90; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(10, 18, 54, .6); opacity: 0; transition: opacity .25s ease; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .28s ease; padding-bottom: env(safe-area-inset-bottom); }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.drawer__list { list-style: none; padding: 10px; overflow-y: auto; flex: 1; }
.drawer__link { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: .85rem .8rem; border: 0; background: none; border-radius: 12px; font-family: var(--font-head); font-weight: 700; font-size: 1rem; text-decoration: none; text-align: left; }
.drawer__link[aria-current="page"] { color: var(--brand-600); }
.drawer__link:hover { background: var(--bg-soft); }
.drawer__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.drawer__toggle .icon { width: 18px; height: 18px; transition: transform .2s ease; }
.drawer__group ul { list-style: none; margin: 0 0 .5rem .8rem; border-left: 2px solid var(--border); padding-left: .5rem; }
.drawer__group ul a { display: block; padding: .55rem .7rem; border-radius: 10px; text-decoration: none; color: var(--muted); font-weight: 500; }
.drawer__group ul a:hover, .drawer__group ul a[aria-current="page"] { color: var(--brand-600); background: var(--brand-50); }
.drawer__foot { display: grid; gap: .6rem; padding: 16px 18px 20px; border-top: 1px solid var(--border); }

/* ---------- home hero slider ---------- */
.hero-home { position: relative; background: var(--ink-900); color: var(--on-dark); overflow: hidden; padding: clamp(22px, 3vw, 38px) 0 96px; }
.hero-home__bg, .page-hero__bg { position: absolute; inset: 0; pointer-events: none; background: var(--aurora), var(--blueprint); }
.hero-home__bg::after, .page-hero__bg::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(to bottom, transparent, rgba(10, 18, 54, .6)); }
.hero-home__top { position: relative; }
.hero-home__h1 { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #9eeaf8; margin: 0; padding: .45rem .9rem; border: 1px solid rgba(43, 212, 242, .35); border-radius: 999px; background: rgba(43, 212, 242, .08); }
.hero-home__h1 .icon { width: 16px; height: 16px; color: var(--accent); }
.slides { display: grid; position: relative; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide__grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(20px, 4vw, 56px); min-height: 520px; padding-block: 24px 12px; }
.slide__content > * { transform: translateY(14px); opacity: 0; transition: transform .7s ease, opacity .7s ease; }
.slide.is-active .slide__content > * { transform: none; opacity: 1; }
.slide.is-active .slide__content > *:nth-child(2) { transition-delay: .08s; }
.slide.is-active .slide__content > *:nth-child(3) { transition-delay: .16s; }
.slide.is-active .slide__content > *:nth-child(4) { transition-delay: .24s; }
.slide.is-active .slide__content > *:nth-child(5) { transition-delay: .32s; }
.slide__kicker { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-weight: 700; color: var(--on-dark-muted); margin-bottom: .9rem; }
.slide__kicker .icon { color: var(--accent); }
.slide__title { font-size: clamp(2.1rem, 1.2rem + 3.1vw, 3.6rem); font-weight: 800; line-height: 1.08; margin-bottom: 1.1rem; color: #fff; }
.slide__accent { display: block; background: var(--grad-text-dark); -webkit-background-clip: text; background-clip: text; color: transparent; }
.slide__proof { color: var(--on-dark-muted); font-size: 1.05rem; margin-bottom: 1.1rem; }
.slide__proof span { color: rgba(255, 255, 255, .3); margin-inline: .2rem; }
.slide__links { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.slide__links a { display: inline-block; padding: .35rem .8rem; border-radius: 8px; font-size: .85rem; font-weight: 500; text-decoration: none; color: var(--on-dark); background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); transition: border-color .2s, background .2s; }
.slide__links a:hover { border-color: var(--accent); background: rgba(43, 212, 242, .12); }
.slide__art { position: relative; padding: 14px; border-radius: 28px; background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); border: 1px solid var(--line-dark); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.slide__art::before { content: ""; position: absolute; inset: -30px; z-index: -1; border-radius: 40px; background: radial-gradient(closest-side, rgba(224, 20, 47, .25), transparent); }
.slide__art img { position: relative; width: 100%; max-width: 620px; margin-inline: auto; border-radius: 18px; background: rgba(10, 18, 54, .55); }
.slider-controls { position: relative; display: flex; align-items: center; gap: .6rem; padding-top: 12px; }
.slider-btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .05); color: #fff; transition: background .2s, border-color .2s; }
.slider-btn:hover { background: var(--grad-brand); border-color: transparent; }
.slider-btn .icon { width: 20px; height: 20px; }
.slider-dots { display: flex; gap: .4rem; }
.slider-dot { display: inline-flex; align-items: center; height: 42px; padding: 0 .95rem; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .14); background: transparent; color: var(--on-dark-muted); font-family: var(--font-head); font-weight: 700; font-size: .85rem; position: relative; overflow: hidden; }
.slider-dot.is-active { color: #fff; border-color: rgba(43, 212, 242, .55); background: rgba(43, 212, 242, .08); }
.slider-dot.is-active::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--accent), var(--brand-300)); transform-origin: left; animation: slideProgress var(--slide-ms, 6500ms) linear forwards; }
.is-paused .slider-dot.is-active::after { animation-play-state: paused; }
@keyframes slideProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.i-pause { width: 12px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.slider-btn--pause[aria-pressed="true"] .i-pause { width: 0; height: 0; border: 0; border-left: 12px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }

/* stats cards — float over the hero edge */
.stats-wrap { position: relative; z-index: 3; margin-top: -56px; }
.stats-grid { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.stat-card { display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; padding: 18px; background: #fff; border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-lg); }
.stat-card__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--brand-50); color: var(--brand); margin-bottom: .5rem; }
.stat-card:nth-child(2) .stat-card__icon { background: var(--indigo-50); color: var(--indigo); }
.stat-card:nth-child(3) .stat-card__icon { background: var(--accent-50); color: var(--accent-600); }
.stat-card:nth-child(4) .stat-card__icon { background: #edf8ef; color: var(--success); }
.stat-card__icon .icon { width: 21px; height: 21px; }
.stat-card__icon--google { background: #f3f5fb; }
.stat-card__value { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; line-height: 1.1; letter-spacing: -0.02em; display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.stat-card__label { margin: 0; font-size: .85rem; color: var(--muted); font-weight: 500; }
.stat-card--rating .stars { color: #e09000; }
.stat-card--cta { justify-content: center; background: var(--ink-900); border-color: var(--ink-900); }
/* "Students From" flags under the stats */
.students-from { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .6rem 1.1rem; width: fit-content; max-width: 100%; margin: 18px auto 0; padding: 12px 24px; background: var(--ink-900); border-radius: 999px; box-shadow: var(--shadow-lg); color: #fff; }
.students-from__flags { list-style: none; display: flex; margin: 0; padding: 0 0 0 10px; }
.students-from__flags li { margin-left: -10px; }
.students-from__flags img { display: block; width: 44px; height: 44px; border-radius: 50%; border: 2px solid #fff; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.students-from__text { margin: 0; display: flex; align-items: baseline; gap: .45rem; font-family: var(--font-head); }
.students-from__text strong { font-size: 1.05rem; }
.students-from__text span { color: var(--accent); font-weight: 800; font-size: 1.05rem; }
@media (max-width: 767px) {
  .students-from { border-radius: 22px; flex-direction: column; padding: 14px 16px; }
  .students-from__flags img { width: 32px; height: 32px; }
  .students-from__flags li { margin-left: -8px; }
}
.stars { display: inline-flex; gap: 2px; color: #f5a300; }
.stars .icon { width: 15px; height: 15px; }

/* why: intro + feature tiles */
.why { padding-top: calc(var(--section-y) + 8px); }
.why__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.why__intro .section-head { margin-bottom: 0; }
.why__intro .section-title { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); }
.feature-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feature { --tone: var(--brand); --tone-bg: var(--brand-50); display: flex; flex-direction: column; gap: .8rem; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.feature.tone-1 { --tone: var(--indigo); --tone-bg: var(--indigo-50); }
.feature.tone-2 { --tone: var(--accent-600); --tone-bg: var(--accent-50); }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--tone) 30%, #fff); }
.feature__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--tone-bg); color: var(--tone); }
.feature__icon .icon { width: 22px; height: 22px; }
.feature__label { font-family: var(--font-head); font-weight: 700; font-size: .98rem; line-height: 1.3; }

/* ---------- explorer ---------- */
.explorer__bar { margin-bottom: 14px; }
.explorer__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; margin-bottom: 18px; }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem .95rem; border: 1px solid var(--border); border-radius: 12px; background: #fff; color: var(--text); font-family: var(--font-head); font-size: .86rem; font-weight: 700; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, box-shadow .2s; }
.cat-btn .icon { width: 18px; height: 18px; color: var(--brand); }
.cat-btn:hover { border-color: #c9cfe3; box-shadow: var(--shadow-sm); }
.cat-btn.is-active { background: var(--ink-900); border-color: var(--ink-900); color: #fff; box-shadow: 0 10px 24px -14px rgba(16, 26, 75, .8); }
.cat-btn.is-active .icon { color: var(--accent); }
.explorer__search { position: relative; flex: 0 1 340px; min-width: 240px; }
.explorer__search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 19px; height: 19px; pointer-events: none; }
.explorer__search input { width: 100%; height: 46px; padding: 0 16px 0 44px; border-radius: 12px; border: 1.5px solid var(--border); background: #fff; color: var(--text); font-size: .95rem; transition: border-color .2s, box-shadow .2s; }
.explorer__search input:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(79, 70, 229, .15); }
.explorer__count { margin: 0; font-size: .9rem; font-weight: 600; color: var(--muted); }
.section--dark .explorer__count { color: var(--on-dark-muted); }
/* Flex grid so an incomplete last row is centred instead of leaving a gap on the right. */
.course-grid { --cols: 4; --grid-gap: clamp(14px, 1.6vw, 20px); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--grid-gap); }
.course-grid > * { --basis: calc((100% - (var(--cols) - 1) * var(--grid-gap)) / var(--cols)); flex: 1 1 var(--basis); max-width: var(--basis); min-width: 0; }
.course-grid--3 { --cols: 3; margin-bottom: 8px; }
.explorer__empty { text-align: center; padding: 40px 20px; border: 1px dashed #c9cfe3; border-radius: var(--radius); background: #fff; }

.course-card { position: relative; display: flex; flex-direction: column; background: #fff; color: var(--text); border-radius: 20px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.course-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #cfd5ea; }
.course-card.is-hidden { display: none; }
.course-card__media { position: relative; aspect-ratio: 2 / 1; overflow: hidden; display: flex; align-items: flex-end; padding: 16px; color: #fff; margin: 8px 8px 0; border-radius: 14px; }
.course-card__media--img { padding: 0; background: #e9ecf5; }
.course-card__media--img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.course-card:hover .course-card__media--img img { transform: scale(1.04); }
.course-card__grid { position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px) 0 0 / 20px 20px, linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px) 0 0 / 20px 20px; mask-image: radial-gradient(90% 90% at 85% 15%, #000, transparent); }
.course-card__icon { position: absolute; right: 14px; top: 14px; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(4px); transition: transform .35s ease; }
.course-card__icon .icon { width: 28px; height: 28px; stroke-width: 1.6; }
.course-card:hover .course-card__icon { transform: rotate(-8deg) scale(1.06); }
.course-card__soft { position: relative; font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; line-height: 1.1; letter-spacing: -0.02em; max-width: 72%; }
.course-card__city { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .55rem; border-radius: 8px; background: rgba(10, 18, 54, .35); font-size: .72rem; font-weight: 600; }
.course-card__city .icon { width: 13px; height: 13px; }
.course-card__body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.course-card__cat { margin: 0 0 .3rem; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-600); }
.course-card__title { font-size: 1.08rem; font-weight: 800; margin-bottom: .45rem; }
.course-card__title a { text-decoration: none; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.course-card__text { font-size: .88rem; line-height: 1.55; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 1rem; }
.course-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding-top: 12px; border-top: 1px solid var(--border); }
.course-card__tag { white-space: nowrap; display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; font-weight: 600; color: var(--muted); }
.course-card__tag .icon { width: 15px; height: 15px; color: var(--success); }
.course-card__more { white-space: nowrap; display: inline-flex; align-items: center; gap: .3rem; font-family: var(--font-head); font-size: .85rem; font-weight: 800; color: var(--brand-600); }
.course-card__more .icon { width: 15px; height: 15px; transition: transform .2s ease; }
.course-card:hover .course-card__more .icon { transform: translateX(4px); }

.theme-bim { background: linear-gradient(135deg, #2336a0, #4f6bf0); }
.theme-civil { background: linear-gradient(135deg, #0d6b57, #10a37f); }
.theme-electrical { background: linear-gradient(135deg, #93380d, #d9660f); }
.theme-cad { background: linear-gradient(135deg, #a3123a, #e8263f); }
.theme-mech { background: linear-gradient(135deg, #3b1580, #7c3aed); }
.theme-piping { background: linear-gradient(135deg, #0c4a75, #0b8fc0); }

/* ---------- demo CTA (split gradient banner) ---------- */
.demo { padding-block: clamp(28px, 3.5vw, 44px); }
.demo__box { position: relative; display: grid; grid-template-columns: 1.4fr auto; align-items: center; gap: 24px 40px; padding: clamp(28px, 4vw, 52px) clamp(22px, 4vw, 56px); border-radius: 28px; background: var(--grad-banner); color: #fff; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(67, 56, 202, .7); }
.demo__box::before { content: ""; position: absolute; inset: 0; background: var(--blueprint); opacity: .9; mask-image: linear-gradient(90deg, transparent, #000 70%); }
.demo__box::after { content: ""; position: absolute; right: -80px; top: -120px; width: 320px; height: 320px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 0 0 40px rgba(255, 255, 255, .04), 0 0 0 80px rgba(255, 255, 255, .03); }
.demo__text, .demo__actions { position: relative; z-index: 1; }
.demo__kicker { color: #ffd1da; font-weight: 600; margin-bottom: .4rem; }
.demo__title { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.5rem); font-weight: 800; line-height: 1.25; color: #fff; margin: 0; }
.underline-accent { position: relative; white-space: nowrap; }
.underline-accent::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--accent), #a5b4fc); }
.demo__actions { display: flex; flex-direction: column; gap: .7rem; min-width: 240px; }

/* ---------- stories / reviews ---------- */
.google-badge { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .5rem .6rem; width: fit-content; max-width: 100%; margin: -8px auto 24px; padding: .6rem 1.2rem; border-radius: 999px; background: #fff; color: var(--ink-900); text-decoration: none; box-shadow: var(--shadow-lg); }
.google-badge > .icon { width: 22px; height: 22px; }
.google-badge strong { font-family: var(--font-head); font-size: 1.25rem; }
.google-badge .stars { color: #e09000; }
.google-badge span { font-weight: 600; font-size: .9rem; }
.google-badge:hover span { color: var(--brand-600); text-decoration: underline; }
@media (max-width: 767px) { .google-badge > .icon:last-child { display: none; } }
.stories__panel { border-radius: 28px; padding: clamp(18px, 3vw, 36px); background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid var(--line-dark); }
.carousel { position: relative; }
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 18px) / 4); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 14px; scrollbar-width: thin; scrollbar-color: rgba(224, 20, 47, .5) transparent; }
.carousel__track:focus-visible { outline-offset: 4px; }
.carousel__nav { display: flex; justify-content: center; gap: .6rem; margin-top: 12px; }
.section:not(.section--dark) .carousel__nav .slider-btn { color: var(--text); border-color: var(--border); background: #fff; }
.section:not(.section--dark) .carousel__nav .slider-btn:hover { color: #fff; }
.slider-btn[disabled] { opacity: .35; pointer-events: none; }
.review-card { position: relative; scroll-snap-align: start; margin: 0; display: flex; flex-direction: column; gap: .6rem; background: #fff; color: var(--text); border-radius: 18px; padding: 20px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.review-card::before { content: ""; position: absolute; left: 20px; right: 20px; top: 0; height: 3px; border-radius: 0 0 4px 4px; background: var(--grad-brand); }
.review-card__head { display: flex; align-items: center; gap: .75rem; }
.review-card__who { flex: 1; min-width: 0; }
.review-card__name { font-family: var(--font-head); font-size: .98rem; font-weight: 800; margin: 0; }
.review-card__meta { display: block; font-size: .76rem; color: var(--muted); }
.review-card__quote { color: #c7cdf5; }
.review-card__quote .icon { width: 26px; height: 26px; }
.review-card__text { margin: 0; }
.review-card__text p { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.review-card.is-open .review-card__text p { -webkit-line-clamp: unset; display: block; }
.review-card__more { align-self: flex-start; margin-top: auto; padding: 0; border: 0; background: none; color: var(--brand-600); font-family: var(--font-head); font-size: .85rem; font-weight: 700; }
.review-card__text p { margin: 0; font-size: .92rem; line-height: 1.6; color: #3b4260; }
.avatar { width: 48px; height: 48px; border-radius: 14px; object-fit: cover; flex: none; }
.avatar--letter { display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; color: #fff; }
.tone-0.avatar--letter { background: var(--indigo); }
.tone-1.avatar--letter { background: #0f766e; }
.tone-2.avatar--letter { background: var(--brand-600); }
.tone-3.avatar--letter { background: #1d4ed8; }

/* ---------- branches ---------- */
.branch-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 28px); }
.branch-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.branch-card__head { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.branch-card__head h3 { margin: 0; font-size: 1.25rem; }
.branch-card__head p { margin: 0; color: var(--muted); font-size: .92rem; }
.branch-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--grad-brand); color: #fff; flex: none; }
.branch-card + .branch-card .branch-card__icon { background: linear-gradient(135deg, var(--indigo), #6366f1); }
.branch-card > p { color: var(--muted); }
.branch-card__label { font-weight: 600; color: var(--text) !important; margin-bottom: .5rem; }
.inline-list { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin-bottom: 1rem; }
.inline-list li { display: inline-flex; align-items: center; gap: .35rem; font-size: .9rem; font-weight: 500; }
.inline-list .icon { color: var(--success); width: 16px; height: 16px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; }
.tags li { padding: .3rem .7rem; border-radius: 8px; background: var(--bg-soft); border: 1px solid var(--border); font-size: .84rem; font-weight: 500; }

/* ---------- inner page hero ---------- */
.page-hero { position: relative; background: var(--ink-900); color: var(--on-dark); overflow: hidden; padding: clamp(28px, 4vw, 44px) 0 clamp(96px, 10vw, 128px); }
.page-hero__grid { position: relative; display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.page-hero__content, .page-hero .container { position: relative; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; font-size: .84rem; color: var(--on-dark-muted); margin-bottom: 1.1rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .35rem; opacity: .5; }
.breadcrumb a { color: var(--on-dark); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-current] { color: #9eeaf8; }
.pill { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .9rem; border-radius: 999px; border: 1px solid rgba(43, 212, 242, .35); background: rgba(43, 212, 242, .08); color: #9eeaf8; font-family: var(--font-head); font-size: .82rem; font-weight: 700; margin-bottom: 1rem; }
.pill .icon { width: 16px; height: 16px; color: var(--accent); }
.page-hero__title { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.2rem); font-weight: 800; line-height: 1.12; color: #fff; margin-bottom: .6rem; }
.page-hero__subtitle { font-size: clamp(1.05rem, .95rem + .5vw, 1.3rem); font-weight: 700; color: var(--brand-300); margin-bottom: 1rem; }
.page-hero__intro p, .page-hero__lead, .page-hero__outro { color: #c3c9e2; }
.page-hero__intro { position: relative; }
.page-hero__intro.is-collapsible:not(.is-expanded) { max-height: 11.2em; overflow: hidden; mask-image: linear-gradient(to bottom, #000 60%, transparent); }
.read-more { display: inline-flex; align-items: center; gap: .3rem; margin: .25rem 0 1rem; padding: 0; border: 0; background: none; color: #9eeaf8; font-weight: 600; }
.read-more .icon { width: 18px; height: 18px; transition: transform .2s; }
.read-more[aria-expanded="true"] .icon { transform: rotate(180deg); }
.page-hero__label { font-family: var(--font-head); font-weight: 800; color: #fff; margin: .5rem 0 .6rem; }
.page-hero__lead { font-size: 1.1rem; max-width: 760px; }
.page-hero__lead a { color: #9eeaf8; }
.check-list { list-style: none; display: grid; gap: .55rem; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; }
.check-list .icon { color: var(--brand); margin-top: .2em; }
.check-list--hero { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1.2rem; margin: .4rem 0 .5rem; }
.check-list--hero li { color: #fff; font-weight: 500; font-size: .96rem; }
.check-list--hero .icon { color: var(--accent); }
.page-hero__media { display: flex; justify-content: center; }
.media-card { position: relative; width: min(100%, 430px); aspect-ratio: 43 / 48; }
.media-card__ring { position: absolute; inset: 4% -2% -2% 8%; border-radius: 999px 999px 36px 36px; background: var(--grad-banner); transform: rotate(4deg); opacity: .9; }
.media-card__ring::after { content: ""; position: absolute; inset: -14px; border-radius: inherit; border: 1px dashed rgba(43, 212, 242, .45); }
.media-card picture { position: relative; height: 100%; border-radius: 999px 999px 36px 36px; overflow: hidden; background: #fff; border: 6px solid rgba(255, 255, 255, .12); background-clip: padding-box; }
.media-card img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.float-badge { position: absolute; z-index: 2; display: flex; align-items: center; gap: .55rem; padding: .6rem .85rem; border-radius: 14px; background: rgba(255, 255, 255, .95); color: var(--text); box-shadow: var(--shadow-lg); font-size: .8rem; line-height: 1.25; max-width: 210px; animation: float 6s ease-in-out infinite; backdrop-filter: blur(6px); }
.float-badge strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: .95rem; }
.float-badge .icon { width: 32px; height: 32px; padding: 7px; border-radius: 10px; background: var(--grad-brand); color: #fff; }
.float-badge--b .icon { background: linear-gradient(135deg, var(--indigo), #6366f1); }
.float-badge--c .icon { background: linear-gradient(135deg, var(--accent-600), var(--accent)); }
.float-badge--a { left: -8%; top: 18%; }
.float-badge--b { right: -8%; top: 48%; animation-delay: -2s; }
.float-badge--c { left: 0; bottom: 8%; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes spin { to { transform: rotate(360deg); } }

.page-hero--simple { padding-bottom: clamp(36px, 4.5vw, 56px); }
.page-hero--center { text-align: center; }
.page-hero--center .page-hero__lead { margin-inline: auto; }

/* Hero with a full-width banner (content/banners.mjs). The artwork is shown whole, at its own aspect ratio and
   resolution - never zoomed, cropped or tinted - with the text on its dark left side. The banner and the text share
   one grid cell; when the text runs longer than the image, the hero continues in the banner's own corner colour
   (--banner-bg). Course heroes keep a strip below the image for the overlapping course-facts cards.
   Tablet: image above the text. Phone: 16:9 view of the image's right side above the text. */
.page-hero--banner { --overlap: 0px; display: grid; padding: 0; background: var(--banner-bg, #0a1236); }
.page-hero--banner:not(.page-hero--simple) { --overlap: clamp(64px, 7vw, 84px); }
.page-hero--banner > .page-hero__banner, .page-hero--banner > .container { grid-area: 1 / 1; }
.page-hero__banner { position: relative; display: block; align-self: start; margin-bottom: var(--overlap); }
.page-hero__banner img { display: block; width: 100%; height: auto; animation: banner-in .9s ease both;
  -webkit-mask-image: linear-gradient(to bottom, #000 90%, transparent); mask-image: linear-gradient(to bottom, #000 90%, transparent); }
.page-hero--banner > .container { width: 100%; align-self: center; z-index: 1; padding-top: clamp(28px, 4vw, 44px); padding-bottom: calc(var(--overlap) + clamp(28px, 3vw, 44px)); }
.page-hero--banner .page-hero__content { max-width: min(620px, 52%); }
.page-hero--banner .page-hero__title { text-shadow: 0 2px 18px rgba(0, 0, 0, .55); }
.page-hero--banner .page-hero__lead, .page-hero--banner .page-hero__intro p { color: #e2e6f3; text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }
.page-hero--banner .page-hero__subtitle { color: #ffc2cd; }
.page-hero--banner .hero-stats li, .page-hero--banner .fact-strip li { background: rgba(0, 0, 0, .35); border-color: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.page-hero--banner .btn--glass { background: rgba(0, 0, 0, .3); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
@keyframes banner-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .page-hero__banner img { animation: none; } }
/* Banners whose artwork starts further left (banners.json "narrow"): narrower text column on desktop. */
@media (min-width: 1101px) {
  .page-hero--banner[data-banner-narrow] .page-hero__content { max-width: min(460px, 39%); }
  .page-hero--banner[data-banner-narrow] .fact-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Banners with their own heading text (banners.json "stacked") always sit above the page text, at every width. */
.page-hero--banner[data-banner-stacked] { display: block; }
.page-hero--banner[data-banner-stacked] .page-hero__banner { margin-bottom: 0; }
.page-hero--banner[data-banner-stacked] > .container { padding-top: clamp(18px, 3vw, 28px); }
.page-hero--banner[data-banner-stacked] .page-hero__content { max-width: 760px; }
@media (max-width: 1100px) {
  .page-hero--banner { display: block; }
  .page-hero__banner { margin-bottom: 0; }
  .page-hero--banner > .container { padding-top: clamp(18px, 3vw, 28px); }
  .page-hero--banner .page-hero__content { max-width: 760px; }
}
@media (max-width: 640px) {
  .page-hero__banner { aspect-ratio: 16 / 9; }
  .page-hero__banner img { height: 100%; object-fit: cover; object-position: 80% center; }
}
.hero-stats { list-style: none; display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.hero-stats li { padding: .65rem 1rem; border-radius: 14px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .05); }
.hero-stats strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: #fff; }
.hero-stats span { font-size: .78rem; color: var(--on-dark-muted); }
.big-icon { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 24px; background: var(--grad-brand); color: #fff; margin-bottom: 1rem; box-shadow: var(--glow); }
.big-icon .icon { width: 44px; height: 44px; }
.big-code { font-family: var(--font-head); font-weight: 800; font-size: clamp(4rem, 12vw, 8rem); line-height: 1; margin: 0; background: var(--grad-text-dark); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* info strip — one card with dividers */
.info-strip { position: relative; margin-top: calc(-1 * clamp(64px, 7vw, 84px)); z-index: 2; }
.info-cards { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: #fff; border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow-lg); overflow: hidden; }
.info-card { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto; column-gap: .8rem; align-content: center; padding: 20px 18px; position: relative; }
.info-card + .info-card::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--border); }
.info-card__icon { grid-row: 1 / span 3; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--brand-50); color: var(--brand); }
.info-card:nth-child(2n) .info-card__icon { background: var(--indigo-50); color: var(--indigo); }
.info-card:nth-child(3) .info-card__icon { background: var(--accent-50); color: var(--accent-600); }
.info-card__icon .icon { width: 23px; height: 23px; }
.info-card__label { margin: 0; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.info-card__value { margin: 0; font-family: var(--font-head); font-size: 1.05rem; font-weight: 800; line-height: 1.3; }
.info-card__note { margin: 0; font-size: .8rem; color: var(--muted); }

/* overview */
.overview__card { display: flex; gap: 1.25rem; padding: clamp(20px, 3vw, 32px); border-radius: var(--radius-lg); border: 1px solid var(--border); background: linear-gradient(135deg, #fff, var(--accent-50)); }
.overview__icon { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, var(--accent-600), var(--indigo)); color: #fff; }
.overview__icon .icon { width: 28px; height: 28px; }
.overview__card p { color: var(--muted); }

/* expert */
.expert__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.counters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border-radius: 26px; overflow: hidden; background: var(--line-dark); box-shadow: var(--shadow-lg); }
.counter { background: var(--ink-900); padding: clamp(20px, 3vw, 30px) 10px; text-align: center; min-width: 0; }
.counter__value { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.55rem, .9rem + 1.5vw, 2.4rem); line-height: 1.1; background: var(--grad-text-dark); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.counter__label { margin: .3rem 0 0; color: var(--on-dark-muted); font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.counters__foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: .5rem; padding: 14px; background: var(--grad-banner); color: #fff; font-weight: 600; font-size: .9rem; }

/* why course */
.why-course__head { max-width: 900px; margin: 0 auto clamp(28px, 4vw, 40px); text-align: center; }
.why-course__head:last-child { margin-bottom: 0; }
.why-course__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 28px); }
.why-course__grid.is-single { grid-template-columns: 1fr; max-width: 900px; margin: 0 auto; }
.info-block { background: #fff; border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px); border: 1px solid var(--border); box-shadow: var(--shadow); }
.info-block h3 { font-size: 1.25rem; }
.info-block__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--brand-50); color: var(--brand); margin-bottom: 1rem; }
.info-block + .info-block .info-block__icon { background: var(--indigo-50); color: var(--indigo); }

/* ---------- BIM programme blocks ---------- */
.bim-programs .container > * + * { margin-top: clamp(48px, 6vw, 80px); }
.badge { display: inline-block; padding: .35rem 1rem; border-radius: 10px; background: var(--grad-brand); color: #fff; font-family: var(--font-head); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: .82rem; margin-bottom: 1rem; }
.tiers__head { text-align: center; max-width: 900px; margin: 0 auto 32px; }
.tiers__slogan { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; font-size: clamp(1.2rem, .9rem + 1.2vw, 1.9rem); letter-spacing: -.01em; margin-bottom: .4rem; }
.tier { display: grid; grid-template-columns: 250px 1fr; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.tier + .tier { margin-top: 16px; }
.tier__label { background: var(--ink-900); color: #fff; padding: 22px 24px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.tier__label::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 110px; height: 110px; border-radius: 50%; background: var(--grad-brand); opacity: .5; }
.tier__no { position: relative; font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; line-height: 1; padding-bottom: .5rem; margin-bottom: .6rem; border-bottom: 1px solid rgba(255, 255, 255, .25); width: 70%; background: var(--grad-text-dark); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tier__label h3 { position: relative; margin: 0; font-size: 1.02rem; text-transform: uppercase; letter-spacing: .03em; }
.tier__tools { list-style: none; display: flex; flex-wrap: wrap; align-content: center; gap: 12px; padding: 22px; }
.tier__tools li { flex: 1 1 180px; text-align: center; padding: .8rem 1rem; border: 1.5px solid var(--border); border-radius: 12px; font-weight: 600; transition: border-color .2s, color .2s, background .2s; }
.tier__tools li:hover { border-color: var(--brand); color: var(--brand-600); background: var(--brand-50); }

.placement-copy { max-width: 960px; margin-inline: auto; text-align: center; }

.module-note { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .6rem; width: fit-content; margin: 24px auto 0; padding: .7rem 1.2rem; border: 1px solid var(--border); background: #fff; border-radius: 12px; font-weight: 500; text-align: center; box-shadow: var(--shadow-sm); }
.module-note .icon { color: var(--brand); }
.module-note a { font-weight: 800; color: var(--brand-600); text-decoration: none; white-space: nowrap; }

.level-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); align-items: stretch; }
.level-card { --tone: #3730a3; --tone-2: #6366f1; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.level-card.tone-green { --tone: #0f766e; --tone-2: #0d9488; }
.level-card.tone-purple, .level-card.tone-crimson { --tone: #9f1239; --tone-2: #db2777; }
/* BIM course levels: duration box under the name, as in the supplied Diploma / Professional / Master format. */
.level-card--bim .level-card__head { flex-wrap: wrap; }
.level-card--bim .level-card__head h3 { flex: 1; }
.level-card__months { display: flex; align-items: center; justify-content: center; gap: .5rem; flex-basis: 100%; margin: .2rem 0 0; padding: .65rem 1rem; border-radius: 12px; background: rgba(10, 18, 54, .35); border: 1px solid rgba(255, 255, 255, .22); font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; letter-spacing: .06em; text-transform: uppercase; }
.level-card__months .icon { width: 20px; height: 20px; }
.level-card__head { display: flex; align-items: center; gap: 1rem; padding: 22px; background: linear-gradient(135deg, var(--tone), var(--tone-2)); color: #fff; }
.level-card__head h3 { margin: 0; font-size: 1.3rem; font-weight: 800; text-transform: uppercase; line-height: 1.15; }
.level-card__icon { display: grid; place-items: center; flex: none; width: 60px; height: 60px; border-radius: 18px; background: #fff; color: var(--tone); }
.level-card__icon .icon { width: 30px; height: 30px; }
.level-card__tag { margin: 0; padding: .55rem 1rem; background: var(--ink-900); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; text-align: center; }
.level-card__list { list-style: none; padding: 10px 22px 8px; }
.level-card__cta { margin: auto 22px 22px; width: auto !important; }
.level-card__list li { display: flex; gap: .7rem; align-items: center; padding: .85rem 0; border-bottom: 1px solid #eceef6; font-weight: 600; }
.level-card__list li:last-child { border-bottom: 0; }
.level-card__list .icon { color: var(--tone-2); width: 24px; height: 24px; }

.program__box { display: grid; grid-template-columns: 250px 1fr 200px; gap: 24px; align-items: stretch; padding: 18px; border-radius: 24px; border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow); }
.program__tabs { display: flex; flex-direction: column; gap: 4px; padding: 6px; border-radius: 16px; background: var(--bg-soft); }
.program__tab { display: flex; align-items: center; gap: .7rem; padding: .8rem .9rem; border: 0; border-radius: 12px; background: transparent; font-weight: 600; font-size: .92rem; text-align: left; color: var(--text); }
.program__tab .icon { color: var(--brand); }
.program__tab:hover { background: #fff; }
.program__tab[aria-selected="true"] { background: var(--ink-900); color: #fff; box-shadow: 0 12px 24px -16px rgba(16, 26, 75, .9); }
.program__tab[aria-selected="true"] .icon { color: var(--accent); }
.program__panel { padding: 8px 6px; }
.program__panel h3 { color: var(--brand-600); font-size: 1.25rem; }
.program__panel .check-list .icon { color: var(--brand); }
.program__art { position: relative; display: grid; place-items: center; border-radius: 18px; background: var(--aurora), var(--blueprint), var(--ink-900); color: var(--accent); overflow: hidden; }
.program__art .icon { width: 72px; height: 72px; stroke-width: 1.2; position: relative; }
.program__art-ring { position: absolute; width: 150px; height: 150px; border-radius: 50%; border: 2px dashed rgba(43, 212, 242, .4); animation: spin 30s linear infinite; }

.toolgrid__list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.toolgrid__list a, .toolgrid__list span { display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 60px; padding: .8rem; background: #fff; border-radius: 14px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); font-weight: 600; text-align: center; text-decoration: none; position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.toolgrid__list a::before, .toolgrid__list span::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad-brand); }
.toolgrid__list a .icon { width: 16px; height: 16px; color: var(--brand); }
.toolgrid__list a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.who-card { display: flex; gap: 1.25rem; align-items: flex-start; padding: clamp(22px, 3vw, 36px); border-radius: var(--radius-lg); background: var(--aurora), var(--blueprint), var(--ink-900); color: var(--on-dark); }
.who-card > .icon { width: 56px; height: 56px; padding: 13px; border-radius: 16px; background: var(--grad-brand); color: #fff; }
.who-card p { color: var(--on-dark-muted); }
.who-card strong { color: #fff; }

/* ---------- syllabus ---------- */
.syllabus__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.syllabus__meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-weight: 600; color: var(--muted); }
.syllabus__meta span { display: inline-flex; align-items: center; gap: .4rem; }
.syllabus__meta .icon { color: var(--brand); }
.syl-heading { display: flex; align-items: center; gap: .5rem; margin: 22px 0 10px; font-size: 1.1rem; color: var(--indigo); }
.acc { border: 1px solid var(--border); border-radius: 16px; background: #fff; margin-bottom: 10px; transition: box-shadow .2s, border-color .2s; }
.acc[open] { border-color: #c9cfe8; box-shadow: var(--shadow); }
.acc summary { list-style: none; display: flex; align-items: center; gap: .9rem; padding: 14px 16px; cursor: pointer; border-radius: 16px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover .acc__title { color: var(--brand-600); }
.acc__no { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--indigo-50); color: var(--indigo); font-family: var(--font-head); font-weight: 800; font-size: .9rem; }
.acc[open] .acc__no { background: var(--grad-brand); color: #fff; }
.acc__title { flex: 1; margin: 0; font-size: 1.02rem; font-weight: 700; line-height: 1.35; }
.acc__icon { position: relative; flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--bg-soft); }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; background: currentColor; border-radius: 2px; transform: translate(-50%, -50%); transition: transform .2s; }
.acc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc[open] .acc__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc__body { padding: 0 18px 18px 70px; }
.syl-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem 1.2rem; }
.syl-list li { display: flex; gap: .45rem; align-items: flex-start; font-size: .94rem; color: #363c58; }
.syl-list .icon { width: 17px; height: 17px; margin-top: .25em; color: var(--success); }
.syl-lead { margin-bottom: .5rem; }
.tags--syl li { background: var(--accent-50); border-color: #c6eef6; color: #0b4a58; font-size: .82rem; }
.syl-group + .syl-group { margin-top: .8rem; }
.syl-group h4 { margin: 0 0 .15rem; font-size: .95rem; color: var(--indigo); }
.syl-group p { margin: 0; color: var(--muted); font-size: .93rem; }
.syllabus__cta { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 18px; padding: 16px 18px; border-radius: 16px; background: var(--bg-soft); border: 1px dashed #cfd5ea; }
.syllabus__cta > .icon { width: 36px; height: 36px; color: var(--brand); }
.syllabus__cta p { flex: 1 1 220px; margin: 0; font-weight: 500; }
.sticky { position: sticky; top: calc(var(--header-h) + 18px); display: grid; gap: 16px; }

/* enquiry form */
.enquiry--card { background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: clamp(20px, 2.5vw, 28px); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.enquiry--card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--brand), var(--indigo), var(--accent)); }
.enquiry__title { font-size: 1.45rem; font-weight: 800; margin-bottom: .2rem; }
.enquiry__text { color: var(--muted); font-size: .92rem; margin-bottom: 1rem; }
.enquiry { container-type: inline-size; }
.form { display: grid; gap: 12px; }
.field { display: grid; gap: 4px; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field label { font-size: .82rem; font-weight: 600; color: #2f3552; }
.field label span { color: var(--brand); }
.field input, .field select { width: 100%; height: 46px; padding: 0 14px; border: 1.5px solid #dde1ee; border-radius: 12px; background: #fafbfe; font-size: .95rem; transition: border-color .2s, box-shadow .2s, background .2s; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23525b78' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 36px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--indigo); background: #fff; box-shadow: 0 0 0 4px rgba(79, 70, 229, .14); }
.field.has-error input, .field.has-error select { border-color: #dc2626; background: #fff7f7; }
.field__error { margin: 0; font-size: .78rem; color: #c81e1e; }
.field__error:empty { display: none; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__note { margin: 0; font-size: .8rem; color: var(--muted); text-align: center; }
.form__note a { color: var(--brand-600); font-weight: 600; }
.form__status { font-size: .9rem; border-radius: 12px; }
.form__status:not(:empty) { padding: .75rem 1rem; }
.form__status.is-success { background: #ecfdf3; color: #166534; border: 1px solid #bbf7d0; }
.form__status.is-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.form__status a { font-weight: 600; }
.form.is-loading button[type="submit"] { opacity: .7; pointer-events: none; }
.form.is-loading button[type="submit"]::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; animation: spin .7s linear infinite; }
@container (max-width: 430px) {
  .field-row { grid-template-columns: minmax(0, 1fr); }
}


/* job banner */
.job-banner-wrap { padding-bottom: var(--section-y); }
.job-banner { display: flex; align-items: center; gap: clamp(16px, 3vw, 36px); padding: clamp(18px, 3vw, 26px) clamp(20px, 4vw, 40px); border-radius: 24px; background: var(--grad-banner); color: #fff; box-shadow: 0 24px 50px -28px rgba(67, 56, 202, .8); position: relative; overflow: hidden; }
.job-banner::after { content: ""; position: absolute; inset: 0; background: var(--blueprint); mask-image: linear-gradient(90deg, transparent 40%, #000); pointer-events: none; }
.job-banner__icon { position: relative; z-index: 1; display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 18px; background: #fff; color: var(--brand); box-shadow: 0 0 0 8px rgba(255, 255, 255, .12); }
.job-banner__icon .icon { width: 30px; height: 30px; }
.job-banner__text { position: relative; z-index: 1; flex: 1; }
.job-banner__text p { margin: 0; }
.job-banner__title { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.2rem, 1rem + 1vw, 1.7rem); }
.job-banner__cta { position: relative; z-index: 1; display: flex; align-items: center; gap: 1rem; padding-left: clamp(16px, 3vw, 32px); border-left: 1px solid rgba(255, 255, 255, .3); }
.job-banner__cta p { margin: 0; font-weight: 600; }
.job-banner__cta .btn { background: #fff; color: var(--ink-900); }

/* highlights */
.hl-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hl-tile { --bg: #e3f7ee; --fg: #0f8a5f; display: flex; align-items: center; gap: 1rem; padding: 20px; border-radius: 18px; background: radial-gradient(rgba(14, 20, 51, .07) 1px, transparent 1px) 0 0 / 14px 14px, var(--bg); transition: transform .25s, box-shadow .25s; }
.hl-tile:hover { transform: translateY(-4px); box-shadow: 0 18px 34px -22px color-mix(in srgb, var(--fg) 70%, transparent); }
.hl-tile__icon { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 16px; background: rgba(255, 255, 255, .7); color: var(--fg); }
.hl-tile__icon .icon { width: 30px; height: 30px; stroke-width: 1.6; }
.hl-tile h3 { margin: 0 0 .15rem; font-size: 1.03rem; font-weight: 800; color: #151a3a; }
.hl-tile p { margin: 0; font-size: .9rem; color: #3f4561; }
.hl-tile.tone-1 { --bg: #eef0ff; --fg: #4338ca; }
.hl-tile.tone-2 { --bg: #fff0f3; --fg: #c8102e; }
.hl-tile.tone-3 { --bg: #e6f8fc; --fg: #0a7f98; }
.hl-tile.tone-4 { --bg: #f4ecff; --fg: #7c3aed; }
.hl-tile.tone-5 { --bg: #fff4e5; --fg: #b45309; }
.hl-tile.tone-6 { --bg: #e8f1ff; --fg: #1d4ed8; }
.hl-tile.tone-7 { --bg: #ffeef7; --fg: #be185d; }
.hl-tile.tone-8 { --bg: #eaf7ec; --fg: #2f7d3a; }

/* jobs */
.role-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); align-items: start; }
.role-card { border-radius: 22px; border: 1px solid var(--line-dark); background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); padding: 22px; transition: border-color .25s, transform .25s; }
.role-card:hover { border-color: rgba(43, 212, 242, .45); transform: translateY(-4px); }
.role-card header { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line-dark); flex-wrap: wrap; }
.role-card h3 { flex: 1; margin: 0; font-size: 1.08rem; color: #fff; min-width: 140px; }
.role-card__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--grad-brand); color: #fff; }
.role-card:nth-child(2) .role-card__icon { background: linear-gradient(135deg, var(--indigo), #6366f1); }
.role-card:nth-child(3) .role-card__icon { background: linear-gradient(135deg, var(--accent-600), var(--accent)); }
.role-card__count { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #9eeaf8; padding: .2rem .55rem; border: 1px solid rgba(43, 212, 242, .35); border-radius: 8px; }
.role-card ul { list-style: none; display: grid; gap: .55rem; }
.role-card li { display: flex; gap: .55rem; align-items: flex-start; color: #d6dbee; font-size: .95rem; }
.role-card li .icon { color: var(--accent); width: 17px; height: 17px; margin-top: .25em; }

/* faq */
.faq__list .acc__body { padding-left: 70px; }
.acc--faq .acc__title { font-size: 1rem; }
.acc--faq .acc__body .bullets { margin-top: .25rem; }

/* contact */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.contact-list { list-style: none; display: grid; gap: 14px; margin-top: 1.5rem; }
.contact-list li { display: flex; gap: 1rem; align-items: center; padding: 16px; border-radius: 18px; border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow-sm); }
.contact-list p { margin: 0; }
.contact-list a { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; text-decoration: none; }
.contact-list a:hover { color: var(--brand-600); }
.contact-list__label { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.contact-list__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--grad-brand); color: #fff; }
.contact-list__icon--wa { background: #0e7a3b; }

/* ---------- footer ---------- */
.site-footer { background: var(--aurora), var(--ink-950); color: var(--on-dark-muted); padding-top: clamp(40px, 6vw, 64px); }
.footer__cta { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-bottom: clamp(28px, 4vw, 40px); }
.footer__cta-title { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); color: #fff; margin: 0 0 .2rem; }
.footer__cta p { margin: 0; }
.footer__cta a { color: #9eeaf8; font-weight: 600; }
.footer__cta .btn-row { margin: 0; }
.footer__cta .btn { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); padding-block: clamp(32px, 5vw, 48px); border-top: 1px solid var(--line-dark); }
.footer__logo { display: inline-block; background: #fff; padding: 12px 16px; border-radius: 14px; margin-bottom: 1rem; }
.footer__logo img { width: 220px; }
.footer__about p { font-size: .92rem; }
.footer__contact { list-style: none; display: grid; gap: .5rem; }
.footer__contact li { display: flex; align-items: center; gap: .55rem; font-size: .92rem; }
.footer__contact .icon { color: var(--accent); width: 17px; height: 17px; }
.footer__contact a { color: var(--on-dark); text-decoration: none; }
.footer__contact a:hover { color: var(--brand-300); }
.footer__title { font-size: .95rem; font-weight: 800; color: #fff; margin-bottom: 1rem; letter-spacing: .01em; }
.footer__title--gap { margin-top: 1.5rem; }
.footer__col ul { list-style: none; display: grid; gap: .55rem; }
.footer__col a, .footer__col .link-btn { color: var(--on-dark-muted); text-decoration: none; font-size: .92rem; font-weight: 400; }
.footer__col a:hover, .footer__col .link-btn:hover { color: var(--brand-300); }
.footer__bottom { border-top: 1px solid var(--line-dark); padding-block: 18px; font-size: .85rem; }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer__bottom p { margin: 0; }
.footer__bottom a { color: var(--on-dark); font-weight: 700; text-decoration: none; }
.footer__bottom a:hover { color: var(--brand-300); text-decoration: underline; }

/* ---------- floating actions ---------- */
.side-tab { position: fixed; left: 0; top: 50%; z-index: 40; display: flex; align-items: center; gap: .5rem; padding: 1rem .55rem; border: 0; border-radius: 12px 0 0 12px; background: var(--grad-brand); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .85rem; letter-spacing: .04em; writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg); box-shadow: var(--glow); transition: padding .2s; }
.side-tab .icon { width: 18px; height: 18px; transform: rotate(90deg); }
.side-tab:hover { padding-right: .8rem; }
.fab-stack { position: fixed; right: 18px; bottom: 22px; z-index: 40; display: grid; gap: 12px; }
.fab { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; border: 0; color: #fff; box-shadow: 0 12px 28px -10px rgba(10, 18, 54, .5); transition: transform .2s; }
.fab:hover { transform: scale(1.08); }
.fab .icon { width: 26px; height: 26px; }
.fab--wa { background: #1faa53; animation: pulse 2.4s infinite; }
.fab--call { background: var(--grad-brand); }
.fab--top { background: var(--ink-800); width: 46px; height: 46px; justify-self: center; border-radius: 14px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31, 170, 83, .55); } 70% { box-shadow: 0 0 0 14px rgba(31, 170, 83, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 170, 83, 0); } }
.mobile-bar { display: none; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(10, 18, 54, .72); backdrop-filter: blur(3px); opacity: 0; transition: opacity .25s; }
.modal__dialog { position: relative; width: min(560px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); transform: translateY(16px) scale(.98); opacity: 0; transition: transform .25s ease, opacity .25s ease; overscroll-behavior: contain; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__dialog { transform: none; opacity: 1; }
.modal__close { position: absolute; right: 14px; top: 14px; z-index: 2; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .25); color: #fff; }
.modal__intro { padding: 26px 26px 22px; background: var(--aurora), var(--blueprint), var(--ink-900); color: #fff; }
.modal__intro .eyebrow { text-transform: none; letter-spacing: .02em; font-size: .8rem; }
.modal__title { font-size: 1.5rem; font-weight: 800; margin: 0 0 .7rem; padding-right: 40px; }
.modal__points { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .88rem; color: #d6dbee; }
.modal__points li { display: inline-flex; align-items: center; gap: .3rem; }
.modal__points .icon { color: var(--accent); width: 16px; height: 16px; }
.enquiry--plain { padding: 22px 26px 26px; }
body.modal-open { overflow: hidden; }

/* ==========================================================================
   Additions (Oct 2026): new course blocks, menu columns, home employers wall,
   About / BIM Corporate Training / Placement pages
   ========================================================================== */

/* menu: long lists in two columns; right-hand menus open towards the left */
.menu--cols { min-width: 620px; }
.menu--cols ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 6px; }
.menu--end { left: auto; right: -8px; transform: translate(0, 8px); }
.nav__item.is-open .menu--end { transform: translate(0, 0); }

/* course hero extras */
.page-hero__points-lead { color: #c3c9e2; margin: -.2rem 0 .6rem; font-size: .95rem; }
.syl-tools { display: flex; align-items: center; gap: .35rem; margin: .8rem 0 .4rem; font-family: var(--font-head); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--indigo); }
.syl-tools .icon { width: 15px; height: 15px; }

/* Tekla workflow */
.flow-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); counter-reset: none; position: relative; }
.flow-step { --tone: var(--brand); position: relative; text-align: center; padding: 34px 22px 26px; border-radius: 999px 999px 26px 26px; border: 2px dashed color-mix(in srgb, var(--tone) 45%, transparent); background: radial-gradient(120% 70% at 50% 0%, color-mix(in srgb, var(--tone) 9%, #fff), #fff 70%); }
.flow-step.tone-1 { --tone: var(--ink-900); }
.flow-step.tone-2 { --tone: var(--indigo); }
.flow-step + .flow-step::before { content: ""; position: absolute; left: calc(-1 * clamp(16px, 3vw, 40px)); top: 50%; width: clamp(16px, 3vw, 40px); height: 2px; background: linear-gradient(90deg, var(--brand), var(--indigo)); }
.flow-step__no { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 3px solid var(--tone); color: var(--tone); font-family: var(--font-head); font-weight: 800; }
.flow-step__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: color-mix(in srgb, var(--tone) 10%, #fff); color: var(--tone); margin: 8px 0 12px; }
.flow-step__icon .icon { width: 30px; height: 30px; }
.flow-step h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: .35rem; }
.flow-step p { margin: 0; color: var(--muted); }

/* pricing level cards (Tekla) */
.level-card--price .level-card__head { align-items: flex-start; }
.level-card__level { margin: 0 0 .2rem; font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.level-card--price .level-card__head h3 { font-size: 1.12rem; text-transform: none; }
/* Tools list grows so the duration, price and buttons line up across the three cards; duration centred. */
.level-card--price .level-card__list { flex: 1; }
.level-card__duration { display: flex; align-items: center; justify-content: center; gap: .5rem; margin: 0 auto 12px; padding: .55rem 1rem; border-radius: 10px; background: var(--ink-900); color: #fff; font-weight: 700; font-size: .92rem; width: fit-content; }
.level-card__duration .icon { color: var(--accent); width: 18px; height: 18px; }
.level-card__price { margin: 0 22px; padding: 14px 16px; border-radius: 16px; background: linear-gradient(135deg, var(--tone), var(--tone-2)); color: #fff; text-align: center; }
.level-card__price strong { display: block; font-family: var(--font-head); font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); font-weight: 800; line-height: 1.1; }
.level-card__price span { font-size: .8rem; opacity: .9; }
.level-card--price .level-card__cta { margin: 16px 22px 22px; justify-content: center; }

/* home: BIM industry employers wall */
.employers-wall .section-head { margin-bottom: 28px; }
.employers-wall__rows { display: grid; gap: 10px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-marquee { overflow: hidden; }
.logo-marquee__track { list-style: none; display: flex; gap: 10px; width: max-content; animation: marquee 110s linear infinite; }
.logo-marquee--reverse .logo-marquee__track { animation-direction: reverse; }
.employers-wall__rows:hover .logo-marquee__track { animation-play-state: paused; }
.logo-tile { display: flex; align-items: center; justify-content: center; width: 136px; height: 58px; padding: 9px 14px; border-radius: 12px; background: #fff; box-shadow: 0 10px 24px -16px rgba(0, 0, 0, .6); }
.logo-tile img { max-width: 100%; max-height: 38px; width: auto; height: auto; object-fit: contain; }
.logo-tile .logo-tile__text { white-space: nowrap; font-size: .82rem; }
.logo-tile.logo-tile--dark { background: var(--ink-900); border: 1px solid rgba(255, 255, 255, .2); }
@keyframes marquee { to { transform: translateX(-50%); } }
.employers-wall__note, .disclaimer { max-width: 860px; margin: 18px auto 0; text-align: center; font-size: .78rem; color: var(--on-dark-muted); }
.disclaimer { color: var(--muted); }

/* info page hero */
.page-hero--info { padding-bottom: clamp(36px, 4.5vw, 56px); }
.page-hero--info .page-hero__lead { margin-bottom: .5rem; }
.page-hero--info .hero-stats li { min-width: 130px; }
.hero-cards { display: grid; gap: 14px; width: min(100%, 360px); }
.hero-card { padding: 18px 20px; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line-dark); backdrop-filter: blur(8px); box-shadow: 0 30px 50px -36px rgba(0, 0, 0, .8); animation: float 6s ease-in-out infinite; }
.hero-card:nth-child(2) { margin-left: 34px; animation-delay: -2s; }
.hero-card:nth-child(3) { animation-delay: -4s; }
.hero-card small { display: block; color: var(--on-dark-muted); font-size: .8rem; }
.hero-card strong { display: flex; align-items: center; gap: .4rem; font-family: var(--font-head); font-size: 1.45rem; font-weight: 800; color: #fff; }
.hero-card strong .icon { color: #4ade80; width: 22px; height: 22px; }
.hero-card__bar { display: block; height: 6px; margin-top: 10px; border-radius: 6px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.hero-card__bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--accent), #4ade80); }
.fact-strip { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 1.6rem; border-radius: 16px; overflow: hidden; background: var(--line-dark); border: 1px solid var(--line-dark); }
.fact-strip li { padding: 14px 16px; background: rgba(10, 18, 54, .55); }
.fact-strip span { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); }
.fact-strip strong { font-family: var(--font-head); color: #fff; font-size: .98rem; }

/* in-page jump links */
.jump { position: sticky; top: var(--header-h); z-index: 30; background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.jump ul { list-style: none; display: flex; gap: .3rem; overflow-x: auto; scrollbar-width: none; padding-block: 8px; }
.jump ul::-webkit-scrollbar { display: none; }
.jump a { display: inline-block; padding: .45rem .85rem; border-radius: 10px; white-space: nowrap; text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: .86rem; color: var(--muted); }
.jump a:hover { background: var(--bg-soft); color: var(--brand-600); }

/* tiles */
.tile-grid { list-style: none; display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 20px); }
.tile-grid--1 { --cols: 1; }
.tile-grid--2 { --cols: 2; }
.tile-grid--4 { --cols: 4; }
.tile-grid--5 { --cols: 5; }
.tile { --tone: var(--brand); --tone-bg: var(--brand-50); display: flex; flex-direction: column; gap: .8rem; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--tone) 30%, #fff); }
.tile.tone-1 { --tone: var(--indigo); --tone-bg: var(--indigo-50); }
.tile.tone-2 { --tone: var(--accent-600); --tone-bg: var(--accent-50); }
.tile.tone-3 { --tone: var(--success); --tone-bg: #edf8ef; }
.tile.tone-4 { --tone: #7c3aed; --tone-bg: #f4ecff; }
.tile.tone-5 { --tone: #b45309; --tone-bg: #fff4e5; }
.tile__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--tone-bg); color: var(--tone); flex: none; }
.tile__icon .icon { width: 24px; height: 24px; }
.tile__title { font-size: 1.06rem; font-weight: 800; margin: 0 0 .3rem; }
.tile p { margin: 0; color: var(--muted); font-size: .94rem; }
.tile-grid--center .tile { align-items: center; text-align: center; }
.tile-grid--list .tile { flex-direction: row; align-items: center; padding: 16px 18px; }
.section--soft .tile { box-shadow: var(--shadow-sm); }

/* numbered steps */
.num-steps { list-style: none; display: grid; gap: 12px; }
.num-steps__item { display: flex; gap: 1rem; align-items: flex-start; padding: 16px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.num-steps__no { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--grad-brand); color: #fff; font-family: var(--font-head); font-weight: 800; }
.num-steps__item h3 { font-size: 1.04rem; font-weight: 800; margin: .15rem 0 .2rem; }
.num-steps__item p { margin: 0; color: var(--muted); font-size: .93rem; }
.num-steps--row { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.num-steps--row .num-steps__item, .num-steps--grid .num-steps__item { flex-direction: column; }
.num-steps--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.num-steps--dark .num-steps__item { background: rgba(255, 255, 255, .06); border-color: var(--line-dark); box-shadow: none; }
.num-steps--dark h3 { color: #fff; }
.num-steps--dark p { color: var(--on-dark-muted); }
.num-steps--dark .num-steps__item:nth-child(4) .num-steps__no { background: linear-gradient(135deg, var(--accent-600), var(--accent)); }

/* BIM stage flow (corporate training) */
.stage-flow { overflow-x: auto; padding: 6px 2px 14px; scrollbar-width: thin; }
.stage-flow__list { list-style: none; position: relative; display: grid; grid-template-columns: repeat(7, minmax(150px, 1fr)); gap: 6px; min-width: 1100px; }
.stage-flow__list::before { content: ""; position: absolute; left: 6%; right: 6%; top: 25px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--brand), var(--indigo), var(--accent-600)); }
.stage { position: relative; text-align: center; padding: 0 8px; transition: transform .2s ease; }
.stage:hover { transform: translateY(-4px); }
.stage__dot { position: relative; display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%; background: var(--ink-900); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; border: 4px solid #fff; box-shadow: 0 8px 18px -8px rgba(16, 26, 75, .7); }
.stage--key .stage__dot { background: var(--grad-brand); }
.stage h3 { font-size: 1rem; font-weight: 800; margin-bottom: .3rem; }
.stage p { font-size: .86rem; line-height: 1.5; color: var(--muted); margin: 0 auto .7rem; }
.stage__tag { display: inline-block; padding: .2rem .7rem; border-radius: 999px; border: 1px solid var(--border); background: var(--bg-soft); color: var(--indigo); font-size: .76rem; font-weight: 700; }
.stage-flow__cde { min-width: 1100px; margin: 28px 0 10px; padding: 13px 18px; border-radius: 12px; background: linear-gradient(90deg, var(--ink-900), var(--indigo)); color: #fff; text-align: center; font-weight: 600; font-size: .92rem; }
.stage-flow__lod { list-style: none; min-width: 1100px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.stage-flow__lod li { padding: 10px; text-align: center; background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--lod, #a5b4fc); border-radius: 10px; font-size: .85rem; }
.stage-flow__lod strong { display: block; font-family: var(--font-head); }
.stage-flow__lod span { color: var(--muted); }
.stage-flow__lod .lod-1 { --lod: #818cf8; }
.stage-flow__lod .lod-2 { --lod: var(--indigo); }
.stage-flow__lod .lod-3 { --lod: var(--ink-900); }
.stage-flow__lod .lod-4 { --lod: var(--brand); }
.note { margin: 12px 0 0; font-size: .85rem; color: var(--muted); }

/* accordion meta line */
.acc--meta summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: .9rem; row-gap: .1rem; }
.acc--meta .acc__no { grid-row: 1 / span 2; }
.acc--meta .acc__icon { grid-column: 3; grid-row: 1 / span 2; }
.acc--meta .acc__meta { grid-column: 2; }
.acc__meta { display: inline-flex; align-items: center; gap: .3rem; margin-top: .15rem; font-size: .82rem; color: var(--muted); }
.acc__meta .icon { width: 14px; height: 14px; color: var(--brand); }

/* two-column split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.split--top { align-items: start; }
.split .section-head { margin-bottom: 20px; }
.split-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); margin-top: clamp(28px, 4vw, 44px); padding: clamp(20px, 3vw, 30px); border-radius: 22px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); }
.split-lists h3 { color: #fff; font-size: 1.15rem; }
.split-lists .check-list--hero { grid-template-columns: 1fr; }

/* corporate expectations */
.commit-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.commit { padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--accent-600); box-shadow: var(--shadow-sm); }
.commit h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.02rem; font-weight: 800; margin-bottom: .25rem; }
.commit h3 .icon { color: var(--success); width: 20px; height: 20px; }
.commit p { margin: 0; color: var(--muted); font-size: .93rem; }

/* training modes */
.mode-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 26px); margin-bottom: clamp(24px, 3vw, 36px); }
.mode-card { padding: clamp(22px, 3vw, 30px); border-radius: 22px; background: #fff; border: 1px solid var(--border); border-top: 6px solid var(--indigo); box-shadow: var(--shadow); }
.mode-card--alt { border-top-color: var(--brand); }
.mode-card h3 { display: flex; align-items: center; gap: .55rem; font-size: 1.35rem; font-weight: 800; }
.mode-card h3 .icon { width: 26px; height: 26px; color: var(--indigo); }
.mode-card--alt h3 .icon { color: var(--brand); }
.mode-card__lead { color: var(--muted); }
.mode-card h4 { margin: 1.1rem 0 .5rem; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-600); }
.mode-card .bullets { margin: 0; }

/* tables */
.table-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow); }
.data-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .94rem; }
.data-table th, .data-table td { padding: 13px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.data-table thead th { background: var(--ink-900); color: #fff; font-family: var(--font-head); font-weight: 700; }
.data-table tbody th { font-weight: 700; width: 24%; }
.data-table tbody tr:last-child > * { border-bottom: 0; }
.data-table tbody tr:hover > * { background: var(--bg-soft); }
.data-table td { color: #363c58; }
.table-card { padding: clamp(18px, 2.5vw, 26px); border-radius: 22px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.table-card .table-wrap { box-shadow: none; }
.table-card .data-table { min-width: 0; }

/* venue + timeline */
.venue-card { display: flex; gap: 1.25rem; align-items: flex-start; max-width: 860px; margin: 0 auto; padding: clamp(20px, 3vw, 32px); border-radius: var(--radius-lg); background: linear-gradient(135deg, #fff, var(--brand-50)); border: 1px solid var(--border); }
.venue-card > .icon { width: 56px; height: 56px; padding: 13px; border-radius: 16px; background: var(--grad-brand); color: #fff; }
.timeline { list-style: none; position: relative; display: grid; gap: 14px; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--brand), var(--indigo), var(--accent-600)); }
.timeline__item { position: relative; padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.timeline__item::before { content: ""; position: absolute; left: -26px; top: 24px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); }
.timeline__year { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; background: var(--grad-text-light); -webkit-background-clip: text; background-clip: text; color: transparent; }
.timeline__item h3 { font-size: 1.05rem; margin: .1rem 0 .15rem; }
.timeline__item p { margin: 0; color: var(--muted); font-size: .93rem; }

/* recruitment hub */
.ticker { overflow: hidden; background: var(--grad-banner); color: #fff; padding-block: 12px; }
.ticker__track { list-style: none; display: flex; gap: 2.4rem; width: max-content; animation: marquee 45s linear infinite; }
.ticker__track li { display: inline-flex; align-items: center; gap: 2.4rem; font-family: var(--font-head); font-weight: 700; white-space: nowrap; }
.ticker__track li::after { content: "✦"; color: var(--accent); }
.funnel { list-style: none; display: grid; gap: 8px; }
.funnel__step { width: var(--w); margin-inline: auto; padding: 12px 16px; border-radius: 12px; background: linear-gradient(90deg, var(--ink-900), var(--indigo)); color: #fff; text-align: center; font-weight: 600; font-size: .92rem; }
.funnel__step:last-child { background: linear-gradient(90deg, #15803d, #22c55e); }
.chain { list-style: none; display: grid; gap: 10px; counter-reset: none; }
.chain li { position: relative; display: flex; align-items: center; gap: .8rem; padding: 12px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--border); font-weight: 600; box-shadow: var(--shadow-sm); }
.chain li + li::before { content: ""; position: absolute; left: 33px; top: -11px; height: 10px; width: 2px; background: var(--border); }
.chain__no { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--indigo-50); color: var(--indigo); font-family: var(--font-head); font-weight: 800; }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); align-items: stretch; }
.price-card { padding: 28px 24px; border-radius: 22px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); text-align: center; }
.price-card--featured { background: #fff; color: var(--text); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); transform: translateY(-8px); }
.price-card__icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--grad-brand); color: #fff; margin-bottom: 12px; }
.price-card h3 { color: #fff; font-size: 1.15rem; }
.price-card--featured h3 { color: var(--text); }
.price-card .price-card__big { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); line-height: 1.15; background: var(--grad-text-dark); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: .4rem; }
.price-card--featured .price-card__big { background-image: var(--grad-text-light); color: transparent; }
.price-card p { color: var(--on-dark-muted); margin: 0; }
.price-card--featured p { color: var(--muted); }
.coverage { margin: 4px 0 22px; }
.coverage__bar { display: block; height: 12px; border-radius: 12px; background: linear-gradient(90deg, var(--success) 0%, #4ade80 33%, var(--accent) 100%); }
.coverage ul { list-style: none; display: flex; justify-content: space-between; gap: .5rem; margin-top: .5rem; font-size: .8rem; font-weight: 600; color: var(--muted); }
.sla-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.sla-card { padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); border-top: 5px solid var(--indigo); }
.sla-card:nth-child(2) { border-top-color: var(--brand); }
.sla-card:nth-child(3) { border-top-color: var(--accent-600); }
.sla-card .sla-card__big { margin: 0 0 .3rem; font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; line-height: 1; color: var(--ink-900); }
.sla-card h3 { font-size: 1.02rem; margin-bottom: .3rem; }
.sla-card p { margin: 0; color: var(--muted); font-size: .93rem; }
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 2vw, 24px); max-width: 1000px; margin-inline: auto; }
.story__context, .story__result { padding: clamp(22px, 3vw, 32px); border-radius: 22px; }
.story__context { background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.story__context dl { display: grid; gap: .8rem; margin: 0; }
.story__context dt { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.story__context dd { margin: 0; font-weight: 600; }
.story__result { background: var(--aurora), var(--blueprint), var(--ink-900); color: #fff; }
.story__result p { color: var(--on-dark-muted); }
.story__kpis { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 1rem; }
.story__kpis li { padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line-dark); text-align: center; }
.story__kpis strong { display: block; font-family: var(--font-head); font-size: 1.35rem; font-weight: 800; color: #fff; }
.story__kpis span { font-size: .78rem; color: var(--on-dark-muted); }

/* enquiry split (employer / job forms) */
.enquiry-split__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.enquiry-split__text .check-list--hero { grid-template-columns: 1fr; margin: 1.2rem 0; }
.enquiry-split .enquiry--card { color: var(--text); }
.enquiry-split .enquiry--card :focus-visible { outline-color: var(--indigo); }
.contact-mini { list-style: none; display: grid; gap: .55rem; margin-top: 1.4rem; }
.contact-mini li { display: flex; align-items: center; gap: .6rem; color: var(--on-dark); }
.contact-mini .icon { color: var(--accent); width: 18px; height: 18px; }
.contact-mini a { color: #fff; font-weight: 600; text-decoration: none; }
.contact-mini a:hover { color: var(--brand-300); }
.field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid #dde1ee; border-radius: 12px; background: #fafbfe; font-size: .95rem; resize: vertical; min-height: 90px; transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea:focus { outline: none; border-color: var(--indigo); background: #fff; box-shadow: 0 0 0 4px rgba(79, 70, 229, .14); }
.field.has-error textarea { border-color: #dc2626; }

/* employers page */
.cat-btn__n { padding: .05rem .45rem; border-radius: 6px; background: var(--bg-soft); color: var(--muted); font-size: .76rem; }
.cat-btn.is-active .cat-btn__n { background: rgba(255, 255, 255, .15); color: #fff; }
.employer-finder .explorer__count { margin-bottom: 14px; }
.employer-finder .explorer__meta > * { min-width: 0; max-width: 100%; }
.company-group + .company-group { margin-top: 26px; }
.company-group.is-hidden { display: none; }
.company-group__title { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; font-size: 1.1rem; font-weight: 800; padding-bottom: .6rem; margin-bottom: .9rem; border-bottom: 1px solid var(--border); }
.company-group__title span { font-family: var(--font-body); font-size: .82rem; font-weight: 600; color: var(--muted); }
/* Company logo cards: logo on top, name below (logos shown at their own proportions, never stretched). */
.logo-cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 12px; margin: 0; padding: 0; }
.logo-cards--center { margin-top: 22px; }
.logo-cards li.is-hidden { display: none; }
.logo-card { display: flex; flex-direction: column; height: 100%; border-radius: 14px; background: #fff; border: 1px solid var(--border); text-decoration: none; color: var(--ink-900); box-shadow: var(--shadow-sm); overflow: hidden; transition: border-color .2s, transform .2s, box-shadow .2s; }
a.logo-card:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow); }
.logo-card__logo { display: grid; place-items: center; height: 86px; padding: 14px 16px; }
.logo-card__logo img { max-width: 100%; max-height: 56px; width: auto; height: auto; object-fit: contain; }
.logo-card__name { display: flex; align-items: center; justify-content: center; gap: .35rem; margin-top: auto; padding: .5rem .6rem; border-top: 1px solid #eceef6; background: #fafbfe; font-size: .8rem; font-weight: 600; text-align: center; line-height: 1.3; }
.logo-card__name .icon { flex: none; width: 12px; height: 12px; color: var(--brand); }
a.logo-card:hover .logo-card__name { color: var(--brand-600); }
.logo-tile__text { font-family: var(--font-head); font-weight: 800; font-size: 1rem; letter-spacing: -.01em; color: var(--ink-900); text-align: center; line-height: 1.2; }
.logo-tile--dark { background: var(--ink-900); }
.tags--center { justify-content: center; }
.role-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.role-card__links { margin: 1rem 0 0; padding-top: .8rem; border-top: 1px solid var(--line-dark); font-size: .86rem; color: var(--on-dark-muted); }
.role-card__links a { color: #9eeaf8; font-weight: 600; text-decoration: none; }
.role-card__links a:hover { text-decoration: underline; }

/* hire BIM: workflow panel */
.program__box--wide { grid-template-columns: 1fr; gap: 12px; }
.program__box--wide .program__tabs { flex-direction: row; flex-wrap: wrap; justify-content: center; }
.program__box--wide .program__tab { flex: 1 1 140px; justify-content: center; }
.program__box--wide .program__panel { padding: 14px 18px 8px; }
.acc--plain .acc__body { padding-left: 18px; }
.wf-panel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-content: start; }
.wf-panel h3 { font-size: 1.02rem; }
.wf-panel p { color: var(--muted); }

/* hire from us */
.domain-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 20px); }
.domain-card { padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.domain-card h3 { display: flex; align-items: center; gap: .55rem; font-size: 1.12rem; font-weight: 800; }
.domain-card h3 .icon { width: 36px; height: 36px; padding: 8px; border-radius: 11px; background: var(--grad-brand); color: #fff; }
.domain-card p { margin: 0 0 .45rem; color: #363c58; font-size: .93rem; }
.domain-card__sectors { margin-top: .7rem !important; padding-top: .7rem; border-top: 1px dashed var(--border); color: var(--muted) !important; font-size: .86rem !important; }

/* about */
.feature-grid--wide { max-width: 980px; margin-inline: auto; }
.cat-cards, .link-cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.cat-card { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: .9rem; align-items: center; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfd5ea; }
.cat-card__icon { grid-row: 1 / span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--brand-50); color: var(--brand); }
.cat-card strong { font-family: var(--font-head); font-weight: 800; }
.cat-card span:not(.cat-card__icon) { grid-column: 2; font-size: .85rem; color: var(--muted); }
.cat-card > .icon { grid-column: 3; grid-row: 1 / span 2; color: var(--brand); width: 18px; height: 18px; }
.link-card { position: relative; display: block; height: 100%; padding: 22px 22px 52px; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); text-decoration: none; transition: border-color .2s, transform .2s; }
.link-card:hover { border-color: rgba(43, 212, 242, .5); transform: translateY(-4px); }
.link-card h3 { color: #fff; font-size: 1.08rem; }
.link-card p { color: var(--on-dark-muted); margin: 0; font-size: .93rem; }
.link-card span { position: absolute; left: 22px; bottom: 18px; color: var(--accent); }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 1280px) {
  .header-phone { display: none; }
}

@media (max-width: 1279px) {
  .nav, .header-cta { display: none; }
  .nav-burger { display: grid; }
  .site-header__actions { margin-left: auto; }
  .header-phone { display: flex; }
  .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .program__box { grid-template-columns: 240px 1fr; }
  .program__art { display: none; }
  .course-grid { --cols: 3; }
}

@media (max-width: 1100px) {
  .topbar__branches { display: none; }
  .topbar__inner { justify-content: flex-end; }
  .footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer__about { grid-column: 1 / -1; }
  .info-cards { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .info-card { grid-column: span 2; }
  .info-card:nth-child(n+4) { grid-column: span 3; border-top: 1px solid var(--border); }
  .info-card:nth-child(4)::before { display: none; }
  .float-badge--a { left: 0; }
  .float-badge--b { right: 0; }
  .carousel__track { grid-auto-columns: calc((100% - 2 * 18px) / 3); }
  .tier { grid-template-columns: 200px 1fr; }
  .level-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .toolgrid__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .why__grid { grid-template-columns: 1fr; }
  .why__intro { text-align: center; }
  .why__intro .btn-row { justify-content: center; }
  .demo__box { grid-template-columns: 1fr; text-align: center; }
  .demo__actions { flex-direction: row; flex-wrap: wrap; justify-content: center; min-width: 0; }
}

@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .slide__grid { grid-template-columns: 1fr; min-height: 0; text-align: left; padding-top: 16px; }
  .slide__art { max-width: 460px; margin: 0 auto; width: 100%; }
  .slide__art img { max-height: 300px; width: auto; }
  .explorer__bar { display: grid; grid-template-columns: minmax(0, 1fr); }
  .explorer__meta { flex-direction: column-reverse; align-items: stretch; }
  .filter-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .filter-tabs::-webkit-scrollbar { display: none; }
  .explorer__search { flex-basis: auto; min-width: 0; }
  .course-grid, .course-grid--3 { --cols: 2; }
  .page-hero__grid { grid-template-columns: 1fr; }
  .media-card { width: min(100%, 340px); }
  .expert__grid, .syllabus__grid, .contact__grid { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .why-course__grid, .branch-grid { grid-template-columns: 1fr; }
  .role-grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .hl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hl-tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .carousel__track { grid-auto-columns: calc((100% - 18px) / 2); }
  .program__box { grid-template-columns: 1fr; }
  .program__tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .program__tab { flex: none; white-space: nowrap; }
  .job-banner { flex-wrap: wrap; }
  .job-banner__cta { border-left: 0; padding-left: 0; width: 100%; flex-wrap: wrap; }
  .related .course-grid--3 .course-card:nth-child(3) { display: none; }
}

@media (max-width: 767px) {
  body { font-size: 15.5px; padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .topbar__branches, .topbar__links a:first-child { display: none; }
  .topbar__inner { justify-content: center; }
  .brand img { width: 200px; }
  .quicklinks { display: none; }
  .header-phone { display: none; }
  .hero-home { padding-bottom: 80px; }
  .stats-wrap { margin-top: -48px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat-card { padding: 14px; }
  .stat-card__value { font-size: 1.3rem; }
  .stat-card--cta { grid-column: 1 / -1; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .feature { padding: 14px; }
  .course-grid, .course-grid--3 { --cols: 1; }
  .related .course-grid--3 .course-card:nth-child(3) { display: flex; }
  .info-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .info-card, .info-card:nth-child(n+4) { grid-column: auto; }
  .info-card::before { display: none; }
  .info-card { border-top: 1px solid var(--border); padding: 16px 14px; }
  .info-card:nth-child(-n+2) { border-top: 0; }
  .info-card:nth-child(odd) { border-right: 1px solid var(--border); }
  .info-card:last-child { grid-column: 1 / -1; border-right: 0; }
  .check-list--hero { grid-template-columns: 1fr; }
  .info-card { grid-template-columns: minmax(0, 1fr); }
  .info-card__icon { grid-row: auto; width: 40px; height: 40px; margin-bottom: .5rem; }
  .info-card__value { font-size: 1rem; }
  .tier__label::after { display: none; }
  .eyebrow { letter-spacing: .06em; }
  .prose--center, .why-course__head .prose, .placement-copy .prose { text-align: left; }
  .media-card { width: min(100%, 280px); }
  .slide__art { padding: 8px; border-radius: 20px; }
  .slide__art img { max-height: 230px; }
  .float-badge { font-size: .72rem; padding: .45rem .6rem; }
  .float-badge .icon { width: 26px; height: 26px; padding: 5px; }
  .float-badge--a { left: -4%; }
  .float-badge--b { right: -4%; }
  .carousel__track { grid-auto-columns: 84%; }
  .hl-grid { grid-template-columns: 1fr; }
  .tier { grid-template-columns: 1fr; }
  .tier__label { flex-direction: row; align-items: center; gap: 1rem; padding: 16px 20px; }
  .tier__no { border-bottom: 0; width: auto; padding: 0; margin: 0; font-size: 2rem; }
  .tier__tools { padding: 16px; }
  .tier__tools li { flex-basis: 40%; }
  .toolgrid__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .syl-list { grid-template-columns: 1fr; }
  .acc__body, .faq__list .acc__body { padding-left: 18px; }
  .acc summary { gap: .7rem; padding: 12px; }
  .acc__no { width: 32px; height: 32px; font-size: .8rem; }
  .field-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__bottom-inner { justify-content: center; text-align: center; }
  .side-tab { display: none; }
  .fab--wa, .fab--call { display: none; }
  .fab-stack { bottom: calc(80px + env(safe-area-inset-bottom)); right: 12px; }
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-top: 1px solid var(--border); box-shadow: 0 -8px 24px -16px rgba(10, 18, 54, .35); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-bar a, .mobile-bar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 62px; border: 0; background: none; font-size: .75rem; font-weight: 600; text-decoration: none; color: var(--text); }
  .mobile-bar .icon { width: 22px; height: 22px; color: var(--brand); }
  .mobile-bar a:nth-child(2) .icon { color: #0e7a3b; }
  .mobile-bar button { background: var(--grad-brand); color: #fff; }
  .mobile-bar button .icon { color: #fff; }
  .modal { padding: 0; place-items: end center; }
  .modal__dialog { border-radius: 24px 24px 0 0; max-height: 94dvh; }
  .slider-dot { padding: 0 .7rem; font-size: .8rem; }
  .overview__card, .who-card { flex-direction: column; }
}

@media (max-width: 420px) {
  .footer__grid { gap: 22px 16px; }
  .footer__title--gap { margin-top: 1.1rem; }
  .btn-row .btn { flex: 1 1 100%; }
  .btn-row .or { display: none; }
  .slider-controls { flex-wrap: wrap; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .job-banner__cta .btn { white-space: normal; }
}

@media (max-width: 360px) {
  .toolgrid__list { grid-template-columns: 1fr; }
}

@media (max-width: 340px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ---------- responsive: additions ---------- */
@media (max-width: 1279px) {
  .tile-grid--5 { --cols: 3; }
  .role-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
}
@media (max-width: 1100px) {
  .tile-grid--4 { --cols: 2; }
  .num-steps--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .domain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wf-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-levels .level-grid { max-width: 620px; }
}
@media (max-width: 960px) {
  .split, .enquiry-split__grid, .story, .mode-grid { grid-template-columns: 1fr; }
  .page-hero--info .page-hero__grid { grid-template-columns: 1fr; }
  .hero-cards { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-card:nth-child(2) { margin-left: 0; }
  .flow-steps { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; gap: 40px; }
  .flow-step + .flow-step::before { left: 50%; top: -40px; width: 2px; height: 40px; background: linear-gradient(var(--brand), var(--indigo)); }
  .price-grid, .sla-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .price-card--featured { transform: none; }
  .commit-grid { grid-template-columns: 1fr; }
  .program__box--wide .program__tabs { flex-wrap: nowrap; justify-content: flex-start; }
  .program__box--wide .program__tab { flex: none; }
  .menu--cols { min-width: 0; }
}
@media (max-width: 767px) {
  .tile-grid--2, .tile-grid--3, .tile-grid--4, .tile-grid--5 { --cols: 1; }
  .tile-grid--center .tile, .tile { flex-direction: row; align-items: flex-start; text-align: left; padding: 16px; }
  .num-steps--grid, .num-steps--row { grid-template-columns: 1fr; }
  .num-steps--row .num-steps__item, .num-steps--grid .num-steps__item { flex-direction: row; }
  .hero-cards { grid-template-columns: 1fr; }
  .hero-card { animation: none; }
  .fact-strip { grid-template-columns: 1fr 1fr; }
  .domain-grid, .wf-panel, .split-lists { grid-template-columns: 1fr; }
  .role-grid--4 { grid-template-columns: 1fr; }
  .story__kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .funnel__step { width: 100% !important; }
  .logo-tile { width: 112px; height: 48px; padding: 7px 10px; }
  .logo-tile img { max-height: 30px; }
  .logo-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .venue-card { flex-direction: column; }
  .level-card--price .level-card__cta .btn { flex: 1 1 auto; }
  .page-hero--info .hero-stats li { min-width: 0; flex: 1 1 40%; }
}
@media (max-width: 420px) {
  .page-hero--info .btn-row .btn { white-space: normal; text-align: center; }
  .fact-strip { grid-template-columns: 1fr; }
  .story__kpis { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}


/* Card borders: one colour for every bordered card, in every state (set --card-border in :root). */
.stat-card,
.stat-card:hover,
.feature,
.feature:hover,
.course-card,
.course-card:hover,
.review-card,
.review-card:hover,
.branch-card,
.branch-card:hover,
.info-cards,
.info-cards:hover,
.overview__card,
.overview__card:hover,
.info-block,
.info-block:hover,
.tier,
.tier:hover,
.module-note,
.module-note:hover,
.level-card,
.level-card:hover,
.program__box,
.program__box:hover,
.acc,
.acc:hover,
.enquiry--card,
.enquiry--card:hover,
.tile,
.tile:hover,
.num-steps__item,
.num-steps__item:hover,
.commit,
.commit:hover,
.mode-card,
.mode-card:hover,
.table-wrap,
.table-wrap:hover,
.table-card,
.table-card:hover,
.venue-card,
.venue-card:hover,
.timeline__item,
.timeline__item:hover,
.chain li,
.chain li:hover,
.sla-card,
.sla-card:hover,
.sla-card:nth-child(n),
.story__context,
.story__context:hover,
.domain-card,
.domain-card:hover,
.cat-card,
.cat-card:hover,
.contact-list li,
.contact-list li:hover,
.stories__panel,
.stories__panel:hover,
.role-card,
.role-card:hover,
.hero-card,
.hero-card:hover,
.fact-strip,
.fact-strip:hover,
.split-lists,
.split-lists:hover,
.price-card,
.price-card:hover,
.link-card,
.link-card:hover,
.hero-stats li,
.hero-stats li:hover,
.story__kpis li,
.story__kpis li:hover,
.syllabus__cta,
.syllabus__cta:hover,
.flow-step,
.flow-step:hover,


.acc[open],
.stat-card--cta,
.num-steps--dark .num-steps__item,
.page-hero--banner .hero-stats li,
.page-hero--banner .fact-strip li { border-color: var(--card-border); }

/* ---------- Justified text (client correction, 25 Oct 2026) ----------
   Running text on every page is justified. Text in centred layouts keeps its last line centred so the centred
   design holds. Headings, buttons, badges and single-line labels are not affected. */
:is(.prose p, .prose li, .page-hero__intro p, .page-hero__lead, .page-hero__outro, .page-hero__points-lead, .section-text,
  .course-card__text, .enquiry__text, .review-card__text p, .branch-card p, .commit p, .domain-card p, .hl-tile p, .link-card p,
  .num-steps__item p, .sla-card p, .syl-group p, .tile p, .mode-card__lead, .ceo__body p, .story__context dd, .note,
  .bullets li, .check-list li > span, .syl-list li > span, .role-card li > span, .flow-step p, .price-card p, .stage p,
  .disclaimer, .employers-wall__note, .form__note, .footer__about p) { text-align: justify; hyphens: manual; -webkit-hyphens: manual; }
/* The build adds soft hyphens to long words in <main> (lib/hyphenate.mjs); only justified text may break at them. */
main { hyphens: none; -webkit-hyphens: none; }
:is(.section-head--center .section-text, .flow-step p, .price-card p, .stage p, .disclaimer, .employers-wall__note, .form__note) { text-align-last: center; }
@media (min-width: 768px) {
  :is(.prose--center p, .prose--lead p) { text-align-last: center; }
}

/* ---------- Quick-link pages: College Training, Faculty, Blogs, Student Reviews ---------- */
/* course streams (College Training) */
.stream-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(14px, 2vw, 22px); }
.stream-card { display: flex; flex-direction: column; gap: .9rem; padding: 22px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--card-border, var(--border)); box-shadow: var(--shadow); }
.stream-card header { display: flex; align-items: center; gap: .8rem; }
.stream-card header h3 { margin: 0; font-size: 1.2rem; }
.stream-card header p { margin: 0; font-size: .86rem; color: var(--muted); }
.stream-card__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--brand-50); color: var(--brand); }
.stream-card__icon .icon { width: 24px; height: 24px; }
.stream-card .check-list { margin: 0; }
.stream-card__label { margin: auto 0 -.4rem; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.stream-card .btn { margin-top: auto; align-self: flex-start; }
/* workshop lengths */
.formats__title { margin: clamp(28px, 4vw, 44px) 0 1rem; text-align: center; color: #fff; font-size: 1.25rem; }
.formats { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; }
.formats li { display: flex; flex-direction: column; gap: .2rem; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); }
.formats strong { color: #fff; font-family: var(--font-head); }
.formats span { color: var(--accent); font-weight: 700; font-size: .9rem; }
.formats__fdp { display: flex; align-items: flex-start; gap: .7rem; max-width: 760px; margin: 18px auto 0; padding: 14px 18px; border-radius: 16px; background: rgba(224, 20, 47, .14); border: 1px solid rgba(255, 154, 172, .35); color: var(--on-dark); }
.formats__fdp .icon { flex: none; color: var(--brand-300); width: 22px; height: 22px; }
.formats__fdp strong { color: #fff; }
/* big figures + college list */
.big-stats { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 0 0 clamp(20px, 3vw, 32px); padding: 0; }
.big-stats li { min-width: 170px; padding: 16px 22px; text-align: center; border-radius: 18px; background: #fff; border: 1px solid var(--card-border, var(--border)); box-shadow: var(--shadow); }
.big-stats strong { display: block; font-family: var(--font-head); font-size: 2rem; font-weight: 800; background: var(--grad-text-light, var(--grad-brand)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.big-stats span { font-size: .88rem; color: var(--muted); font-weight: 600; }
.college-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 0 0 24px; padding: 0; }
.college-list li { display: flex; flex-direction: column; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--border); }
.college-list span { color: var(--muted); font-size: .88rem; }
.college-list em { margin-top: .4rem; font-style: normal; font-size: .8rem; font-weight: 700; color: var(--brand-600); }
/* "I am a college / student" form tabs */
.form-switch__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 12px; padding: 6px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line-dark); }
.form-switch__tabs button { padding: .7rem 1rem; border: 0; border-radius: 10px; background: transparent; color: var(--on-dark); font-weight: 700; cursor: pointer; }
.form-switch__tabs button[aria-selected="true"] { background: #fff; color: var(--ink-900); box-shadow: var(--shadow-sm); }
/* checkbox groups in forms */
.field--checks { border: 0; padding: 0; margin: 0 0 1rem; min-width: 0; }
.field--checks legend { padding: 0; margin-bottom: .45rem; font-weight: 600; font-size: .9rem; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .75rem; border-radius: 10px; border: 1px solid var(--border); background: var(--bg-soft); font-size: .86rem; font-weight: 500; cursor: pointer; }
.check input { width: 16px; height: 16px; margin: 0; accent-color: var(--brand); }
.check:has(input:checked) { border-color: var(--brand); background: var(--brand-50); color: var(--brand-600); }
.field--checks.has-error .checks { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 10px; }
/* faculty: problems and fixes, software cards */
.gap-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); margin: 0 0 clamp(20px, 3vw, 32px); padding: 0; }
.gap-card { position: relative; display: flex; flex-direction: column; gap: .5rem; padding: 22px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--card-border, var(--border)); box-shadow: var(--shadow); }
.gap-card__no { position: absolute; top: 16px; right: 18px; font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: #e6e8f2; }
.gap-card__label { margin: 0; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-600); }
.gap-card h3 { margin: 0; font-size: 1.08rem; padding-right: 2rem; }
.gap-card__fix { display: flex; gap: .55rem; margin: auto 0 0; padding-top: .8rem; border-top: 1px solid #eceef6; font-size: .92rem; }
.gap-card__fix .icon { flex: none; width: 20px; height: 20px; color: var(--success); }
.gap-card__fix strong { display: block; color: var(--success); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.filter-tabs--center { justify-content: center; margin-bottom: 20px; }
.sw-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin: 0; padding: 0; }
.sw-grid li[hidden] { display: none; }
.sw-card { display: flex; flex-direction: column; gap: .45rem; height: 100%; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--card-border, var(--border)); box-shadow: var(--shadow-sm); }
.sw-card h3 { margin: 0; font-size: 1.08rem; }
.sw-card__exp { align-self: flex-start; padding: .2rem .6rem; border-radius: 999px; background: var(--accent-50); color: var(--accent-600); font-size: .78rem; font-weight: 700; }
.sw-card p { margin: 0; font-size: .9rem; color: var(--muted); }
.sw-card .link-btn { margin-top: auto; align-self: flex-start; font-size: .88rem; }
.note-center { max-width: 760px; margin: 18px auto 0; text-align: center; font-size: .86rem; color: var(--muted); }
.section--dark .section-head + .split-lists { margin-top: 0; }
.section--dark .num-steps + .section-head { margin-top: clamp(36px, 5vw, 56px); }
/* two forms side by side */
.forms-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); align-items: start; }
.forms-pair__col { scroll-margin-top: calc(var(--header-h) + 16px); }
.forms-pair .section-head { margin-bottom: 18px; }
/* reviews hero rating, blog toolbar and art */
.hero-rating { display: inline-flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin: 1.4rem 0 0; padding: .55rem 1rem; border-radius: 999px; background: #fff; color: var(--ink-900); box-shadow: var(--shadow-lg); }
.hero-rating > .icon { width: 22px; height: 22px; }
.hero-rating > strong { font-family: var(--font-head); font-size: 1.3rem; }
.hero-rating .stars { color: #e09000; }
.hero-rating span { font-size: .9rem; }
.blog-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-bottom: 14px; }
.blog-bar .explorer__search { flex: 0 1 340px; }
.article-cards li[hidden] { display: none; }
.article-card__art { display: grid; place-items: center; height: 110px; margin: -22px -22px 4px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: linear-gradient(135deg, #e0142f, #7e22ce); color: #fff; }
.article-card__art .icon { width: 42px; height: 42px; opacity: .95; }
.article-card__art.tone-1 { background: linear-gradient(135deg, #0ea5e9, #4f46e5); }
.article-card__art.tone-2 { background: linear-gradient(135deg, #10b981, #0e7490); }
.article-card__art.tone-3 { background: linear-gradient(135deg, #0f766e, #101a4b); }
.article-card__art.tone-4 { background: linear-gradient(135deg, #db2777, #f59e0b); }
.article-card__art.tone-5 { background: linear-gradient(135deg, #7e22ce, #db2777); }
.article-card p:not(.article-card__meta) { margin: 0; font-size: .92rem; color: var(--muted); }
@media (max-width: 1100px) {
  .gap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .formats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .forms-pair { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .gap-grid { grid-template-columns: 1fr; }
  .big-stats li { min-width: 0; flex: 1 1 40%; }
  .blog-bar .explorer__search { flex-basis: 100%; }
}

/* ---------- Student Reviews grid, Blogs article cards ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); align-items: start; }
.review-grid .review-card { height: auto; }
.article-cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(14px, 2vw, 22px); margin: 0 0 clamp(20px, 3vw, 32px); padding: 0; }
.article-card { display: flex; flex-direction: column; gap: .7rem; height: 100%; padding: 22px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.article-card h3 { margin: 0; font-size: 1.12rem; line-height: 1.35; }
.article-card__meta { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.article-card__meta span { padding: .25rem .6rem; border-radius: 999px; background: var(--indigo-50); color: var(--indigo); }
.article-card__meta .article-card__soon { background: var(--brand-50); color: var(--brand-600); }
.article-card__link { display: inline-flex; align-items: center; gap: .35rem; margin-top: auto; font-weight: 700; font-size: .9rem; color: var(--brand-600); text-decoration: none; }
.article-card__link .icon { width: 15px; height: 15px; }
.article-card__link:hover { text-decoration: underline; }
@media (max-width: 1100px) { .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .review-grid { grid-template-columns: 1fr; } }

/* ---------- About Us: team photo, CEO's message ---------- */
.team-photo { position: relative; margin: 0; width: min(100%, 560px); padding: 8px; border-radius: 26px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.team-photo img { display: block; width: 100%; height: auto; border-radius: 20px; }
.team-photo figcaption { position: absolute; left: 22px; bottom: 22px; display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .85rem; border-radius: 999px; background: rgba(10, 18, 54, .78); backdrop-filter: blur(6px); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .85rem; }
.team-photo figcaption .icon { width: 16px; height: 16px; color: var(--accent); }
.ceo__grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.ceo__photo { margin: 0; position: relative; }
.ceo__photo::before { content: ""; position: absolute; inset: 18px -14px -14px 18px; border-radius: 26px; background: var(--grad-banner); opacity: .9; }
.ceo__photo img { position: relative; display: block; width: 100%; height: auto; max-height: 560px; object-fit: cover; object-position: top center; border-radius: 24px; box-shadow: var(--shadow-lg); }
.ceo__body .section-title { margin-bottom: 1rem; }
.ceo__body .prose p { margin-bottom: .8rem; }
.ceo__kural { margin: 1.2rem 0; padding: 1.1rem 1.3rem; border-left: 4px solid var(--brand); border-radius: 0 16px 16px 0; background: #fff; box-shadow: var(--shadow-sm); }
.ceo__kural p { margin: 0; }
.ceo__kural-lead { font-weight: 600; color: var(--muted); font-size: .92rem; }
.ceo__kural-text { margin: .4rem 0 !important; font-family: "Noto Sans Tamil", "Nirmala UI", "Latha", var(--font-body); font-weight: 700; font-size: 1.15rem; line-height: 1.7; color: var(--ink-900); }
.ceo__kural-meaning { font-style: italic; }
.ceo__close { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: var(--brand-600); }
.ceo__sign { display: flex; flex-direction: column; margin: 1rem 0 0; }
.ceo__sign strong { font-family: var(--font-head); font-size: 1.15rem; color: var(--ink-900); }
.ceo__sign span { color: var(--muted); font-weight: 600; }
@media (max-width: 960px) {
  .team-photo { width: min(100%, 620px); }
  .ceo__grid { grid-template-columns: 1fr; }
  .ceo__photo { width: min(100%, 340px); margin-inline: auto; }
}

/* ---------- Gallery (About Us, home) + lightbox ---------- */
.gallery-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 16px); margin: 0; padding: 0; }
.gallery-grid__item { display: block; position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: #e8ebf5; box-shadow: var(--shadow); }
.gallery-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-grid__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 18, 54, .45), transparent 45%); opacity: 0; transition: opacity .3s ease; }
.gallery-grid__item:hover img, .gallery-grid__item:focus-visible img { transform: scale(1.04); }
.gallery-grid__item:hover::after, .gallery-grid__item:focus-visible::after { opacity: 1; }
.gallery .btn-row { margin-top: clamp(20px, 3vw, 32px); }
.lightbox { position: fixed; inset: 0; z-index: 110; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 56px 16px 16px; background: rgba(6, 10, 32, .94); }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: .6rem; min-width: 0; }
.lightbox__figure img { width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 130px); max-height: calc(100dvh - 130px); border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox__figure figcaption { color: #dfe3f2; font-size: .92rem; text-align: center; }
.lightbox__btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .1); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
.lightbox__btn:hover { background: rgba(255, 255, 255, .22); }
.lightbox__close { position: absolute; top: 10px; right: 14px; font-size: 1.8rem; }
@media (max-width: 1100px) { .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lightbox { grid-template-columns: 1fr 1fr; padding: 60px 10px 14px; }
  .lightbox__figure { grid-column: 1 / -1; grid-row: 1; }
  .lightbox__prev { justify-self: end; }
}

@media print {
  .topbar, .site-header, .side-tab, .fab-stack, .mobile-bar, .modal, .drawer, .syllabus__form, .slider-controls { display: none !important; }
  .section--dark, .page-hero, .hero-home { background: #fff !important; color: #000 !important; }
}
