/* 26.10.2026. Static office layers share the lift's original 1054 × 1320 map.
   Only the office/background are changed; shaft geometry and runtime are intact. */
.home-hero{background:#090f15!important}
.home-hero-grid{display:none}
/* Растянутый contours.svg убран 27.10: деревья искажались по высоте и повторяли контуры фона.
   Тёплое свечение и «луч» за текстом тоже убраны — выглядели дымкой; солнце передают свет офиса и деревьев.
   Синее свечение сужено до области за сценой: на широких экранах оно расползалось пятнами по краям. */
.home-office-atmosphere{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse 30% 62% at 62% 46%,#123047 0,#0b1c2a 50%,#090f15 100%);opacity:.8}
.home-office-environment,.home-office{position:absolute;inset:0;pointer-events:none}
.home-office-environment{z-index:0}
.home-office{z-index:1}
.home-office img,.home-office-environment img{display:block;position:absolute;max-width:none;user-select:none;pointer-events:none}
.home-office-backdrop{left:-93%;bottom:-2.75%;width:257%;height:auto;mask-image:linear-gradient(90deg,transparent 8%,#0004 18%,#0009 28%,#000d 38%,#000 44%,#000 64%,#000e 71%,#000c 77%,#0009 83%,#0006 88%,#0003 93%,#0001 97%,transparent),linear-gradient(180deg,transparent,#0007 6%,#000 15%,#000 88%,transparent);mask-composite:intersect;-webkit-mask-image:linear-gradient(90deg,transparent 8%,#0004 18%,#0009 28%,#000d 38%,#000 44%,#000 64%,#000e 71%,#000c 77%,#0009 83%,#0006 88%,#0003 93%,#0001 97%,transparent),linear-gradient(180deg,transparent,#0007 6%,#000 15%,#000 88%,transparent);-webkit-mask-composite:source-in}
/* 27.10.2026: чертёж фона ярче — отдельный слой одних линий (reviews/hero-background-vector-2026-10-27/lines-layer.py)
   с той же геометрией и маской, что у фона; screen не трогает чёрное, поэтому деревья и пол не меняются. */
.home-office-lines{mix-blend-mode:screen;opacity:1}
/* Утро: тёплый боковой свет на деревьях. Дымка неба убрана 27.10 — закрывала прежний чертёж над крышей.
   Слой совпадает с .home-office-backdrop; градиенты гаснут к краям, швов нет. */
.home-office-morning{position:absolute;left:-93%;right:-64%;top:-6%;bottom:-3%;pointer-events:none}
.home-office-morning::before,.home-office-morning::after{content:"";position:absolute;inset:0}
.home-office-morning::before{display:none}
/* Тёплый свет только по силуэтам деревьев (tree-glow-mask.png): круговая подсветка давала бурое пятно у кнопок.
   Слой выровнен по .home-office-backdrop: та же ширина, нижний край −2,75% фигуры = 0,23% высоты этого блока, 2 : 1. */
.home-office-morning::after{inset:auto 0 .23% 0;aspect-ratio:2/1;background:radial-gradient(ellipse 26% 46% at 30% 50%,#6e4524 0,#6e45248c 60%,transparent 100%),radial-gradient(ellipse 30% 30% at 32% 88%,#5a3a2066 0,transparent 100%);mix-blend-mode:color-dodge;-webkit-mask:url("assets/home-office/tree-glow-mask.png") 0 0/100% 100% no-repeat;mask:url("assets/home-office/tree-glow-mask.png") 0 0/100% 100% no-repeat}
.home-office-environment:not(.is-ready) .home-office-morning::after{display:none}
/* Солнце в здании: маска — сами слои этажей и оболочки, поэтому свет не выходит на небо.
   Позиции маски пересчитаны из top/height этажей: y% = top / (100 − height). */
.home-office-sun{position:absolute;inset:0;pointer-events:none;
 -webkit-mask:url("assets/home-office/floor-03-640.webp") 0 22.573%/61.1% 22.136% no-repeat,url("assets/home-office/floor-02-640.webp") 0 49.86%/61.1% 24.062% no-repeat,url("assets/home-office/floor-01-640.webp") 0 77.847%/61.1% 23.356% no-repeat,url("assets/home-office/foundation-640.webp") 0 90.1%/61.1% 7.852% no-repeat,url("assets/home-office/envelope.svg") 0 0/100% 100% no-repeat;
 mask:url("assets/home-office/floor-03-640.webp") 0 22.573%/61.1% 22.136% no-repeat,url("assets/home-office/floor-02-640.webp") 0 49.86%/61.1% 24.062% no-repeat,url("assets/home-office/floor-01-640.webp") 0 77.847%/61.1% 23.356% no-repeat,url("assets/home-office/foundation-640.webp") 0 90.1%/61.1% 7.852% no-repeat,url("assets/home-office/envelope.svg") 0 0/100% 100% no-repeat}
/* Тени на рендерах этажей — от солнца слева сверху: свет ложится на пол и правые стены комнат.
   Тёплое пятно — по каждому этажу отдельно, по диагонали к правому нижнему углу. */
.home-office-sun--warm{background:linear-gradient(120deg,#ffc58a00 22%,#ffc58ab3 62%,#ffb877 100%) 0 22.573%/61.1% 22.136% no-repeat,linear-gradient(120deg,#ffc58a00 22%,#ffc58ab3 62%,#ffb877 100%) 0 49.86%/61.1% 24.062% no-repeat,linear-gradient(120deg,#ffc58a00 22%,#ffc58ab3 62%,#ffb877 100%) 0 77.847%/61.1% 23.356% no-repeat;mix-blend-mode:soft-light;opacity:.7}
.home-office-sun--beams{background:linear-gradient(100deg,#5c3a1c 0,#5c3a1c00 22%);mix-blend-mode:color-dodge;opacity:.4}
/* Интерьеры на рендере светятся ярче утреннего неба: ровный мягкий притенитель без перекоса вправо. */
.home-office-sun--shade{background:#ddd4ca;mix-blend-mode:multiply;opacity:.6}
.home-office-floor,.home-office-foundation{left:0;width:61.1%;object-fit:fill}
.home-office-floor--3{top:17.57576%;height:22.136%;clip-path:inset(0 0 .1% 0)}
.home-office-floor--2{top:37.86251%;height:24.062%;clip-path:inset(.1% 0 .1% 0)}
.home-office-floor--1{top:59.66501%;height:23.35612%}
.home-office-ceiling--1{left:19.91337%;top:61.63046%;width:39.911%;height:2.75161%;object-fit:fill;clip-path:polygon(0 0,100% 0,95% 68%,82.8% 68%,80.9% 90%,6.1% 90%)}
.home-office-foundation{top:83.02113%;height:auto}
.home-office-emblem{left:30.82%;top:65.72%;width:7.35%;height:5.87%}
.home-office-wordmark{left:38.86%;top:66.75%;width:10.92%;height:3.72%}
.home-office-envelope,.home-office-glass{inset:0;width:100%;height:100%}
.home-hero [data-hero-figure]>.hero-lift-iso{z-index:2}
/* Interior/background contain no animation. Avoid large changing filter layers. */
.home-hero .hero-lift-iso{filter:none}
.home-hero-copy{z-index:3!important}
.home-hero .hero-model-caption{z-index:3}
:is(#dc-root, #home-static-hero) .home-hero .hero-model-caption{font-size:11px;color:#a7b1bc}
:is(#dc-root, #home-static-hero) .home-hero .hero-model-caption a{color:#8eb9ec}
@media(min-width:768px){
 .home-hero .hero-dealer-block>div:not(.hero-dealers)>a{margin-right:22px}
 .home-hero .hero-dealer-block::before{content:"";position:absolute;z-index:-1;pointer-events:none;inset:5px -28px -22px 26%;background:radial-gradient(ellipse at 64% 57%,#090f1552 0%,#090f1533 48%,transparent 76%)}
 .home-hero .hero-dealer-block{isolation:isolate}
}
@media(min-width:1200px){
 /* 27.10.2026: линия и «Сертификаты» не заходят на деревья — блок по ширине строки заводов. */
 html body[data-ui-page="index"] .home-hero .hero-dealer-block{width:max-content!important;max-width:100%!important}
 .home-hero .hero-dealer-block>div:not(.hero-dealers)>a{margin-right:0}
 /* The old 1200px minimum ignored the desktop scrollbar at this breakpoint. */
 body[data-ui-page="index"] #shared-header,body[data-ui-page="index"] #dc-root>.sc-host>div{min-width:0!important}
 .home-hero-inner{max-width:1360px!important;--office-scene-width:clamp(400px,calc(50vw - 220px),500px);--scene-width:clamp(320px,calc((100svh - 193px)*.7984848485),var(--office-scene-width));--panel-width:clamp(180px,15vw,196px)}
 .home-hero-copy{padding-left:40px!important;max-width:560px;width:calc(100% - var(--scene-width) - var(--panel-width) - 90px)!important}
 .home-hero[data-screen-label] [data-hero-figure]{right:calc(var(--panel-width) + 56px)}
}
@media(min-width:768px) and (max-width:1199.98px){
 /* display:contents makes the copy's children grid items; each needs its own stacking level. */
 html body[data-ui-page="index"] .home-hero[data-screen-label] .home-hero-copy>*{position:relative;z-index:3;min-width:0;max-width:100%!important}
 html body[data-ui-page="index"] .home-hero[data-screen-label] .home-hero-copy h1.home-hero-title{font-size:clamp(33px,4.15vw,48px)!important}
 html body[data-ui-page="index"] .home-hero[data-screen-label] .home-hero-copy .home-hero-lead{font-size:16px!important}
 html body[data-ui-page="index"] .home-hero[data-screen-label] .hero-node-panel .lift-node-card{display:grid;grid-template-columns:100px minmax(0,1fr);grid-template-rows:1fr auto;gap:0 14px;min-height:112px;padding:10px 14px;border-radius:14px}
 html body[data-ui-page="index"] .home-hero[data-screen-label] .hero-node-panel .lift-node-card img{grid-column:1;grid-row:1/3;width:100px;height:92px;align-self:center}
 html body[data-ui-page="index"] .home-hero[data-screen-label] .hero-node-panel .lift-node-card h2{grid-column:2;margin:8px 0 0;min-height:0;align-self:center;font-size:15px!important}
 html body[data-ui-page="index"] .home-hero[data-screen-label] .hero-node-panel .lift-category-link{grid-column:2;font-size:12px;padding:6px 0}
 :is(#dc-root, #home-static-hero) .home-hero[data-screen-label] .hero-node-panel{height:auto!important}
 :is(#dc-root, #home-static-hero) .home-hero[data-screen-label] [data-lift-card-slot]{min-height:0}
 :is(#dc-root, #home-static-hero) .home-hero[data-screen-label] .hero-model-caption{top:calc(100% + 202px)!important;font-size:11px;align-items:flex-start}
 html body[data-ui-page="index"] .home-hero[data-screen-label] [data-hero-figure][data-office]{margin-bottom:245px}
 .home-office-backdrop{opacity:.85}
}
@media(max-width:767.98px){.home-office-environment,.home-office{display:none}}
/* 26.10.2026: блоки ниже сцены браузер не отрисовывает, пока до них не докрутили, — каждый кадр поездки
   лифта дешевле (CPU ×4: 45 → 58 к/с). Высоты — замер живой страницы, чтобы полоса прокрутки не прыгала. */
@media(min-width:768px){#dc-root #catalog,#dc-root #podbor,#site-footer{content-visibility:auto}#dc-root #catalog{contain-intrinsic-size:auto 1300px}#dc-root #podbor{contain-intrinsic-size:auto 1100px}#site-footer{contain-intrinsic-size:auto 640px}}
@media(min-width:1200px){#dc-root #podbor{contain-intrinsic-size:auto 680px}#site-footer{contain-intrinsic-size:auto 450px}}

/* Approved dry entrance, 28.10.2026. Static texture strips; no runtime filters. */
.home-office-backdrop{clip-path:inset(0 0 12% 0)}
.home-office-ground{left:-93%;bottom:-2.75%;width:257%;height:auto;mask-image:linear-gradient(90deg,transparent 8%,#0004 18%,#0009 28%,#000d 38%,#000 44%,#000 64%,#000e 71%,#000c 77%,#0009 83%,#0006 88%,#0003 93%,#0001 97%,transparent),linear-gradient(180deg,#000 4%,#000e 16%,#0009 36%,#0004 60%,transparent 92%);mask-composite:intersect;-webkit-mask-image:linear-gradient(90deg,transparent 8%,#0004 18%,#0009 28%,#000d 38%,#000 44%,#000 64%,#000e 71%,#000c 77%,#0009 83%,#0006 88%,#0003 93%,#0001 97%,transparent),linear-gradient(180deg,#000 4%,#000e 16%,#0009 36%,#0004 60%,transparent 92%);-webkit-mask-composite:source-in}
.home-office-morning::after{clip-path:inset(0 0 12% 0)}
.home-office-ground-contact{left:-1.70778%;top:90.227273%;width:64.516129%;height:1.515152%}
@media(min-width:768px) and (max-width:1199.98px){.home-office-ground{opacity:.85}}
