.template-content {
  display: flex;
  flex-direction: column;
}

.template-main--wrapper {
  height: calc(100vh - 70px);
  background-color: #0C171F;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  justify-content: center;
}

@media (max-width: 374px) {
  .template-main--wrapper  {
    overflow-x: hidden;
  }
}

.template-main--wrapper.asdue {
  background-image: url('../images/template/асдуэ/асдуэ-фон.jpg');
}

.template-main--wrapper.ska-sp {
  background-image: url('../images/template/ска-сп/ska-sp-bg.png');
}

.template-main--wrapper.stdm-e {
  background-image: url('../images/template/стдм/bg-main.png');
}

.template-main--wrapper.dis {
  background-image: url('../images/template/дис/bg-main.png');
}

.template-main--wrapper.ivk {
  background-image: url('../images/template/ивк-тдм/bg-main.png');
}

.template-main--wrapper.sktr {
  background-image: url('../images/template/сктр/bg-main.jpg');
}
.template-main--wrapper.dk-mk{
  background-image: url('../images/template/дк-мк/bg-main.jpg');
}
.template-main--wrapper.imsi-ai{
  background-image: url('../images/template/имси-аи/bg-main.jpg');
}

.template-main {
  color: white;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 24px 20px;
  justify-content: center;
}

.template-main h1,
.template-main h2 {
  text-align: left;
  max-width: 1300px;
}

.template-main p {
  max-width: 660px;
  font-weight: bold;
}

.template-main__buttons {
  display: flex;
  gap: 8px;
}

.template-main__buttons .button {
  min-width: 185px;
}

@media (max-width: 419px) {
  .template-main__buttons {
    flex-direction: column;
    align-self: flex-start;
  }
}

@media (min-width: 1080px) {
  .template-main--wrapper {
    margin-top: 94px;
    height: calc(100vh - 94px);
  }
  .template-main {
    padding: 0 40px;
    width: 100%;
    max-width: 1760px;
    justify-content: center;
  }
}

@media (min-width: 1920px) {
  .template-main--wrapper {
    margin-top: 104px;
    height: calc(100vh - 104px);
  }
  .template-main {
    padding: 0;
  }
}
@media (min-width: 2560px) {
  .template-main {
    max-width: 2240px;
  }
  .template-main--wrapper {
    margin-top: 115px;
    height: calc(100vh - 115px);
  }
}

/* template description system */
.template-system-description {
  margin: 100px 20px;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.template-system-description__left {
  display: flex;
  flex-direction: column;
  gap: 40px;
  /* max-width: 736px; */
}

.template-system-description__left h2,
.template-system-description__left h3 {
  text-align: left;
}

.template-system-description__left h2+p,
.template-system-description__left h3+p {
  color: var(--text-white-secondary);
}

.template-system-description__cards {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.template-system-description__card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  background-color: #FFFFFF1A;
  padding: 10px 16px;
  width: fit-content;
  /* Дополнительное подстраховывающее свойство */
}

.template-system-description-icon {
  display: inline-flex;
  width: 14px;
  height: 11px;
  flex-shrink: 0;
}

@media (min-width: 1080px) {
  .template-system-description {
    max-width: 1760px;
    margin: 100px auto;
    padding: 0 40px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .template-system-description__left {
    flex-basis: 50%;
  }

  .template-system-description__cards {
    margin-top: 46px;
  }

  .template-system-description__right img {
    /* max-width: 480px; */
    /* max-height: 311px; */
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
  }
}

@media (min-width: 1920px) {
  .template-system-description {
    padding: 0;
    margin: 140px auto;
  }
  .template-system-description__right img {
    max-width: 964px;
    max-height: 626px;
  }
}
@media (min-width: 2560px) {
  .template-system-description {
    max-width: 2240px;
    margin: 180px auto;
  }
  .template-system-description__right img {
    max-width: 1100px;
    max-height: 714px;
  }
}

/* template-privilege */
.template-privilege {
  color: white;
  margin: 100px 20px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.template-privilege h3{
  text-align: left;
}

.white .template-privilege {
  color: var(--bg-black);
}

.template-privilege__items {
  display: grid;
  grid-template-columns: 1fr;
  /* Одна колонка по умолчанию */
  gap: 80px 40px;
}

.template-privilege__item {
  display: flex;
  gap: 16px;
}

.white .template-privilege__item p {
  color: var(--text-black-secondary);
}

.template-privilege__item p {
  color: var(--text-white-secondary);
}

.white .template-privilege__item--img {
  border: 1px solid #0C171F1A;
}

.template-privilege__item--img {
  width: 80px;
  height: 80px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid #FFFFFF1A;
}

.template-privilege__item--img img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 374px) {
  .template-privilege .text-L {
    font-size: 15px;
  }
}

@media (min-width: 1080px) {
  .template-privilege {
    max-width: 1760px;
    margin: 100px auto;
    padding: 0 40px;
    justify-content: center;
  }

  .template-privilege h3{
    text-align: center;
  }

  .template-privilege__items {
    grid-template-columns: repeat(auto-fit, minmax(370px, 1fr));
    justify-content: center;
    /* align-items: center; - для grid это свойство работает иначе */
  }

  .template-privilege__item {
    /* width: 400px; */
  }
}

@media (min-width: 1280px) {
    .template-privilege__items {
    grid-template-columns: repeat(3, minmax(370px, 1fr));
    justify-content: center;
    /* align-items: center; - для grid это свойство работает иначе */
  }
}

@media (min-width: 1920px) {
  .template-privilege {
    padding: 0;
    margin: 140px auto;
  }

  .template-privilege__item {
    width: 506px;
  }

  .template-privilege__items {
    gap: 80px 120px;
    /* row-gap column-gap */
  }
}
@media (min-width: 2560px) {
  .template-privilege {
    max-width: 2240px;
    margin: 180px auto;
  }
}

/* template-slider */
.template-slider__wrapper {
  padding: 100px 20px;
}

.black .template-slider__wrapper {
  color: white;
}

.template-slider__wrapper h2,
.template-slider__wrapper h3 {
  margin-bottom: 48px;
  text-align: left;
}

.template-slider {
  max-width: 1760px;
  margin: 0 auto;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background-color: var(--bg-gray);
}

.black .template-slider {
  background-color: #FFFFFF1A;
}

.template-slider__header {
  padding: 16px;
  background: #987b7b0f;
  position: relative;
}

.black .template-slider__header {
  background: rgba(255, 255, 255, 0.06);
}

.pagination-swiper {
  overflow: hidden;
}

.template-slider__header::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
  background: transparent;
}

.template-slider__custom-pagination {
  display: flex;
  gap: 8px;
  width: auto;
  /* Убираем фиксированную ширину */
}

.template-slider__custom-pagination-item {
  padding: 10px 20px;
  background: transparent;
  border-radius: 10px;
  max-width: 260px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  border: 1px solid #0C171F1A;
  color: var(--text-black-secondary);
  /* white-space: nowrap; */
  width: auto !important;
  user-select: none;
  word-break: normal;
  /* Переопределяем ширину слайда */
  flex-shrink: 0;
  /* Запрещаем уменьшение */
}

.template-slider__custom-pagination-item.swiper-slide {
  height: auto;
  max-height: 100%;
  align-items: stretch;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.black .template-slider__custom-pagination-item {
  color: var(--text-white-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.template-slider__custom-pagination-item.active {
  background: #02A750;
  color: white;
}

/* Скрываем стандартные элементы Swiper */
.pagination-swiper .swiper-scrollbar,
.pagination-swiper .swiper-button-next,
.pagination-swiper .swiper-button-prev {
  display: none !important;
}

.swiper-slide.template-slider__swiper-slide {
  padding: 16px;
  display: flex;
  flex-direction: column-reverse;
  gap: 48px;
}

.template-slider__swiper-slide__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.template-slider__swiper-slide__text h3,
.template-slider__swiper-slide__text h4 {
  font-size: 24px;
  text-align: left;
}

.black .template-slider__swiper-slide__text .text-L:not(.text-bold) {
  color: var(--text-white-secondary);
}

.template-slider__swiper-slide__image {
  align-self: center;
}

.template-slider__swiper-slide__image img {
  width: 320px;
  height: 320px;
  border-radius: 10px;
}

.template-slider__swiper-slide__text .text-L:not(.text-bold) {
  color: var(--text-black-secondary);
}


.template-slider__slider-footer {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.template-slider__slider-footer .swiper-scrollbar-horizontal.swiper-scrollbar-horizontal {
  height: 2px;
  width: calc(100% - 172px);
  background-color: #0000001A;
  position: absolute;
  bottom: 44px;
  left: 0;
  border-radius: 10px;
  margin-left: 16px;
}

.black .template-slider__slider-footer .swiper-scrollbar-horizontal.swiper-scrollbar-horizontal {
  background-color: #FFFFFF1A;
}

.template-slider__slider-footer .swiper-scrollbar-drag {
  background: #02A750;
}

.black .template-slider__slider-footer .swiper-scrollbar-drag {
  background: #02A750;
}

.template-slider__slider-footer .template-slider__swiper-button-next,
.template-slider__slider-footer .template-slider__swiper-button-prev {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: auto;
  bottom: 16px;
}

.template-slider__slider-footer [class^="swiper-button-"]::after {
  content: "";
}

.template-slider__slider-footer .template-slider__swiper-button-next {
  right: 16px;
}

.template-slider__slider-footer .template-slider__swiper-button-prev {
  right: 88px;
  left: auto;
}

.black .swiper-button-prev, 
.black .swiper-button-next {
  background-color: #FFFFFF0F;
}



@media (min-width: 1080px) {
  .template-slider__wrapper {
    padding: 100px 40px;
  }

  .template-slider__wrapper h2,
  .template-slider__wrapper h3 {
    text-align: center;
  }

  .template-slider__header {
    padding: 16px 40px;
  }

  .template-slider__custom-pagination-item {
    font-size: 20px;
    max-width: 100%;
    padding: 10px 24px;
  }

  .swiper-slide.template-slider__swiper-slide {
    padding: 40px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 100px;
    
  }

  .template-slider__swiper-slide__image img {
    width: 400px;
    height: 400px;
    max-width: 400px;
  }

  .template-slider__swiper-slide__image {
    align-self: auto;
    /* display: flex;
    flex-direction: column;
    gap: 24px; */
  }

  .template-slider__swiper-slide__image .button {
    margin-top: 24px;
  }

  .template-slider__swiper-slide__text h3,
  .template-slider__swiper-slide__text h4 {
    font-size: 30px;
  }
}

@media (min-width: 1400px) {
  .template-slider__swiper-slide__image img {
    width: 620px;
    height: 620px;
    max-width: 620px;
  }
}

@media (min-width: 1920px) {
  .template-slider__wrapper {
    padding: 140px 0px;
  }
}
@media (min-width: 2560px) {
  .template-slider__wrapper {
    padding: 180px 0px;
  }
  .template-slider {
    max-width: 2240px;
  }
}

/* template-questions */
.template-questions {
  margin: 100px 20px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.template-questions--text {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.template-questions--text .text-L {
  color: var(--text-black-secondary);
}
.template-questions--text .button {
  min-width: 185px;
}
.template-questions--text > section {
  display: flex;
  gap: 8px;
}
@media (max-width: 419px) {
  .template-questions--text > section  {
    flex-direction: column;
    align-self: flex-start;
  }
}

.template-questions--img {
  display: block;
}

.template-questions h4 {
  text-align: left;
}

.template-questions p {
  max-width: 874px;
}

.template-questions .button {
  align-self: baseline;
}

@media (min-width: 1080px) {
  .template-questions {
    margin: 62px auto;
    max-width: 1760px;
    width: 100%;
    padding: 0 40px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
  }

  .template-questions--img {
    display: block;
    max-width: 442px;
    max-height: 367px;
  }
}

@media (min-width: 1920px) {
  .template-questions {
    padding: 0;
    margin: 62px auto;
  }
}

@media (min-width: 2560px) {
  .template-questions {
    max-width: 2240px;
    margin: 62px auto;
  }
}


/* Square Animation Styles */
.square-animation-section {
  /* background: #f5f5f5; */
  margin: 140px 0;
}

.square-animation-wrapper {
  display: flex;
  max-width: 1760px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  min-height: 100vh;
}

.square-text-container {
  flex: 1;
  padding: 0 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.square-text-section {
  min-height: 100vh;
  /* min-height: 600px; */
  max-width: 800px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
  border-bottom: 1px solid #0C171F1A;
  padding: 164px 0;
}

.square-text-section:first-child {
  /* margin-top: 200px; */
}

.square-text-section h3,
.square-text-section h4 {
  text-align: left;
}

.square-text-section.active {
  opacity: 1;
  transform: translateY(0);
}

.square-animation-container {
  width: 50%;
  position: sticky;
  top: 100px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  /* justify-content: center; */
  gap: 40px;
}

.square-animation-container h2,
.square-animation-container h3 {
  text-align: left;
  max-width: 620px;
}

.square-viewport {
  width: 620px;
  height: 620px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  isolation: isolate;
  contain: strict;
  transform-style: preserve-3d;
}

.square {
  width: 100%;
  height: 675px;
  position: absolute;
  top: -55px;
  left: 0;
  display: flex;
  /* align-items: center;
  justify-content: center; */
  color: white;
  font-size: 28px;
  font-weight: bold;
  will-change: clip-path, transform, opacity;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  transform: translateZ(0);
  background-color: #0C171F3D;
  clip-path: ellipse(900px 920px at 310px 920px);
  /* backface-visibility: hidden; */
}

.square img {
  position: absolute;
  top: 0px;
  left: 0;
  width: 620px;
  height: 675px;
  min-height: 675px;
  /* object-position: 0 0; */
  /* object-fit: contain; */
}

/* Mobile Adaptation */
@media (max-width: 1280px) {
  .square-animation-section {
    margin: 0;
  }
  .square-animation-wrapper {
    flex-direction: column;
    display: none;
  }

  .template-scada-animations--mobile h3{
    text-align: left;
    max-width: 350px;
    margin: 50px 0 48px;
  }

  .square-text-section {
    opacity: 1;
  }

  .square-text-container,
  .square-animation-container {
    width: 100%;
  }

  .square-text-container {
    padding: 0;
  }

  .square-animation-container {
    position: relative;
    padding: 0;
    gap: 48px;
    height: 100%;
    margin-bottom: 24px;
  }

  .square-text-section {
    padding: 24px 0;
    transform: translateY(0);
    justify-content: start;
    min-height: auto;
  }

  .square-viewport {
    max-width: 350px;
    max-height: 350px;
    width: 350px;
    height: 350px;
  }
  .square:first-child  {
    z-index: 10;
  }
  .square-text-section:first-child {
    margin-top: 0;
    min-height: auto;
  }
}

/* template-features */

.template-features {
  margin: 100px 20px;
}

.template-features h2,
.template-features h3 {
  text-align: left;
  margin-bottom: 42px;
}

.template-features__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.template-features__content--image {
  align-self: center;
}

.template-features__content--image img {
  width: 350px;
  height: 358px;
}

.template-features__content--list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: center;
}

.template-features__content--item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.template-features__content--item .number {
  color: var(--bg-black);
}

.template-features__content--card {
  padding: 20px;
  border: 1px solid #0C171F1A;
  border-radius: 10px;
  color: var(--text-black-secondary);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.template-features__content--card h4 {
  text-align: left;
  color: var(--text-black);
}

@media (min-width: 1080px) {
  .template-features {
    margin: 100px auto;
    max-width: 1760px;
    padding: 0 40px;
    width: 100%;
  }

  .template-features h2,
  .template-features h3 {
    margin-bottom: 80px;
    max-width: 880px;
  }

  .template-features__content {
    flex-direction: row;
    justify-content: space-between;
    gap: 100px;
  }

  .template-features__content--image {
    align-self: start;
  }

  .template-features__content--image img {
    width: 620px;
    height: 620px;
    min-width: 620px;
  }

  .template-features__content--list {
    gap: 24px;
  }

  .template-features__content--item {
    max-width: 800px;
    gap: 16px;
  }

  .template-features__content--card {
    padding: 32px;
    width: 100%;
  }
}

@media (min-width: 1920px) {
  .template-features {
    padding: 0;
    margin: 140px auto;
  }
}
@media (min-width: 2560px) {
  .template-features {
    max-width: 2240px;
    margin: 180px auto;
  }
}

/* template-video */

.template-video {
  margin: 100px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.template-video h2,
.template-video h3 {
  margin-bottom: 16px;
}

.template-video p {
  margin-bottom: 48px;
  color: var(--text-black-secondary);
}

.custom-video-player {
  position: relative;
  max-width: 1024px;
  padding: 6px;
  border: 1px solid #0C171F1A;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.06);
}

.video-element {
  width: 100%;
  display: block;
  border-radius: 10px;
  /* Скругление углов */
}

/* Стили для большой центральной кнопки */
.center-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: #02A750;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  opacity: 1;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.center-play-btn:hover {
  background: #028a43;
}

.center-play-btn svg {
  margin-left: 3px;
}

/* Скрываем кнопку при воспроизведении */
.video-element.playing+.center-play-btn {
  opacity: 0;
  pointer-events: none;
}

.video-controls {
  display: flex;
  align-items: center;
  padding: 10px;
  background: rgba(0, 0, 0, 0.7);
  position: absolute;
  bottom: 6px;
  left: 6px;
  right: 6px;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 10;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.custom-video-player:hover .video-controls {
  opacity: 1;
}

.play-btn,
.volume-btn,
.fullscreen-btn {
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  margin: 0 5px;
}

.progress-container {
  flex-grow: 1;
  height: 5px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 10px;
  cursor: pointer;
}

.progress-bar {
  height: 100%;
  background: #02A750;
  /* Зеленый цвет как у кнопки */
  width: 0%;
}

@media (min-width: 1080px) {
  .template-video {
    margin: 100px auto;
  }

  .template-video {
    width: 1024px;
  }

  .template-video h2,
  .template-video h3 {
    margin-bottom: 40px;
  }

  .template-video p {
    margin-bottom: 44px;
  }
}
@media (min-width: 1920px) {
  .template-video {
    margin: 140px auto;
  }
}
@media (min-width: 2560px) {
  .template-video {
    margin: 180px auto;
  }
}

/* template-tasks */

.template-tasks {
  margin: 100px 20px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.template-tasks--title {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.template-tasks--title p {
  color: #0C171F3D;
}

.template-tasks h2,
.template-tasks h3 {
  text-align: left;
}

.template-tasks--wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.template-tasks--items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.template-tasks--item {
  padding: 20px;
  border: 1px solid var(--black-stroke);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 490px;
}

.template-tasks--item h3,
.template-tasks--item h4 {
  text-align: left;
}

.template-tasks--item p {
  color: var(--text-black-secondary);
}

.template-tasks--image {
  width: 300px;
  height: 300px;
  align-self: center;
}

@media (min-width: 1080px) {
  .template-tasks {
    margin: 100px auto;
    max-width: 1760px;
    gap: 60px;
    padding: 0 40px;
    width: 100%;
  }

  .template-tasks--title p {
    text-align: center;
  }

  .template-tasks h2,
  .template-tasks h3 {
    text-align: center;
    max-width: 1300px;
    align-self: center;
  }

  .template-tasks--wrapper {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 60px;
  }

  .template-tasks--image {
    width: 440px;
    height: 440px;
    min-width: 440px;
  }

  .template-tasks--items {
    gap: 24px;
  }

  .template-tasks--item {
    gap: 24px;
    padding: 32px;
  }
}

@media (min-width: 1920px) {
  .template-tasks {
    padding: 0;
    margin: 140px auto;
  }
  .template-tasks--item {
    width: 490px;
  }

  .template-tasks--image {
    width: 620px;
    height: 620px;
    min-width: 620px;
  }

  .template-tasks--wrapper {
    gap: 80px;
  }
}
@media (min-width: 2560) {
  .template-tasks {
    max-width: 2240px;
    margin: 180px auto;
  }
}

/* template-economics */
.template-economics {
  margin: 100px 20px;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.template-economics--info {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.template-economics--info h2,
.template-economics--info h3 {
  text-align: left;
  max-width: 880px;
}

.template-economics--info img {
  width: 350px;
  height: 350px;
  align-self: center;
}

.template-economics--text {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.template-economics--item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 800px;
}

.template-economics--item h3,
.template-economics--item h4 {
  text-align: left;
}

.template-economics--item p {
  color: var(--text-white-secondary);
}

@media (min-width: 1080px) {
  .template-economics {
    max-width: 1760px;
    margin: 100px auto;
    flex-direction: row;
    gap: 80px;
    justify-content: space-between;
    padding: 0 40px;
    position: relative;
  }

  .template-economics--info {
    position: sticky;
    top: 100px;
    z-index: 10;
    align-self: flex-start
  }

  .template-economics--info img {
    width: 620px;
    height: 620px;
    min-width: 620px;
    align-self: start;
  }

  .template-economics--text {
    gap: 80px;
  }

  .template-economics--item {
    gap: 16px;
  }
}

@media (min-width: 1920px) {
  .template-economics {
    padding: 0;
    margin: 140px auto;
  }
  .template-economics--info {
    top: 110px;
  }
}
@media (min-width: 2560px) {
  .template-economics {
    max-width: 2240px;
    margin: 180px auto;
  }
  .template-economics--info {
    top: 180px;
  }
}

/* template-equipment */
.template-equipment {
  margin: 100px 20px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.template-equipment--left {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.template-equipment--left h2,
.template-equipment--left h3 {
  text-align: left;
}

.template-equipment--left ul .text-L {
  color: var(--text-black-secondary);
}

.template-equipment--right {
  /* background-color: #0000000F; */
  /* padding: 20px; */
  align-self: center;
}

.template-equipment--right img {
  width: 350px;
  height: 472px;
}

@media (min-width: 1080px) {
  .template-equipment {
    max-width: 1760px;
    margin: 100px auto;
    padding: 0 40px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .template-equipment--left {
    gap: 60px;
  }

  .template-equipment--right {
    padding: 0;
  }

  .template-equipment--right img {
    width: 679px;
    height: 920px;
    min-width: 679px;
  }
}

@media (min-width: 1920px) {
  .template-equipment {
    padding: 0;
    margin: 140px auto;
  }
}
@media (min-width: 2560px) {
  .template-equipment {
    max-width: 2240px;
    margin: 180px auto;
  }
}

/* template-modules */

.template-modules {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin: 100px 20px;
}

.template-modules h3 {
  text-align: left;
}

.template-modules--card {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  background-color: var(--bg-gray);
}

.template-modules--header {
  padding: 16px;
  background: #987b7b0f;
}

.template-modules--header img {
  width: 50px;
  height: 41px;
}

.template-modules--content {
  padding: 16px;
  display: flex;
  gap: 48px;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
}

.template-modules--content img {
  width: 316px;
  height: 316px;
}


@media (min-width: 1080px) {
  .template-modules {
    margin: 100px auto;
    max-width: 1760px;
    padding: 0 40px;
    gap: 60px;
  }

  .template-modules h3 {
    text-align: center;
  }

  .template-modules--header {
    padding: 10px 40px;
  }

  .template-modules--header img {
    width: 70px;
    height: 58px;
  }

  .template-modules--content {
    padding: 40px;
    flex-direction: row;
    justify-content: space-between;
    gap: 100px;
  }

  .template-modules--content img {
    width: 620px;
    height: 620px;
    min-width: 620px;
  }

  .template-modules--content .list {
    max-width: 960px;
  }
}

@media (min-width: 1920px) {
  .template-modules {
    margin: 140px auto;
    padding: 0;
  }
}

@media (min-width: 2560px) {
  .template-modules {
    margin: 180px auto;
    max-width: 2240px;
  }
}


/* template-animation-hover */
.template-animation-hover {
  margin: 100px 20px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.template-animation-hover h3 {
  text-align: left;
}
.template-animation-hover--card {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  background-color: var(--bg-gray);
}
.template-animation-hover--header {
  padding: 16px;
  background: #987b7b0f;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.template-animation-hover--header h4 {
  text-align: left;
}

.template-animation-hover--content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 16px;
}

.template-animation-hover__content-block {
  transition: all 0.3s ease;
}

.template-animation-hover__left-block,
.template-animation-hover__right-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.template-animation-hover__text-block {
  padding: 16px;
  border-radius: 8px;
  border: 1px solid #0C171F1A;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: flex-start;
  width: 100%;
  max-width: 614px;
  cursor: pointer;
}

.template-animation-hover__text-block:hover {
  background-color: #FFFFFF;
  color: #0C171F;
}

.template-animation-hover__text-block img{
  max-width: 394px;
}

.template-animation-hover__content-block.template-animation-hover__right-block .template-animation-hover__text-block {
  max-width: 490px;
}

.template-animation-hover__text-block p{
  color: #0C171FBD;
}

.template-animation-hover__text-dot {
  background-color: #02A750;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 8px solid white;
  display: block;
}

.template-animation-hover__image-block {
  width: 320px;
  height: 180px;
  border-radius: 8px;
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.template-animation-hover__center-rectangle {
  width: 320px;
  height: 320px;
  background-color: #0C171F1A;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  padding: 12px 0 0;
  position: relative;
  z-index: 2;
  order: -1;
}
.template-animation-hover__center-rectangle img {
  width: 162px;
}

.template-animation-hover__dot {
  background-color: #02A750;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 8px solid white;
  /* cursor: zoom-in; */
  position: absolute;
  transition: transform 0.3s ease;
  z-index: 3;
  display: none;
}

.template-animation-hover__dot.left-text-1 {
  top: 16%;
  left: 32%
}
.template-animation-hover__dot.left-image-text {
  top: 57%;
  left: 13%
}
.template-animation-hover__dot.right-text-1 {
  top: 31%;
  right: 20%
}
.template-animation-hover__dot.right-image-text {
  top: 72%;
  right: 10%
}

.template-animation-hover__dot:hover {
  /* transform: scale(1.1); */
}
.template-animation-hover__dot .square-asdue {
  display: block;
  background-color: transparent;
  border: 3px solid #B4B4B4;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: none;
}

/* Индивидуальные стили для каждого квадрата */
.template-animation-hover__dot.left-text-1 .square-asdue {
  border-top-right-radius: 10px;
  border-bottom: 0;
  border-left: 0;
  transform: translate(-2px, -2px);
}

.template-animation-hover__dot.left-image-text #square2 {
  /* Стили для второго квадрата */
  border-top-right-radius: 10px;
  border-bottom: 0;
  border-left: 0;
  transform: translate(-2px, -2px);
}
.template-animation-hover__dot.left-image-text #square21 {
  /* Стили для третьего квадрата */
  border-bottom-right-radius: 10px;
  border-top: 0;
  border-left: 0;
  top: 15px;
  bottom: auto;
  transform: translate(-2px, 2px);
  min-height: 80px;
}

.template-animation-hover__dot.right-text-1 .square-asdue {
  /* Стили для четвертого квадрата */
  border-top-left-radius: 10px;
  border-bottom: 0;
  border-right: 0;
  right: auto;
  transform: translate(2px, -2px);
}

.template-animation-hover__dot.right-image-text .square-asdue {
  /* Стили для пятого квадрата */
  border-top-left-radius: 10px;
  border-bottom: 0;
  border-right: 0;
  right: auto;
  transform: translate(2px, -2px);
}

.template-animation-hover__text-block--active,
.template-animation-hover__image-block--active {
  opacity: 1 !important;
  transform: scale(1.05) !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2) !important;
}

@media (min-width: 1080px) {
  .template-animation-hover {
    max-width: 1760px;
    margin: 100px auto;
    padding: 0 40px;
    gap: 80px;
  }
  .template-animation-hover h3 {
    text-align: center;
    max-width: 1000px;
    width: 100%;
    align-self: center;
  }
  .template-animation-hover--header {
    padding: 16px 40px;
  }
  .template-animation-hover--content {
    padding: 40px;
    flex-direction: row;
    align-items: start;
    gap: 28px;
    justify-content: space-between;
  }
  .template-animation-hover__center-rectangle {
    order: 0;
  }
  .template-animation-hover__center-rectangle {
    background: transparent;
    align-self: center;
    width: 398px;
    height: auto;
  }
  .template-animation-hover__center-rectangle img {
    width: 398px;
    min-width: 240px;
  }
  .template-animation-hover__content-block.template-animation-hover__right-block {
    align-items: end;
  }
  .template-animation-hover__left-block {
    align-items: start;
  }
  .template-animation-hover__image-block {
    max-width: 448px;
    width: 100%;
    min-width: 300px;
    height: auto;
  }
  .template-animation-hover__right-block .template-animation-hover__image-block {
    margin-top: 140px;
  }
  .template-animation-hover__dot .square-asdue {
    display: block;
  }
  .template-animation-hover__dot {
    display: block;
  }
}

@media (min-width: 1920px) {
  .template-animation-hover {
    padding: 0;
    margin: 140px auto;
  }
}

@media (min-width: 2560px) {
  .template-animation-hover {
    max-width: 2240px;
    margin: 140px auto;
  }
}

/* template-composition */
.template-composition {
  margin: 100px 20px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.template-composition h3 {
  text-align: left;
}
.template-composition--left {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.template-composition--left img{
  align-self: center;
  width: 320px;
  height: 320px;
  border-radius: 10px;
}
.template-composition--right {
  display: flex;
  flex-direction: column;
}

.template-composition--item {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px 0;
}

.template-composition--item h4 {
  text-align: left;
}

.template-composition--item .text-L:not(.text-bold) {
  color: var(--text-black-secondary);
}

@media (min-width: 1080px) {
  .template-composition {
    max-width: 1760px;
    width: 100%;
    margin: 100px auto;
    padding: 0 40px;
    flex-direction: row;
    justify-content: space-between;
    gap: 100px;
  }
  .template-composition--left {
    position: sticky;
    top: 100px;
    align-self: flex-start;
  }
  .template-composition h3 {
    min-width: 620px;
  }

  .template-composition img {
    width: 620px;
    height: 620px;
    align-self: flex-start;
  }
}

@media (min-width: 1920px) {
  .template-composition {
    padding: 0;
    margin: 140px auto;
  }
}
@media (min-width: 2560px) {
  .template-composition {
    max-width: 2240px;
    margin: 180px auto;
  }
  .template-composition--left {
    position: sticky;
    top: 110px;
    align-self: flex-start;
  }
}

/* scada */

/* scada-main */
.template-scada-main {
  height: auto;
  min-height: 294px;
  width: 100%;
  background-image: url('../images/template/scada/bg-main.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.template-scada-main.cubic {
  background-image: url('../images/template/cubic/bg-main-1920.png');
}
.template-scada-main.opc-server {
  background-image: url('../images/template/opc-server/bg-main-mobile.png');
}
@media (min-width: 500px) {
  .template-scada-main {
    background-image: url('../images/template/scada/bg-main-1280.png');
    background-position: center;
    background-size: cover;
  }
  .template-scada-main.cubic {
    background-image: url('../images/template/cubic/bg-main-1920.png');
  }
  .template-scada-main.opc-server {
    background-image: url('../images/template/opc-server/bg-main-1920.png');
  }
}
@media (min-width: 1080px) {
  .template-scada-main {
    min-height: 352px;
    margin-top: 94px;
  }
}
@media (min-width: 1600px) {
  .template-scada-main {
    background-image: url('../images/template/scada/bg-main-1920.png');
    min-height: 528px;
  }
  .template-scada-main.cubic {
    background-image: url('../images/template/cubic/bg-main-1920.png');
  }
}
@media (min-width: 1920px) {
  .template-scada-main {
    margin-top: 104px;
  }
}
@media (min-width: 2200px) {
  .template-scada-main {
    background-image: url('../images/template/scada/bg-main-2560.png');
    min-height: 854px;
  }
  .template-scada-main.cubic {
    background-image: url('../images/template/cubic/bg-main-1920.png');
  }
}
/* scada-about */
.template-scada-about {
  padding: 80px 16px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.template-scada-about--right .text-L {
  color: var(--text-black-secondary);
}

.template-scada-about--left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.template-scada-about--left .text-L a {
  color: var(--primary);
}

.template-scada-about--left h2 {
  text-align: left;
}

.template-scada-about--buttons {
  display: flex;
  gap: 8px;
}

@media (max-width: 393px) {
  .template-scada-about--buttons {
    flex-direction: column;
    align-items: flex-start;
  }
  .template-scada-about--buttons .button {
    min-width: 185px;
  }
}

.template-scada-about--right {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.template-scada-about--items {
  display: flex;
  flex-direction: column;
}

.template-scada-about--item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #0C171F1A;
}

.template-scada-about--item h4 {
  text-align: left;
}

@media (min-width: 1080px) {
  .template-scada-about {
    padding: 0px 40px;
    max-width: 1760px;
    margin: 40px auto;
    flex-direction: row;
    gap: 80px;
  }
  .template-scada-about--left {
    gap: 32px;
    min-width: 540px;
    position: sticky;
    top: 100px;
    align-self: flex-start;
  }
  .template-scada-about--item {
    flex-direction: row;
    justify-content: space-between;
    gap: 32px;
    padding: 32px 0;
  }
  .template-scada-about--item h4 {
    min-width: 160px;
  }
  .template-scada-about--item .text-L {
    max-width: 388px;
  }
}

@media (min-width: 1920px) {
  .template-scada-about {
    padding: 0px;
    margin: 80px auto;
  }
  .template-scada-about--left {
    gap: 40px;
    min-width: 900px;
    top: 110px;
  }
  .template-scada-about--item {
    flex-direction: row;
    gap: 32px;
    padding: 48px 0;
  }
  .template-scada-about--item h4 {
    min-width: 200px;
  }
  .template-scada-about--item .text-L {
    max-width: 568px;
    min-width: 568px;
  }
}

@media (min-width: 2560px) { 
  .template-scada-about {
    max-width: 2240px;
    margin: 80px auto;
  }
  .template-scada-about--left {
    gap: 48px;
    min-width: 1070px;
  }
  .template-scada-about--item h4 {
    min-width: 260px;
  }
  .template-scada-about--item .text-L {
    max-width: 770px;
  }
}

/* template-scada-ability */

.template-scada-ability {
  padding: 140px 16px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.template-scada-ability--title {
  align-self: center;
}
.template-scada-ability--items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.template-scada-ability--item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}
.template-scada-ability--icon {
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  border: 1px solid #0C171F1A;
}

.template-scada-ability--text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.template-scada-ability--text h4{
  text-align: left;
}
@media (max-width: 374px) {
  .template-scada-ability--text h4 {
    font-size: 20px;
  }
}
.template-scada-ability--text .text-L:not(.text-bold) {
  color: var(--text-black-secondary);
}

@media (min-width: 1080px) {
  .template-scada-ability {
    padding: 0 40px;
    margin: 100px auto;
    max-width: 1760px;
    width: 100%;
  }
  .template-scada-ability--items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 24px;
  }
  .template-scada-ability--items.cubic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    justify-content: space-between;
  }
  .template-scada-ability--items.cubic h4 {
    min-height: 80px;
    display: flex;
    /* justify-content: center; */
    align-items: center;
  }
  .template-scada-ability--icon {
    width: 64px;
    height: 64px;
    border-radius: 10px;
  }
  .template-scada-ability--icon svg {
    width: 32px;
    height: 32px;
  }
  .template-scada-ability--text {
    gap: 20px;
  }
  .template-scada-ability--text h4 {
    /* min-height: 64px; */
  }
}

@media (min-width: 1920px) { 
  .template-scada-ability {
    padding: 0;
    margin: 140px auto;
    gap: 100px;
  }
  .template-scada-ability--items {
    gap: 60px 120px;
  }
  .template-scada-ability--icon {
    width: 80px;
    height: 80px;
  }
  .template-scada-ability--icon svg {
    width: 40px;
    height: 40px;
  }
}

@media (min-width: 2560px) {
  .template-scada-ability {
    max-width: 2240px;
    margin: 180px auto;
  }
  .template-scada-ability--items {
    gap: 100px 120px;
  }
  .template-scada-ability--item {
    gap: 24px;
  }
  .template-scada-ability--icon {
    width: 100px;
    height: 100px;
  }
  .template-scada-ability--icon svg {
    width: 60px;
    height: 60px;
  }
  .template-scada-ability--text {
    gap: 24px;
  }
}

/* template-scada-projects */
.template-scada-projects {
  padding: 140px 16px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.template-scada-projects--item .text-L {
  color: var(--bg-black);
}
.template-scada-projects h3 {
  text-align: left;
}

.template-scada-projects--wrapper {
  display: flex;
  flex-direction: column;
  /* gap: 40px; */
}

.template-scada-projects--wrapper h4 {
  text-align: left;
}

.template-scada-projects--items {
  display: flex;
  flex-direction: column;
  /* gap: 40px; */
}

.template-scada-projects--item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-bottom: 1px solid #0C171F1A;
  padding: 40px 0;
}

.template-scada-projects--item img {
  max-width: 600px;
  max-height: 600px;
  /* align-self: center; */
}
.template-scada-projects--animated {
  display: flex;
  flex-direction: column-reverse;
  gap: 24px;
}

@media (min-width: 1080px) {
  .template-scada-projects{
    padding: 0 40px;
    max-width: 1760px;
    margin: 100px auto;
    gap: 60px;
    width: 100%;
  }
  .template-scada-projects h3 {
    max-width: 844px;
  }
  .template-scada-projects--wrapper {
    gap: 24px;
  }
  .template-scada-projects--item {
    flex-direction: row;
    align-items: center;
    gap: 40px;
    padding: 16px 0;
    overflow: hidden;
    justify-content: space-between;
  }
  .template-scada-projects--items {
    gap: 16px;
  }
  .template-scada-projects--item h4 {
    min-width: 200px;
  }
  .template-scada-projects--item img {
    margin-bottom: 0;
    width: 240px;
    height: 240px;
    max-width: 240px;
  }
  .template-scada-projects--item .text-L {
    max-width: 670px;
  }
  .template-scada-projects--animated {
    flex-direction: row;
    align-items: center;
    gap: 40px;
  }
  .template-scada-projects--item:hover .template-scada-projects--animated {
    transform: translateX(0);
  }
  .template-scada-projects--animated {
    transition: .5s ease;
    will-change: transform, opacity;
    transform: translateX(-280px);
  }
}

@media (min-width: 1920px) { 
  .template-scada-projects {
    padding: 0;
    margin: 140px auto;
    gap: 80px;
  }
  .template-scada-projects--item {
    cursor: pointer;
  }
  .template-scada-projects--item h4 {
    min-width: 670px;
  }
  .template-scada-projects--item img {
    width: 300px;
    height: 300px;
    max-width: 300px;
  }
  .template-scada-projects--animated {
    transform: translateX(-340px);
  }
  .template-scada-projects--item .text-L {
    max-width: 800px;
  }
}

@media (min-width: 2560px) {
  .template-scada-projects {
    max-width: 2240px;
    margin: 180px auto;
    gap: 100px;
  }

  .template-scada-projects--item {
    gap: 80px;
  }

  .template-scada-projects--item img {
    width: 400px;
    height: 400px;
    max-width: 400px;
  }
  .template-scada-projects--animated {
    gap: 80px;
  }
  .template-scada-projects--animated {
    transform: translateX(-480px);
  }
  .template-scada-projects--item .text-L {
    max-width: 1000px;
  }
}
/* template-scada-animations--mobile */
.template-scada-animations--mobile {
  display: flex;
  flex-direction: column;
  padding: 50px 16px;
}

.template-scada-animations--mobile__items {
  display: flex;
  flex-direction: column;
}

.template-scada-animations--mobile__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 40px 0px;
}

.template-scada-animations--mobile__item img {
  max-width: 600px;
  max-height: 600px;
  border-radius: 10px;
}

.template-scada-animations--mobile__item h3,
.template-scada-animations--mobile__item h4 {
  text-align: left;
}

.template-scada-animations--mobile__item .text-L{
  color: var(--text-black-secondary);
}

.template-scada-animations--wrapper {
  display: none;
}

.square-text-section .text-L:not(.text-bold) {
  color: var(--text-black-secondary);
}

@media (min-width: 1280px) {
  .template-scada-animations--mobile {
    display: none;
  }
  .template-scada-animations--wrapper {
    display: block;
    max-width: 100%;
    /* margin: 0 auto; */
  }
  .template-scada-animations--wrapper .square-animation-section{
    margin: 0;
  }
  .template-scada-animations--wrapper .square-animation-wrapper {
    flex-direction: row-reverse;
    max-width: none;
    min-height: auto;
    margin: 0;
    padding: 0;
  }
  .template-scada-animations--wrapper .square-text-container {
    flex: auto;
    padding: 0 80px 0 40px;
  }
  .template-scada-animations--wrapper .square-text-section:first-child {
    margin: 0;
  }
  .template-scada-animations--wrapper .square-text-section {
    margin: 0;
    min-height: 100vh;
    padding: 0;
  }
  .template-scada-animations--wrapper .square-text-section .text-L{
    color: var(--text-black-secondary);
  }
  .template-scada-animations--wrapper .square-animation-container{
    /* min-width: 680px;
    max-width: 680px; */
    height: 100vh;
    gap: 0;
    padding: 0;
    /* top: 94px; */
    top: 0px;
  }
  .template-scada-animations--wrapper .square-viewport{
    width: 100%;
    height: 100vh;
    border-radius: 0;
  }
  .template-scada-animations--wrapper .square{
    width: 100%;
    height: calc(100vh + 75px);
    clip-path: ellipse(880px 920px at 340px 920px);
    top: -75px;
    background: transparent;
  }
  .template-scada-animations--wrapper .square img{
    width: 100%;
    height: calc(100vh + 75px);
  }
}

@media (min-width: 1920px) {
  .template-scada-animations--wrapper .square-text-container {
    flex: auto;
    padding: 0 80px 0 160px;
  }
  .template-scada-animations--wrapper .square-animation-container {
    height: calc(100vh);
    top: 0px;
  }
  .template-scada-animations--wrapper .square-viewport{
    width: 100%;
    height: calc(100vh);
  }
  .template-scada-animations--wrapper .square{
    width: 100%;
    height: calc(100vh + 120px);
    clip-path: ellipse(1300px 920px at 440px 920px);
    top: -120px;
  }
  .template-scada-animations--wrapper .square img{
    width: 100%;
    height: calc(100vh + 120px);
  }
}

@media (min-width: 2560px) {
  .template-scada-animations--wrapper .square-animation-container {
    height: calc(100vh);
    top: 0px;
  }
  .template-scada-animations--wrapper .square-viewport{
    width: 100%;
    height: calc(100vh);
  }
  .template-scada-animations--wrapper .square{
    width: 100%;
    height: calc(100vh + 140px);
    clip-path: ellipse(1300px 920px at 588px 920px);
    top: -140px;
  }
  .template-scada-animations--wrapper .square img{
    width: 100%;
    height: calc(100vh + 140px);
  }
}

/* template-content-with-image */

.template-content-with-image {
  display: flex;
  flex-direction: column-reverse;
  gap: 48px;
  margin: 100px 20px;
}

.template-content-with-image__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.template-content-with-image__text h3{
  text-align: left;
}

.template-content-with-image__text .text-L {
  color: var(--text-black-secondary);
}

.template-content-with-image__image img{
  border-radius: 10px;
}

@media (min-width: 1080px) {
  .template-content-with-image {
    flex-direction: row;
    margin: 200px auto;
    align-items: center;
    justify-content: space-between;
    max-width: 1760px;
    padding: 0 40px;
  }
  .template-content-with-image__text {
    max-width: 710px;
  }
}
@media (min-width: 1920px) {
  .template-content-with-image {
    padding: 0;
  }
}
@media (min-width: 2560px) {
  .template-content-with-image {
    max-width: 2240px;
  }
}


/* table */


.responsive-table {
  width: 100%;
  background-color: #FFFFFF0F;
  border-radius: 10px;
  min-width: 358px;
  max-width: 800px;
}

.table-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  border-bottom: 2px solid #FFFFFF1A;
}


.table-header {
  background: rgba(255, 255, 255, 0.06);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.table-col {
  flex: 1 50%; /* Равное распределение */
  padding: 14px 12px;
  height: 100%;
}

.table-row:last-child {
  border-bottom: 0px;
}
/* .table-col:nth-child(odd) {
  border-right: 1px solid #FFFFFF1A;
} */
.table-col:nth-child(even) {
  border-left: 1px solid #FFFFFF1A;
}

@media (min-width: 1080px) {
  .table-col {
    padding: 14px 40px;
  }
}
@media (min-width: 1920px) {
  .responsive-table {
    min-width: 800px;
  }
}