.dark-theme .main__link + .main__link::before {
    position: absolute;
    content: '';
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="6" height="10" viewBox="0 0 6 10" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.209376 9.76983C-0.0777189 9.47125 -0.0684094 8.99647 0.230169 8.70937L4.16792 5L0.230169 1.29062C-0.0684099 1.00353 -0.0777193 0.528747 0.209376 0.230167C0.496471 -0.0684109 0.971253 -0.0777207 1.26983 0.209374L5.76983 4.45937C5.91689 4.60078 6 4.79599 6 5C6 5.20401 5.91689 5.39922 5.76983 5.54062L1.26983 9.79062C0.971254 10.0777 0.496471 10.0684 0.209376 9.76983Z" fill="%23EFF1F2"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    width: 20px;
    height: 20px;
    top: 50%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    left: -30px;
    pointer-events: none;
}

.dark-theme .main__item{
    background-color: #4E4E4E;
    border-color: #EFF1F2;
} 
.dark-theme .main__name{
    color: #fff;
}
.dark-theme .main__descr{
    color: #EFF1F2;
}
.main__item-block svg path{
    fill: #fff;
}
.dark-theme .main__form-input,
.dark-theme .main__form-textarea{
    background-color: #4E4E4E;
    color: #FFFFFF;
}
.dark-theme .main__form-input::-webkit-input-placeholder, .dark-theme .main__form-textarea::-webkit-input-placeholder{
    color: #fff;
}
.dark-theme .main__form-input::-moz-placeholder, .dark-theme .main__form-textarea::-moz-placeholder{
    color: #fff;
}
.dark-theme .main__form-input:-ms-input-placeholder, .dark-theme .main__form-textarea:-ms-input-placeholder{
    color: #fff;
}
.dark-theme .main__form-input::-ms-input-placeholder, .dark-theme .main__form-textarea::-ms-input-placeholder{
    color: #fff;
}
.dark-theme .main__form-input::placeholder,
.dark-theme .main__form-textarea::placeholder{
    color: #fff;
}



.main{
    margin-top: 174px;
}

.main__links{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 40px;
    padding: 10px 0;
    margin-bottom: 20px;
    overflow: auto;
}
.main__links::-webkit-scrollbar {
    display: none;
}

.main__link{
    font-size: 16px;
    color: var(--color-text-main);
    position: relative;
    text-wrap: nowrap;
}
.main__link + .main__link::before{
    position: absolute;
    content: '';
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="6" height="10" viewBox="0 0 6 10" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.209376 9.76983C-0.0777189 9.47125 -0.0684094 8.99647 0.230169 8.70937L4.16792 5L0.230169 1.29062C-0.0684099 1.00353 -0.0777193 0.528747 0.209376 0.230167C0.496471 -0.0684109 0.971253 -0.0777207 1.26983 0.209374L5.76983 4.45937C5.91689 4.60078 6 4.79599 6 5C6 5.20401 5.91689 5.39922 5.76983 5.54062L1.26983 9.79062C0.971254 10.0777 0.496471 10.0684 0.209376 9.76983Z" fill="%236E6E6E"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    width: 20px;
    height: 20px;
    top: 50%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    left: -30px;
    pointer-events: none;
}
.main__link.active{
    text-decoration: underline;
}



.main__title{
    font-size: 39px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%; 
    margin-bottom: 20px;
}


.main__block{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 20px;
}

.main__descr{
    font-size: 20px;
    line-height: 150%;
    color: #6E6E6E;
    overflow-wrap: break-word;
}
.main__name{
    font-weight: 600;
    color: #2E2E2E;
    font-size: 20px;
    line-height: 150%;
}

.main__item{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 20px;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid  #EFF1F2;
    background:  #F4F6F8;
    width: 25%;
    min-height: 160px;
}
.main__logo{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}
.main__item-block{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 20px;
}

.main__map{
    margin-top: 40px;
    margin-bottom: 40px;
}
.main__map iframe{
    width: 100%;
    height: 576px;
    border-radius: 4px;
}


.main__form-title{
    font-size: 39px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    margin-bottom: 23px;
}
.main__form{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    max-width: 670px;
    gap: 20px;
}
.main__form-textarea{
    max-height: 180px;
}
.main__form-input,
.main__form-textarea{
    padding: 20px;
    color: #6E6E6E;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; 
    border-radius: 4px;
    border: 1px solid #EFF1F2;
    background:#F4F6F8;
    outline: none;
    min-height: 60px;
}
.main__form-input::-webkit-input-placeholder
.main__form-textarea::-webkit-input-placeholder{
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; 
}
.main__form-input::-moz-placeholder
.main__form-textarea::-moz-placeholder{
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; 
}
.main__form-input:-ms-input-placeholder
.main__form-textarea:-ms-input-placeholder{
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; 
}
.main__form-input::-ms-input-placeholder
.main__form-textarea::-ms-input-placeholder{
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; 
}
.main__form-input::placeholder
.main__form-textarea::placeholder{
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; 
}

.main__form-textarea {
    resize: none;
}
.main__form-btn{
    border-radius: 8px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 10px;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    padding: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal; 
    border: none;
    outline: none;
    cursor: pointer;
}



@media (max-width: 1140px){
    .main{
        margin-top: 164px;
    }
}
@media (max-width: 1060px){
    .main__link{
        font-size: 14px;
    }
    .main{
        padding-bottom: 41px;
    }
    .main__title{
        margin-bottom: 20px;
    }
    .main__block{
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    }
    .main__item{
        width: calc(50% - 10px);
    }
    .main__map{
        margin-top: 80px;
    }
}

@media (max-width: 930px){
    .main {
        margin-top: 92px;
    }
    .main__links{
        margin-bottom: 12px;
    }
    .main__title{
        font-size: 25px;
    }
    .main__descr br{
        display: none;
    }
    .main__name{
        font-size: 16px;
    }
    .main__descr{
        font-size: 16px;
    }
    .main__form-title{
        font-size: 25px;
        margin-bottom: 40px;
    }
}




@media (max-width: 600px){
    .main__links{
        margin-bottom: 10px;    
    }
    .main {
        margin-top: 82px;
    }
    .main__item{
        width: 100%;
    }
    .main__title{
        margin-bottom: 40px;
    }
    .main__map{
        margin-top: 40px;
    }
}