
.top .menu a{white-space:nowrap!important;}
.scenario-list{display:grid!important;gap:10px!important;}
.scenario-list li{display:block!important;position:relative!important;padding-left:26px!important;line-height:1.55!important;}
.scenario-list li::before{content:"✓";position:absolute;left:0;top:0;color:#16a34a;font-weight:1000;}
.final-footer .final-footer-contact-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin-top:14px!important;}
.final-footer .final-footer-contact-actions a.final-footer-contact-btn,
.final-footer .final-footer-contact-actions a[href^="tel:"],
.final-footer .final-footer-contact-actions a[href*="wa.me"],
.final-footer .final-footer-contact-actions a[href*="t.me"],
.final-footer .final-footer-contact-actions a[href*="max.ru"]{display:inline-flex!important;visibility:visible!important;opacity:1!important;align-items:center!important;justify-content:center!important;min-height:46px!important;padding:0 12px!important;border-radius:999px!important;line-height:1!important;white-space:nowrap!important;}
@media(max-width:1120px){
  .top .nav{display:grid!important;grid-template-columns:minmax(180px,1fr) auto auto!important;align-items:center!important;gap:10px!important;}
  .top .mobileMenuToggle{display:inline-flex!important;grid-column:3!important;grid-row:1!important;}
  .top .phone.header-phone-compact{grid-column:2!important;grid-row:1!important;}
  .top .menu{display:none!important;grid-column:1/-1!important;grid-row:2!important;width:100%!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;overflow:visible!important;padding-top:8px!important;}
  .top.menu-open .menu{display:grid!important;max-height:none!important;opacity:1!important;transform:none!important;}
  .top .menu a{white-space:nowrap!important;min-height:42px!important;text-align:center!important;}
}
@media(max-width:760px){
  .top .nav{grid-template-columns:1fr auto!important;gap:10px!important;}
  .top .mobileMenuToggle{grid-column:2!important;grid-row:1!important;}
  .top .phone.header-phone-compact{grid-column:1/-1!important;grid-row:2!important;width:100%!important;min-width:0!important;}
  .top .menu{grid-row:3!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .top .menu a{white-space:normal!important;min-height:42px!important;padding-left:8px!important;padding-right:8px!important;}
  .brand-text,.brand-title,.top .brand small{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;}
}
@media(max-width:420px){
  .final-footer .final-footer-contact-actions{gap:8px!important;}
  .final-footer .final-footer-contact-actions a.final-footer-contact-btn{font-size:13px!important;min-height:42px!important;}
}


/* Final pre-hosting responsive safety guard: desktop / tablet / mobile */
html,body{max-width:100%;overflow-x:hidden;}
*,*::before,*::after{box-sizing:border-box;}
img,svg,video,canvas,iframe{max-width:100%;height:auto;}
.top{position:sticky;top:0;z-index:80;}
.top .nav{min-width:0;display:flex;align-items:center;gap:12px;}
.top .brand{min-width:0;flex:0 1 auto;}
.top .brand-text,.top .brand-title{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;}
.top .menu{min-width:0;}
.top .phone.header-phone-compact{flex:0 0 auto;white-space:nowrap;}
.mobileMenuToggle{flex:0 0 auto;}
.table-wrap,.prices-table-wrap,.content table{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;}
.callback-form input,.callback-form textarea,.callback-form select{max-width:100%;}
@media (min-width:981px){
  .top .nav{flex-wrap:nowrap;}
  .top .menu{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;}
  .mobileMenuToggle{display:none!important;}
}
@media (max-width:980px){
  .top .nav{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;align-items:center!important;gap:8px!important;}
  .top .brand{max-width:100%!important;}
  .top .brand-title{font-size:14px!important;line-height:1.12!important;}
  .top .brand small{font-size:11px!important;line-height:1.15!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:190px;display:block;}
  .top .menu{grid-column:1/-1;width:100%;max-width:100%;overflow:hidden;}
  .top .menu a{min-width:0;text-align:center;}
  .mobileMenuToggle{min-width:44px;min-height:42px;}
}
@media (max-width:560px){
  .wrap{width:min(100% - 28px,var(--wrap,1180px));}
  .top .nav{gap:7px!important;}
  .top .brand-mark{width:38px!important;height:38px!important;min-width:38px!important;border-radius:14px!important;}
  .top .brand-title{font-size:13px!important;}
  .top .brand small{max-width:150px;font-size:10.5px!important;}
  .menuToggleText{display:none!important;}
  .mobileMenuToggle{width:44px!important;padding:0!important;justify-content:center!important;}
  .hero h1,.page-hero h1,.content h1{font-size:clamp(28px,8vw,42px)!important;line-height:1.05!important;}
  .hero-actions,.contact-buttons,.messenger-glass-row,.callback-primary-contact,#top-contact-buttons{grid-template-columns:1fr!important;}
}
@media (max-width:380px){
  .wrap{width:min(100% - 22px,var(--wrap,1180px));}
  .top .brand small{display:none!important;}
  .top .phone.header-phone-compact{min-width:104px!important;padding-left:9px!important;padding-right:9px!important;}
  .top .phone.header-phone-compact .header-phone-number::after{font-size:12px!important;}
}

.local-unique-note{margin:28px 0;padding:22px;border:1px solid rgba(37,99,235,.14);border-radius:24px;background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(239,246,255,.78));box-shadow:0 16px 42px rgba(15,23,42,.06)}
.local-unique-note h2{margin-top:0}.local-unique-note p{color:#334155;line-height:1.68;font-weight:620}
@media(max-width:640px){.local-unique-note{padding:18px;border-radius:20px}.local-unique-note p{font-size:15px}}

.local-depth-note{margin:28px 0;padding:22px;border:1px solid rgba(14,165,233,.16);border-radius:24px;background:linear-gradient(135deg,rgba(240,249,255,.92),rgba(255,255,255,.96));box-shadow:0 16px 42px rgba(15,23,42,.05)}
.local-depth-note h2{margin-top:0}.local-depth-note p{color:#334155;line-height:1.7;font-weight:610}.local-depth-note p+p{margin-top:12px}
@media(max-width:640px){.local-depth-note{padding:18px;border-radius:20px}.local-depth-note p{font-size:15px}}


/* Extra final hosting check: explicit desktop/tablet/mobile breakpoints */
@media (max-width:1024px){
  .top .nav{max-width:100%;overflow:visible;}
  .top .menu{gap:8px;}
  .hero-grid-final,.page-hero .wrap,.grid,.cards{min-width:0;}
  .cards,.grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .master-hero-card,.card,.price-card,.service-card{min-width:0;}
}
@media (max-width:768px){
  .top .nav{grid-template-columns:minmax(0,1fr) auto!important;}
  .top .phone.header-phone-compact{grid-column:1/-1!important;justify-content:center!important;}
  .top.menu-open .menu,.top .menu{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .cards,.grid,.hero-grid-final{grid-template-columns:1fr!important;}
  .section{overflow:hidden;}
  .callback-form{width:100%;max-width:100%;}
}
@media (max-width:480px){
  .top .brand{max-width:calc(100vw - 92px)!important;}
  .top .brand-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .top .menu a{font-size:13px!important;line-height:1.2!important;}
  .phone.header-phone-compact,.site-contact-button,.messenger-button{max-width:100%;}
  .callback-form .form-row,.callback-form .form-grid{grid-template-columns:1fr!important;}
}

/* final-hosting-polish-2026-07-06 */
html,body{max-width:100%;overflow-x:hidden!important;}
.spamTrap{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important;visibility:hidden!important;}
.spamTrap input{width:1px!important;height:1px!important;min-width:1px!important;min-height:1px!important;border:0!important;padding:0!important;margin:0!important;}
.top .nav,.top .menu{min-width:0!important;}
.top .menu a{position:relative;overflow:hidden;text-overflow:ellipsis;}
.top .menu a.is-active,.top .menu a[aria-current="page"]{color:#fff!important;background:rgba(34,197,94,.14)!important;border-color:rgba(134,239,172,.36)!important;box-shadow:inset 0 -1px 0 rgba(255,255,255,.10),0 10px 26px rgba(22,163,74,.16)!important;text-decoration:none!important;}
.top .menu a.is-active::after,.top .menu a[aria-current="page"]::after{content:"";position:absolute;left:14px;right:14px;bottom:5px;height:3px;border-radius:999px;background:linear-gradient(90deg,#22c55e,#86efac);box-shadow:0 0 14px rgba(34,197,94,.45);}
@media(max-width:1024px){.top .nav{gap:12px!important;}.top .menu{gap:8px!important;}.top .menu a{font-size:14px!important;padding-left:10px!important;padding-right:10px!important;}}
@media(max-width:768px){.top .menu{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;}.top .menu a{justify-content:center!important;white-space:normal!important;min-height:42px!important;line-height:1.15!important;}.table{display:block!important;max-width:100%!important;overflow-x:auto!important;}img,video,iframe{max-width:100%!important;height:auto;}}
@media(max-width:480px){.wrap{padding-left:14px!important;padding-right:14px!important;}.top .menu{grid-template-columns:1fr 1fr!important;gap:7px!important;}.top .menu a{font-size:13px!important;padding:9px 7px!important;}.top .menu a.is-active::after,.top .menu a[aria-current="page"]::after{left:12px;right:12px;bottom:4px;height:2px;}}
