/* ==========================================================================
   HERO SECTION STYLE
   ========================================================================== */
.hero {
    margin-top: 90px; /* offset na przyklejony header */
    background: linear-gradient(135deg, rgba(11, 32, 70, 0.94) 0%, rgba(22, 54, 111, 0.90) 100%),
                var(--hero-bg) center/cover no-repeat;
    color: var(--color-white, #ffffff);
    min-height: calc(90vh - 80px);
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: clamp(4rem, 8vw, 8rem) 0 clamp(6rem, 10vw, 10rem);
    box-sizing: border-box;
}

/* Połyskujące koło / gradient w tle */
.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: clamp(300px, 40vw, 600px);
    height: clamp(300px, 40vw, 600px);
    background: radial-gradient(circle, rgba(255, 183, 3, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

/* Ścięcie na dole sekcji (Skews Transition) */
.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--color-light, #f9fafb); /* Kolor tła kolejnej sekcji */
    transform: skewY(-2deg);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero h1 {
    font-size: var(--font-size-h1);
    max-width: 1000px;
    margin: 0 auto 24px;
    line-height: 1.15;
    color: var(--color-white, #ffffff);
}

.hero h1 .highlight {
    position: relative;
    color: var(--color-accent, #ffb703);
}

.hero p {
    font-size: var(--font-size-lead);
    color: rgba(255, 255, 255, 0.82);
    max-width: 780px;
    margin: 0 auto 48px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- SYSTEM CZĄSTECZEK (PARTICLES BACKGROUND) --- */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 183, 3, 0.2);
    animation: float-particle linear infinite;
}

@keyframes float-particle {
    0% { 
        transform: translateY(105vh) rotate(0deg); 
        opacity: 0; 
    }
    10% { 
        opacity: 1; 
    }
    90% { 
        opacity: 1; 
    }
    100% { 
        transform: translateY(-10vh) rotate(720deg); 
        opacity: 0; 
    }
}

/* --- RESPONSIVNESS OVERRIDES --- */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 80px 0 clamp(4rem, 8vw, 6rem);
    }
    .hero p {
        margin-bottom: 32px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        max-width: 290px;
        margin: 0 auto;
    }
}