/* =========================================================================
   HOMEPAGE REDESIGN — OKR Institute
   Based on: redesign/PRD_OKR_Institute_Homepage.md
   Design canvas: 1920 × 9435 px → content width 1720 px, 100 px gutters
   ========================================================================= */

/* === Google Fonts === */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Playfair+Display:wght@700&display=swap');

/* === Design Tokens === */
.hp-redesign {
    --green-500: #34A853;
    --green-lime: #7CBB00;
    --green-lime-2: #8EC63F;
    --navy-900: #162560;
    --navy-800: #1A2F6B;
    --navy-accent: #0B2D52;
    --blue-500: #4285F4;
    --purple-500: #8131F4;
    --gold-600: #E8B100;
    --gold-400: #FBBF24;
    --red-600: #B4321A;
    --step-1: #5d9968;
    --step-2: #2E8B57;
    --step-3: #1A5C38;
    --step-4: #0D3B22;
    --green-dark: #163D22;
    --text-900: #000000;
    --text-muted: #6C8193;
    --gray-border: #D9D9D9;
    --gray-border-2: #A9A9A9;
    --gray-chip: #E6E7E8;
    --bg-warm: #F4F6F0;
    --bg-soft: #F7F9F7;
    --bg-blue-soft: #E8F0FB;
    --bg-blue-panel: #E3EEFB;
    --tier-foundation: #E6E7E8;
    --tier-practitioner: #EAF3FB;
    --tier-leader: #F2EAF7;
    --tier-professional: #FBF4D9;

    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-900);
    line-height: 1.5;
}

/* =========================================
   GLOBAL / REUSABLES
   ========================================= */
.hp-redesign *, .hp-redesign *::before, .hp-redesign *::after { box-sizing: border-box; }

.hp-container {
    max-width: 1720px;
    margin: 0 auto;
    padding: 0 100px;
}

/* Typography — override global layout uppercase + color resets */
.hp-redesign h1,.hp-redesign h2,.hp-redesign h3,.hp-redesign h4,.hp-redesign h5,.hp-redesign h6,
.hp-redesign p,.hp-redesign span,.hp-redesign a,.hp-redesign div {
    text-transform: none !important;
}
.hp-redesign h1,.hp-redesign h2,.hp-redesign h3,.hp-redesign h4,.hp-redesign h5,.hp-redesign h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin: 0;
}

.hp-eyebrow {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase !important;
    letter-spacing: 1.5px;
    color: var(--text-900);
    margin-bottom: 12px;
}

.hp-section-title {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text-900);
}

.hp-section-lede {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-muted);
}

/* Buttons */
.hp-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    background: linear-gradient(135deg, #7CBB00, #34A853);
    color: #fff !important;
    border: none;
    border-radius: 25px;
    font-size: 17px;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-decoration: none !important;
    cursor: pointer;
    transition: opacity .2s, transform .2s, box-shadow .2s;
    white-space: nowrap;
}
.hp-btn-primary:hover {
    opacity: .92;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(52,168,83,.35);
}

.hp-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 30px;
    background: #fff;
    color: var(--green-500) !important;
    border: 1.5px solid var(--green-500);
    border-radius: 25px;
    font-size: 17px;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-decoration: none !important;
    cursor: pointer;
    transition: background .2s;
    white-space: nowrap;
}
.hp-btn-ghost:hover { background: #f0faf0; }

/* =========================================
   SECTION 1 — HERO
   ========================================= */
.hp-hero {
    background: var(--bg-warm);
    position: relative;
    overflow: hidden;
    padding: 160px 0 100px;      /* 80px navbar clearance + 80px section padding */
    height: auto !important;
    min-height: 0 !important;
}
/* Override legacy #hero styles from custom.css */
#hero.hp-hero {
    background-image: none !important;
    background-size: auto !important;
    background-attachment: scroll !important;
}
#hero.hp-hero::before {
    display: none !important;
}
#hero.hp-hero h1,
#hero.hp-hero h2,
#hero.hp-hero h3 {
    color: var(--text-900) !important;
}
#hero.hp-hero .hp-hero-h1 {
    font-size: 60px !important;
    line-height: 1.08 !important;
    margin-bottom: 1rem;
}
@media (max-width: 1440px) { #hero.hp-hero .hp-hero-h1 { font-size: 58px !important; } }
@media (max-width: 1279px) { #hero.hp-hero .hp-hero-h1 { font-size: 50px !important; } }
@media (max-width: 767px)  { #hero.hp-hero .hp-hero-h1 { font-size: 34px !important; line-height: 1.15 !important; } }

/* Animated SVG gradient background */
.hp-hero-gradient {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Blob move animations — large flowing movement across the hero */
@keyframes hpBlob1 {
    0%   { transform: translate(0, 0) scale(1); opacity: .85; }
    20%  { transform: translate(120px, -80px) scale(1.12); opacity: .95; }
    40%  { transform: translate(-60px, 60px) scale(.92); opacity: .8; }
    60%  { transform: translate(80px, 100px) scale(1.08); opacity: .9; }
    80%  { transform: translate(-100px, -40px) scale(.95); opacity: .85; }
    100% { transform: translate(0, 0) scale(1); opacity: .85; }
}
@keyframes hpBlob2 {
    0%   { transform: translate(0, 0) scale(1); opacity: .9; }
    20%  { transform: translate(-100px, 70px) scale(.9); opacity: .8; }
    40%  { transform: translate(140px, -50px) scale(1.15); opacity: 1; }
    60%  { transform: translate(-80px, -90px) scale(.94); opacity: .85; }
    80%  { transform: translate(60px, 80px) scale(1.06); opacity: .92; }
    100% { transform: translate(0, 0) scale(1); opacity: .9; }
}
@keyframes hpBlob3 {
    0%   { transform: translate(0, 0) scale(1); opacity: .8; }
    25%  { transform: translate(90px, -110px) scale(1.1); opacity: .9; }
    50%  { transform: translate(-120px, 50px) scale(.88); opacity: .75; }
    75%  { transform: translate(70px, 90px) scale(1.05); opacity: .88; }
    100% { transform: translate(0, 0) scale(1); opacity: .8; }
}
@keyframes hpBlob4 {
    0%   { transform: translate(0, 0) scale(1); opacity: .85; }
    30%  { transform: translate(-80px, -60px) scale(1.12); opacity: .95; }
    60%  { transform: translate(110px, 70px) scale(.9); opacity: .78; }
    100% { transform: translate(0, 0) scale(1); opacity: .85; }
}

.hp-blob { transform-origin: center center; will-change: transform, opacity; }
.hp-blob-1 { animation: hpBlob1 12s ease-in-out infinite; }
.hp-blob-2 { animation: hpBlob2 15s ease-in-out infinite; }
.hp-blob-3 { animation: hpBlob3 13s ease-in-out infinite; }
.hp-blob-4 { animation: hpBlob4 17s ease-in-out infinite; }

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
    .hp-blob { animation: none !important; }
}

.hp-hero .hp-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hp-hero-left {
    flex: 0 0 48%;
    max-width: 620px;
}

.hp-hero-h1 {
    font-size: 68px;
    font-weight: 700;
    line-height: 1.08;
    margin-bottom: 28px;
}
.hp-hero-h1 .hp-blue { color: var(--blue-500); }

.hp-hero-desc {
    font-size: 18px;
    line-height: 1.65;
    color: #555;
    margin-bottom: 40px;
    max-width: 520px;
}

.hp-hero-btns {
    display: flex;
    gap: 16px;
    margin-bottom: 55px;
    flex-wrap: wrap;
}

/* Social proof row */
.hp-social-proof {
    display: flex;
    align-items: center;
    gap: 14px;
}
.hp-avatar-stack { display: flex; }
.hp-avatar-stack .hp-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2.5px solid #fff;
    margin-left: -10px;
    background: #e8e8e8;
    display: block;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.1);
}
.hp-avatar-stack .hp-avatar:first-child { margin-left: 0; }
.hp-avatar-stack .hp-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hp-social-text { font-size: 16px; color: #222; }
.hp-social-text strong { font-weight: 700; font-size: 18px; color: #000; }

/* Hero right — portrait + floating stat cards */
.hp-hero-right {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 540px;
}

.hp-hero-portrait {
    width: 100%;
    max-width: 480px;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

/* Floating stat cards — positioned along right side of portrait */
.hp-float-card {
    position: absolute;
    background: #fff;
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    z-index: 2;
    max-width: 340px;
}
.hp-float-card-1 { top: 8%; right: -10px; }
.hp-float-card-2 { top: 36%; right: -40px; }
.hp-float-card-3 { top: 64%; right: -20px; }

.hp-float-num {
    font-size: 32px;
    font-weight: 700;
    color: var(--green-500);
    flex-shrink: 0;
    min-width: 50px;
    line-height: 1;
}
.hp-float-text {
    font-size: 12px;
    color: #333;
    line-height: 1.45;
    font-weight: 400;
}

/* =========================================
   SECTION 2 — TRUSTED-BY LOGO BAND
   ========================================= */
.hp-trusted {
    background: var(--bg-soft);
    padding: 60px 0 50px;
}

.hp-trusted-label-center {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center;
    margin-bottom: 32px;
}

/* Infinite logo slider */
.hp-logo-slider {
    overflow: hidden;
    position: relative;
    margin-bottom: 40px;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.hp-logo-track {
    display: flex;
    align-items: center;
    gap: 60px;
    width: max-content;
    animation: hp-logo-scroll 100s linear infinite;
}
.hp-logo-track:hover {
    animation-play-state: paused;
}
.hp-logo-slide-img {
    height: 36px;
    flex-shrink: 0;
    object-fit: contain;
    opacity: .45;
    filter: grayscale(100%);
    transition: opacity .3s, filter .3s;
}
.hp-logo-slide-img:hover {
    opacity: .85;
    filter: grayscale(0%);
}

@keyframes hp-logo-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.hp-trusted-cta { text-align: center; }

/* =========================================
   SECTION 3 — RIGHT FIT FOR YOUR ROLE
   ========================================= */
.hp-roles {
    background: #fff;
    padding: 80px 0;
}

.hp-role-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.hp-role-card {
    border: 1px solid var(--gray-border-2);
    border-radius: 10px;
    padding: 28px 24px;
    cursor: pointer;
    transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease, background .3s ease;
}
.hp-role-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    border-color: #999;
}
.hp-role-card.active {
    border-color: #000;
    box-shadow: 0 0 0 1.5px #000;
    transform: translateY(-2px);
    background: #fafffe;
}
.hp-role-card.active:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 0 1.5px #000, 0 10px 28px rgba(0,0,0,.1);
}
.hp-role-card:not(.active) .hp-role-title,
.hp-role-card:not(.active) .hp-role-body {
    color: var(--text-muted);
}
.hp-role-card:not(.active):hover .hp-role-title {
    color: var(--text-900);
}
.hp-role-card:not(.active):hover .hp-role-body {
    color: #555;
}
.hp-role-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-900);
    transition: color .2s;
}
.hp-role-body {
    font-size: 16px;
    line-height: 1.5;
    color: #555;
    transition: color .2s;
}

/* =========================================
   SECTION 4 — CHALLENGE / WHAT YOU GAIN
   ========================================= */
.hp-why {
    background: #fff;
    padding: 0 0 80px;
}

.hp-why-panel {
    display: none;
    background: var(--bg-blue-panel);
    border-radius: 20px;
    padding: 60px;
    gap: 60px;
    align-items: stretch;
}
.hp-why-panel.active {
    display: flex;
}
.hp-why-left { flex: 1; }
.hp-why-right {
    flex: 0 0 42%;
    display: flex;
    align-items: center;
}

.hp-why-kicker {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase !important;
    letter-spacing: .5px;
    margin-bottom: 18px;
    margin-top: 36px;
}
.hp-why-kicker:first-child { margin-top: 0; }

.hp-why-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 17px;
    line-height: 1.55;
}

.hp-icon-x, .hp-icon-check {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    font-size: 13px;
    font-weight: 700;
}
.hp-icon-x { background: var(--navy-900); color: #fff; }
.hp-icon-check { background: var(--green-500); color: #fff; }

/* Testimonial inside the why panel */
.hp-why-testimonial {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.hp-why-testimonial blockquote {
    font-style: italic;
    font-size: 17px;
    line-height: 1.6;
    color: #333;
    margin: 0 0 24px;
    padding: 0;
    border: none;
}
.hp-why-person {
    display: flex;
    align-items: center;
    gap: 14px;
}
.hp-why-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.hp-why-testimonial .hp-tname {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 2px;
}
.hp-why-testimonial .hp-trole {
    font-size: 14px;
    color: var(--text-muted);
}

/* =========================================
   SECTION 5 — HOW IT WORKS
   ========================================= */
.hp-how {
    background: var(--bg-warm);
    padding: 80px 0;
}

.hp-step-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.hp-step-card {
    border-radius: 20px;
    padding: 32px 28px;
    color: #fff;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}
.hp-step-card-1 { background: var(--step-1); }
.hp-step-card-2 { background: var(--step-2); }
.hp-step-card-3 { background: var(--step-3); }
.hp-step-card-4 { background: var(--step-4); }

.hp-step-num {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 32px;
    background: rgba(255,255,255,.2);
}
.hp-step-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.25;
    color: #fff !important;
}
.hp-step-body {
    font-size: 16px;
    line-height: 1.65;
    opacity: .9;
    flex: 1;
    color: #fff;
    margin-top: 6px;
}
.hp-step-link {
    color: #fff !important;
    text-decoration: underline !important;
    font-weight: 500;
    font-size: 16px;
    margin-top: 22px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.hp-step-link:hover { opacity: .8; }

/* =========================================
   SECTION 6 — CERTIFICATION PATH / COURSES
   ========================================= */
.hp-courses {
    background: #fff;
    padding: 80px 0;
}

/* Vanilla carousel */
.hp-course-carousel-wrap { position: relative; margin-top: 40px; }
.hp-course-overflow { overflow: hidden; }
.hp-course-track {
    display: flex;
    gap: 30px;
    transition: transform .5s cubic-bezier(.4, 0, .2, 1);
    cursor: grab;
    padding: 24px 0 20px;
}
.hp-course-track:active { cursor: grabbing; }

.hp-course-slide {
    flex: 0 0 calc((100% - 90px) / 3.5);  /* 3.5 visible on desktop */
    min-width: 0;
}

/* Course cards */
.course-card {
    background: #fff;
    border: 1px solid var(--gray-border);
    border-radius: 16px;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}
.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,.08);
}

/* Tier accent borders */
.course-card--foundation  { border-top: 3px solid #888; }
.course-card--practitioner { border-top: 3px solid var(--blue-500); }
.course-card--leadership  { border-top: 3px solid var(--purple-500); }
.course-card--chief       { border-top: 3px solid var(--gold-600); }
.course-card--professional { border-top: 3px solid var(--gold-600); }

/* Promo badge */
.course-card__promo {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 14px;
    border-radius: 25px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    z-index: 3;
}
.course-card__promo--best {
    background: var(--navy-accent);
    color: #fff;
}

.course-card__img-wrap { padding: 16px 16px 0; }
.course-card__img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.course-card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.course-card__name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.3;
    color: var(--text-900);
}
.course-card__desc {
    font-size: 14px;
    line-height: 1.55;
    color: #555;
    margin-bottom: 16px;
}

/* Detail table */
.course-card__table {
    margin-bottom: 16px;
}
.course-card__row {
    display: flex;
    gap: 12px;
    padding: 7px 0;
    border-bottom: 1px solid #f2f2f2;
    font-size: 13px;
    line-height: 1.4;
}
.course-card__row:last-child { border-bottom: none; }
.ctr__label {
    flex: 0 0 95px;
    color: var(--text-muted);
    font-weight: 500;
}
.ctr__val {
    flex: 1;
    color: var(--text-900);
    font-weight: 600;
}
.ctr__val--free {
    color: var(--green-500);
    font-weight: 700;
}

/* Meta row: learners + lang pills */
.course-card__meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.course-card__meta i { font-size: 16px; vertical-align: middle; }
.course-card__meta strong { color: var(--text-900); }

.lang-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.lang-pill {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none !important;
    letter-spacing: .3px;
}
.lang-pill--active {
    background: #e8f5e9;
    color: #2e7d32 !important;
}
.lang-pill--active:hover {
    background: #c8e6c9;
}
.lang-pill--dim {
    background: #f5f5f5;
    color: #bbb;
}

/* CTA buttons */
.course-card__ctas {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    flex-wrap: wrap;
}
.course-cta-ghost {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-900) !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color .2s;
}
.course-cta-ghost:hover { color: var(--green-500) !important; }
.course-cta-ghost i { font-size: 16px; }

.course-cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #fff !important;
    text-decoration: none !important;
    transition: opacity .2s, transform .2s;
    white-space: nowrap;
}
.course-cta-btn:hover { opacity: .9; transform: translateY(-1px); }
.course-cta-btn--foundation  { background: #666; }
.course-cta-btn--practitioner { background: var(--blue-500); }
.course-cta-btn--leadership  { background: var(--purple-500); }
.course-cta-btn--chief       { background: var(--gold-600); }
.course-cta-btn--professional { background: var(--gold-600); }

@media (max-width: 1439px) { .hp-course-slide { flex: 0 0 calc((100% - 60px) / 3); } }
@media (max-width: 1023px) { .hp-course-slide { flex: 0 0 calc((100% - 28px) / 2.2); } .hp-course-track { gap: 28px; } }
@media (max-width: 767px)  { .hp-course-slide { flex: 0 0 85%; } .hp-course-track { gap: 20px; } }
@media (max-width: 639px)  { .hp-course-slide { flex: 0 0 87%; } }

/* Carousel nav arrow */
.hp-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: #fff;
    border: 1px solid var(--gray-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--green-500);
    font-size: 22px;
    box-shadow: 0 2px 10px rgba(0,0,0,.1);
    z-index: 4;
    transition: background .2s;
}
.hp-carousel-arrow:hover { background: #f5f5f5; }
.hp-carousel-arrow.hp-arrow-next { right: 12px; }
.hp-carousel-arrow.hp-arrow-prev { left: 12px; }

/* Swiper pagination dots */
.hp-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
    position: relative;
    bottom: auto;
}
.hp-carousel-dot {
    width: 36px;
    height: 5px;
    border-radius: 3px;
    background: var(--gray-border);
    cursor: pointer;
    transition: background .3s, width .3s;
    display: inline-block;
}
.hp-carousel-dot.active { background: var(--green-500); width: 48px; }

/* =========================================
   SECTION 7 — WORKSHOP
   ========================================= */
.hp-workshop {
    background: var(--bg-blue-soft);
    padding: 80px 0;
}

.hp-workshop-panel {
    background: var(--navy-900);
    border-radius: 30px;
    padding: 50px;
    display: flex;
    gap: 48px;
    margin-top: 40px;
    overflow: hidden;
}
.hp-workshop-img-wrap {
    flex: 0 0 38%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}
.hp-workshop-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hp-workshop-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

.hp-workshop-card {
    background: var(--navy-800);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    padding: 24px 28px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
.hp-workshop-check {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--green-500);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--green-500);
    font-size: 20px;
}
.hp-workshop-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff !important;
    margin-bottom: 6px;
}
.hp-workshop-card-body {
    font-size: 15px;
    color: rgba(255,255,255,.65);
    line-height: 1.55;
}

/* =========================================
   SECTION 8 — UPCOMING COHORTS
   ========================================= */
.hp-events {
    background: var(--bg-soft);
    padding: 80px 0;
}
.hp-events-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 36px 0 28px;
}
.hp-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #fff;
    border: 1px solid var(--gray-border);
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-900);
    cursor: pointer;
    text-decoration: none !important;
}

.hp-event-row {
    background: #fff;
    border-radius: 16px;
    padding: 28px 36px;
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 16px;
    border-left: 5px solid var(--green-500);
    transition: box-shadow .2s;
}
.hp-event-row:hover {
    box-shadow: 0 2px 16px rgba(0,0,0,.06);
}
.hp-event-date {
    text-align: center;
    min-width: 110px;
    flex-shrink: 0;
}
.hp-event-day {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    font-weight: 700;
    line-height: 1;
    color: var(--text-900);
}
.hp-event-month {
    font-size: 16px;
    color: var(--green-500);
    font-weight: 500;
    margin-top: 4px;
}
.hp-event-divider {
    width: 1px;
    height: 70px;
    background: var(--gray-border);
    flex-shrink: 0;
}
.hp-event-info { flex: 1; }
.hp-event-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-900);
}
.hp-event-title a {
    color: inherit !important;
    text-decoration: none !important;
}
.hp-event-title a:hover { color: var(--green-500) !important; }
.hp-event-meta {
    display: flex;
    gap: 20px;
    color: var(--text-muted);
    font-size: 15px;
    flex-wrap: wrap;
}
.hp-event-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.hp-event-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    min-width: 160px;
    flex-shrink: 0;
}
.hp-event-price {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-900);
}
.hp-spots-left {
    font-size: 14px;
    color: var(--red-600);
    font-weight: 600;
}

/* =========================================
   SECTION 9 — AI TOOL BAND (okri.io)
   ========================================= */
.hp-tool {
    background: var(--bg-warm);
    padding: 80px 0;
}
.hp-tool-inner {
    display: flex;
    align-items: center;
    gap: 60px;
}
.hp-tool-left { flex: 1; }
.hp-tool-right { flex: 0 0 50%; }

.hp-tool-powered {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}
.hp-tool-powered-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase !important;
    color: var(--text-muted);
    letter-spacing: 1.5px;
}
.hp-tool-badge {
    background: var(--green-500);
    color: #fff;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
}

.hp-tool-h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
}
.hp-tool-h2 .hp-green { color: var(--green-500); }

.hp-tool-desc {
    font-size: 18px;
    line-height: 1.65;
    color: #555;
    margin-bottom: 40px;
    max-width: 500px;
}

.hp-tool-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0,0,0,.1);
}

/* =========================================
   SECTION 10 — STATS BAND
   ========================================= */
.hp-stats {
    background: var(--green-dark);
    padding: 80px 0;
}
.hp-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}
.hp-stat-item {
    position: relative;
    padding: 24px 20px;
}
.hp-stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255,255,255,.18);
}
.hp-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 700;
    color: var(--green-lime-2);
    line-height: 1.2;
}
.hp-stat-label {
    font-size: 18px;
    color: #fff;
    margin-top: 8px;
    font-weight: 400;
}

/* =========================================
   SECTION 11 — TESTIMONIALS (Compact Carousel)
   ========================================= */
.hp-testimonials {
    background: #fff;
    padding: 80px 0;
}

/* Carousel track */
.hp-test-carousel { position: relative; margin-top: 40px; overflow: hidden; }
.hp-test-track {
    display: flex;
    gap: 24px;
    transition: transform .5s cubic-bezier(.4, 0, .2, 1);
    padding: 8px 0 20px;
}
.hp-test-slide {
    flex: 0 0 calc((100% - 72px) / 4);
    min-width: 0;
}

/* Compact card — no avatar, no logo */
.hp-test-card {
    background: #fff;
    border: 1px solid var(--gray-border);
    border-radius: 16px;
    padding: 28px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease;
}
.hp-test-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,.07);
}

.hp-test-qm {
    font-size: 40px;
    font-weight: 700;
    color: var(--navy-900);
    line-height: 1;
    margin-bottom: 12px;
    font-family: Georgia, 'Times New Roman', serif;
}
.hp-test-quote {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    flex: 1;
    margin-bottom: 16px;
}
.hp-test-div {
    height: 1px;
    background: #eee;
    margin-bottom: 14px;
}
.hp-test-name {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--text-900);
}
.hp-test-person {
    display: flex;
    align-items: center;
    gap: 12px;
}
.hp-test-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.hp-test-role {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.3;
}

@media (max-width: 1279px) { .hp-test-slide { flex: 0 0 calc((100% - 48px) / 3); } }
@media (max-width: 1023px) { .hp-test-slide { flex: 0 0 calc((100% - 24px) / 2); } .hp-test-track { gap: 24px; } }
@media (max-width: 767px)  { .hp-test-slide { flex: 0 0 85%; } .hp-test-track { gap: 16px; } }

/* =========================================
   SECTION 12 — FINAL CTA
   ========================================= */
.hp-cta {
    background: var(--navy-900);
    padding: 60px 0;
}
.hp-cta-card {
    background: var(--navy-800);
    border-radius: 30px;
    padding: 65px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.hp-cta-eyebrow {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase !important;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,.55);
    margin-bottom: 16px;
}
.hp-cta-h2 {
    font-size: 44px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 16px;
}
.hp-cta-body {
    font-size: 18px;
    color: rgba(255,255,255,.65);
    line-height: 1.55;
    max-width: 720px;
}
.hp-cta-right { flex-shrink: 0; }

/* =========================================
   RESPONSIVE BREAKPOINTS
   ========================================= */

/* Large desktops (≤ 1440px) */
@media (max-width: 1440px) {
    .hp-container { padding: 0 60px; }
    .hp-hero-h1 { font-size: 58px; }
    .hp-float-card { max-width: 300px; padding: 14px 16px; }
    .hp-float-num { font-size: 26px; min-width: 44px; }
    .hp-float-text { font-size: 11px; }
}

/* Laptops (≤ 1279px) */
@media (max-width: 1279px) {
    .hp-hero-h1 { font-size: 50px; }
    .hp-section-title { font-size: 36px; }
    .hp-tool-h2 { font-size: 38px; }
    .hp-stat-num { font-size: 44px; }
    .hp-cta-h2 { font-size: 36px; }
    /* Swiper handles course card sizing */
}

/* Tablets (≤ 1023px) */
@media (max-width: 1023px) {
    .hp-container { padding: 0 40px; }

    .hp-role-grid,
    .hp-step-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    /* Swiper handles course card sizing */

    .hp-hero .hp-container { flex-direction: column; gap: 40px; }
    .hp-hero-left { max-width: 100%; flex: 1; }
    .hp-hero-right {
        width: 100%;
        min-height: 380px;
        justify-content: center;
    }
    .hp-float-card {
        max-width: 280px;
        padding: 12px 16px;
    }
    .hp-float-num { font-size: 26px; min-width: 42px; }
    .hp-float-text { font-size: 11px; }

    .hp-why-panel.active { flex-direction: column; padding: 40px; }
    .hp-why-right { flex: 1; }

    .hp-workshop-panel { flex-direction: column; padding: 32px; }
    .hp-workshop-img-wrap { flex: 1; height: 300px; }

    .hp-tool-inner { flex-direction: column; }
    .hp-tool-right { flex: 1; width: 100%; }

    .hp-cta-card { flex-direction: column; text-align: center; align-items: center; }

    .hp-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .hp-stat-item:nth-child(2)::after { display: none; }
}

/* Mobile (≤ 767px) */
@media (max-width: 767px) {
    .hp-container { padding: 0 20px; }

    .hp-role-grid,
    .hp-step-grid {
        grid-template-columns: 1fr;
    }

    .hp-hero { padding: 90px 0 40px; overflow-x: hidden; overflow-y: visible; }
    .hp-hero .hp-container { padding-top: 10vh; gap: 24px; }
    .hp-hero-h1 { font-size: 34px; line-height: 1.15; margin-bottom: 16px; }
    .hp-hero-desc { font-size: 15px; margin-bottom: 24px; max-width: 100%; }
    .hp-hero-btns { margin-bottom: 24px; }
    .hp-section-title { font-size: 28px; }
    .hp-section-lede { font-size: 16px; }

    .hp-hero-btns { flex-direction: column; }
    .hp-hero-btns .hp-btn-primary,
    .hp-hero-btns .hp-btn-ghost { width: 100%; justify-content: center; padding: 12px 24px; font-size: 15px; }

    /* Hero right: stack portrait + cards vertically */
    .hp-hero-right {
        min-height: auto;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .hp-hero-portrait { max-width: 260px; margin-bottom: 8px; }

    /* Stat cards become inline rows below portrait */
    .hp-float-card {
        position: static !important;
        top: auto !important;
        right: auto !important;
        max-width: 100%;
        width: 100%;
        border-radius: 14px;
        padding: 14px 16px;
        box-shadow: 0 2px 12px rgba(0,0,0,.06);
        gap: 12px;
    }
    .hp-float-num { font-size: 26px; min-width: 44px; }
    .hp-float-text { font-size: 12px; line-height: 1.4; }

    .hp-social-proof { margin-top: 4px; }
    .hp-avatar-stack .hp-avatar { width: 36px; height: 36px; margin-left: -8px; border-width: 2px; }
    .hp-social-text { font-size: 14px; }
    .hp-social-text strong { font-size: 16px; }

    .hp-trusted-label-center { margin-bottom: 24px; }
    .hp-logo-track { gap: 40px; animation-duration: 20s; }
    .hp-logo-slide-img { height: 28px; }

    /* Swiper handles course card sizing */

    .hp-event-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 16px;
    }
    .hp-event-divider { width: 100%; height: 1px; }
    .hp-event-actions {
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }

    .hp-workshop-panel { padding: 20px; gap: 20px; }
    .hp-workshop-card { flex-direction: column; gap: 12px; }

    .hp-why-panel.active { padding: 24px; }

    .hp-tool-h2 { font-size: 30px; }

    .hp-stat-num { font-size: 36px; }
    .hp-stat-label { font-size: 15px; }

    .hp-cta-card { padding: 32px 20px; }
    .hp-cta-h2 { font-size: 26px; }
    .hp-cta-body { font-size: 16px; }

    .hp-step-card { min-height: 320px; }
    .hp-step-title { font-size: 22px; }

    .hp-carousel-arrow { display: none; }

    .hp-events-toolbar { flex-direction: column; gap: 16px; align-items: flex-start; }
}
