.section-social {
    position: relative;
    margin: 20px 0;
    padding: 33px 40px;
    background: #272727;
    overflow: hidden;
}

.section-social::before {
    position: absolute;
    left: 0;
    top: 0;
    content: '';
    width: 420px;
    height: 100%;
    display: block;
    background-image: url(../img/quiz.png);
    background-repeat: no-repeat;
    background-size: cover;
}

/* Parent container positions the whole group (title + list) as one centered
   stack in the space to the right of the decorative car image (::before, 420px). */
.section-social .container {
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

.section-social__title {
    position: relative;
    text-align: center;
    color: #fff;
    font-family: 'Caros Soft';
    font-size: 36px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-social__title span {
    font-weight: 700;
    font-size: 48px;
}

.section-social__list {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 48px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.section-social__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.section-social__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.section-social__link:hover {
    color: #fff;
    text-decoration: none;
}

.section-social__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 2px transparent;
    transition: box-shadow .3s, transform .3s;
}

.section-social__link:hover .section-social__icon {
    box-shadow: 0 0 0 2px #E11D20;
    transform: scale(1.05);
}

.section-social__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-social__icon-img {
    display: none;
}

@media (max-width: 1024px) {
    .section-social .container {
        padding-left: 0;
    }

    .section-social__list {
        justify-content: center;
        background: rgba(20, 21, 23, 0.60);
        -webkit-backdrop-filter: blur(48px);
        backdrop-filter: blur(48px);
        border-radius: 16px;
        padding: 20px;
        padding-left: 20px !important;
    }

    .section-social__qr {
        display: none;
    }

    .section-social__icon-img {
        display: block;
    }

    .section-social__icon {
        width: auto;
        height: auto;
        border-radius: 0;
        background: none;
        box-shadow: none;
    }

    .section-social__icon img {
        width: 28px;
        height: 28px;
        object-fit: contain;
    }
}
