/* Bounded home/contact/welcome changes requested on 10 November. */
.home .block_about{isolation:isolate}
.home .block_about .ba_text{position:relative;z-index:1}
.home .block_about .ba_img{position:relative;z-index:0;align-self:flex-start;aspect-ratio:1;height:auto!important;padding:0!important}
.home .block_about .ba_img img{position:absolute;inset:0;display:block;width:100%!important;height:100%!important;max-width:none;margin:0!important;object-fit:cover;object-position:center}
@media(max-width:1024px){
 .home .block_about .ba_img{width:100%;max-width:100%;aspect-ratio:16/9;margin:0!important;z-index:0}
}
@media(min-width:1080px){
 #fixblock>.mothermax[data-desktop-max]{position:absolute;display:flex!important;align-items:center;justify-content:center;box-sizing:border-box;top:38px;right:374px;width:36px;min-width:36px;height:36px;margin:0;padding:0;border:0;border-radius:50%;background:#2a282b!important;color:#fff}
 #fixblock>.mothermax[data-desktop-max]::before,#fixblock>.mothermax[data-desktop-max]::after{content:none!important}
 #fixblock>.mothermax[data-desktop-max]>svg{display:block;width:18px;height:18px;flex:none}
 #fixblock[style="top:0px; position: fixed;"]>.mothermax[data-desktop-max]{top:20px}
}
@media(min-width:1080px) and (max-width:1279px){
 #fixblock>.adress,#fixblock>.timetowork{left:340px}
}
.recovery-dialog.est-new-client-dialog{box-sizing:border-box;width:min(490px,calc(100% - 30px));max-height:calc(100dvh - 40px);padding:37px 30px 28px;overflow:auto;border-radius:0}
.est-new-client-dialog::backdrop{background:#152c32b5}
.est-new-client-dialog[data-dialog-fallback="true"]:not([open]){display:none}
.est-new-client-dialog[data-dialog-fallback="true"][open]{position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%);display:block;margin:0;z-index:2147483000;box-shadow:0 0 0 100vmax #152c32b5,0 20px 90px #162e3259}
.est-new-client-dialog [data-new-client-close]{position:absolute;top:8px;right:8px;width:35px;height:35px;margin:0;padding:0;border:0;background:transparent;color:#466b6a;font:inherit;font-size:30px;line-height:1;cursor:pointer}
.est-new-client-dialog>h2{margin:0 0 16px!important;padding:0!important;color:#3a6c6a;font-size:27px!important;font-weight:400;line-height:1.25;text-align:left}
.est-new-client-copy{margin:0 0 20px;padding:0;line-height:1.5}
.est-new-client-dialog .est-form-host>h3,.est-new-client-dialog .est-form-intro,.est-new-client-dialog .est-form-message{display:none}
.est-new-client-dialog .est-lead-form{margin-top:0}
.est-new-client-dialog .est-form-row{display:flex;flex-direction:column}
.est-new-client-dialog .est-form-field{flex-basis:auto;width:100%}
.est-new-client-dialog .est-form-submit{width:100%;margin-top:0}
@media(max-width:600px){
 .recovery-dialog.est-new-client-dialog{padding:35px 22px 24px}
 .est-new-client-dialog>h2{font-size:23px!important}
 .est-new-client-copy{font-size:16px;line-height:1.45}
}

/* Home staff cards reuse the approved staff visuals without legacy fixed-height selectors. */
.est-home-specialists{box-sizing:border-box;width:100%;min-width:0;height:auto;margin:32px 0 40px;padding:0;clear:both}
.est-home-specialists>h2{margin:0 0 25px}
.est-home-staff-track{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;box-sizing:border-box;width:100%;min-width:0;align-items:start}
.est-home-staff-card{display:block;box-sizing:border-box;width:auto;min-width:0;height:auto;max-height:none;margin:0;padding:0;float:none;text-align:center}
.est-home-staff-photo{position:relative;width:100%;margin:0 0 14px}
.est-home-staff-photo-inner{display:block;width:100%;overflow:hidden;background:#f3f5f5}
.est-home-staff-photo-inner img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;object-position:center 24%;visibility:visible;opacity:1}
.est-home-staff-experience{position:absolute;bottom:0;right:0;padding:12px;margin:0;background:#fff;color:#458f8f;font-size:18px;line-height:1.2;font-weight:700}
.est-home-staff-name{margin:0;line-height:1.3;font-size:20px;font-weight:700}
.est-home-staff-card>p{min-height:24px;margin:8px 0 0;padding:0;line-height:20px;font-size:16px;color:#777}
.est-home-staff-booking{display:flex;justify-content:center;box-sizing:border-box;width:100%;max-width:100%;margin:12px 0 0;padding:0;height:auto;min-height:0}
.est-home-staff-booking button.subm{display:block;box-sizing:border-box;float:none;width:250px!important;max-width:100%;height:auto;min-height:27px;margin:0;padding:5px 10px;font:inherit;font-size:14px;line-height:17px;border:0;cursor:pointer}
.est-home-staff-controls{display:none}
@media(max-width:600px){
 .est-home-specialists{margin:28px 0 34px}
 .est-home-specialists>h2{margin-bottom:20px}
 .est-home-staff-track{display:flex;gap:0;align-items:flex-start;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;-ms-overflow-style:none;overscroll-behavior-x:contain;touch-action:pan-x pan-y}
 .est-home-staff-track::-webkit-scrollbar{display:none}
 .est-home-staff-card{flex:0 0 100%;width:100%;max-width:100%;scroll-snap-align:start;scroll-snap-stop:always}
 .est-home-staff-experience{font-size:16px}
 .est-home-staff-name{font-size:19px}
 .est-home-staff-card>p{min-height:0}
 .est-home-staff-controls{display:flex;align-items:center;justify-content:center;gap:14px;margin:18px 0 0}
 .est-home-staff-arrow{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:34px;height:34px;min-width:34px;margin:0;padding:0;border:1px solid #83c2c2;border-radius:50%;background:transparent;color:#458f8f;font:inherit;font-size:27px;line-height:1;cursor:pointer}
 .est-home-staff-arrow:hover{background:#f0f7f7}
 .est-home-staff-arrow:disabled{opacity:.35;cursor:default}
 .est-home-staff-status{font-size:14px;line-height:1.2;color:#777}
}
@media(prefers-reduced-motion:reduce){.est-home-staff-track{scroll-behavior:auto}}
