/* One full-width opening composition. The header and copy sit over the scene. */
body{--intro-height:clamp(820px,100svh,1000px);--intro-scene-width:max(1150px,min(100vw,1500px),calc(var(--intro-height)*1.5),82vw);--intro-gutter:max(48px,calc((100vw - 1344px)/2))}
.header{position:absolute;inset:0 0 auto;z-index:20;background:transparent}
.header .nav{border-top-color:#59654824}
.hero.shell{position:relative;width:100%;max-width:none;margin:0;display:block;height:var(--intro-height);min-height:0;padding:0;overflow:visible}
.hero .hero-copy{position:relative;z-index:2;width:min(400px,39vw);max-width:none;margin-left:var(--intro-gutter);padding:clamp(200px,23svh,235px) 0 0;pointer-events:auto}
.hero-copy a,.hero-copy button{pointer-events:auto}
.hero .hero-copy h1{font-size:clamp(40px,3.05vw,50px);line-height:1.08;letter-spacing:-2px;margin:24px 0 18px}
.hero .hero-lead{font-size:16px;line-height:1.55;max-width:370px;margin-bottom:22px}
.hero .hero-copy>.btn{min-height:52px;font-size:14px;min-width:255px}
.hero .hero-hint{font-size:10px;margin-top:10px}
.hero .hero-bottom{margin-top:24px;padding-top:15px;max-width:360px;gap:13px;border-color:#606d4d29}
.hero .hero-bottom p{font-size:11px}
.hero .builder:not(.is-expanded){position:absolute;inset:0;width:100%;height:100%;min-height:0;margin:0;border:0;border-radius:0;background:none;box-shadow:none;overflow:visible;z-index:0;pointer-events:none}
.hero .builder:not(.is-expanded) .assembly-top{display:none}
.hero .builder:not(.is-expanded) .builder-viewport{position:absolute;inset:0;width:100%;height:100%;max-height:none;margin:0;overflow:hidden;background:none;pointer-events:auto}
.hero .builder:not(.is-expanded) .scene-art{position:absolute;top:min(0px,calc((var(--intro-height) - var(--intro-scene-width)*2/3)*.65));left:calc(50% - var(--intro-scene-width)*.38);width:var(--intro-scene-width);max-width:none;margin:0;isolation:auto}
.hero .builder:not(.is-expanded) .interior-scene{-webkit-mask-image:none;mask-image:none;width:100%;height:auto;aspect-ratio:3/2}
.hero .builder:not(.is-expanded) .builder-viewport::after{content:'';position:absolute;inset:0;z-index:2;pointer-events:none;background:
 linear-gradient(to right,#faf9f6 0%,#faf9f6 20%,#faf9f6f5 31%,#faf9f6c4 40%,#faf9f650 50%,#faf9f600 59%),
 linear-gradient(to bottom,#faf9f6ef 0px,#faf9f6d9 100px,#faf9f6a3 180px,#faf9f629 290px,#faf9f600 380px),
 linear-gradient(to top,#faf9f6 0px,#faf9f6ed 30px,#faf9f670 80px,#faf9f600 150px),
 linear-gradient(to left,#faf9f6aa 0px,#faf9f61a 100px,#faf9f600 210px)}
.hero .builder:not(.is-expanded) .scene-grade{display:none}
.hero .builder:not(.is-expanded) .builder-caption{position:fixed;visibility:hidden}
.hero .builder:not(.is-expanded)::after{content:'Визуализация интерьера';position:absolute;bottom:145px;right:var(--intro-gutter);font-size:8px;color:#78816e;letter-spacing:.25px;z-index:3;pointer-events:none}
.hero .builder:not(.is-expanded) .hover-caption{z-index:5}
.hero .builder:not(.is-expanded) .builder-actions{position:absolute;left:56%;right:var(--intro-gutter);bottom:72px;z-index:5;justify-content:center;gap:25px;margin:0;padding:0;background:none;border:0;pointer-events:auto}
.hero .builder:not(.is-expanded) .builder-actions button{min-height:48px;font-size:12px;white-space:nowrap}
.hero .builder:not(.is-expanded) .builder-toolbar{position:absolute;left:56%;right:var(--intro-gutter);bottom:24px;z-index:5;justify-content:center;gap:28px;padding:0;pointer-events:auto}
.hero .builder:not(.is-expanded) .builder-toolbar button{min-height:38px;color:#636f55}
.hero .builder:not(.is-expanded) .build-progress{position:absolute;bottom:17px;left:72%;width:110px;margin:0;z-index:5}
.hero .builder:not(.is-expanded) .builder-status{position:absolute;left:52%;right:var(--intro-gutter);bottom:0;padding:0;font-size:9px;z-index:5;pointer-events:none}
.service-ribbon{position:relative;z-index:2}
.builder.is-expanded{pointer-events:auto}
@media(min-width:1600px){.hero .builder:not(.is-expanded) .builder-actions,.hero .builder:not(.is-expanded) .builder-toolbar{left:53%}}
@media(min-width:701px) and (max-width:1100px){
 body{--intro-gutter:40px}
 .hero .hero-copy{width:350px;padding-top:190px}
 .hero .hero-copy h1{font-size:41px}
 .hero .hero-lead{font-size:15px;max-width:330px}
 .hero .builder:not(.is-expanded) .scene-art{left:calc(52% - var(--intro-scene-width)*.43)}
 .hero .builder:not(.is-expanded) .builder-viewport::after{background:linear-gradient(to right,#faf9f6 0%,#faf9f6f7 23%,#faf9f6db 36%,#faf9f655 48%,#faf9f600 62%),linear-gradient(to bottom,#faf9f6f0 0px,#faf9f6c9 125px,#faf9f600 330px),linear-gradient(to top,#faf9f6 0px,#faf9f6a0 65px,#faf9f600 145px),linear-gradient(to left,#faf9f655,transparent 100px)}
 .hero .builder:not(.is-expanded) .builder-actions{left:48%;right:30px;gap:15px}
 .hero .builder:not(.is-expanded) .builder-actions button{font-size:10px;gap:14px}
 .hero .builder:not(.is-expanded) .builder-toolbar{left:48%;right:30px;gap:23px}
}
@media(min-width:701px) and (max-width:850px){
 .hero .hero-copy{width:300px}.hero .hero-copy h1{font-size:36px}.hero .hero-lead{max-width:285px;font-size:14px}
 .hero .builder:not(.is-expanded) .scene-art{left:calc(50% - var(--intro-scene-width)*.47)}
 .hero .builder:not(.is-expanded) .builder-actions{left:43%;right:20px;gap:12px}
 .hero .builder:not(.is-expanded) .builder-toolbar{left:43%;right:20px}
}
@media(max-width:700px){
 body{--intro-height:1120px;--intro-gutter:24px}
 .header{background:transparent}
 .hero .hero-copy{width:calc(100% - 48px);margin-inline:24px;padding-top:120px}
 .hero .hero-copy h1{font-size:39px;line-height:1.08;letter-spacing:-1.5px;margin:22px 0 19px}
 .hero .hero-lead{font-size:15px;max-width:370px;line-height:1.55;margin-bottom:22px}
 .hero .hero-copy>.btn{min-width:255px;font-size:13px}
 .hero .hero-bottom{display:none}
 .hero .builder:not(.is-expanded) .scene-art{width:800px;left:calc(50% - 400px);top:480px}
 .hero .builder:not(.is-expanded) .interior-scene{-webkit-mask-image:linear-gradient(to bottom,transparent,#000 18%,#000 82%,transparent);mask-image:linear-gradient(to bottom,transparent,#000 18%,#000 82%,transparent)}
 .hero .builder:not(.is-expanded) .builder-viewport::before{content:'';position:absolute;inset:0 0 auto;height:420px;background:url('/assets/balcony/assembly-v3/finish.webp') center top/auto 600px no-repeat;opacity:.1;-webkit-mask-image:linear-gradient(#000,transparent);mask-image:linear-gradient(#000,transparent);pointer-events:none}
 .hero .builder:not(.is-expanded) .builder-viewport::after{background:linear-gradient(to bottom,#faf9f600 0px,#faf9f6b0 100px,#faf9f6f0 290px,#faf9f6ed 480px,#faf9f600 680px),linear-gradient(to top,#faf9f6 0px,#faf9f6 55px,#faf9f600 175px);pointer-events:none}
 .hero .builder:not(.is-expanded)::after{bottom:144px;right:24px;font-size:7px}
 .hero .builder:not(.is-expanded) .builder-actions{left:24px;right:24px;bottom:65px;gap:18px;justify-content:center}
 .hero .builder:not(.is-expanded) .builder-actions button{font-size:10px;gap:10px;min-height:44px}
 .hero .builder:not(.is-expanded) .builder-toolbar{left:24px;right:24px;bottom:15px;gap:28px}
 .hero .builder:not(.is-expanded) .builder-toolbar button{min-height:44px}
 .hero .builder:not(.is-expanded) .builder-status{left:24px;right:24px;bottom:0;font-size:8px}
 .hero .builder:not(.is-expanded) .build-progress{left:calc(50% - 55px);bottom:10px}
}
@media(max-width:360px){.hero .hero-copy{width:calc(100% - 36px);margin-inline:18px}.hero .hero-copy h1{font-size:35px}.hero .builder:not(.is-expanded) .builder-actions{left:18px;right:18px;gap:12px}}
