p {
    margin: 0;
    padding: 0;
}

.main-section .container {
    display: flex;
    align-items: flex-start;
}

.column {
    display: flex;
    flex-wrap: wrap;
}


.column h1 {
    max-width: 500px;
    margin-bottom: 45px;
}

.column .contact-block {
    position: relative;
}

.column .contact-block img {
    width: 100%;
}

.column .contact-block .contact-block__info {
    position: absolute;
    bottom: 0;
    padding: 40px;
    color: #fff;
}

.column .contact-block .contact-block__info .contact-block__info-desc {
    margin-bottom: 5px;
    font-weight: normal;
    font-size: 16px;
    line-height: 30px;
}

.column .contact-block .contact-block__info .contact-block__info-contact {
    color: #fff;
}

.column .contact-block .contact-block__info .contact-block__info-contact:nth-of-type(1) {
    margin-right: 15px;
}

.column:nth-of-type(1) {
    width: 100%;
    max-width: 499px;
    height: max-content;
    margin-right: 30px;
}

.column:nth-of-type(2) {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.column:nth-of-type(2) .contact-block:nth-of-type(-n+2) {
    margin-bottom: 30px;
}

.column:nth-of-type(2) .contact-block:nth-of-type(odd) {
    margin-right: 30px;
}

.main .main-content{
    display: flex;
    padding: 100px 0;
}

.main .main-content .map {
    display: flex;
    flex-wrap: wrap;
    width: 50%;
    margin-right: 30px;
}

.main .main-content .map h3 {
    width: 100%;
    margin-bottom: 20px;
}

.main .main-content .map .working {
    position: relative;
    padding-left: 30px;
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 28px;
}

.main .main-content .map .working:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    background: #fff url("../img/contacts/blocks-contacts/working-icon.svg") no-repeat 50% 50%/100%;
}

.main .main-content .map .map-block {
    width: 100%;
    border-radius: 10px;
}

[class*="ymaps-2"][class*="-ground-pane"]{
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
    -webkit-filter:grayscale(100%);
}

.main .main-content .map .map-block iframe{
    width: 100%;
}

.main .main-content .form-block {
    display: flex;
    flex-wrap: wrap;
    max-width: 605px;
    width: 50%;
    padding: 30px 60px 60px;
    margin-left: auto;
    background: var(--primary);
    border-radius: 10px;
    color: #fff;
}

.main .main-content .form-block h3 {
    margin-bottom: 34px;
}

.main .main-content .form-block .form {
    width: 100%;
}

.main .main-content .form-block .form .btn {
    width: 100%;
    height: 50px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.main .main-content .form-block .form textarea {
    height: 70px;
    padding-top: 15px;
}

/* ------------------------------------- */
@media screen and (max-width: 1300px) {
    .main-section .container {
        flex-wrap: wrap;
    }

    .column .contact-block .contact-block__info {
        padding: 20px;
    }

    .column:nth-of-type(1) h1 {
        max-width: calc(50% + 100px);
        width: 100%;
        margin-right: auto;
    }

    .column:nth-of-type(1) {
        flex-wrap: nowrap;
        max-width: 100%;
        margin: 0 0 30px 0;
    }

    .column:nth-of-type(1) .contact-block {
        width: calc(100% - 50px);
    }

    .column:nth-of-type(2) {
        flex-wrap: nowrap;
    }

    .column:nth-of-type(2) .contact-block {
        max-height: 157px;
        overflow: hidden;
        border-radius: 10px;
    }

    .column:nth-of-type(2) .contact-block img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .column:nth-of-type(2) .contact-block:nth-of-type(n):not(:last-child) {
        margin: 0 30px 0 0;
    }
}

@media screen and (max-width: 1200px) {

    .column .contact-block .contact-block__info .contact-block__info-desc {
        font-size: 14px;
        line-height: 20px;
    }

    .column .contact-block .contact-block__info .contact-block__info-contact {
        font-size: 16px;
        line-height: 24px;
    }

    .main .main-content .form-block {
        padding: 30px 40px;
    }
}

@media screen and (max-width: 992px) {

    h3 {
        font-size: 24px;
    }

    .column:nth-of-type(2) {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .column:nth-of-type(2) .contact-block {
        width: calc(50% - 15px);
    }

    .column:nth-of-type(2) .contact-block:nth-of-type(n):not(:last-child) {
        margin: 0;
    }

    .column:nth-of-type(2) .contact-block:nth-of-type(-n+2) {
        margin-bottom: 30px !important;
    }

    .column:nth-of-type(2) .contact-block:nth-of-type(odd) {
    }

    .main .main-content{
        flex-wrap: wrap;
        padding: 40px 0 50px;
    }

    .main .main-content .map {
        width: 100%;
        margin: 0 0 30px 0;
    }

    .main .main-content .map h3 {
        width: 100%;
        margin-bottom: 20px;
    }

    .main .main-content .form-block {
        width: 100%;
        max-width: 100%;
        padding: 20px 25px;
        margin: 0;
    }

}

@media screen and (max-width: 767px) {
    .column:nth-of-type(1) {
        flex-wrap: wrap;
    }

    .column:nth-of-type(1) .contact-block {
        width: 100%;
        max-width: 100%;
    }
}

@media screen and (max-width: 475px) {
    .column:nth-of-type(1) {
        margin: 0 0 15px 0;
    }

    .column:nth-of-type(2) .contact-block {
        width: 100%;
    }
    .column:nth-of-type(2) .contact-block:nth-of-type(n):not(:last-child) {
        margin: 0 0 15px 0 !important;
    }
}
