
  @media (min-width: 1600px) {
    .container {
      max-width: 1530px;
    }
  }

  .header-wrap {
    background: transparent;
  }

  .header {
    position: static;
    padding: 20px 0 30px;
  }

  .header-top-line {
    justify-content: flex-start;
    gap: 50px;
    margin-bottom: 30px;
  }

  .header-logo {
    margin: 14px auto 0 0;
    width: auto;
  }

  .header-top-item {
    gap: 10px;
    margin: 0;
    padding: 5px 20px;
    height: 50px;
    font-weight: 500;
    color: #0E1730;
    border: 1px solid #EAEAEA;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;
    transition: all .3s ease-in-out;
  }

  .header-top-item svg,
  .header-top-item path {
    transition: all .3s ease-in-out;
  }


  .header-top-item:hover {
    text-decoration: none;
    color: #0E1730;
  }

  .header-top-item:last-child {
    margin-right: 0;
  }

  .header-top-item--city {
    margin-right: 25px;
    margin-left: auto;
  }

  .header-top-item--phone {
    color: #fff;
    background: #0E1730;
    border-color: #0E1730;
  }

  .header-top-item--phone:hover {
    color: #0E1730;
    background: transparent;
    border-color: #EAEAEA;
  }

  .header-top-item--phone:hover path {
    fill: #0E1730
  }

  .header-navigation {
    width: 100%;
  }

  .header-navigation>ul {
    justify-content: space-between;
    width: 100%;
    height: 50px;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;
    border: 1px solid #EAEAEA;
  }

  .header-navigation>ul>li {
    position: relative;
    display: flex;
    justify-content: center;
    flex: 1 1 auto;
    margin: 0;
    background-color: transparent;
    z-index: 2;
  }

  .header-navigation>ul>li>a {
    position: relative;
    padding: 5px 20px;
    height: 50px;
    font-weight: 400;
    color: #1e1e1e;
    background-color: transparent;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;
    z-index: 3;
  }

  .header-navigation>ul>li>a .if {
    font-size: 10px;
    margin-right: 10px;
  }

  .header-navigation>ul>li.show>a {
    color: #fff;
  }

  .header-navigation>ul>li:hover>a,
  .header-navigation>ul>li:hover>a span {
    color: #fff;
  }

  .header-navigation>ul>li.header-navigation-has-submenu>a {
    font-weight: 400;
  }

  .header-navigation-overlay {
    position: absolute;
    background-color: #0E1730;
    transition: .3s ease left, width, opacity;
    opacity: 0;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;
    transition: all .3s ease-in-out;
  }

  .header-navigation-overlay.active {
    opacity: 1;
  }

  .header-navigation-has-submenu:nth-child(2) .header-navigation-submenu {
    left: 10px;
    width: 400px;
  }

  .header-navigation-has-submenu:nth-child(3) .header-navigation-submenu {
    left: -25px;
    width: 880px;
  }

  .header-navigation-has-submenu:nth-child(4) .header-navigation-submenu {
    width: 1530px;
    left: -690px;
    white-space: nowrap;
  }

  .header-navigation-has-submenu:nth-child(3) .header-navigation-submenu:after {
    left: 80px;
  }

  .header-navigation-has-submenu:nth-child(4) .header-navigation-submenu:after {
    left: 760px;
  }

  body.home-new {
    position: relative;
  }

  body.home-new::before {}

  body.home-new.small-business::before {
    height: 900px;
  }



  body.home-new.solution::before {
    background: none;
  }

  .head-block {
    padding-top: 50px;
  }

  .hero-block {
    padding-bottom: 80px;
    background: transparent !important;
  }

  .hero-block:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1160px;
    background: url('https://wizard-c.ru/wp-content/themes/wizard/assets/img/hero-bg.png') no-repeat center top;
    background-size: 100% 100%;
    z-index: -1;
    pointer-events: none;
  }

  .header-bg {
    position: relative;
  }

  .header-bg:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 178px;
    background: url('https://wizard-c.ru/wp-content/themes/wizard/assets/img/hero-bg.png') no-repeat center top;
    background-size: cover;
    z-index: -1;
    pointer-events: none;
  }

  .big-business .header-bg:before {
    height: 1000px;
  }

  .small-business .header-bg:before {
    height: 900px;
  }

  .hero-block .container,
  .hero-block__top,
  .grid-block {
    background: transparent !important;
  }

  .hero-block__top {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 35px;
  }

  .hero-block__title {
    flex: 1 1 auto;
    max-width: 850px;
    font-size: 50px;
    font-weight: 500;
    line-height: 68px;
    color: #0E1730;
    text-transform: uppercase;
  }

  .hero-block__content {
    flex: 1 1 auto;
    align-self: flex-end;
    max-width: 620px;
  }

  .hero-block__desc {
    margin-bottom: 35px;
    font-size: 20px;
    line-height: 30px;
    font-weight: 500;
  }

  .hero-block__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 620px;
    height: 70px;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    background: #1597F6;
    transition: all .3s ease-in-out;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;
  }

  .hero-block__btn:hover {
    color: #fff;
    text-decoration: none;
    background: #0d7fd4;
  }

  .grid-block {
    display: grid;
    grid-template-columns: repeat(16, 1fr);
    grid-template-rows: auto auto;
    gap: 17px;
    background: transparent !important;
  }

  .grid-block__item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 13px;
    padding: 20px 25px 30px 30px;
    color: #fff;
    background-color: #1597F6;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-border-radius: 40px;
    -moz-border-radius: 40px;
    border-radius: 40px;
    overflow: hidden;
  }

  .grid-block__item-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .grid-block__item video {
    position: absolute;
    top: -40%;
    left: 0;
    width: 100%;
    object-position: center;
  }

  .grid-block__item:before,
  .grid-block__item-labels span,
  .grid-block__item-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    content: attr(data-num);
    width: 50px;
    height: 50px;
    font-size: 17px;
    font-weight: 500;
    color: #fff;
    border: 1px solid #fff;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
  }

  .grid-block__item:after {
    position: absolute;
    top: 20px;
    right: 20px;
    display: block;
    content: '';
  }

  .grid-block__item-labels {
    position: relative;
    display: flex;
    transition: all .3s ease-in-out;
  }

  .grid-block__item-labels span {
    margin: 0 -3px;
    width: 46px;
    height: 46px;
    font-size: 14px;
  }

  .grid-block__item-title {
    position: relative;
    font-size: 25px;
    line-height: 35px;
    font-weight: 500;
    text-transform: uppercase;
    transition: all .3s ease-in-out;
  }

  .grid-block__item-title span {
    display: block;
    margin-bottom: 15px;
    font-size: 60px;
    text-transform: uppercase;
    line-height: 55px;
    color: #fff;
    font-weight: 400;
  }

  .grid-block__item-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    transition: all .3s ease-in-out;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;
    z-index: 2;
  }

  .grid-block__item-btn span {
    position: absolute;
    left: 10px;
    opacity: 0;
    visibility: hidden;
    margin-right: auto;
    text-transform: uppercase;
    transition: all .3s ease-in-out;
  }

  .grid-block__item-btn svg {
    transition: all .3s ease-in-out;
  }

  .grid-block__item-btn:hover {
    background: #1597F6;
    border-color: #1597F6;
    color: #fff;
    text-decoration: none;
  }

  .grid-block__item:hover .grid-block__item-btn {
    padding: 0 10px 0 20px;
    width: 215px;
  }

  .grid-block__item:hover .grid-block__item-btn svg {
    transform: rotate(45deg);
  }

  .grid-block__item:hover .grid-block__item-btn span {
    position: relative;
    left: 0;
    opacity: 1;
    visibility: visible;
    transition-delay: .2s;
  }

  .grid-block__item-desc {
    position: relative;
    font-size: 17px;
    line-height: 20px;
    transition: all .3s ease-in-out;
    z-index: 2;
  }

  .grid-block__item--1 {
    grid-row: 1 / span 2;
    grid-column: span 4;
    min-width: 395px;
    background-image: url('/wp-content/themes/wizard/assets/img/advantages-bg-1.jpg');
  }

  .grid-block__item--1 .grid-block__item-title,
  .grid-block__item--1 .grid-block__item-desc {
    padding-left: 15px;
  }

  .grid-block__item--1:after {
    width: 60px;
    height: 60px;
    background: url('/wp-content/themes/wizard/assets/img/advantages-ico-1.svg') no-repeat;
  }

  .grid-block__item--2 {
    grid-row: 1;
    grid-column: span 6;
    min-height: 230px;
    background-image: url('/wp-content/themes/wizard/assets/img/business-n-img-1.jpg');
    cursor: pointer;
  }

  .grid-block__item--2 .grid-block__item-video:after {
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .2);
  }

  .grid-block__item--2 .grid-block__item-labels {
    margin-top: auto;
  }

  .grid-block__item--3 {
    grid-row: 1;
    grid-column: span 6;
    min-height: 230px;
    background-image: url('/wp-content/themes/wizard/assets/img/business-n-img-2.jpg');
    cursor: pointer;
  }

  .grid-block__item--3 .grid-block__item-title {
    margin-top: auto;
  }

  .grid-block__item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(14, 23, 48, 0.8) 0%, rgba(44, 72, 150, 0.8) 100%);
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease-in-out;
    z-index: 1;
  }

  .grid-block__item--2 .grid-block__item-desc,
  .grid-block__item--3 .grid-block__item-desc {
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease-in-out;
  }

  .grid-block__item--2:hover .grid-block__item-desc,
  .grid-block__item--3:hover .grid-block__item-desc,
  .grid-block__item:hover .grid-block__item-overlay {
    opacity: 1;
    visibility: visible;
  }

  .grid-block__item--2:hover .grid-block__item-desc,
  .grid-block__item--3:hover .grid-block__item-desc {
    display: block;
  }

  .grid-block__item--2:before,
  .grid-block__item--3:before {
    display: none;
  }

  .grid-block__item--4 {
    grid-row: 2;
    grid-column: span 4;
    min-height: 340px;
    background-image: url('/wp-content/themes/wizard/assets/img/advantages-bg-2.jpg');
  }

  .grid-block__item--4:after {
    width: 49px;
    height: 51px;
    background: url('/wp-content/themes/wizard/assets/img/advantages-ico-2.svg') no-repeat;
  }

  .grid-block__item--5 {
    grid-row: 2;
    grid-column: span 4;
    min-height: 340px;
    padding-right: 25px;
    background: #fff;
  }

  .grid-block__item--5:before {
    color: #0E1730;
    border-color: #0E1730;
  }

  .grid-block__item--5:after {
    width: 92px;
    height: 46px;
    background: url('/wp-content/themes/wizard/assets/img/advantages-ico-3.svg') no-repeat;
  }

  .grid-block__item--5 .grid-block__item-title,
  .grid-block__item--5 .grid-block__item-desc {
    color: #0E1730;
  }

  .grid-block__item--5 .grid-block__item-desc {
    font-size: 16px;
  }

  .grid-block__item--5 .grid-block__item-title {
    font-size: 22px;
    line-height: 30px;
  }

  .grid-block__item--6 {
    grid-row: 2;
    grid-column: span 4;
    min-height: 340px;
    justify-content: flex-start;
    gap: 20px;
  }

  .grid-block__item--6:after {
    display: none;
  }

  @media (max-width: 1600px) {
    .big-business .header-bg:before {
      height: 930px;
    }

    .small-business .header-bg:before {
      height: 860px;
    }
  }

  @media (max-width: 1529px) {
    .header {
      padding: 30px 0;
    }

    .header-top-line {
      gap: 20px;
    }

    .header-top-item--city {
      margin-right: 0;
    }

    .header-top-item {
      font-size: 14px;
      height: 40px;
    }

    .header-navigation>ul {
      height: 40px;
    }

    .header-navigation>ul>li>a {
      height: 40px;
    }

    .header-navigation-has-submenu:nth-child(3) .header-navigation-submenu {
      width: 700px
    }

    .header-navigation-has-submenu:nth-child(4) .header-navigation-submenu {
      width: 1140px;
      left: -520px;
    }

    .header-navigation-has-submenu:nth-child(4) .header-navigation-submenu:after {
      left: 570px
    }

    .big-business .header-bg:before {
      height: 870px;
    }

    .small-business .header-bg:before {
      height: 780px;
    }

    .hero-block__title {
      font-size: 40px;
      line-height: 68px;
    }

    .hero-block__desc {
      margin-bottom: 40px;
      font-size: 16px;
      line-height: 24px;
    }

    .hero-block__btn {
      font-size: 14px;
      font-weight: 500;
      height: 60px;
      -webkit-border-radius: 30px;
      -moz-border-radius: 30px;
      border-radius: 30px;
    }

    .grid-block__item {
      -webkit-border-radius: 30px;
      -moz-border-radius: 30px;
      border-radius: 30px;
    }

    .grid-block__item:before,
    .grid-block__item-labels span {
      font-size: 14px;
    }

    .grid-block__item-btn,
    .grid-block__item:before,
    .grid-block__item-labels span {
      width: 40px;
      height: 40px;
    }

    .grid-block__item-btn svg {
      width: 13px;
      height: auto;
    }

    .grid-block__item-btn span {
      font-size: 14px;
    }

    .hero-block__btn:hover {
      padding: 0 15px;
    }

    .grid-block__item-title {
      font-size: 18px;
      line-height: 25px;
    }

    .grid-block__item-title span {
      font-size: 40px;
      line-height: 40px;
    }

    .grid-block__item-desc {
      font-size: 14px;
      line-height: 18px;
    }

    .grid-block__item--1 {
      min-width: auto;
    }

    .grid-block__item--1 .grid-block__item-title,
    .grid-block__item--1 .grid-block__item-desc {
      padding-left: 0;
    }
  }

  @media (max-width: 1199px) {
    .header-wrap {
      background-size: cover;
    }

    .hero-block:before {
      height: 1630px;
    }

    .header-bg:before {
      height: 116px;
    }

    .big-business .header-bg:before {
      height: 1000px;
    }

    .small-business .header-bg:before {
      height: 900px;
    }

    .header .container.header-top-line {
      display: flex;
    }

    .header .container.header-top-line {
      margin-bottom: 0;
      padding: 0 20px;
    }

    .header-top-item {
      display: none;
    }

    html.mobile-show-navigation,
    body.mobile-show-navigation {
      overflow: hidden !important;
      height: 100vh;
    }

    .header-wrap {
      position: relative;
      z-index: 1001;
      transition: background-color 0.3s ease-in-out;
    }

    .mobile-show-navigation .header-wrap,
    .mobile-show-navigation .header {
      background-color: #0E1730 !important;
      border: none;
    }

    body {
      padding-top: 0;
    }

    .header-logo {
      position: relative;
      z-index: 10010;
      transition: filter 0.3s ease-in-out;
    }

    .mobile-show-navigation .header-logo img {
      filter: brightness(0) invert(1);
    }

    .button-burger-custom {
      width: 30px;
      height: 24px;
      padding: 0;
      background: transparent;
      border: none;
      cursor: pointer;
      position: relative;
      z-index: 10010;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .button-burger-icon {
      display: block;
      width: 100%;
      height: 100%;
      position: relative;
      transform: rotate(0deg);
      transition: all 0.3s ease-in-out;
    }

    .button-burger-close-svg {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) scale(0.5) rotate(-90deg);
      opacity: 0;
      width: 24px;
      height: 24px;
      transition: all 0.3s ease-in-out;
      pointer-events: none;
    }

    .button-burger-close-svg path {
      stroke: #fff;
    }

    .button-burger-icon span {
      display: block;
      position: absolute;
      height: 2px;
      width: 100%;
      background: #0E1730;
      border-radius: 9px;
      opacity: 1;
      left: 0;
      transition: all 0.3s ease-in-out;
    }

    .button-burger-icon span:nth-child(1) {
      top: 0px;
    }

    .button-burger-icon span:nth-child(2) {
      top: 11px;
    }

    .button-burger-icon span:nth-child(3) {
      bottom: 0px;
    }

    .mobile-show-navigation .button-burger-icon {
      opacity: 0;
      transform: rotate(90deg);
      pointer-events: none;
    }

    .mobile-show-navigation .button-burger-close-svg {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1) rotate(0deg);
      pointer-events: auto;
    }

    .mobile-navigation .footer {
      padding-top: 0 !important;
      padding-bottom: 0 !important;
    }

    .mobile-navigation .footer-glow-01 {
      display: none;
    }

    .mobile-navigation {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      height: 100vh;
      height: 100dvh;
      padding-top: 156px;
      background-color: #0E1730;
      z-index: 9999;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      transform: translateX(100%);
      transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
      visibility: hidden;
    }

    .mobile-show-navigation .mobile-navigation {
      transform: translateX(0);
      visibility: visible;
    }

    /* Adjust padding for smaller screens if header is smaller */
    @media (max-width: 575px) {
      .mobile-navigation {
        padding-top: 116px;
        /* Even tighter on mobile */
      }
    }

    .mobile-navigation .footer {
      padding-bottom: 40px !important;
      background: transparent !important;
    }

    .footer-navigation-mobile>ul>li>ul {
      display: none;
      padding-left: 20px;
    }

    .footer-navigation-mobile>ul>li.submenu-open>ul {
      display: block;
    }

    .footer-navigation-mobile-toggle {
      cursor: pointer;
      rotate: 90deg;
      transition: rotate 0.3s ease;
    }

    .footer-navigation-mobile>ul>li.submenu-open>.footer-navigation-mobile-toggle {
      rotate: -90deg;
    }

    .hero-block__top {
      flex-direction: column;
      padding-top: 60px;
    }

    .hero-block__title,
    .hero-block__content,
    .hero-block__btn {
      max-width: none;
    }

    .hero-block__content {
      align-self: auto;
    }

    .grid-block {
      grid-template-columns: repeat(2, 1fr);
    }

    .grid-block__item {
      grid-column: 1 span;
      grid-row: auto;
    }

    .grid-block__item--4 {
      grid-row: 1;
      grid-column: 2;
    }

  }

  @media (max-width: 1050px) {
    .big-business .header-bg:before {
      height: 1040px;
    }
  }

  @media(max-width: 991px) {
    .hero-block:before {
      height: 1875px;
    }

    .grid-block {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
    }

    .grid-block__item {
      -webkit-border-radius: 20px;
      -moz-border-radius: 20px;
      border-radius: 20px;
    }

    .grid-block__item--1 {
      order: 3;
    }

    .grid-block__item--2,
    .grid-block__item--3 {
      width: 100%;
    }

    .grid-block__item--2 {
      order: 1;
      min-height: 235px;
    }

    .grid-block__item--3 {
      order: 2;
      min-height: 235px;
    }

    .grid-block__item--1,
    .grid-block__item--4,
    .grid-block__item--5,
    .grid-block__item--6 {
      flex: 1 1 auto;
      width: calc(50% - 7px);
      min-width: 300px;
    }

    .grid-block__item--4 {
      order: 4;
    }

    .grid-block__item--5 {
      order: 5;
    }

    .grid-block__item--6 {
      order: 6;
    }
  }

  @media (max-width: 937px) {
    .big-business .header-bg:before {
      height: 1070px;
    }

    .small-business .header-bg:before {
      height: 1000px;
    }
  }

  @media (max-width: 900px) {
    .big-business .header-bg:before {
      height: 1110px;
    }
  }

  @media (max-width: 829px) {
    .big-business .header-bg:before {
      height: 1140px;
    }
  }

  @media (max-width: 739px) {
    .big-business .header-bg:before {
      height: 1170px;
    }
  }

  @media (max-width: 768px) {
    .small-business .header-bg:before {
      height: 1260px;
    }
  }

  @media (max-width: 680px) {
    .big-business .header-bg:before {
      height: 1230px;
    }

    .small-business .header-bg:before {
      height: 1360px;
    }
  }

  @media(max-width: 633px) {
    .hero-block:before {
      height: 2500px;
    }

    .big-business .header-bg:before {
      height: 1300px;
    }

    .small-business .header-bg:before {
      height: 1390px;
    }
  }

  @media (max-width: 590px) {
    .big-business .header-bg:before {
      height: 1350px;
    }

    .small-business .header-bg:before {
      height: 1430px;
    }
  }

  @media (max-width: 575px) {
    .header-wrap {
      background: transparent;
    }

    .header {
      padding: 30px 0 20px;
    }

    .header-logo {
      margin-top: 0;
      width: 185px;
    }

    .head-block {
      padding-top: 30px;
    }

    .mobile-navigation {
      top: 77px;
    }

    .big-business .header-bg:before {
      height: 1250px;
    }

    .hero-block__top {
      gap: 20px;
      margin-bottom: 30px;
    }

    .hero-block__title {
      margin-bottom: 0;
      font-size: 28px;
      line-height: 45px;
    }

    .hero-block__desc {
      margin-bottom: 20px;
    }

    .hero-block__title br,
    .hero-block__desc br {
      display: none;
    }

    .hero-block__btn {
      font-size: 12px;
      text-align: center;
      height: 50px;
      -webkit-border-radius: 25px;
      -moz-border-radius: 25px;
      border-radius: 25px;
    }

    .grid-block__item {
      padding: 20px 5px 25px 20px;
    }

    .grid-block__item video {
      top: -30%;
    }

    .header-bg:before {
      height: 76.69px;
    }
  }

  @media (max-width: 493px) {
    .big-business .header-bg:before {
      height: 1330px;
    }

    .small-business .header-bg:before {
      height: 1530px;
    }
  }

  @media (max-width: 441px) {
    .big-business .header-bg:before {
      height: 1430px;
    }

    .small-business .header-bg:before {
      height: 1620px;
    }
  }

  @media (max-width: 400px) {
    .big-business .header-bg:before {
      height: 1520px;
    }

    .small-business .header-bg:before {
      height: 1680px;
    }
  }

  @media (max-width: 380px) {
    .big-business .header-bg:before {
      height: 1620px;
    }

    .small-business .header-bg:before {
      height: 1700px;
    }
  }

  @media (max-width: 361px) {
    .small-business .header-bg:before {
      height: 1780px;
    }
  }

  @media (max-width: 351px) {
    .big-business .header-bg:before {
      height: 1730px;
    }

    .small-business .header-bg:before {
      height: 1850px;
    }
  }