/*
Theme Name: Reboot Child
Theme URI: https://msservice.ru/
Description: Child theme
Author: Mega-Service
Template: reboot
Version: 1.0.0
Text Domain: reboot-child
*/

#masthead.site-header { background:#ffffff !important; border-bottom:none !important; box-shadow:0 2px 16px rgba(0,0,0,0.10) !important; padding:0 !important; }
.site-header-inner.fixed { max-width:1240px !important; margin:0 auto !important; padding:16px 24px !important; display:flex !important; align-items:center !important; justify-content:space-between !important; gap:24px !important; }
.site-branding { flex-shrink:0 !important; display:flex !important; align-items:center !important; }
.site-logotype img { max-height:90px !important; width:auto !important; display:block !important; }
.site-branding .site-title, .site-branding .site-description { display:none !important; }

.header-html-1 { display:flex !important; align-items:center !important; gap:24px !important; margin-left:auto !important; }
.header-html-1 .header-phone-wrap { display:flex !important; flex-direction:column !important; align-items:flex-end !important; }
.header-html-1 .header-phone { font-size:24px !important; font-weight:700 !important; color:#163a63 !important; text-decoration:none !important; line-height:1 !important; white-space:nowrap !important; font-family:Arial,sans-serif !important; }
.header-html-1 .header-phone:hover { color:#de4d5a !important; }
.header-html-1 .header-phone-sub { font-size:12px !important; color:#999 !important; display:block !important; margin-top:4px !important; text-align:right !important; }
.header-html-1 .header-callback { display:inline-block !important; padding:11px 24px !important; background:#de4d5a !important; color:#fff !important; font-size:14px !important; font-weight:600 !important; border-radius:6px !important; text-decoration:none !important; white-space:nowrap !important; }
.header-html-1 .header-callback:hover { background:#c03040 !important; }
.header-search { margin-left:4px !important; opacity:0.4 !important; }

nav.site-navigation { background:#163a63 !important; border-top:none !important; box-shadow:none !important; }
nav.site-navigation .nav-menu-inner { max-width:1240px !important; margin:0 auto !important; padding:0 24px !important; }
nav.site-navigation ul.menu { display:flex !important; flex-wrap:wrap !important; list-style:none !important; margin:0 !important; padding:0 !important; }
nav.site-navigation ul.menu > li > a { display:block !important; padding:15px 20px !important; color:rgba(255,255,255,0.9) !important; font-size:14px !important; font-weight:500 !important; text-decoration:none !important; letter-spacing:0.3px !important; transition:background 0.2s,color 0.2s !important; white-space:nowrap !important; }
nav.site-navigation ul.menu > li > a:hover, nav.site-navigation ul.menu > li.current-menu-item > a { background:#de4d5a !important; color:#fff !important; }
nav.site-navigation ul.menu ul.sub-menu { background:#1e4a80 !important; box-shadow:0 8px 24px rgba(0,0,0,0.20) !important; min-width:210px !important; border-top:2px solid #de4d5a !important; }
nav.site-navigation ul.menu ul.sub-menu li a { padding:11px 20px !important; color:rgba(255,255,255,0.85) !important; font-size:13px !important; border-bottom:1px solid rgba(255,255,255,0.07) !important; }
nav.site-navigation ul.menu ul.sub-menu li a:hover { background:#de4d5a !important; color:#fff !important; }

.rating-box { display:none !important; }
.entry-social, .social-buttons, .social-links { display:none !important; }

.site-header-inner.fixed { padding-left:24px !important; }

@media (max-width:768px) {
    .site-header-inner.fixed {
        padding:10px 16px !important;
        flex-wrap:nowrap !important;
        min-height:auto !important;
        gap:10px !important;
    }
    .site-logotype img {
        max-height:40px !important;
        height:40px !important;
    }
    .header-html-1 {
        gap:8px !important;
    }
    .header-html-1 .header-phone {
        font-size:18px !important;
    }
    .header-html-1 .header-phone-wrap {
        display:none !important;
    }
    .header-html-1 .header-callback {
        padding:9px 14px !important;
        font-size:13px !important;
    }
}

.ms-ref .wrap { padding:0 !important; }
.ms-ref .section { padding:36px 16px !important; }
.ms-ref .hero { border-radius:0 !important; margin:0 !important; }