/*
styles for header theme basic
*/

header.header {
    background: #fff;
    width: 100%;
    font-size: 16px;
    padding-top: 8px;
    z-index: 15;
}

header.header .fixed-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 40%;
    gap: 56px;
    align-items: center;
}

.header__right__links {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    flex-direction: column;
}

a.header__link {
    position: relative;
    color:var(--orange);
    text-align: center;
    width:max-content;
    margin: 0 auto;
    padding-bottom: 3px;
    display: block;
    width: max-content;
}

a.header__link:after{
    content:'';
    display:block;
    position: absolute;
    bottom: 0;left:0;
    width:100%;
    height:1px;
    background: var(--orange);
}

.header__top {
    position: relative;
    padding-top: 10px;
    padding-bottom: 10px;
    overflow: hidden;
    background: transparent;
    display: flex;
    justify-content: space-between;
    color: transparent;
}

.header__menu__container nav ul {
    display: flex;
    justify-content: center;
}

.menu-item ul.sub-menu {
    display: none;
    border-top: 3px solid rgba(22, 159, 219, 0.75);
    background: rgba(49, 49, 49, .9);
    z-index: 5;
    position: absolute;
    left: -60%;
    top: 37px;
    /* bottom: -10px; */
    width: 250px;
    padding: 20px 0;
    font-size: 14px;
}

.mobile-toggle__menu{
    display:none;
}

.mobile__menu__inner {
    display: none;
    opacity: 0;
}

ul.sub-menu li {
    width: 100%;
    padding: 5px 10px;
}

ul.sub-menu li a {
    text-transform: none;
    line-height: 1.2;
}

.menu-item.menu-item-has-children:hover ul.sub-menu {
    display: block;
    opacity: 1;
}


span.sr-only {
    display: none;
}

.header__top__left h1 {
    margin-bottom: 0;
}

.header__top__left h1 {
    margin-bottom: 0;
    color: var(--black);
    font-size: 14px;
    text-align: left;
    font-weight: 400;
}

.header__top__left{
    display: flex;
    column-gap: 10px;
    align-items: center;
}

.header__top__left__content h1, .header__top__left__content p {
    color: #fff;
}

.header__top__left__content h1 {
    font-size: 24px;
}

a.site-header__logo {
    display: block;
}

.site-header__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
}

.header__top__right__phone {
    text-align: right;
    margin-right: 20px;
}

.header__top__right__contacts {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

a.header__top__right__phone__link {
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    transition: all .3s linear;
}
nav {
    width: 100%;
}

.header__menu li {
    overflow: hidden;
    flex-grow: 1;
    border: 1px solid var(--orange);
}

nav ul.header__menu {
    display: flex;
}

ul.header__menu__messengers {
    transition: all .3s linear;
}

ul.header__menu__messengers {
    justify-content: flex-end;
}

nav ul.header__menu li:first-child {
    border-radius: 30px 0 0 30px;
}

nav ul.header__menu li:last-child {
    border-radius: 0 30px 30px 0;
}


li.htr__contacts__item a {
    display: flex;
    align-items: center;
}

.fixed-container.head_menu {
    margin-top: 32px;
}

a.htr__contacts__item__link img {
    width: 20px;
    height: 16px;
    object-fit: contain;
    margin-right: 7px;
}

ul.header__menu__messengers.flex.align-center li:not(:first-child) {
    margin-left: 15px;
}

ul.header__menu__messengers.flex.align-center li {
    transform: none;
    transition: all .5s linear;
}

ul.header__menu__messengers.flex.align-center li:hover {
    transform: translateY(-5px);
    transition: transform .3s linear;
}

li.social__item {
    display: flex;
    gap: 10px;
    box-sizing: border-box;
    border-radius: 100%;
    transition: all .3s linear;
}

li.social__item img {
    width: 24px;
    height: 24px;
}

li.social__item span {
    display: block;
}

li.social__item a {
    height: 100%;
    display: flex;
    align-items: center;
}

li.social__item .social__link img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.social__link {
    display: block;
}

.social__link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

ul.header__menu__messengers li:not(:last-child) {
    margin-bottom: 16px;
}

.header__top__left {
    width:25%;
    transition: all .5s ease-in;
}

.header__top__left__content p {
    line-height: 100%;
    font-size: 14px;
}

/* .header a {
    display: block;
    width: 100%;
    height: 100%;
    transition: all .3s linear;
} */

a.site-header__logo {
    display: block;
    width: 175px;
    height: 92px;
    transition: all .3s ease-in-out;
}


ul.header__menu__messengers li {
    transform: none;
    transition: transform .3s linear;
}

.header__bottom .fixed-container {
    padding: 0 5%;
}

.header__bottom .fixed-container {
    position: relative;
}



.header__menu__container {
    width: 100%;
    justify-content: center;
}

.header__top .fixed-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 2;
}

.header__menu li a {
    display: block;
    font-size: 18px;
    padding: 13px;
    text-align: center;
    font-weight: 500;
    transition: all .3s ease-in-out;
}

.header__menu li a:hover{
    background: var(--orange);
    color: #fff;
    transition: all .3s ease-in-out;
}


.sub-menu li:hover:after {
    content: none;
}

.sub-menu li:hover {
    background: transparent;
    transition: all .3s linear;
}

.sub-menu li:hover a {
    color: var(--yellow);
}

a.header__burger {
    display: none;
    position: relative;
    background: transparent;
    cursor: pointer;
    border: none;
    gap: 6px;
    flex-direction: column;
    padding: 0;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    width: 40px;
    height: 40px;
}

span.burger__line {
    width: 50%;
    height: 2px;
    background: var(--orange);
    display: block;
    border-radius: 10px;
    transition: all .7s ease-in-out;
}

.header__burger:after,
.header__burger:before {
    content: '';
    width: 100%;
    height: 2px;
    background: var(--orange);
    display: block;
    border-radius: 5px;
    transition: all .3s linear;
}

a.header__burger:hover .burger__line {
    width:80%;
}

a.header__burger:hover:before,
a.header__burger:hover:after{
    width:80%;
}

.header__burger:before {
    /* top: 0; */
}

.header__burger:after {
    /* bottom: 0; */
}

span.burger__line {
    /* top: 9px; */
}

a.header__burger.burger._open:before {
    position:absolute;
    top: 50%;
    transform: rotate(45deg);
}

a.header__burger.burger._open:after {
    position: absolute;
    top: 50%;
    transform: rotate(-45deg);
}

.header__bottom._open .fixed-container {
    padding: 0;
}

.header__menu__container nav {
    width: 100%;
}


a.header__burger.burger._open .burger__line {
    opacity: 0;
    transform:scale(0);
}

span.burger__line:before {
    top: 8px;
}

span.burger__line:after {
    top: 16px;
}

.header__top.header-scroll {
    background: rgba(25, 25, 25, .8);
    border-bottom: 1px solid #000;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    transition: all .3s linear;
}

.header__top.header-scroll .fixed-container .header__top__left .site-header__logo{
display: block;
width: 50px;
height: 70px;
transition: all .5s ease-in-out;
}

.header__top.header-scroll:after {
    width: 0;
    transition: all .3s linear;
}

@media (max-width: 1240px){
    .header__right {
        width: 50%;
    }
    .header__right {
        gap: 18px;
    }

    .header__right__links a.button.fill {
        max-width: 176px;
        padding: 16px 5px;
        margin: 0 auto;
    }
}
@media (max-width: 1024px){
    
    /* ul.header__menu__messengers {
        display: none;
    } */
    .header__right {
        width: 70%;
    }

    .header__top__right__menu {
        position: relative;
        right: unset;
        bottom: unset;
        z-index: 99;
        filter: drop-shadow(0 2px 2px rgba(21, 21, 21, .2));
    }
    nav.header__menu ul {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: flex-end;
    }
}

@media (max-width: 768px){
    header.header .fixed-container {
        padding: 8px 10px;
        z-index:10;
    }

    a.site-header__logo {
        display: block;
        width: 128px;
        height: 68px;
    }

    a.header__burger {
        display: flex;
    }

    header .fixed-container.head_menu{
        display: none;
    }

    .header__right{
        display:none;
    }

    a.header__burger.burger._open .header__burger:after,
    a.header__burger.burger._open .header__burger:before{
        position: absolute;
    }

    a.header__burger:hover .burger__line {
        width:100%;
    }
    
    a.header__burger:hover:before,
    a.header__burger:hover:after{
        width:100%;
    }

    .mobile-toggle__menu{
        opacity:0;
        transform: translateY(-150%);
        position: absolute;
        width: 100%;
        display: block;
        height: 100%;
        background: transparent;
        z-index:5;
        transition: transform .7s ease-in-out, opacity .5s linear, all .5s linear;
    }

    .mobile-toggle__menu._open{
        background:#fff;
        transform: none;
        opacity: 1;
        transition: transform 0.7s ease-in-out, opacity 1s linear, all .5s linear;
    }

    .mobile-toggle__menu .fixed-container {
        display: flex;
        flex-direction: column;
    }

    .mobile__menu {
        width: 100%;
        padding-top: 50px;
    }

    .mobile__menu ul{
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .mobile__menu ul li {
        padding: 13px;
        border:1px solid var(--light-orange);
        text-align:center;
        border-radius:30px;
    }

    .mobile-toggle__links {
        margin-top: 25px;
        width:100%;
    }

    ul.mobile__menu__messengers {
        margin-top: 0;
        width:100%;
    }

    a.header__link {
        margin: 22px auto 0;
    }

    li.social__item span {
        font-size: 14px;
    }

    ul.mobile__menu__messengers li:not(:last-child) {
        margin-bottom: 12px;
    }

    a.button.fill{
        padding:10px;
    }


   
}

@media (max-width: 576px){
       
.footer-contacts{
    display: block;
}

.footer .fixed-container {
    display: block;
}

a.footer__logo.logo {
    display: block;
    width: 175px;
    height: 92px;
    margin: 0 auto;
}

.footer__menu {
    columns: unset;
}

.footer__menu {
    margin-top: 60px;
    columns: unset;
}

.footer__menu li a {
    color: #fff;
    display: block;
    margin: 0 auto;
    text-align: center;
    font-size: 16px;
    line-height: 2;
}

.footer__menu li a {
    color: #fff;
    font-size: 16px;
    line-height: 2;
}

.footer-right {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 60px;
}

.footer__right__links {
    order: 1;
}

ul.mobile__menu__messengers {
    margin-top:60px;
    order: 2;
}

.footer__right__links a.button.fill {
    margin: 0 auto;
}

.footer__right__links .footer__link {
    text-align: center;
    font-size: 16px;
}

.footer-right .mobile__menu__messengers .social__item .social__link {
    text-align: center;
    margin: 0 auto;
}

.footer-right .mobile__menu__messengers li:nth-child(3) {
    justify-content:center;
}

.footer-bottom__site-name {
    text-align: center;
    margin-bottom: 8px;
}

.footer-bottom__link {
    text-align: center;
    display: block;
    margin-bottom: 8px;
}

p.footer-bottom__about-company {
    text-align: center;
    margin-bottom: 8px;
}

}