/* LandReels — минимальные стили без Tailwind (готово к копированию) */

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Unbounded", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #000;
  color: #fff;
  overflow: hidden;
}

/* Animations */
@keyframes slideUpFadeIn {
  from {
    opacity: 0;
    transform: translateY(80px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes slideDownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-80px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.lr-root {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.lr-topbar {
  position: fixed;
  top: 20px;
  left: 20px;
  right: 20px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .lr-topbar {
    top: 20px;
    left: 50px;
    right: 50px;
  }
}

.lr-sound-toggle {
  opacity: 0;
  cursor: pointer;
  background: transparent;
  border: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.15s ease-out;
  animation: slideDownFadeIn 1.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 2s
    forwards;
}

.lr-sound-toggle:hover {
  opacity: 0.8;
}

.lr-sound-icon {
  width: 24px;
  height: 24px;
  display: block;
}

@media (min-width: 768px) {
  .lr-sound-icon {
    width: 21px;
    height: 21px;
  }
}

.lr-telegram {
  font-weight: 400;
  font-size: 15px;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s ease-out;
  animation: slideDownFadeIn 1.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.8s
    forwards;
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.35);
}

@media (min-width: 768px) {
  .lr-telegram {
    font-size: 16px;
  }
}

.lr-telegram:hover {
  opacity: 0.8;
}

.lr-indicators {
  position: fixed;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 768px) {
  .lr-indicators {
    right: 16px;
  }
}

.lr-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: all 220ms ease-out, background-color 160ms ease-out;
}

.lr-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.lr-dot.is-active {
  height: 18px;
  background: rgba(255, 255, 255, 0.9);
}

@media (min-width: 768px) {
  .lr-dot {
    width: 8px;
    height: 8px;
  }
  .lr-dot.is-active {
    height: 24px;
  }
}

/* Slides */
.lr-slide {
  width: 100%;
  height: 100svh;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .lr-slide {
    height: 100vh;
  }
}

.lr-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.lr-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Внутри overlay лежит контент — он должен быть кликабельным/выделяемым */
  pointer-events: auto;
}

@keyframes lrBottomIn {
  from {
    opacity: 0;
    transform: translate3d(0, 28px, 0) scale(0.985);
    filter: blur(1.2px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@keyframes rotateRing {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.lr-bottom {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  opacity: 0;
  will-change: transform, opacity, filter;
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
}

.lr-bottom.is-animating {
  animation: lrBottomIn 900ms cubic-bezier(0.16, 1, 0.3, 1) 0s both;
}

@media (min-width: 768px) {
  .lr-bottom {
    left: 40px;
    right: 40px;
    bottom: calc(40px + env(safe-area-inset-bottom, 0px));
  }
}

.lr-bottom-layout {
  display: block;
  width: 100%;
}

.lr-bottom-left {
  display: block;
}

.lr-bottom-right {
  display: none;
}

@media (min-width: 768px) {
  .lr-bottom-layout {
    display: flex;
    align-items: flex-end;
    width: 100%;
  }
  /* По текущему ТЗ на десктопе: 40/60, контент в левой колонке (40%) */
  .lr-bottom-left {
    flex: 0 0 40%;
    max-width: 40%;
  }
  .lr-bottom-right {
    display: block;
    flex: 0 0 60%;
    max-width: 60%;
  }
}

.lr-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
}

@media (min-width: 768px) {
  .lr-bottom,
  .lr-bottom-inner {
    user-select: text;
    -webkit-user-select: text;
  }
}

.lr-avatar-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  margin-bottom: 10px;
}

.lr-avatar {
  width: 43px;
  height: 43px;
  border-radius: 999px;
  position: relative;
  flex: 0 0 auto;
  transform: scale(0.8);
  transform-origin: left center;
}

@media (min-width: 768px) {
  .lr-avatar {
    width: 53px;
    height: 53px;
  }
}

/* Instagram-like: 2px ring + 2px “воздух” + фото */
.lr-avatar-ring {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  pointer-events: none;
}

.lr-avatar-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  padding: 2px; /* толщина обводки */
  background: conic-gradient(
    from 135deg,
    #ffffff 0deg,
    #ffffff 90deg,
    #ffffff 180deg,
    var(--lr-ring-color, #eb3323) 270deg,
    var(--lr-ring-color, #eb3323) 360deg
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: rotateRing 3s linear infinite;
  transform-origin: center center;
}

.lr-avatar-media {
  position: absolute;
  /* 2px обводка + 2px “воздух” */
  inset: 4px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

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

.lr-tag {
  display: inline-block;
  font-size: 16px;
  color: #ffffff;
  opacity: 0.9;
  margin: 0 0 0 5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.3);
}

.lr-title {
  font-weight: 500;
  line-height: 1;
  margin: 0;
  font-size: clamp(30px, calc((100vw - 40px) / 12), 150px);
}

@media (min-width: 768px) {
  .lr-title {
    font-size: 30px;
    line-height: 1.1;
  }
}

.lr-title-line {
  display: block;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.4);
}

.lr-caption {
  margin: 14px 0 0;
  max-width: 520px;
  font-size: 12px;
  line-height: 1.35;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ===== Reels-like expandable caption ===== */
.lr-captionBox {
  margin-top: 14px;
  max-width: 520px;
  pointer-events: auto;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  /* быстрее отклик на тап (особенно iOS) */
  touch-action: manipulation;
}

.lr-captionBox.is-expanded {
  user-select: text;
  -webkit-user-select: text;
}

.lr-captionBox__scroll {
  max-height: 6.5em; /* для 81 символа в нераскрытом виде */
  overflow: hidden;
  transition: none;
}

.lr-captionBox.is-expanded .lr-captionBox__scroll {
  max-height: 16em; /* примерно для 600 символов без прокрутки, остальное прокручивается */
  transition: none;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding-right: 6px; /* чтобы скроллбар не наезжал на текст */
}

.lr-captionBox__text {
  /* Важно: перебиваем .lr-caption даже в desktop media-query (у него другой margin-top) */
  margin: 0;
}

.lr-captionBox__more,
.lr-captionBox__less {
  opacity: 0.6; /* -40% непрозрачность */
}

/* В свернутом виде показываем только "подробнее" */
.lr-captionBox__less {
  display: none;
}

/* В раскрытом виде показываем только "меньше" */
.lr-captionBox.is-expanded .lr-captionBox__more {
  display: none;
}
.lr-captionBox.is-expanded .lr-captionBox__less {
  display: inline;
}

@media (min-width: 768px) {
  .lr-caption {
    margin-top: 18px;
    font-size: 12px;
  }

  /* чтобы на десктопе не появлялся лишний верхний отступ из .lr-caption */
  .lr-caption.lr-captionBox__text {
    margin: 0;
  }

  /* сохраняем привычный внешний отступ подписи на десктопе */
  .lr-captionBox {
    margin-top: 18px;
  }
}

.lr-cta {
  display: block;
  margin-top: 20px;
  padding: 14px 28px;
  background: #ffffff;
  color: #000000;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  border: 0;
  border-radius: 8px;
  transition: all 0.2s ease-out;
  pointer-events: auto;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.lr-cta:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 6px 20px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .lr-cta {
    margin-top: 24px;
    padding: 16px 32px;
    font-size: 16px;
  }
}

.lr-privacy {
  display: block;
  margin-top: 12px;
  font-size: 11px;
  color: #ffffff;
  text-decoration: underline;
  pointer-events: auto;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: opacity 0.2s ease-out;
}

.lr-privacy:hover {
  opacity: 0.8;
}

@media (min-width: 768px) {
  .lr-privacy {
    margin-top: 14px;
    font-size: 12px;
  }
}

/* ===== Modal (простая форма заявки) ===== */
.lr-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lr-modal.is-open {
  display: flex;
}

@media (min-width: 768px) {
  .lr-modal {
    padding: 40px;
  }
}

.lr-modal__backdrop {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0.92;
}

.lr-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 44px rgba(0, 0, 0, 0.65);
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .lr-modal__dialog {
    padding: 22px;
  }
}

.lr-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 18px;
  line-height: 1;
}

.lr-modal__close:hover {
  background: rgba(255, 255, 255, 0.06);
}

.lr-modal__logo {
  margin: 0 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lr-modal__logo-img {
  width: 86px;
  height: 86px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
}

@media (min-width: 768px) {
  .lr-modal__logo-img {
    width: 106px;
    height: 106px;
  }
}

.lr-modal__title {
  margin: 0 0 20px;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.25;
  color: #fff;
  text-align: center;
}

.lr-modal__form {
  display: grid;
  gap: 0px;
  width: 100%;
  margin-bottom: 10px;
}

.lr-modal__field {
  display: grid;
  gap: 6px;
}

.lr-modal__label {
  font-size: 12px;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.92);
}

.lr-modal__input {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  outline: none;
}

.lr-modal__input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.lr-modal__input:focus {
  border-color: rgba(255, 255, 255, 0.55);
}

.lr-modal__input[aria-invalid="true"] {
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12);
}

.lr-modal__error {
  min-height: 14px;
  font-size: 11px;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.75);
}

.lr-modal__submit {
  margin-top: 6px;
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s ease-out, background 0.2s ease-out, opacity 0.2s ease-out;
}

.lr-modal__submit:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.lr-modal__submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.lr-modal__footnote {
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.75);
}

.lr-modal__footnote a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: underline;
}

.lr-modal__status {
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.85);
  min-height: 15px;
}

