:root {
    --bg-deep: #05060b;
    --bg-blue: #264059;
    --bg-purple: #593154;
    --bg-blue-2: #23354c;
    --accent-blue: #68a3df;
    --accent-pink: #ff93e4;
    --text-bright: #f5f7ff;
    --text-heading: #e6ebff;
    --text-muted-a: rgba(198, 210, 255, 0.9);
    --text-muted-b: rgba(243, 246, 255, 0.7);
    --text-faint: rgba(198, 210, 255, 0.55);
    --grad-brand: linear-gradient(45deg, #68a3df 30%, #ff93e4 70%);
    --grad-brand-soft: linear-gradient(160deg, #68a3df 30%, #ff93e4 70%);
    --grad-bg: linear-gradient(180deg, #593154 0%, #23354c 100%);
    --glass-fill: linear-gradient(135deg, rgba(14, 18, 30, 0.72), rgba(6, 10, 18, 0.72));
    --glass-border: 1px solid rgba(198, 210, 255, 0.08);
    --glass-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    --training-font: 'Livvic', system-ui, -apple-system, sans-serif;
    --ease: cubic-bezier(.2,.7,.2,1);
}

/* —— PAGE BASE (training only) —— */
body.training-page {
    background: var(--grad-bg);
    background-attachment: fixed;
    color: var(--text-bright);
    font-family: var(--training-font);
    font-weight: 300;
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.training-page::before {
    content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
    background:
        radial-gradient(900px 600px at 85% 5%, rgba(255, 147, 228, 0.1), transparent 60%),
        radial-gradient(800px 500px at 10% 95%, rgba(104, 163, 223, 0.08), transparent 60%);
}

.training, .training * { box-sizing: border-box; }
.training a { color: var(--accent-pink); text-decoration: none; }
.training h1, .training h2, .training h3, .training h4, .training h5 {
    font-family: var(--training-font); color: var(--text-heading); margin: 0;
    font-weight: 500; letter-spacing: -0.015em; background: none; -webkit-text-fill-color: var(--text-heading);
}
.training p { margin: 0; }

/* —— LAYOUT —— */
.training .wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }
.training .wrap-narrow { max-width: 960px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }
.training section { position: relative; z-index: 1; }

/* —— LEDE (under image hero) —— */
.training .training-lede {
    padding: 60px 32px 0;
    text-align: center;
}
.training .training-lede h1 {
    font-size: clamp(34px, 5vw, 60px); font-weight: 200; line-height: 1.05; letter-spacing: -0.025em;
    background: var(--grad-brand);
    -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
    max-width: 22ch; margin-left: auto; margin-right: auto;
}
.training .training-lede h1 .plain {
    background: none; -webkit-background-clip: initial; background-clip: initial;
    -webkit-text-fill-color: var(--text-heading); color: var(--text-heading);
}
.training .training-lede p.lede {
    font-size: 19px; color: var(--text-muted-a); font-weight: 300;
    max-width: 60ch; margin: 0 auto 32px; line-height: 1.55;
}
.training .training-lede .ctas { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* —— BUTTONS —— */
.training .btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; border-radius: 999px;
    font-family: var(--training-font); font-weight: 500; font-size: 14px; letter-spacing: .03em;
    cursor: pointer; transition: all .2s var(--ease);
    border: none; text-decoration: none;
}
.training .btn-light { background: var(--text-bright); color: var(--bg-deep); }
.training .btn-light:hover { background: var(--accent-pink); color: var(--bg-deep); }
.training .btn-gradient { background: var(--grad-brand); color: var(--bg-deep); font-weight: 600; }
.training .btn-gradient:hover { filter: brightness(1.1); box-shadow: 0 8px 30px rgba(255, 147, 228, 0.3); }
.training .btn-ghost {
    background: rgba(245, 247, 255, 0.06); color: var(--text-bright);
    border: 1px solid rgba(198, 210, 255, 0.18);
}
.training .btn-ghost:hover { background: rgba(245, 247, 255, 0.12); border-color: var(--accent-pink); }
.training .btn-link { background: transparent; color: var(--accent-pink); padding: 14px 0; }
.training .btn-link:hover { color: var(--text-bright); }

/* —— GLASS —— */
.training .glass {
    background: var(--glass-fill);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-radius: 28px; border: var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* —— SNAPSHOT SECTION —— */
.training .snapshot-sec { padding: 60px 32px 80px; }
.training .snapshot-panel {
    padding: 56px 64px; text-align: center; max-width: 860px; margin: 0 auto;
    position: relative; overflow: hidden;
}
.training .snapshot-panel::before {
    content: ''; position: absolute; top: -30%; right: -10%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,147,228,.14), transparent 60%);
    filter: blur(40px); pointer-events: none;
}
.training .snapshot-panel .kicker {
    font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
    color: var(--accent-blue); font-weight: 500; margin-bottom: 18px;
    position: relative; z-index: 1;
}
.training .snapshot-panel h2 {
    font-size: 44px; font-weight: 300; line-height: 1.1; letter-spacing: -0.02em;
    margin-bottom: 20px; position: relative; z-index: 1;
}
.training .snapshot-panel p.sub {
    color: var(--text-muted-a); font-size: 17px; max-width: 52ch; margin: 0 auto 32px;
    font-weight: 300; line-height: 1.55; position: relative; z-index: 1;
}
.training .snapshot-meta {
    display: flex; justify-content: center; gap: 8px; align-items: center;
    margin-top: 14px; clear: both;
    font-size: 12px; color: var(--text-faint); letter-spacing: .08em; text-transform: uppercase;
    position: relative; z-index: 1;
}
.training .snapshot-meta .pip { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-pink); box-shadow: 0 0 8px var(--accent-pink); }

/* —— LOGO STRIP WRAPPER (uses site slider) —— */
.training .training-logos {
    padding: 40px 32px 60px;
    text-align: center;
}
.training .training-logos .logos-title {
    font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
    color: var(--text-faint); font-weight: 500; margin-bottom: 28px;
}

/* —— SECTION HEADER —— */
.training .section-head { text-align: center; margin: 0 auto 56px; max-width: 720px; padding: 0 32px; }
.training .section-head .eyebrow {
    font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
    color: var(--accent-pink); font-weight: 500; margin-bottom: 18px;
}
.training .section-head h2 {
    font-size: 52px; font-weight: 200; line-height: 1.05; letter-spacing: -0.025em;
    margin-bottom: 18px;
}
.training .section-head p {
    color: var(--text-muted-a); font-size: 17px; font-weight: 300; line-height: 1.55;
}

/* —— COURSE SECTIONS —— */
.training .courses { padding: 80px 0 40px; }
.training .courses-intro { text-align: center; padding: 0 32px 60px; }
.training .courses-intro .eyebrow {
    font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
    color: var(--accent-pink); font-weight: 500; margin-bottom: 20px;
}
.training .courses-intro h2 {
    font-size: 56px; font-weight: 200; line-height: 1.05; letter-spacing: -0.03em;
    max-width: 18ch; margin: 0 auto 20px;
}
.training .courses-intro p {
    color: var(--text-muted-a); font-size: 18px; max-width: 60ch; margin: 0 auto;
    font-weight: 300;
}

.training .course {
    padding: 80px 32px;
    position: relative;
}
.training .course-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 380px; gap: 72px;
    align-items: start;
}
.training .course.reverse .course-inner { grid-template-columns: 380px 1fr; }
.training .course.reverse .course-trainer { order: -1; }

.training .course-body .badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px; border-radius: 999px;
    background: rgba(104, 163, 223, 0.12);
    border: 1px solid rgba(104, 163, 223, 0.3);
    color: var(--accent-blue);
    font-size: 11px; font-weight: 500; letter-spacing: .15em; text-transform: uppercase;
    margin-bottom: 24px;
}
.training .course.c2 .course-body .badge { background: rgba(255,147,228,.1); border-color: rgba(255,147,228,.3); color: var(--accent-pink); }
.training .course.c3 .course-body .badge {
    background: linear-gradient(45deg, rgba(104,163,223,.15), rgba(255,147,228,.15));
    border-color: rgba(198, 210, 255, 0.3); color: var(--text-bright);
}
.training .course-body h3 {
    font-size: 46px; font-weight: 200; line-height: 1.05; letter-spacing: -0.025em;
    margin-bottom: 20px;
}
.training .course-body .lede {
    font-size: 19px; color: var(--text-muted-a); line-height: 1.55; font-weight: 300;
    margin-bottom: 28px; max-width: 52ch;
}
.training .course-meta {
    display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px;
}
.training .course-meta .m {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px; border-radius: 999px;
    background: rgba(245, 247, 255, 0.04);
    border: 1px solid rgba(198, 210, 255, 0.1);
    font-size: 12px; color: var(--text-muted-a); font-weight: 400;
    letter-spacing: .02em;
}
.training .course-meta .m svg { width: 14px; height: 14px; color: var(--text-faint); }

.training .course-cta { display: flex; gap: 12px; align-items: center; margin-bottom: 36px; flex-wrap: wrap; }

/* Accordion */
.training .accordion { border-top: 1px solid rgba(198, 210, 255, 0.1); max-width: 640px; }
.training .acc-item { border-bottom: 1px solid rgba(198, 210, 255, 0.1); }
.training .acc-item summary {
    list-style: none; cursor: pointer;
    padding: 18px 0;
    display: flex; justify-content: space-between; align-items: center;
    color: var(--text-bright); font-size: 15px; font-weight: 500;
    transition: color .2s var(--ease);
}
.training .acc-item summary::-webkit-details-marker { display: none; }
.training .acc-item summary:hover { color: var(--accent-pink); }
.training .acc-item summary .chev {
    width: 24px; height: 24px; color: var(--accent-pink);
    transition: transform .3s var(--ease);
    flex-shrink: 0;
}
.training .acc-item[open] summary .chev { transform: rotate(45deg); }
.training .acc-item .acc-body {
    padding: 4px 0 22px; color: var(--text-muted-a);
    font-size: 16px; font-weight: 300; line-height: 1.65; max-width: 60ch;
}
.training .acc-item .acc-body ul { padding-left: 18px; margin: 6px 0; }
.training .acc-item .acc-body li { margin: 4px 0; }

/* Trainer card */
.training .course-trainer { position: sticky; top: 80px; }
.training .trainer-card {
    padding: 32px 28px 28px;
    text-align: center;
}
.training .trainer-photo {
    width: 132px; height: 132px; border-radius: 50%;
    margin: 0 auto 22px;
    background: var(--grad-brand-soft);
    position: relative; overflow: hidden;
    border: 1px solid rgba(198, 210, 255, 0.15);
    box-shadow: 0 16px 40px rgba(0,0,0,.4);
}
.training .trainer-photo img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.training .trainer-card .name {
    font-size: 20px; color: var(--text-bright); font-weight: 500;
    margin-bottom: 6px;
}
.training .trainer-card .title {
    font-size: 12px; letter-spacing: .15em; text-transform: uppercase;
    color: var(--accent-pink); font-weight: 500; margin-bottom: 16px;
}
.training .trainer-card .bio {
    font-size: 15px; color: var(--text-muted-a); font-weight: 300; line-height: 1.6;
    max-width: 32ch; margin: 0 auto;
}
.training .trainer-card .credentials {
    margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(198, 210, 255, 0.08);
    display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 12px;
    font-size: 13px; color: var(--text-faint); letter-spacing: .05em;
}

/* Course divider — gradient line */
.training .course-divider {
    max-width: 1200px; margin: 0 auto; padding: 0 32px;
    height: 1px;
}
.training .course-divider .line {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(198, 210, 255, 0.2), transparent);
}

/* —— THE PATH (funnel) —— */
.training .path-sec { padding: 120px 32px 100px; }
.training .path-steps {
    max-width: 1100px; margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 0;
}
.training .path-step { text-align: center; position: relative; padding: 0 4px; }
.training .path-step .node {
    width: 76px; height: 76px; border-radius: 50%;
    margin: 0 auto 14px;
    background: var(--glass-fill);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(198, 210, 255, 0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
    color: var(--text-muted-a);
    position: relative;
    transition: all .3s var(--ease);
}
.training .path-step.origin .node {
    background: var(--grad-brand);
    color: var(--bg-deep); font-weight: 600;
    border: none;
    box-shadow: 0 0 40px rgba(255,147,228,.3);
}
.training .path-step.final .node {
    background: rgba(104, 163, 223, 0.15);
    border-color: rgba(104, 163, 223, 0.4);
    color: var(--accent-blue);
}
.training .path-step .step-label {
    font-size: 15px; color: var(--text-bright); font-weight: 500;
    margin-bottom: 4px;
}
.training .path-step .step-sub {
    font-size: 12px; color: var(--text-faint); font-weight: 300;
    letter-spacing: .03em;
}
.training .path-arrow {
    color: rgba(198, 210, 255, 0.3); font-size: 18px; font-weight: 300;
    display: flex; align-items: center; justify-content: center;
    padding-bottom: 48px;
}
.training .path-arrow svg { width: 32px; height: 14px; }
.training .path-subtext {
    text-align: center; color: var(--text-muted-a); font-size: 15px; font-weight: 300;
    max-width: 60ch; margin: 60px auto 0; line-height: 1.6;
}

/* —— TESTIMONIALS WRAPPER (uses site widget) —— */
.training .training-testimonials {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 32px 60px;
}

/* —— TEAM WRAPPER (uses site team.php partial) —— */
.training .team-sec { padding: 60px 32px 80px; }

/* —— CLOSING CTA —— */
.training .close-sec { padding: 100px 32px 140px; }
.training .close-panel {
    padding: 80px 48px; text-align: center; max-width: 900px; margin: 0 auto;
    position: relative; overflow: hidden;
}
.training .close-panel::before {
    content: ''; position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
    width: 800px; height: 500px;
    background: radial-gradient(ellipse, rgba(255,147,228,.15), transparent 60%);
    filter: blur(40px); pointer-events: none;
}
.training .close-panel h2 {
    font-size: 56px; font-weight: 200; line-height: 1.05; letter-spacing: -0.03em;
    margin-bottom: 22px; position: relative; z-index: 1;
}
.training .close-panel p {
    color: var(--text-muted-a); font-size: 18px; font-weight: 300; line-height: 1.55;
    max-width: 52ch; margin: 0 auto 40px; position: relative; z-index: 1;
}
.training .close-panel .ctas { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; position: relative; z-index: 1; }

/* —— RESPONSIVE —— */
@media (max-width: 980px) {
    .training .course-inner,
    .training .course.reverse .course-inner { grid-template-columns: 1fr; gap: 40px; }
    .training .course.reverse .course-trainer { order: 0; }
    .training .course-trainer { position: static; max-width: 380px; margin: 0 auto; }
    .training .path-steps { grid-template-columns: 1fr; gap: 32px; }
    .training .path-arrow { padding: 0; transform: rotate(90deg); }
    .training .section-head h2,
    .training .courses-intro h2,
    .training .close-panel h2 { font-size: 38px; }
    .training .course-body h3 { font-size: 34px; }
    .training .snapshot-panel { padding: 40px 28px; }
    .training .snapshot-panel h2 { font-size: 32px; }
    .training .training-lede h1 { font-size: 32px; }
}
