/* Phone and tablet layout; loaded after legacy styles. */
.brand-topbar .brand-topnav{position:static!important;inset:auto!important;transform:none!important;flex-direction:row!important;background:transparent!important;box-shadow:none!important;height:auto!important;max-height:none!important;visibility:visible!important;opacity:1!important;padding:0;z-index:auto}
.brand-topbar .brand-topnav a{display:inline-flex;align-items:center;justify-content:center;min-height:44px}
@media(max-width:1100px){
.brand-topbar .brand-topbar-inner{width:calc(100% - 40px);height:auto!important;flex-wrap:wrap;gap:12px 20px}.brand-topbar .brand-topnav{order:4;flex:0 0 100%;margin:0;justify-content:center;gap:32px;border-top:1px solid #293e4320}.brand-topbar .brand-call{margin-left:auto}.brand-topbar .header-consult{min-height:44px;box-sizing:border-box}
body:has(.fullscreen-justice) .fullscreen-justice .editorial-stage{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:24px;min-height:0;padding:36px 0;align-items:center}
body:has(.fullscreen-justice) .fullscreen-justice .editorial-copy{width:100%;min-width:0}.fullscreen-justice .hero-package{width:100%;max-width:100%}
body:has(.fullscreen-justice) .fullscreen-justice .justice-art{display:block;position:relative;inset:auto;width:100%;height:540px!important;max-height:65vh;z-index:0;mix-blend-mode:normal}.fullscreen-justice .justice-art img{width:100%;height:100%;object-fit:contain;mix-blend-mode:normal!important}
.founder-section .founder-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.founder-copy,.founder-photo{min-width:0}.founder-education{font-size:15px;line-height:1.6}.founder-facts span{font-size:14px;line-height:1.5}.team-caption h3{overflow-wrap:anywhere}.estimate-questions label{min-height:44px;font-size:16px}.estimate-questions legend{font-size:16px;line-height:1.5}.estimate-questions input{width:20px;height:20px}.estimate-form input[type=range]{min-height:32px}.estimate-contacts input{min-height:48px;font-size:16px}.faq-layout{grid-template-columns:1fr}.faq-contact{max-width:620px;width:100%;box-sizing:border-box;margin:10px auto 0}.footer-top{flex-wrap:wrap}.footer-columns{gap:32px}.footer-contact .footer-phone{font-size:clamp(24px,3.4vw,36px)}
}
@media(max-width:600px){
html{scroll-padding-top:16px}body:has(.fullscreen-justice) main>section{scroll-margin-top:16px}
.brand-topbar .brand-topbar-inner{width:calc(100% - 32px);gap:8px 12px}.brand-topbar .brand-round{width:54px;height:54px;flex:0 0 54px}.brand-topbar .brand-call small{font-size:10px}.brand-topbar .brand-call>a{font-size:18px}.brand-topbar .header-consult{width:100%;min-width:0;order:3;padding:12px 16px;font-size:16px}.brand-topbar .brand-topnav{gap:0;padding-top:4px}.brand-topbar .brand-topnav a{flex:1;font-size:14px;padding:0 4px}
body:has(.fullscreen-justice) .fullscreen-justice .editorial-stage{display:flex;flex-direction:column;width:calc(100% - 40px);padding:28px 0 0;gap:24px}.fullscreen-justice .editorial-copy h1.hero-title-expanded{font-size:clamp(27px,7.2vw,36px)!important;line-height:1.12}.hero-package ul{font-size:16px;line-height:1.5}.hero-package .reference-consult{min-height:48px;font-size:17px!important;animation:none!important}.hero-package small{font-size:12px}
body:has(.fullscreen-justice) .fullscreen-justice .justice-art{height:340px!important;max-height:none;width:100%;margin:0;display:block}.fullscreen-justice .justice-art img{object-position:center bottom}
body:has(.fullscreen-justice) main>.founder-section{padding-top:32px}.founder-section .founder-grid{grid-template-columns:minmax(0,1fr);gap:24px}.founder-photo{height:auto;max-height:none}.founder-photo img{width:100%;height:auto;max-height:440px;object-fit:cover}.founder-copy h2{font-size:34px}.founder-education{font-size:15px}.founder-steps .step p{font-size:16px;line-height:1.55}.founder-steps .step h3{font-size:20px}.reach-grid{grid-template-columns:1fr}.estimate-questions,.estimate-contacts{grid-template-columns:minmax(0,1fr)}.estimate-form{padding:22px 16px}.estimate-form button,.faq-contact button{min-height:48px;animation:none!important}.estimate-form .consent,.faq-contact .consent{font-size:12px}.faq-list summary{font-size:16px;padding:18px 42px 18px 16px}.faq-answer{padding:0 16px 20px}.team-grid{grid-template-columns:minmax(0,1fr)}.team-card>img{height:280px}.contact-list{grid-template-columns:minmax(0,1fr)}.office-details a{overflow-wrap:anywhere}.office-contacts h2{font-size:32px!important}.footer-top nav{position:static!important;inset:auto!important;transform:none!important;background:transparent!important;display:flex!important;flex-direction:row!important;flex-wrap:wrap;gap:8px 16px;width:100%;box-shadow:none!important}.footer-top nav a{min-height:44px;display:inline-flex;align-items:center}.footer-top nav .reference-consult{width:100%;box-sizing:border-box;justify-content:center}.footer-columns{grid-template-columns:minmax(0,1fr)}.footer-contact{text-align:left}.footer-contact .footer-phone{font-size:clamp(23px,7vw,32px);white-space:normal}.footer-telegram{min-height:44px;line-height:44px;margin-top:0}.footer-information p{overflow-wrap:anywhere}.refreshed-footer .ip-requisites p{font-size:14px!important}#consultation-dialog{width:calc(100% - 24px);max-width:480px;max-height:calc(100dvh - 24px);box-sizing:border-box;overflow:auto;padding:24px 18px}#consultation-dialog input{font-size:16px;min-height:48px}.scroll-top{width:44px;height:48px;bottom:max(14px,env(safe-area-inset-bottom))}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}body .reference-consult,body form button{animation:none!important}}

.brand-topbar .brand-round{display:flex;align-items:center;gap:12px;width:240px;height:100px;flex:0 0 240px;overflow:visible;border-radius:0;background:transparent;text-decoration:none;color:#293e43}.brand-topbar .brand-round>span{flex:0 0 100px;width:100px;height:100px;border-radius:50%;background-size:175% auto;filter:contrast(1.35)}.brand-wordmark{font:700 21px/1.12 Georgia,serif;letter-spacing:.3px}.brand-wordmark small{display:block;font:400 11px/1.4 Arial,sans-serif;letter-spacing:0;margin-top:6px}.brand-topbar .brand-topbar-inner{flex-wrap:wrap}.brand-topbar .brand-topnav{flex-shrink:0}
@media(max-width:600px){.brand-topbar .brand-round{width:100%;flex:0 0 100%;height:100px;justify-content:center}.brand-topbar .brand-call{width:100%;margin:0;text-align:center}.brand-topbar .brand-call>a{font-size:20px}.brand-topbar .brand-call small{font-size:11px}.brand-wordmark{font-size:23px}.brand-wordmark small{font-size:12px}}
