body {
  background: linear-gradient(90deg, rgba(227, 224, 220, 0.3), rgba(250, 247, 242, 0.2) 5%, rgba(250, 247, 242, 0.2) 95%, rgba(227, 224, 220, 0.3) );
}

#menuWrapper {
  position: fixed;
  left: 0; top: 0;
  width: 100%; 
  height: auto;
  display: flex;
  justify-content: center;
  z-index: 1200;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px); /* для Safari */
  overflow-x: clip;
}

#menuInner {
  width: 100%;
  max-width: 1200px;
}

#fixedMenu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0;
}

#menuIcon {
  margin: 0;
  width: 80px;
  height: 80px;
  display: block;
  flex-shrink: 0;
  transform-box: fill-box;
  transform-origin: center center;
}

#menuLogo {
  display: flex;
  justify-content:space-between;
  align-items: center;
}

#menuLogo img {
  display: block;
  max-width: 300px;
  height: auto;
}

#fixedMenu nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

#fixedMenu .menuB {
  color: #000;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.menuText {
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  display: inline-block;
  padding: 18px 4px;
  transition: transform 0.3s ease, text-shadow 0.3s ease, background 0.3s ease;
  position: relative;
  font-size: 12px;
}


a.menuB:hover .menuText{
  color: #155882;
  border-top:1px solid rgba(21,88,130,.5);
  border-bottom:1px solid rgba(21,88,130,.5);
}

    #basement-wrap{
      width:100%;
      padding:0;
      overflow:hidden;
    }

    #basement{
      max-width:1200px;
      color:#000000;
      font-family:"Montserrat",sans-serif;
      font-weight: 400;
      font-style:normal;
      font-size:10pt;
      line-height:1;
      display:flex;
      flex-direction:column;
      align-items:center;
      width:85%;
      max-width:1200px;
      box-shadow:6px 6px 14px rgba(0,0,0,.25);
      padding:40px 0;
      margin: 40px auto 0 auto ;
      background: #ffffff;
    }
    #baseTxt {
      margin-top: 10px;
      margin-bottom: 30px;
      text-align: center;
    }
@media (max-width: 900px) {

   #menuWrapper {
     height: 35px;
   }

   #fixedMenu {
     align-items: center;
     justify-content: space-between;
     height: auto;
     width: 100%;
     margin: 0;
     padding: 0;
     font-size: 12px;
   }



   #menuIcon {
     width: 35px;
     height: 35px;
     flex-shrink: 0;
   }

   #menuLogo img {
       width: 190px;
   }

   #menuLogo {
     gap: 0px;
     margin-left: 10px;
   }

   #fixedMenu nav {
     flex-wrap: wrap;
     justify-content: center;
   }

   .menuText {
     padding: 5px 1px;
   }
   #basement { width:100%; }
}

@media (max-width: 600px) {

  #menuWrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100% ;
    height: auto;
  height: 60px;
  overflow: visible;
    display: flex;
    justify-content: center ;
    z-index: 1200;
    box-sizing: border-box;
      background: transparent;
  backdrop-filter: none;
    box-shadow:0 0 6px rgba(0,0,0,.1);
  }

#fixedMenu nav {
  padding-top: 30px;
  position: absolute;
  top: 60px;
  height: 100vh;
  left: 0;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  
  padding: 10px auto 10px 0;

  opacity: 0;
  transform: translateX(-300px) skew(-1deg);
  pointer-events: none;

  transition:
    transform 0.7s ease,
    opacity   2s ease;

  background: rgba(84,121,150,0.5);
  backdrop-filter: blur(3px);
  justify-content: flex-start; 
  width: 280px;
}

#menuWrapper.menu-open #fixedMenu nav {
  opacity: 1;
  transform: translateX(-40px) skew(-5deg);
  pointer-events: auto;
    transition:
    transform 0.7s ease,
    opacity   1.2s ease;
}
 .menuText {   
   width: 100%;
   height: 100%;
   margin: auto;
   text-align: left; 
   border-top-right-radius: 5px;
   border-bottom-right-radius: 5px;
   box-shadow: inset -5px -5px 10px rgba(0,0,0,0.2);
   padding:  14px 0 14px 40px;
   background: rgba(231,236,240,1);
   border: 1px solid #aaaaaa;
   font-weight: 400;
 }
 .menuB {   
   background: none;
   border-top-right-radius: 5px;
   border-bottom-right-radius: 5px; 
   padding: 0; 
   margin: 5px 0;
 }
 
#fixedMenu nav {
  gap: 0;
}
#menuWrapper #menuB1 {
  transform: translateX(-260px);
  transition: transform 1s cubic-bezier(.32,1,.66,1);
}
#menuWrapper #menuB2 {
  transform: translateX(-260px);
  transition: transform 1s cubic-bezier(.32,1,.66,1);
}
#menuWrapper #menuB3 {
  transform: translateX(-260px);
  transition: transform 1s cubic-bezier(.32,1,.66,1);
}
#menuWrapper #menuB4 {
  transform: translateX(-260px);
  transition: transform 1s cubic-bezier(.32,1,.66,1);
}
#menuWrapper.menu-open #menuB1 {
  transform: translateX(0) skew(5deg);
  transition: transform 0.4s ease 0.1s; left: 2px;
}
#menuWrapper.menu-open #menuB2 {
  transform: translateX(0) skew(5deg);
  transition: transform 0.4s ease 0.2s; left: 7px;
}
#menuWrapper.menu-open #menuB3 {
  transform: translateX(0) skew(5deg);
  transition: transform 0.4s ease 0.3s; left: 12px;
}
#menuWrapper.menu-open #menuB4 {
  transform: translateX(0) skew(5deg);
  transition: transform 0.4s ease 0.4s; left: 17px;
}
.svg-rotate {
  transition: transform 1s cubic-bezier(.22,1,.36,1);
  transform-origin: center;
  user-select: none;
  z-index: 1300;
}

.svg-rotate,
#menuIcon,
#menuLogo {
  -webkit-tap-highlight-color: transparent;
}

#menuWrapper.menu-open .svg-rotate {
  transform: rotate(-40deg);
  transition: all 1s ease;
}

#menuInner {
  display: flex;
  justify-content: left;
  align-items: center;
  width: 100%;
  margin-left: 0;
  margin-right: auto;
}
  #fixedMenu {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    padding: 0;
  }
  #fixedMenu a {
    display: block;
    width: 230px;
    padding: 0;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    color: #000;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
  }
    #menuLogo {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 60px;
    align-items: center;
    margin: 0;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(3px);
  }
  #menuLogo img {
    width: calc(98vw - 120px);
    height: auto;
    user-select: none;
  }
  #menuIcon {
    position: relative;
    margin: 0;
    padding: 0;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
  }
  .menuText {
    font-size: 18px;
  }
    #basement-wrap{
      position: fixed;
      bottom: 0;
      z-index: 1200;
      background: rgba(255,255,255,0.6);
      backdrop-filter: blur(3px);
      -webkit-backdrop-filter: blur(3px); /* для Safari */
      box-shadow:0 0 6px rgba(0,0,0,.2);
    }
    #basement{
      width:100%;
      box-shadow:none;
      padding:0;
      margin: 0 auto;
      background: none;
      font-size:8pt;
    }
  #baseTxt {
    margin-top: 0px;
    margin-bottom: 10px;
  }

}

  .svg-ham {display: none;}
  #baseBTNs { display: none; }

  
@media (max-width:600px){ 
  .svg-ham { display: block; height: 60px;} 
  #baseBTNs { 
    height: 55px;
    width: 90%;
    display: flex;
    justify-content: space-around; 
  }
  #baseTxt { display: none; }
}

.ham {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 400ms;
    user-select: none;
    margin: 0;
    padding: 0;
    border: 0;
}
.ham path{
    fill: none;
    transition: stroke-dasharray 0.7s, stroke-dashoffset 0.7s;
    stroke: #666666;
    stroke-width: 4;
    stroke-linecap: round;
}
.ham.active {    transform: rotate(45deg);}
.ham .top {    stroke-dasharray: 40 121;}
.ham .bottom {    stroke-dasharray: 40 121;}
.ham.active .top {    stroke-dashoffset: -68px;}
.ham.active .bottom {    stroke-dashoffset: -68px;}
.mob-link img { height: 40px; }

.logo-tooltip {
  position: absolute;
  top: 12px;
  left: 50px;
  color: #1075B3;
  border-radius: 16px;
  font-size: 28px;
  font-family: "Yanone Kaffeesatz", sans-serif;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  vertical-align: center;
  opacity: 0;
  visibility: visible;
  z-index: 1350;
  pointer-events: auto; /* Только на ссылке клик */
  height: 40px;
  width: auto;
  margin: auto 0;
  padding: 6px 10px;
  transition: opacity 2s ease, text-shadow 2s ease;
}

.logo-tooltip:hover  {
  opacity: 1;
  text-shadow: 0 0 3px rgba(255, 255, 255, 1);
  z-index: 1350;
  transition: opacity 0.3s ease;
}

@media (max-width:1220px){ .logo-tooltip { left: -1px; } }
@media (min-width:1220px){ .logo-tooltip { left: calc(((100vw - 1200px) / 2 ) - 8px) ; } }
@media (max-width:900px){ .logo-tooltip { font-size: 14px; top: 7px; padding: 4px 4px; left : 8px;   height: 23px;} }
@media (max-width: 600px) { .logo-tooltip { visibility: hidden; } }