/* =============================================================
   SEKCJA: HERO
============================================================= */
.jgm-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh; /* nowoczesne, uwzględnia paski przeglądarki na mobile */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: var(--primary);
    padding: 100px 1rem 60px;
    box-sizing: border-box;
}

.jgm-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    will-change: transform;
}

.jgm-hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    width: 100%;
    padding: 2rem 1rem;
}

.jgm-hero-title {
    font-size: clamp(1.9rem, 5.5vw, 3.6rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 1.25rem 0;
    animation: jgm-fadeInUp .6s ease .1s both;
    letter-spacing: -.5px;
}

.jgm-hero-title span {
    color: var(--accent);
    display: inline-block;
}

.jgm-hero-subtitle {
    font-size: clamp(.95rem, 2vw, 1.15rem);
    color: rgba(255, 255, 255, .82);
    margin: 0 auto 2.5rem;
    max-width: 640px;
    animation: jgm-fadeInUp .6s ease .25s both;
    line-height: 1.65;
}

.jgm-hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: jgm-fadeInUp .6s ease .4s both;
}

.jgm-hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
    color: rgba(255, 255, 255, .5);
    font-size: .7rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    animation: jgm-bounce 2s infinite;
    pointer-events: none;
}

.jgm-hero-scroll svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* =============================================================
   RESPONSIVE
============================================================= */
@media (max-width: 768px) {
    .jgm-hero {
        padding: 90px 1rem 80px;
    }

    .jgm-hero-btns {
        flex-direction: column;
        align-items: stretch;
        max-width: 320px;
        margin: 0 auto;
    }

    .jgm-hero-btns .jgm-btn {
        justify-content: center;
    }

    .jgm-hero-scroll {
        bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .jgm-hero-title {
        letter-spacing: -.3px;
    }

    .jgm-hero-subtitle {
        font-size: 1rem;
    }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    .jgm-hero-title,
    .jgm-hero-subtitle,
    .jgm-hero-btns,
    .jgm-hero-scroll {
        animation: none !important;
    }
}