.contacts-block {
    position: relative;
}

.contacts-block .contacts-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: var(--fourty);
}

.contacts-block .contacts-holder {
    display: grid;
    grid-template-columns: auto auto auto auto;
    gap: var(--fourty);
}

.contacts-block .socials-holder {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.contacts-block .contacts-holder>*:nth-child(4n) {
    justify-content: flex-end;
}

.contacts-block .contacts-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contacts-block .contacts-name {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: var(--main-text);
}

.contacts-block .contacts-value {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.25rem);
    line-height: 150%;
    color: var(--head);
}

.contacts-block p {
    margin-bottom: unset;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.25rem);
    line-height: 150%;
    color: var(--head);
}

.contacts-block a:not(.contacts-block .soc-icon) {
    width: fit-content;
}

.contacts-block a:hover {
    color: var(--primary);
}

contacts-block .soc-icon {
    flex-shrink: 0;
}

.contacts-block .map-holder {
    height: 100%;
    width: 100%;
    max-height: 100vw;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
}

@media(max-width:1000px) {
    .contacts-block .contacts-holder {
        grid-template-columns: 1fr 1fr;
    }

    .contacts-block .contacts-holder>*:nth-child(4n) {
        justify-content: unset;
    }
}

@media(max-width:650px) {
    .contacts-block .contacts-holder {
        grid-template-columns: 1fr;
    }
}