.updated-header a, .updated-header p{
    font-size: 12px;
    font-family: 'Roboto', sans-serif;
}

header .updated-header  a{
    line-height: 1;
}

.updated-header .header-data-section{
    width: 100%;
    height: 110px;
    display: grid;
    grid-template-columns: .3fr 1fr .3fr;    /* align-content: space-between; */
    justify-content: space-around;
    align-items: stretch;
    /* gap: 2%; */
    padding: 0 15px;
}
 .updated-header{
    width: 100%;
    height: 160px;
    display: flex;
    flex-direction: column;
    padding: 32px 5% 0 5%;
        background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 60%, rgba(0,0,0,0) 100%)
}

.updated-header .tc-container{
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 6px;
}

.updated-header .header-contacts {
    display: flex;
    flex-direction: column;
}

.updated-header .hc-buttons, .updated-header .hc-data {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
}

.updated-header .currency, .updated-header .clock-subtitles{
    color: white;
}

.updated-header .currency{
    border: 1px solid white;
    padding: 9px 15px;
    border-radius: 5px;
    line-height: 1;
    margin: 0;
}

.updated-header .currencies {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    justify-content: flex-start;
}

.updated-header .logo {
    justify-self: center;
    height: 70%;
    align-self: center;
}

.updated-header .hc-buttons a{
    text-decoration: none;
    height: 32px;
    border-radius: 5px;
    padding: 9px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.updated-header .back {
    display: none;
    margin-bottom: 30px;
}
.updated-header .hc-data a, .updated-header .mobile-contacts a{
    text-decoration: none;
    color: white;
}

.updated-header .order-call{
    width: 160px;
    color: black;
    background: white;
}

.updated-header .mobile-contacts{
    display: none;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 45px;
}

.updated-header .lang{
    color: white;
    background-color: transparent;
    border: 1px solid white;
}

nav{
    height: 40px;
    padding: 0 15px;
    display: flex! important;
    background: rgba(176, 176, 176, 0.68);
    align-content: space-between;
    justify-content: space-between;
    border-radius: 5px;
}

.updated-header nav:has(.nav-item:nth-child(2):hover){
    border-radius: 5px 5px 5px 0px;
}

.updated-header .nav-item:nth-child(2):hover > .dropdown-content{
    left: -15px;
    transform: unset;
}

.updated-header .nav-item:last-child:hover > .dropdown-content{
    right: -15px;
    left: unset;
    transform: unset;
}

.updated-header nav:has(nav:last-child:hover){
    border-radius: 5px 5px 0px 5px;
}

.updated-header .nav-item{
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.updated-header .nav-item a{
    position: relative;
    text-decoration: none;
    color: white;
    font-size: 12px;
    text-transform: uppercase;
    line-height: 120%;
    font-weight: 500;
}


.updated-header .dropdown-menu-tem{
    text-transform: uppercase;
    color: white;
    text-decoration: none;
}

.updated-header .dropdown-content{
    display: none;
    position: absolute;
    max-width: 250px;
    padding: 10px 15px;
    left: 50%;
    top: 34px;
    min-width: 200px;
    transform: translateX(-50%);
    flex-direction: column;
    gap: 10px;
    background: rgba(255, 255,255, 0.16);
    border-radius: 0 0 5px 5px;
    opacity: 0;
    transition: all .35s ease-in-out;
}

.updated-header .parent-nav::before{
    position: absolute;
    display: none;
    content: '';
    right: 0;
    top: 0%;
    width: 8px;
    height: 15px;
    background: url("/bitrix/templates/GORSKIY_RU_NEW/images/link-arrow.svg");
    background-repeat: no-repeat;
    background-size: cover;
}

.updated-header .nav-item:hover>.dropdown-content, .updated-header .dropdown-content:hover{
    display: flex;
    opacity: 1;
    transition: all .35s ease-in-out;
}

/* CLOCK */

.updated-header .clock__circle {
    position: relative;
    height: 56px;
    aspect-ratio: 1;
    /* box-shadow: -6px -6px 16px var(--white-color), 
                6px 6px 16px hsla(var(--hue-color), 30%, 86%, 1), 
                inset 6px 6px 16px hsla(var(--hue-color), 30%, 86%, 1), 
                inset -6px -6px 16px var(--white-color); */
    border-radius: 50%;
    justify-self: center;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .4s;
    border: 1px solid white;
  }
  
 .updated-header  .clock-container{
    display: flex;
    width: 100%;
    justify-content: space-around;
  }
  
 .updated-header  .clock__content {
    align-self: center;
    row-gap: 3.5rem;
  }

 .updated-header  .clock__rounder {
    width: 5px;
    height: 5px;
    background-color: white;
    border-radius: 50%;
  }
  
.updated-header   .clock__hour, 
 .updated-header  .clock__minutes, 
 .updated-header  .clock__seconds {
    position: absolute;
    display: flex;
    justify-content: center;
  }
  
.updated-header   .clock__hour {
    width: 60%;
    aspect-ratio: 1;
  }
  
.updated-header   .clock__hour::before {
    content: '';
    position: absolute;
    background-color: rgba(255, 255,255, 1);
    width: 1px;
    height: 50%;
    border-radius: .75rem;
  }
  
 .updated-header  .clock__minutes {
    width: 80%;
    aspect-ratio: 1;
  }
  
 .updated-header  .clock__minutes::before {
    content: '';
    position: absolute;
    background-color: rgba(255, 255,255, 0.5);;
    width: 1px;
    height: 50%;
    border-radius: .75rem;
  }
  
.updated-header   .clock-subtitles{
    width: 100%;
    display: flex;
    height: 16px;
    align-items: center;
    justify-content: space-around;
  }

 .updated-header  .clock-section {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
}

.updated-header .mobile-header-content{
    display: none;
}


.updated-header .white-header {
    background: white;
    height: 175px;
    padding: 32px 5% 16px 5%;
}
.updated-header .white-header :where(a, p, .nav-item a, .dropdown-content a){
    color: black;
} 

.updated-header .white-header .currency{
    border: 1px solid black;
}

.updated-header .white-header .clock__rounder{
    background-color: black;
}

.updated-header .white-header .clock__minutes::before{
    background-color: black;
}

.updated-header .white-header .clock__circle{
    border: 1px solid black;
}

.updated-header .white-header .clock__hour::before{
    background: rgba(0, 0, 0, 0.5)
}

.updated-header .white-header .hc-data>a{
    color: black;
}

.updated-header .white-header .order-call{
    background: #696969;
    color: white;
}

.updated-header .white-header .lang{
    border: 1px solid black;
}

.updated-header .white-header .nav-item>a, .white-header .dropdown-content>a{
    color: black;
}

.updated-header .white-header nav{
    background: rgba(0,0,0,.08);
}

.updated-header .white-header .logo{
    content:url("/bitrix/templates/GORSKIY_RU_NEW/images/logo_black.svg");
}

.menu-opened .updated-header nav{
    transform: translateX(0);
    /*visibility: visible;*/
    transition: transform .5s ease-in-out ;
}

.menu-opened .site-wrap{
    filter: blur(15px);
    transition: filter .5s ease-in-out;
}

.updated-header .mobile-contacts .order-call {
    background-color: black;
    color: white;
    height: 32px;
    display: flex;
    place-content: center;
    place-items: center;
    border-radius: 5px;
}

.updated-header .site-wrap{
    filter: blur(0px);
    transition: filter .5s ease-in-out;
}

.menu-opened .burger{
    animation: swap-icons .5s ease-in-out forwards;
}

.updated-header .white-header .dropdown-content {
    background: #EBEBEB;
}

.updated-header img.logo{
    height: auto;
}


.updated-header .lang-switch{
    display: none;
    position: absolute;
    width: 215px;
    flex-wrap: wrap;
    border: 1px solid white;
    backdrop-filter: blur(12px);
    border-radius: 8px;
    justify-content: center;
    padding: 8px;
    top: 80px;
    z-index: 1;
  }
  
 .updated-header  .lang-switch a {
    display: flex;
    color: white;
    gap: 8px;
  }
  
 .updated-header  .lang-switch a>img {
    height: 32px;
  }


.updated-header .white-header .lang-switch{
    border: 1px solid black;
    transition: border .3s;
}

.updated-header .white-header  .lang-switch a {
    color: black;
    transition: color .3s;
}

.updated-header .mobile-header-content .lang-switch {
    background: black;
    width: 80%;
    justify-content: space-evenly;
    /* margin: auto; */
    left: 50%;
    transform: translateX(-50%);
    top: 50px;
}

.updated-header .mobile-header-content .lang-switch>a {align-items: center;text-decoration: none;}


/* MOBILE NAV */



/* ADAPTIVE */

@media screen and (max-width: 1200px){
   .updated-header  .header-data-section{
        display: none;
    }

  .updated-header   .nav-item a{
        font-size: 14px;
    }

     .menu-opened{
        overflow: hidden;
    }

   .updated-header  .mobile-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
    }

  .updated-header   .mobile-header-content .lang{
        padding: 4px;
        border-radius: 4px;
        text-decoration: none;
    }

   .updated-header  .logo-m{
        height: 25px;
    }

 .updated-header    .burger{
        height: 20px;
        width: 20px;
        background: url("/bitrix/templates/GORSKIY_RU_NEW/images/menu_icon.svg");
        background-size: cover;
        background-repeat: no-repeat;
    }

    nav {
    position: absolute;
    top: 45px;
    left: 0;
    flex-direction: column;
    height: calc(100vh - 45px);
    min-width: 320px;
    max-width: 350px;
    background: white;
    border-radius: 0;
    backdrop-filter: none;
    padding: 32px;
    overflow-y: scroll;
    overflow-x: hidden;
    gap: 16px;
    justify-content: flex-start;
    transform: translateX(-100%);
    /*visibility: hidden;*/
    transition: transform .5s ease-in-out;
}

  .updated-header   nav a {
    font-weight: 600;
}
    .updated-header{
        background: black;
        height: 45px;
        padding: 0 15px;
    }

  .updated-header   .header-data-section{
        position: relative;
    }

 .updated-header    .nav-item{
        position: static;
        display: flex;
        justify-content: space-between;
        height: 14px;
    }

   .updated-header  .nav-item a{
        color: black;
    }

 .updated-header    .mobile-contacts{
        display: flex;
        margin-bottom: 10px;
    }

 .updated-header    .mobile-contacts a{
        color: black;
    }

  .updated-header   .dropdown-menu-tem{
        color: black;
    }

 .updated-header    .dropdown-content{
        position: absolute;
        max-width: unset;
        width: 100%;
        height: 100%;
        padding: 32px;
        left: 0;
        top: 0;
        transform: unset;
        background: white;
        border-radius: 0 0 5px 5px;
        z-index: 5;
        transform: translateX(100%);
        transition: all .35s ease-in-out;
        overflow-y: scroll;
        gap: 16px;
        justify-content: flex-start;
    }

  .updated-header   .dropdown-content a{
        color: #696969;
    }

  .updated-header   .nav-item:nth-child(2):hover > .dropdown-content {
    left: 0;
    transform: translateX(100%);
}

  .updated-header   .back {
        display: block;
        color: black;
        text-decoration: none;
    }

  .updated-header   .nav-item:hover>.dropdown-content, .updated-header .dropdown-content:hover{
        display: none;
    }

 .updated-header    .nav-item:last-child:hover > .dropdown-content{
        transform: translateY(100vh);
        left: 0;
    }

  .updated-header   .nav-item a{
        width: 100%;
    }

 .updated-header    .parent-nav::before{
        display: block;
    }
}


@keyframes swap-icons{
    0%{
        /* height: 20px; */
        transform: rotateX(0deg);
        background: url("/bitrix/templates/GORSKIY_RU_NEW/images/menu_icon.svg");
    }

    50%{
        /* height: 0px; */
        transform: rotateX(90deg);
    }

    100%{
        transform: rotateX(0deg);
        /* height: 20px; */
        background: url("/bitrix/templates/GORSKIY_RU_NEW/images/close_icon.svg");
    }
}
