/* BPST Academy — design tokens
   Calm, Apple-inspired: neutral canvas, one brand accent, generous space. */
:root {
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, .08);
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --card: #ffffff;
  --brand: #3b2e8f;          /* logo purple */
  --brand-ink: #2a2070;
  --brand-2: #1a9fe0;        /* logo cyan */
  --gold: #d99a1e;           /* logo gold — used sparingly */
  --brand-tint: rgba(59, 46, 143, .07);
  --radius-lg: 28px;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 28px rgba(0,0,0,.06);
  --shadow-hover: 0 2px 6px rgba(0,0,0,.05), 0 18px 48px rgba(0,0,0,.10);
  --header-h: 64px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --bs-body-font-family: var(--font);
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--bg);
  --bs-link-color: var(--brand);
  --bs-link-hover-color: var(--brand-ink);
  --bs-border-radius: var(--radius-sm);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #f5f5f7;
    --ink-2: #d2d2d7;
    --muted: #a1a1a6;
    --line: rgba(255, 255, 255, .10);
    --bg: #0b0b0f;
    --bg-soft: #151519;
    --card: #1c1c21;
    --brand: #9d8cff;
    --brand-ink: #b9adff;
    --brand-2: #4cc2ff;
    --brand-tint: rgba(157, 140, 255, .12);
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 28px rgba(0,0,0,.35);
    --shadow-hover: 0 2px 6px rgba(0,0,0,.5), 0 18px 48px rgba(0,0,0,.5);
  }
}

/* ---------- base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
@media (max-width: 991.98px) { body { padding-bottom: 72px; } }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-ink); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { color: var(--ink); letter-spacing: -.025em; font-weight: 700; }
h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.5rem); line-height: 1.08; margin-bottom: .75rem; }
h3 { font-size: 1.15rem; line-height: 1.25; }
:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 2px; border-radius: 6px; }
.skip-link { position: absolute; z-index: 2000; top: 8px; left: 8px; background: var(--card); padding: .5rem 1rem; border-radius: 999px; }
.text-secondary-soft { color: var(--muted) !important; }

/* ultra-wide: let the layout breathe instead of stretching */
.container-xxl { max-width: 1320px; }
@media (min-width: 1800px) {
  body { font-size: 18px; }
  .container-xxl { max-width: 1560px; }
}
@media (min-width: 2400px) {
  body { font-size: 20px; }
  .container-xxl { max-width: 1840px; }
}

.eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand); margin-bottom: .75rem;
}
.lead-soft { font-size: clamp(1.05rem, 1rem + .35vw, 1.3rem); color: var(--muted); line-height: 1.45; max-width: 46ch; }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head .lead-soft { max-width: 60ch; }
.section { padding: clamp(4rem, 8vw, 8rem) 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: #0b0b0f; color: #f5f5f7; }
.section-dark h2, .section-dark h3 { color: #f5f5f7; }
.section-dark .lead-soft, .section-dark p { color: #a1a1a6; }
.section-dark .eyebrow { color: #4cc2ff; }

/* ---------- buttons ---------- */
.btn { font-weight: 600; letter-spacing: -.01em; }
.btn-brand { --bs-btn-color: #fff; --bs-btn-bg: var(--brand); --bs-btn-border-color: var(--brand);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--brand-ink); --bs-btn-hover-border-color: var(--brand-ink);
  --bs-btn-active-bg: var(--brand-ink); --bs-btn-active-color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-brand { --bs-btn-color: #0b0b0f; --bs-btn-hover-color: #0b0b0f; --bs-btn-active-color: #0b0b0f; } }
.btn-soft { --bs-btn-color: var(--brand); --bs-btn-bg: var(--brand-tint); --bs-btn-border-color: transparent;
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--brand); --bs-btn-active-bg: var(--brand); --bs-btn-active-color: #fff; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1030;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.site-header .navbar { min-height: var(--header-h); padding: 0; }
.brand-word { font-weight: 700; font-size: 1.15rem; color: var(--ink); letter-spacing: -.02em; }
.brand-word span { color: var(--brand); }
.brand-mark { width: 40px; height: auto; }
.site-header .nav-link { color: var(--ink-2); font-size: .92rem; font-weight: 500; padding: .5rem .85rem !important; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--ink); }
.navbar-toggler { color: var(--ink); }
.offcanvas { background: var(--bg); color: var(--ink); }

/* ---------- hero ---------- */
.text-gradient { background: linear-gradient(90deg, var(--brand) 0%, var(--brand-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chip, .pill {
  border: 1px solid var(--line); background: var(--card); color: var(--ink-2);
  border-radius: 999px; padding: .4rem .9rem; font-size: .88rem; font-weight: 500; line-height: 1.2;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.chip:hover, .pill:hover { border-color: var(--brand); color: var(--brand); }
.pill.is-active, .chip.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- schools ---------- */
.school-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1199.98px) { .school-grid { grid-template-columns: repeat(2, 1fr); } }

.school-tile {
  display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); color: var(--ink); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
}
.school-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); color: var(--ink); }
.school-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.school-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.school-tile:hover .school-media img { transform: scale(1.04); }
.school-body { padding: 1.25rem 1.35rem 1.4rem; position: relative; display: flex; flex-direction: column; flex: 1; }
.school-icon { position: absolute; top: -22px; right: 1.2rem; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--card); box-shadow: var(--shadow); color: var(--brand); font-size: 1.2rem; }
.school-aud { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: .25rem; }
.school-body h3 { font-size: 1.3rem; margin-bottom: .35rem; }
.school-body p { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.school-more { margin-top: auto; font-weight: 600; font-size: .9rem; color: var(--brand); }
@media (max-width: 767.98px) {
  .school-grid { grid-template-columns: 1fr; gap: .75rem; }
  .school-tile { flex-direction: row; align-items: stretch; }
  .school-media img { height: 100%; }
  .school-media { aspect-ratio: auto; width: 34%; flex: none; }
  .school-body { padding: 1rem 1rem 1rem 1.1rem; }
  .school-body h3 { font-size: 1.1rem; }
  .school-body p { font-size: .88rem; margin-bottom: .5rem; }
  .school-icon { display: none; }
}

/* ---------- filters ---------- */
.filter-bar {
  position: sticky; top: calc(var(--header-h) + 8px); z-index: 10;
  background: color-mix(in srgb, var(--bg-soft) 85%, transparent);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; margin-bottom: 1.75rem;
}
.filter-row { display: grid; grid-template-columns: 2fr 1fr; gap: .75rem; }
@media (max-width: 991.98px) { .filter-row { grid-template-columns: 1fr 1fr; } .filter-search { grid-column: 1 / -1; } }
@media (max-width: 575.98px) { .filter-bar { position: static; } .filter-row { grid-template-columns: 1fr; } }
.filter-search { position: relative; }
.filter-search i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.filter-search input { width: 100%; height: 48px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); padding: 0 1rem 0 2.6rem; outline: 0; }
.filter-search input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint); }
.filter-select { position: relative; }
.filter-select label { position: absolute; top: 6px; left: 1rem; font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); pointer-events: none; }
.filter-select .form-select { height: 48px; border-radius: 999px; border-color: var(--line); background-color: var(--card); color: var(--ink); padding: 1.05rem 2.2rem .2rem 1rem; font-size: .92rem; font-weight: 500; }
.filter-select .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint); }
.pill-row { display: flex; gap: .5rem; margin-top: .9rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.pill-row::-webkit-scrollbar { display: none; }
.pill { white-space: nowrap; }
.filter-meta { display: flex; justify-content: space-between; align-items: center; margin-top: .75rem; font-size: .88rem; color: var(--muted); }

/* ---------- course cards ---------- */
.course-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
@media (min-width: 1800px) { .course-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 2400px) { .course-grid { grid-template-columns: repeat(5, 1fr); } }
.course-card {
  background: var(--card); border-radius: var(--radius); padding: 1.4rem; display: flex; flex-direction: column;
  box-shadow: var(--shadow); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; border: 1px solid transparent;
}
.course-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.course-card:target { border-color: var(--brand); }
.course-card.is-hidden { display: none; }
.course-top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.course-logos { display: flex; gap: .45rem; font-size: 1.6rem; color: var(--ink-2); }
.course-logos i { line-height: 1; }
.course-logos .bi { color: var(--brand); }
.course-school { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--brand); background: var(--brand-tint); padding: .3rem .6rem; border-radius: 999px; white-space: nowrap; }
.course-title { font-size: 1.2rem; margin-bottom: .4rem; }
.course-summary { color: var(--muted); font-size: .95rem; margin-bottom: .75rem; }
.course-for { list-style: none; padding: 0; margin: 0 0 .5rem; display: flex; flex-wrap: wrap; gap: .3rem; }
.course-for li { font-size: .72rem; font-weight: 600; color: var(--brand); border: 1px solid var(--brand-tint); background: transparent; padding: .15rem .5rem; border-radius: 999px; }
.course-fmt { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .35rem; }
.course-fmt li { font-size: .75rem; font-weight: 500; padding: .2rem .55rem; border-radius: 8px; background: var(--bg-soft); color: var(--ink-2); }
.course-actions { margin-top: auto; }
.empty-state { text-align: center; padding: 3rem 1rem; }
.empty-state i { font-size: 2.5rem; color: var(--brand); }
.empty-state p { color: var(--muted); }

/* ---------- career paths ---------- */
.path-tabs { gap: .5rem; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-bottom: 2rem; padding-bottom: 2px; }
.path-tabs::-webkit-scrollbar { display: none; }
.path-tabs .nav-link { white-space: nowrap; border-radius: 999px; color: var(--ink-2); background: var(--bg-soft); font-weight: 500; font-size: .92rem; padding: .55rem 1rem; }
.path-tabs .nav-link.active { background: var(--ink); color: var(--bg); }
.path { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; counter-reset: s; position: relative; }
.path::before { content: ""; position: absolute; top: 22px; left: 22px; right: 22px; height: 2px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); opacity: .35; }
.step { position: relative; padding-top: 3.6rem; }
.step-dot { position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 2px solid var(--brand); color: var(--brand); font-weight: 700; box-shadow: var(--shadow); }
.step:last-child .step-dot { background: var(--brand); color: #fff; }
.step-when { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: .2rem; }
.step h3 { font-size: 1.25rem; margin-bottom: .3rem; }
.step p:last-child { color: var(--muted); font-size: .95rem; }
@media (max-width: 991.98px) {
  .path { grid-template-columns: 1fr; gap: 0; }
  .path::before { top: 22px; bottom: 22px; left: 21px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--brand), var(--brand-2)); }
  .step { padding: 0 0 1.75rem 4.25rem; }
}

/* ---------- tech strip ---------- */
.tech-strip { padding: clamp(3rem, 6vw, 5rem) 0; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee ul { display: flex; gap: clamp(1.5rem, 3vw, 3rem); list-style: none; margin: 0; padding: 0 clamp(.75rem, 1.5vw, 1.5rem); }
.marquee li { font-size: clamp(2rem, 1.5rem + 1.5vw, 3rem); color: var(--muted); opacity: .8; transition: color .2s, opacity .2s; }
.marquee li:hover { color: var(--ink); opacity: 1; }
.tech-strip:hover .marquee { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- services ---------- */
.services-wrap { background: var(--bg-soft); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 3.5rem); }
.service-card { height: 100%; background: var(--card); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.service-card i { font-size: 1.6rem; color: var(--brand); }
.service-card p { color: var(--muted); }
.service-card h3 { margin: 1rem 0 .4rem; font-size: 1.15rem; }
.service-card p { margin: 0; font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq .accordion-item { background: transparent; border-color: var(--line); }
.faq .accordion-button { background: transparent; color: var(--ink); font-weight: 600; font-size: 1.05rem; padding: 1.25rem 0; box-shadow: none; }
.faq .accordion-button:not(.collapsed) { color: var(--brand); }
.faq .accordion-body { padding: 0 0 1.25rem; color: var(--muted); }

/* ---------- contact ---------- */
.contact-card { background: var(--bg-soft); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 4rem); }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.contact-list li { display: flex; gap: .75rem; padding: .5rem 0; color: var(--ink-2); }
.contact-list i { color: var(--brand); font-size: 1.1rem; }
.map-wrap { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--card); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }
.lead-form { background: var(--card); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow); }
.lead-form .form-label { font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.lead-form .form-control, .lead-form .form-select { border-radius: 12px; border-color: var(--line); background-color: var(--bg); color: var(--ink); padding: .7rem .9rem; }
.lead-form .form-control:focus, .lead-form .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint); }
.lead-purpose { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
.lead-purpose .btn { border: 1px solid var(--line); border-radius: 12px; font-size: .82rem; font-weight: 600; color: var(--ink-2); padding: .55rem .4rem; line-height: 1.2; }
.lead-purpose .btn-check:checked + .btn { background: var(--brand); border-color: var(--brand); color: var(--bg); }
.lead-purpose .btn-check:focus-visible + .btn { box-shadow: 0 0 0 4px var(--brand-tint); }
.form-done { margin: .75rem 0 0; padding: .7rem .9rem; border-radius: 12px; background: var(--brand-tint); color: var(--ink); font-size: .85rem; }
#leadModal .modal-content { border: 0; border-radius: var(--radius-lg); background: var(--card); }
#leadModal .lead-form { box-shadow: none; padding: 0; }
.form-note { font-size: .8rem; color: var(--muted); text-align: center; margin: .75rem 0 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-soft); padding: 4rem 0 2rem; font-size: .9rem; }
.footer-title { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: .2rem 0; }
.footer-links a, .site-footer a { color: var(--muted); overflow-wrap: anywhere; }
.footer-links a:hover, .site-footer a:hover { color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 1.5rem; color: var(--muted); font-size: .82rem; }

/* ---------- floating actions ---------- */
.wa-float { position: fixed; right: 20px; bottom: 24px; z-index: 1040; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; font-size: 1.6rem; box-shadow: 0 10px 30px rgba(37,211,102,.35); transition: transform .2s; }
.wa-float:hover { color: #fff; transform: scale(1.06); }
.wa-float-text { display: none; }
@media (min-width: 992px) {
  /* Desktop: a labelled "Chat on WhatsApp" pill instead of the round icon */
  .wa-float { width: auto; height: 52px; padding: 0 1.25rem 0 1rem; border-radius: 999px; display: flex; align-items: center; gap: .55rem; font-size: 1.45rem; }
  .wa-float-text { display: inline; font-size: .95rem; font-weight: 600; }
  .wa-float:hover { transform: translateY(-2px); }
}
.mobile-cta { display: none; }
@media (max-width: 991.98px) {
  .wa-float { bottom: 88px; }
  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040; display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: .5rem;
    padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--bg) 85%, transparent); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    border-top: 1px solid var(--line);
  }
  .mobile-cta a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: .72rem; font-weight: 600; color: var(--ink-2); padding: .35rem; border-radius: 12px; }
  .mobile-cta a i { font-size: 1.15rem; }
  .mobile-cta a.is-primary { background: var(--brand); color: #fff; flex-direction: row; gap: .4rem; font-size: .85rem; }
}

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee ul[aria-hidden] { display: none; }
  .marquee ul { flex-wrap: wrap; justify-content: center; }
  * { transition-duration: 0s !important; }
}

/* ---------- print ---------- */
@media print {
  .site-header, .wa-float, .mobile-cta, .filter-bar, .tech-strip, .map-wrap, .lead-form { display: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =================== Redesign: industrial-training first =================== */
.btn-ghost { --bs-btn-color: var(--ink); --bs-btn-bg: transparent; --bs-btn-border-color: var(--line);
  --bs-btn-hover-color: var(--ink); --bs-btn-hover-bg: var(--bg-soft); --bs-btn-hover-border-color: var(--line); --bs-btn-active-bg: var(--bg-soft); }
.rounded-img { width: 100%; border-radius: var(--radius-lg); object-fit: cover; aspect-ratio: 16 / 11; }

/* sprint board illustration */
.hero-visual { padding: 1.5rem 0; }
.board { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-hover); overflow: hidden; }
.board-head { display: flex; align-items: center; gap: .4rem; padding: .85rem 1.1rem; border-bottom: 1px solid var(--line); font-size: .85rem; }
.board-head .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.board-head .dot:nth-child(1) { background: #ff5f57; }
.board-head .dot:nth-child(2) { background: #febc2e; }
.board-head .dot:nth-child(3) { background: #28c840; }
.board-head strong { margin-left: .6rem; color: var(--ink); font-weight: 600; }
.board-sprint { margin-left: auto; font-size: .72rem; font-weight: 600; color: var(--brand); background: var(--brand-tint); padding: .2rem .55rem; border-radius: 999px; }
.board-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; padding: 1rem; background: var(--bg-soft); }
.board-col p { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 .5rem .2rem; }
.board-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.ticket { background: var(--card); border-radius: 12px; padding: .6rem .65rem; box-shadow: 0 1px 2px rgba(0,0,0,.06); display: grid; gap: .25rem; font-size: .78rem; border: 1px solid transparent; }
.ticket strong { color: var(--ink); font-weight: 600; line-height: 1.25; }
.ticket-tag { justify-self: start; font-size: .62rem; font-weight: 600; color: var(--brand); background: var(--brand-tint); padding: .05rem .4rem; border-radius: 6px; }
.ticket-who { justify-self: end; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .58rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.ticket.is-active { border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(26,159,224,.12); }
.ticket.is-done strong { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line); }
.float-card { position: absolute; display: flex; gap: .7rem; align-items: center; background: color-mix(in srgb, var(--card) 85%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); border: 1px solid var(--line);
  border-radius: 16px; padding: .7rem 1rem; box-shadow: var(--shadow); font-size: .82rem; line-height: 1.25; }
.float-card i { font-size: 1.3rem; color: var(--brand); }
.float-card strong { display: block; color: var(--ink); }
.float-card span { color: var(--muted); }
.fc-a { left: -22px; bottom: -6px; }
.fc-b { right: -18px; bottom: -26px; }
.fc-b i { color: #28a745; }
@media (max-width: 767.98px) {
  .board-cols { grid-template-columns: repeat(2, 1fr); }
  .float-card { position: static; margin-top: .75rem; }
  .hero-visual { display: grid; padding: 0; }
}

/* trainers strip */
.trust { padding: 1.75rem 0 2.5rem; }
.trust .container-xxl { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem 2.5rem; border-top: 1px solid var(--line); padding-top: 1.75rem; }
.trust p { margin: 0; color: var(--muted); font-size: .9rem; }
.trust ul { list-style: none; display: flex; flex-wrap: wrap; gap: .75rem 2.5rem; margin: 0; padding: 0; }
.trust li { font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); font-weight: 700; letter-spacing: -.02em; color: var(--ink-2); opacity: .7; }

/* classroom vs workplace */
.compare { background: var(--bg-soft); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2.25rem); }
.compare-head { display: grid; grid-template-columns: 1fr 24px 1.3fr; gap: 1rem; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 0 1.1rem .75rem; }
.compare-head span:last-child { grid-column: 3; color: var(--brand); }
.compare ul { list-style: none; padding: 0; margin: 0; }
.compare li { display: grid; grid-template-columns: 1fr 24px 1.3fr; gap: 1rem; align-items: center; background: var(--card); border-radius: 14px; padding: 1rem 1.1rem; margin-bottom: .6rem; box-shadow: var(--shadow); }
.cmp-old { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(128,128,128,.4); font-size: .95rem; }
.compare li i { color: var(--brand-2); }
.cmp-new { color: var(--ink); font-weight: 600; }
@media (max-width: 575.98px) {
  .compare-head { display: none; }
  .compare li { grid-template-columns: 1fr; gap: .2rem; }
  .compare li i { display: none; }
}

/* training programs */
.train-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(4, 1fr); }
.train-card { position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow); border: 1px solid transparent; transition: transform .3s, box-shadow .3s; }
.train-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.train-card.is-featured { grid-column: span 2; grid-row: span 2; border-color: var(--brand); background: linear-gradient(180deg, var(--brand-tint), var(--card) 45%); }
.train-card.is-featured h3 { font-size: clamp(1.5rem, 1.2rem + .8vw, 2.1rem); }
.train-card.is-featured .train-points { font-size: 1.02rem; gap: .7rem; }
.train-flag { position: absolute; top: 1.25rem; right: 1.25rem; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #fff; background: var(--brand); padding: .25rem .65rem; border-radius: 999px; }
.train-dur { font-size: .78rem; font-weight: 600; color: var(--brand); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .5rem; }
.train-card h3 { font-size: 1.25rem; margin-bottom: .35rem; padding-right: 4.5rem; }
.train-who { color: var(--muted); font-size: .88rem; margin-bottom: 1rem; }
.train-points { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .5rem; font-size: .93rem; color: var(--ink-2); }
.train-points i { color: var(--brand); margin-right: .4rem; font-weight: 700; }
@media (max-width: 1199.98px) { .train-grid { grid-template-columns: repeat(2, 1fr); } .train-card.is-featured { grid-row: auto; } }
@media (max-width: 575.98px) { .train-grid { grid-template-columns: 1fr; } .train-card.is-featured { grid-column: auto; } }

/* live project lifecycle */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.flow li { position: relative; background: var(--bg-soft); border-radius: var(--radius); padding: 1.5rem; }
.flow-num { position: absolute; top: 1.2rem; right: 1.3rem; font-size: .8rem; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.flow li > i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--card); color: var(--brand); font-size: 1.25rem; box-shadow: var(--shadow); margin-bottom: 1rem; }
.flow h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.flow p { color: var(--muted); font-size: .92rem; margin: 0; }
@media (max-width: 991.98px) { .flow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479.98px) { .flow { gap: .75rem; } .flow li { padding: 1.1rem; } .flow p { font-size: .85rem; } }
.roles { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: 2rem; }
.roles-label { color: var(--muted); font-size: .9rem; margin-right: .25rem; }
.role-chip { border: 1px solid var(--line); border-radius: 999px; padding: .4rem .9rem; font-size: .88rem; font-weight: 500; color: var(--ink-2); background: var(--card); }

/* recruitment + communication (dark) */
.duo-card { height: 100%; background: #1c1c21; border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.duo-img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.duo-body { padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column; flex: 1; }
.duo-body h3 { font-size: clamp(1.5rem, 1.2rem + .8vw, 2rem); margin-bottom: 1.25rem; }
.duo-list { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: 1rem; }
.duo-list li { display: flex; gap: .9rem; }
.duo-list i { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(76,194,255,.12); color: #4cc2ff; font-size: 1.1rem; }
.duo-list h4 { font-size: 1rem; font-weight: 600; color: #f5f5f7; margin: 0 0 .15rem; }
.duo-list p { margin: 0; font-size: .9rem; }
.duo-note { margin-top: auto; margin-bottom: 0; font-size: .82rem; color: #8e8e93 !important; border-top: 1px solid rgba(255,255,255,.08); padding-top: 1rem; }
.journey { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: .75rem; }
.journey li { display: flex; align-items: center; gap: .65rem; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 999px; padding: .6rem .9rem .6rem .6rem; color: #f5f5f7; font-size: .9rem; font-weight: 500; }
.journey span { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #4cc2ff; color: #0b0b0f; font-weight: 700; font-size: .8rem; }
.journey li:last-child { background: #f5f5f7; color: #0b0b0f; }
.journey li:last-child span { background: #3b2e8f; color: #fff; }
@media (max-width: 991.98px) { .journey { grid-template-columns: 1fr 1fr; } }
@media (max-width: 479.98px) { .journey { grid-template-columns: 1fr; } }

.legal { margin: 2.5rem 0 0; font-size: .75rem; color: var(--muted); max-width: 90ch; }

.train-lead { color: var(--ink-2); font-size: 1rem; margin-bottom: 1.1rem; }
.train-facts { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.train-facts li { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: .65rem .75rem; }
.train-facts strong { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.train-facts span { font-weight: 600; font-size: .9rem; color: var(--ink); }
.train-img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--radius); margin-bottom: 1.25rem; }
@media (max-width: 479.98px) { .train-facts { grid-template-columns: 1fr; } }

@media (max-width: 575.98px) { .board-sprint { display: none; } }


/* =====================================================================
   MULTIPAGE LAYOUT
   header menus · hero slider · page heads · course pages · shared bands
   ===================================================================== */

/* ---------- header: dropdown menus ---------- */
.site-header .nav-link { padding: .5rem .7rem !important; }
.navbar-nav .nav-item.dropdown { display: flex; align-items: center; position: relative; }
.nav-caret { border: 0; background: transparent; color: var(--muted); padding: .5rem .3rem .5rem 0; margin-left: -.45rem; font-size: .65rem; line-height: 1; }
.nav-caret:hover, .nav-caret[aria-expanded="true"] { color: var(--ink); }
.navbar-nav .mega-menu { top: 100%; left: 0; }
.mega-menu { border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-hover); background: var(--card); padding: .5rem; min-width: 250px; margin-top: 0 !important; }
.mega-menu li { break-inside: avoid; }
.mega-menu .dropdown-item { border-radius: 10px; font-size: .92rem; color: var(--ink-2); padding: .45rem .75rem; white-space: normal; }
.mega-menu .dropdown-item:hover, .mega-menu .dropdown-item:focus { background: var(--bg-soft); color: var(--ink); }
.mega-wide { min-width: 520px; columns: 2; column-gap: .25rem; }
.navbar-nav .nav-item.dropdown:nth-child(n+4) .dropdown-menu { right: 0; left: auto; }
@media (hover: hover) and (min-width: 1200px) {
  .navbar-nav .nav-item.dropdown:hover > .dropdown-menu { display: block; }
}

/* ---------- header: mobile menu ---------- */
.m-nav { list-style: none; padding: 0; margin: 0; }
.m-row { display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.m-link { flex: 1; display: flex; gap: .75rem; align-items: center; padding: .9rem 0; font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.m-link i { color: var(--brand); }
.m-toggle { border: 0; background: transparent; color: var(--muted); padding: .9rem .5rem; }
.m-toggle i { display: inline-block; transition: transform .2s; }
.m-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
.m-sub { list-style: none; padding: .4rem 0 .8rem 2.1rem; margin: 0; }
.m-sub a { display: block; padding: .4rem 0; color: var(--ink-2); }

/* ---------- breadcrumbs ---------- */
.crumbs .breadcrumb { margin-bottom: 1rem; font-size: .85rem; --bs-breadcrumb-divider-color: var(--muted); --bs-breadcrumb-item-active-color: var(--muted); }
.crumbs .breadcrumb-item a { color: var(--muted); }
.crumbs .breadcrumb-item a:hover { color: var(--brand); }

/* ---------- hero slider (home) ---------- */
.hero-slider { --slide-h: clamp(540px, 82vh, 720px); background: #0b0b0f; position: relative; }
.hero-slider .carousel-item { min-height: var(--slide-h); }
.hero-slider .carousel-item > .container-xxl { position: relative; z-index: 2; min-height: var(--slide-h); display: flex; align-items: center; padding-top: 3rem; padding-bottom: 5rem; }
.slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(11, 11, 15, .9) 0%, rgba(11, 11, 15, .66) 50%, rgba(11, 11, 15, .25) 100%); }
.slide-copy { max-width: 680px; }
.slide-eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #4cc2ff; margin-bottom: .9rem; }
.slide-title { font-size: clamp(2.3rem, 1.2rem + 3.6vw, 4.5rem); line-height: 1.04; letter-spacing: -.04em; font-weight: 800; color: #fff; margin-bottom: 1.1rem; }
.slide-title .text-gradient { background: linear-gradient(90deg, #b9adff, #4cc2ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.slide-text { font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); color: rgba(255, 255, 255, .85); max-width: 54ch; margin-bottom: 1.25rem; }
.slide-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.slide-chips a { display: inline-block; color: #fff; border: 1px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .1); border-radius: 999px; padding: .4rem .95rem; font-size: .92rem; font-weight: 500; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.slide-chips a:hover { background: #fff; color: #0b0b0f; }
.hero-slider .carousel-indicators { margin-bottom: 1.5rem; z-index: 3; }
.hero-slider .carousel-indicators [data-bs-target] { width: 34px; height: 4px; border: 0; border-radius: 2px; }
.hero-slider .carousel-control-prev, .hero-slider .carousel-control-next { z-index: 3; width: 7%; }
.slide-toggle { position: absolute; z-index: 4; right: 1.25rem; bottom: 1.1rem; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; }
.slide-toggle:hover { background: #fff; color: #0b0b0f; }
@media (max-width: 767.98px) {
  .hero-slider .carousel-control-prev, .hero-slider .carousel-control-next { display: none; }
  .slide-shade { background: linear-gradient(180deg, rgba(11, 11, 15, .72) 0%, rgba(11, 11, 15, .85) 100%); }
  .hero-slider .carousel-item > .container-xxl { align-items: flex-end; }
}

/* ---------- page head (hubs, landing and course pages) ---------- */
.page-head { position: relative; overflow: hidden; padding: clamp(1.75rem, 4vw, 3.5rem) 0 clamp(2rem, 5vw, 4rem); }
.page-head::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 70vw; height: 70vw; max-width: 1000px; max-height: 1000px;
  background: radial-gradient(closest-side, rgba(26, 159, 224, .10), transparent 70%), radial-gradient(closest-side at 30% 60%, rgba(59, 46, 143, .10), transparent 70%);
  pointer-events: none; z-index: -1;
}
.display-page { font-size: clamp(2.1rem, 1.2rem + 3vw, 3.9rem); line-height: 1.05; letter-spacing: -.04em; font-weight: 800; margin-bottom: 1rem; }
.page-head .lead-soft { max-width: 56ch; }

/* ---------- audience picker ---------- */
.audience-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); }
.audience-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.audience-card { display: flex; align-items: center; gap: 1rem; background: var(--card); border-radius: var(--radius); padding: 1.15rem 1.25rem; box-shadow: var(--shadow); color: var(--ink); transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; }
.audience-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); color: var(--ink); }
.audience-icon { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); font-size: 1.4rem; }
.audience-text strong { display: block; font-size: 1.05rem; letter-spacing: -.01em; }
.audience-text span { color: var(--muted); font-size: .9rem; line-height: 1.3; display: block; }
.audience-card .go { margin-left: auto; color: var(--brand); transition: transform .2s; }
.audience-card:hover .go { transform: translateX(4px); }
@media (max-width: 991.98px) { .audience-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .audience-grid, .audience-grid.cols-2 { grid-template-columns: 1fr; } .audience-icon { width: 46px; height: 46px; } }

/* ---------- course cards as links ---------- */
.course-card { position: relative; }
.course-title a, .train-card h3 a { color: inherit; }
.course-card:hover .course-title a, .train-card:hover h3 a { color: var(--brand); }
.course-actions { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: auto; }
.course-more { font-weight: 600; font-size: .9rem; color: var(--brand); }
.course-actions .btn, .train-card > .btn { position: relative; z-index: 2; }

/* industrial-training grids: large flagship only in 'spotlight' mode */
.train-card.is-featured { grid-column: auto; grid-row: auto; }
.train-card.is-big { grid-column: span 2; grid-row: span 2; }
.train-grid.is-cols3 { grid-template-columns: repeat(3, 1fr); }
.train-grid.is-cols4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1199.98px) { .train-grid.is-cols4 { grid-template-columns: repeat(2, 1fr); } .train-card.is-big { grid-row: auto; } }
@media (max-width: 991.98px) { .train-grid.is-cols3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .train-grid.is-cols3, .train-grid.is-cols4, .train-grid.is-spotlight { grid-template-columns: 1fr; } .train-card.is-big { grid-column: auto; } }

/* ---------- split cards (home) ---------- */
.split-card { height: 100%; display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.split-img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.split-body { padding: clamp(1.4rem, 3vw, 2.2rem); display: flex; flex-direction: column; flex: 1; }
.split-body h3 { font-size: clamp(1.5rem, 1.2rem + .8vw, 2rem); margin-bottom: .4rem; }
.split-body > p:not(.eyebrow) { color: var(--muted); }
.link-list { list-style: none; padding: 0; margin: .5rem 0 1.5rem; display: grid; gap: .45rem; }
.link-list a { color: var(--ink-2); font-weight: 500; }
.link-list a:hover { color: var(--brand); }
.link-list i { color: var(--brand); margin-right: .5rem; }

/* ---------- course page ---------- */
.course-hero-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow); }
.course-hero-logos { display: flex; flex-wrap: wrap; gap: .85rem; font-size: 2.4rem; color: var(--ink-2); margin-bottom: 1.1rem; line-height: 1; }
.course-hero-logos .bi { color: var(--brand); }
.fact-list { list-style: none; padding: 0; margin: 0; }
.fact-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-top: 1px solid var(--line); font-size: .95rem; }
.fact-list strong { flex: none; padding-top: .15rem; color: var(--muted); font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.fact-list span { text-align: right; color: var(--ink); font-weight: 500; }
.outcome-card { background: var(--bg-soft); border-radius: var(--radius-lg); padding: 1.75rem; }
.outcome-card h3 { font-size: 1.2rem; display: flex; gap: .5rem; align-items: center; margin-bottom: 1rem; }
.outcome-card h3 i { color: var(--brand-2); }
.outcome-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.outcome-card li { position: relative; padding-left: 1.6rem; color: var(--ink-2); }
.outcome-card li::before { content: "\F26A"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 0; color: var(--brand); }
.project-box { display: flex; gap: 1rem; align-items: flex-start; background: var(--brand-tint); border-radius: var(--radius); padding: 1.1rem 1.25rem; margin-top: 1.5rem; }
.project-box > i { font-size: 1.5rem; color: var(--brand); }
.project-box strong { color: var(--ink); }
.project-box p { margin: 0; color: var(--ink-2); }
.module-card { position: relative; height: 100%; background: var(--card); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); }
.module-num { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .06em; color: var(--brand); margin-bottom: .6rem; }
.module-card h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.module-card p { color: var(--muted); font-size: .93rem; margin: 0; }
.hub-links { list-style: none; padding: 0; margin: .8rem 0 0; display: grid; gap: .35rem; }
.hub-links a { font-weight: 600; font-size: .93rem; }
.hub-table th, .hub-table td { padding: .85rem 1rem; vertical-align: top; }
.hub-table thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.hub-table td a { font-weight: 600; white-space: nowrap; }
@media (max-width: 767.98px) {
  /* Phones: each language row becomes a small card instead of a sideways-scrolling table */
  .hub-table thead { display: none; }
  .hub-table tr { display: block; padding: .9rem 1rem; border-bottom: 1px solid var(--bs-border-color); }
  .hub-table th, .hub-table td { display: block; padding: .1rem 0; border: 0; }
  .hub-table td:nth-child(3) { color: var(--muted); font-size: .88rem; }
  .hub-table td:last-child { padding-top: .35rem; }
  .hub-table td a { white-space: normal; }
}
.topic-links { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1.5rem; }
.topic-links .topic-label { color: var(--muted); font-size: .9rem; margin-right: .25rem; }
.topic-links a { padding: .35rem .85rem; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); font-size: .88rem; font-weight: 600; }

/* ---------- grouped course lists ---------- */
.group-head { font-size: 1.5rem; margin: 2.75rem 0 1rem; }
.group-block:first-child .group-head { margin-top: 0; }

/* ---------- call-to-action band ---------- */
.cta-band { padding: clamp(2rem, 5vw, 4rem) 0; }
.cta-inner { background: linear-gradient(120deg, #2a2070, #3b2e8f 55%, #1a7fc0); color: #fff; border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 3rem); display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; }
.cta-inner h2 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); margin-bottom: .4rem; }
.cta-inner p { margin: 0; color: rgba(255, 255, 255, .85); max-width: 52ch; }

/* ---------- misc ---------- */
.duo-note a { color: #4cc2ff; }
.section.pt-4 { padding-top: 1.5rem; }

/* ---------- paid counselling slot (lead form) ---------- */
.lead-price { display: block; font-size: .74rem; font-weight: 700; opacity: .8; margin-top: 2px; }
.lead-slot { padding: .9rem; border-radius: var(--radius-sm); background: var(--brand-tint); }
.lead-slot-note { font-size: .85rem; color: var(--ink); margin: 0 0 .75rem; }
.lead-slot-note .bi { color: var(--brand); margin-right: .25rem; }

/* ---------- header account link ---------- */
.nav-account { font-size: .88rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.nav-careers { font-size: .88rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; display: inline-flex; align-items: center; gap: .3rem; }
.nav-careers:hover, .nav-careers.active { color: var(--brand); }
@media (max-width: 1399.98px) {
  /* Tight desktop widths: icon + Hiring badge only, so the menu stays on one line (the word stays for screen readers) */
  .nav-careers-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav-careers { margin-right: .75rem !important; }
}
/* Desktop menu on one line with the Careers item */
@media (min-width: 1200px) {
  .site-header .nav-link, .site-header .navbar-collapse .btn, .site-header .nav-account, .nav-careers { white-space: nowrap; }
  .site-header .nav-link { padding: .5rem .55rem !important; }
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .site-header .nav-link { padding: .5rem .45rem !important; }
}
@media (min-width: 1200px) and (max-width: 1299.98px) {
  .site-header .nav-link, .site-header .nav-account, .nav-careers { font-size: .85rem; }
}
.hiring-badge { display: inline-block; padding: .1rem .45rem; border-radius: 999px; background: var(--gold); color: #fff; font-size: .64rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1.4; }
.nav-account:hover { color: var(--brand); }

/* ---------- account pages (sign in, sign up, my account) ---------- */
.account-section { background: var(--bg-soft); min-height: 60vh; }
.account-card { max-width: 480px; margin: 0 auto; padding: 2rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.account-card-wide { max-width: none; }
@media (max-width: 575.98px) { .account-card { padding: 1.4rem; } }
.request-card { padding: 1.25rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.request-chip { display: inline-block; padding: .2rem .65rem; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--brand-tint); color: var(--brand); }
.request-chip.is-warn { background: rgba(217, 154, 30, .15); color: #8a5a00; }
.request-chip.is-ok { background: rgba(37, 160, 90, .14); color: #1d7a45; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .request-chip.is-warn { color: #f0c060; }
  :root:not([data-theme="light"]) .request-chip.is-ok { color: #6fd39b; }
}

/* ---------- lead form: thank-you and error ---------- */
.lead-thanks { text-align: center; padding: 1.5rem .5rem .5rem; animation: lead-pop .45s ease-out; }
.lead-thanks:focus { outline: none; }
.lead-thanks-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1rem; background: var(--brand-tint); color: var(--brand); font-size: 1.9rem; }
.lead-thanks-title { font-size: 1.35rem; font-weight: 700; margin-bottom: .6rem; }
.lead-thanks-text { color: var(--ink-2); margin: 0 auto 1.25rem; max-width: 34rem; }
.form-error { margin: 0 0 .9rem; padding: .7rem .9rem; border-radius: 12px; background: rgba(220, 53, 69, .1); color: var(--ink); font-size: .85rem; }
.form-error .bi { color: #dc3545; margin-right: .25rem; }
@keyframes lead-pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lead-thanks { animation: none; } }