/* PIROHOVIE V7: posledné úpravy, kompatibilné s V6, bez zásahu do existujúcich dát. */
/* Glyphs: the outside moves slowly, the inside changes on hover in exactly 1s both ways.
   The extra breathing room prevents clipping when a large letter rises or tilts. */
.site-footer{overflow-x:clip;}
.footer-big.footer-wordmark-wrap{
  overflow:visible!important;max-height:none!important;line-height:1!important;
  margin-bottom:0!important;padding:0!important;min-height:0!important;
}
.footer-wordmark{
  line-height:1.24!important;align-items:center!important;justify-content:center!important;
  overflow:visible!important;min-height:0!important;
  padding:clamp(22px,3.6vw,76px) 0 clamp(10px,1.45vw,28px)!important;
  box-sizing:border-box!important;letter-spacing:-.085em!important;
}
.footer-wordmark .footer-glyph{line-height:1.15!important;vertical-align:middle!important;overflow:visible!important;animation-name:footerGlyphSwayV6!important;transition:none!important;}
.footer-wordmark .footer-glyph-inner{
  display:inline-block;line-height:1.15;transform-origin:50% 67%;
  transform:translateY(0) rotate(0deg) scale(1);will-change:transform;
  transition:transform 1s cubic-bezier(.16,.74,.18,1),filter 1s ease,color 1s ease!important;
}
.footer-wordmark .footer-glyph:hover{animation-play-state:running!important;filter:none!important;color:inherit!important;transition:none!important;}
.footer-wordmark .footer-glyph:is(:hover,:focus-visible) .footer-glyph-inner{
  transform:translateY(-.17em) rotate(calc(var(--sway,2deg) * 2)) scale(1.07);
  filter:drop-shadow(0 .06em .06em #394f3c21);color:#795f49;
}
.footer-wordmark .footer-space{flex-basis:.1em!important}
.footer-wordmark .footer-glyph:first-child .footer-glyph-inner{transform-origin:0 67%}
.footer-wordmark .footer-glyph:last-child .footer-glyph-inner{transform-origin:100% 67%}
/* A quieter photo background, starts nearly unzoomed, then zooms clearly as scrolled. */
.explore-pencil-backdrop{opacity:.083!important;transform-origin:center center!important;}
/* Immersion: the original upper part remains in frame while the photo drifts DOWN with scroll. */
.immersion img{top:-8%!important;height:138%!important;transform-origin:center top!important;}
/* Equipment photos now appear at about the midpoint. Bottom-left stays entirely clear.
   The hover state remains a full photo, with an overlay for readable text. */
.feature-item{display:block!important;text-decoration:none!important;color:inherit!important;cursor:pointer;}
.feature-item:focus-visible{outline:3px solid #9f7954;outline-offset:-5px;z-index:4!important}
.feature-item .feature-photo{
  -webkit-mask-image:linear-gradient(45deg,transparent 0%,transparent 43%,#00000010 47%,#000000c2 55%,#000 61%,#000 100%)!important;
  mask-image:linear-gradient(45deg,transparent 0%,transparent 43%,#00000010 47%,#000000c2 55%,#000 61%,#000 100%)!important;
}
.feature-item:is(:hover,:focus-visible) .feature-photo{-webkit-mask-image:none!important;mask-image:none!important;}
.feature-item h3{font-size:clamp(23px,2.1vw,35px);transform-origin:left center;transition:transform .48s cubic-bezier(.15,.78,.18,1),color .45s!important;}
.feature-item:is(:hover,:focus-visible) h3{transform:scale(1.2);}
.feature-item p{font-size:clamp(15px,1.05vw,18px)!important;line-height:1.6!important;}
/* The story panel keeps the tiny pine texture entirely in its own column.
   Scale + rightward parallax come from enhancements.js. */
.story-section{position:relative;isolation:isolate;overflow:hidden;}
.story-info{isolation:isolate;overflow:hidden!important;}
.story-pine-pattern{inset:-4% -8% -4% 36%!important;opacity:.09!important;
  -webkit-mask-image:linear-gradient(to right,transparent 0%,#000 42%,#000 100%);
  mask-image:linear-gradient(to right,transparent 0%,#000 42%,#000 100%);
  transform-origin:75% 50%!important;}
.story-info-inner{position:relative;z-index:5!important;}
/* Stronger diagonal rainfall across the story module (over photo and pine panel). */
.story-rain{position:absolute;inset:0;z-index:4;pointer-events:none;overflow:hidden;contain:paint;}
.story-rain .story-streak{position:absolute;top:0;width:1.5px;height:var(--rain-length,30px);
  background:linear-gradient(to bottom,transparent 0%,#b6d2cfb3 42%,#7eaaa8b8 100%);
  opacity:var(--rain-opacity,.5);transform:translate3d(0,-110vh,0) rotate(15deg);
  animation:pirohovieStoryRain var(--rain-time,1.65s) linear var(--rain-delay,0s) infinite;will-change:transform;}
@keyframes pirohovieStoryRain{from{transform:translate3d(80px,-110vh,0) rotate(15deg)}to{transform:translate3d(-95px,130vh,0) rotate(15deg)}}
/* Forest art without the visible bottom tree stems, animals touch the actual ground. */
.forest-layer.front{background-image:url('/assets/forest/front-v7.svg')!important;background-position:center bottom!important;}
.forest-scene .forest-fox,.forest-scene .forest-deer,.forest-scene .forest-bear{bottom:-3px!important;}
.forest-fox::after,.forest-deer::after,.forest-bear::after{content:'';position:absolute;left:19%;right:13%;bottom:1px;height:10px;border-radius:50%;background:#182c204a;filter:blur(8px);z-index:-1;}
/* Wave the bear's own left paw (the one on our right) above its head. JS animates this arm. */
.forest-bear .bear-arm{transform-origin:11% 15%!important;}
/* Larger mixed-size groups of outline cloudlets; all track scroll in both directions. */
.forest-clouds .cloud-1{width:clamp(168px,17vw,320px)!important;height:clamp(58px,7vw,113px)!important;}
.forest-clouds .cloud-2{width:clamp(160px,16vw,270px)!important;height:clamp(56px,6.8vw,102px)!important;}
.forest-clouds .cloud-3{width:clamp(137px,13vw,210px)!important;}
.forest-clouds .cloud-4{width:clamp(178px,16vw,284px)!important;}
.forest-clouds .cloud-5{width:clamp(128px,12vw,201px)!important;}
.forest-clouds .cloud-6{left:5%;top:33%;width:clamp(90px,9vw,175px)!important;opacity:.25}
.forest-clouds .cloud-7{left:82%;top:3%;width:clamp(101px,11vw,195px)!important;opacity:.24}
/* Larger outline of Pirohovie chalet on the left: keep at the grass line. */
.forest-hut{width:clamp(395px,42vw,750px)!important;height:clamp(287px,32vw,596px)!important;bottom:-2px!important;}
/* Clear, proportional trees for portrait mobile instead of vertically stretched skinny trees. */
@media(max-width:700px){
 .forest-layer.front{
  background-image:url('/assets/forest/front-v7-mobile.svg')!important;
  width:116%!important;left:-8%!important;height:65%!important;
  background-size:100% 100%!important;background-position:center bottom!important;
 }
 .forest-hut{left:22%!important;width:clamp(197px,60vw,280px)!important;height:clamp(190px,53vw,280px)!important;}
 .forest-fox{left:4%!important;width:clamp(96px,26vw,148px)!important;}
 .forest-deer{left:46%!important;width:clamp(84px,22vw,130px)!important;}
 .forest-bear{right:0%!important;width:clamp(100px,27vw,156px)!important;}
 .story-rain .story-streak:nth-child(2n){display:none}
 .feature-item:is(:hover,:focus-visible) h3{transform:scale(1.11)}
 .footer-wordmark{padding-top:clamp(24px,5.5vw,49px)!important;}
}
@media(prefers-reduced-motion:reduce){
 .story-rain{display:none}
 .footer-wordmark .footer-glyph,.footer-wordmark .footer-glyph-inner{animation:none!important;transition:none!important;transform:none!important;}
 .story-pine-pattern,.explore-pencil-backdrop{will-change:auto;}
}

/* Listing page: clear one-click route back to exactly where exploring started. */
.listing-heading-row{display:flex;gap:28px;align-items:flex-end;justify-content:space-between;margin:0 0 26px;}
.listing-heading-row h1{min-width:0;flex:1;margin-bottom:0;}
.listing-return-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;
  min-height:62px;padding:19px 28px;background:#75523a;color:#fff!important;border-radius:999px;
  font:700 13px/1.2 Arial,sans-serif;letter-spacing:.05em;text-decoration:none;white-space:nowrap;
  transition:background-color .5s,transform .5s,box-shadow .5s;box-shadow:0 9px 25px #49372333;}
.listing-return-button:is(:hover,:focus-visible){background:#8c6749;transform:translateY(-3px);box-shadow:0 15px 35px #4937234d;}
@media(max-width:900px){.listing-heading-row{display:block}.listing-return-button{margin-top:25px}}
/* Digital detox booking pill: fast start, elegant slow finish, 1.3s rather than 2s. */
.immersion .detox-book{
  transition:width 1.32s cubic-bezier(.16,1,.28,1),
             background-color 1.32s cubic-bezier(.16,1,.28,1),
             border-color 1.32s ease-out,box-shadow 1.32s ease-out!important;
}
.detox-book .detox-label{
  transition:opacity .64s ease .25s,transform .78s cubic-bezier(.16,1,.28,1) .15s!important;
}
.detox-book .detox-arrow{transition:opacity .38s ease,transform .38s ease!important;}
@media(prefers-reduced-motion:reduce){.immersion .detox-book,.detox-book .detox-label,.detox-book .detox-arrow{transition:none!important}}
/* Match the trimmed SVG viewBoxes, eliminating the blank pixels under animal paws. */
.forest-scene .forest-fox{aspect-ratio:280 / 211!important}
.forest-scene .forest-deer{aspect-ratio:260 / 318!important}
.forest-scene .forest-bear{aspect-ratio:285 / 234!important}
