:root {
    --black: #000;
    --white-main: #fff;
    --black-60: #333738;
    --black-50: #b8babc;
    --black-20: #ededed;
    --black-6: #f8f8f8;
    --red: #e30613;
    --red-hover: #ca000c;
}

:root {
    --font-family: "Onest", sans-serif;
    --third-family: "Raleway", sans-serif;
    --second-family: "Inter", sans-serif;
}

body{
    padding-top: calc(var(--header-height) + 40px);
}

#haracter {
  scroll-margin-top: var(--header-height);
  scroll-behavior: smooth;
}

[class*="__container"] {
    max-width: 1840px;
    margin: 0 auto;
}

[class*="__container-inner"] {
    max-width: 1440px;
    margin: 0 auto;
}

main{
   padding: 0  40px;   
}

.header {
    background: var(--white-main);
    padding: 0  40px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header__top {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--black-20);
}

.header__logo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 16px;
}

.header__logo_name {
    font-family: var(--third-family);
    font-weight: 500;
    font-size: 12px;
    line-height: 120%;
    color: var(--black-60);
    max-width: 178px;
}

.header__callback {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 8px;
}

.header__callback_item {
    padding: 8px 16px;
    border: 1px solid var(--black-20);
    border-radius: 16px;
    padding: 8px 16px;
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 2px;
}

.header__callback_item:first-child {
    border: none;
}

.header__callback_map {
    background: url("../images/header-map.jpg") center center no-repeat;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    min-width: 200px;
}

.header__callback_map span {
    font-weight: 500;
    font-size: 14px;
    line-height: 120%;
    color: var(--black-60);
    width: 50%;
}

.header__callback_map:hover span {
    color: var(--red);
}

.header__callback_zvonok, .header__callback_loc {
    min-width: 220px;
}

.header__callback_name {
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    color: var(--black-60);
}

.header__callback_phone {
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    text-transform: uppercase;
}

.header__callback_phone a {
    color: #080808;
}

.header__callback_phone a:hover {
    color: var(--red);
}

.header__callback_link, .header__callback_location {
    font-weight: 400;
    font-size: 12px;
    line-height: 140%;
    color: var(--black-60);
}

.header__callback_link span, .header__callback_location span {
    color: var(--red);
    cursor: pointer;
}

.header__callback_link span:hover, .header__callback_location span:hover {
    color: var(--black-50);
}

.header__bottom {
    padding: 16px 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 24px;
}

.header__menu {
    padding: 16px 0;
}

.header__menu ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    list-style: none;
    gap: 24px;
}

.header__menu ul li {
    position: relative;
}

.header__menu ul li a {
    display: block;
    font-weight: 800;
    font-size: 14px;
    line-height: 100%;
    text-transform: uppercase;
    color: #080808;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    text-decoration: none!important;
}

.header__menu ul li a:hover {
    color: var(--red);
}

.header__menu ul li a.current {
    color: var(--red);
}

.header__menu ul li.parent {
    position: relative;
    padding-right: 24px;
}

.header__menu ul li.parent::after {
    content: '';
    background: url("../images/arrow-down.svg") no-repeat center center;
    width: 16px;
    height: 16px;
    display: block;
    position: absolute;
    right: 0px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.header__menu ul li.parent:hover::after {
    background: url("../images/menu-hover.svg") no-repeat center center;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.header__menu ul li ul {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    position: absolute;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    left: -20px;
    padding: 20px;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    -webkit-transform-origin: top left;
    -ms-transform-origin: top left;
    transform-origin: top left;
    z-index: 100;
    border-radius: 8px;
    -webkit-box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.1);
    margin-top: 10px;
}

.header__menu ul li:hover > ul {
    opacity: 1;
    visibility: visible;
}

.header__search {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    position: relative;
    overflow: hidden;
}

.header__search_button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: end;
    gap: 8px;
    font-weight: 800;
    font-size: 14px;
    line-height: 100%;
    text-transform: uppercase;
    color: #080808;
    cursor: pointer;
    padding: 16px 24px 16px 0;
}

.header__search_button:hover {
    color: var(--red);
}

.header__search_button img {
    width: 20px;
    height: 20px;
}

.header__search_form {
    position: absolute;
    top: 0;
    right: 0;
    border: 1px solid blue;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 8px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    border: 1px solid var(--black-50);
    border-radius: 16px;
    padding: 0px 0px 0px 24px;
    height: 48px;
    z-index: 100;
    background-color: #fff;
    -webkit-transform: translateX(100%);
    -ms-transform: translateX(100%);
    transform: translateX(100%);
    opacity: 0;
    -webkit-transition: opacity 0.2s ease, -webkit-transform 0.8s ease;
    transition: opacity 0.2s ease, -webkit-transform 0.8s ease;
    transition: transform 0.8s ease, opacity 0.2s ease;
    transition: transform 0.8s ease, opacity 0.2s ease, -webkit-transform 0.8s ease;
}

.header__search_form input {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    background-color: transparent;
    outline: none;
    border-width: 0;
}

.header__search_form input::-webkit-input-placeholder {
    font-weight: 800;
    font-size: 14px;
    line-height: 100%;
    text-transform: uppercase;
    color: var(--black-50);
}

.header__search_form input::-moz-placeholder {
    font-weight: 800;
    font-size: 14px;
    line-height: 100%;
    text-transform: uppercase;
    color: var(--black-50);
}

.header__search_form input:-ms-input-placeholder {
    font-weight: 800;
    font-size: 14px;
    line-height: 100%;
    text-transform: uppercase;
    color: var(--black-50);
}

.header__search_form input::-ms-input-placeholder {
    font-weight: 800;
    font-size: 14px;
    line-height: 100%;
    text-transform: uppercase;
    color: var(--black-50);
}

.header__search_form input::placeholder {
    font-weight: 800;
    font-size: 14px;
    line-height: 100%;
    text-transform: uppercase;
    color: var(--black-50);
}

.header__search_form img {
    width: 20px;
    height: 20px;
}

.header__search_form button {
    border-radius: 16px;
    padding: 12px 24px;
    width: 106px;
    height: 48px;
    background: var(--red);
    font-weight: 800;
    font-size: 14px;
    line-height: 100%;
    text-transform: uppercase;
    color: #fafbfe;
    border-width: 0;
}

.header__search_form.active {
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
    -webkit-transition: opacity 0.2s ease, -webkit-transform 0.8s ease;
    transition: opacity 0.2s ease, -webkit-transform 0.8s ease;
    transition: transform 0.8s ease, opacity 0.2s ease;
    transition: transform 0.8s ease, opacity 0.2s ease, -webkit-transform 0.8s ease;
}

.header__burger{
    display: none;
}
.header__logo_name-mob{
    display: none;
}
.header__mobile{
    display: none;
}
.header__phone_mobail{
    display: none;
}

.breadcrumb{
  padding: 0;
  margin-bottom: 0;
  background: transparent;
  background-repeat: 0;
}

.breadcrumb__row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: #080808;
    padding: 16px 0;
}

.breadcrumb__row ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    list-style: none;
}

.breadcrumb__row ul li {
    list-style: none;
    padding-left: 16px;
}

.breadcrumb__row ul li:first-child {
    padding-left: 0;
}

.breadcrumb__row ul li a {
    position: relative;
    padding-right: 19px;
    color: rgba(51, 55, 56, 0.6);
}

.breadcrumb__row ul li a:hover {
    color: red;
}

.breadcrumb__row ul li a::after {
    content: '';
    width: 2px;
    height: 2px;
    background: #080808;
    position: absolute;
    top: 50%;
    right: 0;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    border-radius: 50%;
}

.uslugi__text {
    font-weight: 500;
    font-size: 20px;
    line-height: 140%;
    text-align: center;
    margin-bottom: 60px;
}

.uslugi__row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 16px;
}

.uslugi__item {
    width: calc(1/3*100% - (1 - 1/3)*16px);
    position: relative;
    border-radius: 36px;
    overflow: hidden;
}

.uslugi__item_fon img {
    width: 100%;
    max-width: 100%;
    vertical-align: top;
    -o-object-fit: cover;
    object-fit: cover;
    -webkit-filter: grayscale(0);
    filter: grayscale(0);
    -webkit-transition: -webkit-filter 0.5s ease;
    transition: -webkit-filter 0.5s ease;
    transition: filter 0.5s ease;
    transition: filter 0.5s ease, -webkit-filter 0.5s ease;
    z-index: 1;
}

.uslugi__item_img {
    position: absolute;
    bottom: 0;
    right: 0;
}

.uslugi__item_img img {
    width: 100%;
    -webkit-transform: translate(22px, 22px);
    -ms-transform: translate(22px, 22px);
    transform: translate(22px, 22px);
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    z-index: 5;
}

.uslugi__item_title {
    position: absolute;
    left: 40px;
    bottom: 40px;
    font-weight: 900;
    font-size: 24px;
    line-height: 140%;
    text-transform: uppercase;
    color: #fff;
}

.uslugi__item:hover .uslugi__item_fon img {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

.uslugi__item:hover .uslugi__item_img img {
    -webkit-transform: translate(0px, 0px);
    -ms-transform: translate(0px, 0px);
    transform: translate(0px, 0px);
}

@media(max-width: 1600px){
    main{
        padding: 0  20px;   
    }

    .header {
        padding: 0  20px;
    }

    .header__bottom{
        flex-wrap: wrap;
        gap: 10px;
    }
    .header__menu{
        width: 100%;
        order: 2;   
    }

    .header__menu ul{
        gap: 24px;
        justify-content: space-between;
    }
    .header__search{
        flex: 0 0 50%;
        margin-left: auto;
    }
    .header__search_button{
        padding: 16px 0px 16px 0px;
    }
}

/*@media(max-width: 1500px){}*/
@media(max-width: 1349px){
    .header__callback_map{
        display: none;
    }
    .header__menu ul{
        gap: 18px;
    }
    /*.header__menu ul li a{
        font-weight: 600;
    }*/
}
@media(max-width: 1199px){
    .lock{
        overflow: hidden;
    }
    .header__top{
        gap:24px;
    }
    .header__logo_name{
        display: none;
    }
    .header__callback{
        margin-left: auto;
    }
    .header__burger {
        display: block;
        width: 65px;
        height: 65px;
        position: relative;
        cursor: pointer; 
    }
    .header__burger span, .header__burger::before, .header__burger::after {
        content: '';
        width: 65px;
        height: 3px;
        background-color: var(--red);
        display: block;
        position: absolute;
        left: 0;
        top: 50%;
        transition: 0.3s;
    }
    .header__burger::before {
        transform: translateY(-19px);
    }
    .header__burger::after {
        transform: translateY(19px); 
    }
    .header__burger.active span {
        transform: scale(0); 
    }
    .header__burger.active::before {
        transform: rotate(45deg); 
    }
    .header__burger.active::after {
        transform: rotate(-45deg); 
    }
    .header__menu{
        display: none;
    }
    .header__menu.active{
        display: block;
    }
    .header__search {
        flex: 1 1 100%;
        margin-left: auto;
    }
    /*.header__search_button{
        opasi
    }*/
    .header__search_form{
        transform: translateX(0);
        opacity: 1;
    }
    .header__callback_link, .header__callback_location {
        font-size: 16px;
    }
    .header__callback_name {
        font-size: 16px;
    }
    .header__logo_name-mob{
        display: block;
        font-size: 18px;
    }
    .header__menu{
        height: calc(100dvh - var(--header-height));
        overflow-y: auto;
    }
    .header__menu ul {
        gap: 30px;
        display: flex;
        flex-direction: column;
        margin-top: 30px;
    }
    .header__menu ul li a {
        font-weight: 600;
        font-size: 18px;
    }
    .header__menu ul li ul{
        display: flex;
        flex-direction: column;
        gap:24px;
        position: relative;
        width: max-content;
        left: 0;
        padding: 0;
        background: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        margin-top: 24px;
    }
    .header__menu ul li.parent{
        position: relative;
        display: inline-block;
    }
    .header__menu ul li.parent::after {
        background-size: cover;
        width: 30px;
        height: 30px;
        top: 0;
        transform: translateY(0);
        display: block;
        position: absolute;
        left:auto;
        right: 0px;
    }
    .header__menu ul li ul li a{
        color: var(--red-hover);
    }
}
@media(max-width: 1035px){
    .header__mobile{
        display: block;
        margin-top: 24px;   
    }
    .header__callback-mob{
        display: inline-flex;
        flex-direction: column;
        gap: 24px;
    }
    .header__callback_loc-1mob{
        display: none;
    }
    .header__callback_loc-3{
        display: none;
    }
    .header__callback_loc-2mob{
        display: none;
    }
    .header__callback_loc-3mob{
        display: block;
    }
    .footer__row{
        flex-direction: column;
    }
    .footer__item_wrapptop{
        flex-direction: column;
    }
}
@media(max-width: 991px){
    .header__callback_loc-2{
        display: none;
    }
    .header__callback_loc-2mob{
        display: block;
    }
}
/*@media(max-width: 767px){}*/
@media(max-width: 575px){
    .header__callback_loc-1{
        display: none;
    }
    .header__callback_loc-1mob{
        display: block;
    }
    .header__phone_mobail{
        display: block;
    }
    .header__phone_mobail a{
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .header__phone_mobail a img{
        width: 100%;
    }
}
@media(max-width: 375px){
    .header__top {
            gap: 16px;
        }
    .header__logo img{
        width: 90%;
    }
    .header__search_form button.btn-greenlight{
        padding:12px 10px!important;
        font-size: 10px;
    }
    .header__search_form input{
        font-size: 10px;
    }
}