@import "https://use.fontawesome.com/releases/v5.8.2/css/all.css";

@media (max-width: 1049px){
  #header{
    display: none;
  }
  #header-sticky-wrapper{
    display: none;
  }
}


/* Общее */
@media (max-width: 699px){
  h2{
    font-size: 20px !important;
  }
  #toTop{
    width: 40px;
    height: 40px;
  }
  #toTop::after {
    font-size: 16px;
    left: 13px;
    top: 10px;
  }
  .grey_section h2{
    font-size: 18px !important;
  }
  .grey_section p{
    font-size: 15px;
  }
  input{
    width: 100%;
  }
  textarea{
    width: 100%;
  }
  /* Купить лицензию */
  #id_select_license, #id_select_license_chet{
    overflow: scroll;
  }
}


/* Главная */
.users{
  display: flex;
  justify-content: space-between;
}
.users__item{
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.users img{
  height: 100px;
  object-fit: contain;
}
.users__item-text{
  font-weight: bold;
  font-size: 18px;
}
@media (max-width: 1049px){
  .grey_section_key{
    padding: 60px 20px 0;
  }
}
@media (max-width: 699px){
  .grey_section_key h1{
    font-size: 24px;
  }
  .div_img{
    height: auto;
    padding: 30px 30px 0;
  }
  .div_font_img{
    width: 80%;
  }
  .p_fon{
    font-size: 18px;
    padding: 20px;
  }
  #features{
    padding: 40px 20px !important;
  }
  #features .block, #features .row{
    margin: 0;
  }
  #features .left_icons{
    display: flex;
    flex-direction: column;
  }
  #features .single_teaser_left i{
    position: relative;
    padding: 0;
    margin: 0;
    font-size: 50px;
    width: initial;
    height: initial;
    text-align: left;
  }
  #features .single_teaser_right{
    margin: 0;
    padding: 0;
  }
  #features .single_teaser_right h3{
    font-size: 18px;
  }
  .grey_section{
    padding: 30px !important;
  }
  .users{
    flex-direction: column;
    gap: 40px;
  }
  .users__item{
    gap: 10px;
  }
  .users__item img{
    height: 80px;
  }
  .users__item-text{
    font-size: 16px;
  }
  #testimonials{
    padding-bottom: 30px !important;
  }
  #testimonials .carousel-control{
    top: initial !important;
    bottom: -30px;
  }
  #testimonials p{
    font-size: 15px;
  }
  #services .row{
    margin: 0;
  }
  #services .single_teaser{
    margin: 0;
    padding: 0;
  }
  #services i{
    width: 70px;
    height: 70px;
    line-height: 70px;
    font-size: 30px;
  }
  #contact{
    padding: 20px !important;
  }
  #contact .programs1{
    width: 100%;
    height: auto;
  }
  #contact h4{
    padding: 0;
    margin: 0;
  }
  #contact .programs1 table tr{
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  #contact td > div{
    margin: 0;
    text-align: center;
    width: 100%;
    height: auto;
  }
}






@media (min-width:1049px) {
  .mobile-header{
    display: none;
  }
}
@media (max-width:1049px){
  /* ===== FIXED HEADER ===== */
  .mobile-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
  }

  /* Полоска */
  .header-bar {
    height: 60px;
    padding: 0 16px;
    background: #fff;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 999;
  }

  /* Лого */
  .logo{
    z-index: 999;
  }
  .logo img {
    height: 50px;
    display: block;
  }

  /* Бургер */
  .burger {
    width: 30px;
    height: 18px;
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 999;
  }

  .burger span {
    height: 2px;
    width: 100%;
    background: #000;
    border-radius: 2px;
    transition: 0.3s;
  }

  /* ===== FULLSCREEN MENU ===== */
  .mobile-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    transform: translateY(-100%);
    transition: transform 0.35s ease;
    overflow-y: auto;
    padding: 24px;
  }

  .mobile-header.open .mobile-menu {
    transform: translateY(0);
  }

  /* Меню */
  .menu {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .menu li {
    margin-bottom: 12px;
  }

  .menu a,
  .submenu-toggle {
    font-size: 16px;
    text-decoration: none;
    color: #000;
    background: none;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
    padding:  0;
  }

  /* Подменю */
  .submenu {
    list-style: none;
    padding-left: 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .has-submenu.open .submenu {
    max-height: 300px;
    padding-top: 10px;
  }

  .submenu a {
    font-size: 14px;
    color: #555;
  }
  .mobile-menu i{
    padding-left: 10px;
    color: #aaa;
    font-size: 12px;
  }

}
