/* PIROHOVIE V4 — cinematic forest, editorial illustration and restrained motion.
   Additive stylesheet, deliberately loaded after site.css and v3.css. */
:root{--v4-inertia:cubic-bezier(.17,.67,.33,1);--v4-wood:#75523a}

/* 1. A continuous foreground: repeat-safe underpainting, no clipped bands at the page edges. */
.intro-section{padding-bottom:clamp(350px,36vw,540px)!important}
.intro-section>.shell{z-index:7}
.forest-scene{height:clamp(345px,37vw,610px)!important;overflow:hidden!important;contain:layout paint;isolation:isolate;background:transparent!important;z-index:1;pointer-events:none}
.forest-layer{left:-18%!important;width:136%!important;right:auto!important;height:100%!important;background-size:auto 100%;background-repeat:repeat-x;background-position:center bottom;transform-origin:center bottom;will-change:transform;backface-visibility:hidden}
.forest-layer.far{height:97%!important;opacity:.69!important;z-index:2}
.forest-layer.mid{height:86%!important;opacity:.8!important;z-index:3}
.forest-layer.front{background-image:url('/assets/forest/front-v4.svg')!important;background-size:100% 100%!important;height:76%!important;bottom:-3px!important;z-index:8!important;opacity:1!important;left:-9%!important;width:118%!important}
.forest-scene:after{content:"";position:absolute;left:0;right:0;bottom:0;height:5px;background:#30533d;z-index:12;pointer-events:none}
.forest-hut{position:absolute;background:url('/assets/forest/hut-terrace.svg') center bottom/contain no-repeat!important;left:27%!important;bottom:3%!important;width:clamp(240px,24vw,465px)!important;height:clamp(170px,19vw,348px)!important;opacity:.94!important;z-index:6!important;filter:drop-shadow(0 2px 2px #20332616)!important;will-change:transform}
/* Subtly colored forest guests. The moving foreground repeatedly covers / reveals them. */
.forest-creature{height:auto!important;opacity:.98!important;z-index:5!important;transform-origin:center bottom!important;filter:drop-shadow(0 6px 5px #2236291c)}
.forest-creature svg{width:100%;height:100%;display:block;overflow:visible;filter:none!important}
.forest-fox{left:12%!important;bottom:4%!important;width:clamp(120px,14vw,235px)!important;aspect-ratio:280 / 230!important}
.forest-bear{right:10%!important;left:auto!important;bottom:4%!important;width:clamp(122px,15vw,239px)!important;aspect-ratio:285 / 242!important}
.forest-deer{left:48%!important;bottom:3%!important;width:clamp(104px,11vw,190px)!important;aspect-ratio:260 / 330!important}
.forest-fox .fox-tail,.forest-bear .bear-arm,.forest-deer .deer-head{transform-box:fill-box;will-change:transform}
.forest-fox .fox-tail{transform-origin:85% 80%}
.forest-bear .bear-arm{transform-origin:10% 10%}
.forest-deer .deer-head{transform-origin:center 84%}
.forest-birds{z-index:13!important;pointer-events:none}
.forest-birds-left .forest-bird{left:40%;top:20%}
.forest-bird svg{fill:#344b35}
/* Gentle, deliberate rainfall + drifting low clouds. Reduced-motion users get static sky. */
.forest-clouds{position:absolute;inset:0;z-index:1;overflow:hidden;pointer-events:none}
.cloud{position:absolute;left:60%;top:17%;width:clamp(155px,19vw,320px);height:55px;border-radius:55% 45% 40% 60%;opacity:.26;background:radial-gradient(ellipse at 32% 84%,#b8c9b5 0 31%,transparent 33%),radial-gradient(ellipse at 63% 72%,#b8c9b5 0 33%,transparent 35%);filter:blur(8px);animation:pirohovieCloud 41s ease-in-out infinite alternate}
.cloud-2{top:28%;left:9%;width:15vw;opacity:.19;animation-duration:53s;animation-delay:-11s}
.cloud-3{top:7%;left:76%;width:12vw;opacity:.17;animation-duration:64s;animation-delay:-22s}
@keyframes pirohovieCloud{from{transform:translateX(-40px)}to{transform:translateX(120px)}}
.forest-lightning{position:absolute;left:72%;top:18%;width:4px;height:80px;z-index:2;pointer-events:none;background:linear-gradient(#e4efe3,transparent);clip-path:polygon(60% 0,0 50%,50% 50%,30% 100%,100% 37%,50% 37%);opacity:0;animation:pirohovieLightning 27s linear infinite}
@keyframes pirohovieLightning{0%,73%,73.35%,73.9%,100%{opacity:0}73.14%,73.62%{opacity:.35}}
.forest-rain{position:absolute;inset:0;z-index:14;overflow:hidden;pointer-events:none}
.rain-drop{position:absolute;top:0;width:1px;height:clamp(8px,1vw,17px);background:linear-gradient(to bottom,transparent,rgba(72,111,111,.32));animation:pirohovieRain linear infinite;transform:translate3d(0,-24vh,0) rotate(10deg);opacity:.4;will-change:transform}
@keyframes pirohovieRain{from{transform:translate3d(0,-24vh,0) rotate(10deg)}to{transform:translate3d(-36px,120vh,0) rotate(10deg)}}
/* Intro CTA: a real timber branch with the owl opening its eyes for ~1s on hover. */
.text-link.forest-branch-button{position:relative;display:inline-flex;justify-content:center;align-items:center;min-width:238px;min-height:60px;padding:13px 28px!important;margin-top:38px;border:0!important;gap:0!important;color:#fff!important;background:linear-gradient(173deg,#997250 0%,#785238 42%,#67422e 70%,#8f6748 100%);border-radius:42% 20% 21% 30%/35% 40% 35% 41%;box-shadow:inset 0 4px 5px #ffffff25,inset 0 -5px 8px #30241940,0 9px 22px #513a242d;isolation:isolate;transition:transform .6s var(--cinema-ease),box-shadow .6s;white-space:nowrap;font-weight:700;letter-spacing:.12em;z-index:11}
.text-link.forest-branch-button:before{content:"";position:absolute;z-index:0;left:-12px;right:-12px;top:20%;bottom:20%;border-radius:50%;border-block:2px solid #b7906e44;transform:rotate(-2deg);pointer-events:none}
.text-link.forest-branch-button:after{content:"";width:31px;height:8px;border-radius:10px;background:#79543a;position:absolute;right:-26px;top:17px;transform:rotate(-25deg);pointer-events:none}
.forest-branch-button .branch-label{position:relative;z-index:1;font-size:clamp(12px,1.05vw,16px)!important;color:#fff}
.forest-branch-button .branch-owl{position:absolute!important;width:clamp(53px,5.5vw,79px);height:auto;left:59%;bottom:calc(100% - 9px);z-index:2!important;filter:drop-shadow(0 4px 5px #281a1333);pointer-events:none}
.forest-branch-button .branch-owl svg{width:100%;height:100%;display:block;overflow:visible}
.forest-branch-button .branch-owl .owl-eye{transform:scaleY(.08);transform-box:fill-box;transform-origin:center;transition:transform 1s cubic-bezier(.15,.6,.25,1)}
.forest-branch-button:is(:hover,:focus-visible) .branch-owl .owl-eye{transform:scaleY(1)}
.forest-branch-button:is(:hover,:focus-visible){transform:translateY(-4px) rotate(-.6deg);box-shadow:inset 0 3px 5px #ffffff33,0 18px 32px #513a2438,0 0 0 7px #638e4921}

/* 2. Pine illustration in the interior-story panel. */
.story-info{position:relative;isolation:isolate;overflow:hidden}
.story-pine-pattern{position:absolute;inset:-12% -16% -12% 35%;pointer-events:none;background:url('/assets/forest/story-pine-pattern.svg') repeat;background-size:360px 390px;opacity:.095;will-change:transform;z-index:0}
.story-info-inner{position:relative;z-index:2}

/* 3. Experience sketch and tree-running squirrel; original submitted sketch is used. */
.explore-section{position:relative;isolation:isolate;overflow:hidden}
.explore-section .shell,.explore-section .experience-track-wrap{position:relative;z-index:3}
.explore-pencil-backdrop{position:absolute;z-index:0;top:4%;left:21%;width:86%;height:clamp(520px,54vw,910px);background-position:60% center;background-size:cover;background-repeat:no-repeat;opacity:.15;filter:grayscale(1) contrast(1.1);transform:scale(1.15);transform-origin:50% 43%;pointer-events:none;will-change:transform}
.explore-tree{position:absolute;left:1.5%;top:18%;height:clamp(400px,43vw,720px);width:clamp(104px,10.5vw,230px);z-index:2;opacity:.34;pointer-events:none;will-change:transform}
.explore-tree .squirrel-tree{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;max-width:none}
.explore-squirrel{position:absolute;left:26%;top:43%;width:clamp(62px,5.3vw,112px);aspect-ratio:150/180;transform:rotate(-17deg);will-change:transform}
.explore-squirrel svg{width:100%;height:100%;overflow:visible}
.explore-squirrel .squirrel-legs,.explore-squirrel .squirrel-tail{transform-box:fill-box;transform-origin:52% 40%}

/* 4. Amenity images fill 2/3 of the tile; long slanted edge fades into copy. */
.feature-icon{width:73%!important;height:86%!important;z-index:0!important}
.feature-icon .feature-photo{width:100%!important;height:100%!important;clip-path:polygon(13% 0,100% 0,100% 100%)!important;-webkit-mask-image:linear-gradient(46deg,transparent 0%,rgba(0,0,0,.12) 25%,rgba(0,0,0,.65) 58%,#000 85%)!important;mask-image:linear-gradient(46deg,transparent 0%,rgba(0,0,0,.12) 25%,rgba(0,0,0,.65) 58%,#000 85%)!important;opacity:.75}
.feature-item h3,.feature-item p,.feature-num{position:relative;z-index:1}

/* 5. Zoom+parallax digital detox; switch from round arrow to pill in 2s. */
.immersion img{height:130%!important;top:-15%!important;transform-origin:50% 45%;will-change:transform}
.immersion .detox-book{display:flex;position:relative;align-items:center;justify-content:center;width:78px;height:78px;border:1px solid #ffffffc5;border-radius:100px;background:rgba(22,45,30,.07);color:#fff;margin:auto;padding:0;overflow:hidden;min-height:78px;text-decoration:none;transition:width 2s cubic-bezier(.2,.65,.16,1),background-color 2s ease,border-color 2s,box-shadow 2s;border:1px solid #ffffffd1}
.immersion .detox-book:is(:hover,:focus-visible){width:clamp(210px,27vw,312px);background:var(--v4-wood);border-color:#d6b995;box-shadow:0 15px 49px #0006,0 0 0 8px #6ca26322;transform:none}
.detox-book .detox-arrow{position:absolute;font:400 28px/1 Georgia,serif;opacity:1;transition:opacity .55s ease,transform .55s;transform:none!important}
.detox-book .detox-label{position:absolute;white-space:nowrap;opacity:0;transform:translateY(9px)!important;transition:opacity .75s ease .65s,transform 1s ease .5s!important;letter-spacing:.09em;font:700 clamp(11px,1vw,14px)/1.1 Arial,sans-serif}
.detox-book:is(:hover,:focus-visible) .detox-arrow{opacity:0;transform:translateY(-12px)!important}
.detox-book:is(:hover,:focus-visible) .detox-label{opacity:1;transform:translateY(0)!important}

/* 6. Button aura with premium focus behavior; honors reduced motion. */
@keyframes forestAura{0%,100%{box-shadow:0 0 0 0 rgba(109,160,95,.16),0 13px 26px #162d1b36}50%{box-shadow:0 0 0 12px rgba(102,161,94,0),0 19px 32px #162d1b3a}}
.cinema-button:is(:hover,:focus-visible),.forest-branch-button:is(:hover,:focus-visible){animation:forestAura 2.6s ease-in-out infinite}
.explore-button{isolation:isolate;overflow:hidden;position:relative}
.explore-button.cinema-button::before{inset:-80%;background:conic-gradient(from 90deg at 50% 50%,transparent 0deg,rgba(185,216,146,.25) 50deg,transparent 126deg,rgba(255,255,255,.3) 165deg,transparent 270deg);transform:rotate(90deg)!important;transition:transform 1.6s cubic-bezier(.2,.8,.2,1)!important}
.explore-button.cinema-button:is(:hover,:focus-visible)::before{transform:rotate(270deg)!important}

/* 7. Reservation photographic underlay: aerial shot, nearly imperceptible. */
.contact-section{position:relative;isolation:isolate;overflow:hidden}
.contact-aerial{position:absolute;inset:-12% 0;z-index:-1;pointer-events:none;background-size:cover;background-position:center center;opacity:.085;filter:grayscale(.6);transform:scale(1.12);will-change:transform}
.contact-section>.shell{position:relative;z-index:2}

/* 8. A full-bleed footer wordmark with gently swaying porcini silhouettes. */
.site-footer{overflow:hidden;padding-bottom:0!important}
.footer-big{position:relative;display:grid!important;grid-template-columns:24% 9% minmax(0,67%)!important;align-items:end!important;gap:0!important;overflow:hidden!important;width:100vw!important;max-width:none!important;max-height:clamp(105px,15.6vw,315px)!important;margin:clamp(42px,6vw,94px) 0 0 calc(50% - 50vw)!important;padding:0 1.1vw!important;line-height:.78!important;user-select:none;vertical-align:bottom}
.footer-big .footer-chata,.footer-big .footer-pirohovie{display:block!important;white-space:nowrap!important;margin:0!important;padding:0!important;line-height:.8!important;font-family:Georgia,serif;font-weight:400;transform-origin:left bottom;letter-spacing:-.092em!important}
.footer-big .footer-chata{font-size:clamp(39px,6.7vw,139px)!important;color:#896c4b!important;opacity:.15!important}
.footer-big .footer-pirohovie{font-size:clamp(68px,12.2vw,258px)!important;color:var(--forest)!important;opacity:.11!important}
.footer-mushrooms{width:100%;align-self:end;display:block;padding:0 1px 0 0;line-height:1;opacity:.28}
.footer-mushrooms svg{display:block;width:100%;height:auto;max-height:clamp(68px,10vw,210px)}
.footer-mushrooms .mushroom{transform-origin:bottom center;transform-box:fill-box;animation:shroomSway 6.2s ease-in-out infinite alternate}
.footer-mushrooms .mushroom-b{animation-duration:7.9s;animation-delay:-3s}
@keyframes shroomSway{from{transform:rotate(-3deg)}to{transform:rotate(3deg)}}
/* Anchor remains viewport-fixed even if glossy button styles are applied dynamically. */
body>a.back-to-top{position:fixed!important;right:clamp(17px,2.1vw,38px)!important;bottom:clamp(16px,2.1vw,34px)!important;left:auto!important;top:auto!important;z-index:520!important;opacity:0;pointer-events:none;transform:translate3d(0,14px,0)!important;transition:opacity .45s ease,transform .45s ease,box-shadow .45s ease!important}
body>a.back-to-top.visible{opacity:1;pointer-events:auto;transform:translate3d(0,0,0)!important}
body>a.back-to-top:hover{background:#426e4b;box-shadow:0 0 0 8px #87ac7138,0 15px 30px #123c2455}

@media(max-width:1120px){
 .forest-hut{left:28%!important}
 .explore-tree{left:-3%;opacity:.22}
 .footer-big{grid-template-columns:24% 8% minmax(0,68%)!important}
}
@media(max-width:700px){
 .intro-section{padding-bottom:330px!important}
 .forest-scene{height:325px!important}
 .forest-layer.far{height:92%!important}.forest-layer.mid{height:84%!important}.forest-layer.front{height:77%!important;background-size:100% 100%!important}
 .forest-hut{left:30%!important;bottom:4%!important;width:145px!important;height:126px!important}
 .forest-fox{left:8%!important;bottom:4%!important;width:97px!important}
 .forest-deer{left:47%!important;bottom:3%!important;width:79px!important}
 .forest-bear{right:3%!important;bottom:4%!important;width:95px!important}
 .forest-clouds{opacity:.5}
 .forest-branch-button{min-width:218px!important;min-height:57px!important}
 .forest-branch-button .branch-owl{width:59px}
 .story-pine-pattern{opacity:.065;inset:0 -70% 0 15%}
 .explore-pencil-backdrop{top:4%;left:9%;width:120%;height:570px;opacity:.12}
 .explore-tree{left:-11%;top:17%;width:135px;height:480px;opacity:.16}
 .explore-squirrel{width:65px}
 .immersion .detox-book{width:73px;height:73px;min-height:73px}
 .immersion .detox-book:is(:hover,:focus-visible){width:240px}
 .footer-big{max-height:120px!important;margin-top:47px!important;padding:0 1.3vw!important}
 .footer-big .footer-chata{font-size:6.5vw!important}
 .footer-big .footer-pirohovie{font-size:11.7vw!important}
 .footer-mushrooms svg{max-height:75px}
 .feature-icon{width:77%!important;height:82%!important}
}
@media(prefers-reduced-motion:reduce){
 .forest-clouds .cloud,.forest-lightning,.rain-drop,.footer-mushrooms .mushroom,.cinema-button:is(:hover,:focus-visible),.forest-branch-button:is(:hover,:focus-visible){animation:none!important}
 .forest-rain,.forest-lightning{display:none!important}
 .explore-pencil-backdrop,.story-pine-pattern,.contact-aerial,.explore-tree,.immersion img{will-change:auto!important;transform:none!important}
 .forest-branch-button .branch-owl .owl-eye{transition:none!important}
 .immersion .detox-book{transition:none!important}
}

/* Consistent soft green feedback on the remaining native action buttons. */
.site-footer button:is(:hover,:focus-visible),.track-controls button:is(:hover,:focus-visible),.gallery-tile:is(:hover,:focus-visible),.cookie-buttons button:is(:hover,:focus-visible){box-shadow:0 0 0 6px rgba(110,153,91,.13);transition:box-shadow .35s ease,transform .35s ease}
/* V4.1 pine canopy: soften the ground edge, leave natural clearings. */
.forest-layer.front{height:67%!important}
.forest-hut{left:25%!important;width:clamp(260px,27vw,480px)!important;height:clamp(180px,21vw,375px)!important}
@media(max-width:700px){.forest-layer.front{height:70%!important}.forest-hut{left:30%!important;width:153px!important;height:132px!important}}
@media(max-width:420px){
 .section-label{white-space:normal;flex-wrap:wrap;gap:8px!important}
 .section-label .line{min-width:8px;flex:1 1 10px}
}
