/* Chata Pirohovie — v3 visual polish. This file deliberately overrides the v2 stylesheet. */
:root{--cinema-ease:cubic-bezier(.22,.8,.24,1)}

/* Logo mark from our brand, never a generic star. */
.tiny-symbol{display:inline-flex;flex:none;width:25px;height:25px;font-size:0;background:url('/assets/brand/mark-color.svg') center/contain no-repeat;border-radius:2px;box-shadow:0 1px 5px rgba(24,55,32,.12)}
.section-label{gap:18px}

/* The forest is a composition of crisp silhouettes, not horizontal gradient bands. */
.intro-section{padding-bottom:clamp(305px,32vw,475px)}
.forest-scene{height:clamp(265px,34vw,520px);opacity:1;isolation:isolate;pointer-events:none;contain:layout paint;overflow:hidden}
.forest-layer{position:absolute;left:-13%;width:126%;right:auto;bottom:-1px;height:100%;background-size:auto 100%;background-position:center bottom;background-repeat:repeat-x;transform-origin:center bottom;will-change:transform;backface-visibility:hidden}
.forest-layer.far{height:97%;opacity:.77;z-index:1}
.forest-layer.mid{height:91%;opacity:.87;z-index:2}
.forest-layer.front{height:64%;opacity:1;z-index:5}
.forest-hut{left:54%;bottom:24%;height:26%;width:13%;opacity:.75;z-index:3;filter:saturate(.75)}
.forest-fox,.forest-owl,.forest-bear{background-image:none!important}
.forest-creature{position:absolute;z-index:6;transform-origin:50% 100%;will-change:transform,opacity}
.forest-creature svg{width:100%;height:100%;display:block;overflow:visible;filter:drop-shadow(0 3px 5px rgba(22,44,30,.12))}
.forest-fox{left:8%;bottom:7%;width:clamp(110px,15vw,210px);height:auto;aspect-ratio:340/275}
.forest-owl{z-index:7;left:63.5%;bottom:49%;width:clamp(36px,5.1vw,68px);height:auto;aspect-ratio:180/245}
.forest-bear{z-index:6;right:8%;left:auto;bottom:12%;width:clamp(100px,13vw,173px);height:auto;aspect-ratio:360/300}
.forest-creature .animal-eye{transform-box:fill-box;transform-origin:center;will-change:transform}
.forest-creature .bear-wave-arm{transform-box:fill-box;transform-origin:15% 15%;will-change:transform}
.forest-birds{position:absolute;inset:0;z-index:8;overflow:hidden;pointer-events:none}
.forest-bird{position:absolute;top:25%;left:75%;width:clamp(21px,2.8vw,42px);height:25px;opacity:0;transform:translate3d(0,0,0);will-change:opacity,transform}
.forest-bird svg{display:block;width:100%;height:100%;fill:#2a4130;overflow:visible}
.forest-bird .wing{transform-box:fill-box;transform-origin:90% 80%;will-change:transform}
.forest-bird .wing-right{transform-origin:10% 80%}

/* Larger equipment photo triangles: no icon, soft masking at the lower corner. */
.feature-item{isolation:isolate}
.feature-icon{position:absolute!important;top:0!important;right:0!important;width:55%!important;height:60%!important;z-index:0!important;pointer-events:none}
.feature-icon .feature-photo{position:absolute;inset:0 0 auto auto;top:0;right:0;width:100%;height:100%;object-fit:cover;clip-path:polygon(0 0,100% 0,100% 100%);-webkit-mask-image:linear-gradient(122deg,rgba(0,0,0,.92) 5%,rgba(0,0,0,.75) 32%,transparent 82%);mask-image:linear-gradient(122deg,rgba(0,0,0,.92) 5%,rgba(0,0,0,.75) 32%,transparent 82%);opacity:.84;transition:transform .85s var(--cinema-ease),opacity .55s ease}
.feature-item:hover .feature-photo{transform:scale(1.12);opacity:.96}
.feature-icon svg{display:none!important}
.feature-item h3,.feature-item p,.feature-num{position:relative;z-index:1}

/* Digital detox: dramatic image depth plus soft-focus drifting pine elements at the edges. */
.immersion{isolation:isolate}
.immersion img{height:122%;top:-11%;width:100%;object-fit:cover;will-change:transform}
.immersion:after{background:linear-gradient(90deg,rgba(5,24,13,.47),rgba(5,24,13,.22) 45%,rgba(5,24,13,.43))}
.immersion h2{font-size:clamp(45px,5.3vw,88px);max-width:930px}
.immersion-atmosphere{position:absolute;inset:0;z-index:1;overflow:hidden;pointer-events:none}
.immersion-element{position:absolute;top:0;left:0;width:clamp(22px,3.4vw,54px);aspect-ratio:1;opacity:0;filter:blur(8px);will-change:transform,filter,opacity}
.immersion-element svg{width:100%;height:100%;fill:none;stroke:#efead9;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.immersion-inner{z-index:2}

/* Cinematic microinteractions — glossy traveling highlight, cursor-responsive halo, and depth. */
.cinema-button{position:relative;isolation:isolate;overflow:hidden;transform:translateZ(0);--mx:50%;--my:50%;--raise:0px;transition:transform .52s var(--cinema-ease),background .5s ease,color .5s ease,border-color .5s ease,box-shadow .5s var(--cinema-ease);will-change:transform}
.cinema-button::before{content:"";position:absolute;inset:-140% -120%;z-index:0;pointer-events:none;background:linear-gradient(105deg,transparent 42%,rgba(255,255,255,.08) 47%,rgba(255,255,255,.46) 50%,rgba(255,255,255,.09) 53%,transparent 58%);transform:translateX(-88%) rotate(-12deg);transition:transform 1.12s cubic-bezier(.16,.8,.22,1)}
.cinema-button::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:0;background:radial-gradient(ellipse 70% 100% at var(--mx) var(--my),rgba(232,212,173,.26),transparent 73%);opacity:0;transition:opacity .45s ease}
.cinema-button:hover::before,.cinema-button:focus-visible::before{transform:translateX(88%) rotate(-12deg)}
.cinema-button:hover::after,.cinema-button:focus-visible::after{opacity:1}
.cinema-button:hover,.cinema-button:focus-visible{transform:translate3d(0,-4px,0);box-shadow:0 16px 39px rgba(10,30,17,.18),0 1px 0 rgba(255,255,255,.45) inset}
.cinema-button:active{transform:translate3d(0,-1px,0) scale(.985);transition-duration:.12s}
.cinema-button>*{position:relative;z-index:1}
.cinema-button span:last-child{transition:transform .5s var(--cinema-ease)}
.cinema-button:hover span:last-child{transform:translate(4px,-4px) rotate(8deg)}
.cinema-gallery{border:1px solid rgba(223,205,166,.53)!important;border-radius:999px!important;background:var(--forest)!important;color:#fff!important;min-width:min(390px,90vw);min-height:75px;display:flex;align-items:center;justify-content:space-between;gap:32px;padding:22px 31px!important;font:600 14px/1.1 Arial,Helvetica,sans-serif;letter-spacing:.17em;box-shadow:0 12px 35px rgba(30,61,42,.13),0 1px 0 rgba(255,255,255,.25) inset}
.cinema-gallery:hover,.cinema-gallery:focus-visible{background:#47684a!important;box-shadow:0 24px 65px rgba(24,53,32,.28),0 0 0 5px rgba(193,174,134,.12)}
.cinema-gallery>.button-label{font-size:clamp(12px,1vw,15px);font-weight:700;letter-spacing:.17em}
.cinema-gallery>span:last-child{font-size:28px;line-height:1;transition:transform .45s var(--cinema-ease)}
.cinema-gallery:hover>span:last-child{transform:translate(8px,-6px) rotate(35deg) scale(1.14)}
.nav-book.cinema-button:hover{border-color:var(--accent)}
.form-submit.cinema-button:hover{box-shadow:0 15px 35px #182c1f33}

/* Contact layout: informative note at left, inputs begin immediately at right. */
.contact-note{display:block!important;font:normal 14px/1.6 Arial,sans-serif!important;color:#d6dfd3!important;max-width:440px;margin:22px 0 47px!important;padding-left:17px;border-left:2px solid var(--accent);letter-spacing:.01em}
.contact-copy .contact-direct{transition:color .35s ease,transform .35s var(--cinema-ease)}
.contact-copy .contact-direct:hover{color:#d9c499;transform:translateX(6px)}
.contact-divider{display:none!important}
.contact-card{margin-top:0!important}
.contact-card label{font-size:12px}
.contact-card input:not([type=checkbox]),.contact-card select,.contact-card textarea{border:1px solid #c5cec1!important;border-radius:8px!important;background:rgba(255,255,255,.48)!important;padding:16px 17px!important;min-height:57px;transition:border-color .25s ease,background .25s ease,box-shadow .3s var(--cinema-ease),transform .3s var(--cinema-ease)!important}
.contact-card input:focus,.contact-card select:focus,.contact-card textarea:focus{border-color:#598364!important;box-shadow:0 0 0 4px rgba(89,131,100,.14),0 7px 21px rgba(36,55,43,.06)!important;transform:translateY(-2px);background:white!important}
.contact-card input:not([type=checkbox]):hover,.contact-card textarea:hover,.contact-card select:hover{border-color:#76947b!important;background:#fff!important;box-shadow:0 6px 17px #24372b10}
.contact-card .field-invalid{border-color:#b85645!important;background:#fff6f3!important}
.contact-card .consent{border:0!important;background:transparent!important;box-shadow:none!important}

/* Footer: visible, searchable microcopy, full-width CHATA PIROHOVIE wordmark. */
.site-footer{padding-bottom:0}
.footer-top{grid-template-columns:2.05fr 1fr 1.1fr .75fr;gap:clamp(23px,3.7vw,58px)}
.footer-brand{max-width:470px}
.footer-brand p.footer-about{max-width:455px;font:400 clamp(14px,1.08vw,17px)/1.8 Arial,Helvetica,sans-serif;margin-top:22px;color:#47564b;text-wrap:pretty}
.footer-col>span{font-size:clamp(11px,.78vw,14px)}
.footer-col a{font-size:clamp(13px,1vw,17px);transition:color .35s ease,transform .35s var(--cinema-ease),opacity .35s ease}
.footer-col a:hover{color:#68876d;transform:translateX(5px);opacity:1}
.footer-bottom{align-items:center;font-size:clamp(11px,.77vw,13px);gap:18px}
.footer-bottom a,.footer-bottom button{position:relative;transition:color .3s ease,transform .3s var(--cinema-ease)}
.footer-bottom a:hover,.footer-bottom button:hover{color:#6b8a66;transform:translateY(-2px)}
.footer-bottom a:after{content:"";height:1px;position:absolute;bottom:-5px;left:0;width:0;background:currentColor;transition:width .43s var(--cinema-ease)}
.footer-bottom a:hover:after{width:100%}
.footer-copyright a{font-weight:700;letter-spacing:.055em}
.footer-top-link{display:inline-flex;gap:7px;padding:4px 1px;align-items:center;cursor:pointer}
.footer-big{display:flex!important;align-items:baseline!important;justify-content:space-between!important;gap:1.5vw!important;width:100%!important;max-width:none!important;margin:clamp(50px,6vw,100px) 0 -4px!important;letter-spacing:-.08em!important;line-height:.68!important;overflow:hidden!important;white-space:nowrap!important;opacity:1!important}
.footer-big{width:100vw!important;margin-left:calc(50% - 50vw)!important;padding:0 clamp(14px,2vw,40px)}
.footer-big span{font-family:Georgia,Times,serif;font-weight:400;vertical-align:baseline!important;padding:0!important;line-height:.78!important}
.footer-big .footer-chata{color:#8a7256;font-size:clamp(38px,6.6vw,136px)!important;letter-spacing:-.07em!important;opacity:.14}
.footer-big .footer-pirohovie{color:var(--forest);font-size:clamp(72px,12.9vw,260px)!important;letter-spacing:-.085em!important;opacity:.1}
.nav-seo-intro{padding:22px 27px;background:rgba(56,89,65,.07);border-left:3px solid var(--forest)}

/* gentle global links and accessible focus rings */
.site-footer a:focus-visible,.gallery-all-btn:focus-visible,.cinema-button:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
@media(max-width:1020px){
 .footer-top{grid-template-columns:repeat(2,minmax(0,1fr))}
 .footer-brand{grid-column:1/-1;max-width:620px}
 .forest-owl{left:60%}
}
@media(max-width:680px){
 .tiny-symbol{width:21px;height:21px}
 .forest-scene{height:260px}
 .intro-section{padding-bottom:280px}
 .forest-fox{left:5%;width:106px}
 .forest-owl{left:57%;bottom:44%;width:41px}
 .forest-bear{right:4%;width:93px}
 .forest-hut{width:100px;left:38%;bottom:23%}
 .forest-layer.far{height:94%}.forest-layer.mid{height:91%}.forest-layer.front{height:70%}
 .immersion h2{font-size:clamp(40px,8vw,62px)}
 .immersion-element{width:22px}
 .feature-icon{width:58%!important;height:61%!important}
 .cinema-gallery{min-width:100%;font-size:12px;padding:22px 26px!important;min-height:68px}
 .footer-top{grid-template-columns:repeat(2,minmax(0,1fr));gap:34px 24px}
 .footer-col{min-width:0}.footer-col a{font-size:13px;overflow-wrap:anywhere}
 .footer-bottom{gap:19px;line-height:1.6}
 .footer-big{margin-top:54px!important;gap:1vw!important}
 .footer-big .footer-chata{font-size:6.1vw!important}
 .footer-big .footer-pirohovie{font-size:11.4vw!important}
 .contact-card{padding:27px 20px!important}
}
@media(prefers-reduced-motion:reduce){
 .cinema-button,.cinema-button:before,.cinema-button:after,.cinema-button span,.immersion-element,.forest-layer,.forest-creature,.forest-bird{transition:none!important;animation:none!important;transform:none!important}
 .immersion-element,.forest-bird{display:none!important}
}
