.home-socials {
    position: relative;
    overflow: hidden;
    max-width: 1600px;
    margin: 0 auto;
    padding: 50px;
    color: #fff;
    border-radius: 32px;
    background-color: #0c0c0c;
    background-image: url('/image/catalog/socials/socials-bg.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    box-sizing: border-box;
}

.home-socials *,
.home-socials *::before,
.home-socials *::after {
    box-sizing: border-box;
}

.home-socials__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 360px;
}

.home-socials__text {
    max-width: 520px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.home-socials__title {
    margin: 0;
    color: #fff;
    font-family: 'SouthGhetto', sans-serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 120%;
    text-transform: uppercase;
}

.home-socials__description {
    margin: 0;
    color: #FFF;
    font-family: 'Involve', sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 120%;
}

.home-socials__grid {
    display: grid;
    max-width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.home-socials__link {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70px;
    gap: 10px;
    padding: 10px 22px;
    color: #fff;
    font-family: 'Involve', 'Roboto', Arial, sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    text-decoration: none;
    border: 2px solid #FFF;
    border-radius: 16px;
    background: #1C1C1C;
    transition: all 0.2s ease;
}

.home-socials__link:hover,
.home-socials__link:focus {
    text-decoration: none;
    border-color: #8E0002;
    background: #8E0002;
    outline: none;
    color: #fff;
}
.home-socials__icon {
    position: relative;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
}

.home-socials__icon img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.2s ease;
}

.home-socials__icon-hover {
    opacity: 0;
}

.home-socials__link--swap:hover .home-socials__icon-default,
.home-socials__link--swap:focus .home-socials__icon-default {
    opacity: 0;
}

.home-socials__link--swap:hover .home-socials__icon-hover,
.home-socials__link--swap:focus .home-socials__icon-hover {
    opacity: 1;
}

.home-socials__label {
    min-width: 0;
}

@media (max-width: 1639px) {
    .home-socials__content {
        gap: 242px;
    }
}
@media (max-width: 1439px) {
    .home-socials {
        padding: 30px;
    }
    .home-socials__content {
        gap: 292px;
    }
    .home-socials__text {
        max-width: 390px;
    }
    .home-socials__title {
        font-size: 40px;
    }
    .home-socials__description {
        font-size: 18px;
    }
}
@media (max-width: 1299px) {
    .home-socials__content {
        gap: 275px;
    }
    .home-socials__grid {
        gap: 20px;
    }
}
@media (max-width: 992px) {
    .home-socials__description {
        max-width: 293px;
    }
}
@media (max-width: 767px) {
    .home-socials {
        padding: 20px;
        background-position: center left 37%;
    }
    .home-socials__content {
        gap: 20px;
    }
    .home-socials__text {
        gap: 244px;
    }
    .home-socials__title {
        font-size: 36px;
    }
    .home-socials__description {
        font-size: 16px;
    }
    .home-socials__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .home-socials__link {
        min-height: 60px;
        font-size: 18px;
    }
}

@media (max-width: 569px) {
    .home-socials {
        padding: 20px 10px;
        background-position: center left 50%;
        border-radius: 24px;
    }
    .home-socials__text {
        gap: 331px;
        max-width: 100%;
    }
    .home-socials__title {
        font-size: 26px;
        text-align: center;
    }
    .home-socials__description {
        font-size: 16px;
        max-width: 100%;
    }
    .home-socials__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .home-socials__link {
        min-height: 45px;
        padding: 5px 15px;
        font-size: 12px;
    }
}
