/* ─── RESET & BASE ───────────────────────────────────── */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #eef1f5;
    color: #0b1f2e;
}

/* ─── DOWNLOADS HERO ─────────────────────────────────── */

.downloads-hero {
    height: 320px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-image: url("../images/hero-2-mobile.png");
    background-size: cover;
    background-position: center;
    color: white;
    margin-top: 0;
     padding-top: 100px;
    padding-bottom: 0;
    padding-left: 60px;
    padding-right: 60px;
}

.downloads-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(11, 31, 46, 0.95) 0%,
        rgba(11, 31, 46, 0.85) 40%,
        rgba(11, 31, 46, 0.40) 70%,
        rgba(11, 31, 46, 0.10) 100%
    );
    z-index: 1;
}

.downloads-hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.downloads-hero-content .eyebrow {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #ff5a55;
    font-weight: 900;
    margin: 0 0 14px;
    white-space: nowrap;
}

.downloads-hero h1 {
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -1px;
    margin: 0 0 16px;
    color: white;
    white-space: nowrap;
}

.hero-accent {
    color: white;
    border-bottom: 3px solid #e53935;
    padding-bottom: 2px;
}

.downloads-hero p {
    font-size: 17px;
    line-height: 1.65;
    color: rgba(255,255,255,0.92);   /* brighter than before */
    margin: 0;
    max-width: 620px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

/* ─── SECTION LABEL DIVIDER ──────────────────────────── */

.downloads-section-label {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 16px 0 4px;
    width: 100%;
}

.downloads-section-label span {
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(11,31,46,0.4);
    white-space: nowrap;
}

.downloads-section-label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(11,31,46,0.10);
}

/* ─── DOWNLOADS LAYOUT ───────────────────────────────── */

.downloads-layout {
    max-width: 1400px;
    margin: 48px auto 80px;
    padding: 0 48px;
}

/* ─── DOWNLOAD GRID ──────────────────────────────────── */

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ─── DOWNLOAD CARD ──────────────────────────────────── */

.download-card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 8px 32px rgba(11,31,46,0.08);
    border: 1px solid rgba(11,31,46,0.07);
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.download-card:hover {
    box-shadow: 0 16px 48px rgba(11,31,46,0.13);
    transform: translateY(-4px);
}

/* Red accent stripe */
.download-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, #e53935, rgba(229,57,53,0.3));
}

/* Coming soon card style */
.download-card.coming-soon {
    background: #f8f9fb;
    border: 1px dashed rgba(11,31,46,0.15);
    opacity: 0.75;
}

.download-card.coming-soon::before {
    background: linear-gradient(to right, rgba(11,31,46,0.2), transparent);
}

/* ─── CARD ICON ──────────────────────────────────────── */

.download-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(229,57,53,0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e53935;
    flex-shrink: 0;
}

.download-card-icon svg {
    width: 22px;
    height: 22px;
}

.coming-soon .download-card-icon {
    background: rgba(11,31,46,0.06);
    color: rgba(11,31,46,0.35);
}

/* ─── CARD BODY ──────────────────────────────────────── */

.download-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.download-card-body h3 {
    font-size: 17px;
    font-weight: 700;
    color: #0b1f2e;
    margin: 0;
    line-height: 1.3;
}

.download-card-body p {
    font-size: 14px;
    color: rgba(11,31,46,0.55);
    line-height: 1.6;
    margin: 0;
}

/* ─── FILE TYPE BADGE ────────────────────────────────── */

.download-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 3px 10px;
    border-radius: 20px;
    width: fit-content;
}

.download-badge.pdf {
    background: rgba(229,57,53,0.10);
    color: #e53935;
    border: 1px solid rgba(229,57,53,0.22);
}

.download-badge.zip {
    background: rgba(11,31,46,0.08);
    color: #0b1f2e;
    border: 1px solid rgba(11,31,46,0.15);
}

.download-badge.coming {
    background: rgba(11,31,46,0.06);
    color: rgba(11,31,46,0.35);
    border: 1px solid rgba(11,31,46,0.12);
}

/* ─── DOWNLOAD BUTTON ────────────────────────────────── */

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    background: #e53935;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    width: 100%;
    text-align: center;
    margin-top: auto;
}

.download-btn:hover {
    background: #c62828;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(229,57,53,0.35);
}

.download-btn-disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    background: rgba(11,31,46,0.06);
    color: rgba(11,31,46,0.3);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    width: 100%;
    text-align: center;
    cursor: not-allowed;
    margin-top: auto;
}

/* ─── SCROLL ENTRANCE ANIMATIONS ────────────────────── */

.download-card {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease,
        box-shadow 0.3s ease;
}

.download-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── FOOTER ─────────────────────────────────────────── */

.site-footer {
    background: #0b1f2e;
    color: rgba(255,255,255,0.8);
    text-align: center;
    padding: 36px 20px;
    font-size: 14px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-content p {
    margin: 6px 0;
}

/* ─── RESPONSIVE ─────────────────────────────────────── */

@media (max-width: 1024px) {
    .downloads-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .downloads-grid {
        grid-template-columns: 1fr;
    }

    .downloads-layout {
        padding: 0 24px;
        margin: 32px auto 60px;
    }

    .downloads-hero {
        min-height: 340px;
        height: auto;
        padding: 92px 24px 40px;
        background-size: cover;
        background-position: center top;
        align-items: flex-start;
    }

       .downloads-hero::before {
        background: linear-gradient(
            to bottom,
            rgba(11,31,46,0.88) 0%,
            rgba(11,31,46,0.70) 55%,
            rgba(11,31,46,0.45) 100%
        );
    }

    .downloads-hero h1 {
        white-space: normal;
        font-size: 32px;
    }

    .downloads-hero p {
        font-size: 16px;
        line-height: 1.55;
    }
}