/* =============================================================
   SEKCJA: OFERTA
============================================================= */
.jgm-oferta {
    padding: clamp(60px, 10vw, 100px) 0;
    background: var(--bg-light);
    position: relative;
}

/* --- GRID: auto-fit, responsywny z automatu --- */
.jgm-oferta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* --- KARTA --- */
.jgm-oferta-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Dolna linia akcentu */
.jgm-oferta-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.jgm-oferta-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.jgm-oferta-card:hover::after {
    transform: scaleX(1);
}

/* --- IKONA --- */
.jgm-oferta-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(212, 168, 67, .15), rgba(212, 168, 67, .05));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    transition: transform var(--transition);
}

.jgm-oferta-card:hover .jgm-oferta-icon {
    transform: scale(1.08) rotate(-4deg);
}

.jgm-oferta-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--accent-dark);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* --- TREŚĆ KARTY --- */
.jgm-oferta-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 .75rem 0;
    line-height: 1.3;
}

.jgm-oferta-card p {
    font-size: .88rem;
    color: var(--text-mid);
    line-height: 1.65;
    margin: 0;
}

.jgm-oferta-card ul {
    margin: 1rem 0 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    list-style: none;
}

.jgm-oferta-card ul li {
    font-size: .83rem;
    color: var(--text-mid);
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    line-height: 1.5;
}

.jgm-oferta-card ul li::before {
    content: '›';
    color: var(--accent);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
    margin-top: 2px;
}

/* =============================================================
   RESPONSIVE
============================================================= */
@media (max-width: 1100px) {
    .jgm-oferta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .jgm-oferta-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .jgm-oferta-card {
        padding: 1.75rem 1.25rem;
    }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    .jgm-oferta-card,
    .jgm-oferta-icon {
        transition: none !important;
    }
}