@media (min-width: 960px) {
   .services-prev__wrapper {
     display: -webkit-box;
     display: -ms-flexbox;
     display: flex;
     -ms-flex-wrap: wrap;
         flex-wrap: wrap;
   }
 
   .previlegues__wrapper {
     display: -webkit-box;
     display: -ms-flexbox;
     display: flex;
     -ms-flex-wrap: wrap;
         flex-wrap: wrap;
   }

   .navigation__list li:hover > .sub-menu {
      opacity: 1;
      visibility: visible;
   }

   .navigation__list li:hover > .navigation__list-item a {
      background: -webkit-gradient(linear, left top, left bottom, from(#9550D5), to(#354DB4));
      background: linear-gradient(180deg, #9550D5 0%, #354DB4 100%);
      background-clip: text;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
  
   .menu-item-has-children:hover .navigation__list-item:after {
      -webkit-transform: rotate(180deg);
            -ms-transform: rotate(180deg);
               transform: rotate(180deg);
   }

   .menu-item-has-children:hover:after {
      -webkit-transform: rotate(180deg);
          -ms-transform: rotate(180deg);
              transform: rotate(180deg);
    }
  
   .sub-menu .menu-item-has-children:hover .sub-menu {
      opacity: 1;
      visibility: visible;
   }

   .sub-menu li:hover {
      background-color: #fff;
    }
    
    .sub-menu li:hover:after {
      background: url("../img/svg/arrow-menu-blue.svg") no-repeat center top/cover;
      -webkit-transform: rotate(-90deg);
          -ms-transform: rotate(-90deg);
              transform: rotate(-90deg);
    }
    
    .sub-menu li:hover > a {
      background: var(--col1, linear-gradient(180deg, #9550D5 0%, #354DB4 100%));
      background-clip: text;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

   .mobile-wrapper {
      display: none;
   }
}

@media (min-width: 1240px) {
   .single h1,
   .hero-body__title {
      font-size: 50px;
   }

   h2,
   .section-title__title {
      font-size: 32px;
   }

   h3 {
      font-size: 26px;
   }
}
@media (max-width: 1100px) {
   .navigation__list li {
      margin-left: 30px;
   }
}
@media (max-width: 960px) {
   .burger {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
   }

   .header {
      -webkit-box-orient: vertical;
      -webkit-box-direction: reverse;
         -ms-flex-direction: column-reverse;
               flex-direction: column-reverse;
   }

   .navigation {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
         -ms-flex-direction: column;
               flex-direction: column;
      max-width: 460px;
   }

   .navigation__list {
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
         -ms-flex-direction: column;
               flex-direction: column;
      -webkit-box-align: start;
         -ms-flex-align: start;
               align-items: flex-start;
      padding-bottom: 35px;
   }

   .navigation__list > li {
      width: 100%;
      margin-left: 0;
      margin-bottom: 15px;
   }

   .menu-item-has-children:after {
      height: 8px;
      right: 0!important;
      background: url("../img/svg/arrow-menu.svg") no-repeat center top/cover;
    }

   .navigation__list li:last-child {
      margin-bottom: 0;
   }

   .navigation__list li a {
      color: #fff;
      font-size: 16px;
      font-weight: 600;
      text-transform: inherit;
   }

   .sub-menu,
   .sub-menu .sub-menu {
      position: static;
      opacity: 1;
      visibility: visible;
      border: none;
      background: none;
      -webkit-box-shadow: none;
      box-shadow: none;
      max-width: 100%;
      height: 0;
      overflow: hidden;
   }

   .sub-menu {
      padding: 0;
   }

   .sub-menu.open {
      height: 100%;
      padding: 10px 0;
   }

   .sub-menu li {
      padding: 4px 0 4px 20px;
  }

   .sub-menu:before {
      display: none;   
   }

   .sub-menu li a {
      color: #fff;
   }

   .header-top__img {
      width: 36px;
      height: 36px;
      margin-right: 15px;
   }

   .hero-body {
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
         -ms-flex-direction: column;
               flex-direction: column;
   }

   .hero-body__text {
      max-width: 100%;
      margin-bottom: 25px;
   }

   .hero-body__form {
      max-width: 100%;
   }

   .hero-form {
      padding: 30px 10px;
   }

   .pt {
      padding-top: 50px;
   }

   .pb {
      padding-bottom: 50px;
   }

   .section-title {
      margin-bottom: 20px;
   }

   .swiper-scrollbar {
      margin-top: 20px;
      width: 100%;
      height: 3px;
      border-radius: 50px;
      background: #fff;
   }

   .swiper-scrollbar-drag {
      width: auto;
      height: 100%;
      border-radius: 50px;
      background: var(--col1, linear-gradient(180deg, #9550D5 0%, #354DB4 100%));
   }

   .stay {
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
         -ms-flex-direction: column;
               flex-direction: column;
   }

   .stay__img,
   .stay__text {
      max-width: 100%;
   }

   .stay__img {
      aspect-ratio: 16/9;
      margin-right: 0;
      margin-bottom: 25px;
   }

   .reverse .stay__text {
      margin: 0;
   }

   .reverse .stay__img {
      margin-bottom: 20px;
   }

   .services-block__body {
      padding: 10px;
   }

   .contacts__map {
      position: static;
      height: 380px;
   }

   .contacts__content {
      max-width: 100%;
   }

   .contacts-wrapper {
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
         -ms-flex-direction: column;
               flex-direction: column;
   }

   .contacts-wrapper__right {
      margin-top: 40px;
   }

   .brands-content {
      margin: -2px;
   }

   .brands-content__item {
      padding: 2px;
      width: 33.333%;
   }

   .price-content {
      margin: -5px;
   }

   .price-content__wrapper {
      padding: 5px;
   }

   h2 {
      margin-bottom: 25px;
   }

   .program-wrapper__inner {
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
         -ms-flex-direction: column;
               flex-direction: column;
      margin-top: 20px;
   }

   .program-wrapper__img {
      aspect-ratio: 16/8;
      max-width: 100%;
   }

   .program-wrapper__text {
      padding: 15px 10px;
   }

   .program-wrapper__title {
      font-size: 16px;
   }

   .program-wrapper__bottom {
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
         -ms-flex-direction: column;
               flex-direction: column;
   }

   .program-wrapper__btn {
      margin-right: 0;
      margin-bottom: 20px;
   }
   
   .previlegues__body {
   	padding: 35px 15px;
   }
}

@media (max-width: 768px) {
   .single h1,
   .hero-body__title {
      font-size: calc(26px + (24 + 24 * 0.7) * ((100vw - 320px) / 1240));
   }

   h2,
   .section-title__title {
      font-size: calc(18px + (14 + 14 * 0.7) * ((100vw - 320px) / 1240));
   }

   h3 {
      font-size: calc(16px + (10 + 10 * 0.7) * ((100vw - 320px) / 1240));
   }

   .footer-body {
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
         -ms-flex-direction: column;
               flex-direction: column;
   }

   .footer-body__logo,
   .footer-body__social,
   .footer-body__menu {
      margin-bottom: 30px;
   }

   .services-block__wrapper {
      width: 50%;
   }

   .price-content__wrapper {
      width: 100%;
   }

   .table,
   .table thead th {
      font-size: 12px;
   }

   .table td {
      padding: 5px;
   }

   .table thead th {
      padding: 5px;
   }

   .menu-popup {
      padding: 40px 15px;
   }
   
   .header-top__item_clock{
      display: none;
   }
   .actions-body {
      flex-direction: column-reverse;
   }
   .actions-body__left,
   .actions-body__right {
      width: 100%;
       padding: 30px 15px;
   }
   
   .actions-body__img {
      display: flex;
      justify-content: center;
   }
   .actions-body__img img {
      position: static;
      min-width: auto;
      height: auto;
      left: auto;
      right: auto;
  }
  
  .alignleft,
  .alignright {
    width: 100%;
  	max-width: 100%;
    float: none;
    margin: 20px 0;
  }
  
  .header-top__content {
  	flex-direction: column;
    align-items: flex-start;
  }
  
  .header-top__item_phone {
  	margin-bottom: 10px;
  }
}



@media (max-width: 520px) {
   .services-block__wrapper {
      width: 100%;
   }

   .brands-content__item {
      width: 50%;
   }
   .burger {
      margin-left: 30px;
   }
}

@media (max-width: 320px) {
   .single h1,
   .hero-body__title {
      font-size: 26px;
   }

   h2,
   .section-title__title {
      font-size: 18px;
   }

   h3 {
      font-size: 16px;
   }

   .previlegues__body {
      padding: 35px 10px;
   }
}