.nav {
  z-index: 3;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 0 45px;
  position: fixed;
  max-height: 87px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.35);
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.35);
  background-color: rgba(255, 255, 255, 0.902);
  top: 0;
  flex-wrap: nowrap;
}

/*.nav__logo {*/
/*  display: inline-block;*/
/*  max-width: 500px;*/
/*}*/

/*.nav__logo-img {*/
/*  width: 100%;*/
/*}*/

.site-logo__logo {
  position:relative;
  height: 60px;
  width: 102px;
  flex: 0 0 102px;
  display: block;
}

.site-logo__logo img {
  position:absolute;
  left:0;
}

@keyframes cf3FadeInOut {
  0% {
    opacity:1;
  }
  45% {
    opacity:1;
  }
  55% {
    opacity:0;
  }
  100% {
    opacity:0;
  }
}

@keyframes cf3FadeOutIn {
  0% {
    opacity:0;
  }
  45% {
    opacity:0;
  }
  55% {
    opacity:1;
  }
  100% {
    opacity:1;
  }
}

.site-logo__logo .site-logo__logo-top {
  animation-name: cf3FadeInOut;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-duration: 10s;
  animation-direction: alternate;
}

.site-logo__logo .site-logo__logo-bottom {
  animation-name: cf3FadeOutIn;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-duration: 10s;
  animation-direction: alternate;
  left: 20px;
}

.site-logo {
  display: flex;
  align-items: center;
}
.site-logo__name {
  font-size: 17px;
  color: black;
  margin-left: 10px;
  text-align: center;
  line-height: 23px;
}

@media screen and (max-width: 1024px) {
  .site-logo {
    flex-direction: column;
  }
}

.nav__menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 100%;
}

.nav__menu-item {
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding-left: 10px;
  padding-right: 10px;
}

.nav__menu-item:hover .nav__dropdown-menu {
  -webkit-transform: scaleY(1);
  transform: scaleY(1);
}

.nav__menu-link {
  text-transform: uppercase;
  font-size: 20px;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: black;
  position: relative;
  white-space: nowrap;
}

.nav__menu-link:before {
  left: 0;
  right: 0;
  width: 0;
  content: '';
  height: 1px;
  bottom: 25px;
  margin-left: auto;
  margin-right: auto;
  position: absolute;
  background: #ff8a00;
  display: inline-block;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

.nav__menu-item:hover .nav__menu-link {
  color: #ff8a00;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

.nav__menu-item:hover .nav__menu-link i {
  color: #ff8a00;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

.nav__menu-item:hover .nav__menu-link:before {
  width: 70%;
}

.nav__icons {
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.nav__icons-item {
  margin-left: 15px;

}

.nav__social {
  flex-wrap: wrap;
  align-content: center;
}

.nav__social .nav__icons-item {
  flex-shrink: 0;
  font-size: 0;
}

.nav__social .nav__icons-item .nav__icons-icon {
  max-width: 32px;
}

.nav__icons-icon {
  display: inline-block;
  max-width: 28px;
  width: 100%;
}

.nav__dropdown {
  position: relative;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
}

.nav__dropdown-menu {
  top: 100px;
  z-index: 4;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 10px 0;
  position: absolute;
  border-radius: 3px;
  -webkit-transform: scaleY(0);
  transform: scaleY(0);
  -webkit-transform-origin: top;
  transform-origin: top;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  background-color: #f1f1f1;
  -webkit-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  -webkit-box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
  background-color: rgba(255, 255, 255, 0.902);
}

.nav__dropdown-menu > ul {
  max-width: 460px;
  max-height: calc(100vh - 121px);
  overflow-y: auto;
  width: max-content;
}

.nav__dropdown-menu:before {
  left: 16px;
  top: -10px;
  position: absolute;
  width: 0;
  height: 0;
  content: '';
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid rgba(255, 255, 255, 0.902);
}

.nav__dropdown-link {
  display: inline-block;
  padding: 5px 20px;
  line-height: 18px;
  font-size: 18px;
  color: #000;
}

.nav__dropdown-link:hover {
  color: #ff8a00;
  -webkit-transition: 0.1s ease-in-out;
  transition: 0.1s ease-in-out;
}

.nav__dropdown-link:hover i {
  color: #ff8a00;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

.nav__dropdown2-menu {
  margin-left: 35px;
  padding-left: 10px;
  border-left: 1px dotted black;
}

.nav__dropdown2-link {
  color: black;
  padding: 5px 0;
  display: inline-block;
}

.nav__dropdown2-link:hover {
  color: #ff8a00;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

.lang-dropdown {
  height: 100%;
}

.lang-dropdown:hover .lang-dropdown__menu {
  -webkit-transform: scaleY(1);
  transform: scaleY(1);
}

.lang-dropdown__menu {
  top: 100px;
  padding: 5px 0;
  min-width: 50px;
}

.lang-dropdown__link {
  padding: 0 !important;
  margin: 5px 20px;
}

.lang-dropdown__icon {
  border-radius: 50%;
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.header {
  height: 100%;
  max-height: 100vh;
  position: relative;
}

.header__slide {
  height: 100vh;
}

.header__slide-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.header__offer {
  -webkit-transform: translate(-50%, -65%);
  transform: translate(-50%, -65%);
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  position: absolute;
  min-height: 365px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  left: 50%;
  top: 65%;
}

.header__offer-item {
  background: white;
  padding: 50px 110px;
  border-radius: 3px;
  max-width: 480px;
  cursor: pointer;
}

.header__offer-item:hover .header__offer-text {
  max-height: 100%;
  display: inline-block;
  padding: 35px 0 5px 0;
  -webkit-transition: max-height 0.3s ease-in;
  transition: max-height 0.3s ease-in;
}

.header__offer-title {
  text-align: center;
  font-weight: 500;
  font-size: 30px;
}

.header__offer-divider {
  margin: 15px auto 0 auto;
  background: #ff8a00;
  height: 1px;
  width: 75%;
}

.header__offer-text {
  -webkit-transition: max-height 0.3s ease-out;
  transition: max-height 0.3s ease-out;
  padding: 5px 0 5px 0;
  text-align: center;
  line-height: 1.2;
  overflow: hidden;
  font-size: 18px;
  display: none;
  max-height: 0;
  height: 100%;
  width: 100%;
}

.header__offer-text span {
  font-size: 17px;
  font-weight: 500;
}

.header__down {
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  display: inline-block;
  position: absolute;
  bottom: 15px;
  left: 50%;
}

@media screen and (max-width: 1919px) {
  .nav__logo {
    max-width: 400px;
  }

  .nav__menu-link {
    font-size: 16px;
  }
}

@media screen and (max-width: 1600px) {
  .nav__logo {
    max-width: 350px;
  }

  .nav__icons-item {
    margin-left: 10px;
  }
}

@media screen and (max-width: 1439px) {
  .nav__logo {
    max-width: 300px;
  }
}

@media screen and (max-width: 1331px) {
  .nav {
    padding: 0 10px;
  }

  .nav__menu-link {
    font-size: 14px;
  }
}

@media screen and (max-width: 1200px) {
  .header__offer {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    min-height: 420px;
    top: 60%;
  }

  .header__offer-item {
    padding: 25px 55px;
  }
}

@media screen and (max-width: 1170px) {
  .nav__logo {
    max-width: 250px;
  }

  .nav__menu-item {
    padding-left: 8px;
    padding-right: 8px;
  }

  .nav__menu-link {
    font-size: 13px;
  }

  .nav__dropdown-menu > ul {
    max-width: 355px;
  }

  .nav__dropdown-link,
  .nav__dropdown2-link {
    font-size: 13px;
  }

  .nav__icons-item {
    margin-left: 5px;
    -webkit-transform: scale(0.75);
    transform: scale(0.75);
  }
}


@media screen and (max-width: 1024px) {
  .nav {
    z-index: 99;
    width: 100%;
    display: none;
    overflow-y: auto;
    min-height: 100vh;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: space-evenly;
    -ms-flex-pack: space-evenly;
    justify-content: space-evenly;
    background: rgba(255, 255, 255, 0.952);
  }

  .nav.active {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  .nav__menu {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: auto;
  }

  .nav__menu-item {
    padding: 0;
  }

  .nav__menu-link {
    display: inline-block;
    text-align: center;
    padding: 15px 0;
    font-size: 20px;
    width: 100%;
  }

  .nav__menu-link:before {
    display: none;
  }

  .nav__icons {
    height: auto;
  }

  .nav__dropdown {
    left: 0;
    text-align: center;
  }

  .nav__dropdown-menu {
    left: -54px;

    background: white;
    top: 50px;
  }

  .nav__dropdown-menu:before {
    left: 50%;
    transform: translate(-50%, 0);
  }

  .nav__dropdown-menu > ul {
    width: 300px;
  }

  .nav__dropdown2-menu {
    display: none;
  }

  .nav__dropdown-link {
    display: inline-block;
  }
}

@media screen and (max-width: 576px) {
  .header__offer {
    top: 55%;
  }

  .header {
    max-height: 120vh;
  }

  .header__offer {
    min-height: 380px;
  }

  .header__offer-title {
    font-size: 18px;
  }

  .header__offer-text {
    font-size: 16px;
    line-height: 16px;
  }

  .header__offer-text span {
    font-size: 16px;
  }
}
