/* =========================================================
   SkillBridge compact promotional carousel
   ========================================================= */
.hero-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,.10);
    background: #102235;
    box-shadow: 0 20px 48px rgba(0,0,0,.20);
    isolation: isolate;
}

.hero-track {
    position: relative;
    min-height: 330px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
    align-items: center;
    gap: 28px;
    padding: 34px 42px 48px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(26px);
    transition: opacity .42s ease, transform .42s ease, visibility .42s;
}

.hero-slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.hero-slide::before,
.hero-slide::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.hero-slide::before {
    width: 360px;
    height: 360px;
    right: -110px;
    top: -170px;
    background: rgba(255,145,55,.15);
}

.hero-slide::after {
    width: 290px;
    height: 290px;
    right: 160px;
    bottom: -210px;
    background: rgba(49,148,221,.13);
}

.hero-slide-learning {
    background: linear-gradient(118deg, #0d2940 0%, #153c57 54%, #1e3441 100%);
}

.hero-slide-skills {
    background: linear-gradient(118deg, #102941 0%, #17445d 53%, #253b4b 100%);
}

.hero-slide-flexible {
    background: linear-gradient(118deg, #132942 0%, #22445a 54%, #283c4a 100%);
}

.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 11px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: rgba(255,150,66,.15);
    border: 1px solid rgba(255,171,96,.22);
    color: #ffc08b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.hero-copy h1,
.hero-copy h2 {
    max-width: 620px;
    margin: 0 0 13px;
    color: #fff;
    font-size: clamp(34px, 4.6vw, 58px);
    line-height: 1.02;
    letter-spacing: -.045em;
}

.hero-copy h2 {
    font-size: clamp(32px, 4.2vw, 52px);
}

.hero-copy em {
    color: #ff8f68;
    font-style: normal;
}

.hero-copy p {
    max-width: 570px;
    margin: 0 0 20px;
    color: #d1dde7;
    font-size: 16px;
    line-height: 1.58;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 15px;
    border-radius: 13px;
    background: #f57d4c;
    color: #fff !important;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(245,125,76,.24);
}

.hero-cta span {
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: rgba(0,0,0,.14);
}

.hero-visual {
    position: relative;
    min-height: 245px;
}

/* Slide 1 */
.hero-window {
    position: absolute;
    width: 78%;
    right: 0;
    top: 12px;
    bottom: 23px;
    padding: 18px;
    border-radius: 23px;
    border: 1px solid rgba(255,255,255,.18);
    background: linear-gradient(155deg, rgba(244,249,253,.96), rgba(208,226,239,.94));
    box-shadow: 0 25px 50px rgba(0,0,0,.28);
    transform: rotate(2deg);
}

.window-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 4px;
    border-radius: 50%;
    background: #a7b5c1;
}

.video-person {
    position: absolute;
    inset: 47px 22px 38px 22px;
    border-radius: 15px;
    background: linear-gradient(155deg, #183f59, #2b6b88);
    overflow: hidden;
}

.video-person::before {
    content: "";
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #e8b28f;
    left: 50%;
    top: 21%;
    transform: translateX(-50%);
}

.video-person span {
    position: absolute;
    width: 140px;
    height: 100px;
    border-radius: 70px 70px 22px 22px;
    background: #f3a85d;
    left: 50%;
    bottom: -18px;
    transform: translateX(-50%);
}

.lesson-lines {
    position: absolute;
    left: 35px;
    right: 35px;
    bottom: 17px;
    display: flex;
    gap: 6px;
}

.lesson-lines i {
    height: 5px;
    flex: 1;
    border-radius: 99px;
    background: #94a8b7;
}

.lesson-lines i:first-child { background: #f57d4c; }

.hero-person {
    position: absolute;
    left: 3px;
    bottom: 0;
    width: 145px;
    height: 195px;
    filter: drop-shadow(0 18px 18px rgba(0,0,0,.25));
}

.person-head {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    top: 4px;
    left: 36px;
    background: #2b1b1c;
    box-shadow: inset 0 -16px 0 #bf7d5d;
}

.person-body {
    position: absolute;
    width: 142px;
    height: 128px;
    left: 0;
    bottom: 0;
    border-radius: 65px 65px 22px 22px;
    background: linear-gradient(160deg, #ee7253, #b93f37);
}

.float-chip {
    position: absolute;
    right: 7%;
    bottom: 4px;
    padding: 9px 12px;
    border-radius: 12px;
    background: #fff;
    color: #17334a;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 12px 22px rgba(0,0,0,.18);
}

/* Slide 2 */
.skill-tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-content: center;
    padding: 22px 12px 36px 28px;
}

.skill-card {
    min-height: 91px;
    padding: 14px;
    border-radius: 19px;
    border: 1px solid rgba(255,255,255,.17);
    background: rgba(255,255,255,.92);
    box-shadow: 0 16px 30px rgba(0,0,0,.18);
    transform: rotate(-1deg);
}

.skill-card:nth-child(even) { transform: translateY(14px) rotate(1deg); }
.skill-card b {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    margin-bottom: 8px;
    color: #fff;
    font-size: 18px;
}
.skill-card span { color: #213545; font-size: 13px; font-weight: 800; }
.skill-word b { background: #2f6ecb; }
.skill-excel b { background: #2f8a5b; }
.skill-gis b { background: #35729b; }
.skill-design b { background: #d46a49; }

.skill-progress {
    position: absolute;
    left: 50px;
    right: 20px;
    bottom: 1px;
    height: 44px;
    padding: 9px 12px;
    border-radius: 13px;
    background: rgba(8,24,37,.74);
    border: 1px solid rgba(255,255,255,.13);
}
.skill-progress::before {
    content: "";
    display: block;
    height: 5px;
    border-radius: 99px;
    background: rgba(255,255,255,.16);
}
.skill-progress span {
    position: absolute;
    left: 12px;
    top: 9px;
    width: 68%;
    height: 5px;
    border-radius: 99px;
    background: #ff905f;
}
.skill-progress small {
    display: block;
    margin-top: 7px;
    color: #c7d4dd;
    font-size: 10px;
}

/* Slide 3 */
.live-visual {
    padding: 10px 6px 32px 24px;
}
.live-screen {
    position: relative;
    height: 220px;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(145deg, #edf3f8, #bccddb);
    border: 1px solid rgba(255,255,255,.20);
    box-shadow: 0 24px 44px rgba(0,0,0,.24);
}
.live-label {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    padding: 6px 9px;
    border-radius: 8px;
    background: #e64d42;
    color: white;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
}
.instructor-avatar {
    position: absolute;
    inset: 20px 21% 38px 21%;
    border-radius: 17px;
    background: linear-gradient(155deg, #1a4b68, #347c9d);
}
.instructor-avatar::before {
    content: "";
    position: absolute;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #c98a68;
    left: 50%;
    top: 24px;
    transform: translateX(-50%);
    box-shadow: inset 0 17px 0 #242124;
}
.instructor-avatar span {
    position: absolute;
    width: 140px;
    height: 92px;
    border-radius: 70px 70px 16px 16px;
    background: #e09258;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
}
.live-caption {
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #173348;
}
.live-caption b { font-size: 11px; }
.live-caption small { font-size: 9px; color: #526a7c; }
.schedule-card {
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 145px;
    padding: 10px 13px;
    border-radius: 13px;
    background: #fff;
    color: #16334b;
    box-shadow: 0 12px 25px rgba(0,0,0,.19);
}
.schedule-card b,
.schedule-card span { display: block; }
.schedule-card b { font-size: 11px; }
.schedule-card span { margin-top: 3px; color: #6d7c88; font-size: 9px; }

.hero-dots {
    position: absolute;
    left: 42px;
    bottom: 17px;
    z-index: 5;
    display: flex;
    gap: 7px;
}
.hero-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: rgba(255,255,255,.34);
    cursor: pointer;
    transition: width .25s ease, background .25s ease;
}
.hero-dot.is-active {
    width: 27px;
    background: #ff8a5f;
}

@media (max-width: 760px) {
    .hero-carousel {
        border-radius: 24px;
        box-shadow: 0 14px 34px rgba(0,0,0,.18);
    }

    .hero-track { min-height: 258px; }

    .hero-slide {
        grid-template-columns: minmax(0, 1fr) 142px;
        gap: 8px;
        min-height: 258px;
        padding: 24px 18px 39px 22px;
    }

    .hero-slide::before {
        width: 220px;
        height: 220px;
        right: -100px;
        top: -100px;
    }

    .hero-slide::after { display: none; }

    .hero-copy h1,
    .hero-copy h2 {
        margin-bottom: 10px;
        font-size: 27px;
        line-height: 1.03;
        letter-spacing: -.04em;
    }

    .hero-copy p {
        max-width: 360px;
        margin-bottom: 14px;
        font-size: 12.5px;
        line-height: 1.46;
    }

    .hero-kicker {
        min-height: 25px;
        padding: 5px 8px;
        margin-bottom: 9px;
        font-size: 8px;
    }

    .hero-cta {
        min-height: 37px;
        padding: 7px 10px;
        border-radius: 10px;
        font-size: 11px;
    }
    .hero-cta span { width: 21px; height: 21px; }

    .hero-visual { min-height: 170px; }

    .hero-window {
        width: 116px;
        top: 18px;
        bottom: 22px;
        padding: 9px;
        border-radius: 15px;
    }
    .window-dot { width: 4px; height: 4px; margin-right: 2px; }
    .video-person { inset: 28px 10px 22px; border-radius: 9px; }
    .video-person::before { width: 36px; height: 36px; top: 18%; }
    .video-person span { width: 75px; height: 54px; bottom: -10px; }
    .lesson-lines { left: 15px; right: 15px; bottom: 9px; gap: 3px; }
    .lesson-lines i { height: 3px; }

    .hero-person {
        left: -17px;
        bottom: -1px;
        width: 82px;
        height: 122px;
    }
    .person-head { width: 42px; height: 42px; left: 20px; }
    .person-body { width: 82px; height: 80px; border-radius: 38px 38px 14px 14px; }
    .float-chip { right: 0; padding: 6px 7px; border-radius: 8px; font-size: 7px; }

    .skill-tiles {
        gap: 7px;
        padding: 20px 0 26px 10px;
    }
    .skill-card {
        min-height: 63px;
        padding: 8px;
        border-radius: 12px;
    }
    .skill-card b { width: 27px; height: 27px; margin-bottom: 5px; border-radius: 8px; font-size: 12px; }
    .skill-card span { font-size: 8px; }
    .skill-progress { left: 15px; right: 0; height: 35px; padding: 7px 8px; }
    .skill-progress span { left: 8px; top: 7px; }
    .skill-progress small { margin-top: 6px; font-size: 7px; }

    .live-visual { padding: 18px 0 23px 5px; }
    .live-screen { height: 157px; border-radius: 15px; }
    .live-label { top: 8px; left: 8px; padding: 4px 5px; font-size: 6px; }
    .instructor-avatar { inset: 14px 17px 29px; border-radius: 10px; }
    .instructor-avatar::before { width: 40px; height: 40px; top: 16px; }
    .instructor-avatar span { width: 78px; height: 53px; bottom: -8px; }
    .live-caption { left: 8px; right: 8px; bottom: 7px; }
    .live-caption b { font-size: 7px; }
    .live-caption small { display: none; }
    .schedule-card { min-width: 95px; padding: 7px 8px; border-radius: 9px; }
    .schedule-card b { font-size: 7px; }
    .schedule-card span { font-size: 6px; }

    .hero-dots {
        left: 22px;
        bottom: 14px;
    }
}

@media (max-width: 430px) {
    .hero-track { min-height: 242px; }
    .hero-slide {
        min-height: 242px;
        grid-template-columns: minmax(0, 1fr) 112px;
        padding: 21px 14px 36px 17px;
    }
    .hero-copy h1,
    .hero-copy h2 { font-size: 24px; }
    .hero-copy p { font-size: 11.5px; }
    .hero-window { width: 94px; }
    .hero-person { transform: scale(.85); transform-origin: bottom left; }
    .float-chip { display: none; }
    .skill-card { min-height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide,
    .hero-dot { transition: none; }
}
