/* MYPRO — стили сайта */
:root{
  --navy:#0A1F44;--navy2:#13306B;--blue:#2457D6;--ink:#0B0D12;--muted:#4B5563;--muted2:#6B7280;
  --line:#E3E7EE;--line2:#D4DAE5;--soft:#F4F6FA;--white:#fff;--radius:20px;
  --font:'Onest','Segoe UI',system-ui,-apple-system,sans-serif;--mono:'JetBrains Mono',ui-monospace,Menlo,monospace;
}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--font);color:var(--ink);background:#fff;line-height:1.5}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
a:hover{color:var(--blue)}
button,input,select,textarea{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.wrap{max-width:1280px;margin:0 auto;padding:0 32px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.label{font-family:var(--mono);font-size:13px;font-weight:700;color:var(--blue)}
h1,h2,h3{margin:0;line-height:1.1;letter-spacing:-.02em}
.h2{font-size:40px;font-weight:800}
.sec{padding-top:96px}
.sec-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:28px}
.sec-head .t{display:flex;flex-direction:column;gap:8px}
.sec-head p{margin:0;color:var(--muted);max-width:440px}

/* Кнопки */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:52px;padding:0 26px;border-radius:14px;font-weight:700;font-size:16px;border:0;cursor:pointer;transition:filter .15s,transform .1s}
.btn:active{transform:translateY(1px)}
.btn-navy{background:var(--navy);color:#fff}.btn-navy:hover{color:#fff;filter:brightness(1.15)}
.btn-line{background:#fff;color:var(--ink);border:1.5px solid var(--ink)}
.btn-ghost{background:#fff;color:var(--ink);border:1px solid var(--line2)}
.btn-white{background:#fff;color:var(--ink)}
.btn-sm{height:44px;padding:0 16px;font-size:14px;border-radius:12px}
.arrow{display:inline-block;transition:transform .2s}a:hover .arrow,button:hover .arrow{transform:translateX(4px)}

/* Верхняя полоса и шапка */
.topbar{background:var(--navy);color:#fff;font-size:13px}
.topbar .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;padding-top:10px;padding-bottom:10px}
.topbar .extra{display:flex;gap:20px;flex-wrap:wrap}
.hdr{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.95);backdrop-filter:saturate(1.4) blur(8px);border-bottom:1px solid var(--line)}
.hdr .wrap{display:flex;align-items:center;gap:22px;padding-top:14px;padding-bottom:14px}
.logo img{height:24px;width:auto}
.search{flex:1 1 260px;display:flex;align-items:center;gap:10px;height:46px;padding:0 14px;border-radius:12px;background:var(--soft);border:1px solid var(--line)}
.search input{flex:1;min-width:0;border:0;background:transparent;font-size:15px;outline:none}
.nav{display:flex;gap:24px;font-weight:600;font-size:15px}
.langs{display:flex;gap:2px;padding:3px;background:var(--soft);border-radius:10px}
.langs a{min-width:42px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;font-size:13px;font-weight:700;color:var(--muted)}
.langs a.on{background:#fff;color:var(--ink);box-shadow:0 1px 3px rgba(10,31,68,.2)}
.hdr-phone{display:flex;flex-direction:column;line-height:1.2}
.hdr-phone small{font-size:12px;color:var(--muted)}
.hdr-phone b{font-size:15px}
.burger{display:none;width:44px;height:44px;border-radius:12px;border:1px solid var(--line2);background:#fff;cursor:pointer;align-items:center;justify-content:center}
.mnav{display:none}

/* Баннер */
.hero{padding-top:28px}
.hero-grid{display:flex;flex-wrap:wrap;gap:24px}
.hero .h1{margin:0}
.hero-text{flex:1 1 440px;display:flex;flex-direction:column;justify-content:center;gap:22px;padding:24px 8px 24px 0}
.pill{display:inline-flex;align-items:center;gap:10px;width:fit-content;padding:6px 14px 6px 6px;border-radius:999px;background:#EEF3FF;color:var(--navy2);font-size:13px;font-weight:700}
.pill span{padding:4px 10px;border-radius:999px;background:var(--navy);color:#fff}
.hero .h1{font-size:54px;font-weight:800;letter-spacing:-.025em;line-height:1.08}
.hero .h1 em{font-style:normal;color:var(--blue)}
.hero-text p{margin:0;font-size:18px;line-height:1.6;color:var(--muted);max-width:520px}
.hero-btns{display:flex;flex-wrap:wrap;gap:12px}
.hero-ctrl{display:flex;align-items:center;gap:12px;margin-top:10px}
.ibtn{width:44px;height:44px;border-radius:12px;border:1px solid var(--line2);background:#fff;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
.dots{display:flex;gap:6px;margin-left:8px}
.dots button{width:6px;height:6px;border-radius:999px;border:0;padding:0;background:#C9D0DC;cursor:pointer;transition:width .3s,background .3s}
.dots button.on{width:28px;background:var(--navy)}
.stage{flex:1 1 560px;position:relative;min-height:560px;border-radius:28px;overflow:hidden;background:#E7EDF8;transition:background-color .8s ease;touch-action:pan-y}
.stage::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 45%,rgba(255,255,255,.7) 0%,rgba(255,255,255,0) 60%)}
.stage .word{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none;transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.stage .word span{font-weight:800;font-size:220px;line-height:.8;letter-spacing:-.05em;white-space:nowrap}
.stage .meta{position:absolute;top:20px;left:24px;right:24px;display:flex;justify-content:space-between;font-family:var(--mono);font-size:12px;font-weight:700;color:var(--muted);z-index:3}
.stage .meta i{display:inline-block;width:8px;height:8px;border-radius:999px;margin-right:8px;vertical-align:middle}
.stage .shadow{position:absolute;left:50%;bottom:58px;width:360px;height:34px;margin-left:-180px;border-radius:50%;background:radial-gradient(ellipse at center,rgba(10,31,68,.22) 0%,rgba(10,31,68,0) 70%)}
.prod-box{position:absolute;left:50%;top:50%;width:440px;height:440px;margin:-220px 0 0 -220px;animation:floaty 6s ease-in-out infinite}
.prod-layer{width:100%;height:100%;transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.prod-layer img.flat{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.flip-wrap{width:100%;height:100%;perspective:1100px}
.flipper{position:relative;width:100%;height:100%;transform-style:preserve-3d;cursor:grab;transition:transform .8s cubic-bezier(.2,.7,.2,1)}
.flipper.drag{transition:none;cursor:grabbing}
.face{position:absolute;inset:0;backface-visibility:hidden;-webkit-backface-visibility:hidden}
.face img{width:100%;height:100%;object-fit:contain;user-select:none;-webkit-user-drag:none}
.face.back{transform:rotateY(180deg)}
.face .sh{position:absolute;inset:0;background:var(--navy);opacity:0;pointer-events:none;transition:opacity .3s;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}
.callouts{position:absolute;inset:0;pointer-events:none;transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.callout{position:absolute;display:flex;align-items:center;gap:8px}
.callout .dot{width:10px;height:10px;border-radius:999px;background:#fff;border:3px solid currentColor}
.callout .ln{width:44px;height:1.5px;background:currentColor}
.callout .box{padding:10px 14px;border-radius:12px;background:#fff;box-shadow:0 10px 28px -12px rgba(10,31,68,.35);display:flex;flex-direction:column;gap:2px;color:var(--ink)}
.callout .box b{font-size:17px}.callout .box small{font-size:12px;color:var(--muted)}
.callout.c1{top:60px;left:4%;flex-direction:row-reverse}
.callout.c2{top:250px;left:64%}
.callout.c3{top:440px;left:6%;flex-direction:row-reverse}
.rot-hint{position:absolute;left:50%;bottom:16px;transform:translateX(-50%);z-index:4;display:flex;align-items:center;gap:8px;padding:6px 6px 6px 14px;border-radius:999px;background:rgba(255,255,255,.9);box-shadow:0 8px 24px -12px rgba(10,31,68,.35);white-space:nowrap;font-size:13px;font-weight:600;color:var(--muted)}
.rot-hint button{height:32px;padding:0 14px;border:0;border-radius:999px;background:var(--navy);color:#fff;font-size:13px;font-weight:700;cursor:pointer}
.nudge{display:inline-block;animation:nudge 1.6s ease-in-out infinite}
/* анимация смены слайда */
.slide-in .hero-text>*{animation:rise .7s cubic-bezier(.2,.7,.2,1) backwards}
.slide-in .hero-text>*:nth-child(2){animation-delay:.08s}.slide-in .hero-text>*:nth-child(3){animation-delay:.16s}.slide-in .hero-text>*:nth-child(4){animation-delay:.24s}
.slide-in .word span{animation:wordIn 1s cubic-bezier(.2,.7,.2,1) backwards}
.slide-in .prod-layer>*{animation:prodIn .9s cubic-bezier(.34,1.45,.64,1) backwards}
.slide-in .callout{animation:fadeIn .4s ease backwards}
.slide-in .callout.c1{animation-delay:.45s}.slide-in .callout.c2{animation-delay:.65s}.slide-in .callout.c3{animation-delay:.85s}
.slide-in .callout .ln{animation:draw .5s ease backwards;animation-delay:inherit}
.slide-in .shadow{animation:shadowIn .9s cubic-bezier(.34,1.4,.64,1) backwards}
@keyframes floaty{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@keyframes rise{from{opacity:0;transform:translateY(24px)}}
@keyframes fadeIn{from{opacity:0}}
@keyframes draw{from{transform:scaleX(0)}}
@keyframes prodIn{from{opacity:0;transform:translateY(-70px) scale(.9)}}
@keyframes wordIn{from{opacity:0;transform:translateX(140px)}}
@keyframes shadowIn{from{opacity:0;transform:scaleX(.4)}}
@keyframes nudge{0%,100%{transform:translateX(0)}50%{transform:translateX(6px)}}

/* Плитки категорий */
.tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin-top:24px}
.tile{display:flex;align-items:center;gap:14px;padding:12px 14px;border-radius:16px;border:1px solid var(--line);background:#fff;transition:box-shadow .2s,border-color .2s,transform .2s}
.tile:hover{transform:translateY(-3px);box-shadow:0 18px 40px -20px rgba(10,31,68,.33);border-color:#C9D3E6;color:var(--ink)}
.tile .im{width:56px;height:56px;flex:0 0 56px;border-radius:12px;background:var(--soft);display:flex;align-items:center;justify-content:center;overflow:hidden}
.tile .im img{width:50px;height:50px;object-fit:contain;mix-blend-mode:multiply}
.tile b{display:block;font-size:15px}.tile small{font-size:13px;color:var(--muted)}

/* Задачи */
.tasks{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:20px}
.task{display:flex;flex-direction:column;border-radius:24px;border:1px solid var(--line);overflow:hidden;background:#fff;transition:transform .2s,box-shadow .2s}
.task:hover{transform:translateY(-4px);box-shadow:0 18px 40px -20px rgba(10,31,68,.33);color:var(--ink)}
.task .im{height:220px;background:var(--soft);display:flex;align-items:center;justify-content:center;overflow:hidden}
.task .im img{width:78%;height:86%;object-fit:contain;mix-blend-mode:multiply}
.task .tx{padding:22px;display:flex;flex-direction:column;gap:10px}
.task h3{font-size:21px;font-weight:800}
.task p{margin:0;font-size:15px;color:var(--muted);line-height:1.6}
.task .ml{font-family:var(--mono);font-size:13px;font-weight:700;color:var(--navy2)}
.task.dark{background:var(--navy);border-color:var(--navy);color:#fff}
.task.dark .im{background:var(--navy2)}.task.dark .im img{mix-blend-mode:normal;border-radius:14px;width:60%}
.task.dark p{color:#DCE4F7}.task.dark .ml{color:#fff}.task.dark:hover{color:#fff}

/* Каталог */
.chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:28px}
.chip{height:44px;padding:0 18px;border-radius:12px;font-size:14px;font-weight:700;cursor:pointer;background:#fff;color:var(--ink);border:1px solid var(--line2)}
.chip.on{background:var(--navy);color:#fff;border-color:var(--navy)}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:20px}
.card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;transition:transform .15s ease-out,box-shadow .2s,border-color .2s}
.card:hover{box-shadow:0 18px 40px -20px rgba(10,31,68,.33);border-color:#C9D3E6}
.card .im{height:240px;position:relative;background:var(--soft);display:flex;align-items:center;justify-content:center;overflow:hidden}
.card .im img{width:84%;height:84%;object-fit:contain;mix-blend-mode:multiply;transition:transform .35s}
.card:hover .im img{transform:scale(1.06)}
.badges{position:absolute;top:12px;left:12px;display:flex;gap:6px}
.badge{padding:5px 10px;border-radius:8px;background:#fff;border:1px solid var(--line);font-size:12px;font-weight:700;color:var(--muted)}
.badge.pop{background:var(--navy);border-color:var(--navy);color:#fff}
.card .bd{padding:20px;display:flex;flex-direction:column;gap:14px;flex:1}
.card .nm{display:flex;justify-content:space-between;align-items:center;gap:12px}
.card h3{font-size:19px;font-weight:800}
.sws{display:flex;gap:6px}
.sw{width:24px;height:24px;border-radius:999px;padding:0;cursor:pointer;border:1px solid #C2C8D3;transition:transform .15s}
.sw:hover{transform:scale(1.12)}
.sw.on{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--navy)}
.specs-mini{display:flex;flex-wrap:wrap;gap:6px}
.specs-mini span{padding:5px 9px;border-radius:7px;background:var(--soft);font-family:var(--mono);font-size:12px;font-weight:700;color:var(--navy2)}
.note{font-size:12px;color:var(--muted2)}
.card .acts{display:flex;gap:8px;margin-top:auto;padding-top:4px}
.card .acts .btn{flex:1;height:44px;font-size:14px;border-radius:12px;padding:0 10px}
.empty{padding:48px 20px;text-align:center;color:var(--muted);border:1px dashed var(--line2);border-radius:20px;display:none}

/* Синий блок */
.why{border-radius:28px;background:var(--navy);color:#fff;padding:56px;display:flex;flex-direction:column;gap:40px}
.why h2{color:#fff;max-width:560px}
.why p{margin:0;color:#DCE4F7;max-width:420px}
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}
.stat{padding:24px;border-radius:18px;background:var(--navy2);display:flex;flex-direction:column;gap:10px}
.stat b{font-size:40px;font-weight:800;line-height:1}
.stat span{color:#DCE4F7;font-size:15px}
.stat.w{background:#fff;color:var(--ink)}.stat.w span{color:var(--muted)}

/* Шаги */
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));border-top:2px solid var(--ink)}
.step{padding:24px 24px 24px 0;display:flex;flex-direction:column;gap:10px}
.step b{font-family:var(--mono);font-size:14px;color:var(--blue)}
.step h3{font-size:20px;font-weight:800}
.step p{margin:0;color:var(--muted);font-size:15px;line-height:1.6}

/* Контакты и формы */
.contact{display:flex;flex-wrap:wrap;gap:24px;padding-bottom:96px}
.contact .info{flex:1 1 420px;border-radius:28px;background:var(--soft);padding:48px;display:flex;flex-direction:column;gap:18px}
.contact .info p{margin:0;color:var(--muted);font-size:16px;line-height:1.6}
.contact .big{font-weight:800;font-size:26px}
.form{flex:1 1 420px;border-radius:28px;background:#fff;border:1px solid var(--line);box-shadow:0 24px 60px -32px rgba(10,31,68,.2);padding:40px;display:flex;flex-direction:column;gap:8px}
.form label{font-size:14px;font-weight:700;margin-top:8px}
.inp{height:52px;padding:0 16px;border-radius:12px;border:1px solid var(--line2);background:#fff;font-size:16px;width:100%}
.form .btn{margin-top:14px;width:100%}
.form small{color:var(--muted2);font-size:13px}
.hp{position:absolute;left:-9999px}
.form-msg{display:none;padding:12px 14px;border-radius:12px;font-size:14px;font-weight:600}
.form-msg.ok{display:block;background:#E5F6EC;color:#1F5F3F}
.form-msg.err{display:block;background:#FDECEC;color:#9B1C1C}

/* Подвал */
.ftr{background:var(--ink);color:#fff}
.ftr .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:40px;padding-top:56px;padding-bottom:40px}
.ftr .col{display:flex;flex-direction:column;gap:10px;font-size:15px}
.ftr .col small{font-size:13px;color:#8E97A8;font-weight:700}
.ftr .about{max-width:320px;font-size:14px;color:#B8BFCC;line-height:1.6}
.ftr a{color:#fff}.ftr a:hover{color:#9DB7FF}
.ftr .copy{border-top:1px solid #22262F}
.ftr .copy .wrap{padding-top:20px;padding-bottom:20px;font-size:13px;color:#8E97A8}
.ftr .logo img{height:26px}

/* Плавающая кнопка Telegram */
.fab{position:fixed;right:18px;bottom:18px;z-index:50;width:58px;height:58px;border-radius:999px;background:#229ED9;color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 12px 30px -10px rgba(0,0,0,.45);transition:transform .15s}
.fab:hover{transform:scale(1.06);color:#fff}

/* Страница товара */
.crumbs{display:flex;flex-wrap:wrap;gap:8px;font-size:14px;color:var(--muted2);margin:22px 0 24px}
.crumbs a{color:var(--muted)}.crumbs b{color:var(--ink)}
.pp{display:flex;flex-wrap:wrap;gap:48px;align-items:flex-start}
.gal{flex:1 1 560px;min-width:0;display:flex;flex-direction:column;gap:14px}
.gal-stage{position:relative;height:560px;border-radius:28px;background-color:var(--soft);overflow:hidden;background-image:linear-gradient(#E9EDF3 1px,transparent 1px),linear-gradient(90deg,#E9EDF3 1px,transparent 1px);background-size:40px 40px;display:flex;align-items:center;justify-content:center}
.gal-stage::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 50%,var(--soft) 0%,rgba(244,246,250,.9) 42%,rgba(244,246,250,0) 75%)}
.gal-stage .main{position:relative;width:82%;height:82%;object-fit:contain;mix-blend-mode:multiply;transition:transform .4s}
.gal-stage:hover .main{transform:scale(1.06)}
.gal-stage .badges{top:18px;left:18px;z-index:2}
.gal-stage .cnt{position:absolute;top:18px;right:18px;z-index:2;padding:6px 12px;border-radius:8px;background:#fff;border:1px solid var(--line);font-family:var(--mono);font-size:12px;font-weight:700;color:var(--muted)}
.gal-stage .ibtn{position:absolute;top:50%;margin-top:-22px;z-index:2}
.gal-stage .ibtn.l{left:16px}.gal-stage .ibtn.r{right:16px}
.thumbs{display:flex;flex-wrap:wrap;gap:12px}
.thumb{width:104px;height:104px;padding:8px;border-radius:16px;background:var(--soft);border:2px solid var(--line);cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:4px}
.thumb.on{border-color:var(--navy)}
.thumb img{width:100%;height:68px;object-fit:contain;mix-blend-mode:multiply}
.thumb span{font-size:11px;font-weight:700;color:var(--muted)}
.pinfo{flex:1 1 420px;min-width:0;display:flex;flex-direction:column;gap:22px}
.pinfo h1{font-size:48px;font-weight:800;line-height:1.05;letter-spacing:-.025em}
.pinfo .lead{margin:0;font-size:17px;line-height:1.6;color:var(--muted)}
.colors-l{font-size:14px;font-weight:700}.colors-l span{color:var(--muted);font-weight:600}
.pinfo .sws .sw{width:40px;height:40px}
.pinfo .sws .sw.on{box-shadow:0 0 0 3px #fff,0 0 0 5px var(--navy)}
.keys{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.key{padding:16px;border-radius:16px;background:var(--soft);display:flex;flex-direction:column;gap:4px}
.key b{font-family:var(--mono);font-size:19px}.key span{font-size:13px;color:var(--muted)}
.pricebox{padding:24px;border-radius:22px;background:var(--navy);color:#fff;display:flex;flex-direction:column;gap:14px}
.pricebox .row{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap}
.pricebox .row span{color:#DCE4F7}.pricebox .row b{font-size:24px}
.pricebox p{margin:0;font-size:14px;color:#DCE4F7;line-height:1.5}
.pricebox .two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.pricebox .two a{height:48px;border-radius:12px;border:1px solid #3A5BA8;color:#fff;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:700;font-size:15px}
.trust{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.trust div{display:flex;align-items:center;gap:10px;padding:12px;border-radius:14px;border:1px solid var(--line);font-size:13px;font-weight:600;line-height:1.3}
.tabs{display:flex;flex-wrap:wrap;gap:4px;padding:4px;border-radius:14px;background:var(--soft);width:fit-content;margin-bottom:28px}
.tabs button{height:46px;padding:0 22px;border:0;border-radius:11px;font-size:15px;font-weight:700;cursor:pointer;background:transparent;color:var(--muted)}
.tabs button.on{background:#fff;color:var(--ink);box-shadow:0 1px 4px rgba(10,31,68,.15)}
.tabpane{display:none}.tabpane.on{display:block}
.spec-table{display:grid;grid-template-columns:repeat(auto-fit,minmax(380px,1fr));gap:0 48px;border-top:2px solid var(--ink)}
.spec-table div{display:flex;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid var(--line);font-size:15px}
.spec-table span{color:var(--muted)}.spec-table b{text-align:right}
.desc{max-width:760px;font-size:16px;line-height:1.7;color:var(--muted);white-space:pre-line}
.pform{border-radius:28px;background:var(--soft);padding:44px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:28px;margin:88px 0}
.pform h2{font-size:34px;font-weight:800}
.pform p{margin:6px 0 0;color:var(--muted)}
.pform form{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-start}
.pform .inp{width:280px}
.pform .form-msg{flex-basis:100%}
.nf{padding:120px 0;text-align:center;display:flex;flex-direction:column;align-items:center;gap:16px}
.nf h1{font-size:44px;font-weight:800}.nf p{color:var(--muted);margin:0}

/* Появление при прокрутке */
.rv{opacity:0;transform:translateY(40px);transition:opacity .8s ease,transform .8s cubic-bezier(.2,.7,.2,1)}
.rv.on{opacity:1;transform:none}
.no-js .rv{opacity:1;transform:none}

/* ===== Телефон ===== */
@media (max-width:900px){
  .nav,.hdr-phone small{display:none}
  .burger{display:inline-flex}
  .mnav{display:none;border-top:1px solid var(--line);background:#fff}
  .mnav.open{display:block}
  .mnav a{display:block;padding:14px 16px;border-bottom:1px solid var(--line);font-weight:700}
}
@media (max-width:700px){
  .wrap{padding:0 16px}
  .topbar .extra{display:none}
  .hdr .wrap{gap:10px;flex-wrap:wrap;padding-top:10px;padding-bottom:10px}
  .search{order:5;flex:1 1 100%;height:42px}
  .hdr-phone{margin-left:auto}
  .sec{padding-top:56px}
  .h2{font-size:28px}
  .hero{padding-top:16px}
  .hero-text{padding:8px 0 0;gap:16px}
  .hero .h1{font-size:34px}
  .hero-text p{font-size:16px}
  .hero-btns .btn{height:50px;padding:0 20px;font-size:15px}
  .stage{min-height:380px;border-radius:22px}
  .prod-box{transform-origin:50% 50%;scale:.66}
  .stage .word span{font-size:110px}
  .callouts{display:none}
  .stage .shadow{bottom:44px;width:240px;margin-left:-120px}
  .rot-hint .t{display:none}
  .tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .tile{padding:10px;gap:10px}
  .tile .im{width:44px;height:44px;flex-basis:44px}
  .why{padding:28px 20px;gap:24px}
  .contact .info,.form{padding:24px 20px}
  .gal-stage{height:360px;border-radius:22px}
  .thumb{width:76px;height:76px}.thumb img{height:46px}
  .pinfo h1{font-size:32px}
  .trust{grid-template-columns:1fr}
  .spec-table{grid-template-columns:1fr}
  .pform{padding:24px 20px;margin:56px 0}
  .pform h2{font-size:26px}
  .pform .inp,.pform .btn{width:100%}
  .fab{width:52px;height:52px;right:14px;bottom:14px}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
  .rv{opacity:1;transform:none}
  html{scroll-behavior:auto}
}
.stage::before{display:none}
.stage .prod-box,.stage .prod-layer{background-color:inherit}
.tiles{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}
.tile{flex-direction:column;justify-content:flex-start;text-align:center;gap:10px;padding:16px 10px}
.tile .im{width:84px;height:84px;flex:0 0 84px;border-radius:16px}
.tile .im img{width:74px;height:74px}
.tile b{font-size:14px;line-height:1.25}
@media (max-width:700px){.tiles{grid-template-columns:repeat(3,minmax(0,1fr))}.tile .im{width:60px;height:60px;flex-basis:60px}.tile .im img{width:52px;height:52px}.tile b{font-size:12.5px}}
.tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.tile{flex-direction:row;text-align:left;gap:18px;padding:16px 20px}
.tile .im{width:84px;height:84px;flex:0 0 84px;border-radius:16px}
.tile .im img{width:74px;height:74px}
.tile b{font-size:17px}
@media (max-width:700px){.tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tile{gap:10px;padding:10px}.tile .im{width:52px;height:52px;flex-basis:52px}.tile .im img{width:46px;height:46px}.tile b{font-size:13px}}

/* Выноски, привязанные к точке товара */
.callout.pinned{position:absolute;inset:0;display:block;visibility:hidden}
.callout.pinned.ready{visibility:visible}
.callout.pinned .dot,.callout.pinned .ln,.callout.pinned .box{position:absolute}
.callout.pinned .ln{transform-origin:0 50%;z-index:1}
.callout.pinned .dot{z-index:2}
.callout.pinned .box{z-index:3}
.slide-in .callout.pinned .ln{animation:fadeIn .5s ease backwards;animation-delay:inherit}

/* ИИ-ассистент */
.ai-fab{position:fixed;right:18px;bottom:18px;z-index:60;width:60px;height:60px;border-radius:999px;border:0;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 14px 34px -10px rgba(10,31,68,.6);transition:transform .15s}
.ai-fab:hover{transform:scale(1.06)}
.ai-fab::after{content:"";position:absolute;top:6px;right:6px;width:12px;height:12px;border-radius:999px;background:#2FA36B;border:2px solid #fff}
.ai ~ .fab,.ai + script + .fab{bottom:90px}
body:has(.ai) .fab{bottom:90px}
.ai-win{position:fixed;right:18px;bottom:90px;z-index:61;width:380px;max-width:calc(100vw - 24px);height:560px;max-height:calc(100vh - 110px);background:#fff;border-radius:22px;box-shadow:0 30px 80px -20px rgba(10,31,68,.45);display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--line);animation:rise .25s ease}
.ai-h{display:flex;align-items:center;gap:12px;padding:14px 16px;background:var(--navy);color:#fff}
.ai-h span:nth-child(2){display:flex;flex-direction:column;flex:1;line-height:1.25}
.ai-h small{color:#C9D6F5;font-size:12px}
.ai-h button{width:34px;height:34px;border:0;border-radius:10px;background:rgba(255,255,255,.12);color:#fff;font-size:22px;cursor:pointer}
.ai-av{width:38px;height:38px;border-radius:12px;background:#fff;color:var(--navy);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:13px}
.ai-log{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px;background:var(--soft)}
.ai-m{max-width:85%;padding:10px 14px;border-radius:16px;font-size:14px;line-height:1.5;white-space:pre-wrap;word-wrap:break-word}
.ai-m.bot{background:#fff;border:1px solid var(--line);border-bottom-left-radius:6px;align-self:flex-start}
.ai-m.me{background:var(--navy);color:#fff;border-bottom-right-radius:6px;align-self:flex-end}
.ai-m a{color:var(--blue);text-decoration:underline}
.ai-m.typing{color:var(--muted)}
.ai-m.typing i{display:inline-block;width:6px;height:6px;border-radius:999px;background:currentColor;margin:0 2px;animation:aiDot 1s infinite}
.ai-m.typing i:nth-child(2){animation-delay:.15s}.ai-m.typing i:nth-child(3){animation-delay:.3s}
@keyframes aiDot{0%,80%,100%{opacity:.25}40%{opacity:1}}
.ai-quick{display:flex;gap:6px;flex-wrap:wrap;padding:10px 16px 0;background:var(--soft)}
.ai-quick button{border:1px solid var(--line2);background:#fff;border-radius:999px;padding:7px 12px;font-size:13px;font-weight:600;cursor:pointer}
.ai-in,.ai-lead{padding:12px 16px 14px;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:8px;background:#fff}
.ai-lead{background:#EEF3FF}
.ai-lead label{font-size:13px;font-weight:700}
.ai-row{display:flex;gap:8px}
.ai-row .inp{height:46px;font-size:15px;flex:1}
.ai-row .btn{height:46px;width:46px;padding:0;flex:0 0 46px;border-radius:12px;font-size:18px}
.ai-in small{font-size:11px;color:var(--muted2)}
.ai-lead-btn{align-self:flex-start;border:0;background:none;color:var(--blue);font-weight:700;font-size:13px;cursor:pointer;padding:0}
@media (max-width:700px){.ai-fab{width:54px;height:54px;right:14px;bottom:14px}body:has(.ai) .fab{bottom:78px}.ai-win{right:8px;left:8px;bottom:8px;width:auto;max-width:none;height:calc(100vh - 16px);max-height:none;border-radius:18px}}
.totop{left:auto;right:23px;bottom:90px}
body:has(.ai):has(.fab) .totop{bottom:162px}
body:not(:has(.ai)):has(.fab) .totop{bottom:90px}
body:not(:has(.ai)):not(:has(.fab)) .totop{bottom:18px}
@media (max-width:700px){.totop{left:auto;right:18px;bottom:78px}body:has(.ai):has(.fab) .totop{bottom:142px}body:not(:has(.ai)):not(:has(.fab)) .totop{bottom:14px}}
.totop{position:fixed;left:18px;bottom:18px;z-index:55;width:50px;height:50px;border-radius:999px;border:1px solid #D4DAE5;background:#fff;color:#0A1F44;font-size:22px;font-weight:700;cursor:pointer;box-shadow:0 10px 28px -12px rgba(10,31,68,.45);opacity:0;pointer-events:none;transform:translateY(10px);transition:opacity .2s,transform .2s,background .2s,color .2s}
.totop.on{opacity:1;pointer-events:auto;transform:none}
.totop:hover{background:#0A1F44;color:#fff}
@media (max-width:700px){.totop{left:14px;bottom:14px;width:46px;height:46px}}
.totop{left:auto;right:23px;bottom:90px}
body:has(.ai):has(.fab) .totop{bottom:162px}
body:not(:has(.ai)):has(.fab) .totop{bottom:90px}
body:not(:has(.ai)):not(:has(.fab)) .totop{bottom:18px}
@media (max-width:700px){.totop{left:auto;right:18px;bottom:78px}body:has(.ai):has(.fab) .totop{bottom:142px}body:not(:has(.ai)):not(:has(.fab)) .totop{bottom:14px}}
