/* PIROHOVIE V17 – mobile playback, weather overlay, gentle return navigation. */
/* On the contact section the precipitation must be ABOVE the aerial image,
   but BELOW all text, form controls and buttons. Canvas draws reliably on iOS. */
.contact-section{position:relative!important;isolation:isolate!important;overflow:hidden!important}
.contact-section .contact-aerial{z-index:0!important}
.contact-section .v16-contact-rain{position:absolute!important;inset:0!important;z-index:2!important;opacity:1!important;display:block!important;overflow:hidden!important;pointer-events:none!important;transform:none!important}
.contact-section .v16-contact-rain.v17-canvas-on i{display:none!important}
.contact-section .v16-contact-rain .v17-rain-canvas{display:block;width:100%;height:100%;pointer-events:none;position:absolute;inset:0}
.contact-section .contact-grid{position:relative!important;z-index:4!important}
/* The house has two smoke systems – the second one is positioned outside the
   illustrative SVG to allow a continuous plume. Hide the overlapping first one
   only on desktops; preserve the authored in-SVG plume on narrow screens. */
@media(min-width:701px){.forest-hut svg .hut-smoke{opacity:0!important;visibility:hidden!important}}
/* Mobile story: keep the lit stove/left side visible, with video over its poster. */
.story-left-image .v13-story-film{z-index:2!important;object-position:27% center!important;background:transparent!important}
.story-left-image .v13-story-fallback{object-position:27% center!important}
.story-left-image .v17-story-activate{position:absolute;z-index:6;left:50%;bottom:22px;transform:translateX(-50%);border:1px solid #fff8;background:rgba(40,65,47,.92);color:#fff;border-radius:28px;padding:12px 22px;font:600 12px/1.3 system-ui,sans-serif;cursor:pointer;opacity:0;visibility:hidden;transition:opacity .25s}
.story-left-image.v17-video-blocked .v17-story-activate{opacity:1;visibility:visible}
.story-left-image .v17-story-activate:focus-visible{outline:2px solid #f2d2a4;outline-offset:3px}
@media(max-width:760px){
 .story-left-image .v13-story-film,.story-left-image .v13-story-fallback{object-position:16% center!important}
 .story-left-image .v13-story-film{min-height:100%;object-fit:cover!important}
 .hero-scroll .hero-scene .hero-frame-canvas.is-ready{opacity:1!important;z-index:1!important}
 /* Hide native MP4 completely on coarse mobile. Android Chromium can briefly
    render several video surfaces while canvas frames are being decoded. */
 .hero-scroll .hero-scene video.hero-video{display:none!important}
 .hero-scroll .hero-scene[data-index="0"]{background:#142a20 url('/assets/video/hero-1.webp') center/cover no-repeat}
 .hero-scroll .hero-scene[data-index="1"]{background:#142a20 url('/assets/video/hero-2.webp') center/cover no-repeat}
 .hero-scroll .hero-scene[data-index="2"]{background:#142a20 url('/assets/video/hero-3.webp') center/cover no-repeat}
}
/* Cenník: prominent return button beside title; connected scroll restoration. */
.v16-pricing-body .v17-price-heading{display:flex;align-items:center;justify-content:space-between;gap:30px}
.v16-pricing-body .v17-price-heading h1{flex:1;min-width:0}
.v17-price-back{white-space:nowrap;border:0;border-radius:999px;background:#765039;color:#fff;padding:20px 36px;min-height:60px;font:700 13px/1.3 system-ui,sans-serif;letter-spacing:.08em;cursor:pointer;transition:transform .65s cubic-bezier(.18,.75,.22,1),box-shadow .65s,background .65s;box-shadow:0 8px 30px #76503922}
.v17-price-back:hover,.v17-price-back:focus-visible{transform:translateY(-4px) scale(1.02);background:#4c7055;box-shadow:0 16px 38px #183d2f30}
@media(max-width:730px){.v16-pricing-body .v17-price-heading{flex-wrap:wrap;gap:4px;padding-bottom:20px}.v16-pricing-body .v17-price-heading h1{width:100%;flex-basis:100%;margin-bottom:16px}.v17-price-back{width:100%;text-align:center}}
@media(prefers-reduced-motion:reduce){.v17-price-back{transition:none}.contact-section .v16-contact-rain{display:none!important}}

@media (min-width:761px) and (max-width:900px) and (pointer:coarse){
 .hero-scroll .hero-scene video.hero-video{display:none!important}
 .hero-scroll .hero-scene[data-index="0"]{background:#142a20 url('/assets/video/hero-1.webp') center/cover no-repeat}
 .hero-scroll .hero-scene[data-index="1"]{background:#142a20 url('/assets/video/hero-2.webp') center/cover no-repeat}
 .hero-scroll .hero-scene[data-index="2"]{background:#142a20 url('/assets/video/hero-3.webp') center/cover no-repeat}
}
