/* Isolated copy of the internal-page popup rules; markup comes from its WordPress template. */
.home .popup-menu { --menu-unit: calc(100vw / 1730); font: 500 14px/1.2 "Inter Tight",sans-serif; }
.home .popup-menu *, .home .popup-menu *::before, .home .popup-menu *::after { box-sizing:border-box; margin:0; padding:0; }
.home :where(.popup-menu) .wrap { width:100%; max-width:none; margin:0 auto; padding:0 20px; }
.home .popup-menu img { max-width:100%; }
@media(min-width:768px) { .home .popup-menu {font-size:16px;} }
@media(min-width:1281px) { .home .popup-menu {font-size:20px;} .home :where(.popup-menu) .wrap {padding:0 60px;} }
@media(min-width:1730px) { .home .popup-menu {font-size:calc(20 * var(--menu-unit));} .home :where(.popup-menu) .wrap {padding:0 calc(60 * var(--menu-unit));} }
.home .popup-menu{display:none;width:100%;height:100vh;height:100dvh;background:#011126;color:#fff;position:fixed;top:0;left:0;z-index:1101;overflow:hidden}
@media (max-width:768px){.home .popup-menu{overflow-y:auto;-webkit-overflow-scrolling:touch}}
.home .popup-menu:after{position:absolute;content:"";bottom:50px;left:50%;z-index:-1;height:30%;width:80%;border-radius:50% 50% 0 0;margin:0 auto;filter:blur(60px);transform:translateX(-50%) scale(1.3);background:linear-gradient(90deg, #0fffc1, #7e0fff);background-size:200% 200%;animation:animateGlow 10s ease infinite;opacity:0;transition:opacity .5s;transition-delay:0.3s;will-change:transform}
@keyframes animateGlow{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}
.home .popup-menu.show{transform:translateY(0)}
.home .popup-menu.show .popup-menu__close{opacity:1}
.home .popup-menu.show .popup-menu__bottom .wrap{opacity:1}
.home .popup-menu.show .popup-menu__bottom::after{transition:all .6s}
@media (min-width:768px){.home .popup-menu.show .popup-menu__bottom::after{width:calc(100% - 16px)}}
.home .popup-menu.show .popup-menu__left .wrap{opacity:1}
@media (min-width:768px){.home .popup-menu.show .popup-menu__left::before{height:150%;transition-delay:400ms}
.home .popup-menu.show .popup-menu__left::after{width:100%}}
@media (min-width:1000px){.home .popup-menu.show .popup-menu__left{min-width:577px}}
.home .popup-menu.show .popup-menu__left .service-link{font-style:normal;font-weight:500;font-size:30px;line-height:1;margin-bottom:20px;cursor:pointer;display:flex;align-items:center;gap:20px}
@media (min-width:768px){.home .popup-menu.show .popup-menu__left .service-link{justify-content:space-between;gap:20px}
.home .popup-menu.show .popup-menu__left .service-link:hover,.home .popup-menu.show .popup-menu__left .service-link.open{opacity:1}}
.home .popup-menu.show .popup-menu__left .service-link.has-children{display:flex;align-items:center;gap:20px}
@media (min-width:768px){.home .popup-menu.show .popup-menu__left .service-link.has-children{gap:20px}}
@media (min-width:768px){.home .popup-menu.show .popup-menu__left .service-link.has-children::after{display:none}}
@media (max-width:768px){.home .popup-menu.show .popup-menu__left .service-link.has-children.open::after{transform:rotate(90deg)}}
@media (min-width:768px){.home .popup-menu.show .popup-menu__left .service-link{font-size:40px;letter-spacing:-0.01em;position:relative;width:100%}}
@media (min-width:1000px){.home .popup-menu.show .popup-menu__left .service-link{font-size:60px}}
@media (min-width:768px){.home .popup-menu.show .popup-menu__left .service-link__submenu{display:none}}
.home .popup-menu.show .popup-menu__left .service-link__list{flex-direction:column;gap:16px}
@media (min-width:768px){.home .popup-menu.show .popup-menu__left .service-link__list{display:none;border-bottom:1px solid rgba(255,255,255,0.4)}}
@media (max-width:768px){.home .popup-menu.show .popup-menu__left .service-link__list li{list-style:none;font-weight:500;font-size:18px;line-height:1.2}
.home .popup-menu.show .popup-menu__left .service-link__list li a{color:inherit;text-decoration:none}}
.home .popup-menu.show .popup-menu__left .menu-list{display:flex;flex-direction:column;gap:20px}
.home .popup-menu.show .popup-menu__left .menu-list:hover li{opacity:0.6}
.home .popup-menu.show .popup-menu__left .menu-list:hover li:hover{opacity:1}
.home .popup-menu.show .popup-menu__left .menu-list li{list-style:none;font-weight:500;font-size:30px;line-height:1}
@media (min-width:768px){.home .popup-menu.show .popup-menu__left .menu-list li{font-size:40px;letter-spacing:-0.01em;transition:all .3s ease-in-out}}
@media (min-width:1000px){.home .popup-menu.show .popup-menu__left .menu-list li{font-size:60px}}
.home .popup-menu.show .popup-menu__left .menu-list li a{color:inherit;text-decoration:none}
.home .popup-menu.show .popup-menu__right-service{opacity:1}
@media (min-width:768px){.home .popup-menu.show .popup-menu__right::after{width:100%}}
.home .popup-menu.show::before{opacity:1}
.home .popup-menu.show::after{opacity:0.6}
.home .popup-menu__logo{padding-top:4px;margin:0 20px;border-bottom:1px solid rgba(255,255,255,0.5);padding-bottom:16px;opacity:0}
.home .popup-menu__logo svg{width:180px}
@media (min-width:768px){.home .popup-menu__logo{display:none}}
.home .popup-menu__inner{position:relative;padding:20px 0;display:flex;height:100%;flex-direction:column;justify-content:space-between}
@media (max-width:768px){.home .popup-menu__inner{overflow:visible;min-height:min-content}}
@media (min-width:768px){.home .popup-menu__inner{padding:0;overflow:auto;width:calc(100vw - 16px)}}
.home .popup-menu__close{position:absolute;top:0;right:0;z-index:2;opacity:0;transition:opacity .3s;transition-delay:300ms}
.home .popup-menu__close-wrap{width:100%;position:absolute;left:50%;top:0;transform:translateX(-50%);display:flex;justify-content:flex-end;padding-top:0;z-index:22}
@media (min-width:768px){.home .popup-menu__close-wrap{padding-top:40px}}
.home .popup-menu__close.min{width:53px;height:70px;display:flex;align-items:center;justify-content:center;right:12px;top:-3px}
.home .popup-menu__close.min svg{width:36px;height:36px}
@media (min-width:768px){.home .popup-menu__close.min{display:none}}
.home .popup-menu__close.full{display:none;position:relative;top:auto;right:auto}
@media (min-width:768px){.home .popup-menu__close.full{display:block;width:46px;height:46px;margin-right:-5px;margin-top:3px;cursor:pointer}}
.home .popup-menu__close.full .popup-close__bar{position:absolute;width:28px;width:28.75px;height:2.3px;top:50%;left:50%;transform-origin:center;overflow:hidden;z-index:3}
.home .popup-menu__close.full .popup-close__bar:first-of-type{transform:translate(-50%, -50%) rotate(45deg)}
.home .popup-menu__close.full .popup-close__bar:nth-of-type(2){transform:translate(-50%, -50%) rotate(-45deg)}
.home .popup-menu__close.full .popup-close__bar::before,.home .popup-menu__close.full .popup-close__bar::after{content:"";position:absolute;width:100%;height:100%;top:0;background-color:#fff;transition:transform .675s cubic-bezier(.2, .84, .49, 1)}
.home .popup-menu__close.full .popup-close__bar::before{left:0;transform:translateX(0)}
.home .popup-menu__close.full .popup-close__bar::after{right:0;transform:translateX(-100%)}
.home .popup-menu__close.full:hover .popup-close__bar:first-of-type::before{transform:translateX(100%);transition-delay:0.175s}
.home .popup-menu__close.full:hover .popup-close__bar:first-of-type::after{transform:translateX(0);transition-delay:0.525s}
.home .popup-menu__close.full:hover .popup-close__bar:nth-of-type(2)::before{transform:translateX(-100%);transition-delay:0s}
.home .popup-menu__close.full:hover .popup-close__bar:nth-of-type(2)::after{transform:translateX(0);transition-delay:0.35s}
.home .popup-menu__top{overflow:auto}
@media (min-width:768px){.home .popup-menu__top{display:flex;align-items:stretch;flex:1}}
.home .popup-menu__left{counter-reset:popup-list}
.home .popup-menu__left::-webkit-scrollbar{width:4px;background:transparent}
.home .popup-menu__left::-webkit-scrollbar-thumb{background:transparent}
@media (min-width:768px){.home .popup-menu__left{width:35.88%;min-width:450px;padding-top:80px;position:relative;overflow-y:auto}
.home .popup-menu__left::before{content:"";display:block;position:absolute;bottom:-20%;right:0;height:0%;width:1px;background:rgba(255,255,255,0.4);transition:all 200ms;transition-delay:100ms}
.home .popup-menu__left .wrap{opacity:0;transition:all .5s;transition-delay:600ms}}
@media (min-width:1000px){.home .popup-menu__left{min-width:577px}}
.home .popup-menu__left-list{padding-top:20px}
@media (min-width:768px){.home .popup-menu__left-list{padding-top:0}}
.home .popup-menu__left .service-link{font-style:normal;font-weight:500;font-size:30px;line-height:1;margin-bottom:20px}
@media (min-width:768px){.home .popup-menu__left .service-link{font-size:40px;letter-spacing:-0.01em;position:relative;width:100%}}
@media (min-width:1000px){.home .popup-menu__left .service-link{font-size:60px}}
.home .popup-menu__left .service-link__list{padding-top:0;display:flex;flex-direction:column;gap:16px;padding-bottom:0;margin-bottom:0;max-height:0;overflow:hidden;transition:all .5s ease-in-out}
.home .popup-menu__left .service-link__list.open{display:flex;max-height:300px;margin-bottom:30px}
@media (min-width:768px){.home .popup-menu__left .service-link__list{padding-top:0;display:none;max-height:10000px}}
@media (max-width:768px){.home .popup-menu__left .service-link__list li{list-style:none;font-weight:500;font-size:18px;line-height:1.2}
.home .popup-menu__left .service-link__list li a{max-width:max-content;color:inherit;text-decoration:none}}
.home .popup-menu__left .menu-list{display:flex;flex-direction:column;gap:20px}
.home .popup-menu__left .menu-list:hover li{opacity:0.6}
.home .popup-menu__left .menu-list:hover li:hover{opacity:1}
.home .popup-menu__left .menu-list li{list-style:none;font-weight:500;font-size:30px;line-height:1}
@media (min-width:768px){.home .popup-menu__left .menu-list li{font-size:40px;letter-spacing:-0.01em;transition:all .3s ease-in-out}}
@media (min-width:1000px){.home .popup-menu__left .menu-list li{font-size:60px}}
.home .popup-menu__left .menu-list li a{color:inherit;text-decoration:none}
@media (min-width:1281px){.home .popup-menu__left .menu-list li a.open,.home .popup-menu__left .menu-list li a:hover{opacity:1}}
.home .popup-menu__item{counter-increment:popup-list;padding-left:0.8em;position:relative;color:#fff}
@media (min-width:768px){.home .popup-menu__item{color:rgba(255,255,255,0.5)}}
@media (min-width:1281px){.home .popup-menu__item.only-mobile{display:none}}
.home .popup-menu__item::before{content:"0" counter(popup-list);position:absolute;top:0.27em;left:0;font-size:0.3em}
.home .popup-menu__item:hover,.home .popup-menu__item.open{color:#fff}
@media (min-width:768px){.home .popup-menu__item:hover .popup-menu__count,.home .popup-menu__item.open .popup-menu__count{border:2px solid #fff;background:transparent;color:#fff}}
.home .popup-menu__item.visible{color:#fff}
.home .popup-menu__item.visible .popup-menu__count{background:#fff;color:#011126}
@media (min-width:768px){.home .popup-menu__item.visible .popup-menu__count{border:2px solid #fff;background:transparent;color:#fff}}
.home .popup-menu__count{position:absolute;transform:translateY(-50%);right:auto;left:136px;top:50%;width:2.2em;height:2.2em;border-radius:50%;display:flex;align-items:center;justify-content:center;border:2px solid #fff;color:#fff;font-size:0.4em;transition:all .2s}
@media (min-width:768px){.home .popup-menu__count{position:absolute;transform:translateY(-50%);right:0;left:auto;width:1.8em;height:1.8em;border:2px solid rgba(255,255,255,0.5);color:rgba(255,255,255,0.5)}}
.home .popup-menu__right{display:none}
@media (min-width:768px){.home .popup-menu__right{display:block;padding-top:92px;flex:1;position:relative}
.home .popup-menu__right-service{opacity:0;transition:all 500ms;transition-delay:500ms;position:relative}
.home .popup-menu__right-service-list{display:flex;flex-direction:column;gap:20px;transition:all .3s ease-in-out}
.home .popup-menu__right-service-list:hover li{opacity:0.6}
.home .popup-menu__right-service-list:hover li:hover{opacity:1}
.home .popup-menu__right-service-list li{list-style:none;font-weight:500;font-size:24px;line-height:1.2}
.home .popup-menu__right-service-list li a{color:inherit;text-decoration:none}
.home .popup-menu__right-service-list ul.sub-menu{display:none}
.home .popup-menu__right-service-list ul.sub-menu li{font-size:20px;opacity:0.6;margin-bottom:5px;transition:all .3s ease-out}
.home .popup-menu__right-service-list ul.sub-menu li:after{display:none}
.home .popup-menu__right-service-list ul.sub-menu li:hover{padding-left:0;opacity:1}
.home .popup-menu__right-service-list .menu-item-has-children.active ul.sub-menu{margin-left:-25px}}
@media (min-width:768px) and (min-width:768px){.home .popup-menu__right-service{padding-left:9.1%}}
@media (min-width:768px) and (min-width:768px){.home .popup-menu__right-service-list li{position:relative;transition:all .3s ease-out;overflow:hidden}
.home .popup-menu__right-service-list li:after{content:"";width:13px;height:15px;background:url(../images/menu-arrow.svg);background-size:contain;background-repeat:no-repeat;background-position:center;left:-13px;top:calc(50% - 7.5px);display:block;transition:all .3s ease-out;position:absolute}
.home .popup-menu__right-service-list li.menu-item-has-children.active>a{margin-bottom:10px;display:block}
.home .popup-menu__right-service-list li.menu-item-has-children:after{top:5px}
.home .popup-menu__right-service-list li:hover,.home .popup-menu__right-service-list li.active{padding-left:25px}
.home .popup-menu__right-service-list li:hover:after,.home .popup-menu__right-service-list li.active:after{left:0}}
.home .popup-menu__right-content{visibility:hidden;height:0;overflow:hidden;padding-left:9.1%;width:100%;opacity:0;transform:translateX(-5%);transition:opacity .2s ease-out,transform .3s ease-out}
.home .popup-menu__right-content.open{visibility:visible;height:auto;overflow:hidden;transform:translateX(0%);opacity:1}
.home .popup-menu__title{font-style:normal;font-weight:500;font-size:60px;line-height:120%;margin-bottom:20px;opacity:1;cursor:pointer}
.home .popup-menu__map-link{margin-top:90px;display:flex;align-items:center;gap:10px;font-weight:500;font-size:24px;text-decoration:none;color:#fff;transition:all .3s}
.home .popup-menu__map-link::after{content:"";display:block;width:16px;height:18px;background-repeat:no-repeat;background-image:url('data:image/svg+xml;utf8,<svg width="16" height="18" viewBox="0 0 16 18" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 9H14M14 9L6.77778 1.5M14 9L6.77778 16.5" stroke="%23F5F5F5" stroke-width="2" stroke-linecap="round"/></svg>');transition:all .3s}
.home .popup-menu__map-link:hover{gap:16px}
.home .popup-menu__bottom{margin-top:20px;font-weight:500;font-size:14px;line-height:1.2;position:relative}
@media (min-width:768px){.home .popup-menu__bottom{margin-top:0;font-size:18px;padding:40px 0 70px 0;border-top:none}
.home .popup-menu__bottom::after{content:"";display:block;width:0%;height:1px;background:rgba(255,255,255,0.4);position:absolute;left:16px;bottom:100%;transition:all .9s}
.home .popup-menu__bottom .wrap{display:flex;gap:20px;opacity:0;transition:all .5s;transition-delay:600ms}}
@media (min-width:1281px){.home .popup-menu__bottom{font-size:20px}
.home .popup-menu__bottom .wrap{padding-right:60px;padding-left:60px;max-width:100%;gap:40px}}
.home .popup-menu__bottom-item{position:relative;overflow:hidden}
.home .popup-menu__bottom-item:before{content:"";position:absolute;width:24px;height:24px;left:0;top:calc(50% - 12px)}
.home .popup-menu__bottom-item.adress{border-top:1px solid rgba(255,255,255,0.4);padding-top:30px;opacity:0.6}
@media (min-width:768px){.home .popup-menu__bottom-item.adress{border-top:none;padding-top:0px}}
@media (max-width:768px){.home .popup-menu__bottom-item.adress{margin-bottom:10px}}
.home .popup-menu__bottom-item.tel,.home .popup-menu__bottom-item.mail{padding-left:34px;opacity:0.6;transition:all .3s ease-in-out}
.home .popup-menu__bottom-item.tel:hover,.home .popup-menu__bottom-item.mail:hover{opacity:1}
@media (max-width:768px){.home .popup-menu__bottom-item.tel{margin-bottom:10px}}
.home .popup-menu__bottom-item.tel:before{background:url(../images/icon-tel.svg);background-size:contain}
.home .popup-menu__bottom-item.mail:before{background:url(../images/icon-mail.svg);background-size:contain}
.home .popup-menu__bottom-item a{color:inherit;text-decoration:none}
.home .popup-menu__right-service-list a:hover .menu-link-letters span{transform:translateY(-110%)}

/* The home owns scroll/focus management; the shared popup keeps its layout. */
.home .popup-menu[aria-hidden="false"] {display:block;overflow-y:auto;animation:nativeMenuOpen .25s ease both;}
.home .popup-menu[aria-hidden="true"] {display:none;}
.home .popup-menu.is-closing[aria-hidden="true"] {display:block;pointer-events:none;animation:nativeMenuClose .25s ease .6s both;}
.home .popup-menu.is-closing .popup-menu__logo,
.home .popup-menu.is-closing .popup-menu__item,
.home .popup-menu.is-closing .popup-menu__bottom-item {animation:nativeMenuItemOut .3s ease both;}
.home .popup-menu.show .popup-menu__logo,
.home .popup-menu.show .popup-menu__item,
.home .popup-menu.show .popup-menu__bottom-item {animation:nativeMenuItem .6s ease var(--menu-delay,.3s) both;}
.home .popup-menu [role="button"] {cursor:pointer;}
.home .popup-menu [role="button"]:focus-visible,
.home .popup-menu a:focus-visible {outline:2px solid #fff;outline-offset:5px;}
.home .popup-menu .menu-item-has-children.active > .sub-menu {display:block;}
@keyframes nativeMenuOpen {from {clip-path:inset(0 0 100% 0);} to {clip-path:inset(0);}}
@keyframes nativeMenuItem {from {opacity:0;transform:translateY(30px);} to {opacity:1;transform:translateY(0);}}
@keyframes nativeMenuClose {to {clip-path:inset(0 0 100% 0);}}
@keyframes nativeMenuItemOut {to {opacity:0;transform:translateY(30px);}}
@media(max-width:599px) { .home .popup-menu.is-closing[aria-hidden="true"] {animation-delay:.8s;} }
@media(prefers-reduced-motion:reduce) {
  .home .popup-menu, .home .popup-menu *, .home .popup-menu::after {animation:none !important;transition:none !important;}
  .home .hd .hd__burger .menu-icon__span {transition:none;}
}
