.contacts-block {
    position: relative;
    padding-top: var(--sixty);
    background: var(--white);
    border-radius: 20px;
    margin-top: 10px;
    padding-bottom: var(--sixty);
}

.contacts-block .contacts-inner {
    display: flex;
    flex-direction: column;
    gap: var(--fourty);
}

.contacts-block .contacts-content {
    display: flex;
    flex-direction: row;
    gap: var(--twenty);
}

.contacts-block .contacts-holder {
    width: 100%;
    max-width: 680px;
    display: flex;
    flex-direction: column;
    gap: var(--twenty);
    height: auto;
    align-self: stretch;
}

.contacts-block .contacts-form__holder {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: var(--twenty);
}

.contacts-block .form-row {
    flex-direction: column;
    gap: var(--fifteen);
}

.contacts-block .contacts-item {
    background: var(--elements-1);
    border-radius: 20px;
    display: flex;
    flex-grow: 1;
}

.contacts-block .contacts-item .contacts-item__inner {
    padding: var(--thirty);
    display: flex;
    flex-direction: column;
    height: auto;
    align-self: stretch;
    gap: var(--twenty);
    width: 100%;
    justify-content: center;
}

.contacts-block .contacts-title {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
    color: var(--light-text);
}

.contacts-block .contacts-value,
.contacts-block .contacts-value>* {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: clamp(1.125rem, 1.05rem + 0.375vw, 1.5rem);
    line-height: 120%;
    color: var(--main-text);
    margin-bottom: 0px;
}

.contacts-block .phone-item__holder {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--fifteen);
    align-items: flex-end;
}

.contacts-block .phone-item {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: clamp(1.125rem, 1.05rem + 0.375vw, 1.5rem);
    line-height: 120%;
    color: var(--main-text);
}

.contacts-block .phones-holder.contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contacts-block .phone-item:hover,
.contacts-block a:hover {
    color: var(--primary);
}

.contacts-block a {
    width: fit-content;
}

.contacts-block .phone-item__time {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: var(--1816);
    line-height: 120%;
    color: var(--light-text);
}

.contacts-block .contacts-form {
    border-radius: 20px;
    background: var(--accent);
    display: flex;
    width: 100%;
    flex-direction: column;
}

.contacts-block .contacts-form__inner {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    height: auto;
    width: 100%;
    padding: var(--fifty);
    gap: var(--fourty);
}

.contacts-block .contacts-form__text-holder {
    display: flex;
    flex-direction: column;
    gap: var(--fifteen);
}

.contacts-block .contacts-form__modal-title {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: var(--h2);
    line-height: 110%;
    color: var(--white);
}

.contacts-block .contacts-form__modal-subtitle {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: var(--1816);
    line-height: 120%;
    color: var(--white);
}

.contacts-block .form-input__holder {
    width: 100%;
}

.contacts-block input {
    width: 100%;
}

.contacts-block .form-btn {
    width: 100%;
}

.contacts-block .privacy {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: var(--elements-2);
    opacity: 0.5;
    margin-top: 10px;
}

.contacts-block .privacy>* {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: var(--elements-2);
    text-decoration: underline;
    text-decoration-skip-ink: none;
}

.contacts-block .contacts-photo {
    max-width: 400px;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    height: auto;
    align-self: stretch;
    display: flex;
}

.contacts-block .contacts-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media(max-width:1550px) {
    .contacts-block .contacts-content {
        flex-direction: column;
    }

    .contacts-block .contacts-holder {
        max-width: unset;
    }

    .contacts-block .contacts-form {
        place-content: center;
    }
}

@media(max-width:750px) {
    .contacts-block .contacts-form__holder {
        flex-direction: column;
    }

    .contacts-block .contacts-photo {
        max-width: unset;
        height: 100%;
        display: none;
    }
}