.digital-page {
  box-sizing: border-box;
  font-family: 'Montserrat';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.digital-page .content {
  max-width: 1490px;
  padding: 0 25px;
  margin: auto;
}

@media (max-width: 1500px) {
  .digital-page .content {
    max-width: 1200px;
  }
}

@media (max-width: 800px) {
  .digital-page .content {
    padding: 0 40px;
  }
}

@media (max-width: 500px) {
  .digital-page .content {
    padding: 0 30px;
  }
}

.digital-page .intro .box {
  background: black;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9;
}

.digital-page header .top {
  display: flex;
  justify-content: space-between;
}

.digital-page header .top .logo {
  /* width: auto !important; */
}

.digital__claim {
  width: 100%;
  height: 100%;
  color: white;
  position: relative;
  z-index: 10;
}

.digital__claim .content {
  height: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
}

.digital__text {
  margin-bottom: 80px;
  max-width: 60%;
}

@media (max-width: 1200px) {
  .digital__text {
    max-width: 75%;
  }
}

@media (max-width: 500px) {
  .digital__text {
    max-width: 100%;
  }
}

.digital__text h1 {
  margin: 0;
  font-size: 64px;
  font-weight: bold;
  letter-spacing: 0.4px;
}

.digital__text h2 {
  margin: 0;
  font-size: 42px;
  font-weight: 600;
}

@media (max-width: 500px) {
  .digital__text h2 {
    font-size: 28px;
  }
}

.digital__text h3 {
  font-size: 18px;
  letter-spacing: 0.11px;
  font-weight: 600;
  max-width: 945px;
}

@media (max-width: 500px) {
  .digital__text h3 {
    font-size: 15px;
  }
}

.digital__h2 {
  font-size: 45px;
  font-weight: bold;
  margin: 0;
  letter-spacing: 0.28px;
  color: #0000FF;
}

@media (max-width: 500px) {
  .digital__h2 {
    font-size: 24px;
  }
}

.digital__h2.h2--atool {
  max-width: 38%;
  font-size: 25px;
}

@media (max-width: 800px) {
  .digital__h2.h2--atool {
    max-width: 100%;
    font-size: 20px;
  }
}

.digital__h2.h2--atool span {
  font-size: 40px;
}

@media (max-width: 800px) {
  .digital__h2.h2--atool span {
    font-size: 30px;
  }
}

.uslugi {
  padding-top: 75px;
  position: relative;
}

@media (max-width: 500px) {
  .uslugi {
    padding-top: 30px;
  }
}

.uslugi-lines {
  position: absolute;
  top: 0;
  height: 500px;
  width: 100%;
}

.uslugi-lines .line {
  width: 20%;
  display: block;
  height: 10px;
  background: #E9E9E9;
  margin: 30px 0;
  position: relative;
  top: 25vh;
}

.uslugi-lines.line:first-of-type {
  margin-top: 0;
}

.uslugi .uslugi-video {
  width: 80%;
  margin: auto;
  margin-top: 90px;
  margin-bottom: 130px;
}

@media (max-width: 500px) {
  .uslugi .uslugi-video {
    margin-left: -30px;
    width: calc(100% + 60px);
    margin-top: 30px;
    margin-bottom: 0;
  }
}

.uslugi .uslugi-video video {
  width: 100%;
  display: block;
}

.solutions {
  background: #120DE5;
  color: white;
  padding-top: 155px;
  padding-bottom: 175px;
  position: relative;
}

@media (max-width: 500px) {
  .solutions {
    padding-top: 30px;
    padding-bottom: 40px;
  }
}

.solutions-lines {
  position: absolute;
  top: 0;
  right: 0;
  height: 500px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
}

.solutions-lines .line {
  width: 60%;
  display: block;
  height: 10px;
  background: #fff;
  margin: 20px 0;
  position: relative;
  top: 10vh;
}

@media (max-width: 500px) {
  .solutions-lines .line {
    margin: 8px 0;
    height: 6px;
  }
}

.solutions-lines .line:first-of-type {
  margin-top: 0;
}


.solutions .digital__h2 {
  color: white;
}

.solutions ul {
  margin: 0px;
  padding: 0px;
  list-style: none;
  max-width: 1300px;
  margin: auto;
  margin-top: 200px;
  text-align: center;
  position: relative;
  z-index: 1000;
}

@media (max-width: 1500px) {
  .solutions ul {
    max-width: 1100px;
  }
}

@media (max-width: 500px) {
  .solutions ul {
    margin-top: 70px;
    z-index: 1000;
  }
}

.solutions ul li {
  list-style: none;
  display: inline-block;
  padding-bottom: 0;
  transition: padding-bottom .4s ease;
}

.solutions ul li.expanded {
  padding-bottom: 800px;
}

@media (max-width: 1000px) {
  .solutions ul li.expanded {
    padding-bottom: 650px;
  }
}

@media (max-width: 500px) {
  .solutions ul li.expanded {
    padding-bottom: 0;
  }
}

.solutions ul li a {
  position: relative;
  display: inline-block;
  font-size: 36px;
  color: white;
  text-decoration: none;
  cursor: pointer;
  font-family: "Montserrat Bold",sans-serif;
  line-height: 60px
}

@media (max-width: 1200px) {
  .solutions ul li a {
    font-size: 34px;
  }
}

@media (max-width: 1100px) {
  .solutions ul li a {
    font-size: 32px;
  }
}

@media (max-width: 1000px) {
  .solutions ul li a {
    font-size: 24px;
  }
}

@media (max-width: 500px) {
  .solutions ul li a {
    font-size: 18px;
    line-height: 40px;
  }
}

.solutions ul li a:before {
  content: '';
  width: 0; 
  height: 0; 
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-bottom: 40px solid #120DE5;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 90px;
  z-index: -2;
}

@media (max-width: 500px) {
  .solutions ul li a:before {
    top: 55px;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 20px solid #120DE5;
  }
}

.solutions ul li.expanded a:before {
  border-bottom: 40px solid #0400B4;
  transition: border-bottom .4s ease;
  transition-delay: 1s;
}

@media (max-width: 500px) {
  .solutions ul li.expanded a:before {
    border-bottom: 20px solid #0400B4;
  }
}

.solutions ul li a:after {
  content: '\\';
  display: inline-block;
  margin: 0 5px;
  font-weight: bold;
  position: relative;
  bottom: 3px;
  color: #ed1c24
}

.solutions ul li:last-of-type a:after {
  display: none;
}

.solutions ul li a:hover {
  color: #ed1c24;
  /* border-bottom: 5px dotted #000 */
}

/* .solutions ul li a:hover:before {
  opacity: 1;
  position: absolute !important;
  z-index: 100;
  left: 0px;
  top: 0px
} */

.benefits {
  padding-top: 110px;
  padding-bottom: 35px;
  position: relative;
}

@media (max-width: 500px) {
  .benefits {
    padding-top: 40px;
  }
}

.benefits-lines {
  position: absolute;
  top: 0;
  height: 500px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.benefits-lines.right {
  justify-content: flex-start;
  top: 50px;
  align-items: flex-end;
}

.benefits-lines .line {
  width: 20%;
  display: block;
  height: 10px;
  background: #E9E9E9;
  margin: 20px 0;
  position: relative;
  top: 25vh;
}

.benefits-lines.line:first-of-type {
  margin-top: 0;
}

.benefits__grid {
  display: flex;
  justify-content: space-between;
  margin: 70px 0 35px;
}

@media (max-width: 1100px) {
  .benefits__grid {
    flex-wrap: wrap;
    justify-content: space-around;
  }
}

@media (max-width: 500px) {
  .benefits__grid {
    justify-content: space-between;
    margin: 35px 0 0;
  }
}

.benefits__grid .item {
  width: calc((100% - 72px) / 5);
  position: relative;
  filter: grayscale(1);
  transition: filter .3s ease;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

@media (max-width: 1100px) {
  .benefits__grid .item {
    width: calc((100% - 28px) / 3);
    margin: 12px 0;
  }
}

@media (max-width: 500px) {
  .benefits__grid .item {
    width: calc(50% - 10px);
    filter: none;
    background-size: cover;
  }

  .benefits__grid .item:nth-child(2),
  .benefits__grid .item:nth-child(4) {
    transform: translateY(55px);
  }
}

.benefits__grid .item:hover {
  filter: none;
}

.benefits__grid .item .item__inner {
  width: 100%;
  padding-top: 64%;
  position: relative;
}

@media (max-width: 500px) {
  .benefits__grid .item .item__inner {
    padding-top: 100%;
  }
}

.benefits__grid .item .item__content {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  font-size: 19px;
  font-weight: bold;
  color: white;
  padding: 7px 10px;
}

@media (max-width: 1500px) {
  .benefits__grid .item .item__content {
    font-size: 15px;
    padding: 7px 10px;
  }
}

@media (max-width: 500px) {
  .benefits__grid .item .item__content {
    font-size: 11px;
    padding: 10px;
  }
}

.benefits__grid .item .item__number {
  font-size: 42px;
  line-height: 42px;
  margin-bottom: auto;
}

@media (max-width: 1500px) {
  .benefits__grid .item .item__number {
    /* line-height: 88px; */
    font-size: 32px;
    line-height: 32px;
  }
}

@media (max-width: 500px) {
  .benefits__grid .item .item__number {
    font-size: 32px;
    line-height: 32px;
  }
}

.atool {
  background: #2C34E1;
  padding-top: 125px;
  position: relative;
}

@media (max-width: 500px) {
  .atool {
    padding-top: 10px;
  }
}

.atool::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 330px;
  background: white;
  z-index: 0;
}

@media (max-width: 500px) {
  .atool::after {
    height: 150px;
  }
}

.atool .content {
  position: relative;
  z-index: 1;
}

.atool__boxes {
  display: flex;
  justify-content: space-between;
  padding-top: 370px;
}

@media (max-width: 1000px) {
  .atool__boxes {
    flex-direction: column;
  }
}

@media (max-width: 500px) {
  .atool__boxes {
    padding-top: 105px;
  }
}

.atool__box {
  color: white;
  padding-bottom: 100px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
}

@media (max-width: 1000px) {
  .atool__box {
    padding-bottom: 35px;
  }
}

.atool__box.old {
  width: 42%;
  padding-right: 33px;
}

.atool__box.new {
  width: 58%;
  background: #2E37FF;
  padding-left: 65px;
  padding-right: 65px;
  position: relative;
}

@media (max-width: 1000px) {
  .atool__box.old,
  .atool__box.new {
    width: 60%;
  }

  .atool__box.new {
    padding-left: 0;
    padding-right: 0;
    background: none;
  }

  .atool__box.new::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 0;
    width: 100vw;
    bottom: 0;
    background: #2E37FF;
    z-index: -1;
  }
}

@media (max-width: 500px) {
  .atool__box.old,
  .atool__box.new {
    width: 100%;
  }
}

.atool__box .title {
  font-size: 44px;
  font-weight: bold;
  letter-spacing: 0.28px;
  margin-top: 70px;
}

@media (max-width: 500px) {
  .atool__box .title {
    font-size: 24px;
    margin-top: 30px;
  }
}

.atool__box .text {
  font-weight: 600;
  font-size: 21px;
  line-height: 1.5;
  letter-spacing: 0.1px;
  margin-top: 30px;
  margin-bottom: 70px;
}

@media (max-width: 500px) {
  .atool__box .text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
  }
}

.atool__box.new .text {
  max-width: 415px;
}

.atool__box .button {
  margin-top: auto;
  -webkit-appearance: none;
  appearance: none;
  border: none;
  border-radius: 0px;
  background-color: white;
  
}

.atool__box .button a {
  display: block;
  padding: 17px 23px;
  text-decoration: none;
  color: #0000FF;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.12px;
}

@media (max-width: 500px) {
  .atool__box .button a {
    font-size: 12px;
    padding: 12px 16px;
  }
}


.atool__phone {
  position: absolute;
  right: -38px;
  bottom: -120px;
  max-width: 330px;
}

@media (max-width: 1500px) {
  .atool__phone {
    right: -160px;
    bottom: -160px;
  }
}

@media (max-width: 1000px) {
  .atool__phone {
    right: auto;
    bottom: -50px;
    left: 100%;
    width: 400px;
    max-width: 400px;
  }
}

.atool__phone img {
  max-width: 100%;
}

.atool__video {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  padding-bottom: 56%;
}

@media (max-width: 1000px) {
  .atool__video {
    position: relative;
    padding-bottom: 0;
  }
}

@media (max-width: 500px) {
  .atool__video {
    margin-left: -30px;
    width: calc(100% + 60px);
  }
}

.atool__box.old .atool__video {
  right: 33px;
}

.atool__box.new .atool__video {
  background: #2E37FF;
}

.atool__video video {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1000px) {
  .atool__video video {
    position: relative;
  }
}

.atool__box.new .atool__video video {
  top: 80px;
  left: 65px;
  right: 65px;
  width: calc(100% - 130px);
  height: calc(100% - 80px);
}

@media (max-width: 1000px) {
  .atool__box.new .atool__video video {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
  }
}

.digital-page .contact {
  z-index: 2;
}

.footer__h3 {
  font-size: 25px;
  font-weight: 800;
}

.digital__more {
  position: absolute;
  height: 700px;
  bottom: 170px;
  left: -120px;
  max-width: 1490px;
  margin: auto;
  display: none;
  
}

@media (max-width: 1500px) {
  .digital__more {
    bottom: 220px;
  }
}

@media (max-width: 1200px) {
  .digital__more {
    left: 0;
  }
}

@media (max-width: 1000px) {
  .digital__more {
    height: 550px;
  }
}

@media (max-width: 500px) {
  .digital__more {
    position: relative;
    height: auto;
    bottom: auto !important;
    padding-bottom: 25px;
    margin: 30px 0;
  }
}

.digital__more-bg {
  /* content: ''; */
  position: absolute;
  left: -30vw;
  top: 0;
  width: 160vw;
  background-color: #0400B4;
  height: 100%;
  z-index: 0;
  transform: scaleX(0);
  transition: left .4s ease, transform .4s ease;
  transition-delay: .4s;
}

li.completed .digital__more-bg {
  /* left: -30vw;
  width: 160vw; */
  transform: scaleX(1) skewY(-1deg);
}

.solutions ul li:nth-child(4) .digital__more,
.solutions ul li:nth-child(5) .digital__more,
.solutions ul li:nth-child(6) .digital__more {
  bottom: 110px;
}

.solutions ul li:nth-child(7) .digital__more,
.solutions ul li:nth-child(8) .digital__more,
.solutions ul li:nth-child(9) .digital__more {
  bottom: 50px;
}

@media (max-width: 1500px) {
  .solutions ul li:nth-child(3) .digital__more,
  .solutions ul li:nth-child(4) .digital__more {
    bottom: 160px;
  }

  .solutions ul li:nth-child(5) .digital__more,
  .solutions ul li:nth-child(6) .digital__more {
    bottom: 110px;
  }

  .solutions ul li:nth-child(7) .digital__more,
  .solutions ul li:nth-child(8) .digital__more,
  .solutions ul li:nth-child(9) .digital__more {
    bottom: 60px;
  }
}

/* @media (max-width: 500px) {
  .solutions ul li:nth-child(1) .digital__more {
    bottom: 320px;
  }
  .solutions ul li:nth-child(2) .digital__more {
    bottom: 280px;
  }
  .solutions ul li:nth-child(3) .digital__more {
    bottom: 240px;
  }
  .solutions ul li:nth-child(4) .digital__more {
    bottom: 200px;
  }
  .solutions ul li:nth-child(5) .digital__more {
    bottom: 160px;
  }
  .solutions ul li:nth-child(6) .digital__more {
    bottom: 120px;
  }
  .solutions ul li:nth-child(7) .digital__more {
    bottom: 80px;
  }
  .solutions ul li:nth-child(8) .digital__more {
    bottom: 40px;
  }
} */


.digital__more .content {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

@media (max-width: 500px) {
  .digital__more .content {
    padding: 30px 0;
    flex-direction: column;
  }
}

.digital__more .more__video {
  width: 60%;
}

@media (max-width: 1200px) {
  .digital__more .more__video {
    width: 40%;
  }
}

@media (max-width: 500px) {
  .digital__more .more__video {
    width: 100%;
  }
}

.digital__more .more__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.digital__more .more__video img {
  max-width: 100%;
}

.digital__more .more__text {
  text-align: left;
  width: 50%;
  padding-left: 120px;
}

@media (max-width: 1500px) {
  .digital__more .more__text {
    padding-left: 100px;
  }
}

@media (max-width: 1200px) {
  .digital__more .more__text {
    width: 60%;
  }
}

@media (max-width: 1000px) {
  .digital__more .more__text {
    width: 100%;
    padding-left: 0;
  }
}

.digital__more .more__text h3 {
  font-size: 36px;
  font-weight: bold;
}

@media (max-width: 500px) {
  .digital__more .more__text h3 {
    font-size: 24px;
  }
}

.digital__more .more__text p {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.7;
}

@media (max-width: 1500px) {
  .digital__more .more__text p {
    font-size: 15px;
  }
}

@media (max-width: 500px) {
  .digital__more .more__text p {
    font-size: 12px;
  }
}

.digital__more .more__close {
  position: absolute;
  right: 25px;
  top: 25px;
  font-size: 100px;
  line-height: 50px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease;
  transition-delay: .6s;
}

@media (max-width: 500px) {
  .digital__more .more__close {
    right: -10px;
    top: -10px;
    font-size: 50px;
  }
}

li.completed .digital__more .more__close {
  opacity: 1;
  visibility: visible;
  transition-delay: .6s;
}

.aside {
  position: fixed;
  z-index: 10000;
  right: -320px;
  top: 50%;
  background: url('../images/allegro_a.png') no-repeat center right / cover #0000FF;
  width: 350px;
  color: white;
  transition: right .3s ease;
  box-sizing: border-box;
}

@media (max-width: 1000px) {
  .aside {
    width: 220px;
    right: -200px;
  }
}

.aside.open {
  right: 0;
}

.aside-wrapper {
  padding: 30px 35px;
  position: relative;
}

@media (max-width: 1000px) {
  .aside-wrapper {
    padding: 10px 25px;
  }
}

.aside h2 {
  font-weight: bold;
  font-size: 44px;
  margin: 0;
  margin-bottom: 18px;
}

.aside--main h2 {
  font-size: 28px;
}

@media (max-width: 1000px) {
  .aside h2 {
    font-size: 18px;
  }
}

.aside p {
  font-size: 16px;
  max-width: 175px;
  font-weight: 600;
  margin-bottom: 45px;
}

@media (max-width: 1000px) {
  .aside p {
    font-size: 13px;
    margin-bottom: 20px;
  }
}

.aside button {
  -webkit-appearance: none;
  appearance: none;
  border: none;
  border-radius: 0px;
  background-color: white;
  
}

.aside button a {
  display: block;
  padding: 14px 17px;
  text-decoration: none;
  color: #0000FF;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.12px;
}

@media (max-width: 1000px) {
  .aside button a {
    padding: 10px 15px;
    font-size: 12px;
  }
}

#aside__toggle {
  position: absolute;
  width: 32px;
  height: 70px;
  top: 50%;
  left: -16px;
  transform: translateY(-50%);
  background: #ED1B24;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

#aside__toggle::after {
  content: '';
  position: absolute;
  border: solid white;
  border-width: 0 5px 5px 0;
  display: inline-block;
  padding: 7px;
  margin-right: -7px;
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
  transition: transform .3s ease;
}

.aside.open #aside__toggle::after {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  margin-right: 7px;
}

header .menu-main-wrapper .row .col .inner-row .inner-col-big .team a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

@media (max-width: 767.98px) {
  header .menu-main-wrapper .row .other .inner-col-big .team a h3 {
    padding-top: 0;
  }
}