﻿/* ─── DESIGN TOKENS ──────────────────────────────────────── */
:root {
    --hs-blue: #0074E4;
    --hs-blue-light: #369CFF;
    --hs-black: #28313B;
    --hs-grey: #6F6F6F;
    --hs-light: #F0F3F7;
    --hs-orange: #FFA82F;
    --hs-dark-blue: #003688;
    --hs-muted: #E0E6ED;
    --hs-red: #FF525B;
    --hs-green: #38CAAA;
}

/* ─── BASE ───────────────────────────────────────────────── */
body {
    font-family: 'Cabin', system-ui, sans-serif;
    color: var(--hs-black);
    background: #fff;
    padding-bottom: 84px; /* leave room for orange bar */
}

a {
    text-decoration: none;
}

/* ─── TYPE SCALE ─────────────────────────────────────────── */
.hs-eyebrow {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .6px;
    color: var(--hs-blue);
}

.hs-h1 {
    font-size: clamp(2rem, 4.44vw, 64px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: .6px;
}

.hs-h2 {
    font-size: clamp(1.5rem, 3.33vw, 48px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: .6px;
}

.hs-h3 {
    font-size: clamp(1.1rem, 1.67vw, 24px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .6px;
}

.hs-stat {
    font-size: clamp(1.5rem, 2.5vw, 36px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: .6px;
}

.hs-num-xl {
    font-size: clamp(2rem, 3.33vw, 48px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: .6px;
}

.hs-num-l {
    font-size: clamp(1.25rem, 2.22vw, 32px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: .6px;
}

.hs-body {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: .5px;
}

.text-hs-black {
    color: var(--hs-black);
}

.hs-sm {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: .5px;
}

.hs-label {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn-hs2 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    border: none;
    line-height: 1.286;
    font-family: inherit;
    transition: background .35s ease, color .35s ease, border-color .35s ease, opacity .35s ease;
}

.btn-hs-solid {
    background: var(--hs-blue);
    color: #fff;
}

    .btn-hs-solid:hover {
        background: #005cbb;
        color: #fff;
    }

.btn-hs-outline {
    background: transparent;
    color: var(--hs-blue);
    border: 2px solid var(--hs-light);
}

    .btn-hs-outline:hover {
        border-color: var(--hs-blue);
        color: var(--hs-blue);
    }

.btn-hs-white {
    background: #fff;
    color: var(--hs-black);
}

    .btn-hs-white:hover {
        background: var(--hs-light);
        color: var(--hs-black);
    }

.btn-hs-text {
    background: none;
    color: var(--hs-blue);
    padding: 0;
    gap: 8px;
}

    .btn-hs-text:hover {
        color: #005cbb;
    }

/* ─── TAGS ───────────────────────────────────────────────── */
.hs-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--hs-light);
    color: var(--hs-blue);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 14px;
    letter-spacing: .5px;
    transition: background .35s ease, color .35s ease;
}

    .hs-tag:hover {
        background: #dce4ef;
        color: var(--hs-blue);
    }

.hs-tag-orange {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--hs-orange);
    color: var(--hs-orange);
    padding: 4px 16px;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: .5px;
    align-self: flex-start;
}

.hs-tag-pill {
    display: inline-block;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
    line-height: 1.3;
    padding: 4px 12px;
    border-radius: 4px;
}

/* ─── ORANGE BAR (sticky bottom) ─────────────────────────── */
#orange-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1050;
    background: var(--hs-orange);
    padding: 16px 40px;
    display: flex;
    align-items: center;
    gap: 32px;
}

    #orange-bar .bar-text {
        flex: 1;
        color: var(--hs-black);
        font-weight: 700;
        font-size: 18px;
        letter-spacing: .6px;
    }

    #orange-bar .bar-close {
        background: none;
        border: none;
        color: var(--hs-black);
        font-size: 18px;
        cursor: pointer;
        flex-shrink: 0;
        opacity: .5;
        line-height: 1;
    }

        #orange-bar .bar-close:hover {
            opacity: 1;
        }



/* ─── HERO ───────────────────────────────────────────────── */
.hs-hero {
    background: #fff;
    padding: 60px 0;
}

.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.hs-search-wrap {
    width: 100%;
    max-width: 670px;
}

.hs-search {
    display: flex;
    height: 50px;
    width: 100%;
}

    .hs-search .s-input-wrap {
        flex: 1;
        display: flex;
        align-items: center;
        gap: 12px;
        border: 2px solid var(--hs-blue);
        border-right: none;
        border-radius: 4px 0 0 4px;
        padding: 0 24px;
        background: #fff;
    }

    .hs-search input {
        flex: 1;
        border: none;
        outline: none;
        font-family: inherit;
        font-size: 16px;
        color: var(--hs-grey);
        background: transparent;
    }

        .hs-search input::placeholder {
            color: var(--hs-grey);
        }

    .hs-search .s-btn {
        background: var(--hs-blue);
        color: #fff;
        border: none;
        border-radius: 0 4px 4px 0;
        padding: 0 32px;
        font-weight: 700;
        font-size: 14px;
        letter-spacing: 1px;
        text-transform: uppercase;
        cursor: pointer;
        font-family: inherit;
        white-space: nowrap;
        transition: background .35s ease;
    }

        .hs-search .s-btn:hover {
            background: #005cbb;
        }

.hs-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

/* Stat strip */
.stat-strip {
    background: var(--hs-light);
    border-radius: 12px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
}

    .stat-strip .stat {
        padding: 48px 40px;
        text-align: center;
        border-right: 1px solid rgba(0,0,0,.06);
    }

        .stat-strip .stat:last-child {
            border-right: none;
        }

/* ─── IMPACT ─────────────────────────────────────────────── */
.hs-impact {
    padding: 120px 0;
    background: linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2)), #003688;
}

.impact-mosaic {
    border-radius: 12px;
    overflow: hidden;
}

.impact-row {
    display: grid;
    gap: 4px;
}

.impact-row-2 {
    grid-template-columns: 1fr 1fr;
}

.impact-row-3 {
    grid-template-columns: 1fr 1fr 1fr;
    margin-top: 4px;
}

.impact-card {
    background: rgba(0,0,0,.15);
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: space-between;
    min-height: 480px;
    text-decoration: none;
    color: inherit;
    transition: background .35s ease;
}

    .impact-card:hover {
        background: rgba(0,0,0,.25);
        color: inherit;
    }

.impact-card-sm {
    min-height: 0;
}

/* ─── DATA GRID ──────────────────────────────────────────── */
.hs-data {
    background: #fff;
    padding: 120px 0;
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 4px;
    border-radius: 12px;
    overflow: hidden;
}

.data-card {
    background: var(--hs-light);
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px;
}

.data-icon {
    width: 48px;
    height: 48px;
}

.data-num {
    display: flex;
    align-items: baseline;
    gap: 4px;
    color: var(--hs-black);
}

/* ─── FUNDRAISING ────────────────────────────────────────── */
.hs-fund {
    padding: 120px 0;
    background: linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2)), #003688;
}

.fund-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.fund-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .fund-list li {
        padding-bottom: 16px;
        margin-bottom: 16px;
        font-size: 18px;
        font-weight: 700;
        line-height: 1.2;
        letter-spacing: .6px;
        color: #fff;
    }

        .fund-list li:last-child {
            padding-bottom: 0;
            margin-bottom: 0;
        }

.donation-widget {
    border-radius: 12px;
    overflow: hidden;
}

.qr-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: #fff;
}

    .qr-row + .qr-row {
        border-top: 1px solid var(--hs-light);
    }

.qr-img {
    width: 104px;
    height: 105px;
    flex-shrink: 0;
    object-fit: contain;
}

.fund-amounts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.amt-btn {
    border: 1px solid var(--hs-muted);
    background: #fff;
    color: var(--hs-black);
    font-weight: 700;
    font-size: 16px;
    font-family: inherit;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    line-height: 1.3;
    letter-spacing: .5px;
    transition: border-color .35s ease, color .35s ease;
}

    .amt-btn:hover {
        border-color: var(--hs-blue);
        color: var(--hs-blue);
    }

    .amt-btn.active {
        border-color: var(--hs-blue);
        color: var(--hs-blue);
    }

/* ─── PASTVINA ───────────────────────────────────────────── */
.hs-pv {
    background: #fff;
    padding: 120px 0;
}

.pv-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 4px;
}

.pv-card {
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

    .pv-card:hover {
        color: inherit;
    }

.pv-thumb {
    position: relative;
    aspect-ratio: 330/164;
    overflow: hidden;
    flex-shrink: 0;
}

    .pv-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .35s ease;
    }

.pv-card:hover .pv-thumb img {
    transform: scale(1.15);
}

.pv-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.2);
}

.pv-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pv-info {
    background: var(--hs-light);
    padding: 24px;
    flex: 1;
}

.pv-card:hover .pv-title {
    text-decoration: underline;
}



/* ─── RESPONSIVE ─────────────────────────────────────────── */
/* BS5 breakpoints: sm 576, md 768, lg 992, xl 1200 */
@media (max-width: 1199.98px) {
    .impact-row-3 {
        grid-template-columns: 1fr;
    }

    .data-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 991.98px) {
    .impact-row-2 {
        grid-template-columns: 1fr;
    }


    .fund-grid {
        grid-template-columns: 1fr;
    }

    .stat-strip {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767.98px) {

    .pv-grid {
        grid-template-columns: 1fr;
    }

    .data-grid {
        grid-template-columns: 1fr;
    }

    #orange-bar {
        padding: 12px 16px;
        gap: 12px;
        flex-wrap: wrap;
    }
}

@media (max-width: 575.98px) {

    .stat-strip {
        grid-template-columns: 1fr;
    }

    body {
        padding-bottom: 120px;
    }
}

