/*! 89111141212.ru | © 2026 Юрий Викторович Кобзев | Authorship-ID: KOBZEV-YV-89111141212-RU-2026 | original site code/components only */
@charset "UTF-8";
/* v10.6.2 — live viewport guard. Loaded last. It does not zoom the page; it measures the actual visual viewport and prevents any block from escaping it. */
:root{
  --device-vw:100vw;
  --device-vh:100vh;
  --fluid-gutter:clamp(10px,2.4vw,28px);
  --fluid-content-max:1580px;
}
@supports(width:100dvw){:root{--device-vw:100dvw;--device-vh:100dvh}}
html,body{width:100%;max-width:100%;overflow-x:clip}
body{min-width:0!important}
img,video,canvas,iframe,svg{max-width:100%;height:auto}
.container{width:min(var(--fluid-content-max),calc(var(--device-vw) - (var(--fluid-gutter) * 2)))!important;max-width:100%!important}
.site-header,.hero,.section,.site-footer,.cookie-banner,.lead-popup,.success-modal,.error-modal,.channel-modal{max-width:var(--device-vw)!important}
.header-inner,.hero-layout,.hero-copy,.hero-visual,.hero-banner-frame,.hero-facts,.section-head,.services-grid,.additional-service,.authorities-layout,.authorities-grid,.process-layout,.trust-layout,.trust-points,.faq-grid,.documents-head,.documents-carousel,.documents-viewport,.documents-track,.document-card,.contact-card,.contact-card-with-form,.contact-main,.contact-details,.contact-details-form,.form-grid,.field,.popup-field,.phone-control,.footer-grid,.footer-nav,.footer-legal{min-width:0!important;max-width:100%!important}
input,textarea,select,button{max-width:100%;min-width:0}
h1,h2,h3,p,li,.document-cover-title,.document-info,.service-body,.authorities-grid article,.steps li,.footer-legal{max-width:100%}

/* The measured visual viewport wins over static breakpoints in embedded browsers. */
html.fluid-phone{--fluid-gutter:clamp(10px,3.3vw,16px)}
html.fluid-phone .container{width:calc(var(--device-vw) - (var(--fluid-gutter) * 2))!important}
html.fluid-phone .site-header{width:var(--device-vw)!important}
html.fluid-phone .header-inner{width:100%!important}
html.fluid-phone .site-nav{max-width:calc(var(--device-vw) - 16px)!important}
html.fluid-phone .lead-popup-dialog,
html.fluid-phone .success-modal-dialog,
html.fluid-phone .error-modal-dialog,
html.fluid-phone .channel-modal-dialog{width:min(520px,calc(var(--device-vw) - 20px))!important;max-width:calc(var(--device-vw) - 20px)!important}
html.fluid-phone .cookie-inner{max-width:calc(var(--device-vw) - 16px)!important}
html.fluid-phone .hero h1{font-size:clamp(32px,calc(var(--device-vw) * .102),43px)!important}
html.fluid-phone .section-head h2,
html.fluid-phone .documents-head h2,
html.fluid-phone .process h2,
html.fluid-phone .trust-copy h2,
html.fluid-phone .contact-main h2,
html.fluid-phone .authorities-intro h2{font-size:clamp(32px,calc(var(--device-vw) * .095),42px)!important}

html.fluid-narrow .brand-text{min-width:0!important}
html.fluid-narrow .brand-text strong{font-size:14px!important}
html.fluid-narrow .brand-text span{display:none!important}
html.fluid-narrow .header-contact-quick{padding-inline:8px!important;font-size:8.5px!important}
html.fluid-narrow .menu-toggle{padding-inline:8px!important}
html.fluid-narrow .menu-toggle-label{display:none!important}
html.fluid-narrow .hero h1{font-size:clamp(30px,calc(var(--device-vw) * .098),37px)!important}
html.fluid-narrow .footer-nav{grid-template-columns:1fr!important}

/* Emergency fallback: enabled only if the browser still reports real root overflow. */
html.fluid-overflow .container{width:calc(var(--device-vw) - 20px)!important;max-width:calc(var(--device-vw) - 20px)!important}
html.fluid-overflow .hero-layout,
html.fluid-overflow .authorities-layout,
html.fluid-overflow .process-layout,
html.fluid-overflow .trust-layout,
html.fluid-overflow .contact-card,
html.fluid-overflow .contact-card-with-form,
html.fluid-overflow .section-head{grid-template-columns:minmax(0,1fr)!important}
html.fluid-overflow .services-grid,
html.fluid-overflow .authorities-grid,
html.fluid-overflow .form-grid{grid-template-columns:minmax(0,1fr)!important}
html.fluid-overflow .hero-visual,
html.fluid-overflow .brand-panel,
html.fluid-overflow .documents-carousel,
html.fluid-overflow .documents-viewport{width:100%!important;max-width:100%!important}
html.fluid-overflow .hero h1{font-size:clamp(30px,9.6vw,40px)!important;overflow-wrap:normal!important}
html.fluid-overflow .site-nav{left:8px!important;right:8px!important;width:auto!important;max-width:calc(var(--device-vw) - 16px)!important}
html.fluid-overflow .document-card{flex-basis:100%!important;width:100%!important}
html.fluid-overflow .lead-popup-dialog,
html.fluid-overflow .success-modal-dialog,
html.fluid-overflow .error-modal-dialog,
html.fluid-overflow .channel-modal-dialog{width:calc(var(--device-vw) - 20px)!important;max-width:calc(var(--device-vw) - 20px)!important}

@media(max-width:980px){
  :root{--fluid-gutter:clamp(10px,3vw,18px)}
  .container{width:calc(var(--device-vw) - (var(--fluid-gutter) * 2))!important}
}
@media(max-width:360px){:root{--fluid-gutter:10px}}
