@charset "UTF-8";

/* Современная кнопка меню в едином стиле проекта */
header .menu-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 48px;
  height: 48px;
  background: white;
  border: 1px solid #e1e5e9;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  z-index: 11;
  display: none;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 44px;
  min-height: 44px;
}

/* Hover эффект */
header .menu-btn:hover {
  background: #f8f9fa;
  border-color: #007bff;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.1);
}

/* Focus для accessibility */
header .menu-btn:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/*@media screen and (max-width:550px) {*/
/*  header .menu-btn {*/
/*    left: 15px*/
/*  }*/
/*}*/

/* Контейнер для полосок */
header .menu-bars {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

/* Основная полоска */
header .menu-bar {
  position: relative;
  width: 24px;
  height: 2px;
  background-color: #4a5568;
  border-radius: 1px;
  transition: all 0.3s ease;
}

/* Верхняя и нижняя полоски */
header .menu-bar::before,
header .menu-bar::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #4a5568;
  border-radius: 1px;
  transition: all 0.3s ease;
}

header .menu-bar::before {
  top: -7px;
}

header .menu-bar::after {
  bottom: -7px;
}

/* Hover эффект для полосок */
header .menu-btn:hover .menu-bar,
header .menu-btn:hover .menu-bar::before,
header .menu-btn:hover .menu-bar::after {
  background-color: #007bff;
}

/* Активное состояние (открытое меню) */
header .btn-active {
  position: fixed;
  top: 20px;
  background: #007bff;
  border-color: #007bff;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

header .btn-active:hover {
  background: #0056b3;
  border-color: #0056b3;
}

/* Анимация превращения в крестик */
header .btn-active .menu-bar {
  background-color: transparent;
}

header .btn-active .menu-bar::before {
  transform: rotate(45deg);
  top: 0;
  background-color: white;
}

header .btn-active .menu-bar::after {
  transform: rotate(-45deg);
  bottom: 0;
  background-color: white;
}

header .logo-box {
  text-align: center;
  margin-bottom: 25px
}

/*@media screen and (max-width:1023px) {*/
/*  header .menu-btn {*/
/*    display: block*/
/*  }*/

/*  header .logo-box {*/
/*    margin-bottom: 0*/
/*  }*/
/*}*/

header .logo {
  display: inline-block;
  text-indent: -9999px;
  width: 187px;
  height: 111px;
  line-height: 0;
  font-size: 0
}

header .logo a {
  display: block;
  height: 100%
}

header .logo .star {
  display: block;
  height: 66px;
  background: url(../images/logo-star.svg) 50% 50% no-repeat;
  background-size: 66px 66px;
  margin-bottom: 2px
}

header .logo .text {
  display: block;
  height: 40px;
  background: url(../images/logo-text.svg) no-repeat;
  background-size: 100% 40px
}

header .menu {
  text-align: center;
  color: #000;
  font-size: 15px;
  text-transform: uppercase;
  position: relative;
  z-index: 1000
}

/* Ensure menu items have proper stacking */
header .menu-list {
  position: relative;
  z-index: 1001
}

/*@media screen and (max-width:1023px) {*/
/*  header .menu {*/
/*    position: fixed;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    background-color: transparent;*/
/*    z-index: 10;*/
/*    color: #fff;*/
/*    font-size: 24px;*/
/*    line-height: 60px;*/
/*    text-align: left;*/
/*    -webkit-transition: .4s ease;*/
/*    transition: .4s ease;*/
/*    visibility: hidden*/
/*  }*/

/*  header .menu-list {*/
/*    padding: 130px 0 0;*/
/*    -webkit-transition: .5s ease;*/
/*    transition: .5s ease;*/
/*    -webkit-transform: translate(-250px, 0);*/
/*    transform: translate(-250px, 0)*/
/*  }*/
/*}*/

header .menu-list {
  list-style: none;
  display: inline-block;
  position: relative
}

header .menu-list:hover {
  color: #6d6d6d
}

/*@media screen and (max-width:1024px) {*/
/*  header .menu-list:hover {*/
/*    color: #fff*/
/*  }*/
/*}*/

header .menu-list::after {
  content: '';
  display: block;
  clear: both
}

header .menu-list>li {
  float: left;
  margin-right: 37px;
  padding: 0 13px 0 0;
  -webkit-transition: .3s ease;
  transition: .3s ease
}

header .menu-list>li:hover {
  color: #000
}

header .menu-list>li:last-child {
  margin-right: 0
}

/*@media screen and (max-width:1023px) {*/
/*  header .menu-list>li {*/
/*    float: none;*/
/*    width: 100%*/
/*  }*/

/*  header .menu-list>li:hover {*/
/*    color: #fff*/
/*  }*/

/*  header .menu-list>li>a {*/
/*    padding: 0 0 0 30px*/
/*  }*/
/*}*/

/*@media screen and (max-width:550px) {*/
/*  header .menu-list>li>a {*/
/*    padding: 0 0 0 15px*/
/*  }*/
/*}*/

header .menu-active {
  background-color: rgba(0, 0, 0, .95);
  visibility: visible
}

header .menu-active .menu-list {
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0)
}

header .list-wrap {
  padding: 20px 0 0;
  position: absolute;
  top: 15px;
  left: -30px;
  color: rgba(255, 255, 255, .6);
  font-size: 14px;
  text-transform: uppercase;
  line-height: 44px;
  text-align: left;
  -webkit-transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  -webkit-transform: translateY(10px) scale(0.98);
  transform: translateY(10px) scale(0.98);
  z-index: 1002
}

header .sub-list {
  position: relative;
  background-color: #000;
  list-style: none;
  padding: 15px 0
}

header .sub-list::after {
  content: '';
  display: block;
  clear: both
}

header .sub-list::before {
  content: '';
  display: block;
  position: absolute;
  top: -16px;
  left: 30px;
  border: 8px solid transparent;
  border-bottom-color: #000
}

header .sub-list li {
  -webkit-transition: .3s ease;
  transition: .3s ease
}

header .sub-list li:hover {
  color: #fff
}

/*@media screen and (max-width:1024px) {*/
/*  header .sub-list li:hover {*/
/*    color: rgba(255, 255, 255, .6)*/
/*  }*/
/*}*/

header .sub-list a {
  display: block;
  height: 100%;
  padding: 0 30px
}

header .services-list {
  min-width: 280px
}

header .production-list {
  min-width: 540px
}

header .production-list li a {
  padding: 0 0 0 30px
}

header .production-list li:last-child a,
header .production-list li:nth-child(2n) a {
  padding: 0 30px 0 0
}

header .production-list li:last-child {
  float: right
}

header .production-list li {
  float: left;
  width: 50%
}

header .production-list .lh22 {
  line-height: 22px;
  padding: 11px 30px 0 0
}

header .with-drop {
  position: relative
}

header .with-drop:hover .list-wrap {
  visibility: visible;
  opacity: 1;
  -webkit-transform: translateY(0) scale(1);
  transform: translateY(0) scale(1)
}

header .with-drop::after {
  content: '';
  display: block;
  position: absolute;
  right: 0;
  top: 9px
}

/*@media screen and (max-width:1023px) {*/
/*  header .with-drop:hover .list-wrap {*/
/*    visibility: hidden;*/
/*    opacity: 0*/
/*  }*/

/*  header .with-drop::after {*/
/*    content: none*/
/*  }*/
/*}*/

.breadcrumbs-box li::after,
footer::after {
  content: ''
}

.animated {
  -webkit-animation: logo 1.2s linear;
  animation: logo 1.2s linear
}

@-webkit-keyframes logo {
  0% {
    -webkit-transform: rotate(0);
    transform: rotate(0)
  }

  25% {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    background-size: 55px 55px
  }

  50% {
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    background-size: 77px 77px
  }

  62.5% {
    -webkit-transform: rotate(10deg);
    transform: rotate(10deg);
    background-size: 66px 66px
  }

  75% {
    -webkit-transform: rotate(-7deg);
    transform: rotate(-7deg)
  }

  87.5% {
    -webkit-transform: rotate(3deg);
    transform: rotate(3deg)
  }

  100% {
    -webkit-transform: rotate(0);
    transform: rotate(0)
  }
}

@keyframes logo {
  0% {
    -webkit-transform: rotate(0);
    transform: rotate(0)
  }

  25% {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    background-size: 55px 55px
  }

  50% {
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    background-size: 77px 77px
  }

  62.5% {
    -webkit-transform: rotate(10deg);
    transform: rotate(10deg);
    background-size: 66px 66px
  }

  75% {
    -webkit-transform: rotate(-7deg);
    transform: rotate(-7deg)
  }

  87.5% {
    -webkit-transform: rotate(3deg);
    transform: rotate(3deg)
  }

  100% {
    -webkit-transform: rotate(0);
    transform: rotate(0)
  }
}

.breadcrumbs-box {
  position: absolute;
  right: 110px;
  top: 80px;
  font-size: 12px;
  color: #000;
  text-transform: uppercase;
  z-index: 1
}

/*@media screen and (max-width:1750px) {*/
/*  .breadcrumbs-box {*/
/*    right: 50px*/
/*  }*/
/*}*/

/*@media screen and (max-width:1365px) {*/
/*  .breadcrumbs-box {*/
/*    top: 60px;*/
/*    right: 30px*/
/*  }*/
/*}*/

/*@media screen and (max-width:767px) {*/
/*  .breadcrumbs-box {*/
/*    top: 20px;*/
/*    left: 30px*/
/*  }*/
/*}*/

.breadcrumbs-box .breadcrumb {
  list-style: none
}

.breadcrumbs-box li {
  float: left;
  margin-right: 30px;
  position: relative
}

.breadcrumbs-box li::after {
  display: block;
  position: absolute;
  right: -18px;
  top: 5px;
  width: 5px;
  height: 7px;
  background: url(../images/breadcrumbs-arrow.svg) no-repeat
}

.breadcrumbs-box li:last-child {
  margin-right: 0
}

.breadcrumbs-box li:last-child::after {
  content: none
}

.breadcrumbs-box a {
  opacity: .4
}

.pre-footer-callback {
  background-color: #fff;
  color: #2b2c2c;
  height: auto !important
}

.pre-footer-callback .form-box {
  margin-top: 0 !important
}

.pre-footer-callback .row {
  padding: 40px 110px 140px
}

/*@media screen and (max-width:1750px) {*/
/*  .pre-footer-callback .row {*/
/*    padding: 40px 50px 140px*/
/*  }*/
/*}*/

/*@media screen and (max-width:1365px) {*/
/*  .pre-footer-callback .row {*/
/*    padding: 20px 30px 80px*/
/*  }*/
/*}*/

/*@media screen and (max-width:1023px) {*/
/*  .pre-footer-callback .row {*/
/*    padding: 20px 30px 50px*/
/*  }*/
/*}*/

/*@media screen and (max-width:550px) {*/
/*  .breadcrumbs-box {*/
/*    left: 15px*/
/*  }*/

/*  .pre-footer-callback .row {*/
/*    padding: 10px 15px 30px*/
/*  }*/
/*}*/

.pre-footer-callback .callback-title::after {
  background-color: #2b2c2c
}

.pre-footer-callback .input-wrap input {
  border-color: rgba(0, 0, 0, .15);
  color: #727272
}

.pre-footer-callback .submit-wrap .submit {
  border: 2px solid #2b2c2c;
  background-color: #2b2c2c;
  line-height: 46px;
  color: #fff;
  -webkit-transition: .3s ease;
  transition: .3s ease
}

.pre-footer-callback .submit-wrap .submit:hover {
  background-color: transparent;
  color: #2b2c2c;
  border-color: #2b2c2c
}

/*@media screen and (max-width:1024px) {*/
/*  .pre-footer-callback .submit-wrap .submit:hover {*/
/*    background-color: #2c2c2c;*/
/*    color: #fff*/
/*  }*/
/*}*/

.fade {
  opacity: 0;
  -webkit-transition: opacity .15s linear;
  transition: opacity .15s linear
}

.fade.in {
  opacity: 1
}

.collapse {
  display: none
}

.collapse.in {
  display: block
}

tr.collapse.in {
  display: table-row
}

tbody.collapse.in {
  display: table-row-group
}

.collapsing {
  position: relative;
  height: 0;
  overflow: hidden;
  -webkit-transition-property: height, visibility;
  transition-property: height, visibility;
  -webkit-transition-duration: .35s;
  transition-duration: .35s;
  -webkit-transition-timing-function: ease;
  transition-timing-function: ease
}

.scroll-top {
  position: fixed;
  width: 50px;
  height: 50px;
  bottom: 50px;
  right: 30px;
  background: url(../images/slider-top.svg) 50% 50% no-repeat #000;
  background-size: 26px 15px;
  -webkit-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
  cursor: pointer;
  z-index: 9999;
  border-radius: 8px
}

.scroll-top:hover {
  opacity: .7;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3)
}

.rectangle {
  counter-reset: li;
  list-style: none;
  padding: 0;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .5)
}

.rectangle a {
  position: relative;
  display: block;
  padding: .4em .4em .4em .8em;
  margin: .5em 0 .5em 2.5em;
  background: #D3D4DA;
  color: #444;
  text-decoration: none;
  transition: all .3s ease-out
}

.rectangle a:hover {
  background: #DCDDE1
}

.rectangle a:before {
  content: counter(li);
  counter-increment: li;
  position: absolute;
  left: -2.5em;
  top: 50%;
  margin-top: -1em;
  background: #9097A2;
  height: 2em;
  width: 2em;
  line-height: 2em;
  text-align: center;
  font-weight: 700
}

.rectangle a:after {
  position: absolute;
  content: "";
  border: .5em solid transparent;
  left: -1em;
  top: 50%;
  margin-top: -.5em;
  transition: all .3s ease-out
}

.rectangle a:hover:after {
  left: -.5em;
}

/* Мобильная адаптивность для menu-btn */
@media screen and (max-width: 1023px) {
  header .menu-btn {
    display: block;
  }
}

@media screen and (max-width: 768px) {
  header .menu-btn {
    top: 15px;
    left: 15px;
    width: 44px;
    height: 44px;
  }

  header .btn-active {
    top: 15px;
  }
}

@media screen and (max-width: 576px) {
  header .menu-btn {
    top: 10px;
    left: 10px;
    width: 40px;
    height: 40px;
  }

  header .btn-active {
    top: 10px;
  }

  /* Уменьшаем размер полосок на очень маленьких экранах */
  header .menu-bar {
    width: 20px;
  }
}

/* Accessibility улучшения */
@media (prefers-reduced-motion: reduce) {
  header .menu-btn,
  header .menu-bars,
  header .menu-bar,
  header .menu-bar::before,
  header .menu-bar::after {
    transition: none;
  }
}

/* ============================================
   INTERACTIVE MENU ENHANCEMENTS
   ============================================ */

/* Menu item hover underline animation */
header .menu-list > li > a {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
}

header .menu-list > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #007bff, #00c6ff);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
  border-radius: 1px;
}

header .menu-list > li:hover > a::after,
header .menu-list > li.active > a::after {
  width: 100%;
}

/* Scale effect on menu item hover */
header .menu-list > li {
  transition: transform 0.2s ease;
}

header .menu-list > li:hover {
  transform: translateY(-2px);
}

/* Enhanced sub-list items */
header .sub-list li {
  position: relative;
  overflow: hidden;
}

header .sub-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, #007bff, #00c6ff);
  transform: scaleY(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: bottom;
}

header .sub-list li:hover::before {
  transform: scaleY(1);
  transform-origin: top;
}

header .sub-list li a {
  transition: all 0.2s ease;
}

header .sub-list li:hover a {
  padding-left: 38px;
  color: #fff;
}

/* Sub-list background slide effect */
header .sub-list {
  position: relative;
  background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  overflow: hidden;
}

/* Arrow indicator animation */
header .with-drop::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 6px;
  transition: transform 0.3s ease;
  vertical-align: middle;
}

header .with-drop:hover::after {
  transform: rotate(180deg);
}

/* Active menu item indicator */
header .menu-list > li.active > a {
  color: #007bff;
  font-weight: 500;
}

/* Ripple effect on click (requires JS) */
header .menu-list > li > a {
  overflow: hidden;
}

/* Focus states for accessibility */
header .menu-list > li > a:focus {
  outline: none;
}

header .menu-list > li > a:focus-visible {
  outline: 2px solid #007bff;
  outline-offset: 4px;
  border-radius: 2px;
}

header .sub-list li a:focus-visible {
  outline: 2px solid #00c6ff;
  outline-offset: 2px;
}

