<!-- ============================================================
  АНИМИРОВАННЫЙ ФОН «СТРОЙКА» для Tilda
  Цвета: тёмно-синий + бежевый. Меняется только фон страницы.

  КАК ВСТАВИТЬ:
  Настройки сайта → Ещё → «HTML-код для вставки внутрь BODY» → вставьте весь код → Сохранить → Опубликовать.
  (Для одной страницы: Настройки страницы → Ещё → тот же пункт.)

  Если какие-то блоки закрашены белым — в настройках этих блоков
  поставьте фон «прозрачный» (или удалите заливку).
============================================================ -->

<div id="stroika-bg" aria-hidden="true">

  <!-- Чертёжная сетка -->
  <div class="sb-grid sb-grid--small"></div>
  <div class="sb-grid sb-grid--big"></div>

  <!-- Мягкое бежевое свечение -->
  <div class="sb-glow"></div>

  <!-- Строящееся здание (слева) -->
  <svg class="sb-building" viewBox="0 0 300 420" preserveAspectRatio="xMinYMax meet">
    <g fill="none" stroke="#e8dcc4" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
      <line x1="10" y1="410" x2="290" y2="410" opacity=".7"/>
      <g class="sb-floor f1"><rect x="40" y="340" width="200" height="70"/><line x1="100" y1="340" x2="100" y2="410"/><line x1="160" y1="340" x2="160" y2="410"/></g>
      <g class="sb-floor f2"><rect x="40" y="270" width="200" height="70"/><line x1="100" y1="270" x2="100" y2="340"/><line x1="160" y1="270" x2="160" y2="340"/></g>
      <g class="sb-floor f3"><rect x="40" y="200" width="200" height="70"/><line x1="100" y1="200" x2="100" y2="270"/><line x1="160" y1="200" x2="160" y2="270"/></g>
      <g class="sb-floor f4"><rect x="40" y="130" width="200" height="70"/><line x1="100" y1="130" x2="100" y2="200"/><line x1="160" y1="130" x2="160" y2="200"/></g>
      <g class="sb-floor f5" stroke-dasharray="6 6"><line x1="40" y1="60" x2="40" y2="130"/><line x1="100" y1="60" x2="100" y2="130"/><line x1="160" y1="60" x2="160" y2="130"/><line x1="240" y1="60" x2="240" y2="130"/></g>
    </g>
  </svg>

  <!-- Башенный кран (справа) -->
  <svg class="sb-crane" viewBox="0 0 400 500" preserveAspectRatio="xMaxYMax meet">
    <g fill="none" stroke="#e8dcc4" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round">
      <!-- башня -->
      <line x1="185" y1="500" x2="185" y2="60"/>
      <line x1="215" y1="500" x2="215" y2="60"/>
      <path d="M185 500 L215 460 L185 420 L215 380 L185 340 L215 300 L185 260 L215 220 L185 180 L215 140 L185 100 L215 60" opacity=".8"/>
      <!-- стрела и противовес -->
      <line x1="40" y1="60" x2="385" y2="60"/>
      <path d="M200 18 L200 60 M200 18 L40 58 M200 18 L385 58" opacity=".8"/>
      <rect x="40" y="60" width="34" height="26" opacity=".9"/>
      <rect x="188" y="40" width="26" height="20" opacity=".9"/>

      <!-- тележка с тросом и грузом -->
      <g class="sb-trolley">
        <rect x="288" y="60" width="24" height="9"/>
        <g class="sb-cable">
          <line x1="300" y1="69" x2="300" y2="190"/>
          <path d="M300 190 L282 208 M300 190 L318 208"/>
          <rect x="276" y="208" width="48" height="12" fill="#e8dcc4" fill-opacity=".25"/>
        </g>
      </g>
    </g>
  </svg>

  <!-- Пыль / частицы -->
  <i class="sb-dot d1"></i><i class="sb-dot d2"></i><i class="sb-dot d3"></i>
  <i class="sb-dot d4"></i><i class="sb-dot d5"></i><i class="sb-dot d6"></i>
</div>


  /* Фон страницы: делаем родные слои Tilda прозрачными, чтобы был виден фон.
     Блоки с собственной заливкой не затрагиваются. */
  html, body { background: #0b1f3a !important; }
  #allrecords, .t-records { background: transparent !important; }

  #stroika-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background:
      radial-gradient(1200px 700px at 85% 110%, #1b3f73 0%, rgba(27,63,115,0) 60%),
      linear-gradient(160deg, #081a33 0%, #0f2a52 55%, #0a1f3d 100%);
  }

  /* Сетка чертежа, медленно дрейфует */
  #stroika-bg .sb-grid { position: absolute; inset: -80px; }
  #stroika-bg .sb-grid--small {
    background-image:
      linear-gradient(rgba(232,220,196,.06) 1px, transparent 1px),
      linear-gradient(90deg, rgba(232,220,196,.06) 1px, transparent 1px);
    background-size: 28px 28px;
    animation: sbDrift 40s linear infinite;
  }
  #stroika-bg .sb-grid--big {
    background-image:
      linear-gradient(rgba(232,220,196,.12) 1px, transparent 1px),
      linear-gradient(90deg, rgba(232,220,196,.12) 1px, transparent 1px);
    background-size: 140px 140px;
    animation: sbDrift 40s linear infinite;
  }
  @keyframes sbDrift { to { transform: translate(140px, 140px); } }

  /* Свечение */
  #stroika-bg .sb-glow {
    position: absolute; left: -10%; top: -20%;
    width: 60vw; height: 60vw; border-radius: 50%;
    background: radial-gradient(circle, rgba(232,220,196,.14) 0%, rgba(232,220,196,0) 65%);
    animation: sbGlow 14s ease-in-out infinite alternate;
  }
  @keyframes sbGlow { to { transform: translate(10vw, 8vh) scale(1.15); opacity: .7; } }

  /* Кран */
  #stroika-bg .sb-crane {
    position: absolute; right: 2vw; bottom: 0;
    height: min(78vh, 640px); width: auto;
    opacity: .38;
  }
  #stroika-bg .sb-trolley { animation: sbTrolley 16s ease-in-out infinite alternate; }
  @keyframes sbTrolley { from { transform: translateX(-190px); } to { transform: translateX(70px); } }
  #stroika-bg .sb-cable {
    transform-origin: 300px 69px;
    animation: sbSway 4.5s ease-in-out infinite alternate;
  }
  @keyframes sbSway { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }

  /* Здание: этажи «вырастают» по очереди */
  #stroika-bg .sb-building {
    position: absolute; left: 3vw; bottom: 0;
    height: min(55vh, 460px); width: auto;
    opacity: .3;
  }
  #stroika-bg .sb-floor { opacity: 0; animation: sbFloor 18s ease-in-out infinite; }
  #stroika-bg .f1 { animation-delay: 0s; }
  #stroika-bg .f2 { animation-delay: 2s; }
  #stroika-bg .f3 { animation-delay: 4s; }
  #stroika-bg .f4 { animation-delay: 6s; }
  #stroika-bg .f5 { animation-delay: 8s; }
  @keyframes sbFloor {
    0%   { opacity: 0; transform: translateY(14px); }
    8%   { opacity: 1; transform: translateY(0); }
    80%  { opacity: 1; transform: translateY(0); }
    92%, 100% { opacity: 0; transform: translateY(0); }
  }

  /* Пылинки */
  #stroika-bg .sb-dot {
    position: absolute; width: 4px; height: 4px; border-radius: 50%;
    background: #e8dcc4; opacity: 0;
    animation: sbFloat 12s linear infinite;
  }
  #stroika-bg .d1 { left: 12%; bottom: -10px; animation-delay: 0s; }
  #stroika-bg .d2 { left: 28%; bottom: -10px; animation-delay: 3s; width: 3px; height: 3px; }
  #stroika-bg .d3 { left: 46%; bottom: -10px; animation-delay: 6s; }
  #stroika-bg .d4 { left: 63%; bottom: -10px; animation-delay: 2s; width: 3px; height: 3px; }
  #stroika-bg .d5 { left: 78%; bottom: -10px; animation-delay: 8s; }
  #stroika-bg .d6 { left: 91%; bottom: -10px; animation-delay: 5s; width: 3px; height: 3px; }
  @keyframes sbFloat {
    0%   { transform: translateY(0); opacity: 0; }
    15%  { opacity: .5; }
    100% { transform: translateY(-105vh) translateX(30px); opacity: 0; }
  }

  /* Телефоны: слабее и меньше, чтобы не мешать тексту */
  @media (max-width: 768px) {
    #stroika-bg .sb-crane { height: 50vh; opacity: .25; right: -10vw; }
    #stroika-bg .sb-building { height: 34vh; opacity: .2; left: -8vw; }
  }

  /* Если у человека отключены анимации в системе */
  @media (prefers-reduced-motion: reduce) {
    #stroika-bg * { animation: none !important; }
    #stroika-bg .sb-floor { opacity: 1; }
  }
</style>



  
  
  

  
  

  
  
    
      
      
      
      
      
      
    
  

  
  
    
      
      
      
      
      
      
      
      
      

      
      
        
        
          
          
          
        
      
    
  

  
  
  



  /* Фон страницы: делаем родные слои Tilda прозрачными, чтобы был виден фон.
     Блоки с собственной заливкой не затрагиваются. */
  html, body { background: #0b1f3a !important; }
  #allrecords, .t-records { background: transparent !important; }

  #stroika-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background:
      radial-gradient(1200px 700px at 85% 110%, #1b3f73 0%, rgba(27,63,115,0) 60%),
      linear-gradient(160deg, #081a33 0%, #0f2a52 55%, #0a1f3d 100%);
  }

  /* Сетка чертежа, медленно дрейфует */
  #stroika-bg .sb-grid { position: absolute; inset: -80px; }
  #stroika-bg .sb-grid--small {
    background-image:
      linear-gradient(rgba(232,220,196,.06) 1px, transparent 1px),
      linear-gradient(90deg, rgba(232,220,196,.06) 1px, transparent 1px);
    background-size: 28px 28px;
    animation: sbDrift 40s linear infinite;
  }
  #stroika-bg .sb-grid--big {
    background-image:
      linear-gradient(rgba(232,220,196,.12) 1px, transparent 1px),
      linear-gradient(90deg, rgba(232,220,196,.12) 1px, transparent 1px);
    background-size: 140px 140px;
    animation: sbDrift 40s linear infinite;
  }
  @keyframes sbDrift { to { transform: translate(140px, 140px); } }

  /* Свечение */
  #stroika-bg .sb-glow {
    position: absolute; left: -10%; top: -20%;
    width: 60vw; height: 60vw; border-radius: 50%;
    background: radial-gradient(circle, rgba(232,220,196,.14) 0%, rgba(232,220,196,0) 65%);
    animation: sbGlow 14s ease-in-out infinite alternate;
  }
  @keyframes sbGlow { to { transform: translate(10vw, 8vh) scale(1.15); opacity: .7; } }

  /* Кран */
  #stroika-bg .sb-crane {
    position: absolute; right: 2vw; bottom: 0;
    height: min(78vh, 640px); width: auto;
    opacity: .38;
  }
  #stroika-bg .sb-trolley { animation: sbTrolley 16s ease-in-out infinite alternate; }
  @keyframes sbTrolley { from { transform: translateX(-190px); } to { transform: translateX(70px); } }
  #stroika-bg .sb-cable {
    transform-origin: 300px 69px;
    animation: sbSway 4.5s ease-in-out infinite alternate;
  }
  @keyframes sbSway { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }

  /* Здание: этажи «вырастают» по очереди */
  #stroika-bg .sb-building {
    position: absolute; left: 3vw; bottom: 0;
    height: min(55vh, 460px); width: auto;
    opacity: .3;
  }
  #stroika-bg .sb-floor { opacity: 0; animation: sbFloor 18s ease-in-out infinite; }
  #stroika-bg .f1 { animation-delay: 0s; }
  #stroika-bg .f2 { animation-delay: 2s; }
  #stroika-bg .f3 { animation-delay: 4s; }
  #stroika-bg .f4 { animation-delay: 6s; }
  #stroika-bg .f5 { animation-delay: 8s; }
  @keyframes sbFloor {
    0%   { opacity: 0; transform: translateY(14px); }
    8%   { opacity: 1; transform: translateY(0); }
    80%  { opacity: 1; transform: translateY(0); }
    92%, 100% { opacity: 0; transform: translateY(0); }
  }

  /* Пылинки */
  #stroika-bg .sb-dot {
    position: absolute; width: 4px; height: 4px; border-radius: 50%;
    background: #e8dcc4; opacity: 0;
    animation: sbFloat 12s linear infinite;
  }
  #stroika-bg .d1 { left: 12%; bottom: -10px; animation-delay: 0s; }
  #stroika-bg .d2 { left: 28%; bottom: -10px; animation-delay: 3s; width: 3px; height: 3px; }
  #stroika-bg .d3 { left: 46%; bottom: -10px; animation-delay: 6s; }
  #stroika-bg .d4 { left: 63%; bottom: -10px; animation-delay: 2s; width: 3px; height: 3px; }
  #stroika-bg .d5 { left: 78%; bottom: -10px; animation-delay: 8s; }
  #stroika-bg .d6 { left: 91%; bottom: -10px; animation-delay: 5s; width: 3px; height: 3px; }
  @keyframes sbFloat {
    0%   { transform: translateY(0); opacity: 0; }
    15%  { opacity: .5; }
    100% { transform: translateY(-105vh) translateX(30px); opacity: 0; }
  }

  /* Телефоны: слабее и меньше, чтобы не мешать тексту */
  @media (max-width: 768px) {
    #stroika-bg .sb-crane { height: 50vh; opacity: .25; right: -10vw; }
    #stroika-bg .sb-building { height: 34vh; opacity: .2; left: -8vw; }
  }

  /* Если у человека отключены анимации в системе */
  @media (prefers-reduced-motion: reduce) {
    #stroika-bg * { animation: none !important; }
    #stroika-bg .sb-floor { opacity: 1; }
  }
