/* ==========================================================================
   CUSTOM.CSS
   Кастомные классы, НЕ относящиеся к UIkit3 (не переопределяют uk-*
   и не переопределяют базовые теги). Только собственная разметка проекта.
   Подключать ПОСЛЕ uikit.min.css и uikit-theme.css.
   ========================================================================== */
   
/* ---------- Шапка: без ограничения контейнером, во всю ширину ---------- */
.site-header{
	box-sizing: border-box;
	width: 100%;
	padding: 30px;
	background: transparent;
  z-index: 2;
}
.header-cont{ gap:40px; }
@media (max-width: 1200px){
	.header-cont{ gap:30px; }
}
@media (max-width: 959px){
	.site-header{ padding: 20px; }
	.header-cont{ gap:20px; }
}

.logo-block{ /* логотип не кликабельный */
	display: flex;
	align-items: center;
	cursor: default;
}
.site-logo{ display:block; height:auto; width:260px; }
.header-contacts { width:260px; }
@media (max-width: 639px){
	.site-logo{ height:auto; width: calc(50vw - 20px * 2); max-width:160px; }
	.header-contacts { width:auto; }
}
.site-menu a{
  color: var(--color-text-white);
  font-weight: 300; /* medium */
  line-height: 1em;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: color .25s ease;
}
.site-menu a:hover,
.site-menu a:focus{
  color: var(--color-element);
}
.site-menu > li + li{ margin-left: 40px; }
@media (max-width: 1200px){
	.site-menu > li + li{ margin-left: 30px; }
}

.header-contacts{ gap: 14px; }
.contact-messenger,
.contact-messenger:hover,
.contact-messenger:focus,
.contact-phone,
.contact-phone:hover,
.contact-phone:focus{
  color: var(--color-text-white);
  text-decoration: none;
  line-height: 1em;
}
.contact-messenger{ display:flex; align-items:center; width: 18px; height: 18px;}
.contact-phone{ font-family: var(--font-num); }

/* ---------- Форма: кастомный чекбокс ---------- */
.uk-checkbox{
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  margin: 0;
  border-radius: 2px;
  background: #fff;
  border: 1px solid var(--color-element-light);
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
}
.uk-checkbox:checked{
  background: #fff;
  border-color: var(--color-element-light);
}
.uk-checkbox:checked::after{
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--color-hover);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.uk-checkbox:focus,
.uk-checkbox:focus-visible,
.uk-checkbox:checked:focus,
.uk-checkbox:indeterminate:focus,
.uk-radio:checked:focus{
  outline: none;
  background: #fff;
  border-color: var(--color-element-light);
}

/* ---------- Первый экран ---------- */
.hero-section{
  position: relative;
}
/* Область с фоном/кругом — не занимает весь экран, отступает 90px от низа */
.hero{
  position: absolute;
  top: 0; left: 0; right: 0;
  overflow: hidden;
  height: 62vh;
  /* фон прописан прямо в .hero: cover + прижат к низу =
     имитирует картинку, которая выше видимой части и прижата к низу контейнера */
  background-image:
    linear-gradient(to bottom, rgba(8,25,51,.8) 65%, rgba(18,35,61,.48) 100%),
    url('../images/hero-bg2.jpg'); /* заменить на реальный файл */
  background-size: 100% 100%, cover;
  background-position: center, center center;
  background-repeat: no-repeat;
}
@media (max-width: 959px){
  .hero { bottom: 90px; }
}
@media (max-width: 639px){
  .hero{ bottom: 0; }
}

/* Градиент — псевдоэлемент, прижат к низу .hero */
.hero::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 21vw;
  background: linear-gradient(to bottom, rgba(18,35,61,0) 0%, var(--color-primary) 100%);
  pointer-events: none;
}

@media (max-width: 1500px){
  .hero-caption{font-size: 92px;}
}
@media (min-width: 640px) and (max-width: 959px){
  .hero-caption{ font-size: 72px; }
}
@media (max-width: 639px){
  .hero-caption{ font-size: 58px; }
}

.stanket-block {
    min-height: 170px;
    min-height: 16vh;
}
.stanket-img{
  position: absolute;
  right: 46vw;
  width: auto;
  height: 170px;
  max-width: none;
  z-index: 1;
}
.lebedka-img{
  position: absolute;
  right: 0;
  width: auto;
  height: 71rem;
  max-height: 125vh;
  bottom: 0;
  max-width: none;
  z-index: 1;
}
@media (min-width: 960px){
  .lebedka-img.is-fixed{
    position: fixed;
    bottom: 0;
    transform: translateY(0.1rem);
    transition: transform 1.3s ease-out;
  }
  .lebedka-img.is-stopped{
    position: absolute;
    right: 0;
    bottom: 0;
    transform: translateY(1rem);
    transition: transform 1.5s ease-out;
  }
}
@media (min-width: 960px) and (max-width: 1580px){
  .lebedka-img{
    margin-right: 5vw;
  }
}

@media (max-width: 639px){
  .lebedka-mobover::after {
      content: '';
      position: absolute;
      top: 0;
      margin-top: -80%;
      left: -10%;
      height: 90%;
      width: 120%;
      background: linear-gradient(to bottom, rgba(8, 24, 48, 0.8) 0%, rgba(18, 35, 61, 0) 100%);
  }
  .lebedka-mob {
      margin-left: -64%;
      width: calc(100% + 53%);
      max-width: none;
      margin-bottom: 2rem;
      margin-top: -80%;
  }
}

@media screen and (max-width: 1399px) {
  .stanket-block {min-height: 9vh;}
  .stanket-img{height: 12vh;}
}
@media screen and (max-width: 1199px) {
  .stanket-block {min-height: 7vh;}
  .stanket-img {height: 10vh;}
}
@media (max-width: 639px){
  .stanket-block {min-height: 1vh;}
}

.block-intro{
  background-color: rgba(207, 218, 234, 1);
  border-radius: 20px 0 0 20px;
  width: 55%;
}
.cont-intro:after{
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 45%;
  background-image: url('../images/dott.png');
  background-repeat: repeat-y;
  background-position: right center;
  background-size: 100% auto;
}

#scene {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
  user-select: none;
  z-index: 2;
}
#scene:active {
  cursor: grabbing;
}

#canvas-container.hero-circle{
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 1vw;
  transform: translateX(-50%);
  width: min(80vw, 1537px);
  max-width: 1537px;
  aspect-ratio: 1537 / 551;
  overflow: hidden;
}
.hero-circle-placeholder{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 0.25s ease;
  z-index: 1;
}
.hero-circle-placeholder.is-hidden{
  opacity: 0;
  pointer-events: none;
}
@media (max-width: 1500px){
  #canvas-container.hero-circle{ width: calc(100vw - 40px * 2); max-width: calc(1500px + 40px * 2); }
  .hero {background-size: 100% 100%, 119%; background-color: #091223;}
}
@media (max-width: 639px){
  #canvas-container.hero-circle{ width: calc(100vw - 20px * 2); }
  #scene{ display: none; }
  .hero{ background-size: cover;}
}

.hero-title{
  font-family: var(--font-main);
  font-weight: 600; /* semibold */
  font-size: 62px;
  line-height: 0.9em;
  letter-spacing: 0.03em;
  color: var(--color-text-white);
  margin: 0 0 16px;
}
@media (min-width: 640px) and (max-width: 959px){
  .hero-title{ font-size: 47px; }
}
@media (max-width: 639px){
  .hero-title{ font-size: 38px; }
}

.hero-subtitle{
  font-family: var(--font-main);
  font-weight: 500; /* medium */
  font-size: 18px;
  line-height: 1.4em;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin: 0;
}
@media (min-width: 640px) and (max-width: 959px){
  .hero-subtitle{ font-size: 16px; }
}
@media (max-width: 639px){
  .hero-subtitle{ font-size: 14px; }
}

.linkmovie {
  transition: all 0.25s ease!important;
}
.linkmovie:hover {
  transform: scale(1.02);
}

/* ==========================================================================
   БЛОК: ВИДЕО + ХАРАКТЕРИСТИКИ (stats-section)
   Видео — вне колонок контента, full-bleed слева, занимает чуть больше
   половины экрана. Карточки — в пределах ширины контента, справа.
   ========================================================================== */

/* Видео вне сетки контента: full-bleed от левого края экрана */
.stats-video{
  width: 100%; 
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.cont-video{
  position: absolute;
  top: 0;
  left: 0;
  width: 56%;
  height: 100%;
}
@media (max-width: 959px){
  .stats-video{
    position: relative;
    width: 100%;
    height: 62vw;
  }
}
.cont-video:before {
  content: '';
  position: absolute;
  top:0;left:0;
  width: 100%; height: 100%;
  z-index: 1;
  background: radial-gradient(ellipse farthest-side at center, rgba(18, 35, 61, 0) 20%, rgba(18, 35, 61, 1) 100%);
}

/* Контейнер контента — ширина ограничена, как у остального контента сайта */
.stats-container{
  position: relative;
  z-index: 1;
}

/* Сама сетка карточек прижата к правому краю контейнера контента */
.stats-grid{
  margin-left: auto;
  width: 50%;
  padding: 90px 0;
}

.stat-card{
  position: relative;
  border: 1px solid var(--color-text-light);
  border-radius: 20px;
  padding: 50px 40px 50px 50px;
  box-sizing: border-box;
  height: 100%;
}

.stat-card-icon{
  position: absolute;
  top: -5px;
  right: 20px;
  color: var(--color-text-light);
  background: var(--color-primary);
  padding: 0 0.75rem;
  font-size: 30px;
}

.stat-card-value{
  font-family: var(--font-num);
  font-weight: 500;
  font-size: 90px;
  line-height: 0.9em;
  color: var(--color-text-white);
  display: flex;
  align-items: flex-end;
  margin-left: -4px;
  gap: 10px;
}

.stat-card-unit{
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 36px;
  color: var(--color-text-white);
  margin-bottom: 4px;
  line-height: 0.9em;
}

.stat-card-label{
  margin-top: 8px;
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.2em;
  letter-spacing: 0.06em;
  color: var(--color-text-light);
}

@media (max-width: 1414px){
  .stat-card{
    padding: 40px 30px 40px 40px;
  }
  .stat-card-label {
    font-size: 18px;
  }
  .stat-card-value {
    font-size: 76px;
  }
  .stat-card-unit {
    font-size: 32px;
  }
  .stat-card-icon{
    font-size: 28px;
  }
}
@media (max-width: 1200px){
  .stat-card{
    padding: 30px 25px 30px 30px;
  }
  .stat-card-label {
    font-size: 17px;
  }
  .stat-card-value {
    font-size: 72px;
  }
  .stat-card-unit {
    font-size: 28px;
  }
  .stat-card-icon{
    font-size: 26px;
  }
}
@media (max-width: 959px){
  .stats-grid {
    margin-left: 0;
    width: 100%;
    padding: 20px 0;
  }
  .cont-video {
    position: relative;
    width: 100%;
    margin-top: 0;
  }
  .stats-video {
    height: auto;
    aspect-ratio: 16 / 9;
  }
}
@media (max-width: 639px){
  .uk-grid-small\@fix>*{
    padding-left: 10px;
  }
  .uk-grid-small\@fix {
    margin-left: -10px;
  }
  .uk-grid-small\@fix>.uk-grid-margin {
    margin-top: 10px;
  }
  .cont-video {
    margin-top: 110px;
  }
  .stats-video {
    height: auto;
    aspect-ratio: 1 / 1;
  }
  .stat-card{
    padding: 20px 10px 20px 20px;
    border-radius: 10px;
  }
  .stat-card-label {
    font-size: 14px;
  }
  .stat-card-value {
    font-size: 56px;
    gap: 6px;
  }
  .stat-card-unit {
    font-size: 22px;
  }
  .stat-card-icon{
    font-size: 18px;
    top: -3px;
    right: 15px;
    padding: 0 0.35rem;
  }
}
.stage-icon{
  width: 90px;
}
@media (max-width: 959px){
  .stage-icon{
    width: 70px;
  }
}
@media (max-width: 639px){
  .stage-icon{
    width: 60px;
  }
}
.stage-cont{
  max-width: 1800px;
  margin-left: auto;
  margin-right: auto;
}

/* Лучи */
.ray1{
  position: absolute;
  z-index: 3;
  left: -50px;
  bottom: calc(12vw + 320px);
  transform-origin: top center;
  transform: rotate3d(1, 1, 1, -60deg);
  filter: blur(18px);
  mix-blend-mode: plus-lighter;
}
.light-beam1 {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 1400px;
  background: 
    radial-gradient(
      ellipse at 50% 0%,
      rgba(170, 204, 255, 1) 0%,
      rgba(170, 204, 255, 0.2) 40%,
      rgba(170, 204, 255, 0) 70%,
      transparent 30%
    );
  clip-path: polygon(48% 0%, 52% 0%, 100% 100%, 0% 100%);
  opacity: .26;
}

.ray2{
  position: absolute;
  z-index: 3;
  right: -160px;
  top: calc(2.5vw + 160px);
  transform-origin: top center;
  transform: rotate3d(0, 1, 1, 72deg);
  filter: blur(20px);
  mix-blend-mode: plus-lighter;
}
.light-beam2 {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 1800px;
  background: 
    radial-gradient(
      ellipse at 50% 0%,
      rgba(170, 204, 255, 1) 0%,
      rgba(170, 204, 255, 0.2) 40%,
      rgba(170, 204, 255, 0) 70%,
      transparent 100%
    );
  clip-path: polygon(48% 0%, 52% 0%, 100% 100%, 0% 100%);
  opacity: .2;
}

.ray3{
  position: absolute;
  z-index: 0;
  left: -150px;
  top: calc(-6vw - 80px);
  transform-origin: top center;
  transform: rotate(-130deg);
  filter: blur(16px);
  mix-blend-mode: plus-lighter;
}
.light-beam3 {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 1200px;
  background: 
    radial-gradient(
      ellipse at 50% 0%,
      rgba(170, 204, 255, 1) 0%,
      rgba(170, 204, 255, 0.2) 40%,
      rgba(170, 204, 255, 0) 70%,
      transparent 30%
    );
  clip-path: polygon(48% 0%, 52% 0%, 100% 100%, 0% 100%);
  opacity: .18;
}

.ray4{
  position: absolute;
  z-index: 0;
  right: -100px;
  bottom: calc(-5vw - 200px);
  transform-origin: top center;
  transform: rotate3d(0, 2, 5, 150deg);
  filter: blur(12px);
  mix-blend-mode: plus-lighter;
}
.light-beam4 {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 2200px;
  background: 
    radial-gradient(
      ellipse at 50% 0%,
      rgba(170, 204, 255, 1) 0%,
      rgba(170, 204, 255, 0.2) 40%,
      rgba(170, 204, 255, 0) 70%,
      transparent 100%
    );
  clip-path: polygon(48% 0%, 52% 0%, 100% 100%, 0% 100%);
  opacity: .12;
}

.blum1{
  display: block;
  height: 24vw;
  width: 24vw;
  background-color: rgba(170, 204, 255, 0.12);
  position: absolute;
  z-index: -1;
  left: 0;
  bottom: 0;
  border-radius: 50%;
  transform: translate(-50%, 70%);
  filter: blur(4vw);
  mix-blend-mode: plus-lighter;
}
.blum2{
  display: block;
  height: 26vw;
  width: 26vw;
  background-color: rgba(170, 204, 255, 0.16);
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  transform: translate(50%, 30%);
  filter: blur(5vw);
  mix-blend-mode: plus-lighter;
}
.blum3{
  display: block;
  height: 40vw;
  width: 40vw;
  background-color: rgba(170, 204, 255, 0.10);
  position: absolute;
  z-index: 0;
  left: 0;
  bottom: 0;
  border-radius: 50%;
  transform: translate(30%, 15%);
  filter: blur(5vw);
  mix-blend-mode: plus-lighter;
}
.blum4{
  display: block;
  height: 30vw;
  width: 30vw;
  background-color: rgba(170, 204, 255, 0.16);
  position: absolute;
  z-index: 0;
  left: 0;
  bottom: 0;
  border-radius: 50%;
  transform: translate(-30%, 60%);
  filter: blur(5vw);
  mix-blend-mode: plus-lighter;
}

@media (max-width: 639px){
  .ray1 {
    bottom: 30vw;
    transform: scale(0.36) rotate3d(1, 1, 1, -60deg);
    filter: blur(20px);
    opacity: .7;
  }
  .ray2 {
    bottom: 29vw;
    transform: scale(0.36) rotate3d(0, 1, 1, 72deg);
    filter: blur(19px);
    opacity: .7;
  }
  .ray3{
    transform: scale(0.6) rotate(-130deg);
    filter: blur(9px);
  }
  .ray4{
    transform:  scale(0.9) rotate3d(0, 2, 5, 150deg);
    filter: blur(12px);
    opacity: .86;
  }

  .blum1{
    height: 100vw;
    width: 100vw;
    filter: blur(8vw);
    opacity: .7;
  }
  .blum2{
    height: 70vw;
    width: 70vw;
    filter: blur(8vw);
    opacity: .6;
  }
  .blum3{
    height: 80vw;
    width: 80vw;
    filter: blur(10vw);
    opacity: 0;
  }
  .blum4{
    height: 80vw;
    width: 80vw;
    filter: blur(10vw);
    opacity: .6;
  }
}

.scale-icon{
  transform: scale(1.2);
}
@media (min-width: 960px){
  .min-scale{
    transform: scale(1.1);
  }
}

.icon-border{
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-element);
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  padding: 0.4em;
  margin-top: 3px;
  color: var(--color-element);
}
.icon-border i{
  width: 20px;
  height: 20px;
  text-align: center;
  vertical-align: middle;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-border i::before{
  line-height: 20px;
}

/* Контейнер кнопки */
.custom-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
}
/* Круг с прозрачным фоном */
.play-circle {
    width: 5em;
    height: 5em;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
/* Треугольник Play */
.play-triangle {
    width: 3em;
    height: 3em;
    transition: transform 0.3s ease;
}
/* Эффекты при наведении */
.custom-play-button:hover .play-circle {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 1);
}
.custom-play-button:hover .play-triangle {
    transform: scale(1.2);
}
/* Опционально: эффект при клике */
.custom-play-button:active .play-circle {
    transform: scale(0.95);
}
@media (max-width: 639px){
  .play-circle {
      width: 4em;
      height: 4em;
  }
  /* Треугольник Play */
  .play-triangle {
      width: 2em;
      height: 2em;
  }
}

.device-section{
  --device-container-width: min(1440px, calc(100vw - 80px));
  --device-bleed: max(0px, calc((100vw - var(--device-container-width)) / 2));
}
@media (max-width: 639px){
  .device-section {
      --device-container-width: min(100%, calc(100vw - 30px));
  }
}

.triple-background {
  height: 100%;
  width: 100%;
  /* 1. Задаем внутренние отступы слева и справа, равные ширине ваших боковых картинок */
  padding-left: 150px;  /* Ширина левой картинки */
  padding-right: 150px; /* Ширина правой картинки */

  /* 2. Подключаем три фона */
  background-image: 
    url('/images/center-repeating.png');
  /* 4. Позиционируем */
  background-position: right top;
  /* 5. Настраиваем повторение */
  background-repeat: repeat-x;
  /* 6. Высота 100% для всех фонов */
  background-size: auto 100%;
}

.device-decor{
  height: 100%;
  width: 100%;
  box-sizing: border-box;
  padding: 0 50px;
  text-align: right;
  display: flex;
  flex-wrap: nowrap;
}
@media (max-width: 1640px){
  .device-decor{display: none;}
  .device-grid{margin-top:0!important; margin-bottom: 0!important;}
}

.device-grid{
  position: relative;
  align-items: center;
  /*display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.9fr);
  gap: 0;
  width: 100%;*/
}

.device-visual{
  position: relative;
/*  max-width: none;
  min-width: 0;
  width: calc(100% + var(--device-bleed) - 40px);
  margin-left: calc(var(--device-bleed) * -1); */
}

.device-image{
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 959px){
  .device-visual{
    max-width: 480px!important;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0!important;
  }
}

.device-item-dot{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(122, 174, 255, 0.3);
  overflow: visible;
}

.device-item-dot::before,
.device-photo-dot::before{
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #7aaeff;
  display: block;
}

.device-item-dot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 26px;
  /* Высота усов (по 5px вверх и вниз от центра + 1px сама линия) */
  height: 11px; 
  transform: translate(0, -50%) scaleX(0);
  transform-origin: left center;
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.2s ease;

  /* Цвет стрелки выносим в переменную для удобства */
  --arrow-color: rgba(122, 174, 255, 0.95);

  /* Три независимых градиента: центральная линия и два уса под углом 45° */
  background: 
    /* 1. Верхний ус (наклонный) */
    linear-gradient(45deg, transparent 45%, var(--arrow-color) 45%, var(--arrow-color) 60%, transparent 60%),
    /* 2. Нижний ус (наклонный) */
    linear-gradient(-45deg, transparent 45%, var(--arrow-color) 45%, var(--arrow-color) 60%, transparent 60%),
    /* 3. Центральная горизонтальная линия */
    linear-gradient(var(--arrow-color), var(--arrow-color));

  /* Позиционируем и задаем размеры каждой части стрелки */
  background-repeat: no-repeat;
  background-size: 
    6px 6px,   /* Размер верхнего уса */
    6px 6px,   /* Размер нижнего уса */
    100% 1px;  /* Центральная линия: на всю длину, толщина ровно 1px */

  background-position: 
    right top,    /* Верхний ус справа вверху */
    right bottom, /* Нижний ус справа внизу */
    left center;  /* Линия строго по центру */
}

.device-photo-dot{
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #7aaeff;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.device-photo-dot::before{
  display: none;
}

.device-content{
  position: relative;
  z-index: 2;
  padding-right: 20px;
}

.device-title{
  font-family: var(--font-main);
  font-weight: 600;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.2em;
  color: var(--color-text-white);
  margin: 0 0 28px;
}

.device-items{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.device-item{
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.device-item-dot{
  flex: 0 0 36px;
  margin-top: -6px;
}

.device-lines{
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.device-line{
  fill: none;
  stroke: rgba(122, 174, 255, 0.6);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: var(--line-length, 2000);
  stroke-dashoffset: var(--line-length, 2000);
}

.device-lines.is-visible .device-line{
  animation: device-line-draw 0.9s ease-out forwards;
}

.device-lines.is-visible .device-line:nth-child(2){
  animation-delay: 0.08s;
}

.device-lines.is-visible .device-line:nth-child(3){
  animation-delay: 0.16s;
}

.device-lines.is-visible .device-line:nth-child(4){
  animation-delay: 0.24s;
}

.device-lines.is-visible .device-line:nth-child(5){
  animation-delay: 0.32s;
}

.device-lines.is-visible .device-line:nth-child(6){
  animation-delay: 0.4s;
}

.device-lines.is-visible .device-line:nth-child(7){
  animation-delay: 0.48s;
}

@keyframes device-line-draw{
  to{
    stroke-dashoffset: 0;
  }
}

@media (prefers-reduced-motion: reduce){
  .device-line{
    stroke-dashoffset: 0;
  }

  .device-lines.is-visible .device-line{
    animation: none;
  }
}

@media (max-width: 959px){
  .device-grid{
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .device-visual{
    width: 100%;
    max-width: none;
  }

  .device-content{
    padding-right: 0;
  }

  .device-photo-dot{
    display: none;
  }
}

@media (max-width: 959px){
  .device-section{ padding: 0; }
  .device-lines{ display: none; }

  #device .device-item-dot{
    background: rgba(122, 174, 255, 0.3);
    color: var(--color-soft);
    font-size: 14px;
    line-height: 1;
  }

  #device .device-item-dot::before{
    content: attr(data-dot);
    width: auto;
    height: auto;
    background: none;
    display: block;
  }

  #device .device-item-dot::after{
    display: none;
  }

  #device .device-photo-dot{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(62, 95, 145, 0.5);
    color: var(--color-text-white);
    font-size: 12px;
    line-height: 1;
    animation: device-photo-dot-pulse 2.6s ease-in-out infinite;
  }

  #device .device-photo-dot::before{
    content: attr(data-dot);
    width: auto;
    height: auto;
    background: none;
    display: block;
  }
}

@keyframes device-item-dot-pulse{
  0%, 100%{ transform: scale(1); }
  50%{ transform: scale(1.15); }
}

@keyframes device-photo-dot-pulse{
  0%, 100%{ transform: translate(-50%, -50%) scale(1); }
  50%{ transform: translate(-50%, -50%) scale(1.15); }
}

@media (prefers-reduced-motion: reduce){
  #device .device-photo-dot{
    animation: none;
  }
}

.shadow-filter{
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.24));
}

/* ============================
   CPanel slider
   ============================ */
.cpanel-section {
  position: relative;
  padding: 90px 0 0;
}

.cpanel-slider {
  position: relative;
  overflow: visible;
}

.cpanel-slider .uk-slider-items {
  margin: 0;
  padding: 0;
  list-style: none;
  cursor: grab;
}

.cpanel-slider .uk-slider-items:active {
  cursor: grabbing;
}

.cpanel-slide {
  width: 100%;
  display: flex;
  align-items: center;
}

.cpanel-slide .uk-container {
  width: 100%;
}

.cpanel-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cpanel-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cpanel-list > li {
  gap: 18px;
  margin-top: 18px;
  position: relative;
}

.cpanel-list > li:first-child {
  margin-top: 0;
}

.cpanel-list > li:hover .device-item-dot::after,
.cpanel-list > li:focus-within .device-item-dot::after {
  opacity: 1;
  transform: translate(0, -50%) scaleX(1);
}

.cpanel-list > li .device-item-dot {
  align-self: flex-start;
  margin-top: 0.25em;
}

.cpanel-media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.cpanel-media img {
  display: block;
  max-width: 100%;
  max-height: 560px;
  width: auto;
  height: auto;
  filter: drop-shadow(0 28px 36px rgba(0, 0, 0, 0.28));
}

@media (min-width: 1280px) {
  .cpanel-media img {
    transform: translateY(-10%);
  }
}
@media (max-width: 639px) {
  .cpanel-media img {
    max-height: 320px;
  }
}
.cpanel-dots {
  margin-top: 26px;
}

.cpanel-dots > * > a {
  width: 14px;
  height: 14px;
  border: 0;
  background: rgba(122, 174, 255, 0.4);
  box-shadow: none;
}
.cpanel-dots > * > a:focus,
.cpanel-dots > * > a:active,
.cpanel-dots > * > a:hover {
  background: rgba(122, 174, 255, 0.6);
}
.cpanel-dots > .uk-active > a {
  background: rgba(122, 174, 255, 0.95);
}

.cpanel-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-accent);
  cursor: pointer;
  transform: translateY(-50%);
}
.cpanel-arrow:hover,
.cpanel-arrow:focus {
  color: var(--color-hover);
  transition: all 0.25s ease;
}

.cpanel-arrow:hover .uk-icon:not(.uk-preserve) [stroke*="#"]:not(.uk-preserve) ,
.cpanel-arrow:focus .uk-icon:not(.uk-preserve) [stroke*="#"]:not(.uk-preserve) {
    stroke: var(--color-hover);
}

.cpanel-arrow [uk-icon] {
  display: inline-flex;
}

.cpanel-prev {
  left: 0;
}

.cpanel-next {
  right: 0;
}

.slide-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-accent);
  cursor: pointer;
  transform: translateY(-50%);
}
.slide-arrow:hover,
.slide-arrow:focus {
  color: var(--color-hover);
  transition: all 0.25s ease;
}

.slide-arrow:hover .uk-icon:not(.uk-preserve) [stroke*="#"]:not(.uk-preserve) ,
.slide-arrow:focus .uk-icon:not(.uk-preserve) [stroke*="#"]:not(.uk-preserve) {
    stroke: var(--color-hover);
}
.slide-arrow [uk-icon] {
  display: inline-flex;
}
.slide-prev {
  left: 0;
}
.slide-next {
  right: 0;
}

@media (max-width: 959px) {
  .cpanel-section {
    padding: 0 0 40px;
  }

  .cpanel-slide {
    min-height: auto;
  }

  .cpanel-slide .uk-grid > :first-child {
    order: 2;
  }

  .cpanel-slide .uk-grid > :last-child {
    order: 1;
  }

  .cpanel-media {
    min-height: 320px;
  }

  .cpanel-arrow {
    top: 30%;
  }

  .cpanel-arrow svg,
  .slide-arrow svg {
    width: 3.5em;
    height: 3.5em;
  }

}

@media (max-width: 639px) {
  .cpanel-section {
    padding: 0 0 40px;
  }
  .cpanel-arrow {
    top: 45vw;
  }
  .cpanel-arrow svg,
  .slide-arrow svg {
    width: 3em;
    height: 3em;
  }

  .cpanel-dots {
    margin-top: 2em;
  }
  .uk-dotnav>* {
    padding-left: 12px;
  }
  .cpanel-dots > * > a {
    width: 12px;
    height: 12px;
  }

  .cpanel-prev {
    left: 0;
  }
  .cpanel-nextt {
    right: 0;
  }

  .slide-prev {
    left: 15px;
  }
  .slide-next {
    right: 15px;
  }
}

/* --------------------------------------------------------------------------
  Документация: блоки с ссылками на документацию, иконки, заголовки
   -------------------------------------------------------------------------- */

a.documentation-block{
  border: 1px dashed var(--color-element-light);
  color: var(--color-text-dark);
}
a.documentation-link{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  color: var(--color-text-dark);
}
a.documentation-link:hover,
a.documentation-link:focus{
  color: var(--color-accent);
}
a.documentation-icon{
  width: 70px;
  height: 70px;
}
a.documentation-link i{
  margin-right: 5px;
}
@media (max-width: 639px){
  a.documentation-block{ padding: 25px; }
  a.documentation-link{ gap: 12px;}
  a.documentation-icon{ width: 50px; height: 50px; }
}

/* -------- */

.gradient-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(10, 10, 10, 0.6) 100%);
}

.img-decor {
  position: absolute;
  bottom: 0;
  right: 0;
  width: auto;
  height: 100%;
  z-index: -1;
  opacity: 0.92;
}

.img-decor1{
  position: absolute;
  top: -18vw;
  right: -12vw;
  width: 45vw;
  height: auto;
  z-index: 0;
}

@keyframes spin-reverse {
  from {
    transform: translate(0, 50%) rotate(0deg);
  }
  to {
    /* Минус меняет направление, элемент крутится против часовой стрелки */
    transform: translate(0, 50%) rotate(-360deg);
  }
}

.img-decor2 {
  position: absolute;
  bottom: 50%;
  right: -50%;
  width: 100vw;
  height: auto;
  z-index: 0;
  opacity: 0.82;
  /* Увеличили время до 60 секунд для медленного вращения */
  animation: spin-reverse 60s linear infinite;
}

.uk-background-soft-op{/*background-color: rgba(122, 174, 255, 0.15);*/ background: rgba(96, 159, 255, 0.1);} 

.link-opacity{
  opacity: 0.5;
  transition: opacity 0.25s ease;
}
.link-opacity:hover{
  opacity: 1;
}

.contact-links__link{
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: rgba(96, 159, 255, 0.1);
  color: #fff;
  font-size: 20px;
  transition: background-color 0.25s ease;
}
.contact-links__link:hover,
.contact-links__link:focus-visible{
  background: rgba(96, 159, 255, 0.2);
  color: #fff;
  box-shadow: none;
}


@media (max-width: 639px) {
  .img-decor1 {
    top: -28vw;
    right: -22vw;
    width: 85vw;
  }
  .img-decor2 {
    width: 150vw;
    max-width: none;
    right: -75%;
    opacity: 1;
  }
}

@media (min-width: 1200px){
  #about::before{
    content: '';
    position: absolute;
    top: 0; right: 0;
    height: calc(100% + 2px); width: 60%;
    z-index: -1;
    background-image:
      linear-gradient(
        to right,
        var(--color-primary) 0%,
        rgba(18, 35, 61, 0.88) 22%,
        rgba(18, 35, 61, 0.35) 48%,
        rgba(18, 35, 61, 0) 78%
      ),
      url('../images/manufacture.jpg');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
  }
}

@media (max-width: 959px) {
  .mes-max svg{height: 20px!important; width: 20px!important;}
}

@media (max-width: 639px) {
  .mes-max svg{height: 18px!important; width: 18px!important;}
}
 