.gallery-section{
    padding:90px 0;
    background:#f8fafc;
}

.gallery-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    grid-auto-rows:190px;
    gap:22px;
}

.gallery-item{
    border-radius:var(--radius-lg,28px);
    padding:24px;
    display:flex;
    align-items:flex-end;
    color:#fff;
    font-size:22px;
    font-weight:900;
    background:linear-gradient(135deg,#2563eb,#60a5fa);
    box-shadow:0 20px 55px rgba(15,23,42,.12);
    overflow:hidden;
    transition:transform .24s ease, box-shadow .24s ease;
}

.gallery-item:hover,
.gallery-item:focus-within{
    transform:translateY(-4px);
    box-shadow:0 24px 60px rgba(15,23,42,.16);
}

.gallery-item.big{
    grid-row:span 2;
    background:linear-gradient(135deg,#0f172a,#2563eb);
}

.gallery-item:nth-child(3){
    background:linear-gradient(135deg,#059669,#34d399);
}

.gallery-item:nth-child(4){
    background:linear-gradient(135deg,#7c3aed,#a855f7);
}

.gallery-item:nth-child(5){
    background:linear-gradient(135deg,#ea580c,#fb923c);
}

@media(max-width:900px){
    .gallery-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:560px){
    .gallery-grid{
        grid-template-columns:1fr;
        grid-auto-rows:170px;
    }

    .gallery-item.big{
        grid-row:auto;
    }
}

@media(hover:none),(pointer:coarse),(prefers-reduced-motion:reduce){
    .gallery-item:hover,
    .gallery-item:focus-within{
        transform:none;
    }
}
