@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");
@import url("https://fonts.googleapis.com/css?family=Nunito:400,500,600,700,800&display=swap");

* {
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: "Nunito", sans-serif;
  line-height: 1.5;
  color: #232425;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid #4a90e2;
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}


html {
    scroll-behavior: smooth; /* Включаем плавную прокрутку */
}

.MAIN {
  max-width: 1920px;
  height: 1226px;
}

.MAIN .overlap {
  position: relative;
  height: 1186px;
}

.MAIN .bg {
  position: absolute;
  max-width: 1920px;
  height: 1042px;
  top: 0;
  left: 0;
  object-fit: cover;
}

.MAIN .DESCRIPTION {
  position: absolute;
  width: 1382px;
  height: 413px;
  top: 773px;
  left: 270px;
}

.MAIN .overlap-group {
  position: relative;
  width: 1380px;
  height: 413px;
  background-color: #ffffff;
  border-radius: 10px 10px 45px 10px;
  box-shadow: 9px 9px 35px #0b3c711a;
}

.MAIN .TXT {
  top: 101px;
  left: 44px;
  font-weight: 400;
  color: #2c1258;
  font-size: 32px;
  line-height: 42px;
  position: absolute;
  font-family: "Nunito", Helvetica;
  letter-spacing: 0;
}

.MAIN .text-wrapper {
  font-weight: 500;
}

.MAIN .span {
  font-weight: 600;
}

.MAIN .ACTIVE-BTN {
  position: absolute;
  width: 279px;
  height: 76px;
  top: 264px;
  left: 666px;
}

.MAIN .div-wrapper {
  position: relative;
  width: 277px;
  height: 76px;
  background-color: #f17f21;
  border-radius: 44.76px;
}

.MAIN .div {
  top: 22px;
  left: 42px;
  font-weight: 700;
  color: #ffffff;
  font-size: 22px;
  line-height: 30.8px;
  position: absolute;
  font-family: "Nunito", Helvetica;
  text-align: center;
  letter-spacing: 0;
  white-space: nowrap;
}

.MAIN .BTN {
  all: unset;
  box-sizing: border-box;
  position: absolute;
  width: 287px;
  height: 76px;
  top: 264px;
  left: 1011px;
}

.MAIN .overlap-2 {
  position: relative;
  width: 285px;
  height: 76px;
  border-radius: 44.76px;
  border: 3px solid;
  border-color: #f17f21;
}

.MAIN .text-wrapper-2 {
  top: 20px;
  left: 30px;
  font-weight: 700;
  color: #f17f21;
  font-size: 22px;
  line-height: 30.8px;
  position: absolute;
  font-family: "Nunito", Helvetica;
  text-align: center;
  letter-spacing: 0;
  white-space: nowrap;
}

.MAIN .pic {
  position: absolute;
  width: 800px;
  height: 329px;
  top: 286px;
  left: 809px;
  object-fit: cover;
}

.MAIN .DESCRIPTION-2 {
  position: absolute;
  width: 455px;
  height: 308px;
  top: 290px;
  left: 346px;
}

.MAIN .p {
  width: 453px;
  top: 0;
  left: 0;
  font-weight: 700;
  color: #ffffff;
  font-size: 45px;
  line-height: 45px;
  position: absolute;
  font-family: "Nunito", Helvetica;
  letter-spacing: 0;
}

.MAIN .text-wrapper-3 {
  line-height: 47.9px;
}

.MAIN .text-wrapper-4 {
  font-size: 45.5px;
  line-height: 30.0px;
}

.MAIN .text-wrapper-5 {
  font-size: 25px;
  line-height: 30.0px;
}

.MAIN .overlap-group-wrapper {
  all: unset;
  box-sizing: border-box;
  position: absolute;
  width: 206px;
  height: 52px;
  top: 256px;
  left: 0;
}

.MAIN .overlap-group-2 {
  position: relative;
  width: 204px;
  height: 52px;
  background-color: #f17f21;
  border-radius: 32px;
}

.MAIN .text-wrapper-6 {
  top: 15px;
  left: 30px;
  font-weight: 800;
  color: #ffffff;
  font-size: 16px;
  line-height: 22px;
  position: absolute;
  font-family: "Nunito", Helvetica;
  text-align: center;
  letter-spacing: 0;
  white-space: nowrap;
}

.MAIN .NAV-MENU {
  position: absolute;
  width: 1294px;
  height: 94px;
  top: 50px;
  left: 313px;
  background-color: #ffffff;
  border-radius: 10px;
}

.MAIN .frame {
  position: relative;
  width: 1227px;
  height: 44px;
  top: 25px;
  left: 33px;
}

.MAIN .button {
  all: unset;
  box-sizing: border-box;
  position: absolute;
  width: 167px;
  height: 41px;
  top: 2px;
  left: 1079px;
}

.MAIN .overlap-group-3 {
  position: relative;
  width: 165px;
  height: 41px;
  background-color: #ffffff;
  border-radius: 20px;
  border: 2px solid;
  border-color: #f17f21;
}

.MAIN .text-wrapper-7 {
  top: 9px;
  left: 16px;
  font-weight: 800;
  color: #f17f21;
  font-size: 13px;
  line-height: 19px;
  position: absolute;
  font-family: "Nunito", Helvetica;
  text-align: center;
  letter-spacing: 0;
  white-space: nowrap;
}

.MAIN .navbar {
  position: absolute;
  width: 646px;
  height: 44px;
  top: 0;
  left: 291px;
}

.MAIN .text-wrapper-8 {
  left: 11px;
  font-weight: 400;
  white-space: nowrap;
  position: absolute;
  top: 9px;
  font-family: "Nunito", Helvetica;
  color: #232425;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 24px;
}

.MAIN .text-wrapper-9 {
  width: 69px;
  left: 225px;
  font-weight: 400;
  position: absolute;
  top: 9px;
  font-family: "Nunito", Helvetica;
  color: #232425;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 24px;
}

.MAIN .text-wrapper-10 {
  left: 428px;
  font-weight: 400;
  white-space: nowrap;
  position: absolute;
  top: 9px;
  font-family: "Nunito", Helvetica;
  color: #232425;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 24px;
}

.MAIN .text-wrapper-11 {
  left: 131px;
  font-weight: 800;
  white-space: nowrap;
  position: absolute;
  top: 9px;
  font-family: "Nunito", Helvetica;
  color: #232425;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 24px;
}

.MAIN .text-wrapper-12 {
  left: 548px;
  font-weight: 400;
  white-space: nowrap;
  position: absolute;
  top: 9px;
  font-family: "Nunito", Helvetica;
  color: #232425;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 24px;
}

.MAIN .text-wrapper-13 {
  left: 337px;
  font-weight: 400;
  white-space: nowrap;
  position: absolute;
  top: 9px;
  font-family: "Nunito", Helvetica;
  color: #232425;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 24px;
}

.MAIN .logo {
  position: absolute;
  width: 173px;
  height: 46px;
  top: -1px;
  left: -16px;
  object-fit: cover;
}
/* Inject original CSS here */

.main {
  max-max-width: 1920px;
  margin: 0 auto;
  position: relative;
}

.content-wrapper {
  position: relative;
  min-height: 1186px;
}

.background {
  max-width: 1920px;
  align: center;
  height: auto;
  display: block;
  max-height: 1042px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  width: 100%;
  min-width: 1920px;
}

.hero {
  position: absolute;
  left: 50%;
  bottom: 5%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1382px;
  padding: 40px;
  background-color: #ffffff;
  border-radius: 10px 10px 45px 10px;
  box-shadow: 9px 9px 35px rgba(11, 60, 113, 0.1);
}

.hero-content {
  max-width: 1300px;
  margin: 0 auto;
}

.hero-title {
  font-family: "Nunito", Helvetica, Arial, sans-serif;
  color: #2c1258;
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 80px;
  margin-top: 40px;
}

.hero-title-main {
  font-weight: 500;
  font-size: 32px;
  line-height: 131%;
  color: #2c1258;
}

.hero-title-sub {
  font-weight: 500;
  font-size: 32px;
  line-height: 131%;
  color: #2c1258;
}

.hero-image {
  position: absolute;
  max-width: 800px;
  height: auto;
  top: 25%;
  right: 20%;

  /* Фиксируем позицию относительно изначального центра */
  left: calc(50% + 200px); /* Центр экрана + смещение вправо */
  transform: translateX(-50%);
  z-index: 10;

  /* Запрещаем любое горизонтальное смещение */
  margin-left: 0 !important;
  margin-right: 0 !important;
  right: auto !important;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  position: absolute;
  right: 5%;
  bottom: 10%;
}

.cta-button {
  display: inline-block;
  padding: 20px 40px;
  border-radius: 44.76px;
  font-family: "Nunito", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-primary {
  background-color: #f17f21;
  color: #ffffff;
}

.cta-secondary {
  border: 3px solid #f17f21;
  color: #f17f21;
}

.cta-primary:hover {
  background-color: #d86d1b;
}

.cta-secondary:hover {
  background-color: #f17f21;
  color: #ffffff;
}

.description {
  position: absolute;
  max-width: 455px;
  top: 25%;
  left: 18%;

  /* Фиксируем позицию относительно изначального центра */
  left: calc(50% - 705px + 18%); /* Центр экрана + смещение влево */
  transform: translateX(-50%);
  z-index: 10;

  /* Запрещаем любое горизонтальное смещение */
  margin-left: 0 !important;
  margin-right: 0 !important;
  right: auto !important;
}

.description-title {
  font-family: "Nunito", Helvetica, Arial, sans-serif;
  color: #ffffff;
  margin-bottom: 30px;
}

.description-title-main {
  font-size: 45px;
  line-height: 1.06;
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
}

.description-title-sub {
  font-size: 25px;
  line-height: 1.2;
  font-weight: 700;
}

.cta-small {
  font-size: 16px;
  padding: 15px 30px;
}

.btn-back{
  position: absolute;
  width: 324px;
  height: 64px;
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1294px;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 25px 33px;
}

.navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: block;
}

.logo img {
  width: 173px;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  padding: 0;
}

.nav-links a {
  font-family: "Nunito", Helvetica, Arial, sans-serif;
  color: #232425;
  font-size: 18px;
  position: relative;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #f17f21;
}

@media (max-width: 1200px) {
  .hero-image {
    max-width: 600px;
  }

  .description {
    left: 10%;
  }
}

@media (max-width: 992px) {
  .hero-image {
    position: static;
    margin: 0 auto;
    display: block;
  }

  .description {
    position: static;
    max-width: 100%;
    text-align: center;
    padding: 60px 20px;
  }

  .header {
    position: static;
    transform: none;
    margin-bottom: 20px;
  }

  .navigation {
    flex-direction: column;
    gap: 20px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero {
    position: static;
    transform: none;
    border-radius: 0;
  }

.cta-buttons {
  display: flex;
  gap: 20px;
  position: relative;
  left: 20%; /* Сдвигаем блок кнопок на 20% вправо */
}

  .cta-button {
    width: 100%;
    max-width: 200px;
  }
}

.about {
    padding: 80px 0;
}

.about_content {
    display: flex;
    justify-content: flex-start; /* Начинаем с левого края */
    align-items: center;
    max-width: 1620px;
    margin: 0 auto;
    flex-direction: row; /* Картинка слева, текст справа */
    transform: translateX(-10%); /* Смещаем весь блок на 10% влево */
}

.about_text {
    max-width: 465px;
}

.about_title {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 42px;
    line-height: 253%;
    color: #2c1258;
}

.about_description {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 18px;
    line-height: 189%;
    color: #604b83;
}

.about_highlight {
    font-family: var(--font-family);
    font-weight: 700;
}

.about_image {
    width: 100vw; /* Полная ширина экрана */
    height: 475px;
    object-fit: cover;
    margin-left: 0;
    transform: translateX(-10%); /* Смещаем картинку на 10% влево */
}

.TITLE {
  text-align: center; /* Центрируем заголовок */
  font-size: 42px;
  font-weight: 500;
  color: #2c1258;
  margin-bottom: 40px;
}

.uslugi {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: 762px;
  margin: 0 auto;
  position: relative;
  transform: translateX(-35%);
}

article {
  position: relative;
  width: 184px; /* Ширина для каждого блока */
  height: 150px; /* Высота каждого блока */
  text-align: center;
}

article .text-wrapper,
article .text-wrapper-2,
article .text-wrapper-3,
article .text-wrapper-4 {
  font-family: "Nunito-Regular", Helvetica;
  font-weight: 400;
  font-size: 16px;
  color: #2c1258;
  line-height: 16px;
  margin-top: 10px;
}

article .rectangle {
  width: 25px;
  height: 25px;
  background-color: #f17f21;
  margin: 10px auto;
}

article .obrabotka,
article .prognozirovanie,
article .consulting,
article .obosnovania {
  width: 25px;
  height: 25px;
  margin: 0 auto;
  object-fit: contain;
}

article .overlap-group-wrapper,
article .overlap-wrapper,
article .div-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

article .div {
  width: 100%;
  height: 80%;
  background-color: #ffffff;
  box-shadow: 0px 20px 60px rgba(0, 0, 0, 0.05);
}

.TXT {
  width: 100%;
  margin-top: 40px;
  transform: translateX(28%);
  padding: 40px;
}

.TXT ul {
  list-style: none;
  padding: 0;
}

.TXT li {
  display: flex;
  align-items: baseline; /* Выравнивание по базовой линии */
  margin-bottom: 12px;
}

.galka {
  width: 15px;
  height: 15px;
  margin-right: 15px;
  margin-top:5px;
  object-fit: contain;
  align-self: flex-start; /* Убедимся, что галочка будет выровнена с текстом */
}

.text-wrapper-5,
.text-wrapper-6,
.p {
  font-family: "Nunito-Regular", Helvetica;
  font-weight: 400;
  font-size: 16px;
  color: #2c1258;
  line-height: 28px;
  margin-top: 0; /* Убираем лишние отступы */
}

.article-container {
  display: flex;
  gap: 20px;
  align-items: center;
}

.service-button {
  display: flex;
  position: absolute;
  left: 30%;
}

.pic3 {
  position: absolute; /* Сделаем картинку независимой */
  top: 1900px;
  right: 275px; /* Размещаем картинку справа */
  width: 564px;
  height: 430px;
  object-fit: cover;
}

.auditoria {
  max-width: 1920px;
  margin: 0 auto;
  margin-top: 200px;
}

.overlap {
  position: relative;
  min-height: 1116px;
  background-image: url("./images/bg2.png");
  background-size: cover;
  background-position: 50% 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.description {
  margin-bottom: 2rem;
}

.btn {
  all: unset;
  box-sizing: border-box;
  width: 236px;
  height: 65px;
  background-color: #f17f21;
  border-radius: 40.26px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease;
  margin-left: 40px;
  margin-top: 310px;
}

.btn:hover {
  background-color: #d86d1b;
}

.btn-text {
  font-weight: 700;
  color: #ffffff;
  font-size: 20.1px;
  font-family: "Nunito", Helvetica, Arial, sans-serif;
}

.txt {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 1200px;
}

.txt-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.txt-title {
  font-weight: 400;
  color: #2c1258;
  font-size: 20px;
  line-height: 1.5;
  font-family: "Nunito", Helvetica, Arial, sans-serif;
}

.txt-description {
  font-weight: 400;
  color: #604b83;
  font-size: 15px;
  line-height: 1.87;
  font-family: "Nunito", Helvetica, Arial, sans-serif;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 768px) {
  .overlap {
    padding: 1rem;
  }

  .txt {
    grid-template-columns: 1fr;
  }
}

.txt-item:first-child {  /* Указываем на первый элемент в .txt */
  margin-left: 540px;
  margin-top: 50px;
  width: 250px;
}

.txt-item:nth-child(2) {  /* Указываем на первый элемент в .txt */
  margin-left: 230px;
  margin-top: 360px;
  width: 250px;
}

.txt-item:nth-child(3) {  /* Указываем на первый элемент в .txt */
  margin-left: 280px;
  margin-top: 50px;
  width: 250px;
}

.txt-item:nth-child(4) {  /* Указываем на первый элемент в .txt */
  margin-left: -30px;
  margin-top: 400px;
  width: 250px;
}

.PLUSY {
  width: 1920px;
  height: 776px;
}

.PLUSY .overlap-group {
  position: relative;
  height: 776px;
}

.PLUSY .TITLE {
  position: absolute;
  width: 713px;
  top: 39px;
  left: 603px;
  font-family: "Nunito", Helvetica;
  font-weight: 400;
  color: #2c1258;
  font-size: 42px;
  text-align: center;
  letter-spacing: 0;
  line-height: 56px;
}

.PLUSY .TXT {
  position: absolute;
  width: 1030px;
  height: 460px;
  top: 276px;
  left: 445px;
  margin-top: -10px;
}

.PLUSY .element {
  position: absolute;
  width: 246px;
  height: 127px;
  top: 0;
  left: 0;
}

.PLUSY .div {
  position: relative;
  width: 250px;
  height: 127px;
}

.PLUSY .text-wrapper {
  width: 245px;
  top: 43px;
  left: 1px;
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
  position: absolute;
  font-family: "Nunito", Helvetica;
  color: #2c1258;
  text-align: center;
  letter-spacing: 0;
}

.PLUSY .text-wrapper-2 {
  width: 246px;
  top: 0;
  left: 0;
  font-weight: 600;
  font-size: 20px;
  line-height: 30px;
  position: absolute;
  font-family: "Nunito", Helvetica;
  color: #2c1258;
  text-align: center;
  letter-spacing: 0;
}

.PLUSY .TXT-wrapper {
  position: absolute;
  width: 278px;
  height: 127px;
  top: 0;
  left: 371px;
}

.PLUSY .TXT-2 {
  position: relative;
  width: 282px;
  height: 127px;
}

.PLUSY .p {
  width: 270px;
  top: 43px;
  left: 4px;
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
  position: absolute;
  font-family: "Nunito", Helvetica;
  color: #2c1258;
  text-align: center;
  letter-spacing: 0;
}

.PLUSY .text-wrapper-3 {
  width: 278px;
  top: 0;
  left: 0;
  font-weight: 600;
  font-size: 20px;
  line-height: 30px;
  position: absolute;
  font-family: "Nunito", Helvetica;
  color: #2c1258;
  text-align: center;
  letter-spacing: 0;
}

.PLUSY .div-wrapper {
  position: absolute;
  width: 245px;
  height: 127px;
  top: 333px;
  left: 386px;
}

.PLUSY .TXT-3 {
  position: relative;
  width: 249px;
  height: 127px;
}

.PLUSY .element-2 {
  width: 245px;
  top: 43px;
  left: 0;
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
  position: absolute;
  font-family: "Nunito", Helvetica;
  color: #2c1258;
  text-align: center;
  letter-spacing: 0;
}

.PLUSY .text-wrapper-4 {
  width: 112px;
  top: 0;
  left: 67px;
  font-weight: 600;
  font-size: 19px;
  line-height: 30px;
  position: absolute;
  font-family: "Nunito", Helvetica;
  color: #2c1258;
  text-align: center;
  letter-spacing: 0;
}

.PLUSY .element-3 {
  position: absolute;
  width: 266px;
  height: 127px;
  top: 1px;
  left: 764px;
}

.PLUSY .TXT-4 {
  position: relative;
  width: 270px;
  height: 127px;
}

.PLUSY .text-wrapper-5 {
  width: 245px;
  top: 43px;
  left: 10px;
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
  position: absolute;
  font-family: "Nunito", Helvetica;
  color: #2c1258;
  text-align: center;
  letter-spacing: 0;
}

.PLUSY .text-wrapper-6 {
  width: 266px;
  top: 0;
  left: 0;
  font-weight: 600;
  font-size: 19px;
  line-height: 30px;
  position: absolute;
  font-family: "Nunito", Helvetica;
  color: #2c1258;
  text-align: center;
  letter-spacing: 0;
}

.PLUSY .bg {
  position: absolute;
  width: 1920px;
  height: 776px;
  top: 0;
  left: 0;
  object-fit: cover;
}
/* Original CSS code should be injected here */

.PLUSY {
  max-width: 1920px;
  margin: 0 auto;
}

.PLUSY .overlap-group {
  position: relative;
  min-height: 776px;
}

.PLUSY .TITLE {
  position: absolute;
  width: 100%;
  max-width: 713px;
  top: 39px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Nunito", Helvetica, Arial, sans-serif;
  font-weight: 400;
  color: #2c1258;
  font-size: 42px;
  text-align: center;
  letter-spacing: 0;
  line-height: 1.33;
}

.PLUSY .TXT {
  position: absolute;
  width: 100%;
  max-width: 1030px;
  top: 276px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.PLUSY .element,
.PLUSY .TXT-wrapper,
.PLUSY .div-wrapper,
.PLUSY .element-3 {
  flex-basis: calc(25% - 20px);
  margin-bottom: 20px;
}

.PLUSY .div,
.PLUSY .TXT-2,
.PLUSY .TXT-3,
.PLUSY .TXT-4 {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.PLUSY .text-wrapper,
.PLUSY .p,
.PLUSY .element-2,
.PLUSY .text-wrapper-5 {
  font-family: "Nunito", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  color: #2c1258;
  text-align: center;
  margin-top: 13px;
}

.PLUSY .text-wrapper-2,
.PLUSY .text-wrapper-3,
.PLUSY .text-wrapper-4,
.PLUSY .text-wrapper-6 {
  font-family: "Nunito", Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.5;
  color: #2c1258;
  text-align: center;
}

.PLUSY .bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
  z-index: -1;
}

@media (max-width: 768px) {
  .PLUSY .TXT {
    flex-direction: column;
    align-items: center;
  }

  .PLUSY .element,
  .PLUSY .TXT-wrapper,
  .PLUSY .div-wrapper,
  .PLUSY .element-3 {
    flex-basis: 100%;
    max-width: 300px;
  }
}

.projects {
  max-width: 1920px;
  height: 1871px;
  margin: 0 auto;
  padding: 2rem;
  font-family: "Nunito", Helvetica, Arial, sans-serif;
  color: #2c1258;
  background-color: #ffffff;
  background-image: url("./images/bg4.png");
  background-size: cover;
  background-position: 50% 50%;
}

.projects__container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.projects__title {
  font-size: 2.625rem;
  color: #ffffff;
  text-align: center;
  margin-bottom: 1rem;
  margin-top: 150px;
}

.projects__description {
  font-size: 1.5rem;
  color: #edf3ff;
  text-align: center;
  max-width: 42rem;
  margin-bottom: 3rem;
  line-height: 1.3;
}

..projects-tables {
  display: flex; /* Используем flexbox для расположения таблиц рядом */
  gap: 50px; /* Отступ между таблицами */
  justify-content: center; /* Центрируем таблицы */
  margin-top: 20px;
}

.locations-table-1{
  width: 1000px; /* Ширина каждой таблицы */
  table-layout: fixed; /* Фиксированная ширина столбцов */
  border-collapse: collapse; /* Убираем промежутки между ячейками */
  border: none; /* Убираем границы */
  margin-top: 319px;
}

.locations-table-1 td {
  padding: 10px; /* Отступы внутри ячеек */
}

.locations-table-1 td:nth-child(1) {
  position: relative;
  left: -60px;
  top: 2px
}

/* Выравнивание по правому краю для третьей колонки */
.locations-table-1 td:nth-child(3) {
  position: relative;
  right: -60px;
}

.locations-table-2 {
  width: 850px; /* Ширина таблицы */
  table-layout: fixed; /* Фиксированная ширина столбцов */
  border-collapse: collapse; /* Убираем промежутки между ячейками */
  border: none; /* Убираем границы */
  margin-top: 396px;
  margin-left: 75px;
}

.locations-table-2 td {
  padding: 10px; /* Отступы внутри ячеек */
}

.locations-table-2 td:nth-child(1) {
   position: relative;
   left: -108px;
   top: 2px
}

/* Выравнивание по правому краю для третьей колонки */
.locations-table-2 td:nth-child(3) {
   position: relative;
   left: 108px;
}

.descriptions-table-1{
  width: 1000px; /* Ширина каждой таблицы */
  table-layout: fixed; /* Фиксированная ширина столбцов */
  border-collapse: collapse; /* Убираем промежутки между ячейками */
  border: none; /* Убираем границы */
}

.descriptions-table-1 td {
  padding: 10px; /* Отступы внутри ячеек */
}

.descriptions-table-1 td:nth-child(1) {
  position: relative;
  left: -60px;
  top: 2px
}

/* Выравнивание по правому краю для третьей колонки */
.descriptions-table-1 td:nth-child(3) {
  position: relative;
  right: -60px;
}

.descriptions-table-2 {
  width: 850px; /* Ширина таблицы */
  table-layout: fixed; /* Фиксированная ширина столбцов */
  border-collapse: collapse; /* Убираем промежутки между ячейками */
  border: none; /* Убираем границы */
  margin-left: 75px;
}

.descriptions-table-2 td {
  padding: 10px; /* Отступы внутри ячеек */
}

.descriptions-table-2 td:nth-child(1) {
   position: relative;
   left: -108px;
   top: 2px
}

/* Выравнивание по правому краю для третьей колонки */
.descriptions-table-2 td:nth-child(3) {
   position: relative;
   left: 108px;
}

.locations-table-1 td, locations-table-2 td .descriptions-table-1, .descrptions-table-2 td {
  padding: 10px;
  vertical-align: top; /* Выравнивание по верхнему краю */
}

.project-card__location {
  font-family: "Nunito", sans-serif; /* Шрифт Nunito */
  font-weight: normal; /* Regular */
  font-size: 12px; /* Размер шрифта 12 */
  color: #604b83; /* Цвет текста */
  margin: 0;
  text-align: center;
}

.project-card__description {
  font-family: "Nunito", sans-serif; /* Шрифт Nunito */
  font-weight: normal; /* Regular */
  font-size: 1rem;
  color: #2c1258;
  font-size: 22px;
  margin: 0;
  text-align: center;
}

.additional-projects {
  width: 100%;
  max-width: 800px;
}

.additional-projects__title {
  font-size: 2.125rem;
  margin-bottom: 1.5rem;
  margin-left: -170px;
  margin-top: 105px;
}

.additional-projects__table {
  width: 100%;  /* Ширина таблицы на 100% */
  table-layout: fixed;  /* Фиксированная ширина столбцов */
  border-collapse: collapse;  /* Убираем промежутки между ячейками */
  margin-left: -160px;
  margin-top: 18px;
}

/* Устанавливаем фиксированную ширину для ячеек */
.additional-projects__table td {
  width: 390px;  /* Фиксированная ширина для столбцов */
  padding: 9px;  /* Отступы внутри ячеек */
  vertical-align: top;  /* Выравнивание по верхнему краю */
  text-align: left;  /* Выравнивание текста в ячейке */
}

/* Убираем маркеры списка */
.additional-projects__table li {
  list-style-type: none;  /* Убираем точки перед элементами списка */
  font-size: 1rem;
  color: #2c1258;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .projects__title {
    font-size: 2rem;
  }

  .projects__description {
    font-size: 1.25rem;
  }

  .project-card__description {
    font-size: 1.125rem;
  }

  .additional-projects__title {
    font-size: 1.75rem;
  }
}

.how-it-works {
  max-width: 1920px;
  position: relative;
  margin: 0 auto;
  background-image: url("./images/bg5.jpg");
  background-size: cover;
  background-position: 50% 50%;
  padding: 39px 20px;
  box-sizing: border-box;
  overflow: hidden;
}

.main-title {
  font-family: "Nunito", Helvetica, Arial, sans-serif;
  font-weight: 600;
  color: #ffffff;
  font-size: 42px;
  letter-spacing: 0;
  line-height: 56px;
  text-align: center;
  margin-bottom: 159px;
}

.features {
  display: grid;
  grid-template-columns: 442px 535px; /* Первая колонка - 442px, вторая - 535px */
  grid-template-rows: repeat(2, 290px); /* Высота каждой ячейки в левой колонке 290px */
  gap: 50px;
  max-width: 1020px; /* Ширина таблицы */
  height: 610px; /* Высота таблицы */
  position: relative; /* Относительное позиционирование */
  left: 532px; /* Сдвигаем на 82 пикселя вправо */
  top: 30px; /* Сдвигаем на 20 пикселей вниз */
}

.feature {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px;
  /* Убираем заливку и границы */
  background-color: transparent; /* Убираем заливку */
  border: none; /* Убираем границы */
}

.features .feature:nth-child(2),
.features .feature:nth-child(4){
  position: relative;
  left: 95px; /* Сдвигаем элементы правой колонки на 95 пикселей вправо */
}

.features .feature:nth-child(3){
  position: relative;
  top: 30px; /* Сдвигаем элементы правой колонки на 95 пикселей вправо */
}

.features .feature:nth-child(4){
  position: relative;
  top: 18px; /* Сдвигаем элементы правой колонки на 95 пикселей вправо */
}

.feature-title {
  font-size: 20px;
  font-weight: 600;
  color: #2c1258;
  margin-bottom: 10px;
  width: 442px;
}

.feature-description {
  font-size: 15px;
  color: #604b83;
  text-align: center;
  width: 442px;
}

@media (max-width: 768px) {
  .how-it-works {
    padding: 20px;
  }

  .main-title {
    font-size: 32px;
    line-height: 42px;
    margin-bottom: 100px;
  }
}

.partners {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
  padding: 39px 0;
}

.partners__title {
  font-family: "Nunito", Helvetica, Arial, sans-serif;
  font-weight: 400;
  color: #2c1258;
  font-size: 42px;
  text-align: center;
  letter-spacing: 1px;
  line-height: 56px;
  margin-bottom: 79px;
  margin-left: -350px;
}

.partners__content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 122px;
  position: relative;
}

.partners__swipe {
  position: absolute;
  display: flex;
  gap: 20px;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
}

.partners__swipe-dot {
  width: 7px;
  height: 7px;
  background-color: #222222;
  opacity: 40%
}

.partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 183px;
}

.partner__info {
  text-align: center;
  margin-top: 9px;
}

.partner__name {
  font-family: "Nunito", Helvetica, Arial, sans-serif;
  font-weight: 400;
  color: #604b83;
  font-size: 19px;
  line-height: 30px;
  margin-bottom: 1px;
}

.partner__description {
  font-family: "Nunito", Helvetica, Arial, sans-serif;
  font-weight: 400;
  color: #604b83;
  font-size: 15px;
  line-height: 24px;
}

.partner__logo {
  max-width: 100%;
  height: auto;
  mix-blend-mode: darken;
  transition: transform 0.3s ease;
}

.partner:first-child .partner__logo {
  width: 143px;
  height: 119px;
}

.partner:last-child .partner__logo {
  width: 180px;
  height: 65px;
  margin-top: 50px;
}

@media (max-width: 768px) {
  .partners__content {
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }

.partners__swipe {
  position: absolute;
  display: flex;
  gap: 20px;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
}
}

.partner__name,
.partner__description {
  transition: font-weight 0.3s ease; /* Плавный переход для жирности текста */
}

.partner:hover .partner__name,
.partner:hover .partner__description {
  font-weight: 700; /* Делает текст жирным */
}


/* При наведении на логотип Meriada (первый партнер), первый swipe-dot становится черным */
.partner:first-of-type:hover .partners__swipe-dot:nth-of-type(1){
  opacity: 1; /* Черный цвет для первого dot */
}

/* При наведении на логотип M2M3 (второй партнер), второй swipe-dot становится черным */
.partner:last-of-type:hover .partners__swipe-dot:nth-of-type(2){
  opacity: 1; /* Черный цвет для первого dot */
}


.support {
  max-width: 100%;
  height: auto;
}

.support__content {
  position: relative;
  height: 563px;
}

.support__text {
  position: absolute;
  width: 676px;
  height: 208px;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
}

.support__title {
  color: #2c1258;
  font-size: 42px;
  line-height: 56px;
  font-family: "Nunito", Helvetica, Arial, sans-serif;
  font-weight: 400;
  margin-bottom: 16px;
}

.support__description {
  width: 100%;
  max-width: 650px;
  color: #604b83;
  font-size: 18px;
  line-height: 34px;
  font-family: "Nunito", Helvetica, Arial, sans-serif;
  font-weight: 400;
}

.support__background {
  position: absolute;
  max-width: 1920px;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
  z-index: -1;
  display: block;
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  min-width: 1920px;
}

@media (max-width: 768px) {
  .support__content {
    height: auto;
    padding: 40px 20px;
  }

  .support__text {
    position: static;
    width: 100%;
    height: auto;
    transform: none;
  }

  .support__title {
    font-size: 32px;
    line-height: 42px;
  }

  .support__description {
    font-size: 16px;
    line-height: 28px;
  }
}

.footer {
  max-width: 1920px;
  margin: 0 auto;
  padding: 41px 315px 40px;
  font-family: "Nunito", Helvetica, Arial, sans-serif;
  color: #604b83;
}

.footer__content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 70px;
}

.footer__description {
  max-width: 264px;
}

.footer__logo {
  width: 169px;
  height: 46px;
  margin-bottom: 23px;
}

.footer__text {
  font-size: 18px;
  line-height: 1.74;
}

.footer__contacts {
  max-width: 269px;
}

.footer__title {
  font-weight: 600;
  font-size: 22px;
  color: #2c1258;
  margin-bottom: 18px;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 24px;
  max-width: 269px;
}

.mail__icon {
  width: 26px;
  height: 21px;
  margin-right: 16px;
}

.loco__icon {
  width: 20px;
  height: 26px;
  margin-right: 16px;
}

.footer__link,
.footer__address {
  transition: color 0.3s ease;
  font-size: 18px;
  line-height: 1.56;
  color: #604b83;
}

.footer__link:hover,
.footer__address:hover {
  color: #f17f21;
}

.footer__link-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 30px;
}

.footer__link-1 {
  display: block;
  width: 221px; /* Фиксированная ширина текста */
  overflow: hidden;
  text-overflow: ellipsis; /* Если текст слишком длинный, будет отображаться многоточие */
  text-decoration: none;
  color: #2c1258; /* Цвет текста, при необходимости можно поменять */
  font-size: 16px; /* Размер шрифта, при необходимости можно изменить */
}

.footer__link-2 {
  transition: color 0.3s ease;
  display: block;
  width: 221px; /* Фиксированная ширина текста */
  overflow: hidden;
  text-overflow: ellipsis; /* Если текст слишком длинный, будет отображаться многоточие */
  text-decoration: none;
  color: #2c1258; /* Цвет текста, при необходимости можно поменять */
  font-size: 16px; /* Размер шрифта, при необходимости можно изменить */
}

.footer__link-2:hover {
    color: #f17f21;
}

.footer__link {
  display: block;
  width: 142px; /* Фиксированная ширина текста */
  overflow: hidden;
  text-overflow: ellipsis; /* Если текст слишком длинный, будет отображаться многоточие */
  white-space: nowrap; /* Текст не будет переноситься на несколько строк */
  text-decoration: none;
  color: #2c1258; /* Цвет текста, при необходимости можно поменять */
  font-size: 16px; /* Размер шрифта, при необходимости можно изменить */
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 34px;
  border-top: 1px solid #dfdfdf;
}

.footer__legal {
  display: flex;
  gap: 16px;
}

.footer__legal-link,
.footer__copyright {
  font-size: 16px;
  line-height: 1.82;
  color: #604b83;
  transition: color 0.3s ease;
}

.footer__credits {
  font-size: 16px;
  line-height: 1.82;
}

.footer__credits-link {
  color: #407bff;
  margin-left: 7px;
}

@media (max-width: 1200px) {
  .footer {
    padding: 41px 5% 40px;
  }

  .footer__content {
    flex-wrap: wrap;
  }

  .footer__description,
  .footer__contacts,
  .footer__links {
    flex-basis: 100%;
    max-width: none;
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__legal {
    flex-direction: column;
    margin-bottom: 20px;
  }
}

.footer__link-1 {
  transition: color 0.3s ease;
}

.footer__link-1:hover {
  color: #f17f21;  /* Цвет при наведении */
}


.footer__legal-link:hover {
  color: #f17f21;  /* Цвет при наведении */
}

/* базовые стили модалки, чтобы она работала автономно */
.modal[aria-hidden="true"] { display: none; }
.modal {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  font-family: "Nunito", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
.modal__backdrop { position:absolute; inset:0; background: rgba(0,0,0,.35); }
.modal__dialog { position:relative; width:min(520px,92vw); background:#fff; border-radius:16px; box-shadow:0 20px 60px rgba(0,0,0,.25); overflow:hidden; }
.modal__header,.modal__footer { padding:16px 20px; background:#f8f7fb; }
.modal__title { margin:0; font-size:20px; color:#2c1258; }
.modal__close { position:absolute; top:10px; right:12px; background:transparent; border:0; font-size:28px; line-height:1; color:#604b83; cursor:pointer; }
.modal__body { padding:16px 20px; }
.modal__btn { width:100%; height:44px; border:0; border-radius:10px; background:#f17f21; color:#fff; font-weight:700; cursor:pointer; }
.modal__btn:hover { background:#d86f1d; }

/* Дополнительно для cookie-модалки */
#cookie-modal .modal__dialog {
  bottom: 40px;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  animation: slideUp .3s ease-out forwards;
}

@keyframes slideUp {
  from { transform: translate(-50%, 40px); opacity: 0; }
  to   { transform: translate(-50%, 0); opacity: 1; }
}

#cookie-modal .modal__backdrop {
  background: rgba(0,0,0,0); /* убираем затемнение фона */
  pointer-events: none;
}
