/* ==========================================================================
   CUSTOM.CSS
   Кастомные классы, НЕ относящиеся к UIkit3 (не переопределяют uk-*
   и не переопределяют базовые теги). Только собственная разметка проекта.
   Подключать ПОСЛЕ uikit.min.css и uikit-theme.css.
   ========================================================================== */

@font-face {
    font-family: 'Alexandra Zeferino One';
    src: url('../font/AlexandraZeferinoOne.eot');
    src: local('Alexandra Zeferino One'), local('AlexandraZeferinoOne'),
        url('../font/AlexandraZeferinoOne.eot?#iefix') format('embedded-opentype'),
        url('../font/AlexandraZeferinoOne.woff2') format('woff2'),
        url('../font/AlexandraZeferinoOne.woff') format('woff'),
        url('../font/AlexandraZeferinoOne.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ---------- Шапка ---------- */
.site-header{
	box-sizing: border-box;
	width: 100%;
	padding: 30px;
	background: transparent;
}
.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); }

input[type="tel"] {
  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);
}

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

/* ==========================================================================
   БЛОК: HERO
   ========================================================================== */
.hero-section{
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  /*overflow: hidden;*/
  background-color: var(--color-primary);
  background-image:
    linear-gradient(to bottom, rgba(18, 35, 61, 0), #12233D),
    linear-gradient(rgba(18, 35, 61, 0.9), rgba(18, 35, 61, 0.9)),
    url('../images/bg_hero.jpg');
  background-position: center bottom, center, center;
  background-size: 100% 33.333vh, cover, cover;
  background-size: 100% 33.333svh, cover, cover;
  background-repeat: no-repeat, no-repeat, no-repeat;
}
.hero-promo{
  position: relative;
  z-index: 2;
}
.hero-promo__title{
  font-size: clamp(2.25rem, 3vw, 3rem);
  line-height: 1.04;
}
.hero-promo__title span{
  display: block;
}
.hero-promo__product{
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 2%;
  max-width: 820px;
  max-height: 85vh;
  max-height: 85svh;
  width: auto;
  height: 85vh;
  height: 85svh;
  object-fit: contain;
  transform: translateY(-50%);
}
.hero-product-reveal{
  animation-name: hero-product-slide-down;
  animation-timing-function: ease-out;
  animation-fill-mode: both;
}
@keyframes hero-product-slide-down{
  from{
    opacity: 0;
    transform: translateY(-100px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 1199px){
  .hero-promo__product{
    max-width: 690px;
  }
}
@media (max-width: 959px){
  .hero-promo__product {
      position: relative;
      top: auto;
      right: -30%;
      display: block;
      width: auto;
      height: 80vh;
      height: 80svh;
      max-width: none;
      max-height: 80vh;
      max-height: 80svh;
      transform: none;
  }
}
@media (max-width: 639px){
  .hero-promo .hero-subtitle{
    text-align: center;
  }
  .hero-promo__title{
    /*font-size: 32px;*/
    text-align: center;
  }
  .hero-promo__product-mobile{
    height: auto;
    max-height: none;
    max-height: none;
    width: 120%;
    margin-left: -27%;
    max-width: none;
  }
}

.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; }
  .margin-fix-mobile{ margin-left: auto; margin-right: auto;}
}

.fa-3x.fa-3x-fix {
    font-size: 3.3em;
    width: 1.1em;
}

/* ==========================================================================
   БЛОК: BEFORE + AFTER
   ========================================================================== */

.col-2{
    padding-top: 80px;
    width: 100%;
}
@media (min-width: 960px) {
  .col-1{
    width: 72.11%;
    min-height: 200px;
    background-image: url('../images/leb_top.png');
    background-size: 100% auto;
    background-position: top right;
    background-repeat: no-repeat;
    background-attachment: scroll;
  }
  .col-2{
    width: 27.89%;
    padding-top: 0;
  }
}
.block-img {
    aspect-ratio: 1 / 1;
    position: relative;
}
.block-img img {
    position: absolute;
    bottom: 0;
    height: 115%;
    left: 50%;
    transform: translateX(-50%);
}

/* ==========================================================================
   БЛОК: ПЛЮСЫ И МИНУСЫ
   ========================================================================== */


/* ==========================================================================
   БЛОК: УСТРОЙСТВО
   ========================================================================== */
@media (max-width: 959px) {
  img.lebedka-fix {
      max-width: 120%;
      width: 120%;
      margin-left: 5%;
  }
}

/* ==========================================================================
   БЛОК: ПУЛЬТЫ
   ========================================================================== */
img.pult {
    aspect-ratio: 1 / 1;
    width: 100%;
    max-height: 256px;
    object-fit: contain;
    object-position: left;
}
@media (max-width: 639px) {
  img.pult {
      object-position: center;
      max-height: 74vw;
  }
}

/* ==========================================================================
   БЛОК: FAQ
   ========================================================================== */
.num-items{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.num-item{
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.num-item-dot{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  overflow: visible;
  border-radius: 50%;
  background: rgba(122, 174, 255, 0);
  border: 1px solid var(--color-element);
  color: var(--color-element);
  font-family: var(--font-num);
  line-height: 1;
  flex: 0 0 36px;
  margin-top: -6px;
}
.num-item-dot::before{
  content: attr(data-dot);
  width: auto;
  height: auto;
  background: none;
  display: block;
}
.num-item::after{
  content: "";
  width: 1px;
  height: calc(100% - 7px - 1px);
  background: rgba(140, 149, 163, 0.5);
  display: block;
  position: absolute;
  top: calc(38px - 7px);
  left: calc(38px / 2);
}
.num-item:last-child::after{
  display: none;
}



/* Контейнер контента — ширина ограничена, как у остального контента сайта */
.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;
  }
}
@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;
  }
  .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: -9vw;
  bottom: 130%;
  transform-origin: top center;
  transform: rotate3d(1, 1, 1, -60deg);
  filter: blur(18px);
  mix-blend-mode: plus-lighter;
  opacity: 0.7;
}
.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: .16;
}

.ray2{
  position: absolute;
  z-index: 3;
  right: -120px;
  bottom: calc(12.5vw + 30px);
  transform-origin: top center;
  transform: rotate3d(0, 1, 1, 72deg);
  filter: blur(18px);
  mix-blend-mode: plus-lighter;
  opacity: 0.6;
  z-index: 1;
}
.light-beam2 {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 620px;
  height: 1300px;
  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: .26;
}

.ray3{
  position: absolute;
  z-index: 0;
  right: -70px;
  top: calc(10vw + 220px);
  transform-origin: top center;
  transform: rotate(40deg);
  filter: blur(16px);
  mix-blend-mode: plus-lighter;
}
.light-beam3 {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  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: .16;
}

.ray4{
  position: absolute;
  z-index: 0;
  left: -100px;
  bottom: calc(5vw + 200px);
  transform-origin: top center;
  transform: rotate3d(0, 0, 6, -40deg);
  filter: blur(16px);
  mix-blend-mode: plus-lighter;
  opacity: 0.7;
}
.light-beam4 {
  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 100%
    );
  clip-path: polygon(48% 0%, 52% 0%, 100% 100%, 0% 100%);
  opacity: .15;
}

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

@media (max-width: 639px){
  .ray1 {
    bottom: 140%;
    transform: scale(1.36) rotate3d(1, 0, 0, -60deg);
    filter: blur(20px);
    opacity: 0.7;
  }
  .ray2 {
    top: 20vw;
    right: 2vw;
    transform: scale(1.36) rotate3d(0, 2, 1, 74deg);
    filter: blur(19px);
    opacity: .16;
  }
  .ray3{
    transform: scale(0.6) rotate(10deg);
    filter: blur(19px);
  }
  .ray4{
    transform:  scale(0.9) rotate3d(0, 2, 5, 150deg);
    filter: blur(12px);
    opacity: .86;
  }

  .blum1{
    height: 90vw;
    width: 90vw;
    filter: blur(8vw);
    opacity: .3;
    left: 110%;
    bottom: -90rem;
  }
  .blum2{
    height: 90vw;
    width: 90vw;
    filter: blur(12vw);
    opacity: .6;
    right: 22vw;
    bottom: 22vw;
  }
  .blum3{
    height: 80vw;
    width: 80vw;
    filter: blur(10vw);
    opacity: 0.9;
    left: 50%;
    bottom: -10%;
  }
  .blum4{
    height: 80vw;
    width: 80vw;
    filter: blur(10vw);
    opacity: .6;
    bottom: 80vw;
  }
}

.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;
}

/* Контейнер кнопки */
.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));
  }
}

.device-grid{
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.9fr);
  align-items: center;
  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;
  border-radius: 4px;
}

.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-left: 36px;
  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;
  gap: 18px;
}

.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-left: 0;
    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;
  }
}

/* ============================
   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-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: rgba(96, 159, 255, 0.1);} 
.uk-background-soft-op2{background: rgba(96, 159, 255, 0.07);} 

.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;}
}

.after-before {
  --comparison-position: 50%;
  position: relative;
  overflow: hidden;
  line-height: 0;
  touch-action: pan-y;
  user-select: none;
}

.after-before .before {
  position: absolute;
  z-index: 1;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--comparison-position)) 0 0);
}

.after-before .before img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.after-before .after {
  position: relative;
  clip-path: inset(0 0 0 var(--comparison-position));
}

.after-before .after img {
  display: block;
  width: 100%;
  height: auto;
}

.after-before__labels {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: var(--comparison-position);
  display: block;
  width: 0;
  height: 0;
  color: var(--color-element);
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
}

.after-before__label {
  position: absolute;
  top: 50%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transform: translateY(-50%);
}

.after-before__label--before {
  right: calc(100% + 12px);
}

.after-before__label--after {
  left: calc(100% + 12px);
}

.after-before__label--before::after,
.after-before__label--after::before {
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  content: "";
}

.after-before__label--before::after {
  border-right: 8px solid var(--color-element);
}

.after-before__label--after::before {
  border-left: 8px solid var(--color-element);
}

.after-before::after {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: var(--comparison-position);
  width: 2px;
  background: var(--color-element);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.55);
  content: "";
  pointer-events: none;
  transform: translateX(-50%);
}

.after-before__range {
  position: absolute;
  z-index: 4;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: ew-resize;
}

.after-before__range::-webkit-slider-runnable-track {
  height: 100%;
  background: transparent;
}

.after-before__range::-webkit-slider-thumb {
  width: 0;
  height: 0;
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.after-before__range::-moz-range-track {
  height: 100%;
  background: transparent;
}

.after-before__range::-moz-range-thumb {
  width: 0;
  height: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.after-before__range:focus-visible {
  outline: 2px solid #7aaeff;
  outline-offset: -2px;
}

.cost-calculation__form {
  --cost-calculation-muted: #8291a8;
}

.cost-calculation__label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.cost-calculation__form .uk-input::placeholder {
  color: #818994;
  opacity: 1;
}

.cost-calculation__upload {
  display: flex;
  min-height: 126px;
  align-items: center;
  gap: 24px;
  box-sizing: border-box;
  padding: 20px 28px;
  border: 1px dashed var(--cost-calculation-muted);
  border-radius: 8px;
  color: var(--cost-calculation-muted);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.2;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.cost-calculation__upload:hover,
.cost-calculation__upload:focus-within {
  border-color: var(--color-element);
  color: var(--color-text-white);
}

.cost-calculation__upload-icon {
  flex: 0 0 auto;
  font-size: 1.75rem;
}

.cost-calculation__upload-text {
  overflow-wrap: anywhere;
}

.cost-calculation__file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.cost-calculation__form .uk-button {
  min-height: 65px;
  font-size: 1rem;
}

.cost-calculation__form .uk-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

@media (max-width: 639px) {
  .cost-calculation__form .uk-input,
  .cost-calculation__form .uk-button {
    min-height: 56px;
  }

  .cost-calculation__upload {
    min-height: 108px;
    gap: 16px;
    padding: 18px;
  }
}

.minus-item,
.plus-item {
  --comparison-card-color: #BD2D42;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  color: var(--comparison-card-color);
  background: rgba(189, 45, 66, 0.09);
}

.plus-item {
  --comparison-card-color: #609FFF;
  border: 1px solid currentColor;
  background: rgba(96, 159, 255, 0.09);
}

.comparison-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.comparison-card__heading-icon {
  flex: 0 0 auto;
  font-size: 32px;
}

.comparison-card__list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--color-soft);
}

.comparison-card__list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.comparison-card__list li i {
  flex: 0 0 14px;
  color: var(--comparison-card-color);
}

@media (max-width:1199px){
  #contacts .uk-list > * > ul, .uk-list > :nth-child(n+2) {
      margin-top: 10px;
  }
}