/* Aviatorilor, parter cu grădină — a quiet frame around the view. */
:root{--cream:#f4efe5;--sage:#d3b88f;--ink:#292620;--bronze:#b79b75;--line:rgba(244,239,229,.24);--glass:rgba(32,29,24,.46)}
body{background:var(--ink)}
button,a{touch-action:manipulation}
button:focus-visible,a:focus-visible,canvas:focus-visible{outline:2px solid var(--sage);outline-offset:5px}
button:disabled{cursor:default}
#tour{height:100svh;min-height:0;isolation:isolate}
#panorama{transition:none}
#panorama.changing{opacity:1;filter:none}
#scene-transition{position:absolute;inset:0;width:100%;height:100%;opacity:0;pointer-events:none;z-index:1;transition:opacity .42s cubic-bezier(.2,.7,.2,1)}
#scene-transition.snapshot{opacity:1}
.hero-photo{position:absolute;inset:0;background:url('./images/photo_001.jpg') center 50%/cover;opacity:0;pointer-events:none;z-index:1;transition:opacity .65s ease}
.welcome .hero-photo{opacity:1}
.vignette{z-index:2;background:linear-gradient(180deg,rgba(24,22,18,.5),transparent 23%,transparent 65%,rgba(24,22,18,.58))}
.welcome .vignette{background:linear-gradient(90deg,rgba(24,22,18,.78),rgba(24,22,18,.32) 56%,rgba(24,22,18,.05)),linear-gradient(180deg,rgba(24,22,18,.22),transparent 28%,rgba(24,22,18,.24))}
.header{padding:28px 38px;gap:24px}
.brand{font-size:12px;font-weight:500;letter-spacing:.2em;gap:12px;text-shadow:0 1px 12px rgba(0,0,0,.45)}
.brand-mark{width:41px;height:41px;font-size:33px;color:#e2cfb0;border-color:rgba(226,207,176,.6)}
.brand small{font-size:8px;letter-spacing:.14em;opacity:.76;margin-top:6px}
.header-actions{gap:9px}
.icon-button{width:44px;height:44px;background:rgba(32,29,24,.28);border-color:rgba(244,239,229,.28);backdrop-filter:blur(14px);transition:background .2s,border-color .2s}
.icon-button:hover{background:rgba(32,29,24,.65);border-color:rgba(244,239,229,.65)}
.icon-button svg{width:19px;height:19px}
.photo-button{min-height:44px;padding:0 17px;background:rgba(32,29,24,.28);color:var(--cream);border:1px solid rgba(244,239,229,.28);backdrop-filter:blur(14px);font-size:11px;font-weight:400;gap:10px;transition:background .2s}
.photo-button:hover{background:rgba(32,29,24,.65)}
.photo-button b{font-size:10px;border-color:rgba(244,239,229,.28);font-weight:400}
.visit-button{display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:44px;padding:0 19px;border:1px solid rgba(244,239,229,.7);border-radius:2px;background:var(--cream);color:var(--ink);font-size:11px;font-weight:500;transition:background .2s}
.visit-button span{font-size:17px;font-weight:400}
.visit-button:hover,.primary:hover{background:#e2cfb0}
.welcome-copy{left:8%;max-width:760px;top:51%;transform:translateY(-44%)}
.welcome-copy .eyebrow{font-size:10px;letter-spacing:.24em;font-weight:500;gap:13px}
.welcome-copy .eyebrow span{width:33px;background:var(--bronze)}
h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(56px,6.45vw,98px);font-weight:400;letter-spacing:-.045em;line-height:1.065;margin:29px 0 27px}
h1 em{font-weight:400;color:#e2cfb0;letter-spacing:-.05em}
.welcome-copy p{font-size:14px;line-height:1.8;opacity:.88}
.primary{min-height:50px;padding:17px 23px;margin-top:29px;gap:38px;border-radius:2px;background:var(--cream);font-size:12px;font-weight:500}
.primary:hover{transform:translateX(2px)}
.primary svg{width:20px}
.welcome-meta{font-size:9px;letter-spacing:.15em;opacity:.8;margin-top:30px}
.welcome-meta span{margin:0 12px;color:var(--bronze)}
.floor-rail{display:none}
.view-tools{right:32px;top:45%;transform:translateY(-50%);gap:9px;align-items:flex-end}
.compass{display:none}
.tool-group{border-radius:24px;background:var(--glass);border-color:var(--line);backdrop-filter:blur(14px)}
.tool-group button{width:44px;height:44px;font-size:20px;font-weight:300}
.tool-group button+button{border-color:var(--line)}
.view-tools [aria-pressed=true]{background:var(--cream);color:var(--ink)}
#focus-view{min-height:44px;margin-top:3px;padding:0 14px;border:1px solid var(--line);border-radius:24px;color:var(--cream);background:var(--glass);backdrop-filter:blur(14px);font-size:10px;letter-spacing:.02em;transition:background .2s}
#focus-view:hover{background:rgba(32,29,24,.75)}
.tour-bottom{bottom:calc(51px + env(safe-area-inset-bottom));width:min(1070px,calc(100% - 130px))}
.dock{display:flex;flex-direction:row;align-items:flex-end;justify-content:space-between;gap:28px;padding:18px 0 16px;border:0;border-bottom:1px solid rgba(244,239,229,.4);border-radius:0;box-shadow:none;background:transparent;color:var(--cream);backdrop-filter:none;text-shadow:0 2px 20px rgba(20,18,15,.45)}
.location{min-width:0;flex:1 1 auto}
.location .eyebrow{font-size:9px;letter-spacing:.17em;font-weight:500;color:rgba(244,239,229,.82)}
.location h2{font-family:Georgia,serif;font-size:34px;line-height:1.12;font-weight:400;letter-spacing:-.025em;margin:7px 0 0}
.location p{display:none}
.dock-navigation{display:flex;align-items:center;gap:24px;flex:0 0 auto}
#map-button{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 15px;border:1px solid var(--line);border-radius:24px;background:var(--glass);color:var(--cream);backdrop-filter:blur(14px);font-size:11px;font-weight:400;text-shadow:none}
#map-button svg{width:17px;height:17px}
#map-button b{font-size:10px;font-weight:400;padding-left:10px;border-left:1px solid var(--line);color:#e2cfb0}
#map-button:hover{background:rgba(32,29,24,.75);border-color:rgba(244,239,229,.55)}
.sequence-controls{gap:13px}
.sequence-controls button{width:44px;height:44px;border:1px solid var(--line);background:var(--glass);color:var(--cream);backdrop-filter:blur(14px);font-size:19px;border-radius:50%}
.sequence-controls button:hover{background:rgba(244,239,229,.2)}
.sequence-controls button:disabled{opacity:.35}
.sequence-controls span{font-size:10px;letter-spacing:.12em;font-variant-numeric:tabular-nums;white-space:nowrap}
.route-top{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:12px 0 0;min-height:44px}
.connections{display:flex;align-items:center;justify-content:flex-start;max-width:none;min-width:0;gap:7px;flex-wrap:wrap;margin:0}
.connections button,.connections button.secondary{flex:0 0 auto;min-height:44px;padding:0 14px;gap:18px;border:1px solid rgba(244,239,229,.3);border-radius:24px;background:rgba(32,29,24,.36);color:var(--cream);backdrop-filter:blur(14px);font-size:11px;font-weight:400;white-space:nowrap;transition:background .2s,border-color .2s}
.connections button:first-child{background:rgba(244,239,229,.93);border-color:rgba(244,239,229,.85);color:var(--ink)}
.connections button:hover{background:#e2cfb0;color:var(--ink);border-color:#e2cfb0}
.connections svg{width:16px;height:16px}
.progress-wrap{display:flex;flex-direction:column;align-items:flex-end;gap:8px;flex-shrink:0;font-size:9px;color:rgba(244,239,229,.75)}
#progress{gap:5px}
#progress i{width:15px;height:2px;border-radius:0;background:rgba(244,239,229,.3)}
#progress i.visited{background:#d3b88f}
#progress i.current{background:var(--cream);box-shadow:0 0 0 1px rgba(244,239,229,.16)}
#return-yard[hidden]{display:none}
.disclosure{bottom:calc(13px + env(safe-area-inset-bottom));color:rgba(244,239,229,.79);font-size:9px;letter-spacing:.035em;line-height:1.5;text-shadow:0 1px 8px #292620}
#hotspots{position:absolute;inset:0;z-index:3;pointer-events:none;transition:opacity .18s}
.hotspot{padding:8px;gap:10px;color:var(--cream)}
.hotspot .disk{width:44px;height:44px;border:1px solid rgba(244,239,229,.9);background:rgba(244,239,229,.93);color:var(--ink);box-shadow:0 0 0 5px rgba(244,239,229,.14),0 3px 14px rgba(24,22,18,.18);backdrop-filter:blur(10px)}
.hotspot .disk svg{width:22px;height:22px;stroke-width:1.8}
.hotspot .hotspot-label{max-width:190px;font-size:10px;font-weight:400;border:1px solid rgba(244,239,229,.26);border-radius:20px;padding:8px 12px;background:rgba(32,29,24,.65);backdrop-filter:blur(14px);opacity:0;transform:translateY(-3px);transition:opacity .2s,transform .2s}
.hotspot:hover .hotspot-label,.hotspot:focus-visible .hotspot-label{opacity:1;transform:translateY(0)}
.hotspot:hover .disk{transform:scale(1.06);box-shadow:0 0 0 7px rgba(244,239,229,.19),0 3px 14px rgba(24,22,18,.18)}
body.is-moving #hotspots{opacity:0!important;pointer-events:none}
body.is-moving .hotspot{pointer-events:none}
.drag-hint{top:38%;background:rgba(32,29,24,.5);border-color:var(--line);font-size:11px;padding:10px 15px;gap:8px}
.drag-hint span{font-size:20px}
#loading{background:rgba(32,29,24,.82);border-color:var(--line);border-radius:6px;padding:17px 22px;font-size:12px}
#retry{min-height:44px;padding:0 13px;border-radius:3px;background:var(--cream)}
.spinner{border-top-color:var(--sage)}
dialog{border:1px solid #e5ded0;border-radius:5px;background:var(--cream);color:var(--ink);max-height:90svh;box-shadow:0 25px 100px rgba(17,15,12,.4)}
dialog::backdrop{background:rgba(24,22,18,.65);backdrop-filter:blur(14px)}
.panel-head{padding:26px 30px;gap:25px;border-color:#ded5c6}
.panel-head p{font-size:9px;letter-spacing:.19em;color:#887456}
.panel-head h2{margin:8px 0 0;font-family:Georgia,serif;font-size:30px;font-weight:400;line-height:1.15;letter-spacing:-.035em}
.panel-head .icon-button{width:44px;height:44px;border-color:#d5c8b4;background:transparent;color:var(--ink)}
.panel-head .icon-button:hover{background:#e7ddcd}
.panel-dialog{width:min(990px,94vw)}
.map-content{display:block;height:auto;min-height:0}
.plan-section{display:none}
#route-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:24px 30px 16px;gap:20px;border:0;max-height:65svh;overflow-y:auto;scrollbar-width:thin}
#route-list button{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;min-height:44px;color:var(--ink);border:1px solid #ded5c6;border-radius:3px;overflow:hidden;background:#fbf8f2;text-align:left;transition:border-color .2s,background .2s}
#route-list button:hover,#route-list button.active{border-color:#b59a73;background:#eee5d7}
#route-list button.active{box-shadow:inset 0 0 0 1px #b59a73}
#route-list button img{display:block;width:100%;height:auto;aspect-ratio:1.8;object-fit:cover;border-radius:0;flex-shrink:0}
.room-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px 15px}
.room-details{min-width:0}
#route-list button b{display:block;font-family:Georgia,serif;font-size:20px;font-weight:400;letter-spacing:-.025em}
#route-list button small{display:block;margin-top:6px;font-size:9px;letter-spacing:.045em;color:#83735b}
#route-list .room-number,#route-list .room-state{font-size:9px;text-transform:uppercase;letter-spacing:.12em}
#route-list .room-number{position:absolute;top:10px;left:10px;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:rgba(32,29,24,.7);color:var(--cream);z-index:1;backdrop-filter:blur(8px)}
#route-list .room-state{color:#796245}
.room-arrow{font-size:20px;font-weight:300;color:#947955}
.room-note{margin:0;padding:5px 30px 25px;font-size:11px;color:#82745f;line-height:1.6}
.photo-dialog{width:min(1130px,94vw)}
.photo-filters{padding:15px 30px;gap:8px}
.photo-filters button{min-height:44px;padding:0 15px;font-size:11px;color:#74644f;border-color:#d5c8b4}
.photo-filters button.active{background:var(--ink);color:var(--cream);border-color:var(--ink)}
#photo-counter{font-size:11px;color:#74644f;font-variant-numeric:tabular-nums}
.photo-stage{height:min(50svh,570px);gap:13px;padding:0 16px;background:#e5ddd0}
.photo-stage img{max-width:calc(100% - 114px);min-width:0}
.photo-arrow{width:44px;height:44px;font-size:20px;background:rgba(244,239,229,.9);border:1px solid #d5c8b4}
.photo-arrow:hover{background:#d3b88f}
#photo-caption{margin:14px 0;padding:0 30px;font-size:12px;color:#5d5244}
.photo-thumbs{gap:8px;padding:0 30px 12px;scrollbar-width:thin}
.photo-thumbs button{border-radius:2px;min-height:48px}
.photo-thumbs img{width:76px;height:48px}
.photo-thumbs button.active{border-color:#a88a60}
.photo-note{padding:0 30px 22px;font-size:10px;color:#82745f;line-height:1.6;margin:0}
.about-dialog{width:min(620px,94vw)}
.about-dialog>img{height:220px;object-position:center 53%}
.about-body{padding:26px 30px}
.property-stats{justify-content:flex-start;gap:50px;margin-bottom:26px}
.property-stats strong{font-family:Georgia,serif;font-size:33px;font-weight:400}
.property-stats span{font-size:11px;color:#82745f}
.about-body p,.visit-body p{font-size:13px;line-height:1.8}
.about-body .subtle{font-size:12px;color:#82745f}
.source-link{padding:16px 18px;min-height:48px;font-size:12px;border-radius:2px}
.source-link:hover{background:#514534}
.about-body>small{font-size:10px;color:#82745f;line-height:1.6}
.visit-dialog{width:min(570px,94vw)}
.visit-photo{display:block;width:100%;height:210px;object-fit:cover;object-position:center 53%}
.visit-body{padding:25px 30px 30px}
.visit-body p{margin:0 0 22px}
.visit-link{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:50px;padding:15px 18px;background:var(--ink);color:var(--cream);border-radius:2px;font-size:12px}
.visit-link span{font-size:20px}
.visit-link:hover{background:#514534}
.visit-body small{display:block;font-size:11px;color:#82745f;line-height:1.7;margin-top:19px}
body.clean .header,body.clean .tour-bottom{opacity:0;visibility:hidden;pointer-events:none}
body.clean .view-tools{top:auto;bottom:calc(30px + env(safe-area-inset-bottom));right:30px;transform:none}
body.clean .view-tools .tool-group,body.clean .view-tools .compass,body.clean .view-tools #auto,body.clean .view-tools #fullscreen{display:none}
body.clean #focus-view{color:var(--cream);background:rgba(32,29,24,.55);border-color:rgba(244,239,229,.45)}
@media(hover:none),(pointer:coarse){.hotspot .hotspot-label{opacity:1;transform:none}}
@media(min-width:1500px){.header{padding:34px 46px}.welcome-copy{left:9%}.tour-bottom{width:min(1180px,calc(100% - 160px));bottom:60px}.location h2{font-size:38px}}
@media(max-width:1050px){.header{padding:24px 26px}.tour-bottom{width:calc(100% - 94px)}.dock{gap:20px}.dock-navigation{gap:15px}.location h2{font-size:30px}.view-tools{right:24px}.connections button,.connections button.secondary{padding:0 12px;gap:12px}.progress-wrap{display:none}}
@media(max-width:700px){
 .header{padding:calc(17px + env(safe-area-inset-top)) 18px 16px;align-items:flex-start;gap:8px}
 .brand{font-size:10px;gap:8px;letter-spacing:.1em}.brand-mark{width:32px;height:32px;font-size:27px}.brand small{font-size:6px;letter-spacing:.1em;margin-top:5px}
 .header-actions{width:144px;max-width:144px;gap:6px;flex-wrap:wrap;justify-content:flex-end}.header-actions .icon-button,.photo-button{width:44px;height:44px;min-height:44px;padding:11px;border-radius:50%}.photo-button span,.photo-button b{display:none}
 .visit-button{order:3;width:100%;min-height:44px;font-size:10px;padding:0 11px;gap:8px}.visit-button span{font-size:15px}
 .welcome-copy{left:25px;right:23px;top:49%;max-width:none;transform:translateY(-38%)}.welcome-copy .eyebrow{font-size:8px;letter-spacing:.13em;gap:9px}.welcome-copy .eyebrow span{width:23px}
 h1{font-size:clamp(45px,11.7vw,64px);line-height:1.09;margin:25px 0 22px}.welcome-copy p{font-size:12px;line-height:1.8}
 .primary{min-height:48px;margin-top:23px;padding:14px 19px;font-size:12px;gap:28px}.welcome-meta{font-size:8px;letter-spacing:.08em;margin-top:25px;white-space:normal;line-height:1.7}.welcome-meta span{margin:0 8px}
 .view-tools{top:145px;right:16px;transform:none;gap:7px}.view-tools .icon-button{width:44px;height:44px}.tool-group button{width:44px;height:44px}#focus-view{font-size:9px;padding:0 11px}
 .tour-bottom{width:calc(100% - 36px);bottom:calc(46px + env(safe-area-inset-bottom))}.dock{flex-wrap:wrap;align-items:center;gap:12px;padding:10px 0 13px}.location{flex:1 1 145px;min-width:0}.location .eyebrow{font-size:7px;letter-spacing:.12em}.location h2{font-size:24px;margin:5px 0 0;line-height:1.15}
 .dock-navigation{margin-left:auto;gap:10px}#map-button{width:44px;height:44px;padding:0;justify-content:center}#map-button span,#map-button b{display:none}#map-button svg{width:19px;height:19px}.sequence-controls{gap:6px}.sequence-controls button{width:44px;height:44px}.sequence-controls span{font-size:8px;letter-spacing:.055em}
 .route-top{gap:0;margin:10px 0 0;min-height:44px}.connections{flex-wrap:nowrap;overflow-x:auto;padding:1px 1px 4px;scrollbar-width:none;width:100%}.connections::-webkit-scrollbar{display:none}.connections button,.connections button.secondary{padding:0 13px;min-height:44px;font-size:10px;gap:15px}.connections svg{width:14px;height:14px}
 .disclosure{font-size:8px;bottom:calc(12px + env(safe-area-inset-bottom));padding:0 10px;line-height:1.5}.drag-hint{top:33%;font-size:10px;white-space:nowrap}.hotspot .disk{width:44px;height:44px}.hotspot .hotspot-label{font-size:9px;padding:7px 10px}
 #loading{max-width:calc(100% - 38px);padding:14px 17px;font-size:10px;white-space:normal}
 dialog{max-height:92svh}.panel-head{padding:20px;gap:14px}.panel-head p{font-size:8px;letter-spacing:.14em}.panel-head h2{font-size:25px}.panel-head .icon-button{width:44px;height:44px}
 #route-list{grid-template-columns:repeat(2,minmax(0,1fr));padding:16px;gap:12px;max-height:65svh}#route-list button img{aspect-ratio:1.35}.room-card-bottom{padding:11px 10px 13px;gap:6px}#route-list button b{font-size:18px}#route-list button small{font-size:8px;line-height:1.5}.room-arrow{font-size:17px}.room-note{padding:0 18px 20px;font-size:10px}
 .photo-filters{padding:12px 15px;gap:6px;flex-wrap:wrap}.photo-filters button{font-size:9px;padding:0 11px}#photo-counter{font-size:10px}.photo-stage{position:relative;padding:0;gap:0;height:auto;min-height:170px;aspect-ratio:16/10;display:grid;place-items:center}.photo-stage img{width:100%;height:100%;max-width:100%;object-fit:contain}.photo-stage .photo-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:1;box-shadow:0 2px 12px rgba(0,0,0,.12)}#photo-prev{left:8px}#photo-next{right:8px}#photo-caption{padding:0 18px;font-size:11px}.photo-thumbs{padding:0 18px 12px}.photo-note{padding:0 18px 20px;font-size:9px}
 .about-dialog>img,.visit-photo{height:175px}.about-body,.visit-body{padding:20px}.property-stats{gap:32px}.property-stats strong{font-size:29px}.property-stats span{font-size:10px}.about-body p,.visit-body p{font-size:12px}.about-body .subtle,.visit-body small{font-size:11px}
 body.clean .view-tools{right:18px;bottom:calc(30px + env(safe-area-inset-bottom))}
}
@media(max-width:380px){
 .header{padding-left:16px;padding-right:16px}.brand{font-size:9px;gap:6px;letter-spacing:.09em}.brand-mark{width:29px;height:29px;font-size:25px}.brand small{font-size:5.5px}.header-actions{width:136px;max-width:136px}.visit-button{font-size:9.5px;padding:0 9px}
 .welcome-copy{left:22px;right:20px}.welcome-copy .eyebrow{font-size:7px;letter-spacing:.1em}h1{font-size:43px}.welcome-meta{font-size:7px}.tour-bottom{width:calc(100% - 32px)}.dock-navigation{flex:1 0 100%;justify-content:space-between}#map-button{width:auto;padding:0 13px}#map-button span{display:block}.photo-filters{column-gap:5px}.photo-filters button{padding:0 9px;font-size:8px}#photo-counter{font-size:9px}.panel-head h2{font-size:23px}
}
@media(max-height:650px) and (min-width:701px){
 .header{padding:17px 26px}.welcome-copy{top:50%;transform:translateY(-38%)}.welcome-copy h1{font-size:clamp(45px,5vw,65px);margin:21px 0 18px}.welcome-copy p{font-size:12px}.primary{margin-top:18px;padding:13px 20px;min-height:46px}.welcome-meta{margin-top:20px}.tour-bottom{bottom:38px}.dock{padding:8px 0 10px}.location h2{font-size:27px}.route-top{margin-top:8px}.view-tools{top:42%}#route-list{max-height:60svh}
}
@media(max-height:600px) and (max-width:700px) and (orientation:landscape){
 .header{padding:12px 18px;align-items:center}.header-actions{width:auto;max-width:none;flex-wrap:nowrap}.visit-button{width:auto;font-size:10px;padding:0 12px;gap:14px}
 .welcome-copy{left:6%;top:51%;transform:translateY(-38%)}.welcome-copy .eyebrow{font-size:7px}.welcome-copy h1{font-size:39px;line-height:1.04;margin:16px 0 0}.welcome-copy p{display:none}.primary{margin-top:17px;min-height:44px;padding:10px 18px}.welcome-meta{margin-top:14px;font-size:7px}
 .view-tools{top:76px;right:18px;transform:none;flex-direction:row;gap:6px}.view-tools .tool-group{display:flex}.tool-group button+button{border-top:0;border-left:1px solid var(--line)}#focus-view{margin-top:0}
 .tour-bottom{bottom:29px;width:calc(100% - 40px)}.dock{padding:7px 0;flex-wrap:nowrap;gap:15px}.location{flex:1 1 auto}.location h2{font-size:23px;margin-top:3px}.location .eyebrow{font-size:6px}.dock-navigation{flex:0 0 auto;justify-content:flex-end}.route-top{margin-top:5px}.connections button,.connections button.secondary{font-size:9px;padding:0 12px}.disclosure{bottom:6px;font-size:6.5px}.drag-hint{top:45%}
 .panel-head{padding:13px 20px}.panel-head h2{font-size:23px}#route-list{grid-template-columns:repeat(3,minmax(0,1fr));max-height:60svh;padding:14px 18px}#route-list button img{aspect-ratio:1.8}.room-note{padding-bottom:13px}.photo-stage{height:40svh}.photo-note{padding-bottom:14px}body.clean .view-tools{top:auto;bottom:25px}
}
@media(max-height:680px) and (max-width:700px) and (orientation:portrait){
 .welcome-copy{top:49%}.welcome-copy h1{font-size:45px;margin-top:22px;margin-bottom:17px}.welcome-copy p{font-size:11px}.welcome-meta{margin-top:20px}.view-tools{top:135px}.tour-bottom{bottom:calc(39px + env(safe-area-inset-bottom))}.disclosure{bottom:calc(8px + env(safe-area-inset-bottom))}
}
@media(max-height:500px) and (orientation:landscape){
 .view-tools{top:85px;right:24px;transform:none;flex-direction:row;gap:7px}.view-tools .tool-group{display:flex}.tool-group button+button{border-top:0;border-left:1px solid var(--line)}#focus-view{margin-top:0}
 .tour-bottom{bottom:29px}.dock{padding:7px 0;gap:15px}.location h2{font-size:23px}.route-top{margin-top:6px}.connections{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.progress-wrap{display:none}.disclosure{bottom:6px}
 .welcome-copy{top:52%;transform:translateY(-42%)}.welcome-copy h1{font-size:42px;line-height:1.05;margin:18px 0}.welcome-copy p{display:none}.primary{margin-top:18px;min-height:44px;padding:12px 18px}.welcome-meta{margin-top:18px;font-size:8px}
 body.clean .view-tools{top:auto;bottom:25px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Full-resolution photographs complement the panoramic navigation. */
#photo-details{display:flex;align-items:center;gap:7px;min-height:32px;margin-top:6px;padding:0;background:transparent;color:#e2cfb0;font-size:10px;letter-spacing:.02em}
#photo-details svg{width:14px;height:14px}
#photo-details:hover{color:var(--cream)}
.photo-dialog{width:min(1560px,96vw);height:96svh;max-height:96svh;color:var(--cream);background:#211f1b;border-color:rgba(244,239,229,.18);overflow:hidden}
.photo-dialog[open]{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto auto}
.photo-dialog .panel-head{padding:18px 26px;border-color:rgba(244,239,229,.16)}
.photo-dialog .panel-head p{color:#d3b88f;font-size:8px}
.photo-dialog .panel-head h2{font-size:25px;margin-top:6px}
.photo-return{display:flex;align-items:center;gap:15px;min-height:44px;padding:0 14px;background:transparent;border:1px solid rgba(244,239,229,.28);border-radius:24px;color:var(--cream);font-size:11px;white-space:nowrap}
.photo-return svg{width:16px;height:16px}
.photo-return:hover{background:#413a30}
.photo-dialog .photo-filters{padding:10px 26px;gap:8px}
.photo-dialog .photo-filters button{min-height:34px;color:rgba(244,239,229,.7);border-color:rgba(244,239,229,.23);font-size:10px}
.photo-dialog .photo-filters button.active{background:#e2cfb0;border-color:#e2cfb0;color:#211f1b}
.photo-dialog #photo-counter{color:#d3b88f;font-size:10px}
.photo-dialog .photo-stage{position:relative;min-height:0;height:auto;aspect-ratio:auto;padding:0;display:block;background:#151411;overflow:hidden}
#photo-viewport{position:absolute;inset:0;overflow:hidden;touch-action:none;cursor:zoom-in;outline-offset:-4px}
#photo-viewport.zoomed{cursor:grab}
#photo-viewport.zoomed:active{cursor:grabbing}
.photo-dialog #real-photo{position:absolute;left:50%;top:50%;max-width:none;min-width:0;max-height:none;object-fit:contain;user-select:none;-webkit-user-drag:none;will-change:transform}
.photo-dialog .photo-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:44px;height:44px;background:rgba(32,29,24,.6);color:var(--cream);border-color:rgba(244,239,229,.4);backdrop-filter:blur(10px)}
.photo-dialog #photo-prev{left:16px}.photo-dialog #photo-next{right:16px}
.photo-dialog .photo-arrow:hover{background:#e2cfb0;color:#211f1b}
.photo-dialog .photo-arrow[hidden]{display:none}
#photo-loading{position:absolute;left:50%;bottom:16px;transform:translateX(-50%);display:flex;align-items:center;gap:9px;white-space:nowrap;padding:9px 13px;border:1px solid rgba(244,239,229,.22);border-radius:24px;background:rgba(32,29,24,.8);font-size:10px;pointer-events:none}
#photo-loading[hidden],#photo-retry[hidden]{display:none}
#photo-retry{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);padding:0 18px;min-height:44px;border-radius:24px;background:#e2cfb0;color:#211f1b}
.photo-detail-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:10px 26px}
.photo-dialog #photo-caption{margin:0;padding:0;font-size:11px;color:var(--cream)}
.photo-detail-tools{display:flex;align-items:center;gap:15px;flex-shrink:0}
#photo-resolution{font-size:9px;color:rgba(244,239,229,.6);font-variant-numeric:tabular-nums}
#photo-zoom{display:flex;align-items:center;gap:16px;min-height:34px;padding:0 13px;border:1px solid rgba(244,239,229,.28);border-radius:24px;background:transparent;color:#e2cfb0;font-size:10px}
#photo-zoom:hover{background:#413a30}
#photo-zoom span{font-size:16px}
.photo-dialog .photo-thumbs{padding:0 26px 10px;min-height:60px}
.photo-dialog .photo-thumbs button.active{border-color:#e2cfb0}
.photo-dialog .photo-note{padding:0 26px 12px;color:rgba(244,239,229,.48);font-size:8px}
@media(max-width:700px){
 #photo-details{font-size:9px;min-height:32px;margin-top:2px}
 .photo-dialog{width:100vw;max-width:100vw;height:100svh;max-height:100svh;margin:0;border:0;border-radius:0}
 .photo-dialog .panel-head{padding:calc(15px + env(safe-area-inset-top)) 16px 12px;gap:12px;align-items:center}
 .photo-dialog .panel-head p{font-size:6.5px;line-height:1.6;max-width:210px}.photo-dialog .panel-head h2{font-size:23px;margin-top:5px}
 .photo-return{font-size:0;gap:0;padding:0;width:44px;flex-shrink:0;justify-content:center}.photo-return svg{width:20px;height:20px}
 .photo-dialog .photo-filters{padding:8px 16px;gap:6px;flex-wrap:nowrap}.photo-dialog .photo-filters button{font-size:9px;padding:0 11px;white-space:nowrap}
 .photo-dialog #photo-prev{left:8px}.photo-dialog #photo-next{right:8px}
 .photo-detail-bar{padding:9px 16px;align-items:flex-start;gap:6px}.photo-dialog #photo-caption{font-size:10px;line-height:1.5;padding-top:5px;max-width:50%}
 .photo-detail-tools{flex-direction:column-reverse;align-items:flex-end;gap:6px}#photo-resolution{font-size:8px}#photo-zoom{font-size:9px;gap:9px;min-height:34px;padding:0 10px}
 .photo-dialog .photo-thumbs{padding:0 16px 8px;min-height:58px}.photo-dialog .photo-note{padding:0 16px calc(12px + env(safe-area-inset-bottom));font-size:7.5px;line-height:1.5}
}
@media(max-height:500px){
 .photo-dialog .panel-head{padding:8px 18px}.photo-dialog .panel-head p,.photo-dialog .photo-note{display:none}.photo-dialog .panel-head h2{font-size:21px;margin:0}.photo-dialog .photo-filters{padding:6px 18px}.photo-detail-bar{padding:6px 18px}.photo-dialog .photo-thumbs{padding:0 18px 8px;min-height:44px}.photo-dialog .photo-thumbs button{min-height:32px}.photo-dialog .photo-thumbs img{width:50px;height:32px}
}

/* Plan-led navigation: the supplied releveu is the centre of the route. */
#photo-details[hidden]{display:none}
#current-level{display:flex;align-items:center;gap:9px;min-height:44px;padding:0 15px;border:1px solid var(--line);border-radius:24px;background:var(--glass);color:var(--cream);backdrop-filter:blur(14px);font-size:11px;white-space:nowrap}
#current-level::after{content:'⌄';font-size:14px;color:#d3b88f}
#current-level:hover{background:rgba(32,29,24,.75);border-color:rgba(244,239,229,.55)}
.dock-navigation{gap:14px}
.panel-dialog{width:min(1240px,94vw)}
.level-tabs{display:flex;gap:8px;padding:18px 26px 0;border:0}
.level-tabs button{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-height:60px;flex:1;padding:12px 18px;border:1px solid #d9cebb;border-radius:3px;background:transparent;color:var(--ink);text-align:left}
.level-tabs button span{font-size:13px;font-weight:500}
.level-tabs button small{font-size:10px;color:#87755c}
.level-tabs button.active{background:var(--ink);color:var(--cream);border-color:var(--ink)}
.level-tabs button.active small{color:#d3b88f}
.map-content{display:grid;grid-template-columns:310px minmax(0,1fr);height:auto;min-height:0;align-items:stretch;padding:22px 26px;gap:25px}
#route-list{display:grid;grid-template-columns:1fr;gap:8px;padding:0;max-height:min(48svh,430px);border:0;overflow-y:auto;align-content:start;scrollbar-width:thin}
#route-list button{display:grid;grid-template-columns:85px minmax(0,1fr);align-items:stretch;gap:0;min-height:67px;border-radius:3px;padding:0;flex-shrink:0}
#route-list button img{width:85px;height:100%;min-height:67px;aspect-ratio:auto;object-fit:cover;border-radius:0}
#route-list button b{font-family:inherit;font-size:12px;font-weight:500;letter-spacing:0}
#route-list button small{font-size:8px;letter-spacing:0;line-height:1.5}
.room-card-bottom{padding:10px 12px;gap:7px}
.plan-section{display:flex;min-width:0;padding:22px 18px 16px;justify-content:center;border:1px solid #e0d7c8;border-radius:3px;background:#faf7f0;gap:18px}
.plan-top{font-size:11px;margin:0;gap:10px}
.plan-top span+span{font-size:9px;letter-spacing:.12em;white-space:nowrap;color:#9a8362}
#tour-map{width:100%;height:auto;max-height:none;overflow:visible}
#tour-map .room-shape{stroke:#b7a58d;stroke-width:5;stroke-linejoin:round;fill:#eee8dc;transition:fill .2s}
#tour-map .interactive .room-shape{fill:#f7f2e8}
#tour-map .interactive.visited .room-shape{fill:#e9ddc9}
#tour-map .interactive:hover .room-shape,#tour-map .interactive:focus-visible .room-shape{fill:#d8c39f;stroke:#8b6b3f;stroke-width:7}
#tour-map .interactive.active .room-shape{fill:#4e4435;stroke:#4e4435}
#tour-map .plan-number{font-size:14px;font-weight:400;fill:#95866f;text-anchor:middle;stroke:none}
#tour-map .plan-room-name{font-size:16px;font-weight:500;fill:#504534;text-anchor:middle;stroke:none}
#tour-map .interactive.active text{fill:#f4e9d7}
#tour-map .stair-line{stroke:#c0b39c;stroke-width:2;fill:none}
#tour-map .terrace .room-shape{stroke-dasharray:8 5}
.plan-section p{margin:0;font-size:9px;line-height:1.6;color:#8a785c;text-align:left;width:100%}
.room-note{padding:0 26px 20px;font-size:10px}
.selling-points{display:grid;grid-template-columns:1fr 1fr;padding:0;margin:20px 0;list-style:none;border-top:1px solid #ddd3c1}
.selling-points li{padding:15px 8px 15px 0;border-bottom:1px solid #ddd3c1;font-size:11px;line-height:1.6;color:#6b5941}
@media(max-width:1000px) and (min-width:701px){.map-content{grid-template-columns:240px minmax(0,1fr);gap:15px}.plan-section{padding:17px 12px}.dock-navigation{gap:10px}#current-level{font-size:10px;padding:0 12px}.location h2{font-size:27px}}
@media(max-width:700px){
 .dock-navigation{flex:1 0 100%;justify-content:space-between;gap:8px}
 #current-level{font-size:10px;padding:0 14px}
 #map-button{width:auto;padding:0 13px;gap:7px}#map-button span{display:block;font-size:10px}
 .level-tabs{padding:14px 16px 0;gap:6px}.level-tabs button{padding:11px;min-height:58px}.level-tabs button span{font-size:12px}.level-tabs button small{font-size:8px;line-height:1.5}
 .map-content{display:flex;flex-direction:column-reverse;height:auto;padding:16px;gap:14px}
 .plan-section{display:flex;padding:14px 8px;gap:12px}
 .plan-top{font-size:9px;padding:0 4px}.plan-top span+span{font-size:8px}
 #tour-map{width:100%;height:auto;max-height:190px}
 .plan-section p{font-size:8px;padding:0 4px}
 #route-list{grid-template-columns:repeat(2,minmax(0,1fr));max-height:260px;padding:0;gap:8px}
 #route-list button{display:flex;flex-direction:column;min-height:44px;padding:0}
 #route-list button img{width:100%;height:auto;min-height:0;aspect-ratio:2;object-fit:cover}
 #route-list button b{font-size:11px}.room-card-bottom{padding:9px 10px;width:100%}#route-list button small{font-size:8px}
 .room-note{padding:0 16px 18px;font-size:9px}
 .selling-points{grid-template-columns:1fr}
}
@media(max-width:380px){#current-level{padding:0 11px;font-size:9px}#map-button{padding:0 10px}#map-button span{font-size:9px}.sequence-controls{gap:5px}.sequence-controls span{font-size:8px}}

#tour-map [data-map]:hover text.plan-room-name,#tour-map [data-map]:hover text.plan-number{fill:#504534}
#tour-map [data-map].active:hover text.plan-room-name,#tour-map [data-map].active:hover text.plan-number{fill:#f4e9d7}
@media(min-width:701px){.map-content{padding-top:18px;padding-bottom:18px}.plan-section{padding-top:12px;padding-bottom:10px;gap:12px}}

/* Galerie pe tot ecranul: fotografia ocupă toată fereastra, doar bara de jos rămâne, peste imagine. */
#photo-full{display:flex;align-items:center;gap:10px;min-height:34px;padding:0 13px;border:1px solid rgba(244,239,229,.28);border-radius:24px;background:transparent;color:#e2cfb0;font-size:10px}
#photo-full:hover{background:#413a30}
#photo-full span{font-size:15px}
.photo-dialog.full{width:100vw;max-width:100vw;height:100svh;max-height:100svh;margin:0;border:0;border-radius:0;background:#0e0d0b}
.photo-dialog.full[open]{grid-template-rows:minmax(0,1fr)}
.photo-dialog.full .panel-head,.photo-dialog.full .photo-filters,.photo-dialog.full .photo-thumbs,.photo-dialog.full .photo-note{display:none}
.photo-dialog.full .photo-stage{background:#0e0d0b}
.photo-dialog.full .photo-detail-bar{position:absolute;left:0;right:0;bottom:0;z-index:3;background:linear-gradient(transparent,rgba(14,13,11,.82) 45%);padding-top:28px}
@media(max-width:700px){#photo-full{font-size:9px;gap:7px;padding:0 10px}}

/* Contact direct: WhatsApp și apel către agent, în antet și în dialogul de vizionare. */
.contact-icon{color:var(--cream)}
.whatsapp-icon svg,.whatsapp-link svg{color:#5fd38d}
.agent-card{display:flex;align-items:center;gap:14px;margin:0 0 18px}
.agent-initials{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#e7ddcd;color:var(--ink);font-family:inherit;font-size:14px;letter-spacing:.06em;flex-shrink:0}
.agent-card b{display:block;font-size:14px;font-weight:500}
.agent-card small{display:block;font-size:11px;color:#82745f;margin-top:3px}
.contact-actions{display:grid;gap:10px}
.visit-link svg{width:20px;height:20px;flex-shrink:0}
.call-link{background:transparent;color:var(--ink);border:1px solid #cbbfa9}
.call-link:hover{background:#e7ddcd}
.visit-secondary{display:inline-flex;align-items:center;gap:8px;margin-top:16px;font-size:12px;color:#5e5240;text-decoration:underline;text-underline-offset:3px}
.visit-secondary span{font-size:15px;text-decoration:none}
.visit-body small{margin-top:14px}
@media(max-width:700px){
 .header-actions{width:194px;max-width:194px}
 .agent-card{margin-bottom:14px}.agent-card b{font-size:13px}
}
@media(max-width:350px){.header-actions{width:144px;max-width:144px}.view-tools{top:195px}}
.visit-photo{height:150px}
@media(max-width:700px){.visit-photo{height:130px}}
@media(max-height:620px){.visit-photo{display:none}}
