.text-contacts-form {
    padding: 60px 0;
    background: var(--bg-gray);
}

.text-contacts-form__grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 24px;
}

.text-contacts-form__label {
    margin: 40px 0 16px;
    color: var(--text-on-dark);
}

.text-contacts-form__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.text-contacts-form__social {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 3px 12px;
    border: 1px solid var(--border-on-light);
    border-radius: 8px;
    background: var(--bg);
}

.text-contacts-form__social-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.text-contacts-form__contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.text-contacts-form__contact {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Подложку рисует CSS, а не сама иконка — иначе её цвет был бы зашит в разметку. */
.text-contacts-form__contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--bg-cards);
}

.text-contacts-form__contact-icon svg {
    width: 24px;
    height: 24px;
}

.text-contacts-form__card {
    padding: 32px;
    border-radius: 32px;
    background: var(--bg);
}

@media (max-width: 1080px) {

    .text-contacts-form {
        padding: 30px 0;
    }

    

    .text-contacts-form__label {
        margin-top: 24px;
    }

    .text-contacts-form__card {
        padding: 16px;
    }
}

@media (max-width: 768px) {
    .text-contacts-form__grid {
        grid-template-columns: 1fr;
    }
}