/* Corporate training (/corporate-training). Tokens come from .lx in listing-ui.css; buttons from hero-btn.css.
   Prefixes: co = page, pb = program builder, st = engagement stepper, ce = enquiry form. */
.co-wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }

/* ---------- hero ---------- */
.co-hero { padding: clamp(32px, 6vw, 80px) 0 clamp(28px, 4vw, 52px); background: radial-gradient(90% 70% at 85% 0%, rgba(var(--lx-glow), .14), transparent 60%); }
.co-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.co-title { max-width: 18ch; font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 800; line-height: 1.08; letter-spacing: -.035em; color: var(--lx-ink); text-wrap: balance; }
.co-title .lx-grad { display: block; padding-bottom: .08em; }
.co-lead { max-width: 52ch; margin-top: 18px; font-size: 1.0625rem; line-height: 1.65; }
.co-actions { margin-top: 28px; }
.co-nums { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 12px clamp(18px, 3vw, 40px); margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--lx-line); }
.co-nums b { display: block; font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 800; color: var(--lx-ink); font-variant-numeric: tabular-nums; }
.co-nums span { font-size: .8125rem; color: var(--lx-muted); }
.co-sec { padding: clamp(40px, 6vw, 84px) 0; }
.co-sec--tint { background: var(--lx-surface); }
.co-head { margin-bottom: 30px; }
.co-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.03em; color: var(--lx-ink); }
.co-head p { max-width: 60ch; margin-top: 8px; color: var(--lx-muted); }

/* ---------- engagement stepper ---------- */
.st { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.st-list { position: relative; display: grid; gap: 0; }
.st-step { position: relative; display: flex; gap: 18px; padding-bottom: 38px; cursor: pointer; }
.st-step:last-child { padding-bottom: 0; }
.st-step::before { content: ""; position: absolute; left: 19px; top: 42px; bottom: 2px; width: 2px; background: var(--lx-line); }
.st-step:last-child::before { display: none; }
.st-step::after { content: ""; position: absolute; left: 19px; top: 42px; width: 2px; height: 0; background: var(--lx-a); transition: height .6s cubic-bezier(.2, .7, .2, 1); }
.st-step.is-done::after { height: calc(100% - 44px); }
.st-dot { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 2px solid var(--lx-line); border-radius: 50%; background: var(--lx-card); color: var(--lx-muted); font-size: .9rem; font-weight: 800; transition: background-color .3s, border-color .3s, color .3s, transform .3s; }
.st-dot i { display: none; }
.st-step.is-active .st-dot { border-color: var(--lx-a); color: var(--lx-a); transform: scale(1.08); box-shadow: 0 0 0 6px rgba(var(--lx-glow), .14); }
.st-step.is-done .st-dot { border-color: transparent; background: var(--lx-ink); color: var(--lx-bg); }
.st-step.is-done .st-dot b { display: none; }
.st-step.is-done .st-dot i { display: block; }
.st-body { display: grid; gap: 4px; padding-top: 6px; transition: opacity .3s; }
.st-body h3 { font-size: 1.0625rem; font-weight: 800; color: var(--lx-ink); }
.st-body p { max-width: 46ch; font-size: .9375rem; line-height: 1.6; }
.st-body small { display: none; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 700; color: var(--lx-a); }
.st-step.is-pending .st-body { opacity: .55; }
.st-card { position: sticky; top: 110px; display: grid; gap: 10px; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--lx-line); border-radius: 26px; background: var(--lx-card); box-shadow: var(--lx-shadow-hover); }
.st-card.swap { animation: st-swap .45s cubic-bezier(.2, .7, .2, 1); }
.st-card__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, #0e7490, #2563eb); color: #fff; font-size: 1.4rem; }
.st-card small { font-size: .8125rem; font-weight: 700; color: var(--lx-muted); }
.st-card h3 { font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em; color: var(--lx-ink); }
.st-card p { line-height: 1.65; }
.st-card__out { display: grid; gap: 2px; margin-top: 6px; padding: 14px 16px; border: 1px dashed var(--lx-line); border-radius: 14px; background: var(--lx-surface); }
.st-card__out span { font-size: .75rem; font-weight: 700; color: var(--lx-muted); }
.st-card__out b { font-size: .975rem; color: var(--lx-ink); }
.st-prog { height: 4px; border-radius: 4px; background: var(--lx-soft); overflow: hidden; }
.st-prog i { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--lx-a), var(--lx-b)); transition: width .6s cubic-bezier(.2, .7, .2, 1); }
@keyframes st-swap { from { opacity: .4; transform: translateY(8px); } }

/* ---------- included ---------- */
.co-inc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--lx-line); }
.co-inc > li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 2px; align-content: start; padding: 26px 24px 26px 0; border-bottom: 1px solid var(--lx-line); }
.co-inc > li:not(:nth-child(3n)) { border-right: 1px solid var(--lx-line); padding-right: 24px; }
.co-inc > li:not(:nth-child(3n+1)) { padding-left: 24px; }
.co-inc > li > i { grid-row: span 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--lx-soft); color: var(--lx-a); font-size: 1.15rem; transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.co-inc > li:hover > i { transform: translateY(-3px) rotate(-6deg); }
.co-inc b { font-size: 1rem; color: var(--lx-ink); }
.co-inc span { font-size: .875rem; line-height: 1.55; color: var(--lx-muted); }

/* ---------- enquiry form ---------- */
.co-form { display: grid; gap: 28px; }
.ce { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); border: 1px solid var(--lx-line); border-radius: 28px; background: var(--lx-card); box-shadow: var(--lx-shadow); overflow: hidden; }
.ce-aside { position: relative; display: flex; flex-direction: column; gap: 18px; padding: clamp(26px, 3.4vw, 46px); color: #b4c6d9; background: radial-gradient(120% 90% at 100% 0%, rgba(37, 99, 235, .5), transparent 60%), radial-gradient(90% 70% at 0% 100%, rgba(14, 116, 144, .5), transparent 60%), #08182b; }
.ce-aside h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.12; color: #fff; }
.ce-aside p { max-width: 38ch; line-height: 1.65; }
.ce-pts { display: grid; gap: 18px; margin-top: 6px; }
.ce-pts li { display: flex; gap: 14px; }
.ce-pts i { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .1); color: #67e8f9; font-size: 1.05rem; }
.ce-pts span { display: grid; gap: 2px; font-size: .875rem; line-height: 1.5; }
.ce-pts b { font-size: .95rem; color: #fff; }
.ce-contact { display: grid; gap: 10px; margin-top: auto; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); }
.ce-contact a { display: inline-flex; align-items: center; gap: 10px; width: fit-content; color: #fff !important; font-weight: 700; text-decoration: none !important; }
.ce-contact a:hover { color: #67e8f9 !important; }
.ce-form { padding: clamp(24px, 3.4vw, 46px); }
.ce-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.ce-f { display: grid; align-content: start; gap: 7px; min-width: 0; }
.ce-f--full { grid-column: 1 / -1; }
.ce-f label, .ce-f > label { font-size: .8125rem; font-weight: 800; color: var(--lx-ink); }
.ce .form-control, .ce .form-select { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid var(--lx-line); border-radius: 14px; background-color: var(--lx-surface) !important; color: var(--lx-ink); font: inherit; font-size: .9375rem; box-shadow: none; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.ce textarea.form-control { min-height: 118px; padding: 12px 14px; resize: vertical; }
.ce .form-control::placeholder { color: var(--lx-muted); opacity: .9; }
.ce .form-control:focus, .ce .form-select:focus { border-color: var(--lx-a); background-color: var(--lx-card) !important; box-shadow: 0 0 0 4px rgba(var(--lx-glow), .18); outline: none; }
.ce .input-validation-error { border-color: #dc2626 !important; box-shadow: 0 0 0 3px rgba(220, 38, 38, .15); }
.ce-phone { display: grid; grid-template-columns: minmax(96px, .42fr) minmax(0, 1fr); gap: 8px; }
.ce-chips { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.ce-chips button { min-height: 50px; padding: 0 4px; border: 1px solid var(--lx-line); border-radius: 14px; background: var(--lx-surface); color: var(--lx-ink); font: inherit; font-size: .8125rem; font-weight: 700; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s, transform .2s; }
.ce-chips button:hover { border-color: rgba(var(--lx-glow), .5); transform: translateY(-1px); }
.ce-chips button[aria-checked="true"] { border-color: transparent; background: linear-gradient(135deg, #0e7490, #2563eb); color: #fff; }
.ce-chips:has(+ .ce-sr.input-validation-error) button { border-color: #dc2626; }
.ce-sr { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ce-topics { display: flex; flex-wrap: wrap; gap: 6px; }
.ce-topics button { min-height: 32px; padding: 0 12px; border: 1px dashed var(--lx-line); border-radius: 999px; background: transparent; color: var(--lx-body); font: inherit; font-size: .8125rem; font-weight: 700; cursor: pointer; transition: border-color .2s, color .2s; }
.ce-topics button:hover { border-color: var(--lx-a); color: var(--lx-a); }
.ce-topics button::before { content: "+ "; color: var(--lx-a); }
.ce-consent { display: flex; align-items: flex-start; gap: 10px; font-size: .875rem; color: var(--lx-body); cursor: pointer; }
.ce-consent input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--lx-a); }
.ce-submit { margin-top: 4px; }
.ce button:focus-visible, .ce-chips button:focus-visible { outline: 2px solid var(--lx-a); outline-offset: 2px; }

@media (max-width: 991.98px) {
    .co-hero__grid, .st { grid-template-columns: minmax(0, 1fr); }
    .ce { grid-template-columns: minmax(0, 1fr); }
    .st-card { display: none; }
    .st-body small { display: inline-flex; }
    .co-inc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .co-inc li, .co-inc li:not(:nth-child(3n)), .co-inc > li:not(:nth-child(3n+1)) { padding: 22px 18px; border-right: 0; }
    .co-inc > li:nth-child(odd) { border-right: 1px solid var(--lx-line); padding-left: 0; }
}
@media (max-width: 639.98px) {
    .co-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ce-grid { grid-template-columns: minmax(0, 1fr); }
    .ce-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .co-inc { grid-template-columns: minmax(0, 1fr); }
    .co-inc > li, .co-inc > li:nth-child(odd) { border-right: 0; padding: 20px 0; }
    .ce-submit.hb { width: 100%; }
    .ce-submit .hb-btn { width: 100%; justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .st-dot, .st-step::after, .co-inc i, .ce-chips button { transition: none; } .st-card.swap { animation: none; } }

/* dark mode: one page colour, the site navy, with a lighter navy for the tinted bands and cards.
   (.lx brings its own near-black, which sat next to the navy header, reviews and footer; the old theme.css also recoloured the form section by its id.) */
[data-bs-theme="dark"] .lx.co { --lx-bg: #05182c; --lx-surface: #0a2037; --lx-card: #082039; --lx-line: rgba(110, 190, 230, .2); }
[data-bs-theme="dark"] .lx.co .co-sec--tint { background: var(--lx-surface); }
[data-bs-theme="dark"] .lx.co .ce { background: #07203a; }
[data-bs-theme="dark"] .lx.co .ce .form-control, [data-bs-theme="dark"] .lx.co .ce .form-select, [data-bs-theme="dark"] .lx.co .ce-chips button { background-color: #05182c !important; }

/* ---------- hero: mentor stage ---------- */
.cm { --dur: 5.2s; position: relative; justify-self: center; width: min(100%, 430px); padding: 8px 14px 0; }
.cm-stage { position: relative; aspect-ratio: 4 / 4.9; }
/* two cards peek out from behind, tilted a few degrees, so the stage reads as a stack */
.cm-stage::before, .cm-stage::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--lx-line); border-radius: 30px; background: var(--lx-card); transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.cm-stage::before { transform: rotate(-4deg) translate(-14px, 8px); opacity: .75; }
.cm-stage::after { transform: rotate(3.5deg) translate(14px, 4px); opacity: .5; }
.cm:hover .cm-stage::before { transform: rotate(-6deg) translate(-22px, 10px); }
.cm:hover .cm-stage::after { transform: rotate(5.5deg) translate(22px, 6px); }
.cm-card { position: absolute; inset: 0; z-index: 1; overflow: hidden; border-radius: 28px; background: #0b1424; box-shadow: 0 30px 60px -30px rgba(2, 20, 40, .7); opacity: 0; transform: translateX(26px) scale(.96); filter: blur(5px); pointer-events: none; transition: opacity .55s ease, transform .75s cubic-bezier(.2, .7, .2, 1), filter .55s ease; }
.cm-card.on { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.cm-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 12%; transform: scale(1.08); transition: transform 1.6s cubic-bezier(.2, .7, .2, 1); }
.cm-card.on > img { transform: scale(1); }
.cm:hover .cm-card.on > img { transform: scale(1.04); }
.cm-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3, 10, 22, .94) 0%, rgba(3, 10, 22, .6) 34%, transparent 62%); pointer-events: none; }
.cm-badge { position: absolute; top: 16px; left: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; background: rgba(8, 20, 38, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; font-size: .75rem; font-weight: 800; }
.cm-badge i { color: #67e8f9; }
.cm-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: grid; gap: 8px; padding: 22px; color: #fff; }
.cm-info > * { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.cm-card.on .cm-info > * { opacity: 1; transform: none; }
.cm-card.on .cm-info > :nth-child(1) { transition-delay: .18s; } .cm-card.on .cm-info > :nth-child(2) { transition-delay: .26s; } .cm-card.on .cm-info > :nth-child(3) { transition-delay: .34s; } .cm-card.on .cm-info > :nth-child(4) { transition-delay: .42s; }
.cm-info h3 { margin: 0; font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.cm-info p { margin: 0; font-size: .875rem; line-height: 1.45; color: rgba(255, 255, 255, .8); }
.cm-info ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 0; padding: 0; list-style: none; }
.cm-info li { padding: 4px 10px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: .72rem; font-weight: 700; color: #fff; }
.cm-info a { justify-self: start; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; color: #67e8f9 !important; font-size: .8125rem; font-weight: 800; text-decoration: none !important; }
.cm-info a i { transition: transform .25s; }
.cm-info a:hover i { transform: translate(2px, -2px); }

.cm-rail { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.cm-rail button { position: relative; display: grid; place-items: center; width: 54px; height: 54px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.cm-rail svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); fill: none; stroke-width: 2; }
.cm-rail circle { stroke: var(--lx-line); stroke-dasharray: 138.2; stroke-dashoffset: 0; }
.cm-rail button[aria-selected="true"] circle { stroke: var(--lx-a); stroke-dashoffset: 0; }
.cm-rail button.run circle { stroke-dashoffset: 138.2; animation: cm-ring var(--dur) linear forwards; }
.cm-rail img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; object-position: center 15%; filter: grayscale(.75); opacity: .75; transition: filter .3s, opacity .3s; }
.cm-rail button:hover { transform: translateY(-3px); }
.cm-rail button:hover img, .cm-rail button[aria-selected="true"] img { filter: none; opacity: 1; }
.cm-rail button[aria-selected="true"] { transform: scale(1.1); }
.cm-rail button:focus-visible { outline: 2px solid var(--lx-a); outline-offset: 3px; }
@keyframes cm-ring { from { stroke-dashoffset: 138.2; } to { stroke-dashoffset: 0; } }

/* ---------- included: tools and tech row ---------- */
.co-inc > li.co-inc__stack { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(240px, .7fr) minmax(0, 2fr); gap: 18px 32px; align-items: center; padding: 26px 0; border-right: 0; }
.co-stack__head { display: flex; align-items: center; gap: 14px; }
.co-stack__head > i { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--lx-soft); color: var(--lx-a); font-size: 1.15rem; }
.co-stack__head span { display: grid; gap: 2px; font-size: .875rem; line-height: 1.5; color: var(--lx-muted); }
.co-stack__head b { font-size: 1rem; color: var(--lx-ink); }
.co-stack { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.co-stack li { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 10px; border: 1px solid var(--lx-line); border-radius: 999px; background: var(--lx-card); color: var(--lx-ink); font-size: .8125rem; font-weight: 700; transition: transform .3s cubic-bezier(.2, .7, .2, 1), border-color .25s, box-shadow .25s; }
.co-stack li img { width: 22px; height: 22px; object-fit: contain; }
.co-stack li:hover { transform: translateY(-3px); border-color: rgba(var(--lx-glow), .55); box-shadow: 0 12px 20px -14px rgba(var(--lx-glow), .8); }
.co-stack__more { padding: 0 !important; border-style: dashed !important; background: transparent !important; }
.co-stack__more a { display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; min-height: 38px; color: var(--lx-a) !important; text-decoration: none !important; }
.co-stack__more a i { transition: transform .25s; }
.co-stack__more:hover a i { transform: translateX(3px); }
@media (prefers-reduced-motion: no-preference) {
    .co-stack li { opacity: 0; transform: translateY(10px); }
    .co-inc.in .co-stack li { opacity: 1; transform: none; transition: opacity .5s ease, transform .6s cubic-bezier(.2, .7, .2, 1), border-color .25s, box-shadow .25s; transition-delay: calc(var(--i) * 45ms); }
    .co-inc.in .co-stack li:hover { transform: translateY(-3px); transition-delay: 0s; }
}
@media (max-width: 991.98px) {
    .co-inc > li.co-inc__stack { grid-template-columns: minmax(0, 1fr); padding: 22px 0; }
    .cm { width: min(100%, 380px); }
}
@media (max-width: 479.98px) {
    .cm { padding-inline: 10px; }
    .cm-info { padding: 18px; }
    .cm-info h3 { font-size: 1.3rem; }
    .cm-rail button { width: 48px; height: 48px; }
    .cm-rail img { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
    .cm-card, .cm-card > img, .cm-info > *, .cm-stage::before, .cm-stage::after, .cm-rail button, .cm-rail img, .co-stack li { transition: none; }
    .cm-rail button.run circle { animation: none; }
}
