/* Слой движения страницы заявки использует токены проекта. */
/* Волна сигнала от портрета — тонкое кольцо синим акцентом проекта, под фото. */
.motion-ring {
  position: absolute;
  z-index: 0;
  border: 1px solid var(--color-editorial-blue);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

/* Линия фокуса под полем формы — лайм проекта, прочерчивается слева. */
.request-form__field.has-motion-line {
  position: relative;
}

.motion-field-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--color-brand-lime);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

/* Бумажный самолётик живёт на форме: позиция задаётся transform, сама карточка не сдвигается. */
.contact-page__form-card.has-motion-plane {
  position: relative;
}

.motion-plane-dock {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 30px;
  height: 30px;
  color: var(--color-editorial-blue);
  pointer-events: none;
}

.motion-plane-dock__plane {
  display: block;
  width: 100%;
  height: 100%;
}

/* Пунктирный след за самолётиком: тот же синий, тонко; после посадки тает. */
.motion-plane-trail {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.motion-plane-trail path {
  fill: none;
  stroke: var(--color-editorial-blue);
  stroke-width: 1.2;
  stroke-dasharray: 2 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .55;
}

/* Lenis сам управляет прокруткой. */
html.lenis,
html.lenis body {
  height: auto;
}

html.lenis.lenis-smooth {
  scroll-behavior: auto;
}

html.lenis.lenis-stopped {
  overflow: hidden;
}
