/* Lesnoy Space — scoped fixes without changing GoldRest homepage buttons/gallery arrows */
html{scroll-behavior:smooth}
body{overflow-x:hidden}
img,video{max-width:100%;height:auto}
a[href],button,[role="button"],.t-btn{touch-action:manipulation;-webkit-tap-highlight-color:transparent}

/* Rules page: prevent text overlap */
#rec690680584 .tn-elem[data-elem-id="1704906911618"],
#rec690680584 .tn-elem[data-elem-id="1704906951720"]{height:auto!important;}
#rec690680584 .tn-elem[data-elem-id="1704906911618"] .tn-atom,
#rec690680584 .tn-elem[data-elem-id="1704906951720"] .tn-atom{line-height:1.45!important;white-space:normal!important;overflow:visible!important;}
#rec690680584 .tn-elem[data-elem-id="1704906951720"]{top:725px!important;}
#rec690680584 .t396__artboard,#rec690680584 .t396__filter,#rec690680584 .t396__carrier{height:1080px!important;}
@media (max-width:959px){#rec690680584 .tn-elem[data-elem-id="1704906951720"]{top:760px!important;}#rec690680584 .t396__artboard,#rec690680584 .t396__filter,#rec690680584 .t396__carrier{height:1160px!important;}}
@media (max-width:479px){#rec690680584 .tn-elem[data-elem-id="1704906951720"]{top:845px!important;}#rec690680584 .t396__artboard,#rec690680584 .t396__filter,#rec690680584 .t396__carrier{height:1280px!important;}}

/* Hide old phone/Instagram block on contacts section */
#rec758604775 .tn-elem[data-elem-id="1703852667653"],#rec758604775 .tn-elem[data-elem-id="1703852667660"],#rec758604775 .tn-elem[data-elem-id="1703852680440"],#rec758604775 .tn-elem[data-elem-id="1705337876748"],#rec758604775 .tn-elem[data-elem-id="1775167413613000001"]{display:none!important;}

/* Footer messenger block: Telegram / WhatsApp / MAX + phone */
#rec687404515 .t977__col_right .t977__socials,#rec687404515 .t977__socials{display:none!important;}
#rec687404515 [field="descr4"]{width:100%!important;}
.lesnoy-footer-contacts{display:flex!important;flex-direction:column!important;gap:14px!important;align-items:center!important;justify-content:center!important;text-align:center!important;width:100%!important;color:#fff!important;}
.lesnoy-footer-icons{display:flex!important;flex-wrap:wrap!important;gap:12px!important;align-items:center!important;justify-content:center!important;width:100%!important;}
.lesnoy-social{width:46px!important;height:46px!important;min-width:46px!important;min-height:46px!important;border-radius:999px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;color:#101311!important;background:#f7f3db!important;text-decoration:none!important;font-weight:800!important;font-size:12px!important;letter-spacing:.02em!important;box-shadow:0 10px 26px rgba(0,0,0,.24)!important;border:1px solid rgba(255,255,255,.2)!important;transition:transform .18s ease,box-shadow .18s ease,background .18s ease!important;line-height:1!important;padding:0!important;margin:0!important;box-sizing:border-box!important;}
.lesnoy-social:hover{transform:translateY(-2px)!important;background:#fff!important;box-shadow:0 16px 34px rgba(0,0,0,.32)!important;}
.lesnoy-footer-phone{color:#fff!important;font-size:18px!important;line-height:1.35!important;text-decoration:none!important;border-bottom:1px solid rgba(255,255,255,.35)!important;}
.lesnoy-footer-note{color:rgba(255,255,255,.62)!important;font-size:12px!important;line-height:1.35!important;}
.lesnoy-social__icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:23px!important;height:23px!important;flex:0 0 23px!important;}
.lesnoy-social__icon svg{display:block!important;width:23px!important;height:23px!important;fill:#20372e!important;}
.lesnoy-max-word{display:inline-flex!important;align-items:center!important;justify-content:center!important;font-size:11px!important;letter-spacing:.05em!important;font-weight:900!important;color:#20372e!important;line-height:1!important;}
@media (max-width:640px){.lesnoy-footer-contacts{align-items:center!important;text-align:center!important;}}


/* Reviews slider on homepage: keep photos visible even if Tilda lazy init lags */
#rec758606904 .t-slds,
#rec758610845 .t-slds{visibility:visible!important;opacity:1!important;}
#rec758606904 .t738__img,
#rec758610845 .tn-atom__slds-img{visibility:visible!important;opacity:1!important;}
#rec758606904 .t-card__col_withoutbtn{min-height:1px!important;}

/* Footer email icon alignment */
.lesnoy-social--mail .lesnoy-social__icon svg{width:24px!important;height:24px!important;}

/* Home reviews/contact rebuild: no blank slides, compact route accordion */
body.lesnoy-home-enhanced #rec758606904,
body.lesnoy-home-enhanced #rec758610845{display:none!important;}
.lesnoy-reviews-render{background:#fff;padding:8px 24px 36px!important;box-sizing:border-box;position:relative;}
.lesnoy-reviews-shell{max-width:1200px;margin:0 auto;position:relative;}
.lesnoy-reviews-viewport{overflow:hidden;border-radius:24px;}
.lesnoy-reviews-track{display:flex;gap:22px;overflow-x:auto;scroll-behavior:smooth;scroll-snap-type:x mandatory;padding:10px 3px 18px;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;}
.lesnoy-reviews-track::-webkit-scrollbar{height:8px;}
.lesnoy-reviews-track::-webkit-scrollbar-track{background:rgba(43,63,53,.08);border-radius:99px;}
.lesnoy-reviews-track::-webkit-scrollbar-thumb{background:rgba(43,63,53,.38);border-radius:99px;}
.lesnoy-review-card{flex:0 0 calc((100% - 66px)/4);min-width:230px;margin:0;scroll-snap-align:start;background:#fff;border-radius:22px;padding:12px;box-shadow:0 16px 42px rgba(26,36,29,.12);border:1px solid rgba(47,71,58,.12);box-sizing:border-box;}
.lesnoy-review-card img{display:block!important;width:100%!important;height:330px!important;object-fit:contain!important;background:#fff!important;border-radius:16px!important;visibility:visible!important;opacity:1!important;box-sizing:border-box;}
.lesnoy-reviews-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:46px;height:46px;border-radius:999px;border:1px solid rgba(47,71,58,.15);background:#f7f3db;color:#263c31;display:flex;align-items:center;justify-content:center;box-shadow:0 12px 30px rgba(0,0,0,.16);cursor:pointer;font-size:28px;line-height:1;transition:transform .18s ease,box-shadow .18s ease,background .18s ease;}
.lesnoy-reviews-arrow:hover{background:#fff;box-shadow:0 16px 34px rgba(0,0,0,.22);}
.lesnoy-reviews-arrow:active{transform:translateY(-50%) scale(.96);}
.lesnoy-reviews-arrow--prev{left:-18px;}
.lesnoy-reviews-arrow--next{right:-18px;}

#rec758604775.lesnoy-contact-enhanced{background:#fff!important;padding:0!important;margin:0!important;}
#rec758604775.lesnoy-contact-enhanced .t396{display:none!important;}
#rec758604775.lesnoy-contact-enhanced .lesnoy-route-render{display:block!important;}
.lesnoy-route-render{background:#fff;padding:22px 24px 42px;box-sizing:border-box;}
.lesnoy-route-shell{max-width:1160px;margin:0 auto;}
.lesnoy-route-title{font-family:'FuturaPT',Arial,sans-serif;font-size:64px;line-height:1.05;font-weight:700;letter-spacing:-.02em;margin:0 0 54px;color:#000;}
.lesnoy-route-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:72px;align-items:start;}
.lesnoy-route-accordion{border-top:1px solid rgba(0,0,0,.14);}
.lesnoy-route-item{border-bottom:1px solid rgba(0,0,0,.14);}
.lesnoy-route-button{width:100%;appearance:none;background:transparent;border:0;border-radius:0;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:25px 0 23px;text-align:left;cursor:pointer;color:#000;font-family:'FuturaPT',Arial,sans-serif;font-size:25px;line-height:1.25;font-weight:400;}
.lesnoy-route-plus{width:24px;height:24px;position:relative;flex:0 0 24px;}
.lesnoy-route-plus::before,.lesnoy-route-plus::after{content:'';position:absolute;background:#000;border-radius:2px;left:50%;top:50%;transform:translate(-50%,-50%);transition:transform .18s ease,opacity .18s ease;}
.lesnoy-route-plus::before{width:15px;height:2px;}
.lesnoy-route-plus::after{width:2px;height:15px;}
.lesnoy-route-item.is-open .lesnoy-route-plus::after{opacity:0;transform:translate(-50%,-50%) rotate(90deg);}
.lesnoy-route-panel{max-height:0;overflow:hidden;transition:max-height .28s ease;}
.lesnoy-route-item.is-open .lesnoy-route-panel{max-height:260px;}
.lesnoy-route-panel-inner{padding:0 48px 24px 0;color:rgba(0,0,0,.72);font-family:'FuturaPT',Arial,sans-serif;font-size:20px;line-height:1.42;}
.lesnoy-route-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px;}
.lesnoy-route-link{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:13px 22px;background:#536e60;color:#fff!important;text-decoration:none!important;font-family:'FuturaPT',Arial,sans-serif;font-size:17px;font-weight:700;line-height:1.1;box-shadow:0 10px 24px rgba(37,58,46,.16);}
.lesnoy-route-link--light{background:#f7f3db;color:#22382e!important;border:1px solid rgba(47,71,58,.14);}
.lesnoy-address-card{background:#fbfaf4;border:1px solid rgba(47,71,58,.12);border-radius:28px;padding:30px 34px 34px;box-shadow:0 18px 45px rgba(23,37,29,.10);box-sizing:border-box;}
.lesnoy-address-label{font-family:'FuturaPT',Arial,sans-serif;font-size:23px;line-height:1.2;font-weight:700;margin:0 0 14px;color:#000;}
.lesnoy-address-text{font-family:'FuturaPT',Arial,sans-serif;font-size:30px;line-height:1.18;font-weight:400;color:#000;margin:0 0 24px;}
.lesnoy-address-buttons{display:flex;flex-wrap:wrap;gap:12px;}
.lesnoy-address-buttons .lesnoy-route-link{font-size:16px;padding:14px 23px;}
@media (max-width:980px){
  .lesnoy-review-card{flex-basis:calc((100% - 22px)/2);}
  .lesnoy-review-card img{height:330px!important;}
  .lesnoy-route-render{padding:18px 24px 36px;}
  .lesnoy-route-title{font-size:56px;margin-bottom:36px;}
  .lesnoy-route-grid{grid-template-columns:1fr;gap:28px;}
  .lesnoy-address-card{max-width:640px;}
}
@media (max-width:640px){
  .lesnoy-reviews-render{padding:0 16px 28px!important;}
  .lesnoy-reviews-viewport{overflow:visible;}
  .lesnoy-reviews-track{gap:14px;overflow-x:auto;padding-bottom:14px;}
  .lesnoy-review-card{flex:0 0 82%;min-width:0;padding:10px;border-radius:18px;}
  .lesnoy-review-card img{height:315px!important;border-radius:13px!important;}
  .lesnoy-reviews-arrow{display:none;}
  .lesnoy-route-render{padding:12px 20px 30px;}
  .lesnoy-route-title{font-size:44px;margin-bottom:28px;}
  .lesnoy-route-button{font-size:22px;padding:21px 0 20px;}
  .lesnoy-route-panel-inner{font-size:18px;padding-right:0;}
  .lesnoy-address-card{padding:24px 22px 26px;border-radius:22px;}
  .lesnoy-address-text{font-size:25px;}
}
