/* =============================================================
   SEKCJA: O NAS
============================================================= */
.jgm-onas {
    padding: clamp(60px, 10vw, 100px) 0;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.jgm-onas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}

/* --- OBRAZEK --- */
.jgm-onas-img-wrap {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

.jgm-onas-img-wrap img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: block;
    transition: transform .6s ease;
}

.jgm-onas-img-wrap:hover img {
    transform: scale(1.03);
}

/* Badge na obrazku */
.jgm-onas-img-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: rgba(255, 255, 255, .95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: .75rem 1.15rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: .5rem;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.jgm-onas-img-badge svg {
    width: 18px;
    height: 18px;
    stroke: var(--accent-dark);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.jgm-onas-img-badge span {
    font-size: .8rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: .02em;
}

/* --- TREŚĆ --- */
.jgm-onas-text .jgm-section-subtitle {
    margin-bottom: 1.5rem;
}

.jgm-onas-text p {
    color: var(--text-mid);
    font-size: .95rem;
    margin: 0 0 1rem 0;
    line-height: 1.7;
}

.jgm-onas-list {
    margin: 1.5rem 0 2rem;
    display: flex;
    flex-direction: column;
    gap: .7rem;
    list-style: none;
    padding: 0;
}

.jgm-onas-list li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    color: var(--text-mid);
    font-size: .92rem;
    line-height: 1.55;
}

.jgm-onas-list li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    min-width: 22px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--primary);
    font-size: .75rem;
    font-weight: 700;
    border-radius: 50%;
    margin-top: 1px;
    box-shadow: 0 2px 8px rgba(212, 168, 67, .35);
}

/* =============================================================
   RESPONSIVE
============================================================= */
@media (max-width: 900px) {
    .jgm-onas-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .jgm-onas-img-wrap img {
        height: 380px;
    }
}

@media (max-width: 600px) {
    .jgm-onas-img-wrap img {
        height: 300px;
    }

    .jgm-onas-img-badge {
        bottom: 1rem;
        left: 1rem;
        padding: .6rem .9rem;
    }

    .jgm-onas-img-badge span {
        font-size: .72rem;
    }

    .jgm-onas-text p {
        font-size: .92rem;
    }
}

@media (max-width: 480px) {
    .jgm-onas-img-wrap img {
        height: 240px;
    }
}

.jgm-onas-text .jgm-btn {
    margin-top: .5rem;
    align-self: flex-start;
}

/* Reset ewentualnych stylów GP na przyciskach w tej sekcji */
.jgm-onas-text a.jgm-btn {
    text-decoration: none !important;
    line-height: 1.2;
}

/* Jeśli treść jest we flex/grid – wymuś porządek */
.jgm-onas-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.jgm-onas-text .jgm-section-tag,
.jgm-onas-text .jgm-section-title,
.jgm-onas-text p,
.jgm-onas-text .jgm-onas-list {
    width: 100%;
}

/* =============================================================
   FIX: większy odstęp przycisku od listy
============================================================= */
.jgm-onas-text .jgm-onas-list {
    margin-bottom: 2rem !important;
}

.jgm-onas-text .jgm-btn {
    margin-top: 1rem !important;
}