/* iframe и вложенные элементы карты */
#rec1341854841 iframe,
#rec1341854841 .t-map__map iframe,
#rec1341854841 .t396__artboard iframe,
#rec1341854841 .t396__elem,
#rec1341854841 .t396__elem iframe {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 30px !important;
  -webkit-border-radius: 30px !important;
  overflow: hidden !important;
  -webkit-clip-path: inset(0 round 30px) !important;
  clip-path: inset(0 round 30px) !important;
  -webkit-mask-image: -webkit-radial-gradient(white, black) !important;
}

/* страховка для любых внутренних контейнеров */
#rec1341854841 * {
  -webkit-border-radius: 30px !important;
  border-radius: 30px !important;
}

/* ===== T868: делаем контейнер попапа на всю площадь, убираем ограничения ===== */
#rec1396872131 .t-popup{
  background: rgba(0,0,0,.82);
}

#rec1396872131 .t-popup__container-outer,
#rec1396872131 .t-popup__container,
#rec1396872131 .t-popup__content,
#rec1396872131 .t868__wrapper,
#rec1396872131 .t868__content,
#rec1396872131 .t868__inner{
  width:100vw !important;
  height:100vh !important;
  max-width:100vw !important;
  max-height:100vh !important;
  padding:0 !important;
  margin:0 !important;
  display:block !important;
  background:#000; /* фон под PDF */
}

/* Сам iframe — растянуть на весь контейнер */
#rec1396872131 .pdfframe,
#rec1396872131 iframe{
  position:absolute;
  inset:0;
  width:100% !important;
  height:100% !important;
  border:0 !important;
  display:block !important;
}

/* Кнопка закрытия Tilda — в правом верхнем углу */
#rec1396872131 .t-popup__close{
  top:12px !important;
  right:16px !important;
}
/* Кнопка закрытия поверх iframe */
#rec1396872131 .t-popup__close {
  position: absolute !important;
  top: 20px !important;        /* отступ сверху */
  right: 20px !important;      /* отступ справа */
  z-index: 9999 !important;    /* выше iframe */
  background: rgba(0,0,0,0.6); /* тёмный фон, чтобы был виден */
  border-radius: 50%;          /* кружок */
  padding: 8px;                /* чуть больше зона клика */
}
#rec1396872131 .t-popup__close svg,
#rec1396872131 .t-popup__close:before {
  color: #fff !important;      /* крестик белым */
}

/* ===== T868: делаем контейнер попапа на всю площадь, убираем ограничения ===== */
#rec1396958671 .t-popup{
  background: rgba(0,0,0,.82);
}

#rec1396958671 .t-popup__container-outer,
#rec1396958671 .t-popup__container,
#rec1396958671 .t-popup__content,
#rec1396958671 .t868__wrapper,
#rec1396958671 .t868__content,
#rec1396958671 .t868__inner{
  width:100vw !important;
  height:100vh !important;
  max-width:100vw !important;
  max-height:100vh !important;
  padding:0 !important;
  margin:0 !important;
  display:block !important;
  background:#000; /* фон под PDF */
}

/* Сам iframe — растянуть на весь контейнер */
#rec1396958671 .pdfframe,
#rec1396958671 iframe{
  position:absolute;
  inset:0;
  width:100% !important;
  height:100% !important;
  border:0 !important;
  display:block !important;
}

/* Кнопка закрытия Tilda — в правом верхнем углу */
#rec1396958671 .t-popup__close{
  top:12px !important;
  right:16px !important;
}

/* Кнопка закрытия поверх iframe */
#rec1396958671 .t-popup__close {
  position: absolute !important;
  top: 20px !important;        /* отступ сверху */
  right: 20px !important;      /* отступ справа */
  z-index: 9999 !important;    /* выше iframe */
  background: rgba(0,0,0,0.6); /* тёмный фон, чтобы был виден */
  border-radius: 50%;          /* кружок */
  padding: 8px;                /* чуть больше зона клика */
}
#rec1396958671 .t-popup__close svg,
#rec1396958671 .t-popup__close:before {
  color: #fff !important;      /* крестик белым */
}

/* ===== T868: делаем контейнер попапа на всю площадь, убираем ограничения ===== */
#rec1396979861 .t-popup{
  background: rgba(0,0,0,.82);
}

#rec1396979861 .t-popup__container-outer,
#rec1396979861 .t-popup__container,
#rec1396979861 .t-popup__content,
#rec1396979861 .t868__wrapper,
#rec1396979861 .t868__content,
#rec1396979861 .t868__inner{
  width:100vw !important;
  height:100vh !important;
  max-width:100vw !important;
  max-height:100vh !important;
  padding:0 !important;
  margin:0 !important;
  display:block !important;
  background:#000; /* фон под PDF */
}

/* Сам iframe — растянуть на весь контейнер */
#rec1396979861 .pdfframe,
#rec1396979861 iframe{
  position:absolute;
  inset:0;
  width:100% !important;
  height:100% !important;
  border:0 !important;
  display:block !important;
}

/* Кнопка закрытия Tilda — в правом верхнем углу */
#rec1396979861 .t-popup__close{
  top:12px !important;
  right:16px !important;
}

/* Кнопка закрытия поверх iframe */
#rec1396979861 .t-popup__close {
  position: absolute !important;
  top: 20px !important;        /* отступ сверху */
  right: 20px !important;      /* отступ справа */
  z-index: 9999 !important;    /* выше iframe */
  background: rgba(0,0,0,0.6); /* тёмный фон, чтобы был виден */
  border-radius: 50%;          /* кружок */
  padding: 8px;                /* чуть больше зона клика */
}
#rec13969

#rec1417825501 {
  z-index: 9999 !important;
}

/* Прелоадер на весь экран */
#rec1419137061 {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000;
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.8s ease;
}

/* Анимация логотипа */
#rec1419137061 img {
  width: 180px;
  height: auto;
  animation: fadeInOut 2s infinite ease-in-out;
}

@keyframes fadeInOut {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

#rec1419137061 img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
