/* Общие */

.Tags > * {
  background: linear-gradient(135deg, #fff 0%, #71717a 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body {
  background: url("../../img/backMainMob.svg");
  background-size: 100% 100%;
  background-color: #121212;
}

@media (min-width: 980px) {
  body {
    background: url("../../img/backMain.svg");
    background-size: 100% 100%;
    background-color: #121212;
  }
  .Swiper-Prev,
  .Swiper-Next {
    transition: 0.3s ease;
  }

  .Swiper-Prev:hover,
  .Swiper-Next:hover {
    box-shadow: 0px 0px 15px 0px rgba(255, 255, 255, 0.91);
  }
}

/*Слайдер*/
.items-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  user-select: none;
  width: 100%;
}
.items {
  flex-shrink: 0;
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
  counter-reset: item;
  justify-content: space-around;
  width: max-content;
  will-change: transform;
}
.item {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.1s ease-in-out;
}

.marquee {
  animation: scroll 55s linear infinite;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

main {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 0 20px;
  max-width: 1790px;
  margin: 0 auto;
}

main > video {
  position: absolute;
  width: 100%;
  left: 0px;
  top: 0px;
  z-index: -1;
  opacity: 0.2;
  mix-blend-mode: lighten;
}

/* Главная секция */
.MainSection {
  width: 100%;
  margin: auto;
  min-width: 330px;
}

h1 {
  color: #fff;
  font-weight: 600;
  width: auto;
  text-align: center;
  font-size: 77px;
}

.MainSection p {
  color: #ffffff80;
  font-weight: 400;
  text-align: center;
  width: 800px;
  margin: 42px auto 49px auto;
  font-size: 30px;
}

.MainSection a {
  position: relative; /* чтобы ::before правильно позиционировался */
  display: flex;
  justify-content: center;
  align-items: center;
  width: 486px;
  margin: 0 auto;
  padding: 12px 0;
  font-size: 24px;
  font-weight: 500;
  color: #fff;
  border-radius: 8px;
  background: linear-gradient(90deg, #2178c8 0%, #103b62 86.06%);
  overflow: hidden; /* обрезать псевдо-элемент за пределами углов */
  z-index: 0;
}

/* в ::before — тот самый «новый» градиент, который будет всплывать */
.MainSection a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0.2) 100%
    ),
    linear-gradient(268deg, #1c67ac -18.3%, #41ccff 35.05%, #41ffef 98.28%);
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

/* при ховере просто плавно показываем ::before */
.MainSection a:hover::before {
  opacity: 1;
}

.VideoMob {
  display: none;
}

@media (max-width: 979px) {
  .MainSection p {
    width: auto;
  }

  main > video {
    top: 400px;
  }
}

@media (max-width: 979px) {
  .MainSection {
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .MainSection a {
    width: 100%;
  }
}
@media (max-width: 659px) {
  main > video {
    top: 20px;
  }

  .VideoDesk {
    display: none;
  }

  h1 {
    font-size: 40px;
    color: #fff;
    font-weight: 600;
    text-align: left;
  }

  .MainSection p {
    font-size: 16px;
    color: #ffffff80;
    font-weight: 400;
    width: 230px;
    margin: 23px 0px 0px 0px;
    text-align: left;
  }

  .MainSection a {
    height: 40px;
    font-size: 16px;
  }

  .VideoMob {
    display: block;
  }

  .MainSection a {
    background: linear-gradient(90deg, #103b62 0%, #2178c8 86.06%);
  }
}

/* Секция о нас */

.AboutSection {
  margin: auto;
  border-radius: 8px;
  padding: 25px 0px 34px 0px;
  width: 100%;
}

.About-Header {
  width: 100%;
  gap: 11px;
  margin-bottom: 21px;
  padding: 0px 9px 0px 22px;
  flex-direction: column;
  display: flex;
}

.About-Header p {
  font-size: 11px;
  font-weight: 400;
  color: #fff;
  width: 320px;
}

.About-Main .wrap {
  width: 100%;
  overflow: hidden;
}

.AboutSection .wrap img {
  width: 100%;
  height: 100%;
  max-width: 300px;
  border-radius: 5px;
}
@media (min-width: 1440px) {
  .AboutSection .wrap img {
    width: 100%;
    height: 100%;
    max-width: 500px;
    border-radius: 5px;
  }
}

.Numbers-Header {
  margin: 25px 0px 32px 0px;
  padding: 0px 9px 0px 22px;
}

.Numbers-Main {
  width: 285px;
  height: 188px;
  background: url("../../img/NumberMap.png");
  background-size: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 72px;
  margin: auto;
}

.Numbers-Main p {
  font-size: 14px;
  font-weight: 400;
  color: #fff;
}

.Numbers-Main .Big {
  font-size: 33px;
  font-weight: 500;
  text-transform: uppercase;
  margin-top: 8px;
}

.hwn span {
  color: #b3b3b338;
  font-size: 18px;
  font-weight: 400;
}

.hwn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.Map {
  position: absolute;
  opacity: 0;
  width: 200px;
  transition: 1s ease;
}

.ActiveMap {
  opacity: 1;
}

[map-id="2"] > div {
  display: flex;
  gap: 10px;
}

[map-id="3"] > div {
  display: flex;
  gap: 10px;
}

.ImgMapCont img {
  width: 20px;
  margin-top: 8px;
}

@media (min-width: 1440px) {
  .Map {
    width: 800px;
  }

  .ImgMapCont img {
    width: auto;
    margin-top: 30px;
  }

  [map-id="2"] > div {
    gap: 38px;
  }

  [map-id="3"] > div {
    gap: 38px;
  }

  .AboutSection {
    padding: 87px 0px 44px 0px;
    border-radius: 20px;
  }

  .About-Header p {
    font-size: 36px;
    width: 939px;
  }

  .About-Header h2 {
    padding-top: 8px;
  }

  .hwn {
    flex-direction: row-reverse;
    justify-content: start;
    width: auto;
    gap: 69px;
  }

  .hwn span {
    font-size: 45px;
  }

  .About-Header {
    flex-direction: row;
    align-items: start;
    gap: 141px;
    margin-bottom: 92px;
  }

  .Numbers-Main p {
    font-size: 46px;
  }

  .Numbers-Main .Big {
    font-size: 115px;
    margin-top: 30px;
  }

  .Numbers-Main {
    width: 1217px;
    height: 805px;
    padding-left: 307px;
  }

  .Numbers-Header {
    position: relative;
    top: 280px;
    margin: 0px;
  }

  .Numbers-Header .hwn {
    gap: 69px;
  }
}
.About-Main {
  position: relative;
  overflow: hidden;
  /* WebKit-браузеры */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0px,
    black 100px,
    black calc(100% - 100px),
    transparent 100%
  );
  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  /* Остальные современные браузеры */
  mask-image: linear-gradient(
    to right,
    transparent 0px,
    black 100px,
    black calc(100% - 100px),
    transparent 100%
  );
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
}

.BuisnesSection .swiper-wrapper {
  padding-left: 22px;
  height: auto;
}

.BuisnesSection .Swiper-Control {
  padding: 0px 9px 0px 22px;
  width: 332px;
  margin: 15px 0px 20px 0px;
  display: flex;
  align-items: center;
}

.BuisnesSection .Swiper-Control .line {
  border-radius: 20px;
  height: 1px;
  width: 192px;
}

.BuisnesSection .Swiper-Control > button {
  border-radius: 7.279px;
  background: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0.2) 100%
    ),
    linear-gradient(316deg, #1c67ac -8.42%, #41ccff 40.53%, #41ffef 98.54%);
  width: 43px;
  height: 33px;
}

.BuisnesSection .Swiper-Control .Swiper-Prev {
  margin: 0px 2px 0px 15px;
}

.BuisnesSection .swiperB {
  width: 660px;
  margin: 0px;
  position: relative;
  list-style: none;
  padding: 0;
  z-index: 1;
  display: block;
}

.BuisnesSection {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  margin: auto;
  padding: 26px 0px 34px 0px;
  margin-top: 24px;
  width: 100%;
}

.Buisnes-Header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  width: 100% !important;
  padding: 0px 9px 0px 22px;
}

.Buisnes-Header h2 {
  color: #000;
}

.Buisnes-Header span {
  color: #000;
  font-size: 18px;
  font-weight: 400;
}

.Buisnes-Main_mobile .Card {
  width: 300px;
  height: 190px;
  padding: 14.25px;
  border-radius: 7px;
  background: #fff;
  display: block;

  /* теперь все свойства будут меняться за 1 секунду */
  transition: all 0.5s ease;

  position: relative;
  z-index: 1000;
}
.Buisnes-Main_mobile .Card:hover {
  box-shadow: 0px 0px 15px 0px rgba(255, 255, 255, 0.91);
}
.Buisnes-Main_mobile .Card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #2178c8 0%, #103b62 86.06%);
  opacity: 0;

  /* анимируем opacity за 1 секунду */
  transition: opacity 0.5s ease;

  border-radius: inherit;
  z-index: -1;
}

/* Активное состояние */
.Buisnes-Main_mobile .swiper-slide-active .Card {
  /* делаем фон прозрачным, чтобы был виден градиент */
  background: transparent;
}
.Buisnes-Main_mobile .swiper-slide-active .Card p,
.Buisnes-Main_mobile .swiper-slide-active .Card span,
.Buisnes-Main_mobile .swiper-slide-active .Card h3 {
  /* текст станет белым тоже за 1 секунду */
  transition: color 0.5s ease;
  color: #fff;
}
.Buisnes-Main_mobile .swiper-slide-active .Card::before {
  opacity: 1;
}

.Buisnes-Main_mobile .Card img {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 143px;
  height: 128px;
}

.Buisnes-Main_mobile .Card span {
  color: #000;
  font-size: 15.675px;
  font-weight: 500;
}

.Buisnes-Main_mobile .Card h3 {
  color: #000;
  font-size: 14.25px;
  font-weight: 500;
  text-transform: uppercase;
  margin: 72px 0px 14px 0px;
}

.Buisnes-Main_mobile .Card p {
  color: #000;
  font-size: 10.45px;
  font-weight: 400;
  letter-spacing: -0.119px;
}

@media (min-width: 980px) {
  .BuisnesSection .swiperB {
    width: 1200px;
  }
}

@media (min-width: 1440px) {
  .Buisnes-Header span {
    color: rgba(0, 0, 0, 0.22);
    font-size: 45.773px;
    font-weight: 400;
    line-height: 59.569px;
  }

  .Buisnes-Header {
    flex-direction: row-reverse;
    justify-content: start;
    gap: 69px;
    padding: 0px 0px 0px 50px;
    margin-bottom: 50px;
  }

  .BuisnesSection .Swiper-Control .line {
    height: 2px;
    width: 316px;
  }

  .BuisnesSection .Swiper-Control > button {
    height: 55px;
    width: 71px;
    border-radius: 12px;
  }

  .BuisnesSection .Swiper-Control {
    width: 1400px;
    padding: 0px 250px 0px 0px;
    margin: 0px;
    justify-content: end;
    position: absolute;
    top: -95px;
  }

  .BuisnesSection .Swiper-Control .Swiper-Prev {
    margin: 0px 4px 0px 26px;
  }

  .Buisnes-Main_mobile .Card {
    width: 630px;
    height: 400px;
    padding: 30px;
    border-radius: 15px;
  }

  .Buisnes-Main_mobile .Card::before {
    border-radius: 15px;
  }

  .Buisnes-Main_mobile .Card span {
    font-size: 33px;
  }

  .Buisnes-Main_mobile .Card h3 {
    font-size: 30px;
    margin: 153px 0px 30px 0px;
  }

  .Buisnes-Main_mobile .Card p {
    font-size: 22px;
  }

  .BuisnesSection .swiper-wrapper {
    padding-left: 190px;
  }

  .BuisnesSection .swiperB {
    width: 1920px;
  }

  .Buisnes-Main_mobile .Card img {
    width: auto;
    height: auto;
  }
}

@media (min-width: 1800px) {
  .BuisnesSection .Swiper-Control {
    width: 1790px;
  }
  .Buisnes-Main_mobile .Card img {
    right: 0px;
  }
}

/* Секция новости */

.NewsSection .swiper-wrapper {
  padding-left: 22px;
  height: auto;
}

.NewsSection .Swiper-Control {
  padding: 0px 9px 0px 22px;
  width: 332px;
  margin: 15px 0px 20px 0px;
  display: flex;
  align-items: center;
}

.NewsSection .Swiper-Control .line {
  border-radius: 20px;
  background: #6e6e6e;
  height: 1px;
  width: 192px;
}

.NewsSection .Swiper-Control > button {
  border-radius: 7.279px;
  background: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0.2) 100%
    ),
    linear-gradient(316deg, #1c67ac -8.42%, #41ccff 40.53%, #41ffef 98.54%);
  width: 43px;
  height: 33px;
}

.NewsSection .Swiper-Control .Swiper-Prev {
  margin: 0px 2px 0px 15px;
}

.NewsSection {
  border-radius: 11px;
  background: rgba(16, 16, 16, 0.8);
  width: 332px;
  margin: auto;
  padding: 26px 0px 34px 0px;
  margin-top: 24px;
  width: 100%;
}

.News-Header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100% !important;
  padding: 0px 9px 0px 22px;
}

.News-Header h2 {
  color: #fff;
}

.News-Header span {
  color: #fff;
  font-size: 18px;
  font-weight: 400;
}

.News-Main_mobile .Card {
  width: 287px;
  height: 303px;
  padding: 12px 14px 22px 14px;
  border-radius: 8.804px;
  background: #1e1e1e;
  border: #aaaaaa26 1px solid;
  transition: 0.5s ease;
}
.News-Main_mobile .Card:hover {
  box-shadow: 0px 0px 15px 0px rgba(255, 255, 255, 0.91);
}
.News-Main_mobile .Card img {
  width: 100%;
  height: 170px;
  border-radius: 7px;
}

.News-Main_mobile .Card .tags {
  display: flex;
  gap: 3px;
  margin: 16px 0px 7px 0px;
}

.News-Main_mobile .Card .tags a {
  color: rgba(255, 255, 255, 0.74);
  font-size: 7.337px;
  font-weight: 400;
}

.News-Main_mobile .Card h3 {
  color: rgba(255, 255, 255, 0.74);
  font-size: 14.25px;
  font-weight: 500;
  text-transform: uppercase;
  margin: 72px 0px 14px 0px;
}

.News-Main_mobile .Card p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 10.349px;
  font-weight: 400;
  line-height: 14.673px;
}

.News-Main_mobile .Card > a {
  color: #fff;
  font-size: 8.07px;
  font-weight: 700;
  line-height: 100%;
  border-radius: 4.774px;
  background: linear-gradient(90deg, #2178c8 0%, #103b62 86.06%);
  width: 105px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 7px;
  transition: 0.3s ease;
}

.News-Main_mobile .Card > a:hover {
  background: #fff;
  color: #2375a6;
}

@media (min-width: 1440px) {
  .News-Header span {
    color: rgba(179, 179, 179, 0.22);
    font-size: 45.773px;
    font-weight: 400;
    line-height: 59.569px;
  }

  .News-Header {
    flex-direction: row-reverse;
    justify-content: start;
    gap: 140px;
    padding: 0px 0px 0px 50px;
    margin-bottom: 50px;
  }

  .NewsSection .Swiper-Control .line {
    height: 2px;
    width: 316px;
    background: #fff;
  }

  .NewsSection .Swiper-Control > button {
    height: 55px;
    width: 71px;
    border-radius: 12px;
  }

  .NewsSection .Swiper-Control {
    width: 1400px;
    padding: 0px 250px 0px 0px;
    margin: 0px;
    justify-content: end;
    position: absolute;
    top: -95px;
  }

  .NewsSection .Swiper-Control .Swiper-Prev {
    margin: 0px 4px 0px 26px;
  }

  .News-Main_mobile .Card {
    width: 391px;
    height: 400px;
    border-radius: 15px;
    padding: 20px 20px 30px 20px;
  }

  .News-Main_mobile .Card p {
    font-size: 14px;
  }
  .News-Main_mobile .Card .tags a {
    font-size: 10px;
  }

  .NewsSection .swiper-wrapper {
    padding-left: 190px;
  }

  .News-Main_mobile .Card > a {
    font-size: 11px;
    width: 143px;
    height: 33px;
    margin-top: 10px;
  }

  .News-Main_mobile .Card img {
    height: 232px;
  }

  .News-Main_mobile .Card .tags {
    margin: 22px 0px 10px 0px;
  }
  .NewsSection .swiperN {
    position: relative;
  }
}

@media (min-width: 1800px) {
  .NewsSection .Swiper-Control {
    width: 1790px;
  }
}

/* Секция проекты */

.ProjectsSection {
  overflow: visible;
}
.ProjectsSection .swiperP {
  width: 100%;
  margin: 0px;
  position: relative;
  list-style: none;
  padding: 0;
  z-index: 1;
  display: block;
  overflow: hidden;
}

.ProjectsSection .swiper-wrapper {
  height: auto;
}

.ProjectsSection .Swiper-Control {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-top: 25px;
}
.Projects-Main_mobile .Info .Stats a {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  background: #2c2c2c;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  width: 133px;
  height: 31px;
}
.Projects-Main_mobile .Info .Stats p {
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
}
.Projects-Main_mobile .Info .Stats {
  border-radius: 0px 0px 10px 10px;
  background: #1e1e1e;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  margin-top: -10px;
  height: 278px;
}
.Projects-Main .Banner:hover {
  box-shadow: 0px 0px 15px 0px rgba(255, 255, 255, 0.91);
}
.Projects-Main .Stats:hover {
  box-shadow: 0px 0px 15px 0px rgba(255, 255, 255, 0.91);
}

.Projects-Main_mobile .Info .Stats h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.Projects-Main_mobile .Info .Banner h3 {
  color: #fff;
  font-size: 24px;
  font-weight: 400;
  line-height: normal;
}

.Projects-Main_mobile .Info .Banner p {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.13px;
}

.Projects-Main_mobile .Info .Banner a {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  background: #2c2c2c;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  width: 133px;
  height: 31px;
}
.Projects-Main_mobile .Info .Banner {
  background: linear-gradient(180deg, rgba(24, 24, 24, 0) 7.31%, #181818 93.34%),
    url("../img/Projects1.png") no-repeat;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: end;
  padding: 20px 20px 30px 20px;
  border-radius: 10px;
  height: 517px;
}

.Projects-Main_mobile .swiper-slide:nth-child(2) .Banner {
  background: linear-gradient(180deg, rgba(24, 24, 24, 0) 7.31%, #181818 93.34%),
    url("../img/Projects2.png") no-repeat;
}

.Projects-Main_mobile .swiper-slide:nth-child(3) .Banner {
  background: linear-gradient(180deg, rgba(24, 24, 24, 0) 7.31%, #181818 93.34%),
    url("../img/Projects3.png") no-repeat;
}

.ProjectsSection {
  width: 332px;
  margin: auto;
  margin-top: 27px;
  width: 100%;
}

.Projects-Header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100% !important;
  align-items: start;
  font-weight: 400;
}

.Projects-Header h2 {
  color: #fff;
}

.Projects-Header span {
  color: #b3b3b338;
  font-size: 18px;
  font-weight: 400;
}

.ProjectsSection .Swiper-Control {
  width: 332px;
  margin: 20px 0px 50px 0px;
  display: flex;
  align-items: center;
}

.ProjectsSection .Swiper-Control .line {
  border-radius: 20px;
  background: #6e6e6e;
  height: 1px;
  width: 214px;
}

.ProjectsSection .Swiper-Control > button {
  border-radius: 7.279px;
  background: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0.2) 100%
    ),
    linear-gradient(316deg, #1c67ac -8.42%, #41ccff 40.53%, #41ffef 98.54%);
  width: 43px;
  height: 33px;
}

.ProjectsSection .Swiper-Control .Swiper-Prev {
  margin: 0px 2px 0px 15px;
}

.Projects-Main_mobile .Info {
  width: 100%;
}
.Projects-Main_mobile .Info .Banner {
  padding: 20px 20px 30px 20px;
  border-radius: 8px;
  height: 319px;
}

.Projects-Main_mobile .Info .Stats {
  border-radius: 0px 0px 8px 8px;
}

.Projects-Main_mobile .Info .Banner a {
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  background: linear-gradient(90deg, #2178c8 0%, #103b62 86.06%);
  border-radius: 5px;
  width: 81px;
  height: 21px;
}

.Projects-Main_mobile .Info .Stats a {
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  background: linear-gradient(90deg, #2178c8 0%, #103b62 86.06%);
  border-radius: 5px;
  width: 109px;
  height: 21px;
}

.Projects-Header p {
  display: none;
}

.Projects-Main {
  display: none;
  transition: 0.5s ease;
}

@media (min-width: 660px) {
  .Projects-Main_mobile .Info {
    width: 295px;
  }
}

@media (min-width: 980px) {
  .Projects-Main_mobile .Info {
    width: 300px;
  }
}

@media (min-width: 1440px) {
  .Projects-Header {
    flex-direction: row-reverse;
    justify-content: start;
    gap: 69px;
    padding-left: 50px;
    margin-bottom: 70px;
  }

  .Projects-Header h2 {
    width: 200px;
  }

  .Projects-Header p {
    display: block;
    color: #fff;
    font-size: 36px;
    font-weight: 400;
    letter-spacing: -1.5px;
    width: 939px;
  }

  .Projects-Header span {
    font-size: 45.773px;
  }

  .Projects-Main {
    display: flex;
    width: 1400px;
    margin: auto;
    gap: 20px;
    transition: 0.5s ease;
  }

  .Projects-Main .Links {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .Projects-Main .Links button {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 512px;
    height: 137px;
    background: #101010;
    color: rgba(170, 170, 170, 0.5);
    font-size: 27px;
    font-weight: 300;
    text-transform: uppercase;
    border-radius: 9.879px;
    border: none; /* рамку рисуем псевдо-элементом */
    transition: color 0.5s ease;
  }

  /* Текст поверх всех слоёв */
  .Projects-Main .Links button > span {
    position: relative;
    z-index: 3;
  }

  .Projects-Main .Links button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #2178c8 0%, #103b62 86.06%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
  }

  .Projects-Main .Links button::after {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1.143px;
    border-radius: inherit;
    background: linear-gradient(90deg, #2178c8 0%, #103b62 86.06%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
  }

  .Projects-Main .Links button:not(.Active):hover {
    color: #fff;
  }
  .Projects-Main .Links button:not(.Active):hover::before,
  .Projects-Main .Links button:not(.Active):hover::after {
    opacity: 1;
  }

  /* Active: сразу фон+рамка и белый текст */
  .Projects-Main .Links button.Active {
    color: #fff;
  }
  .Projects-Main .Links button.Active::before,
  .Projects-Main .Links button.Active::after {
    opacity: 1;
  }

  .Projects-Main .Info {
    display: flex;
    gap: 20px;
  }

  .Projects-Main .Info:not(.Active) {
    display: none;
  }

  .Projects-Main .Info .Banner {
    border-radius: 8.644px;
    background: #141416;
    border: 1px solid #474747;
    overflow: hidden;
    width: 505px;
    transition: 0.5s ease;
  }

  .Projects-Main .Info .Banner .ImgContainer {
    height: 296px;
    overflow: hidden;
  }

  .Projects-Main .Info .Banner .ImgContainer img {
    width: 100%;
  }

  .Projects-Main .Info .Banner .BannerInfo {
    padding: 32px 0px 0px 42px;
  }

  .Projects-Main .Info .Banner h3 {
    color: #fff;
    font-size: 35px;
    font-weight: 500;
    line-height: 111%;
  }

  .Projects-Main .Info .Banner p {
    color: #e4e4e7;
    font-size: 17.031px;
    font-weight: 500;
    line-height: 24.698px; /* 145.014% */
  }

  .Projects-Main .Info:nth-child(4) .Banner h3 {
    font-size: 26px;
  }

  .Projects-Main .Info .Banner a {
    color: #fff;
    font-size: 13.016px;
    font-weight: 700;
    line-height: 100%;
    width: 109px;
    height: 33px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(90deg, #2178c8 0%, #103b62 86.06%);
    border-radius: 6px;
    margin-top: 10px;
    transition: 0.3s;
  }

  .Projects-Main .Info .Banner a:hover {
    box-shadow: 0px 0px 14.5px 0px rgba(255, 255, 255, 0.25);
  }

  .Projects-Main .Info .Stats {
    border-radius: 10px;
    background: #1e1e1e;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 34px;
    width: 343px;
    border-radius: 11.432px;
    border: 1px solid #474747;
    background: #141416;
    transition: 0.5s ease;
  }

  .Projects-Main .Info .Stats h3 {
    color: #fff;
    font-size: 36.583px;
    font-weight: 700;
    text-transform: uppercase;
  }

  .Projects-Main .Info .Stats p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 16.053px;
    font-weight: 400;
  }

  .Projects-Main .Info .Stats a {
    color: #fff;
    font-size: 13.016px;
    font-weight: 700;
    line-height: 100%;
    width: 149px;
    height: 33px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(90deg, #2178c8 0%, #103b62 86.06%);
    border-radius: 6px;
    transition: 0.3s;
  }

  .Projects-Main .Info .Stats a:hover {
    box-shadow: 0px 0px 14.5px 0px rgba(255, 255, 255, 0.25);
  }

  .Projects-Main .Info .Stats > div:last-child {
    display: flex;
    gap: 40px;
    margin-top: auto;
  }

  .Projects-Main_mobile {
    display: none;
  }
}

@media (min-width: 1800px) {
  .Projects-Main {
    width: 1420px;
  }

  .Projects-Main .Info .Stats {
    width: 408px;
  }
}

/* Секция форма */
.custom-select {
  position: relative;
  cursor: pointer;
  width: 100%;
}
.select-options li:nth-last-child(1) {
  border: none;
}

.FormSection {
  width: 100%;
  margin: auto;
  border-radius: 15.212px;
  margin: 16px auto 43px auto;
  padding: 29px 14px 34px 14px;
}

.Form-Header {
  margin-bottom: 18px;
}

.Form-Header p {
  color: #fff;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.086px;
}

.FormSection form {
  height: 293px;
  border-radius: 17.036px;
  background: #fff;
  padding: 37px 24px 18px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.FormSection form input[type="text"] {
  font-size: 12.613px;
  font-weight: 400;
  padding: 12px 20px 12px 20px;
  border-radius: 7.883px;
  border: 1px solid #2374a6;
  background: rgba(30, 29, 29, 0);
  color: #000;
  outline: none;
}

.FormSection form [type="text"]::-webkit-input-placeholder {
  color: rgba(24, 24, 24, 0.7);
}

.select-menu span {
  color: rgba(24, 24, 24, 0.7);
  font-size: 12.613px;
  font-weight: 400;
}

.FormButtonContainer {
  background: linear-gradient(90deg, #2178c8 0%, #103b62 86.06%);
  border-radius: 6.814px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.FormButtonContainer span {
  font-size: 12.493px;
  font-weight: 700;
  line-height: 100%;
  color: #fff;
  position: absolute;
  transition: 0.3s ease;
}

.FormSection form [type="submit"] {
  height: 40px;
  color: #fff;
  font-size: 12.493px;
  font-weight: 700;
  line-height: 100%;
  background: none;
  border-radius: 6.814px;
  cursor: pointer;
  transition: 0.3s ease;
  width: 100%;
  opacity: 0;
  background: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0.2) 100%
    ),
    linear-gradient(268deg, #1c67ac -18.3%, #41ccff 35.05%, #41ffef 98.28%);
}

.FormButtonContainer:hover input {
  outline: none;
  opacity: 1;
}

.FormButtonContainer:hover span {
  opacity: 0;
}

/* .FormButtonContainer::before{
    content: " ";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), linear-gradient(268deg, #1C67AC -18.3%, #41CCFF 35.05%, #41FFEF 98.28%);
  }  */

.FormSection form p {
  color: #2270a2;
  text-align: center;
  font-size: 9.46px;
  font-weight: 400;
}

.select-options li {
  padding: 14px 20px;
  color: #000;
  transition: 0.3s;
  cursor: pointer;
  font-weight: 400;
  font-size: 12.613px;
  border-bottom: 1px solid #2374a6;
}

.select-options {
  /* убираем display:none и всегда рендерим блок */
  display: block;
  position: absolute;
  top: 35px;
  left: 0;
  width: 100%;
  background: #fff;
  border-radius: 0 0 10px 10px;
  overflow: hidden;
  border-top: none;
  z-index: 10;
  border: 1px solid #2374a6;

  /* Скрываем через высоту и opacity */
  max-height: 0;
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;

  /* Плавный разворот и появление */
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out,
    transform 0.3s ease-out;
}

.custom-select.active .select-options {
  /* Раскрываем до нужной высоты (больше, чем реальная) */
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
  width: 100%;
  pointer-events: auto;
}

.custom-select.active .select-options {
  display: block;
  width: 100%;
}

.custom-arrow {
  transition: 0.3s;
}

.custom-select.active .custom-arrow {
  transform: rotate(90deg);
}

.select-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.613px;
  font-weight: 400;
  padding: 12px 20px 12px 20px;
  border-radius: 7.883px;
  border: 1px solid #2374a6;
  background: rgba(30, 29, 29, 0);
  color: #000;
}

.FormHeaderMobile {
  display: none;
}

.deskFormImg {
  display: none;
}
@media (max-width: 1439px) {
  .FormSection {
    overflow: visible;
    position: relative;
  }
}
.FormSection {
  position: relative;
}

@media (min-width: 1440px) {
  .Form-Header {
    display: none;
    overflow: hidden;
  }

  .FormSection form {
    width: 640px;
    margin-left: auto;
    padding: 40px 80px 53px 80px;
    height: auto;
    gap: 18px;
  }

  .FormSection form .FormHeaderMobile {
    display: block;
    color: #111b23;
    font-size: 36px;
    font-weight: 500;
    letter-spacing: -0.231px;
    text-align: left;
    width: 515px;
  }
  .select-header {
    font-size: 22px;
    padding: 22px 30px;
    border-radius: 13px;
  }
  .FormSection form input[type="text"] {
    font-size: 22px;
    padding: 22px 30px;
    border-radius: 13px;
  }

  .select-menu span {
    font-size: 22px;
  }

  .FormSection form [type="submit"] {
    font-size: 22px;
    height: 72px;
  }

  .FormButtonContainer span {
    font-size: 22px;
  }

  .FormSection form p {
    font-size: 16px;
    text-align: left;
  }

  .select-options {
    width: 100%;
    top: 59px;
    left: 0;
  }

  .select-options li {
    font-size: 22px;
  }

  .deskFormImg {
    display: block;
    position: absolute;
    width: 699px;
    bottom: 0px;
    top: 0px;
    left: 0px;
    right: 0px;
    height: 772px;
  }
}

@media (min-width: 1800px) {
  .deskFormImg {
    display: block;
    position: absolute;
    width: 699px;
    bottom: 0px;
    top: 0px;
    left: 0px;
    right: 0px;
    height: 772px;
  }

  .FormSection form {
    width: 936px;
  }
  .select-options {
    width: 100%;
    top: 59px;
  }
}

/* Секция партнёры */

.PartnersSection .wrap {
  width: 100%;
  margin: auto;
}

.PartnersSection .items {
  display: flex;
  flex-wrap: nowrap;
  width: max-content; /* ширина = всем .item внутри */
  animation: scroll 50s linear infinite;
  will-change: transform;
}

.PartnersSection .item img {
  height: 42px;
  user-select: none;
  object-fit: contain;
}

@media (min-width: 980px) {
  .PartnersSection .item img {
    height: auto;
  }
}
