.yandex-map-window { position:absolute; inset:0; container-type:size; overflow:hidden; }
.yandex-map-canvas { --cell:calc(100cqw / 270); position:absolute; right:0; bottom:0; width:100%; aspect-ratio:1672/940; container-type:inline-size; }
@supports (width:1cqw) { .yandex-map-canvas { width:max(100cqw,177.873cqh); } }
.scene-hero .yandex-map-image { display:block; width:100%; height:auto; max-width:none; filter:saturate(.82); }
.yandex-map-points { position:absolute; inset:0; pointer-events:none; }
.yandex-map-points>img,.yandex-map-business .yandex-map-pin { position:absolute; display:block; max-width:none; image-rendering:pixelated; filter:saturate(.82); }
.yandex-map-neighbour { width:calc(8 * var(--cell)); height:calc(11 * var(--cell)); }
.yandex-map-neighbour-1 { left:calc(159 * var(--cell)); top:calc(74 * var(--cell)); }
.yandex-map-neighbour-2 { left:calc(173 * var(--cell)); top:calc(79 * var(--cell)); }
.yandex-map-neighbour-3 { left:calc(205 * var(--cell)); top:calc(110 * var(--cell)); }
.yandex-map-halo { left:calc(238 * var(--cell)); top:calc(86 * var(--cell)); width:calc(15 * var(--cell)); height:calc(9 * var(--cell)); }
.yandex-map-lens { left:calc(236 * var(--cell)); top:calc(74 * var(--cell)); width:calc(22 * var(--cell)); height:calc(23 * var(--cell)); }
.yandex-map-contact { z-index:3; left:calc(250 * var(--cell)); top:calc(70 * var(--cell)); width:calc(10 * var(--cell)); height:calc(8 * var(--cell)); opacity:0; }
.yandex-map-business { position:absolute; z-index:2; left:calc(246 * var(--cell)); top:calc(90 * var(--cell)); display:flex; align-items:flex-end; justify-content:center; width:calc(12 * var(--cell)); height:calc(16 * var(--cell)); min-width:44px; min-height:44px; transform:translate(-50%,-100%); text-decoration:none; }
.yandex-map-business .yandex-map-pin { position:static; flex:none; width:calc(12 * var(--cell)); height:calc(16 * var(--cell)); filter:grayscale(0) saturate(.82); }
.yandex-map-business:focus-visible { outline:3px solid #ffe1a0; outline-offset:5px; border-radius:8px; }
.yandex-map-business:hover .yandex-map-pin { filter:saturate(.95) brightness(1.12); }
.js .yandex-map-scene:not(.is-map-ready) :is(.yandex-map-points,.yandex-map-business),
.yandex-map-scene.is-map-waiting:not(.is-map-ready) :is(.yandex-map-points,.yandex-map-business) { visibility:hidden; }
.js .yandex-map-scene:not(.is-map-ready):not(.is-map-waiting) :is(.yandex-map-points,.yandex-map-business) { animation:yandex-map-late 0s 20s forwards!important; }
.js .yandex-map-scene:not(.is-map-ready):not(.is-map-waiting) :is(.yandex-map-points>img,.yandex-map-pin) { animation:px-appear calc(3 * var(--tick)) var(--ease-out,ease-out) 20s backwards; }
@keyframes yandex-map-late { to { visibility:visible; } }
.yandex-map-scene.is-map-arriving .yandex-map-points>img,.yandex-map-scene.is-map-arriving .yandex-map-pin { animation:px-appear calc(3 * var(--tick)) var(--ease-out,ease-out); }
body .scene-hero-yandex .yandex-map-scene::before { display:none; }
.yandex-map-scene[data-map-phase="search"] .yandex-map-halo { opacity:0; }
.yandex-map-scene[data-map-phase="search"] .yandex-map-pin { filter:grayscale(1) saturate(.82); }
.yandex-map-scene[data-map-phase="contact"] .yandex-map-contact { opacity:1; }
.yandex-map-scene.is-map-playing[data-map-phase="search"] :is(.yandex-map-halo,.yandex-map-contact) { animation:px-vanish calc(3 * var(--tick)) ease-in; }
.yandex-map-scene.is-map-playing[data-map-phase="search"] .yandex-map-pin { animation:yandex-map-grey calc(4 * var(--tick)) linear; }
.yandex-map-scene.is-map-playing[data-map-phase="found"] .yandex-map-pin { animation:yandex-map-colour calc(3 * var(--tick)) var(--ease-out,ease-out),yandex-map-hop calc(10 * var(--tick)) linear; }
.yandex-map-scene.is-map-playing[data-map-phase="found"] .yandex-map-halo { animation:px-appear calc(3 * var(--tick)) var(--ease-out,ease-out) calc(7 * var(--tick)) backwards; }
.yandex-map-scene.is-map-playing[data-map-phase="contact"] .yandex-map-contact {
--dy:2;
animation-name:px-appear,px-arrive;
animation-duration:calc(3 * var(--tick)),calc(3 * var(--tick));
animation-timing-function:var(--ease-out,ease-out),var(--ease-out,ease-out);
animation-fill-mode:backwards;
}
@keyframes yandex-map-grey { 0%,25% { filter:grayscale(0) saturate(.82); animation-timing-function:cubic-bezier(.45,0,.25,1); } 100% { filter:grayscale(1) saturate(.82); } }
@keyframes yandex-map-colour { from { filter:grayscale(1) saturate(.82); } to { filter:grayscale(0) saturate(.82); } }
@keyframes yandex-map-hop {
0% { translate:0 0; animation-timing-function:cubic-bezier(.5,1,.89,1); }
40% { translate:0 calc(-4 * var(--cell)); animation-timing-function:cubic-bezier(.11,0,.5,0); }
70% { translate:0 0; animation-timing-function:cubic-bezier(.5,1,.89,1); }
80% { translate:0 calc(-1 * var(--cell)); animation-timing-function:cubic-bezier(.45,0,.55,1); }
100% { translate:0 0; }
}
@media (max-width:960px) {
.scene-hero.scene-hero-yandex { background:#15223B; }
.scene-hero.scene-hero-yandex .scene-hero-grid { padding-bottom:0; }
.scene-hero.scene-hero-yandex .yandex-map-scene { position:relative; inset:auto; width:auto; max-width:none; height:auto; margin:28px calc(50% - 50vw) 0; overflow:hidden; }
body .scene-hero.scene-hero-yandex .yandex-map-scene::before,
body .scene-hero.scene-hero-yandex .yandex-map-scene::after { display:none; }
.scene-hero-yandex .yandex-map-window { position:relative; inset:auto; height:clamp(320px,82vw,500px); }
.yandex-map-canvas { width:167.2%; }
}
@media (max-width:480px) {
.yandex-map-canvas { width:max(167.2%,565px); }
}
@media (prefers-reduced-motion:reduce) { :root:not([data-motion=on]) .yandex-map-scene * { animation:none!important; } }
