.contacts{
    width: calc(100% - 165px);
    height: 708px;
    margin: 150px 100px 0 100px;
    position: relative;
    display: flex;
}
.map{
    width: 808px;
    height: 564px;
    margin: 48px 0 0 0;
}
[class*="copyrights-pane"] {
    display: none !important;
}
[class*="ground-pane"] {
    filter: grayscale(1);
}
[class*="map"] {
    border-radius: 20px;
}
.contacts_left_block{
    width: 502px;
    height: 96px;
    position: relative;
}
.contacts_left_block h2{
    color: var(--text-color);
    font-family: 'TT Fors Trial Medium', sans-serif;
    font-weight: 600;
    font-size: 54px;
    line-height: 56px;
    letter-spacing: 0;
    transition: color 0.5s ease;
    margin: 16px 0 0 0;
}
.block_map{
    width: 235px;
    height: 164px;
    background-color: #FFFFFF;
    position: absolute;
    bottom: 24px;
    left:24px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.block_map p{
    width: 200px;
}
.block_map div p{
    color: black;
    font-family: 'TT Fors Trial Medium', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0;
}
.block_map div{
    display: flex;
    align-items: center;
    justify-content: center;
}
.block_map div p{
    color: black;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
}
.block_map a{
    color: var(--color-accent);
    font-family: 'Manrope_Med', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
    transition: color 0.5s ease;
}
.block_map a:hover{
    color: rgba(32, 73, 185, 1);

}
.contact-form{
    margin: 144px 0 0 65px;
    width: 100%;
}
.form-group{
    display: flex;
    flex-direction: column;
}
label{
    font-family: 'Manrope_Med', sans-serif;
    color: var(--text-color);
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
    transition: color 0.5s ease;
    margin: 0 0 12px 0;
}
.form-row{
    display: flex;
    gap: 27px;
    margin: 32px 0 0 0;
}
.half{
    width: 50%;
}
.contacts input{
    font-family: 'Manrope_Med', sans-serif;
    background-color: var(--bg-input);
    color: var(--text-color);
    transition: background-color 0.5s ease, color 0.5s ease;
    border: none;
    border-radius: 10px;
    height: 54px;
    padding: 18px 16px 18px 16px;
}
textarea{
    font-family: 'TT_Fors_Variable', sans-serif;
    background-color: var(--bg-input);
    color: var(--text-color);
    transition: background-color 0.5s ease, color 0.5s ease;
    border: none;
    border-radius: 10px;
    padding: 18px 16px 18px 16px;
    height: 114px;
}
.full{
    margin: 32px 0 0 0;
}
.checkbox{
    display: flex;
    align-items: start;
    margin: 32px 0 0 0;
}
.custom-checkbox {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    margin: 0;
}
.custom-checkbox input {
    appearance: none;
    -webkit-appearance: none;
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 18px;
}
.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--text-color);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    position: relative;
}
.checkmark::after {
    content: "";
    width: 5px;
    height: 8px;
    border-right: 3px solid var(--text-color);
    border-bottom: 3px solid var(--text-color);
    transform: scale(0) rotate(45deg);
    transform-origin: bottom left;
    transition: transform 0.2s ease;
    position: absolute;
    top: -4px;
    left: 0;
}
.custom-checkbox input:checked + .checkmark::after {
    transform: scale(1) rotate(45deg);
}
.checkbox p{
    font-weight: 300;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0;
    transition: color 0.5s ease;
    margin: -3px 0 0 9px;
}
.checkbox a{
    color: var(--bg-input-a);
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0;
    transition: color 0.5s ease;
}
.checkbox a:hover{
    color: var(--color-accent);
}
.submit-btn{
    width: 268px;
    height: 54px;
    border-radius: 10px;
    display: flex;
    align-items:center;
    justify-content:center;
    background-color: var(--color-accent);
    cursor: pointer;
    transition: background-color 0.5s ease;
}
.submit-btn p{
    color: #FFFFFFFF;
    font-weight: 400;
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 0;
    transition: color 0.5s ease;
}
.submit-btn:hover{
    background-color: rgba(32, 73, 185, 1);
}
.block_btns {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 48px 0 0 0;
}








@media (max-width: 1650px) {
    .map {
        width: 502px;
    }
}
@media (max-width: 1360px) {
    .contacts {
        width: calc(100% - 100px);
        height: 1146px;
        display: flex;
        flex-direction: column;
        margin: 80px 0 0 50px;
    }
    .block_map {
        top: 354px;
        left: 16px;
    }
    .map {
        width: 100%;
        height: 438px;
        margin: 32px 0 0 0;
    }
    .contact-form {
        margin: 32px 0 0 0;
    }
    .full {
        margin: 16px 0 0 0;
    }
    .captcha {
        width: 100%;
        height: 62px;
        padding: 14px 16px 14px 16px;
    }
    .contacts_left_block {
        width: 100%;
        height: 78px;
    }
    .contacts_left_block h2 {
        font-size: 32px;
        line-height: 38px;
    }
}
@media (max-width: 840px) {
    .contacts {
        width: calc(100% - 32px);
        margin: 80px 0 0 16px;
        height: 1360px;
    }
    .block_btns {
        flex-direction: column;
        margin: 16px 0 0 0;
        align-items: start;
    }
    .submit-btn {
        width: 100%;
        margin: 32px 0 0 0;
    }
    .form-row {
        flex-direction: column;
        gap: 0px;
        margin: 0;
    }
    .half {
        width: 100%;
        margin: 16px 0 0 0;
    }
    .checkbox p {
        font-weight: 200;
        font-size: 14px;
        line-height: 18px;
    }
    .checkbox a {
        font-weight: 200;
        font-size: 14px;
        line-height: 18px;
    }
}