/* Corporate shell. Motion timings and stable geometry match DIGITAL.MOSCOW. */
:root{--header-motion-duration:500ms;--header-motion-easing:cubic-bezier(.4,0,.2,1);--navigation-expanded-height:132px}
html[data-header-motion-ready] body{padding-top:calc(var(--navigation-expanded-height) + 16px)}
.site-header{position:fixed;top:0;left:0;right:0;width:100%;margin:0;background:transparent;border:0;box-shadow:none;isolation:isolate;translate:0 0;transform:none;visibility:visible;transition:translate var(--header-motion-duration) var(--header-motion-easing),visibility 0s}
.site-header::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;border:1px solid transparent;border-radius:0;background:var(--bg);transition:inset var(--header-motion-duration) var(--header-motion-easing),border-radius var(--header-motion-duration) var(--header-motion-easing),border-color .25s,box-shadow .25s}
.site-header[data-header-motion=compact]:not([data-header-engaged])::before{inset:6px 12px 0;border-color:var(--line);border-radius:24px;box-shadow:0 10px 32px #0002}
.site-header[data-header-motion=hidden]{translate:0 calc(-100% - 20px - env(safe-area-inset-top));visibility:hidden;pointer-events:none;transition:translate var(--header-motion-duration) var(--header-motion-easing),visibility 0s var(--header-motion-duration)}
.header-inner,.header-navigation{max-width:1392px}
.header-inner{gap:24px}.header-search{border-color:var(--line);border-radius:10px}.header-search button{border-radius:8px}
.header-actions .icon-button:hover{background:var(--bg);color:var(--accent);box-shadow:inset 0 0 0 1px var(--line)}
.header-navigation .desktop-nav a{position:relative;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
.header-navigation .desktop-nav a::after{content:'';position:absolute;bottom:5px;inset-inline:0;height:2px;background:var(--sigur);transform:scaleX(0);transform-origin:left;transition:transform .18s ease}
.header-navigation .desktop-nav a:hover::after,.header-navigation .desktop-nav a:focus-visible::after{transform:scaleX(1)}
.header-project{padding:10px 16px;border:1px solid var(--sigur);border-radius:12px;background:var(--sigur);color:#000;text-decoration:none}
.header-project:hover{background:var(--sigur-hover);border-color:var(--sigur-hover);text-decoration:none}
.catalog-mega,.mobile-menu{border-radius:0 0 20px 20px;animation:shell-panel-appear .18s ease-out}
.catalog-mega{max-height:calc(100dvh - var(--navigation-expanded-height) - 20px)}
.catalog-backdrop{top:0;z-index:19}
@keyframes shell-panel-appear{from{opacity:0;translate:0 -6px}to{opacity:1;translate:0 0}}
.site-footer{background:var(--bg);color:var(--text);border-top:2px solid var(--sigur);padding:0}
.site-footer .footer-grid{display:grid;grid-template-columns:minmax(260px,1.6fr) repeat(3,minmax(130px,1fr));gap:clamp(24px,4vw,64px);padding-block:56px 40px}
.footer-brand{display:flex;flex-direction:column;align-items:flex-start;width:180px;gap:0;min-height:56px}
.footer-brand img{width:174px;height:46px;object-fit:contain}.footer-brand>span{font-size:8px;font-weight:600;letter-spacing:2.1px;padding-left:55px;color:var(--muted)}
.footer-company>p{max-width:350px;font-size:14px;line-height:1.7;margin:20px 0 22px;color:var(--text)}
.footer-address{font-style:normal;display:grid;gap:8px;font-size:12px;line-height:1.7;color:var(--muted)}
.footer-address a{width:fit-content;display:flex;align-items:center;min-height:44px;font-size:14px;color:var(--ink)}.footer-address a+a{margin-top:-8px}
.footer-column{min-width:0}.footer-column h2{font-size:14px;font-weight:600;line-height:1.4;letter-spacing:0;margin:7px 0 18px}
.footer-column ul{list-style:none;margin:0;padding:0;display:grid;gap:4px}.footer-column li{min-width:0}
.footer-column a{display:flex;align-items:center;min-height:44px;width:fit-content;max-width:100%;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.site-footer a:hover{color:var(--accent)}
.site-footer .footer-bottom{display:flex;gap:24px;justify-content:space-between;align-items:center;padding:22px 0;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}
.site-footer .footer-bottom p{margin:0;max-width:580px;font-size:12px}
.site-footer .footer-legal{display:flex;flex-wrap:wrap;gap:12px 28px;align-items:center;padding:0 0 24px;border:0;margin:0 auto}
.footer-legal a,.footer-legal button{display:inline-flex;align-items:center;min-height:44px;font-size:12px;font-weight:400;color:var(--muted)}.footer-legal button{padding:0}
.footer-sigur{display:flex;align-items:center;gap:12px;margin-top:24px;font-size:11px;color:var(--muted)}.footer-sigur img{width:64px;height:34px;object-fit:contain;border-radius:4px}
.search-dialog{margin-top:calc(var(--navigation-expanded-height) + 24px);max-height:calc(100dvh - var(--navigation-expanded-height) - 40px)}
.search-help{font-size:12px;color:var(--muted);margin-top:10px;line-height:1.6}
@media(min-width:761px) and (max-width:1200px){.site-footer .footer-grid{grid-template-columns:minmax(240px,1.4fr) 1fr 1fr}.footer-column:last-child{grid-column:2/4}.footer-column:last-child ul{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){:root{--navigation-expanded-height:148px}.site-header{top:calc(8px + env(safe-area-inset-top));left:8px;right:8px;width:calc(100% - 16px)}.site-header::before,.site-header[data-header-motion=compact]:not([data-header-engaged])::before{inset:0;border:1px solid var(--line);border-radius:22px;box-shadow:0 4px 18px #0002}.header-navigation{gap:12px}.header-inner{gap:8px}.header-project{display:none}.catalog-mega{max-height:calc(100dvh - var(--navigation-expanded-height) - 32px)}.site-footer .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 24px;padding-block:36px 28px}.footer-company{grid-column:1/-1}.footer-company>p{margin:16px 0 18px;max-width:480px}.footer-sigur{margin-top:12px}.footer-column h2{font-size:13px;margin-block:0 10px}.footer-column a{font-size:12px}.footer-column:last-child{grid-column:1/-1}.footer-column:last-child ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 24px}.site-footer .footer-bottom{display:grid;gap:10px;padding-block:20px}.site-footer .footer-legal{display:grid;gap:0;padding-bottom:20px}.search-dialog{margin-top:calc(var(--navigation-expanded-height) + 28px);max-height:calc(100dvh - var(--navigation-expanded-height) - 40px)}}
@media(max-width:360px){.header-inner{gap:2px}.site-footer .footer-grid{gap:24px 16px}}
@media(prefers-reduced-motion:reduce){.site-header,.site-header::before,.header-navigation .desktop-nav a::after{transition:none}.catalog-mega,.mobile-menu{animation:none}}
@media(forced-colors:active){.site-header::before,.site-footer{background:Canvas;color:CanvasText;border-color:CanvasText}.site-header::before{box-shadow:none}.header-project{background:ButtonFace;color:ButtonText;border-color:ButtonText}}
@media print{html[data-header-motion-ready] body{padding-top:0}.site-header{position:static!important;translate:0!important;visibility:visible!important}.site-footer{break-inside:avoid}.footer-legal{display:none!important}}

html:not([data-header-motion-ready]) .site-header{position:sticky}
.header-search{position:relative;overflow:visible}.header-results{position:absolute;top:calc(100% + 8px);left:0;width:100%;min-width:min(320px,100%);padding:12px 16px;background:var(--bg);color:var(--ink);border:1px solid var(--line);border-radius:16px;box-shadow:0 14px 36px #0003;max-height:min(540px,calc(100dvh - var(--navigation-expanded-height) - 28px));overflow:auto;overscroll-behavior:contain;z-index:1}
.header-results-count{font-size:11px;color:var(--muted);padding:2px 0 10px}.header-result{display:grid;grid-template-columns:48px minmax(0,1fr) 16px;gap:12px;align-items:center;min-height:72px;border-top:1px solid var(--line);padding:10px 0}.header-result img{width:48px;height:48px;object-fit:contain;background:#fff;border-radius:6px;padding:3px}.header-result strong{font-size:13px;display:block;font-weight:600}.header-result small{font-size:11px;color:var(--muted);display:block;margin-top:3px}.header-result b{font-size:18px;font-weight:400}.header-result:hover strong{color:var(--accent)}.header-result mark{background:none;color:var(--accent);text-decoration:underline;text-decoration-color:var(--sigur);text-underline-offset:3px}
.header-results .header-show-all{display:flex;align-items:center;justify-content:space-between;width:100%;height:auto;min-height:44px;padding:10px 0;text-align:left;border-radius:0;border-top:1px solid var(--line);font-size:11px;line-height:1.5;color:var(--accent)}
@media(max-width:760px){.header-inner .header-search{position:absolute}.header-results{border-radius:12px;padding:10px 12px;max-height:calc(100dvh - var(--navigation-expanded-height) - 28px)}.header-result{min-height:64px}.header-result strong{font-size:13px}}

.cascade-price{display:block;color:var(--ink);font-size:12px;font-weight:600;line-height:1.5;margin-top:5px;font-variant-numeric:tabular-nums}
