:root {
    --hp-green: #006233;
    --hp-green-2: #0f9d58;
    --hp-red: #d21034;
    --hp-gold: #c9a227;
    --hp-ink: #0f172a;
    --hp-muted: #64748b;
}

.hp-body { background: #f6f8f5; }

.hp-nav {
    background: rgba(6, 40, 24, 0.28);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,.12);
    transition: background .25s ease, padding .25s ease;
}
.hp-nav.scrolled, #mainNavbar.scrolled.hp-nav {
    background: rgba(6, 40, 24, 0.94);
}
.hp-nav-logo { width: 88px; height: 88px; overflow: hidden; }
#mainNavbar.scrolled .hp-nav-logo { width: 56px; height: 56px; }

.hp-lang {
    display: inline-flex;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    overflow: hidden;
}
.hp-lang a {
    color: #fff;
    text-decoration: none;
    font-size: .78rem;
    font-weight: 800;
    padding: 6px 11px;
    min-width: 36px;
    text-align: center;
}
.hp-lang a.on { background: #fff; color: var(--hp-green); }

.hp-hero { position: relative; color: #fff; }
.hp-tricolor { display: flex; height: 6px; width: 100%; position: absolute; top: 0; z-index: 5; }
.hp-tricolor span:nth-child(1) { flex: 1; background: var(--hp-green); }
.hp-tricolor span:nth-child(2) { flex: 1; background: #fff; }
.hp-tricolor span:nth-child(3) { flex: 1; background: var(--hp-red); }

.hp-slide {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 130px 20px 150px;
}
.hp-hero .carousel-item { overflow: hidden; }
.hp-hero .carousel-item:not(.active) .hp-caption {
    visibility: hidden;
    pointer-events: none;
}
.hp-slide-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center 30%;
    transform: scale(1.08);
}
.hp-slide-bg.kenburns { animation: hpKen 18s ease-in-out infinite alternate; }
@keyframes hpKen {
    from { transform: scale(1.08) translate3d(0,0,0); }
    to { transform: scale(1.16) translate3d(1.5%, -1.5%, 0); }
}
.hp-slide-overlay {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at center, rgba(4,22,14,.28) 0%, rgba(4,22,14,.72) 100%),
        linear-gradient(180deg, rgba(4,22,14,.45) 0%, rgba(4,22,14,.2) 38%, rgba(4,22,14,.82) 100%);
}
.hp-caption {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
    padding: 0;
}
.hp-caption h1 {
    font-size: clamp(1.8rem, 4.4vw, 3.3rem);
    font-weight: 800;
    line-height: 1.25;
    margin: 12px auto 10px;
    text-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.hp-caption .hp-sub {
    font-size: clamp(1.15rem, 2.4vw, 1.7rem);
    font-weight: 700;
    margin: 0 auto 12px;
    color: #e8f8ee;
}
.hp-caption p {
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 auto;
    opacity: .94;
    line-height: 1.7;
}
.hp-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.28);
    padding: 7px 14px;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .02em;
}
.hp-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; justify-content: center; }
.hp-btn {
    display: inline-flex; align-items: center; gap: 8px;
    border: 0; text-decoration: none; cursor: pointer;
    padding: 12px 22px; border-radius: 999px; font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.hp-btn:hover { transform: translateY(-2px); }
.hp-btn-primary { background: linear-gradient(135deg, var(--hp-green-2), var(--hp-green)); color: #fff; box-shadow: 0 10px 24px rgba(0,98,51,.35); }
.hp-btn-primary:hover { color: #fff; }
.hp-btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.7); }
.hp-btn-ghost:hover { background: #fff; color: var(--hp-green); }
.hp-btn-gold { background: linear-gradient(135deg, #e4c56a, var(--hp-gold)); color: #1a1403; }
.hp-btn-gold:hover { color: #1a1403; }
.hp-btn-muted { background: #e2e8f0; color: #64748b; }
.hp-await {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 18px; border-radius: 999px;
    background: rgba(255,255,255,.12);
}

.hp-dots { bottom: 112px !important; gap: 8px; margin: 0; justify-content: center; }
.hp-dots [data-bs-target] {
    width: 42px; height: 4px; border-radius: 99px;
    background: rgba(255,255,255,.35); opacity: 1; border: 0;
}
.hp-dots .active { background: #fff; }

.hp-ctrl { width: auto; opacity: 1; }
.hp-ctrl-btn {
    width: 46px; height: 46px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3);
    color: #fff; font-size: 1.2rem;
}
.hp-kpis {
    position: absolute; z-index: 4; left: 50%; bottom: 28px;
    transform: translateX(-50%);
    display: grid; grid-template-columns: repeat(4, minmax(90px, 1fr));
    gap: 10px; width: min(860px, calc(100% - 32px));
}
.hp-kpi {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(10px);
    border-radius: 16px; padding: 10px 8px; text-align: center;
}
.hp-kpi strong { display: block; font-size: 1.35rem; font-weight: 800; }
.hp-kpi span { font-size: .75rem; opacity: .85; }
.hp-scroll {
    position: absolute; z-index: 4; bottom: 8px; left: 50%;
    transform: translateX(-50%) translateY(36px);
    color: #fff; text-decoration: none; font-size: .78rem; opacity: .8;
    display: none;
}

.hp-section { padding: 88px 0; }
.hp-head { text-align: center; margin-bottom: 42px; }
.hp-head h2 { font-weight: 800; color: var(--hp-green); margin-bottom: 10px; }
.hp-head p { max-width: 720px; margin: 0 auto; color: var(--hp-muted); }
.hp-kicker {
    display: inline-block; color: var(--hp-green); font-weight: 800;
    letter-spacing: .08em; font-size: .78rem; text-transform: uppercase;
    margin-bottom: 8px;
}
.hp-kicker.light { color: #b7f0c8; }
.hp-lead { font-size: 1.05rem; line-height: 1.85; color: #334155; }
.hp-quote {
    border: 0; margin: 22px 0;
    padding: 18px 20px;
    background: linear-gradient(135deg, rgba(0,98,51,.08), rgba(210,16,52,.06));
    border-inline-start: 4px solid var(--hp-green);
    border-radius: 14px;
    font-weight: 700; color: var(--hp-ink);
}
.hp-quote small { display: block; font-weight: 600; color: var(--hp-muted); margin-bottom: 6px; }

.hp-bento { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp-bento-wide { grid-column: 1 / -1; }
.hp-bento-card {
    background: #fff; border-radius: 20px; padding: 22px;
    box-shadow: 0 12px 32px -22px rgba(15,23,42,.45);
    border: 1px solid #e8eee9; transition: transform .25s ease, box-shadow .25s ease;
}
.hp-bento-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px -18px rgba(0,98,51,.35); }
.hp-bento-card i { font-size: 1.8rem; color: var(--hp-green); }
.hp-bento-card h3 { font-size: 1.05rem; font-weight: 800; margin: 10px 0 6px; }
.hp-bento-card p { margin: 0; color: var(--hp-muted); font-size: .92rem; }

.hp-impact {
    margin-top: 42px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.hp-impact > div {
    background: #fff; border-radius: 18px; padding: 18px 10px; text-align: center;
    border: 1px solid #e8eee9;
}
.hp-impact strong { display: block; font-size: 1.7rem; color: var(--hp-green); font-weight: 800; }
.hp-impact span { color: var(--hp-muted); font-size: .82rem; }

.hp-vision {
    position: relative;
    overflow: hidden;
    background: #1a6b3a;
    color: #fff;
    padding: 100px 0;
}
.hp-vision::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../images/vision_bg.png') center / cover no-repeat;
    z-index: 0;
}
.hp-vision::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(6,40,24,.18) 0%, rgba(6,40,24,.12) 45%, rgba(6,40,24,.28) 100%);
}
.hp-vision .container { position: relative; z-index: 2; }
.hp-vision-card {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
    background: rgba(6, 40, 24, 0.38);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 24px;
    padding: 42px 36px;
    box-shadow: 0 18px 40px rgba(0,0,0,.18);
}
.hp-vision h2 {
    font-weight: 800;
    margin: 10px 0 12px;
    text-shadow: 0 4px 18px rgba(0,0,0,.45);
}
.hp-vision-sub { color: #e8f8ee; font-size: 1.05rem; text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.hp-vision-body { line-height: 1.9; opacity: .98; margin-top: 18px; text-shadow: 0 2px 10px rgba(0,0,0,.35); }

.hp-join { background: #fff; }
.hp-join-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}
.hp-join-card {
    background: #f7faf7; border: 1px solid #e6eee8; border-radius: 18px;
    padding: 18px; display: flex; gap: 12px; align-items: flex-start;
    transition: transform .2s ease, border-color .2s ease;
}
.hp-join-card:hover { transform: translateY(-4px); border-color: var(--hp-green-2); }
.hp-join-ico {
    width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(0,98,51,.1); color: var(--hp-green); font-size: 1.15rem;
}
.hp-join-card p { margin: 0; color: #334155; font-size: .92rem; line-height: 1.65; }

.hp-program { background: #f3f7f3; }
.hp-timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.hp-track {
    text-align: start; background: #fff; border: 1px solid #e4ece6;
    border-radius: 18px; padding: 16px; display: flex; gap: 12px; align-items: center;
    cursor: pointer; width: 100%;
}
.hp-track.on { border-color: var(--hp-green); box-shadow: 0 10px 24px -16px rgba(0,98,51,.6); }
.hp-track-n {
    width: 42px; height: 42px; border-radius: 12px; background: var(--hp-green); color: #fff;
    display: inline-flex; align-items: center; justify-content: center; font-weight: 800;
}
.hp-track strong, .hp-track small { display: block; }
.hp-track small { color: var(--hp-muted); }
.hp-track-panel { display: none; background: #fff; border-radius: 18px; padding: 18px 22px; margin-bottom: 28px; }
.hp-track-panel.on { display: block; }
.hp-track-panel ul { list-style: none; padding: 0; margin: 0; }
.hp-track-panel li { padding: 8px 0; display: flex; gap: 8px; }
.hp-track-panel i { color: var(--hp-green); }
.hp-method h3 { font-weight: 800; color: var(--hp-green); margin-bottom: 16px; }
.hp-method-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.hp-method-grid article { background: #fff; border-radius: 16px; padding: 16px; border: 1px solid #e4ece6; }
.hp-method-grid h4 { font-size: .95rem; font-weight: 800; color: var(--hp-ink); }
.hp-method-grid p { margin: 0; color: var(--hp-muted); font-size: .88rem; }

.hp-docs { background: #fff; }
.hp-doc {
    background: #f8faf8; border: 1px solid #e6eee8; border-radius: 22px;
    padding: 26px 20px; text-align: center; height: 100%;
    transition: transform .2s ease;
}
.hp-doc:hover { transform: translateY(-5px); }
.hp-doc i { font-size: 2.2rem; color: var(--hp-green); }
.hp-doc h5 { font-weight: 800; margin: 12px 0 8px; }
.hp-doc p { color: var(--hp-muted); font-size: .9rem; }
.hp-chip {
    background: #fff; border: 1px solid #dbe6de; border-radius: 999px;
    padding: 4px 10px; font-size: .78rem; text-decoration: none; color: var(--hp-ink);
}

.hp-contact { background: #f3f7f3; }
.hp-contact-card {
    background: #fff; border-radius: 24px; padding: 32px;
    box-shadow: 0 20px 40px -28px rgba(15,23,42,.4);
}
.hp-visitors { background: #fff; }
.hp-stat {
    background: #f7faf7; border-radius: 20px; padding: 24px; text-align: center; border: 1px solid #e6eee8;
}
.hp-stat i { font-size: 1.8rem; color: var(--hp-green); }
.hp-stat strong { display: block; font-size: 2rem; font-weight: 800; color: var(--hp-ink); }
.hp-footer { background: #062818; }

.hp-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 6px 16px;
    border-radius: 999px;
    border: 1.5px solid rgba(255,255,255,.8);
    background: transparent;
    color: #fff !important;
    text-decoration: none;
    font-weight: 800;
    font-size: .86rem;
    white-space: nowrap;
    line-height: 1;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.hp-login-btn:hover {
    background: #fff;
    color: var(--hp-green) !important;
    border-color: #fff;
}
.hp-login-btn-sm {
    min-height: 32px;
    padding: 5px 12px;
    font-size: .78rem;
}
.hp-nav-actions {
    gap: 8px;
}
.hp-register-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 6px 16px;
    border-radius: 999px;
    border: 0;
    background: #fff;
    color: var(--hp-green) !important;
    text-decoration: none;
    font-weight: 800;
    font-size: .86rem;
    white-space: nowrap;
    line-height: 1;
    box-shadow: 0 8px 18px -12px rgba(0,0,0,.35);
    transition: background .2s ease, transform .2s ease;
}
.hp-register-btn:hover {
    background: #f3faf5;
    color: var(--hp-green) !important;
}

/* English (LTR): center + bold navbar tabs */
html[dir="ltr"] .hp-nav .navbar-collapse {
    justify-content: space-between;
}
html[dir="ltr"] .hp-nav .hp-nav-links {
    flex: 1 1 auto;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    column-gap: 2px;
    text-align: center;
}
html[dir="ltr"] .hp-nav .hp-nav-links .nav-item {
    text-align: center;
}
html[dir="ltr"] .hp-nav .hp-nav-links .nav-link {
    padding-inline: 0.55rem !important;
    font-size: 0.86rem;
    font-weight: 700 !important;
    white-space: nowrap;
    line-height: 1.2;
    text-align: center;
}
html[dir="ltr"] .hp-nav .hp-nav-actions {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-inline-start: auto;
}
html[dir="ltr"] .hp-nav .hp-nav-actions .nav-link {
    font-weight: 700 !important;
    text-align: center;
}
html[dir="ltr"] .hp-nav .btn {
    white-space: nowrap;
    padding: 8px 16px !important;
    font-size: 0.86rem;
}
html[dir="ltr"] .hp-nav-logo {
    width: 72px;
    height: 72px;
}
html[dir="ltr"] #mainNavbar.scrolled .hp-nav-logo {
    width: 52px;
    height: 52px;
}

@media (max-width: 991px) {
    .hp-slide { min-height: 88vh; padding: 110px 16px 140px; }
    .hp-kpis { grid-template-columns: repeat(4, 1fr); }
    .hp-timeline, .hp-impact { grid-template-columns: 1fr; }
    .hp-bento { grid-template-columns: 1fr; }
    html[dir="ltr"] .hp-nav .hp-nav-links { flex-wrap: wrap; }
}
@media (max-width: 576px) {
    .hp-kpis { grid-template-columns: repeat(2, 1fr); bottom: 16px; }
    .hp-slide { padding: 100px 12px 168px; }
    .hp-nav-logo { width: 64px; height: 64px; }
    .hp-vision-card { padding: 28px 18px; }
}

.hp-appbar-center,
.hp-appbar-actions,
.hp-splash,
.hp-dock,
.hp-sheet { display: none; }

@media (max-width: 991px) {
    html:has(body.hp-home) { scroll-behavior: smooth; }
    body.hp-home {
        background: #eef3ee;
        overscroll-behavior-y: contain;
        -webkit-tap-highlight-color: transparent;
        padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    }
    body.hp-home.hp-sheet-open { overflow: hidden; }
    body.hp-home * { -webkit-tap-highlight-color: transparent; }
    body.hp-home a, body.hp-home button { touch-action: manipulation; }

    body.hp-home .hp-nav {
        height: calc(58px + env(safe-area-inset-top, 0px));
        padding-top: env(safe-area-inset-top, 0px);
        background: rgba(6, 40, 24, 0.42);
        border-bottom: 0;
    }
    body.hp-home .hp-nav.scrolled {
        background: rgba(6, 40, 24, 0.94);
        box-shadow: 0 8px 24px rgba(0,0,0,.18);
    }
    body.hp-home .hp-nav .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        max-width: 100%;
        width: 100%;
        padding: 0 12px;
        height: 58px;
        position: relative;
    }
    body.hp-home .navbar-toggler,
    body.hp-home .navbar-collapse { display: none !important; }
    body.hp-home .hp-nav-logo {
        width: 40px !important;
        height: 40px !important;
        background: rgba(255,255,255,.12);
    }
    body.hp-home #mainNavbar.scrolled .hp-nav-logo {
        width: 36px !important;
        height: 36px !important;
    }
    body.hp-home .hp-appbar-center {
        display: flex;
        flex-direction: column;
        align-items: center;
        line-height: 1.05;
        color: #fff;
        pointer-events: none;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    body.hp-home .hp-appbar-kicker {
        font-size: .62rem;
        font-weight: 800;
        letter-spacing: .18em;
        opacity: .8;
    }
    body.hp-home .hp-appbar-title {
        font-size: .92rem;
        font-weight: 800;
    }
    body.hp-home .hp-appbar-actions {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    body.hp-home .hp-lang-sm a { padding: 4px 8px; min-width: 30px; font-size: .7rem; }
    body.hp-home .hp-appbar-ico {
        width: 36px; height: 36px; border-radius: 50%;
        display: inline-flex; align-items: center; justify-content: center;
        color: #fff; background: rgba(255,255,255,.14);
        border: 1px solid rgba(255,255,255,.2); text-decoration: none; font-size: 1.05rem;
    }

    body.hp-home .hp-hero { min-height: 72dvh; }
    body.hp-home .hp-tricolor { top: env(safe-area-inset-top, 0px); height: 4px; }
    body.hp-home .hp-slide {
        min-height: 72dvh;
        padding: calc(70px + env(safe-area-inset-top, 0px)) 14px 28px;
        align-items: flex-end;
    }
    body.hp-home .hp-slide-bg.kenburns { animation: none; transform: scale(1.06); }
    body.hp-home .hp-caption {
        width: 100%;
        max-width: 100%;
        background: rgba(8, 28, 18, 0.42);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255,255,255,.14);
        border-radius: 20px;
        padding: 14px;
        text-align: start;
        margin: 0;
    }
    body.hp-home .hp-caption h1 { font-size: 1.22rem; margin: 8px 0 10px; }
    body.hp-home .hp-caption .hp-sub { display: none; }
    body.hp-home .hp-caption p { display: none; }
    body.hp-home .hp-badge { font-size: .72rem; padding: 5px 10px; }
    body.hp-home .hp-cta { justify-content: stretch; gap: 8px; margin-top: 4px; }
    body.hp-home .hp-btn { min-height: 42px; justify-content: center; padding: 8px 12px; font-size: .84rem; }
    body.hp-home .hp-cta .hp-btn { flex: 1; }
    body.hp-home .hp-ctrl { display: none; }
    body.hp-home .hp-dots { bottom: auto !important; top: calc(64px + env(safe-area-inset-top, 0px)); }
    body.hp-home .hp-kpis { display: none; }
    body.hp-home .hp-appbar-center { display: none; }

    body.hp-home .hp-about {
        background: #eef3ee;
        border-radius: 28px 28px 0 0;
        margin-top: -22px;
        position: relative;
        z-index: 5;
        padding-top: 28px;
        box-shadow: 0 -12px 40px rgba(0,0,0,.12);
    }
    body.hp-home .hp-about .row { --bs-gutter-y: 1rem; }
    body.hp-home .hp-fold {
        max-height: 8.6em;
        overflow: hidden;
        position: relative;
    }
    body.hp-home .hp-fold.is-open { max-height: none; }
    body.hp-home .hp-fold:not(.is-open)::after {
        content: "";
        position: absolute;
        left: 0; right: 0; bottom: 0;
        height: 2.6em;
        background: linear-gradient(transparent, #eef3ee);
        pointer-events: none;
    }
    body.hp-home .hp-vision .hp-fold:not(.is-open)::after {
        background: linear-gradient(transparent, rgba(6, 40, 24, .92));
    }
    body.hp-home .hp-fold-toggle {
        display: inline-flex;
        margin: 8px 0 12px;
        padding: 0;
        border: 0;
        background: none;
        color: var(--hp-green);
        font-weight: 800;
        font-size: .88rem;
    }
    body.hp-home .hp-fold-toggle.light { color: #d7f5e2; }
    body.hp-home .hp-quote { margin: 12px 0; padding: 12px 14px; font-size: .9rem; }
    body.hp-home #about,
    body.hp-home #dz-young-leaders-vision,
    body.hp-home #program,
    body.hp-home #participation,
    body.hp-home #downloads,
    body.hp-home #contact,
    body.hp-home #winners {
        scroll-margin-top: calc(68px + env(safe-area-inset-top, 0px));
    }
    body.hp-home .hp-section { padding: 28px 0; }
    body.hp-home .hp-head { margin-bottom: 16px; text-align: start; }
    body.hp-home .hp-head h2 { font-size: 1.22rem; }
    body.hp-home .hp-head p { margin: 0; text-align: start; font-size: .9rem; }
    body.hp-home .hp-bento { gap: 10px; }
    body.hp-home .hp-bento-card { border-radius: 18px; padding: 14px; }
    body.hp-home .hp-impact { grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 14px; }
    body.hp-home .hp-vision { padding: 36px 0; }
    body.hp-home .hp-vision-card { border-radius: 20px; padding: 18px 14px; text-align: start; }
    body.hp-home .hp-vision-body { margin-top: 10px; }
    body.hp-home .hp-doc { padding: 18px 14px; }
    body.hp-home .hp-contact-card .hp-btn { width: 100%; }
    body.hp-home .hp-contact-card .form-control,
    body.hp-home .hp-contact-card .form-select { min-height: 46px; }
    body.hp-home .winners-section { padding: 24px 0 8px; }
    body.hp-home .winners-section .display-5 { font-size: 1.28rem; }
    body.hp-home .winners-section .lead { font-size: .92rem; }
    body.hp-home .search-filter-container { padding: 12px !important; margin-bottom: 16px !important; }
    body.hp-home .footer-top { padding-top: 18px; padding-bottom: 8px; }
    body.hp-home .hp-footer { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
    body.hp-home .hp-bento { gap: 10px; }
    body.hp-home .hp-bento-card { border-radius: 18px; padding: 16px; }
    body.hp-home .hp-impact { grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 18px; }
    body.hp-home .hp-vision { padding: 48px 0; }
    body.hp-home .hp-vision-card { border-radius: 22px; padding: 22px 16px; text-align: start; }
    body.hp-home .hp-join-grid,
    body.hp-home .hp-method-grid,
    body.hp-home .hp-docs .row {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 12px;
        scroll-snap-type: x mandatory;
        padding-bottom: 8px;
        margin-inline: -12px;
        padding-inline: 12px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    body.hp-home .hp-join-grid::-webkit-scrollbar,
    body.hp-home .hp-method-grid::-webkit-scrollbar,
    body.hp-home .hp-docs .row::-webkit-scrollbar { display: none; }
    body.hp-home .hp-join-card,
    body.hp-home .hp-method-grid article {
        flex: 0 0 82%;
        scroll-snap-align: start;
        min-height: 118px;
        background: #fff;
        box-shadow: 0 10px 24px -18px rgba(15,23,42,.5);
    }
    body.hp-home .hp-docs .row > [class*="col-"] {
        flex: 0 0 78%;
        max-width: 78%;
        scroll-snap-align: start;
    }
    body.hp-home .hp-timeline {
        display: flex;
        overflow-x: auto;
        gap: 10px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        margin-bottom: 12px;
    }
    body.hp-home .hp-timeline::-webkit-scrollbar { display: none; }
    body.hp-home .hp-track {
        flex: 0 0 78%;
        scroll-snap-align: start;
        min-height: 76px;
    }
    body.hp-home .hp-contact-card { padding: 18px 14px; border-radius: 20px; }
    body.hp-home .hp-contact-card input,
    body.hp-home .hp-contact-card select,
    body.hp-home .hp-contact-card textarea { font-size: 16px !important; }
    body.hp-home .hp-footer { padding-bottom: 12px; }
    body.hp-home .hp-scroll { display: none; }

    body.hp-home .hp-splash {
        display: flex;
        position: fixed; inset: 0; z-index: 4000;
        flex-direction: column; align-items: center; justify-content: center;
        background: radial-gradient(circle at 50% 30%, #0b8a4a 0%, #052816 70%);
        color: #fff; gap: 10px;
        opacity: 1;
        padding-top: env(safe-area-inset-top, 0px);
        transition: opacity .45s ease, transform .45s ease;
    }
    html.hp-no-splash body.hp-home .hp-splash { display: none !important; }
    body.hp-home .hp-splash.in { opacity: 1; transform: none; }
    body.hp-home .hp-splash.out { opacity: 0; transform: scale(.98); pointer-events: none; }
    body.hp-home .hp-splash-glow {
        position: absolute; width: 220px; height: 220px; border-radius: 50%;
        background: rgba(255,255,255,.12); filter: blur(18px);
    }
    body.hp-home .hp-splash-logo {
        width: 108px; height: 108px; object-fit: contain; position: relative; z-index: 1;
        filter: drop-shadow(0 12px 24px rgba(0,0,0,.25));
    }
    body.hp-home .hp-splash-flag { position: relative; width: 88px; height: 5px; border-radius: 99px; overflow: hidden; }
    body.hp-home .hp-splash strong { font-size: 1.15rem; font-weight: 800; position: relative; }
    body.hp-home .hp-splash small { opacity: .8; font-size: .82rem; }

    body.hp-home .hp-dock {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        position: fixed;
        left: 12px; right: 12px;
        bottom: calc(10px + env(safe-area-inset-bottom, 0px));
        z-index: 70;
        background: rgba(255,255,255,.86);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        border: 1px solid rgba(255,255,255,.7);
        border-radius: 22px;
        padding: 8px 4px 6px;
        box-shadow: 0 16px 40px rgba(15,23,42,.18);
    }
    body.hp-home .hp-dock-item {
        appearance: none; border: 0; background: transparent;
        color: #6b7c72; text-decoration: none;
        display: flex; flex-direction: column; align-items: center; gap: 2px;
        font-size: .62rem; font-weight: 800; min-height: 48px; justify-content: center;
        border-radius: 14px; transition: color .2s ease, background .2s ease, transform .15s ease;
    }
    body.hp-home .hp-dock-item i { font-size: 1.15rem; }
    body.hp-home .hp-dock-item.on {
        color: var(--hp-green);
        background: rgba(0,98,51,.1);
    }
    body.hp-home .hp-dock-item:active { transform: scale(.94); }

    body.hp-home .hp-sheet {
        display: block;
        position: fixed; inset: 0; z-index: 60;
    }
    body.hp-home .hp-sheet[hidden] { display: none; }
    body.hp-home .hp-sheet-backdrop {
        appearance: none; border: 0; width: 100%; height: 100%;
        background: rgba(6, 18, 12, .45);
        opacity: 0; transition: opacity .28s ease;
    }
    body.hp-home .hp-sheet.open .hp-sheet-backdrop { opacity: 1; }
    body.hp-home .hp-sheet-panel {
        position: absolute; left: 10px; right: 10px;
        bottom: calc(86px + env(safe-area-inset-bottom, 0px));
        background: #f7faf7;
        border-radius: 24px;
        padding: 8px 16px 16px;
        transform: translateY(110%);
        transition: transform .38s cubic-bezier(.32,.72,0,1);
        max-height: calc(86vh - 90px);
        overflow: auto;
        box-shadow: 0 20px 50px rgba(0,0,0,.22);
    }
    body.hp-home .hp-sheet.open .hp-sheet-panel { transform: translateY(0); }
    body.hp-home .hp-sheet-handle {
        width: 42px; height: 5px; border-radius: 99px; background: #c5d0c8;
        margin: 6px auto 12px;
    }
    body.hp-home .hp-sheet-head {
        display: flex; align-items: center; justify-content: space-between;
        margin-bottom: 10px;
    }
    body.hp-home .hp-sheet-head h3 { font-size: 1.1rem; font-weight: 800; margin: 0; color: var(--hp-ink); }
    body.hp-home .hp-sheet-close {
        width: 36px; height: 36px; border-radius: 50%; border: 0;
        background: #e7eee8; color: var(--hp-ink);
    }
    body.hp-home .hp-sheet-list { display: grid; gap: 8px; }
    body.hp-home .hp-sheet-list a {
        display: flex; align-items: center; gap: 12px;
        background: #fff; border-radius: 16px; padding: 14px 14px;
        text-decoration: none; color: var(--hp-ink); font-weight: 700;
        box-shadow: 0 8px 20px -16px rgba(15,23,42,.5);
    }
    body.hp-home .hp-sheet-list i { color: var(--hp-green); font-size: 1.1rem; }
    body.hp-home .hp-sheet-cta {
        display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px;
    }
    body.hp-home .hp-sheet-cta .hp-btn:only-child { grid-column: 1 / -1; }
    body.hp-home .hp-sheet-cta .hp-btn-ghost {
        color: var(--hp-green); border-color: rgba(0,98,51,.3); background: #fff;
    }
    html[dir="ltr"] body.hp-home .hp-caption { text-align: left; }
    html[dir="ltr"] body.hp-home .hp-head,
    html[dir="ltr"] body.hp-home .hp-head p,
    html[dir="ltr"] body.hp-home .hp-vision-card { text-align: left; }
}
