.logos-container {
    width: 100%;
    max-width: 1220px;
    margin: 5rem auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;

    h2 {
        font-size: clamp(20px, calc(1vw + 0.5rem), 28px);
        text-align: center;
        margin-bottom: 3rem;
    }

    .logos-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 4rem;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-bottom: 2rem;

        .logo-item {
            display: flex;
            align-items: center;
            justify-content: center;

            img {
                max-height: 140px;
                width: auto;
                height: auto;
                max-width: 200px;
                object-fit: contain;
                display: block;
            }
        }
    }

    button.btn {
        margin-top: 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    .logos-container {
        margin: 3rem auto;

        h2 {
            margin-bottom: 2rem;
        }

        .logos-grid {
            gap: 2.5rem;

            .logo-item {
                img {
                    max-height: 110px;
                    max-width: 160px;
                }
            }
        }
    }
}

@media screen and (max-width: 480px) {
    .logos-container {
        .logos-grid {
            gap: 2rem;

            .logo-item {
                img {
                    max-height: 90px;
                    max-width: 130px;
                }
            }
        }
    }
}
