/* Изменения для новой верстки главной 15.05.24*/
@font-face {
  font-family: "Bebas Neue Cyrillic";
  src: url("/local/templates/lemma2024-main_page/fonts/Bebas-Neue.ttf")
    format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "GraphikLCG-Thin";
  src: url("/local/templates/lemma2024-main_page/fonts/GraphikLCG-Thin.ttf")
    format("truetype");
  font-weight: normal;
  font-style: normal;
}

/* -------------- Первый блок -----------------*/

.new-main-container {
  display: flex;
  justify-content: center;
}

.main-container-grid {
  /* добавлено */
  display: grid;
  /* grid-template: repeat(3, 1fr) / repeat(3, 1fr); */
  grid-template-areas:
    "header header header header header header learning learning learning"
    "header header header header header header learning learning learning"
    "header header header header header header iiko iiko iiko"
    ". . . . . . iiko iiko iiko"
    ". . . . . . iiko iiko iiko"
    "button button button . . . iiko iiko iiko"
    "button button button . . . iiko iiko iiko"
    "egais egais egais help help help iiko iiko iiko"
    "egais egais egais help help help iiko iiko iiko";
  width: 1460px;
}

.new-main-title-wrap {
  grid-area: header;
  color: #232942;
  font-family: "GraphikLCG", sans-serif;
  font-size: 80px; /* поменяно с 56px */
  /* font-style: normal; */
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 24px;
  width: 867px;
  user-select: none;
  /* height: 176px; */
  animation-name: fadeInLeft;
  animation-duration: 1s;
  animation-fill-mode: both;
  opacity: 0;
}

.new-main-title {
  margin-top: -13px;
}

.new-main-title_roll_wrap {
  width: 875px;
}

.new-main-title_roll {
  height: 88px;
  overflow: hidden;
}

.roll_item {
  color: #052289;
  font-size: 80px;
}

.new-main-iiko {
  /* добавлено */
  grid-area: iiko;
  width: 467px;
  height: 585px;
  border-radius: 24px;
  background: url(/local/templates/lemma2024-main_page/img/new_main/iiko2.png)
    no-repeat;
  background-size: cover;
  animation-name: fadeInRight;
  animation-duration: 1s;
  animation-fill-mode: both;
  opacity: 0;
  animation-delay: 1s;
  position: relative;
  justify-self: end;
}

.new-main-iiko-content {
  /* width: 451px; */
  height: 243px;
  margin: 8px;
  border-radius: 18px;
  border-image: linear-gradient(
    103.04deg,
    rgba(255, 255, 255, 0.22) -1.73%,
    rgba(255, 255, 255, 0) 96.38%
  );
  border: 1px;
  background: rgba(247, 247, 247, 0.05);
  backdrop-filter: blur(22px);
}

/* .new-main-iiko-content:hover {
  position: relative;

  &::before {
    content: "";
    position: absolute;
    border-radius: 24px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.22;
    border: 1px solid #ffffff;
    transition: all 0.25s;
    animation: clippath 1s linear;
  }
} */

.iiko-content-card {
  justify-self: end;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  width: 100%;
  cursor: default;
  text-decoration: none;
}

.iiko-content_wrap {
  font-family: Graphik LCG;
  width: 376px;
  height: 179px;
  margin-top: 32px;
  margin-left: 40px;
  z-index: 100000;
  opacity: 1;
}

.iiko-content_wrap p:last-of-type {
  margin: 15px 0;
  font-size: 16px;
  font-weight: 400;
  /* font-family: Graphik LCG; */
  line-height: 20.8px;
  text-align: left;
  opacity: 0.6;
  color: #ffffff;
}

.iiko-content_wrap p:first-child {
  font-size: 28px;
  /* font-family: Graphik LCG; */
  font-weight: 400;
  line-height: 30.8px;
  letter-spacing: -0.02em;
  text-align: left;
  color: #ffffff;
}

.iiko-content_button {
  position: absolute;
  bottom: 40px;
  left: 48px;
}

.iiko-content_button a::after {
  display: block;
  content: "";
  width: -webkit-fill-available;
  position: absolute;
  border-bottom: solid 1px white;
  transform: scaleX(1);
  transition: transform 250ms ease-in-out;
  transform-origin: 100% 0;
}

.iiko-content_button a:hover::after {
  transform: scaleX(0);
  transform-origin: 100% 0;
}

.new-main-egais {
  /* добавлено */
  grid-area: egais;
  width: 476px;
  height: 250px;
  border-radius: 24px;
  font-size: 24px;
  animation-name: fadeInLeft;
  animation-duration: 1s;
  animation-fill-mode: both;
  opacity: 0;
  animation-delay: 1s;
  overflow: hidden;
}

.new-main-egais-content {
  /* добавлено */
  /* border-radius: 24px; */
  background: linear-gradient(96.64deg, #2A4DCA -7.85%, #0C2B9B 512.75%);
  width: 100%;
  height: 250px;
  transition: all 0.5s;
}

.egais-content-card {
  display: block;
  height: 250px;
  cursor: default;
  text-decoration: none;
}

.egais-content_text {
  font-family: Graphik LCG;
  font-size: 24px;
  font-weight: 400;
  line-height: 28.8px;
  letter-spacing: -0.02em;
  color: #ffffff;
  user-select: none;
  margin-left: 30px;
  padding-top: 25px;
}

.egais-content_button {
  font-size: 16px;
  left: 30px;
  position: absolute;
  height: 30px;
  bottom: 24px;
}

.egais-content_button a::after {
  display: block;
  content: "";
  width: -webkit-fill-available;
  position: absolute;
  border-bottom: solid 1px white;
  transform: scaleX(1);
  transition: transform 250ms ease-in-out;
  transform-origin: 100% 0;
}

.egais-content_button a:hover::after {
  transform: scaleX(0);
  transform-origin: 100% 0;
}

.egais-content_button a:hover, .iiko-content_button a:hover{
  color: #fff;
}

.egais-content_button a,
.iiko-content_button a {
  color: #ffffff;
  font-size: 16px;
  line-height: 24px;
  position: relative;
  text-decoration: none;
  display: inline-block;
}

.background_plus div {
  display: block;
  position: absolute;
}

.background_plus div:first-child {
  width: 144px;
  height: 144px;
  top: 75px;
  left: 150px;
  opacity: 0.46;
  background: url(/local/templates/lemma2024-main_page/img/new_main/Vector1.svg)
    no-repeat;
}

.background_plus div:nth-child(2) {
  width: 65px;
  height: 65px;
  top: 26px;
  left: 320px;
  opacity: 0.46;
  background: url(/local/templates/lemma2024-main_page/img/new_main/Vector2.svg)
    no-repeat;
}

.background_plus div:last-child {
  width: 240px;
  height: 240px;
  top: 110px;
  left: 310px;
  /* fill: linear-gradient(101.65deg, rgba(37, 70, 185, 0) -7.72%, #052289 127.29%, #0F37C4 127.3%); */
  background: url(/local/templates/lemma2024-main_page/img/new_main/Vector3.svg)
    no-repeat;
  opacity: 0.23;
  /* transform: matrix(-0.77, 0.64, 0.64, 0.77, 0, 0); */
}

.new-main-help {
  /* добавлено */
  grid-area: help;
  width: 476px;
  height: 250px;
  font-family: Graphik LCG;
  font-weight: 400;
  border-radius: 24px;
  background: #232942;
  justify-self: center;
  animation-name: fadeInLeft;
  animation-duration: 1s;
  animation-fill-mode: both;
  opacity: 0;
  animation-delay: 1s;
}

.new-main-help-content {
  display: flex;
}

.help-content_left-block {
  margin-left: 8px;
  margin-top: 8px;
  padding-top: 13px;
  padding-left: 19px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
  width: 156px;
  height: 234px;
  border-radius: 18px;
  background: #ffffff1a;
}

.help-content_right-block {
  width: 252px;
  height: 197px;
  margin-top: 28px;
  margin-left: 21px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.help-content_right-block div:first-child {
  color: #f2f4fd;
  font-size: 28px;
  letter-spacing: -0.02em;
}

.help-content_right-block div:last-child {
  color: #ffffffd4;
}

.new-main-learning {
  display: flex;
  grid-area: learning;
  width: 467px;
  height: 200px;
  margin-bottom: 14px;
  justify-self: end;
  border-radius: 24px;
  animation-name: fadeInRight;
  animation-duration: 1s;
  animation-fill-mode: both;
  opacity: 0;
  animation-delay: 1s;
  overflow: hidden;
}

.new-main-learning-content {
  /* добавлено */
  background-color: rgba(242, 244, 253, 0.94902);
  width: 100%;
  height: 100%;
  font-family: Graphik LCG;
  font-size: 24px;
  font-weight: 400;
  line-height: 28.8px;
  letter-spacing: -0.02em;
  border-left: 1px solid;
  border-image: repeating-linear-gradient(
      rgba(76, 100, 227, 0) 2px 36px,
      rgba(76, 100, 227, 1) 114px 114px,
      rgba(76, 100, 227, 0) 160px 1px
    )
    1;
}

/* .new-main-learning:hover {
  position: relative;

  &::before {
    content: "";
    position: absolute;
    border-radius: 24px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid #4c64e3;
    transition: all 0.25s;
    animation: clippath 1s linear;
  }
} */

.learning-content-card {
  display: block;
  height: 200px;
  cursor: default;
  width: 100%;
  text-decoration: none;
  position: absolute;
}

.learning-content_text {
  margin-left: 33px;
  margin-top: 27px;
  user-select: none;
}

.learning-content_text p:last-child {
  color: #052289;
}

.learning-content_button {
  font-size: 16px;
  bottom: 19px;
  left: 33px;
  display: block;
  position: absolute;
}

.phone-content_button {
  font-size: 16px;
}

.learning-content_button a,
.phone-content_button a {
  font-family: Graphik LCG;
  color: #E960A1;
  line-height: 24px;
  position: relative;
  text-decoration: none;
  display: inline-block;
}

.learning-content_button a::after,
.phone-content_button a::after {
  display: block;
  content: "";
  width: -webkit-fill-available;
  position: absolute;
  border-bottom: solid 1px #e960a1;
  transform: scaleX(1);
  transition: transform 250ms ease-in-out;
  transform-origin: 100% 0;
}

.learning-content_button a:hover::after,
.phone-content_button a:hover::after {
  transform: scaleX(0);
  transform-origin: 100% 0;
}

.learning-content_button a:hover,
.phone-content_button a:hover {
  color: #f67db6;
}

.new-main-button {
  grid-area: button;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
  background: #E960A1;
  display: flex;
  /* justify-content: center; */
  align-items: center;
  color: #fff;
  font-family: "GraphikLCG-Light", sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
  width: 476px;
  height: 150px;
  border-radius: 24px;
  align-self: end;
  margin-bottom: 20px;
  opacity: 0;
  animation-name: fadeInLeft;
  animation-duration: 1s;
  animation-fill-mode: both;
  animation-delay: 0.6s;
}

.new-main-button_content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 0 36px;
  width: 405px;
  line-height: 38.4px;
}

.new-main-button:hover {
  background: #F67DB6;
  color: #ffffff !important;
}

.new-main-button_content img {
  transform: rotate(0deg);
  transition: transform 0.5s ease;
}

.new-main-button:hover .new-main-button_content img {
  transform: rotate(45deg);
}

/* ---------------- Второй блок со слайдером партнеров ------------------- */

.partners2024-slider_wrap {
  margin-top: 150px;
}

.partners2024-slider_title {
  text-align: center;
}

.partners2024-slider_title p:first-child {
  font-family: Graphik LCG;
  font-size: 51px;
  font-weight: 500;
  line-height: 61.2px;
  letter-spacing: -0.02em;
  text-align: center;
  color: #052289;
}
.partners2024-slider_title p:last-child {
  font-family: Graphik LCG;
  font-size: 18px;
  font-weight: 400;
  line-height: 21.6px;
  letter-spacing: -0.02em;
  text-align: center;
  color: #00081f;
}

.partners2024-slider {
  display: flex;
  margin-top: 36px;
}

.partners2024-slider::before {
  content: "";
  display: block;
  position: absolute;
  z-index: 1;
  width: 210px;
  height: 76px;
  background-image: url(/local/templates/lemma2024-main_page/img/new_main/left_slider_gradient.svg);
}

.partners2024-slider::after {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
  width: 216px;
  height: 76px;
  background-image: url(/local/templates/lemma2024-main_page/img/new_main/right_slider_gradient.svg);
}

.partners2024-slider .all.slick-slide {
  display: flex;
  justify-content: center;
  width: 190px;
  height: 76px;
}

/* ----------- Третий блок, который с экранами смартфонов ----------------  */

.phones_content_wrap {
  margin: 134px auto 0 auto;
  display: flex;
  flex-wrap: wrap;
  width: 1460px;
  gap: 40px;
}

.phones_content_wrap .phone-content_button {
  margin-left: 33px;
}

.phones_content {
  width: auto;
  height: 718px;
  background: radial-gradient(50% 50% at 50% 50%, #f2f5ff 0%, #f0f3ff 100%);
  border-radius: 32px;
  border: 1px solid rgba(76, 100, 227, 10%);
  z-index: 1;
  /* margin-top: 16px; */
  flex: 1;
  overflow: hidden;
}

.phones_content_dots {
  position: absolute;
  left: 276px;
  top: -28px;
  display: flex;
  width: 58px;
  justify-content: space-between;
}

.phones_content_dots button {
  font-size: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #d2d8ff80;
  /* background: url(/local/templates/lemma2024-main_page/img/li2.svg) no-repeat; */
}

.phones_content_dots .slick-active button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #052289;
  /* background: url(/local/templates/lemma2024-main_page/img/li.svg) no-repeat; */
}


/* ------------------ Изменения от 12.08.25 Литвяков АВ -------------------------------*/
.phones_content_delivery_wrap,
.phones_content_guest_wrap,
.phones_content_support_wrap,
.phones_content_dashboard_wrap, 
.phones_content_emp_wrap {
  width: auto;
  height: auto;
  border-radius: 32px;
  /* border-left: 1px solid; */
  display: flex;
  /* border-image: repeating-linear-gradient(
      rgba(76, 100, 227, 0) 0px 50px,
      rgba(76, 100, 227, 1) 235px 100px,
      rgba(76, 100, 227, 0) 470px 0px
    )
    1; */
  flex-direction: column-reverse;
  justify-content: flex-end;
}

.phones_content_emp_wrap {
  flex-direction: row-reverse;
  justify-content: space-between;
}

.phones_content_emp_wrap .phones_content_delivery_right {
  align-items: flex-start;
  width: 389px;
  margin: auto auto;
  height: 518px;
}

.phones_content_emp_wrap .phones_content_text, .phones_content_emp_wrap .phones_content_title {
  text-align: start;
}

.phones_content_emp_wrap .phones_content_support_left {
  width: 50%;
}

.phones_content_emp_wrap .outside_img {
  width: 366px;
  margin-top: 48px;
}

.phones_content_emp_wrap .supp_top_img{
  width: 440px;
  left: 64px;
  top: 12px;
}

.phones_content_emp_wrap .supp_bott_img{
  top: 400px;
  width: 370px;
  right: 19px;
  left: unset;
}

.phones_content_emp{
  width: 100%;
  height: 518px;
  flex: auto;
}

.phones_content_delivery_item {
  display: flex;
  position: relative;
  justify-content: space-evenly;
}

.phones_content_dashboard_wrap .phones_content_delivery_item {
  justify-content: center;
  gap: 30px;
}

/* .phones_content_delivery_items {
  height: 459px;
} */

/* .phones_content_delivery_items.filter {
  -webkit-mask-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(rgba(0, 0, 0, 1)),
    to(rgba(0, 0, 0, 0.5))
  );
} */

.phones_content_guest_wrap .phones_content_delivery_items {
  margin-top: 13px;
  justify-content: space-around;
  height: 446px;
}

.phones_content_delivery_item .outside_img {
  z-index: 10;
  display: block;
  position: relative;
}

.outside_img_left {
  left: 64px;
}

.outside_img_right {
  right: 40px;
}

.phones_content_delivery_item .inside_img {
  z-index: 0;
  display: block;
  top: 0;
  position: absolute;
  margin-left: 8px;
  margin-top: 6px;
  border-radius: 24px 24px 0 0;
}

.phones_content_guest_wrap .phones_content_delivery_item .inside_img {
  margin-top: 20px;
}

.phones_content_slider_left {
  display: flex;
  width: 607px;
  /* padding: 0 26px; */
  height: 518px;
  margin: 58px 0 0 35px;
  justify-content: space-evenly;
}

.phones_content_slider_left img {
  /* width: 262.61px; */
}
/* --------------------------------------правки 12.08.25 Литвяков АВ------------------------------ */

.phones_content_support__circles{
  background-size: contain;
  background-repeat: no-repeat;
  background-image: url(/local/templates/lemma2024-main_page/img/new_main/circles.svg);
  margin: 0 62px;
  /* display: flex;
  width: 607px;
  height: 518px;
  margin: 74px 0 0 35px;
  justify-content: space-evenly; */
}

.phones_content_delivery_right {
  margin: 40px auto;
  width: 381px;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\правки 12.08.25 Литвяков АВ/////////////////////////////// */
.supp_top_img {
  position: absolute;
  display: block;
  z-index: 50;
}

.phones_content_support_wrap .supp_top_img{
  top: -32px;
  left: unset;
  right: 84px;
  width: 140px;
}

.phones_content_delivery_wrap .supp_top_img{
  top: -26px;
  left: unset;
  right: 92px;
  width: 130px;
}

.supp_bott_img {
  position: absolute;
  top: -17px;
  z-index: 500;
  display: block;
  left: 84px;
  width: 140px;
}

.phones_content .content_label{
    border: unset;
}

.content_label {
  border-radius: 38px;
  border: 1px solid #05228936;
  font-family: Graphik LCG;
  font-size: 16px;
  font-weight: 400;
  line-height: 19.2px;
  text-align: center;
  width: max-content;
  padding: 5px 19px 5px 19px;
  color: #052289;
}

.phones_content_delivery_wrap .content_label {
  background-color: #F9E5E5;
  color: #890505;
}

.phones_content_guest_wrap .content_label {
  background-color: #F9F3E5;
  color: #893E05;
}

.phones_content_emp_wrap .content_label {
  background-color: #DBFBDB;
  color: #356900;
}

.phones_content_dashboard_wrap .content_label {
  background-color: #F7E5F9;
  color: #890585;
}

.phones_content_support_wrap .content_label {
  background-color: #E9EBFF;
  color: #1B0589;
}

.phones_content_title {
  margin-top: 24px;
  font-family: Bebas Neue Cyrillic;
  font-size: 36px;
  font-weight: 400;
  line-height: 43.2px;
  text-align: center;
  color: #072D90;
}

.phones_content_title h3{
  font-weight: 400;
}

.phones_content_text {
  font-family: Graphik LCG;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  color: #98A1C3;
  margin-top: 12px;
  margin-bottom: 23px;
}

.phones_content_buttons {
  display: flex;
  align-items: center;
}

.phones_content_delivery_right .learning-content_button {
  margin-top: unset;
}

.phones_content_forms {
  width: auto;
  height: 41px;
  padding: 10px 18px;
  border-radius: 30px;
  font-family: Graphik LCG;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  background: #F446972B;
  color: #E960A1;
  display: block;
}

.autowithlemma_wrap .phones_content_forms {
  font-size: 18px;
}

.phones_content_forms:hover {
  color: #f67db6;
  background: #e960a11a;
}

/* -------------------------- Четвертый блок, Наши решения ---------------- */

.our_solutions_wrap {
  margin-top: 150px;
  /* height: 818px; */
  display: flex;
  flex-direction: column;
  width: 1460px;
  transition-duration: 1s;
}

.our_solutions_content_wrap {
  display: flex;
  justify-content: center;
}

.our_solution_content_wrap .phone-content_button {
  margin: unset;
  margin-top: 64px;
}

.our_solution_title h2,
.reviews_title h2 {
  color: #232942;
  font-family: Graphik LCG;
  font-size: 80px;
  font-weight: 400;
  line-height: 88px;
  letter-spacing: -0.018em;
  text-align: left;
}

.our_solution_tabs {
  /* display: flex; */
  /* position: relative; */
    overflow: hidden;
    transition: height 0.5s ease-in-out;
}

.reviews_tabs {
  display: flex;
  margin-top: 83px;
  position: relative;
}

.some_tab {
  width: 1460px;
  height: max-content;
  /*min-height: 275px;*/
  display: none;
  /* position: absolute; */
  /* margin-top: 78px; */
  gap: 20px;
  flex-wrap: wrap;
}

/* Активный таб */
.some_tab.active-content {
    display: flex;
}

/* .some_tab:nth-child(2) .our_solutions_first_line:first-child,
.some_tab:nth-child(2) .our_solutions_first_line:last-child {
  width: 843px;
}

.some_tab:nth-child(2) .our_solutions_first_line {
  width: 597px;
}

.some_tab:nth-child(4) .our_solutions_first_line {
  width: 473px;
}

.some_tab:nth-child(6) .our_solutions_first_line {
  width: 720px;
}

.some_tab:last-child .our_solutions_first_line {
    width: 48%;
} */

/* Стили по умолчанию для .our_solutions_first_line, если они не заданы */
.our_solutions_first_line {
    /* display: block; или другой базовый display */
    /* margin, padding, box-sizing и т.д. */
}

/* Стили для разного количества элементов */
/* 1 элемент */
.our_solutions_first_line.layout-count-1 {
    flex: 1 1 100%;
}

/* 2 элемента */
.our_solutions_first_line.layout-count-2 {
    flex: 1 1 calc(50% - 10px); /* 10px - примерный отступ между элементами */
}

/* 3 элемента */
.our_solutions_first_line.layout-count-3 {
    flex: 1 1 calc(33.333% - 20px);
}

/* 4 элемента */
.our_solutions_first_line.layout-count-4:nth-child(1),
.our_solutions_first_line.layout-count-4:nth-child(4) {
    flex: 1 1 calc(57.14% - 10px); /* Примерно 1.4 / (1.4 + 1) * 100% */
}
.our_solutions_first_line.layout-count-4:nth-child(2),
.our_solutions_first_line.layout-count-4:nth-child(3) {
    flex: 1 1 calc(42.86% - 10px); /* Примерно 1 / (1.4 + 1) * 100% */
}

/* 5 элементов */
.our_solutions_first_line.layout-count-5:nth-child(1) {
    flex: 1 1 calc(57.14% - 10px);
}
.our_solutions_first_line.layout-count-5:nth-child(2) {
    flex: 1 1 calc(42.86% - 10px);
}
.our_solutions_first_line.layout-count-5:nth-child(3),
.our_solutions_first_line.layout-count-5:nth-child(4),
.our_solutions_first_line.layout-count-5:nth-child(5) {
    flex: 1 1 calc(33.333% - 20px);
}

/* 6 элементов */
.our_solutions_first_line.layout-count-6 {
    flex: 1 1 calc(33.333% - 20px);
}

.our_solutions_tabs_labels {
    display: flex;
    flex-wrap: nowrap;
    overflow: scroll;
    scrollbar-width: none;
    gap: 16px;
    margin-top: 100px;
    margin-bottom: 30px;
}

.our_solutions_tabs_labels .buttons {
  width: 230px;
  height: 48px;
  padding: 16px 32px 16px 32px;
  font-family: Graphik LCG;
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
  border-radius: 14px;
  margin-right: unset;
  background-color: #0522891a;
  transition: 0.25s;
}

.our_solutions_tabs_labels .buttons:hover {
  color: #4c64e3;
  transition: 0.25s;
}

.our_solutions_tabs_labels .buttons.active_tab {
  background: #052289;
  color: white;
  transition: 0.25s;
}

.our_solutions_first_line {
  height: 275px;
  overflow: hidden;
  flex: 1 1 calc(50% - 10px);
  min-width: 0;
}

.our_solutions_item:hover {
  position: relative;

  &::before {
    content: "";
    position: absolute;
    border-radius: 24px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.24;
    border: 1px solid #4c64e3;
    transition: all 0.25s;
    animation: clippath 1s linear;
  }
}

/* стили элементов в блоке наши решения которые подтягиваются из компонента */

.our_solutions_first_line .phone-content_button {
  position: absolute;
  bottom: 32px;
}

.our_solutions_item {
  /* max-width: 843px; */
  /* height: -webkit-fill-available; */
  height: 275px;
  /* background-color: #0522891a; */
  background: linear-gradient(0deg, #EEEFF3, #EEEFF3),
    linear-gradient(120.35deg, #F0F2F7 31.53%, #ECEFF4 86.9%),
    radial-gradient(50% 50% at 50% 50%, #F2F5FF 0%, #F0F3FF 100%);
  display: flex;
  flex-direction: column;
  padding-left: 32px;
  padding-top: 33px;
  position: relative;
  border-radius: 24px;
  border-left: 1px solid;
  border-image: repeating-linear-gradient(
      rgba(76, 100, 227, 0) 0px 20px,
      rgba(76, 100, 227, 1) 130px 130px,
      rgba(76, 100, 227, 0) 260px 0px
    )
    1;
}

.content_text_24px {
  font-family: Graphik LCG;
  font-size: 24px;
  font-weight: 400;
  line-height: 28.8px;
  text-align: left;
  color: #00081f;
  margin-top: 26px;
}

.content_text_16px {
  font-family: Graphik LCG;
  font-size: 16px;
  font-weight: 400;
  line-height: 22.4px;
  text-align: left;
  color: #00081f;
  opacity: 0.6;
  margin-top: 16px;
  width: 95%;
}

.our_solutions_first_line:first-child .our_solutions_plus,
.our_solutions_first_line:last-child .our_solutions_plus {
  display: block;
  position: absolute;
  width: 236px;
  height: 236px;
  bottom: 0;
  right: 0;
  background: url(/local/templates/lemma2024-main_page/img/new_main/our_solutions_plus.svg)
    no-repeat;
}

/* -------------------------- Пятый блок, Автоматизируйте с леммой ---------------- */

.autowithlemma_wrap {
  margin-top: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.autowithlemma_content_wrap {
  height: 693px;
  width: 1460px;
  background: linear-gradient(101.65deg, #2546b9 -7.72%, #052289 127.29%);
  display: flex;
  border-radius: 52px;
  position: relative;
  padding-top: 74px;
  padding-left: 89px;
  overflow: hidden;
}

.autowithlemma_content_left {
  display: flex;
  flex-direction: column;
}

.autowithlemma_content_wrap .content_title {
  font-size: 100px;
  line-height: 97px;
  font-family: "Bebas Neue Cyrillic", sans-serif;
  font-weight: 400;
  color: #ffffff;
  width: 762px;
  height: 194px;
  margin-bottom: 33px;
}

.autowithlemma_content_wrap .content_text {
  font-size: 40px;
  font-weight: 400;
  line-height: 40px;
  font-family: Bebas Neue Cyrillic;
  font-weight: 400;
  color: #ffffff;
  width: 442px;
}

.content_text.pink {
  color: #fd98c8;
}

.autowithlemma_content_left .phones_content_buttons {
  margin-top: 103px;
}

.autowithlemma_content_left .phones_content_forms {
  width: 340px;
  height: 55px;
  display: block;
  padding: 14px 41px 14px 41px;
  border-radius: 53px;
  color: white;
  background: #E960A1;
}

.autowithlemma_content_left .phones_content_forms:hover {
  background: #f67db6;
}

.autowithlemma_content_right {
  width: 475px;
  z-index: 1;
  margin-left: 79px;
  border-radius: 24px;
  background: rgba(247, 247, 247, 0.05);
  backdrop-filter: blur(22px);
}

.autowithlemma_plus {
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
}

.autowithlemma_plus div:first-child {
  z-index: 0;
  opacity: 0.4;
  width: 150px;
  height: 150px;
  position: absolute;
  right: 200px;
  top: 100px;
  background: url(/local/templates/lemma2024-main_page/img/new_main/autolemma_small.svg)
    no-repeat;
}

.autowithlemma_plus div:last-child {
  z-index: 0;
  opacity: 0.46;
  backdrop-filter: blur(5.45px);
  width: 219px;
  height: 224px;
  background: url(/local/templates/lemma2024-main_page/img/new_main/autolemma_big.svg)
    no-repeat;
}

.autowithlemma_content_right .phones_content_dots {
  display: flex;
  position: absolute;
  top: 510px;
  left: 220px;
  justify-content: space-evenly;
}

.autowithlemma_content_right .phones_content_dots .slick-active button {
  background-color: white;
}

.autowithlemma_content_item {
  width: 411px;
  height: 468px;
  margin-top: 32px;
  margin-left: 32px;
  display: flex;
  flex-direction: column;
  color: white;
  font-family: GraphikLCG-Light;
  font-weight: 300;
}

.right_content_top_text {
  font-size: 28px;
  line-height: 33.6px;
  letter-spacing: -0.800000011920929px;
}

.right_content_subscribe_text {
  font-size: 16px;
  line-height: 22.4px;
  opacity: 0.6;
  margin-top: 7px;
  margin-bottom: 32px;
}

.right_content_main_text {
  font-size: 18px;
  line-height: 27px;
}

.right_content_main_text p:last-child {
  margin-top: 15px;
}

/* --------------------------------------------- Шестой блок, Обзоры ------------------------------- */

.section-container .articles-top {
  display: none;
}

.reviews_wrap {
  display: flex;
  justify-content: center;
}

.reviews_content_wrap {
  margin-top: 150px;
  height: 975px;
  display: flex;
  flex-direction: column;
  width: 1460px;
}

.reviews_wrap .section-container {
  all: unset;
}

.reviews_wrap .articles {
  margin-bottom: 0;
}

/* .reviews_wrap .articles-tags-container{ */
.reviews_wrap .container_horizontal_tags {
  margin-bottom: 25px;
}

/* .reviews_wrap .articles-tags{ */
.reviews_wrap .tags_sections_wrap {
  display: flex;
  margin-top: 61px;
  column-gap: 15px;
}

/* .reviews_wrap .bx_filter_param_text{
    color: black;
} */

/* .reviews_wrap .bx_filter_input_checkbox{ */
.reviews_wrap .tags_sections_button {
  width: 195px;
  height: 48px;
  font-family: Graphik LCG;
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
  border-radius: 14px;
  margin-right: 0px;
  background-color: #0522891a;
  justify-content: center;
}

.reviews_wrap .tags_sections_button span{
    color:#232942;
}
.reviews_wrap .all_rev_button {
  display: flex;
  align-items: center;
  background: #0522890D;
}

.reviews_wrap .tags_sections_button.active {
  background: #052289;
  transition: 0.25s;
}

.reviews_wrap .tags_sections_button.active .input_check_param_text {
  color: white !important;
  font-weight: 400 !important;
  line-height: 100% !important;
  transition: 0.25s;
}

.all_rev_button img {
  margin-left: 10px;
}

.reviews_buttons {
  width: 195px;
  height: 48px;
  font-family: Graphik LCG;
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
  border-radius: 14px;
  margin-right: 16px;
  background-color: #0522891a;
}

.reviews_items {
  display: flex;
  gap: 20px;
  overflow: hidden;
  position: absolute;
  border-radius: 24px;
}

.reviews_item {
  height: -webkit-fill-available;
  display: flex;
  position: relative;
  justify-content: space-between;
}

.reviews_item_card {
  width: 843px;
  height: 665px;
  max-width: 843px;
  background-image: url(/local/templates/lemma2024-main_page/img/new_main/reviews_background_840_660.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-radius: 24px;
}

.reviews_item-card-container {
  width: 810px;
  height: 354px;
  margin-bottom: 16px;
  border-radius: 18px;
  border-image: linear-gradient(
    103.04deg,
    rgba(255, 255, 255, 0.22) -1.73%,
    rgba(255, 255, 255, 0) 96.38%
  );
  border: 1px;
  background: rgba(247, 247, 247, 0.05);
  backdrop-filter: blur(22px);
  position: relative;
}

.reviews_item-card-text {
  margin-top: 46px;
  margin-left: 54px;
  height: 265px;
  width: 492px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.reviews_item-title {
  font-size: 24px;
  font-family: Graphik LCG;
  font-weight: 400;
  line-height: 30.8px;
  letter-spacing: -0.02em;
  text-align: left;
  color: #ffffff;
}

.reviews_item-text {
  font-family: Graphik LCG;
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
  text-align: left;
  color: #ffffff;
  opacity: 0.6;
  margin-top: 41px;
  height: 81px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.reviews_item_card .egais-content_button {
  position: absolute;
  left: 0;
  bottom: 0;
}

.reviews_item-logo {
  width: 120px;
  height: 50px;
  position: absolute;
  right: 35px;
  top: 35px;
  opacity: 0.4;
}

.reviews_item .similar {
  display: flex;
  flex-direction: column;
  width: 597px;
}

.similar_item_card_wrap {
  height: 665px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.similar_item_card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(0deg, #F2F4FD, #F2F4FD), radial-gradient(50% 50% at 50% 50%, #F2F5FF 0%, #F0F3FF 100%);
  height: 322px;
  border-radius: 24px;
  border-left: 1px solid;
  border-image: repeating-linear-gradient(
      rgba(76, 100, 227, 0) 0px 20px,
      rgba(76, 100, 227, 1) 150px 150px,
      rgba(76, 100, 227, 0) 300px 0px
    )
    1;
}

.similar_reviews_picture {
  width: 100px;
  height: 50px;
  position: absolute;
  right: 0;
  bottom: 0;
}

.similar_item_card .product-item {
  box-sizing: border-box;
  /* padding: 40px 40px 24px; */
  width: 517px;
  height: 258px;
  border: 1px solid transparent;
  border-radius: 2px;
  position: relative;
  display: flex;
  flex-direction: column;
  font-family: Graphik LCG;
  color: #00081f;
  font-weight: 400;
}

.similar_item_card .phone-content_button {
  position: absolute;
  left: 0;
  bottom: 0;
}

.similar_reviews_dolzhnost {
  font-size: 24px;
  line-height: 28.8px;
  text-align: left;
}
.similar_reviews_fi {
  margin-top: 7px;
  font-size: 16px;
  opacity: 0.6;
}

.similar_reviews_preview {
  margin-top: 32px;
  font-size: 18px;
  opacity: 0.6;
  height: 81px;
  line-height: 27px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ------------------ Последний блок с формой ----------------------- */

.pre_footer_form_wrap {
  margin-top: 150px;
  margin-bottom: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pre_footer_form_info {
  height: 489px;
  display: flex;
  flex-direction: column;
  width: 1460px;
  position: relative;
  align-items: center;
}

.form_prefooter_title {
  margin-top: 80px;
  margin-bottom: 40px;
  position: relative;
  z-index: 5;
  font-family: Graphik LCG;
  font-size: 80px;
  font-weight: 400;
  line-height: 88px;
  letter-spacing: -0.018em;
  text-align: center;
  color: #00081F;
}

.pre_footer_image {
  width: 1460px;
  height: 489px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.pre_footer_form_info .first_to_know_form {
  gap: 20px;
  display: flex;
  justify-content: center;
}

.pre_footer_form_info .first_to_know_form button {
  max-width: 340px;
  width: 340px;
  border-radius: 24px;
  background-color: #E960A1;
}

.prefooter-button .button-text {
  margin: unset !important;
}

.pre_footer_form_action form {
  max-width: 1064px;
}

.pre_footer_form_action .modal_telephone-content_inputs .form-item input {
  border: none;
  padding: 16px 0px 16px 32px;
  height: 58px;
  border-radius: 53px;
}

.pre_footer_form_action .modal_telephone-content {
  height: 58px;
  max-width: unset;
  border: 0;
  padding: 0;
  background-color: unset;
}

.pre_footer_form_action .modal_telephone-content_inputs {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
}

.pre_footer_form_action .modal_telephone-content_inputs .form-item {
  height: 58px;
  width: 342px;
}

.pre_footer_form_action .modal_telephone-content_inputs .form-item label {
  font-size: 16px;
}

.btn_hover.prefooter-button {
  width: 340px;
  height: 58px;
  border-radius: 53px;
  background: #E960A1;
}

.pre_footer_form_action .modal_telephone-conten_oferta {
  z-index: 1;
}

.pre_footer_form_action .modal_telephone-conten_oferta .inp_chk_52 {
  height: 22px;
  width: 22px;
  background-color: #052289;
  border-radius: 2px;
}

/* .pre_footer_form_action .form-item{
    width: 340px;
}

.pre_footer_form_action .Leave_a_request_btn_text{
    color: #00081F;
    position: relative;
    z-index: 10;
}

.pre_footer_form_action .Leave_a_request_btn_text a{
    color: #00081F;
    opacity: 0.6;
    text-decoration: none;
}

.pre_footer_form_action .Leave_a_request_btn_text a:hover{
    color: #00081F;
    opacity: 1;
    text-decoration: none;
} */

/* Анимации */
/* ----------- анимации первого экрана ------------- */
@keyframes fadeInLeft {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-20px); /* Сдвиг на 20 пикселей влево */
    transform: translateX(-20px); /* Сдвиг на 20 пикселей влево */
  }
  50% {
    opacity: 1;
    -webkit-transform: translateX(0); /* Возврат в исходное положение */
    transform: translateX(0); /* Возврат в исходное положение */
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0); /* Возврат в исходное положение */
    transform: translateX(0); /* Возврат в исходное положение */
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    -webkit-transform: translateX(20px); /* Сдвиг на 20 пикселей влево */
    transform: translateX(20px); /* Сдвиг на 20 пикселей влево */
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0); /* Возврат в исходное положение */
    transform: translateX(0); /* Возврат в исходное положение */
  }
}

@keyframes underlinesFade {
  0% {
    width: 100%;
  }
  100% {
    width: 0;
  }
}
/* ----------- конец анимации первого экрана ------------- */

/* -------------- анимации блока наши решения ---------------- */
@keyframes fadeOutUp {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-100px);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-out {
  animation: fadeOutUp 1s forwards;
}

.fade-in {
  animation: fadeInUp 1s forwards;
}

@keyframes clippath {
  /* 0%,100% {
        clip-path: inset(0 0 0 0);
    }
    75% {
        clip-path: inset(0 100% 0 0);
    }
    50% {
        clip-path: inset(0 0 95% 0);
    }
    25% {
        clip-path: inset(0 0 0 95%);
    } */

  0% {
    clip-path: inset(100% 100% 100% 100%);
  }
  /* 25% {
        clip-path: inset(0 0 0 100%);
    } */
  5% {
    clip-path: inset(0 100% 0 0);
  }
  75% {
    clip-path: inset(0 0 0 0);
  }
  /* 100%{
        clip-path: inset(100% 0 0 0);
    } */
}

/* -------------- конец анимации блока наши решения -----------------*/

/* -------------- Адаптация разрешения ------------------ */

@media (max-width: 1455px) {
  .main-container-grid {
    /* добавлено */

    grid-template-areas:
      "header header header header header header header header"
      "header header header header header header header header"
      "header header header header header header header header"
      "button button button button iiko iiko iiko iiko"
      "button button button button iiko iiko iiko iiko"
      "egais egais egais egais iiko iiko iiko iiko"
      "egais egais egais egais iiko iiko iiko iiko"
      "help help help help learning learning learning learning"
      "help help help help learning learning learning learning";
    width: 1024px;
    justify-content: center;
    grid-column-gap: 11px;
    grid-row-gap: 14px;
  }

  .new-main-button {
    margin-bottom: 0;
  }

  .new-main-learning {
    width: 457px;
    height: 250px;
  }
  .new-main-learning-content {
    border-image: repeating-linear-gradient(
        rgba(76, 100, 227, 0) 2px 36px,
        rgba(76, 100, 227, 1) 120px 114px,
        rgba(76, 100, 227, 0) 220px 1px
      )
      1;
  }

  .new-main-iiko {
    /* добавлено */
    grid-area: iiko;
    width: 457px;
    height: 414px;
  }

  .new-main-help {
    justify-self: unset;
  }

  .partners2024-slider_wrap {
    margin-top: 120px;
  }

  .phones_content_wrap {
    margin-top: 104px;
    flex-direction: column;
    width: 944px;
  }

  .phones_content {
    width: 944px;
    margin: auto;
  }

  .phones_content_delivery_wrap,
  .phones_content_guest_wrap,
  .phones_content_support_wrap,
  .phones_content_dashboard_wrap {
    width: 100%;
    height: 718px;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: space-between;
    margin: 0;
  }

  .phones_content_dashboard_wrap .phones_content_delivery_item {
    height: 352px;
  }

  .phones_content_dashboard_wrap .phones_content_delivery_item .outside_img {
    width: 262px;
    height: auto;
  }

  .phones_content_dashboard_wrap .phones_content_delivery_item .inside_img {
    width: 251px;
    margin-left: 5px;
    height: auto;
    margin-top: 8px;
  }

  .phones_content_delivery_right {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 338px;
    margin: 0;
    margin-top: 29px;
    position: relative;
    /* justify-content: space-between; */
  }

  .phones_content_title {
    text-align: center;
  }

  .phones_content_text {
    text-align: center;
    margin-bottom: 23px;
  }

  .phones_content_slider_left {
    top: 35px;
    width: 500px;
    height: 341px;
    margin: 0;
  }

  .phones_content_delivery_item {
    width: 100%;
    /* height: 341px; */
  }

  .phones_content_emp, .phones_content_emp_wrap .phones_content_support_left {
    height: 354px;
  }

  .phones_content_emp_wrap .phones_content_delivery_right{
    height: auto;
  }

  .phones_content_guest_wrap .phones_content_delivery_item {
    height: 330px;
  }

  .phones_content_support__circles {
    width: 587px;
  }

  .phones_content_delivery_item .outside_img {
    width: 295px;
    height: auto;
  }

  .phones_content_emp_wrap .phones_content_delivery_item .outside_img {
    width: 250px;
  }

  .phones_content_emp_wrap .supp_top_img {
    width: 300px;
    height: auto;
    left: 34px;
    top: 24px;
  }

  .phones_content_emp_wrap .supp_bott_img {
    top: 284px;
    width: 250px;
    height: auto;
    right: -7px;
  }

  .phones_content_support_wrap .phones_content_delivery_item .outside_img {
    width: 282px;
  }

  .phones_content_delivery_item .inside_img {
    width: 195px;
    margin-left: 3px;
    height: auto;
    margin-top: 5px;
  }

  .outside_img.outside_img_left{
    left: 54px;
  }

  .outside_img.outside_img_right{
    right: 22px;
  }

  .phones_content_delivery_item img {
    /* width: 100%; */
    height: 80%;
  }

  .phones_content_delivery_wrap .supp_top_img {
    top: -105px;
    right: 82px;
  }

  /* .phones_content_slider_left.slick-slider.slick-dotted{
        margin: 0;
    } */

  .phones_content_dots {
    /* top: 0; */
    left: 221px;
  }

  .phones_content_support_left {
    height: unset;
    margin: 0;
  }

  .phones_content_support .phones_content_delivery_item {
    height: 346px;
  }

  .phones_content_support img {
    height: unset;
  }

  .phones_content_support_wrap .supp_top_img {
    top: 45px;
    width: 130px;
  }

  .supp_top_img {
    width: 145px;
    top: -5px;
    left: 143px;
  }
  .phones_content_support_wrap .supp_bott_img {
    width: 140px;
    top: -13px;
    right: 129px;
  }

  .our_solutions_wrap {
    width: 944px;
    margin-top: 120px;
  }

  /* .our_solutions_first_line:nth-child(2){
        width: 462px;
    }

    .our_solutions_first_line:nth-child(3){
        width: 462px;   }

    .our_solutions_first_line:nth-child(4){
        width: 462px;    }

    .our_solutions_first_line:nth-child(5){
        width: 462px;    }

    .our_solutions_first_line{
        width: 462px;
    } */

  .some_tab {
    width: auto;
    justify-content: space-between;
  }

  .some_tab:nth-child(2) .our_solutions_first_line {
    width: 462px;
  }

  .some_tab:nth-child(2) .our_solutions_first_line:first-child,
  .some_tab:nth-child(2) .our_solutions_first_line:last-child {
    width: 462px;
  }
  
  .our_solution_tabs{
    justify-content: space-between;
  }

  .our_solutions_tabs_labels .buttons {
    width: auto;
    margin-right: 0;
    white-space: nowrap;
  }

  .autowithlemma_wrap {
    margin-top: 120px;
  }

  .autowithlemma_content_wrap {
    width: 944px;
    height: 873px;
    padding: 0;
    flex-direction: column;
  }

  .autowithlemma_content_wrap .content_title {
    font-size: 80px;
    text-align: center;
    width: auto;
    width: 700px;
    line-height: 77px;
    margin-top: 70px;
    margin-bottom: 29px;
    height: auto;
  }

  .autowithlemma_content_wrap .content_text {
    font-size: 32px;
    text-align: center;
    width: 495px;
    line-height: 32px;
  }

  .autowithlemma_content_left {
    align-items: center;
  }

  .autowithlemma_content_left .phones_content_buttons {
    margin-top: 35px;
  }

  .autowithlemma_content_right {
    margin-left: 33px;
    width: 877px;
    height: 371px;
    margin-top: 30px;
  }

  .autowithlemma_content_item {
    width: 877px;
    height: 371px;
  }

  .autowithlemma_content_right .phones_content_dots {
    top: 327px;
    left: 49%;
  }

  .right_content_top_text,
  .right_content_subscribe_text,
  .right_content_main_text {
    width: 813px;
  }

  .reviews_content_wrap {
    margin-top: 120px;
    width: 944px;
    height: 1263px;
  }

  .reviews_wrap .tags_sections_wrap {
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
  }

  .reviews_item {
    flex-direction: column;
    row-gap: 20px;
  }

  .reviews_item_card {
    width: 944px;
    height: 500px;
    max-width: unset;
    border-radius: 32px;
    padding: 0 18px 18px 18px;
  }

  .reviews_item-card-container {
    width: 100%;
    height: 354px;
    margin-bottom: 0;
  }

  .similar {
    width: auto;
    height: 355px;
  }

  .similar_item_card_wrap {
    flex-direction: row;
    justify-content: space-between;
    height: auto;
    width: 944px;
  }

  .similar_item_card {
    width: 462px;
    height: 355px;
    border-image: repeating-linear-gradient(
        rgba(76, 100, 227, 0) 0px 20px,
        rgba(76, 100, 227, 1) 170px 170px,
        rgba(76, 100, 227, 0) 340px 0px
      )
      1;
  }

  .similar_item_card .product-item {
    width: 382px;
    height: 291px;
  }

  .similar_reviews_preview {
    height: 81px;
    line-height: 27px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .pre_footer_form_wrap {
    width: auto;
    margin: 120px 0;
  }

  .pre_footer_form_info {
    width: 944px;
  }

  .pre_footer_form_action form {
    max-width: 704px;
    height: 138px;
  }
  .pre_footer_form_info .first_to_know_form {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .pre_footer_form_info .first_to_know_form button {
    height: 58px;
  }

  .pre_footer_form_action .Leave_a_request_btn_text {
    position: absolute;
    width: 342px;
    line-height: 19px;
    right: 125px;
    bottom: 60px;
  }

  .pre_footer_image {
    width: 944px;
  }

  .form_prefooter_title {
    font-size: 62px;
    line-height: 1.1;
  }

  .pre_footer_form_action .modal_telephone-conten_oferta {
    width: 340px;
    align-items: flex-start;
  }
}

@media (max-width: 1030px) {
    .our_solution_title h2,
    .reviews_title h2 {
        font-size: 56px;
    }
    
    .reviews_wrap .tags_sections_button{
        flex: 1 1 calc(20% - 10px);
    }
    
    .reviews_wrap .all_rev_button{
        flex-grow: 200;
    }
    
    .some_tab:nth-child(4) .our_solutions_first_line {
        width: 462px;
    }
    
    .some_tab:nth-child(6) .our_solutions_first_line{
        width: 462px;
    }
    
    .pre_footer_form_action .modal_telephone-conten_oferta input{
        flex: 1 calc(11%);
    }
}

@media (max-width: 960px) {
  .main-container-grid {
    /* добавлено */

    grid-template-areas:
      "header header"
      "header header"
      "header header"
      "header header"
      "button button"
      "button button"
      "iiko iiko"
      "iiko iiko"
      "iiko iiko"
      "iiko iiko"
      "iiko iiko"
      "iiko iiko"
      "egais egais"
      "egais egais"
      "egais egais"
      "help help"
      "help help"
      "help help"
      "help help"
      "learning learning"
      "learning learning"
      "learning learning";
    width: 91vw;
    max-width: 800px;
    justify-content: unset;
    grid-row-gap: 10px;
    grid-column-gap: 0;
  }
  .new-main-title-wrap {
    font-size: 38px;
    line-height: 42px;
    width: 91vw;
  }

  .new-main-title {
    margin-top: 35px;
    width: 91vw;
  }

  .new-main-title_roll_wrap {
    width: 91vw;
  }

  .roll_item {
    font-size: 38px;
    line-height: 42px;
    height: 84px !important;
  }

  .new-main-button {
    width: 91vw;
  }

  .new-main-button_content {
    width: 74vw;
    font-size: 24px;
    line-height: 28px;
  }

  .new-main-iiko {
    width: 91vw;
    height: 395px;
  }

  .iiko-content-card {
    padding: 0 5px;
    margin: 0;
  }

  .new-main-iiko-content {
    width: 100%;
    height: 246px;
    margin-left: 0;
  }

  .iiko-content_wrap {
    width: auto;
    margin: 32px 25px;
  }

  .iiko-content_wrap p:first-child {
    font-size: 20px;
    line-height: 22px;
  }

  .iiko-content_button {
    left: 32px;
  }

  .background_plus div:first-child {
    width: 100px;
    height: 100px;
    top: 65px;
    left: 124px;
    background-size: contain;
  }

  .background_plus div:nth-child(2) {
    width: 50px;
    height: 50px;
    top: 28px;
    left: unset;
    right: 38px;
    background-size: contain;
  }

  .background_plus div:last-child {
    width: 165px;
    height: 165px;
    top: 90px;
    left: 239px;
    background-size: contain;
  }
  .new-main-egais {
    width: 91vw;
    height: 180px;
  }

  .new-main-egais-content {
    height: auto;
  }

  .egais-content-card {
    height: 180px;
  }

  .egais-content_text {
    padding-right: 46px;
    font-size: 20px;
    line-height: 24px;
  }

  .new-main-help {
    width: 91vw;
    height: 180px;
  }

  .new-main-help-content {
    flex-direction: column;
    padding: 21px 0 0 27px;
  }

  .help-content_left-block {
    background: none;
    width: auto;
    height: auto;
    font-size: 16px;
    margin: 0;
    padding: 0;
  }

  .help-content_right-block {
    width: auto;
    height: 103px;
    margin-top: 17px;
    padding: 0;
    margin-left: 0;
  }

  .help-content_right-block div:last-child {
    font-size: 16px;
  }

  .new-main-learning {
    width: 91vw;
    height: 180px;
  }

  .new-main-learning-content {
    padding: 24px 0 0 27px;
    border-image: repeating-linear-gradient(rgba(76, 100, 227, 0) 0px 40px, rgba(76, 100, 227, 1) 100px 0px, rgba(76, 100, 227, 0) 140px 0px) 1;
  }

  .learning-content_text {
    margin: 0;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: -0.02em;
  }

  .learning-content_button {
    left: 27px;
  }

  .partners2024-slider_wrap {
    margin-top: 100px;
  }

  .phones_content_wrap {
    margin-top: 100px;
    width: 91vw;
    gap: 20px;
  }

  .phones_content {
    width: 91vw;
    margin-top: 0;
    height: auto;
  }

  .phones_content_support__circles {
    width: unset;
    background-size: contain;
    background-position: bottom;
  }

  .phones_content_support_left {
    margin-top: 30px;
  }

  .phones_content_delivery_wrap,
  .phones_content_guest_wrap,
  .phones_content_support_wrap,
  .phones_content_dashboard_wrap {
    height: auto;
    justify-content: flex-end;
    border-image: repeating-linear-gradient(
        rgba(76, 100, 227, 0) 20px 0px,
        rgba(76, 100, 227, 1) 300px 0px,
        rgba(76, 100, 227, 0) 600px 700px
      )
      1;
  }

  .phones_content_emp_wrap {
    flex-direction: column-reverse;
  }

  .phones_content_emp_wrap .phones_content_delivery_right {
    width: 295px;
    margin-top: 40px;
    align-items: center;
  }

  .phones_content_emp_wrap .phones_content_text, .phones_content_emp_wrap .phones_content_title {
    text-align: center;
  }

  .phones_content_delivery_right {
    width: 295px;
    height: auto;
    margin-top: 40px;
    top: 0;
  }

  .phones_content_slider_left.slick-dotted.slick-slider {
    width: 78vw;
    height: 223px;
    display: flex;
    margin-top: 20px;
  }

  .phones_content_support_left .phones_content_delivery_items {
    margin-top: 30px;
  }

  .phones_content_delivery_wrap .supp_top_img {
    top: -56px;
    right: 14px;
  }

  .phones_content_delivery_item {
    width: 91vw;
  }

  .phones_content_emp_wrap .phones_content_delivery_item .outside_img {
    width: 164px;
  }

  .phones_content_emp_wrap .supp_top_img {
    width: 190px;
    left: 44px;
    top: 20px;
  }

  .phones_content_emp_wrap .supp_bott_img {
    top: 194px;
    width: 180px;
    right: 0px;
  }

  .phones_content_emp_wrap .outside_img {
    margin-top: 0;
  }

  .phones_content_emp_wrap .phones_content_support_left {
    margin-top: 0;
    height: 245px;
  }

  .phones_content_dashboard_wrap .phones_content_delivery_item .outside_img {
    width: 139px;
  }

  .phones_content_dashboard_wrap .phones_content_delivery_item .inside_img {
    width: 139px;
    margin: 0;
  }

  .phones_content_dashboard_wrap .phones_content_delivery_item {
    height: 240px;
    gap: 16px;
  }

  .phones_content_dashboard_wrap .phones_content_support_left .phones_content_delivery_items {
    margin-top: 0;
  }

  .phones_content_support_wrap .phones_content_delivery_item .outside_img {
    width: 147px;
  }

  .phones_content_support_wrap .supp_bott_img {
    width: 74px;
    top: 26px;
    left: 65px;
  }

  .phones_content_support_wrap .supp_top_img {
    top: 50px;
    width: 80px;
    right: 50px;
  }
        
  /* .phones_content_delivery_items.filter {
    height: fit-content;
    width: 123px;
  } */

  /* .phones_content_delivery_item img{
        width: auto;
        height: 197px;
    } */

  .phones_content_delivery_item .outside_img {
    width: 222px;
    height: auto;
  }

  .phones_content_delivery_item .inside_img {
    width: 120px;
    margin-top: 1px;
    margin-left: 1px;
  }

  .phones_content_guest_wrap .phones_content_delivery_items {
    margin-top: 0;
    height: auto;
  }

  .phones_content_guest_wrap .phones_content_delivery_item .outside_img {
    width: 196px;
  }

  .outside_img.outside_img_left {
    left: 10px;
  }

  .outside_img.outside_img_right {
    right: 42px;
  }

  .phones_content_guest_wrap .phones_content_delivery_item {
    height: 211px;
  }

  .phones_content_guest_wrap .phones_content_delivery_item .inside_img {
    margin-top: 1px;
  }

  .phones_content_dots {
    left: unset;
    top: -37px;
  }

  .content_label {
    margin-top: unset;
  }

  .phones_content_support .phones_content_delivery_item {
    height: 243px;
  }

  .supp_top_img {
    width: 105px;
    top: 12px;
    left: 165px;
  }
  .supp_bott_img {
    width: 140px;
    top: 138px;
    right: 167px;
  }

  .phones_content_title {
    font-size: 28px;
    line-height: 33.6px;
    letter-spacing: -0.800000011920929px;
    text-align: center;
    width: auto;
  }

  .phones_content_text {
    width: auto;
    margin-top: 24px;
    margin-bottom: 28px;
  }

  .phones_content_buttons {
    /* flex-direction: column; */
    align-items: center;
    width: -webkit-fill-available;    
    justify-content: space-between;
  }

  .phones_content_wrap .phone-content_button {
    margin-left: 0;
    font-size: 14px;
  }

  .guest_third_slide {
    width: 88vw;
    height: fit-content;
  }

  .our_solutions_wrap {
    margin-top: 100px;
    /* height: 1742px; */
  }

  .our_solutions_wrap {
    width: 91vw;
  }

  .our_solution_tabs {
    display: block;
    margin-top: 60px;
  }

  .our_solutions_tabs_labels .buttons {
    width: fit-content;
    margin-top: 16px;
    white-space: nowrap;
  }

  .our_solution_tabs .some_tab {
    width: 91vw;
    flex-direction: column;
  }

  .some_tab:nth-child(2) .our_solutions_first_line:first-child, .some_tab:nth-child(2) .our_solutions_first_line:last-child {
        width: auto;
    }

  .our_solutions_item {
    border-image: repeating-linear-gradient(rgba(76, 100, 227, 0) 0px 80px, rgba(76, 100, 227, 1) 120px 140px, rgba(76, 100, 227, 0) 240px 350px) 1;
    padding: 32px;
    height: auto;
    width: 91vw;
  }

  .our_solutions_first_line {
    height: unset;
  }

  .some_tab:last-child .our_solutions_first_line {
    width: unset;
  }

  .our_solutions_first_line .phone-content_button {
    position: unset;
    bottom: unset;
    margin-top: 35px;

  }

  .our_solution_title h2,
  .reviews_title h2 {
    font-size: 28px;
    line-height: 30.8px;
    letter-spacing: -0.018em;
    text-align: left;
  }

  .autowithlemma_wrap {
    margin-top: 100px;
  }

  .autowithlemma_content_wrap {
    width: 91vw;
    height: 961px;
    align-items: center;
    border-radius: 32px;
  }

  .autowithlemma_wrap .content_title {
    font-size: 40px;
    width: auto;
    margin-top: 34px;
    line-height: 39px;
  }

  .autowithlemma_wrap .content_text {
    font-size: 24px;
    width: auto;
    line-height: 24px;
  }

  .autowithlemma_content_left .phones_content_forms {
    width: auto;
  }

  .autowithlemma_content_right {
    margin-top: 43px;
    height: 570px;
    width: 80vw;
    margin-left: 0;
    padding: 0 13px;
  }

  .autowithlemma_content_item {
    margin-left: 10px;
    margin-right: 10px;
    width: auto;
    height: auto;
  }

  .right_content_top_text,
  .right_content_subscribe_text,
  .right_content_main_text {
    width: auto;
    line-height: 21px;
  }

  .right_content_top_text {
    font-size: 18px;
  }

  .right_content_subscribe_text {
    font-size: 16px;
  }

  .right_content_main_text {
    font-size: 14px;
  }

  .autowithlemma_content_right .phones_content_dots {
    top: 520px;
    left: 40%;
  }

  .reviews_wrap {
    flex-direction: column;
  }

  .reviews_content_wrap {
    width: 100vw;
    margin-top: 100px;
    align-items: center;
    height: 1815px;
  }

  .reviews_title {
    width: 91vw;
  }

  .reviews_wrap .section-container {
    display: flex;
    width: 91vw;
    flex-direction: column;
  }
  
  .reviews_wrap .tags_sections_button{
        flex: unset;
    }
    
    .reviews_wrap .all_rev_button{
        flex-grow: unset;
    }
    

  .reviews_wrap .tags_sections_button {
    width: 163px;
  }

  /* .reviews_content_wrap .bx_filter_param_label.articles-tags-item {
    width: 163px;
  } */

  .reviews_wrap .input_check_param_text {
    font-size: 14px;
  }

  .reviews_wrap .bx_filter_input_checkbox {
    margin-right: 0;
  }

  .reviews_wrap .bx_filter_block {
    width: auto;
  }

  .reviews_item {
    row-gap: 10px;
    height: auto;
  }

  .reviews_item_card {
    width: 91vw;
    height: 570px;
  }

  .reviews_item-card-container {
    height: 438px;
  }

  .reviews_item-card-text {
    padding-top: 109px;
    margin-left: 22px;
    margin-top: 0;
    width: 73vw;
    height: 418px;
  }

  .reviews_item-text {
    font-size: 16px;
  }

  .reviews_item-logo {
    right: unset;
    left: 22px;
    top: 23px;
  }

  .reviews_item .similar {
    width: auto;
    height: auto;
  }

  .similar_item_card_wrap {
    width: 91vw;
    flex-direction: column;
    gap: 10px;
  }

  .similar_item_card {
    width: auto;
    height: 443px;
    justify-content: flex-start;
    border-image: repeating-linear-gradient(
        rgba(76, 100, 227, 0) 0px 110px,
        rgba(76, 100, 227, 1) 220px 220px,
        rgba(76, 100, 227, 0) 340px 0px
      )
      1;
  }

  .similar_item_card .product-item {
    width: 73vw;
    height: 411px;
    padding-top: 102px;
  }

  .similar_reviews_picture {
    right: unset;
    bottom: unset;
    top: 32px;
  }

  .reviews_wrap .tags_sections_wrap {
    gap: unset;
    row-gap: 16px;
    display: flex;
    flex-wrap: wrap;
    align-content: space-around;
    width: 92vw;
    justify-content: space-between;
  }

  .pre_footer_form_wrap {
    margin-top: 148px;
    margin-bottom: 100px;
    height: 580px;
  }

  .pre_footer_form_info {
    width: 91vw;
    border-radius: 32px;
    overflow: hidden;
    height: 580px;
  }

  .form_prefooter_title {
    font-size: 36px;
    line-height: 39px;
    width: 73vw;
    margin-top: 43px;
  }

  .pre_footer_image {
    width: 91vw;
    height: 580px;
  }

  .pre_footer_form_info .first_to_know_form {
    justify-content: center;
    width: 73vw;
  }

  .pre_footer_form_info .first_to_know_form button {
    max-width: unset !important;
    width: 73vw;
    position: absolute;
    bottom: 43px;
  }

  .pre_footer_form_info .first_to_know_form button .button-text {
    color: white !important;
  }

  .pre_footer_form_action .form-item {
    height: 58px;
  }
  .pre_footer_form_info .first_to_know_form input {
    padding: 15px;
  }

  .pre_footer_form_action .Leave_a_request_btn_text {
    width: 73vw;
    right: unset;
    bottom: 121px;
  }

  .pre_footer_form_action .modal_telephone-content_inputs {
    justify-content: center;
  }
}

@media (max-width: 450px) {
    .new-main-button{
        height: 105px;
    }
    
    .our_solutions_item {
        border-image: repeating-linear-gradient(rgba(76, 100, 227, 0) 0px 40px, rgba(76, 100, 227, 1) 100px 0px, rgba(76, 100, 227, 0) 170px 0px) 1;
    }
    
    .our_solutions_wrap .our_solutions_item {
        border-image: repeating-linear-gradient(rgba(76, 100, 227, 0) 0px 110px, rgba(76, 100, 227, 1) 140px 0px, rgba(76, 100, 227, 0) 290px 0px) 1;
    }
    .our_solutions_wrap  .our_solution_tabs {
        margin-top: 10px;
    }
    
    .autowithlemma_content_left .phones_content_buttons {
        flex-direction: column;
    }
    
    .btn_hover.prefooter-button{
        height: 52px;
        line-height: 2;
    }

    .pre_footer_form_action .modal_telephone-content {
    max-width: 300px;
  }
  
  .pre_footer_form_action .modal_telephone-conten_oferta input{
        flex: 1 calc(14%);
    }
}

/* @media (max-width: 390px) {
  .pre_footer_form_action .modal_telephone-content {
    max-width: 300px;
  }
  
  .pre_footer_form_action .modal_telephone-conten_oferta input{
        flex: 1 calc(14%);
    }
}
 */