/* Подключается в r.html (страница отчёта для менеджера). */
/* Моушн-слой страницы отчёта для менеджера. Только transform/opacity/clip-path — плавно и на недорогих телефонах. */
/* --- заставка: логотип FC рисуется линией и раскрывает страницу --- */
.mo-intro { position:fixed; inset:0; z-index:200; display:grid; place-items:center; background:radial-gradient(60% 45% at 50% 45%,#10214a,#05080f 70%); pointer-events:auto; }
.mo-intro.out { animation:moOut .7s cubic-bezier(.7,0,.2,1) forwards; pointer-events:none; }
@keyframes moOut { to { opacity:0; transform:scale(1.18); filter:blur(6px); } }
.mo-intro svg { width:132px; height:132px; overflow:visible; filter:drop-shadow(0 0 26px rgba(70,130,255,.55)); }
.mo-intro .r { fill:none; stroke:url(#moG); stroke-width:12; stroke-linecap:round; stroke-dasharray:240; stroke-dashoffset:240; animation:moDraw .75s .05s cubic-bezier(.6,0,.2,1) forwards; }
.mo-intro .f { fill:none; stroke:#eaf1ff; stroke-width:10; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:110; stroke-dashoffset:110; animation:moDraw .5s .45s cubic-bezier(.6,0,.2,1) forwards; }
.mo-intro .d { fill:#eaf1ff; transform-box:fill-box; transform-origin:center; transform:scale(0); animation:moPop .38s cubic-bezier(.3,1.8,.5,1) forwards; }
.mo-intro .d1 { animation-delay:.78s; } .mo-intro .d2 { animation-delay:.88s; }
.mo-intro .w { position:absolute; top:calc(50% + 86px); left:0; right:0; text-align:center; font:800 15px -apple-system,system-ui,sans-serif; letter-spacing:.42em; color:rgba(234,241,255,.0); animation:moWord .6s .7s ease forwards; }
@keyframes moDraw { to { stroke-dashoffset:0; } }
@keyframes moPop { to { transform:scale(1); } }
@keyframes moWord { from { letter-spacing:.7em; } to { color:rgba(234,241,255,.75); letter-spacing:.42em; } }

/* --- шапка: всё поднимается по очереди после заставки --- */
.mo-play .hb > * { animation:moRise .9s cubic-bezier(.2,.8,.2,1) both; }
.mo-play .hb > .done { animation-delay:var(--d0,0s); }
.mo-play .hb > h1 { animation:moH1 1s cubic-bezier(.2,.8,.2,1) both; animation-delay:calc(var(--d0,0s) + .08s); }
.mo-play .hb > .chips { animation-delay:calc(var(--d0,0s) + .22s); }
.mo-play .hb > .seal { animation-delay:calc(var(--d0,0s) + .34s); }
.mo-play .htop > * { animation:moDrop .8s cubic-bezier(.2,.8,.2,1) both; animation-delay:calc(var(--d0,0s) - .1s); }
.mo-play .htop .hr { animation-delay:var(--d0,0s); }
@keyframes moRise { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:none; } }
@keyframes moH1 { from { opacity:0; transform:translateY(36%); clip-path:inset(0 0 100% 0); } to { opacity:1; transform:none; clip-path:inset(-10% -5% -20% -5%); } }
@keyframes moDrop { from { opacity:0; transform:translateY(-14px); } to { opacity:1; transform:none; } }
.mo-play .chips span { animation:moRise .7s cubic-bezier(.2,.8,.2,1) both; }
.mo-play .chips span:nth-child(1) { animation-delay:calc(var(--d0,0s) + .26s); } .mo-play .chips span:nth-child(2) { animation-delay:calc(var(--d0,0s) + .34s); }

/* галочка «выполнено» рисуется штрихом и даёт волну */
.mo .seal .sk { position:relative; }
/* оформление галочки — постоянное, а не только на время анимации (иначе после неё она заливается чёрным треугольником) */
.mo .seal .sk svg.mo-ck { width:22px; height:22px; fill:none; stroke:#05140d; stroke-width:3; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:24; stroke-dashoffset:0; }
.mo-play .seal .sk svg.mo-ck { stroke-dashoffset:24; animation:moDraw .45s cubic-bezier(.6,0,.2,1) forwards; animation-delay:calc(var(--d0,0s) + .75s); }
.mo-play .seal .sk::after { content:""; position:absolute; inset:0; border-radius:50%; box-shadow:0 0 0 0 rgba(61,220,151,.7); animation:moPing 1.2s ease-out both; animation-delay:calc(var(--d0,0s) + 1.05s); }
@keyframes moPing { 0% { box-shadow:0 0 0 0 rgba(61,220,151,.65); } 100% { box-shadow:0 0 0 18px rgba(61,220,151,0); } }

/* водяной знак FC в шапке прорисовывается */
.mo .fan { animation:none !important; }
.mo-play .fan path { stroke-dasharray:240; stroke-dashoffset:240; animation:moDraw 1.6s cubic-bezier(.5,0,.2,1) forwards; animation-delay:calc(var(--d0,0s) + .1s); }
.mo-play .fan circle { transform-box:fill-box; transform-origin:center; transform:scale(0); animation:moPop .5s cubic-bezier(.3,1.8,.5,1) forwards; animation-delay:calc(var(--d0,0s) + 1.2s); }
.mo-play .fan circle + circle { animation-delay:calc(var(--d0,0s) + 1.32s); }
.mo .hglow, .mo .fan { will-change:transform; }

/* --- появление при прокрутке --- */
.mo [data-mo] { opacity:0; transform:translateY(28px); transition:opacity .8s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.mo [data-mo].mo-in { opacity:1; transform:none; }
.mo h3.sec[data-mo] { transform:translateX(-26px); }
.mo h3.sec[data-mo].mo-in { transform:none; }
.mo h3.sec .cnt { transform:scale(0); transition:transform .5s .25s cubic-bezier(.3,1.8,.5,1); display:inline-block; }
.mo h3.sec.mo-in .cnt { transform:scale(1); }
.mo h3.sec::after { transform-origin:left; transform:scaleX(0); transition:transform 1s .15s cubic-bezier(.2,.8,.2,1); }
.mo h3.sec.mo-in::after { transform:scaleX(1); }

/* статистика: полоса «до / после» растёт */
.mo .stats .ratio i { transform-origin:left; transform:scaleX(0); transition:transform 1.1s cubic-bezier(.2,.8,.2,1); }
.mo .stats.mo-in .ratio i { transform:scaleX(1); }
.mo .stats.mo-in .ratio i:nth-child(2) { transition-delay:.18s; } .mo .stats.mo-in .ratio i:nth-child(3) { transition-delay:.3s; }
.mo .stats b { display:inline-block; }

/* «Что сделано»: акцентная линия прорисовывается сверху вниз */
.mo .cm::before { transform-origin:top; transform:scaleY(0); transition:transform .9s .25s cubic-bezier(.2,.8,.2,1); }
.mo .cm.mo-in::before { transform:scaleY(1); }

/* фото: раскрываются шторкой, внутри — лёгкий наезд камеры */
.mo .ph { opacity:1 !important; transform:none !important; clip-path:inset(12% 6% 12% 6% round 18px); transition:clip-path 1s cubic-bezier(.2,.8,.2,1) !important; }
.mo .ph img, .mo .ph video { transform:scale(1.14); transition:transform 1.6s cubic-bezier(.2,.8,.2,1); }
.mo .ph.vis { clip-path:inset(0 0 0 0 round 18px); }
.mo .ph.vis img, .mo .ph.vis video { transform:scale(1); }
.mo .ph .n { opacity:0; transform:scale(.6); transition:opacity .4s .5s, transform .5s .5s cubic-bezier(.3,1.8,.5,1); }
.mo .ph.vis .n { opacity:1; transform:none; }

/* оценка: звёзды проходят волной, когда блок появляется */
.mo .rate.mo-in .stars button { animation:moStar .6s cubic-bezier(.3,1.6,.5,1) both; }
.mo .rate.mo-in .stars button:nth-child(1) { animation-delay:.25s; } .mo .rate.mo-in .stars button:nth-child(2) { animation-delay:.33s; }
.mo .rate.mo-in .stars button:nth-child(3) { animation-delay:.41s; } .mo .rate.mo-in .stars button:nth-child(4) { animation-delay:.49s; }
.mo .rate.mo-in .stars button:nth-child(5) { animation-delay:.57s; }
@keyframes moStar { 0% { transform:scale(.4) rotate(-40deg); opacity:0; } 60% { transform:scale(1.25) rotate(8deg); opacity:1; color:#ffc531; -webkit-text-stroke-color:#ffc531; text-shadow:0 0 22px rgba(255,197,49,.7); } 100% { transform:none; } }

/* касания: кнопки и строки мягко отвечают */
.mo .btn, .mo .blk .btn.sec, .mo .rep, .mo .seg button { transition:transform .25s cubic-bezier(.3,1.6,.5,1), background .25s, box-shadow .25s; }
.mo .btn:active, .mo .blk .btn.sec:active, .mo .rep:active { transform:scale(.96); }

@media (prefers-reduced-motion: reduce) {
  .mo-intro { display:none !important; }
  .mo *, .mo *::before, .mo *::after { animation:none !important; transition:none !important; }
  .mo [data-mo] { opacity:1; transform:none; } .mo .ph { clip-path:none; } .mo .ph img { transform:none; }
  .mo-play .fan path { stroke-dashoffset:0; } .mo-play .fan circle { transform:none; } .mo .stats .ratio i, .mo .cm::before, .mo h3.sec::after { transform:none; }
}
