html {
  width: 100%;
  height: 100%;
  scroll-behavior: smooth;
}

body {
  height: 100%;
  margin: 0;
  padding: 0;
  position: relative;
}

body.menu-open {
  overflow: hidden;
}

/* Top menu */
header {
  position: fixed;
  top: 0;
  z-index: 99;
  width: 100%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  transition: all 0.3s ease;
  padding-top: 20px;
}

header.header--scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  /* top: -20px; */
}

header.header--scrolled .nav-buttons .top-menu__link {
  color: rgba(0, 0, 0, 1);
}

header.header--scrolled .nav-buttons .top-menu__toggle svg path {
  fill: rgba(0, 0, 0, 0.6);
}

header.header--scrolled .nav-buttons .top-menu__item:hover {
  background: rgba(255, 255, 255, 0.4);
  color: rgba(0, 0, 0, 0.6);
}

header.header--scrolled .logo svg path {
  fill: rgba(99, 107, 190, 1);
}
header.header--scrolled .head-contact_item,
header.header--scrolled .head-contact_item a {
  color: rgba(0, 0, 0, 1);
}

header .container {
  padding-right: 36px;
}

.head-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.head-menu_left {
  display: flex;
  align-items: center;
  gap: 20px 65px;
  width: 100%;
}

.nav-buttons {
  width: 100%;
}

.head-contact_item {
  line-height: 22px;
  white-space: nowrap;
}

.head-contact_item a {
  color: rgba(255, 255, 255, 1);
}

.logo {
  max-width: 132px;
  height: 30px;
}

.head-contact {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px 32px;
}

.head-contact_left {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
}

.head-icon_contact {
  display: flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 768px) {
  .head-icon_contact {
    gap: 16px;
  }
}

.head-mobile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-nav-buttons {
  display: none;
}

.mobile-nav_contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}

.mobile-nav_contacts .head-contact_item {
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (min-width: 992px) {
  .head-mobile {
    display: none;
  }
  header.header--scrolled {
    top: -20px;
  }
}

/* Мобильная версия */
@media (max-width: 1450px) {
  header .container {
    padding-left: 36px;
  }
  .head-menu_left {
    gap: 20px 30px;
  }
  .head-contact {
    flex-wrap: wrap;
  }
}

@media (max-width: 991px) {
  header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background-color: rgba(255, 255, 255, 0.9);
    padding-top: 0;
  }
  header .container {
    padding: 0;
  }
  .head-menu {
    display: none;
  }
  .nav-buttons {
    display: none;
  }
  .head-mobile {
    position: relative;
  }
  .head-mobile_phone {
    display: flex;
    cursor: pointer;
  }
  .head-mobile_right {
    margin-left: auto;
  }
  .head-mobile_unopened {
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
    transition: all 0.4s ease;
    min-height: 30px;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    cursor: pointer;
  }
  .head-mobile_unopened.hide {
    right: -100%;
  }
  .head-mobile_close {
    position: absolute;
    right: -100%;
    transition: all 0.4s ease;
    height: 24px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
  }
  .head-mobile_close.show {
    right: 12px;
  }
  .head-mobile_burger {
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
  }
  .head-mobile {
    padding: 10px 12px;
    position: relative;
  }
  .mobile-nav-buttons {
    position: fixed;
    top: 52px;
    left: -100%;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 1);
    padding: 32px 20px 42px 12px;
    width: 100%;
    height: calc(100vh - 52px);
  }
  .mobile-nav-buttons.open {
    left: 0;
    z-index: 10;
  }
}

/* home banner */
.home-banner .container {
  padding: 20px;
}

.home-banner_wrapper {
  border-radius: 24px;
  position: relative;
  padding: 366px 33px 33px;
  overflow: hidden;
}

.home-banner_wrapper::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 15%;
  width: 100%;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.65) 100%
  );
}

.home-banner_wrapper::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60%;
  width: 100%;
  backdrop-filter: blur(100px);
  -webkit-backdrop-filter: blur(100px);
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.01) 100%
  );
  /* Маска для плавного затухания */
  -webkit-mask: linear-gradient(
    0deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 50%,
    rgba(0, 0, 0, 0.9) 65%,
    rgba(0, 0, 0, 0.7) 85%,
    rgba(0, 0, 0, 0.1) 95%,
    rgba(0, 0, 0, 0) 100%
  );
  mask: linear-gradient(
    0deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 50%,
    rgba(0, 0, 0, 0.9) 65%,
    rgba(0, 0, 0, 0.7) 85%,
    rgba(0, 0, 0, 0.1) 95%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 0;
}

.home-banner_bg {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  left: 0;
  z-index: -1;
}

.home-banner_content {
  position: relative;
  z-index: 1;
}

.home-banner_bg img {
  object-fit: cover;
}

.home-banner_title {
  margin-bottom: 8px;
}

.home-banner_price {
  font-family: var(--theme-other-fonts);
  font-size: 58px;
  line-height: normal;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(91, 129, 223, 1);
  padding: 0 30px;
  box-shadow: 0px 0px 32px 0px rgba(52, 93, 197, 0.9);
  max-width: max-content;
  border-radius: 1000px;
  margin-bottom: 32px;
}

.home-banner_desc {
  margin-bottom: 68px;
  max-width: 552px;
}

.home-banner_btn {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 991px) {
  .home-banner .container {
    padding: 0;
  }
  .home-banner_wrapper {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
}

@media (max-width: 767px) {
  .home-banner_wrapper {
    padding: 225px 12px 12px;
  }
  .home-banner_price {
    font-size: 22px;
    line-height: normal;
    padding: 8px 16px;
    margin-bottom: 18px;
  }
  .home-banner_desc {
    margin-bottom: 24px;
    max-width: 321px;
    font-size: 14px;
    line-height: 18px;
  }
}

@media (max-width: 480px) {
  .home-banner_btn .btn {
    width: 100%;
  }
}

/* auditorium */
.auditorium-desc {
  padding-left: 10px;
  position: relative;
}

.auditorium-desc::before {
  content: "/";
  position: absolute;
  left: 0;
  top: 0;
}

.auditorium-contain {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.auditorium-text-block {
  max-width: 567px;
  width: 100%;
}

.auditorium-text-block h2 {
  margin-bottom: 16px;
}

.auditorium-desc {
  max-width: 480px;
}

.auditorium-items {
  max-width: 901px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.auditorium-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px 31px 30px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.auditorium-item:first-child {
  padding-top: 10px;
}

.auditorium-item__number {
  background: rgba(52, 93, 197, 0.5);
  border-radius: 32px;
  max-width: 44px;
  width: 100%;
  height: 44px;
  font-size: 18px;
  line-height: 32px;
  letter-spacing: -4%;
  color: rgba(255, 255, 255, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.auditorium-item__arrow {
  margin-left: auto;
  display: flex;
}

@media (max-width: 991px) {
  .auditorium-contain {
    flex-direction: column;
  }
  .auditorium-text-block,
  .auditorium-items {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .auditorium-desc {
    font-size: 14px;
    line-height: 18px;
  }
  .auditorium-item {
    padding: 16px 26px 16px 0;
    min-height: 74px;
    gap: 10px;
  }
  .auditorium-item:first-child {
    padding-top: 5px;
    min-height: 58px;
  }
  .auditorium-item__number {
    font-size: 14px;
    line-height: 18px;
    max-width: 32px;
    height: 32px;
    margin-right: 10px;
  }
  .auditorium-item__arrow svg {
    width: 23px;
    height: 21px;
  }
}

/* context  */
.context-contain {
  display: flex;
  align-items: center;
  gap: 20px;
}

.context-img {
  max-width: 610px;
  width: 100%;
}

.context-img img {
  height: auto;
  border-radius: 24px;
}

.context-text {
  max-width: 905px;
  width: 100%;
  margin-left: auto;
}

.context-text h2 {
  margin-bottom: 32px;
}

.context-items {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.context-item {
  display: flex;
  align-items: center;
  padding: 9px 16px 9px 46px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 32px;
  position: relative;
}

.context-item::before {
  content: "!";
  position: absolute;
  font-weight: 900;
  font-size: 18px;
  line-height: 32px;
  letter-spacing: -4%;
  left: 8px;
  width: 24px;
  height: 24px;
  border-radius: 1000px;
  background-color: rgba(255, 185, 186, 1);
  color: rgba(255, 255, 255, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 991px) {
  .context-contain {
    flex-direction: column;
  }
  .context-text {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .context-img img {
    object-fit: cover;
    max-height: 388px;
  }
  .context-text h2 {
    margin-bottom: 20px;
  }
  .context-items {
    gap: 12px;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .context-img img {
    max-height: 284px;
  }
  .context-items {
    flex-direction: column;
  }
  .context-item {
    max-width: 100%;
    font-size: 16px;
    line-height: 22px;
    padding: 8px 16px 8px 54px;
  }
  .context-item::before {
    left: 16px;
  }
  .context-text .btn {
    width: 100%;
  }
}

/* focus */
.focus .container {
  padding: 0 20px;
}

.focus-contain {
  padding: 45px;
  background: linear-gradient(
    180deg,
    rgba(52, 93, 197, 0.05) 0%,
    rgba(149, 255, 0, 0.15) 100%
  );
  border-radius: 32px;
  clip-path: polygon(
    /* Левый верхний угол */ 0% 0%,

    /* Правый верхний угол с плавным скосом */ 78% 0%,
    79% 0.05%,
    80% 0.1%,
    81% 0.8%,
    81.5% 1.75%,
    84% 10%,
    85% 13.5%,
    86% 15.5%,
    87% 16%,
    88% 16%,
    89% 16%,
    90% 16%,

    /* Горизонтальный участок с плавным переходом */ 98% 16%,
    97.6% 16%,
    99.2% 16%,
    98.4% 16%,
    99.3% 16.8%,
    99.8% 18%,
    100% 20.5%,

    /* Правый нижний угол */ 100% 98%,
    100% 99%,
    99% 100%,

    /* Левый нижний угол */ 2% 100%,
    0% 99%,
    0% 98%,

    /* Замыкание */ 0% 0%
  );
  position: relative;
}

.focus-contain h2 {
  margin-bottom: 32px;
  width: 80%;
}

.focus-content {
  display: flex;
  gap: 20px 36px;
}

.focus-content_left {
  display: flex;
  flex-direction: column;
  background-color: rgba(52, 93, 197, 1);
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAFVklEQVR4XpWWB67c2BUFb3g557T/hRo9/WUMZHlgr4Bg8Z4qQgQJlHI4A8SzFVrapvmTF9O7dmYRFZ60YiBhJRCgh1FYhiLAmdvX0CzTOpNE77ME0Zty/nWWzchDtiqrmQDeuv3powQ5ta2eN0FY0InkqDD73lT9c9lEzwUNqgFHs9VQce3TVClFCQrSTfOiYkVJQBmpbq2L6iZavPnAPcoU0dSw0SUTqz/GtrGuXfbyyBniKykOWQWGqwwMA7QiYA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TEsVjZqLaFVqJoPN9ODG70IPbfBHKK+/q/AWR0tJzYHRULOa4MP+W/HfGadZUbfw177G7j/OGbIs8TahLyynl4X4RinF793Oz+BU0saXtUHrVBFT/DnA3ctNPoGbs4hRIjTok8i+algT1lTHi4SxFvONKNrgQFAq2/gFnWMXgwffgYMJpiKYkmW3tTg3ZQ9Jq+f8XN+A5eeUKHWvJWJ2sgJ1Sop+wwhqFVijqWaJhwtD8MNlSBeWNNWTa5Z5kPZw5+LbVT99wqTdx29lMUH4OIG/D86ruKEauBjvH5xy6um/Sfj7ei6UUVk4AIl3MyD4MSSTOFgSwsH/QJWaQ5as7ZcmgBZkzjjU1UrQ74ci1gWBCSGHtuV1H2mhSnO3Wp/3fEV5a+4wz//6qy8JxjZsmxxy5+4w9CDNJY09T072iKG0EnOS0arEYgXqYnXcYHwjTtUNAcMelOd4xpkoqiTYICWFq0JSiPfPDQdnt+4/wuqcXY47QILbgAAAABJRU5ErkJggg==);
  border-radius: 24px;
  max-width: 781px;
  width: 100%;
  padding: 30px;
  position: relative;
}

.focus-content_img {
  max-width: 478px;
  top: 50px;
  right: 50px;
  width: auto;
  position: absolute;
}

.focus-content_text {
  max-width: 544px;
  margin-top: auto;
}

.focus-content_right {
  display: flex;
  flex-direction: column;
  max-width: 781px;
  width: 100%;
}

.focus-content_right h3 {
  margin-bottom: 16px;
}

.focus-content_items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.focus-content_item {
  display: flex;
  gap: 16px;
  box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.16);
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  padding: 18px;
}

.focus-content_item:nth-child(4n + 1) {
  max-width: 711px;
}
.focus-content_item:nth-child(4n + 2) {
  max-width: 667px;
}
.focus-content_item:nth-child(4n + 3) {
  max-width: 689px;
}
.focus-content_item:nth-child(4n + 4) {
  max-width: 667px;
}

.focus-item_icon {
  max-width: 53px;
  width: 100%;
  height: 54px;
  background-color: var(--theme-color);
  border-radius: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.focus-item_icon img {
  max-width: 34px;
  width: auto;
  height: auto;
}

.focus-item-contain {
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (max-width: 991px) {
  .focus-contain {
    clip-path: unset;
  }
  .focus-content {
    flex-direction: column;
  }
  .focus-contain h2 {
    width: 100%;
  }
  .focus-content_item:nth-child(4n + 1),
  .focus-content_item:nth-child(4n + 2),
  .focus-content_item:nth-child(4n + 3),
  .focus-content_item:nth-child(4n + 4) {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .focus {
    padding: 0;
  }
  .focus .container {
    padding: 0;
  }
  .focus-contain h2 {
    margin-bottom: 20px;
  }
  .focus-contain {
    border-radius: 0;
    padding: 30px 12px;
  }
  .focus-content_left {
    min-height: 255px;
    padding: 20px;
  }
  .focus-content_img {
    max-width: 175px;
    top: -22px;
    right: 20px;
    width: 100%;
    height: 100%;
  }
  .focus-content_text {
    max-width: 275px;
  }
  .focus-content_right h3 {
    margin-bottom: 8px;
  }
  .focus-item_title {
    font-size: 14px;
    line-height: 18px;
    font-weight: 400;
  }
  .focus-item_desc {
    font-size: 12px;
    line-height: normal;
  }
}

/* decision */
.decision-contain h2 {
  margin-bottom: 32px;
}

.decision-items {
  display: flex;
  gap: 32px;
}

.decision-item {
  display: flex;
  align-items: flex-end;
  border-radius: 24px;
  padding: 50px 40px 23px 50px;
  position: relative;
  overflow: hidden;
  width: 212px;
  cursor: pointer;
  transition: width 0.6s cubic-bezier(0.6, 0, 0.4, 1);
}

.decision-item::after {
  content: "";
  display: block;
  position: absolute;
  z-index: 0;
  mask: linear-gradient(
    90deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 50%,
    rgba(0, 0, 0, 0.9) 80%,
    rgba(0, 0, 0, 0.7) 89%,
    rgba(0, 0, 0, 0.1) 98%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask: linear-gradient(
    90deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 50%,
    rgba(0, 0, 0, 0.9) 80%,
    rgba(0, 0, 0, 0.7) 89%,
    rgba(0, 0, 0, 0.1) 98%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
  width: 95%;
  height: 100%;
  top: 0;
  right: 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: linear-gradient(
    89.5deg,
    rgba(0, 0, 0, 0.2) 2.06%,
    rgba(0, 0, 0, 0.044694) 39.98%,
    rgba(0, 0, 0, 0) 101.51%
  );
  transform: scale(-1, 1);
}

.decision-item_img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAFVklEQVR4XpWWB67c2BUFb3g557T/hRo9/WUMZHlgr4Bg8Z4qQgQJlHI4A8SzFVrapvmTF9O7dmYRFZ60YiBhJRCgh1FYhiLAmdvX0CzTOpNE77ME0Zty/nWWzchDtiqrmQDeuv3powQ5ta2eN0FY0InkqDD73lT9c9lEzwUNqgFHs9VQce3TVClFCQrSTfOiYkVJQBmpbq2L6iZavPnAPcoU0dSw0SUTqz/GtrGuXfbyyBniKykOWQWGqwwMA7QiYAxi+IlPdqo+hYHnUt5ZPfnsHJyNiDtnpJyayNBkF6cWoYGAMY92U2hXHF/C1M8uP/ZtYdiuj26UdAdQQSXQErwSOMzt/XWRWAz5GuSBIkwG1H3FabJ2OsUOUhGC6tK4EMtJO0ttC6IBD3kM0ve0tJwMdSfjZo+E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ffgYMJpiKYkmW3tTg3ZQ9Jq+f8XN+A5eeUKHWvJWJ2sgJ1Sop+wwhqFVijqWaJhwtD8MNlSBeWNNWTa5Z5kPZw5+LbVT99wqTdx29lMUH4OIG/D86ruKEauBjvH5xy6um/Sfj7ei6UUVk4AIl3MyD4MSSTOFgSwsH/QJWaQ5as7ZcmgBZkzjjU1UrQ74ci1gWBCSGHtuV1H2mhSnO3Wp/3fEV5a+4wz//6qy8JxjZsmxxy5+4w9CDNJY09T072iKG0EnOS0arEYgXqYnXcYHwjTtUNAcMelOd4xpkoqiTYICWFq0JSiPfPDQdnt+4/wuqcXY47QILbgAAAABJRU5ErkJggg==);
  background-repeat: repeat;
  background-size: auto;
  pointer-events: none;
  z-index: 0;
}

.decision-item_img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.decision-item_wrapper {
  display: flex;
  justify-content: space-between;
  max-width: 100%;
  width: 100%;
  gap: 8px;
}

.decision-item_contain {
  margin-top: auto;
  margin-bottom: 16px;
  z-index: 1;
  padding: 40px;
  max-width: 500px;
  width: 100%;
  border-radius: 32px;
  position: relative;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(var(--theme-color-rgb), 0.7);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 416'%3E%3Cpolygon points='0,0 410,0 500,83 500,416 0,416' fill='black'/%3E%3C/svg%3E");
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 416'%3E%3Cpolygon points='0,0 410,0 500,83 500,416 0,416' fill='black'/%3E%3C/svg%3E");
  mask-size: cover;
  mask-position: right;
  mask-repeat: no-repeat;
  overflow: hidden;

  /* Анимация высоты снизу */
  display: flex;
  flex-direction: column;
  /* max-height: 0; */
  transform-origin: bottom;
  /* transform: scaleY(0); */
  /* opacity: 0; */
  transition:
    max-height 0.6s cubic-bezier(0.6, 0, 0.4, 1),
    transform 0.6s cubic-bezier(0.6, 0, 0.4, 1),
    opacity 0.4s ease,
    position 0.2s ease 1s;
}

.decision-item_icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: auto;
}

.decision-item_title {
  margin-bottom: 16px;
}

.decision-item_text {
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  max-width: 384px;
}

.decision-item_text ul {
  padding-left: 18px;
}

.decision-item_name {
  position: relative;
  z-index: 1;
  writing-mode: sideways-lr;
  background-color: var(--theme-color);
  display: flex;
  min-height: 422px;
  gap: 16px;
  height: fit-content;
  align-items: center;
  margin-left: auto;
  margin-top: auto;
}

.decision-item_name svg {
  margin-bottom: 6px;
  transition: transform 0.3s ease;
}

.decision-item.open .decision-item_name svg {
  transform: rotate(135deg);
}

@media (min-width: 768px) {
  .decision-item.open::after {
    width: 18%;
  }

  .decision-item.open {
    width: 69.5%;
  }

  .decision-item_contain {
    min-height: 416px;
    max-height: 0;
    transform: scaleY(0);
    opacity: 0;
    position: absolute;
  }

  .decision-item.open .decision-item_contain {
    max-height: 416px;
    transform: scaleY(1);
    opacity: 1;
    position: relative;
  }
}

@media (max-width: 1400px) {
  .decision-items {
    gap: 16px 20px;
  }
  .decision-item {
    padding: 15px;
  }
  .decision-item_contain {
    margin-bottom: 0;
  }
}

@media (max-width: 991px) {
  .decision-item {
    width: 92px;
  }
  .decision-item_contain {
    padding: 25px;
  }
}

@media (max-width: 767px) {
  .decision-contain h2 {
    margin-bottom: 20px;
  }
  .decision-items {
    flex-direction: column;
  }
  .decision-item_contain {
    padding: 25px 20px 18px 18px;
  }
  .decision-item {
    width: 100%;
    padding: 0;
  }
  .decision-item::after {
    content: unset;
  }
  .decision-item_name,
  .decision-item_img {
    display: none;
  }
  .decision-item_contain {
    background: var(--theme-color);
    max-width: 100%;
    border-radius: 24px;
    mask: unset;
    clip-path: polygon(
      0% 0%,
      calc(100% - 88px) 0%,
      100% 66px,
      100% 100%,
      0% 100%
    );
  }
  .decision-item_text {
    max-width: max-content;
  }
  .decision-item_icon {
    margin-bottom: 20px;
    width: 74px;
    height: 74px;
  }
  .decision-item_title {
    margin-bottom: 8px;
  }
  .decision-item_text {
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
  }
}

/* portfolio */
.portfolio-head-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
}

.portfolio-scroll-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 5px 11px 5px 8px;
  border: 1px solid rgba(0, 0, 0, 0.7);
  border-radius: 1000px;
}

.portfolio-items-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  -ms-overflow-style: none;
  overflow: -moz-scrollbars-none;
  cursor: grab;
  user-select: none;
  /* scroll-behavior: smooth; */
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.portfolio-items-wrapper:active {
  cursor: grabbing;
}

/* хром, сафари */
.portfolio-items-wrapper::-webkit-scrollbar {
  width: 0;
}

.portfolio-items {
  display: flex;
  gap: 32px;
  overflow: visible;
  width: 100%;
  max-width: 100%;
}

.portfolio-item {
  background-color: var(--theme-color);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  gap: 20px 32px;
  flex-shrink: 0;
  width: calc(50% - 16px);
  min-width: 1054px;
}

.portfolio-item:last-child {
  margin-right: 32px;
}

.portfolio-item_content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 100%;
  width: 100%;
}

.portfolio-item_company {
  color: rgba(255, 255, 255, 0.7);
}

.portfolio-item_entity {
  cursor: pointer;
}

.portfolio-item_entity-title {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 6px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 255, 255, 1);
  max-width: max-content;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.portfolio-item_entity-title svg {
  transition: transform 0.3s ease;
}

.portfolio-item_entity.open .portfolio-item_entity-title svg {
  transform: rotate(135deg);
}

.portfolio-item_entity-desc {
  margin-top: 0;
  transform-origin: top;
  opacity: 0;
  max-height: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item_entity.open .portfolio-item_entity-desc {
  opacity: 1;
  max-height: 1000px;
  visibility: visible;
  margin-top: 8px;
}

.portfolio-item_entity-works {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 16px;
  border-radius: 24px;
}
.portfolio-item_entity-works .p1 {
  margin-bottom: 16px;
}

.portfolio-works {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.portfolio-work-item {
  position: relative;
  padding-left: 23px;
  display: flex;
  align-items: center;
}

.portfolio-work-item::before {
  content: url("data:image/svg+xml;charset=UTF-8, %3csvg width='15' height='18' viewBox='0 0 15 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M7.6044 10.4842C11.7728 6.11368 8.96251 1.54737 7.54145 0C3.15198 4.2 1.08884 6.09474 0.435959 8.11579C-1.55329 14.2737 3.72052 18 7.06758 18C16.0737 18 16.5158 8.11579 12.8465 5.21053L7.6044 10.4842Z' fill='url(%23paint0_linear_204_390)'/%3e%3cdefs%3e%3clinearGradient id='paint0_linear_204_390' x1='7.50268' y1='0' x2='7.50268' y2='18' gradientUnits='userSpaceOnUse'%3e%3cstop stop-color='%2395FF00'/%3e%3cstop offset='0.490385' stop-color='%23C4F481'/%3e%3cstop offset='1' stop-color='%23FFF4B3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e");
  position: absolute;
  left: 0;
}

.portfolio-item_img {
  position: relative;
  max-width: 372px;
  width: 100%;
  height: 100%;
}

.portfolio-item_img::before {
  content: url("data:image/svg+xml;charset=UTF-8,%3csvg width='70' height='70' viewBox='0 0 70 70' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M32.0321 28.6113C33.5942 27.0492 33.5942 24.5166 32.0321 22.9545L28.8508 19.7732C27.2887 18.2111 24.7561 18.2111 23.194 19.7732L19.753 23.2141C18.1909 24.7762 15.6583 24.7762 14.0962 23.2141L10.3956 19.5135C8.83352 17.9514 8.83352 15.4188 10.3956 13.8567L14.0962 10.1561C15.6583 8.59401 18.1909 8.59401 19.753 10.1561L23.194 13.597C24.7561 15.1591 27.2887 15.1591 28.8508 13.597L32.2918 10.1561C33.8539 8.59401 36.3865 8.59401 37.9486 10.1561L41.3895 13.597C42.9516 15.1591 45.4843 15.1591 47.0464 13.597L50.4873 10.1561C52.0494 8.59401 54.5821 8.59401 56.1442 10.1561L59.8448 13.8567C61.4069 15.4188 61.4069 17.9514 59.8448 19.5135L56.4031 22.9552C54.841 24.5172 54.841 27.0499 56.4031 28.612L59.8434 32.0522C61.4055 33.6143 61.4055 36.147 59.8434 37.7091L56.4031 41.1493C54.841 42.7114 54.841 45.2441 56.4031 46.8062L59.8441 50.2471C61.4062 51.8092 61.4062 54.3419 59.8441 55.904L56.1435 59.6046C54.5814 61.1666 52.0487 61.1666 50.4866 59.6046L46.7861 55.904C45.224 54.3419 45.224 51.8092 46.7861 50.2471L50.2263 46.8069C51.7884 45.2448 51.7884 42.7121 50.2263 41.15L47.0457 37.9694C45.4836 36.4073 42.951 36.4073 41.3889 37.9694L19.5134 59.8449C17.9513 61.407 15.4187 61.407 13.8566 59.8449L10.156 56.1443C8.59391 54.5822 8.59391 52.0495 10.156 50.4874L32.0321 28.6113ZM50.227 28.6106C51.7891 27.0485 51.7891 24.5159 50.227 22.9538L47.0464 19.7732C45.4843 18.2111 42.9516 18.2111 41.3895 19.7732L38.2083 22.9545C36.6462 24.5166 36.6462 27.0492 38.2083 28.6113L41.3889 31.7919C42.951 33.354 45.4836 33.354 47.0457 31.7919L50.227 28.6106Z' fill='white'/%3e%3c/svg%3e ");
  position: absolute;
  bottom: 10px;
  right: 10px;
}

.portfolio-item_img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAAN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W4irMMFNV4H0uqwS5ExsmP9AxbDTc9JwgneAT5vTiUSm1E7BSflSt3bfa1tv8Di3R8n3Af7MNWzs49hmauE2wP+ttrq+AsWpFG2awvsuOqbipWHgtuvuaAE+A1Z/7gC9hesnr+7wqCwG8c5yAg3AL1fm8T9AZtp/bbJGwl1pNrE7RuOX7PeMRUERVaPpEs+yqeoSmuOlokqw49pgomjLeh7icHNlG19yjs6XXOMedYm5xH2YxpV2tc0Ro2jJfxC50ApuxGob7lMsxfTbeUv07TyYxpeLucEH1gNd4IKH2LAg5TdVhlCafZvpskfncCfx8pOhJzd76bJWeYFnFciwcYfubRc12Ip/ppIhA1/mSZ/RxjFDrJC5xifFjJpY2Xl5zXdguFqYyTR1zSp1Y9p+tktDYYSNflcxI0iyO4TPBdlRcpeqjK/piF5bklq77VSEaA+z8qmJTFzIWiitbnzR794USKBUaT0NTEsVjZqLaFVqJoPN9ODG70IPbfBHKK+/q/AWR0tJzYHRULOa4MP+W/HfGadZUbfw177G7j/OGbIs8TahLyynl4X4RinF793Oz+BU0saXtUHrVBFT/DnA3ctNPoGbs4hRIjTok8i+algT1lTHi4SxFvONKNrgQFAq2/gFnWMXgwffgYMJpiKYkmW3tTg3ZQ9Jq+f8XN+A5eeUKHWvJWJ2sgJ1Sop+wwhqFVijqWaJhwtD8MNlSBeWNNWTa5Z5kPZw5+LbVT99wqTdx29lMUH4OIG/D86ruKEauBjvH5xy6um/Sfj7ei6UUVk4AIl3MyD4MSSTOFgSwsH/QJWaQ5as7ZcmgBZkzjjU1UrQ74ci1gWBCSGHtuV1H2mhSnO3Wp/3fEV5a+4wz//6qy8JxjZsmxxy5+4w9CDNJY09T072iKG0EnOS0arEYgXqYnXcYHwjTtUNAcMelOd4xpkoqiTYICWFq0JSiPfPDQdnt+4/wuqcXY47QILbgAAAABJRU5ErkJggg==);
  background-repeat: repeat;
  background-size: auto;
  pointer-events: none;
  z-index: 0;
  border-radius: 24px;
}

.portfolio-item_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  user-drag: none;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}

/* @media (max-width: 1200px) {
  .portfolio-item {
    min-width: 904px;
    flex-direction: column-reverse;
  }
} */

@media (max-width: 1024px) {
  .portfolio-item {
    min-width: 635px;
    flex-direction: column-reverse;
    justify-content: flex-end;
  }
  .portfolio-item_img {
    position: relative;
    width: 100%;
    max-height: 275px;
  }
  .portfolio-item_img img {
    height: 100%;
  }
  .portfolio-item_content {
    height: 100%;
  }
  .portfolio-item_entity-works {
    height: 100%;
  }
}

@media (max-width: 767px) {
  .portfolio-head-line {
    margin-bottom: 20px;
  }
  .portfolio-items {
    gap: 20px;
  }
  .portfolio-item {
    padding: 16px;
    min-width: 100%;
  }
  .portfolio-item_content {
    max-width: 100%;
  }
  .portfolio-item_img {
    margin: 0 auto;
  }
  .portfolio-item_img::before {
    content: unset;
  }
  .portfolio-item_company {
    font-size: 16px;
    line-height: 22px;
  }
  .portfolio-item_entity-title {
    font-size: 12px;
    line-height: normal;
    padding-bottom: 0;
    padding-right: 2px;
    gap: 8px;
  }
  .portfolio-item_entity-title svg {
    width: 11px;
    height: 11px;
  }
  .portfolio-item_entity-desc {
    font-weight: 500;
    font-size: 12px;
    line-height: normal;
  }
  .portfolio-item_entity-works .p1 {
    font-size: 16px;
    line-height: normal;
    margin-bottom: 8px;
  }
  .portfolio-works {
    gap: 10px;
  }
}

/* security */
.security-head {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 32px;
}

.security-quote {
  display: flex;
  max-width: 643px;
  gap: 32px;
}

.security-quote svg {
  max-width: 74px;
  width: 100%;
}

.security-quote_text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.security-content {
  background-color: var(--theme-color);
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
}

.security-content::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAFVklEQVR4XpWWB67c2BUFb3g557T/hRo9/WUMZHlgr4Bg8Z4qQgQJlHI4A8SzFVrapvmTF9O7dmYRFZ60YiBhJRCgh1FYhiLAmdvX0CzTOpNE77ME0Zty/nWWzchDtiqrmQDeuv3powQ5ta2eN0FY0InkqDD73lT9c9lEzwUNqgFHs9VQce3TVClFCQrSTfOiYkVJQBmpbq2L6iZavPnAPcoU0dSw0SUTqz/GtrGuXfbyyBniKykOWQWGqwwMA7QiYAxi+IlPdqo+hYHnUt5ZPfnsHJyNiDtnpJyayNBkF6cWoYGAMY92U2hXHF/C1M8uP/ZtYdiuj26UdAdQQSXQErwSOMzt/XWRWAz5GuSBIkwG1H3FabJ2OsUOUhGC6tK4EMtJO0ttC6IBD3kM0ve0tJwMdSfjZo+EEISaeTr9P3wYrGjXqyC1krcKdhMpxEnt5JetoulscpyzhXN5FRpuPHvbeQaKxFAEB6EN+cYN6xD7RYGpXpNndMmZgM5Dcs3YSNFDHUo2LGfZuukSWyUYirJAdYbF3MfqEKmjM+I2EfhA94iG3L7uKrR+GdWD73ydlIB+6hgref1QTlmgmbM3/LeX5GI1Ux1RWpgxpLuZ2+I+IjzZ8wqE4nilvQdkUdfhzI5QDWy+kw5Wgg2pGpeEVeCCA7b85BO3F9DzxB3cdqvBzWcmzbyMiqhzuYqtHRVG2y4x+KOlnyqla8AoWWpuBoYRxzXrfKuILl6SfiWCbjxoZJUaCBj1CjH7GIaDbc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);
  background-repeat: repeat;
  background-size: auto;
  pointer-events: none;
  z-index: 1;
  border-radius: 24px;
  opacity: 0.3;
}

.security-img {
  max-width: 955px;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.security-img::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(270deg, #345dc5 0%, rgba(52, 93, 197, 0) 80.45%);
  right: 0;
  top: 0;
}

.security-img svg {
  position: absolute;
  z-index: 1;
}

.security-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.security-items {
  padding: 40px 24px 40px 0;
  max-width: 643px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.security-item {
  padding: 16px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.security-item svg {
  max-width: 32px;
  width: 100%;
}

.security-item:first-child {
  padding-top: 0;
}

.security-description {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 16px;
  border-radius: 6px;
  text-align: center;
  margin-top: 24px;
}

@media (max-width: 767px) {
  .security .container {
    padding: 0;
  }
  .security-head {
    margin-bottom: 16px;
    padding: 0 12px;
  }
  .security-quote svg {
    display: none;
  }
  .security-quote_text {
    gap: 8px;
  }
  .security-content {
    flex-direction: column;
  }
  .security-img::after {
    right: 0;
    top: unset;
    bottom: 0;
    background: linear-gradient(
      0deg,
      #345dc5 4.95%,
      rgba(52, 93, 197, 0) 80.43%
    );
  }
  .security-img svg {
    width: 135px;
    height: 126px;
    margin-top: -20px;
  }
  .security-items {
    padding: 0 12px 12px 12px;
  }
  .security-item {
    padding: 8px 0;
  }
  .security-item svg {
    max-width: 24px;
    height: 24px;
  }
  .security-description {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 24px;
    border-bottom-left-radius: 24px;
    margin-top: 16px;
  }
}

/* specifics */
.specifics-contain {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
}

.specifics-head {
  grid-column: 1 / 2;
}

.specifics-head_contain {
  grid-column: 2 / 3;
  display: flex;
  margin-top: auto;
}

.specifics-head_info {
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  padding: 16px 24px;
  border-radius: 1000px;
  border: 1px solid rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  height: fit-content;
  white-space: nowrap;
}

.specifics-items {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 372px 372px 403px 403px;

  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.specific-item {
  position: relative;
  border-radius: 24px;
  padding: 32px;
  overflow: hidden;
  box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, 0.16);
}

.specific-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
}

/* .specific-item[style*="--bg-image"] {
  background-image: var(--bg-image);
  background-blend-mode: overlay;
} */

/* 1-й элемент - 372x333 */
.specific-item:nth-child(6n + 1) {
  grid-row: span 1;
  grid-column: span 1;
  min-height: 333px;
  background: linear-gradient(
    180deg,
    rgba(52, 93, 197, 0.15) 0%,
    rgba(52, 93, 197, 0.15) 100%
  );
}

.specific-item:nth-child(6n + 1)::after {
  background-image: var(--bg-image);
  background-blend-mode: overlay;
  background-size: cover;
  background-position: center;
  opacity: 0.05;
}

/* 2-й элемент - 372x682 */
.specific-item:nth-child(6n + 2) {
  grid-row: span 2;
  grid-column: span 1;
  min-height: 682px;
  background-size: cover;
  background-position: center;
  background-color: rgba(0, 0, 0, 0.85);
  background-image: var(--bg-image);
}

.specific-item:nth-child(6n + 2)::after {
  content: "";
  display: block;
  position: absolute;
  left: -1px;
  top: unset;
  right: -1px;
  bottom: -1px;
  height: 60%;
  width: 100%;
  -webkit-backdrop-filter: blur(13px);
  backdrop-filter: blur(13px);
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.01) 100%
  );
  -webkit-mask: linear-gradient(
    0deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 50%,
    rgba(0, 0, 0, 0.9) 65%,
    rgba(0, 0, 0, 0.7) 85%,
    rgba(0, 0, 0, 0.1) 95%,
    rgba(0, 0, 0, 0) 100%
  );
  mask: linear-gradient(
    0deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 50%,
    rgba(0, 0, 0, 0.9) 65%,
    rgba(0, 0, 0, 0.7) 85%,
    rgba(0, 0, 0, 0.1) 95%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 0;
}

.specific-item:nth-child(6n + 2) .specific-item_title,
.specific-item:nth-child(6n + 2) .specific-item_text {
  color: rgba(255, 255, 255, 1);
}

/* 3-й элемент - 372x333 */
.specific-item:nth-child(6n + 3) {
  grid-row: span 1;
  grid-column: span 1;
  min-height: 333px;
  grid-row: 2; /* помещаем во второй ряд */
  background-image: var(--bg-image);
  background-color: rgba(255, 255, 255, 0.95);
  background-blend-mode: overlay;
  background-size: cover;
  background-position: center;
}

/* 4-й элемент - 403x333 */
.specific-item:nth-child(6n + 4) {
  grid-row: span 1;
  grid-column: span 1;
  min-height: 333px;
  background: linear-gradient(
    180deg,
    rgba(149, 255, 0, 0.15) 0%,
    rgba(149, 255, 0, 0.15) 100%
  );
}

.specific-item:nth-child(6n + 4)::after {
  background-image: var(--bg-image);
  background-blend-mode: overlay;
  background-size: cover;
  background-position: center;
  opacity: 0.05;
}

/* 5-й элемент - 403x333 */
.specific-item:nth-child(6n + 5) {
  grid-row: span 1;
  grid-column: span 1;
  min-height: 333px;
  background-image: var(--bg-image);
  background-color: rgba(255, 255, 255, 0.95);
  background-blend-mode: overlay;
  background-size: cover;
  background-position: center;
}

.specific-item:nth-child(6n + 2) .specific-item_title,
.specific-item:nth-child(6n + 2) .specific-item_text {
  color: rgba(255, 255, 255, 1);
}

/* 6-й элемент - 822x333 */
.specific-item:nth-child(6n + 6) {
  grid-row: span 1;
  grid-column: span 2; /* 403+403 = 806, плюс gap */
  min-height: 333px;
  background: radial-gradient(
    77.67% 77.67% at 50% 9.96%,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.02) 100%
  );
}

.specific-item:nth-child(6n + 6)::after {
  background-image: var(--bg-image);
  background-blend-mode: overlay;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}

.specific-item_content {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  z-index: 2;
}

.specific-item_icon {
  margin-bottom: 20px;
}

.specific-item_icon img {
  max-width: 43px;
  object-fit: contain;
}

.specific-item_title {
  margin-top: auto;
  margin-bottom: 10px;
  font-family: var(--theme-other-fonts);
  font-weight: 400;
  font-size: 28px;
  line-height: 32px;
  color: rgba(0, 0, 0, 1);
}

.specific-item_text {
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  color: rgba(0, 0, 0, 0.7);
}

@media (max-width: 1600px) {
  .specifics-items {
    grid-template-columns: repeat(4, minmax(280px, 372px));
  }
}

@media (max-width: 1400px) {
  .specifics-items {
    grid-template-columns: repeat(4, minmax(250px, 1fr));
  }
  .specific-item {
    padding: 24px;
  }
  .specific-item_title {
    font-size: 24px;
    line-height: normal;
  }
}

@media (max-width: 1200px) {
  .specifics-items {
    grid-template-columns: repeat(2, minmax(280px, 1fr));
  }
  .specifics-head_contain {
    grid-column: 1 / 2;
  }
}

@media (max-width: 991px) {
  .specifics-contain {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .specifics-head {
    grid-column: 1;
    grid-row: 1;
  }

  .specifics-items {
    grid-column: 1;
    grid-row: 2;
    grid-template-columns: 1fr;
    margin-top: 0;
    gap: 8px;
  }

  .specifics-head_contain {
    grid-column: 1;
    grid-row: 3;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .specifics-head_info {
    padding: 0;
    border: unset;
    max-width: 302px;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
  }

  .specific-item {
    min-height: unset !important;
  }

  /* Остальные стили как в предыдущем варианте */
  .specific-item:nth-child(6n + 2) {
    grid-row: span 1;
    min-height: 400px;
  }

  .specific-item:nth-child(6n + 2)::after {
    height: 85%;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
  }

  .specific-item:nth-child(6n + 6) {
    grid-column: span 1;
  }

  .specifics-head_info {
    white-space: normal;
    text-align: center;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .specific-item_title {
    font-size: 18px;
    margin-bottom: 8px;
  }
  .specific-item_text {
    font-size: 14px;
    line-height: 18px;
  }
}

/* running line */
.running-line {
  box-shadow: 0px 4px 32px 0px rgba(0, 0, 0, 0.32) inset;
  background-color: var(--theme-color);
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 60px 0;
  padding: 45px 0;
}

.running-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAFVklEQVR4XpWWB67c2BUFb3g557T/hRo9/WUMZHlgr4Bg8Z4qQgQJlHI4A8SzFVrapvmTF9O7dmYRFZ60YiBhJRCgh1FYhiLAmdvX0CzTOpNE77ME0Zty/nWWzchDtiqrmQDeuv3powQ5ta2eN0FY0InkqDD73lT9c9lEzwUNqgFHs9VQce3TVClFCQrSTfOiYkVJQBmpbq2L6iZavPnAPcoU0dSw0SUTqz/GtrGuXfbyyBniKykOWQWGqwwMA7QiYAxi+IlPdqo+hYHnUt5ZPfnsHJyNiDtnpJyayNBkF6cWoYGAMY92U2hXHF/C1M8uP/ZtYdiuj26Ud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Lyynl4X4RinF793Oz+BU0saXtUHrVBFT/DnA3ctNPoGbs4hRIjTok8i+algT1lTHi4SxFvONKNrgQFAq2/gFnWMXgwffgYMJpiKYkmW3tTg3ZQ9Jq+f8XN+A5eeUKHWvJWJ2sgJ1Sop+wwhqFVijqWaJhwtD8MNlSBeWNNWTa5Z5kPZw5+LbVT99wqTdx29lMUH4OIG/D86ruKEauBjvH5xy6um/Sfj7ei6UUVk4AIl3MyD4MSSTOFgSwsH/QJWaQ5as7ZcmgBZkzjjU1UrQ74ci1gWBCSGHtuV1H2mhSnO3Wp/3fEV5a+4wz//6qy8JxjZsmxxy5+4w9CDNJY09T072iKG0EnOS0arEYgXqYnXcYHwjTtUNAcMelOd4xpkoqiTYICWFq0JSiPfPDQdnt+4/wuqcXY47QILbgAAAABJRU5ErkJggg==);
  background-repeat: repeat;
  background-size: auto;
  pointer-events: none;
  z-index: 1;
  border-radius: 24px;
  opacity: 0.3;
}

.running-line_contain {
  position: relative;
}

.running-line_contain h3 {
  text-align: center;
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
}

.line {
  display: flex;
  white-space: nowrap;
  gap: 76px;
  width: fit-content;
  color: rgba(255, 255, 255, 0.25);
  font-family: var(--theme-other-fonts);
  font-weight: 500;
  font-size: 48px;
  line-height: normal;
  text-transform: uppercase;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-shrink: 0;
}

.line::before {
  content: attr(data-content);
  display: flex;
  white-space: nowrap;
  flex-shrink: 0;
}

.line-item {
  display: inline-block;
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: var(--theme-other-fonts);
  font-weight: 500;
  font-size: 48px;
  line-height: normal;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}

.line-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -45px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.25);
  width: 12px;
  height: 12px;
  opacity: 1;
  border-radius: 1000px;
}

@media (max-width: 991px) {
  .running-line {
    margin: 0;
    padding: 30px 0;
  }

  .line {
    font-size: 28px;
  }
}

/* Адаптация для мобильных */
@media (max-width: 767px) {
  .running-line_contain h3 {
    font-size: 28px;
    line-height: 32px;
  }

  .line-item {
    font-size: 18px;
    line-height: normal;
  }
}

/* faq */
.faq-line_contain {
  display: flex;
  gap: 20px 32px;
}

.faq-line_head {
  max-width: 706px;
  width: 100%;
  margin-top: 64px;
}

.faq-line_head h2 {
  margin-bottom: 16px;
}

.faq-desc {
  position: relative;
  max-width: 650px;
  width: 100%;
  padding-left: 10px;
  position: relative;
}

.faq-desc::before {
  content: "/";
  position: absolute;
  left: 0;
  top: 0;
}

.faq-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 860px;
  width: 100%;
}

.faq-item {
  gap: 20px;
  border-radius: 24px;

  background-color: rgba(52, 93, 197, 0.15);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 32px;
}

.faq-item.open {
  background-color: var(--theme-color);
  color: rgba(255, 255, 255, 1);
}

.faq-item.open h3 {
  padding-bottom: 20px;
}

.faq-item_icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background-color: var(--theme-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-item_icon {
  background-color: rgba(255, 255, 255, 1);
}

.faq-item_icon svg {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-item_icon svg {
  transform: rotate(135deg);
}

.faq-item_icon svg path {
  fill: white;
  transition: fill 0.3s ease;
}

.faq-item.open .faq-item_icon svg path {
  fill: var(--theme-color);
}

/* Плавная анимация для ответа */
.faq-item_answer {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 0;
  padding-top: 0;
}

.faq-item.open .faq-item_answer {
  max-height: 1000px;
  opacity: 1;
  /* margin-top: 20px; */
  padding: 0 32px 32px 32px;
}

@media (max-width: 991px) {
  .faq-line_head {
    margin-top: 0;
  }
  .faq-line_contain {
    flex-direction: column;
  }
}
@media (max-width: 767px) {
  .faq-items {
    gap: 8px;
  }

  .faq-item h3 {
    font-size: 18px;
    padding: 24px;
  }

  .faq-item.open h3 {
    padding-bottom: 20px;
  }

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

  .faq-item_answer {
    font-size: 18px;
    line-height: 22px;
  }

  .faq-item.open .faq-item_answer {
    padding: 0 24px 24px;
  }
}

/* form */
.form-application {
  background: rgba(0, 0, 0, 0.85);
}

.form-container {
  display: flex;
  gap: 20px 62px;
}

.form-img {
  max-width: 696px;
  width: 100%;
  position: relative;
  padding-left: 263px;
  padding-bottom: 62px;
}

.form-img img {
  border-radius: 24px;
  object-fit: cover;
}

.form-img::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 457px;
  height: 459px;
  background: url(/local/templates/it_service/images/form-arrow.png)
    center/contain no-repeat;
}

.form {
  max-width: 680px;
}

.form .section-name {
  color: rgba(255, 255, 255, 0.7);
}

.form h2 {
  color: rgba(255, 255, 255, 1);
  margin-bottom: 16px;
  white-space: pre-wrap;
}

.form .p1 {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
}

.form-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 16px;
  margin-bottom: 32px;
}

.form-fields input {
  color: rgba(255, 255, 255, 1);
  font-family: var(--theme-fonts);
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  padding: 15px;
  border: unset;
  background: transparent;
  border-bottom: 0.5px solid rgba(255, 255, 255, 1);
  transition: all 0.3s ease;
  outline: none;
  width: 100%;
}

.input-wrapper {
  position: relative;
}

/* Имя и телефон - по 50% */
.input-wrapper.name,
.input-wrapper.phone {
  flex: 1;
  min-width: calc(50% - 8px);
}

/* Комментарий - 100% */
.input-wrapper.comment {
  flex: 0 0 100%;
}

.form-fields input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.form-politics {
  position: relative;
  margin-bottom: 32px;
  display: flex;
  gap: 8px;
}

.politics {
  position: relative;
  max-width: 25px;
  width: 100%;
  height: 25px;
}

.politics-title {
  font-size: 16px;
  line-height: normal;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.7);
  max-width: 575px;
  width: 100%;
}

.politics-title a {
  display: inline;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  text-decoration: underline;
}

.politics label {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  cursor: pointer;
  height: 24px;
  left: 0;
  position: absolute;
  top: 0;
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.politics label:after {
  border: 2px solid #fff;
  border-top: none;
  border-right: none;
  content: "";
  height: 6px;
  opacity: 0;
  position: absolute;
  top: 5px;
  transform: rotate(-45deg);
  width: 12px;
}

.politics input[type="checkbox"] {
  visibility: hidden;
}

.politics input[type="checkbox"]:checked + label {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.25);
}

.politics input[type="checkbox"]:checked + label:after {
  opacity: 1;
}

/* Подсветка только для полей с ошибкой */
.input-wrapper.error input {
  border: 0.5px solid rgba(255, 89, 89, 1);
}

/* Для чекбокса */
.form-politics.error .politics label {
  border-color: rgba(255, 89, 89, 1);
}

/* Сообщение об ошибке */
.error-message {
  position: absolute;
  bottom: -20px;
  left: 0;
  font-size: 14px;
  color: rgba(255, 89, 89, 1);
  display: none;
  font-family: var(--theme-fonts);
  white-space: nowrap;
}

.input-wrapper.error .error-message {
  display: block;
}

@media (max-width: 1400px) {
  .form-container {
    gap: 20px 42px;
  }

  .form-img {
    max-width: 586px;
    padding-left: 133px;
    padding-bottom: 42px;
  }

  .form-img::before {
    width: 367px;
    height: 369px;
  }
}

@media (max-width: 1200px) {
  .form-img {
    padding-left: 43px;
    padding-bottom: 42px;
  }
  .form-img::before {
    width: 267px;
    height: 269px;
  }
}

@media (max-width: 991px) {
  .form-container {
    flex-direction: column;
  }
  .form-img {
    max-width: 369px;
    margin: 0 auto;
    padding-left: 66px;
    padding-bottom: 0;
  }
  .form-img img {
    border-radius: 32px;
  }
  .form-img::before {
    width: 147px;
    height: 147px;
  }
  .form {
    max-width: 100%;
  }
  .input-wrapper.error input {
    border-top: unset;
    border-left: unset;
    border-right: unset;
  }
}

@media (max-width: 767px) {
  .form-img::before {
    bottom: 7px;
  }
  .form .p1 {
    margin-bottom: 20px;
  }
  .form-fields {
    gap: 8px;
    margin-bottom: 20px;
  }
  .input-wrapper.name,
  .input-wrapper.phone {
    min-width: 100%;
  }
  .politics-title {
    font-size: 14px;
    line-height: 18px;
    letter-spacing: -4%;
  }
  .form-politics {
    margin-bottom: 20px;
  }
  .btn.submit-form {
    margin: 0 auto;
    /* display: flex; */
  }
}

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(0, 0, 0, 0.85);
  padding: 40px 0;
}

.footer-container {
  display: flex;
  gap: 32px 60px;
  justify-content: space-between;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 370px;
  width: 100%;
}

.footer-menu {
  display: flex;
  justify-content: space-between;
  max-width: 401px;
  width: 100%;
  gap: 20px;
}

#footer-links {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

#footer-links li {
  list-style: none;
  color: rgba(255, 255, 255, 1);
  font-family: var(--theme-fonts);
  font-weight: 500;
  font-size: 18px;
  line-height: 22px;
  letter-spacing: -0.04em;
}

#footer-links li a {
  color: rgba(255, 255, 255, 1);
}

.subscribe-mailing {
  max-width: 352px;
  width: 100%;
}

@media (min-width: 1400px) {
  .footer-menu {
    margin-left: 84px;
  }
}

@media (min-width: 992px) {
  .copyright-mobile {
    display: none;
  }
}

@media (max-width: 991px) {
  footer {
    padding: 30px 0;
  }
  .footer-container {
    flex-direction: column;
  }
  .footer-copyright {
    order: 1;
  }
  .footer-menu {
    order: 3;
  }
  .subscribe-mailing {
    order: 2;
    max-width: 100%;
  }
  .copyright-desktop {
    display: none;
  }
  .copyright-mobile {
    order: 4;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: -12px;
  }
}

@media (max-width: 767px) {
  .footer-menu {
    gap: 68px;
    justify-content: flex-start;
  }
}
