
/* ===== GLOBAL HEADER: isolated ===== */
.nmg-head,
.nmg-head *{box-sizing:border-box}
.nmg-head{
 --nmg-blue:#98351b;
 --nmg-blue2:#7e2d17;
 --nmg-ink:#391c15;
 --nmg-muted:#86706a;
 --nmg-line:#eee1dd;
 --nmg-soft:#fbf6f5;
 --nmg-white:#fff;
 font-family:Arial,Helvetica,sans-serif;
 color:var(--nmg-ink);
 background:#fff;
 border-bottom:1px solid var(--nmg-line);
 position:relative;
 z-index:1000;
}
.nmg-head a{color:inherit;text-decoration:none}
.nmg-head button{font:inherit}

.nmg-top{
 background:#fbf8f7;
 border-bottom:1px solid #f3e9e7;
 font-size:12.5px;
 color:#765d56;
}
.nmg-wrap{
 width:min(1180px,calc(100% - 36px));
 margin:0 auto;
}
.nmg-top__inner{
 min-height:34px;
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:20px;
}
.nmg-top__license{white-space:nowrap}

.nmg-top__right{
 display:flex;
 align-items:center;
 justify-content:flex-end;
 gap:10px;
 min-width:0;
}

.nmg-top__place{
 white-space:nowrap;
 text-align:right;
}

/* Штатная большая кнопка uCoz остаётся функционально подключённой,
 но визуально скрывается. Запуск выполняется нашей компактной кнопкой. */
#uhvb{
 display:none!important;
}

.nmg-accessibility{
 width:32px;
 height:32px;
 flex:0 0 32px;
 display:inline-flex;
 align-items:center;
 justify-content:center;
 padding:0;
 border:1px solid #e6d5d0;
 border-radius:9px;
 background:#fff;
 color:#724438;
 cursor:pointer;
 transition:background .15s ease,border-color .15s ease,color .15s ease,box-shadow .15s ease;
}
.nmg-accessibility:hover,
.nmg-accessibility:focus-visible{
 background:#fbf2ef;
 border-color:#d1a295;
 color:var(--nmg-blue);
 outline:none;
 box-shadow:0 0 0 3px rgba(11,99,168,.10);
}
.nmg-accessibility svg{
 width:19px;
 height:19px;
 display:block;
 fill:currentColor;
}

.nmg-main{
 min-height:82px;
 display:flex;
 align-items:center;
}
.nmg-main__inner{
 width:100%;
 display:flex;
 align-items:center;
 gap:24px;
}
.nmg-brand{
 display:flex;
 align-items:center;
 flex:0 0 auto;
}
.nmg-brand img{
 display:block;
 width:auto;
 height:58px;
 max-width:220px;
 object-fit:contain;
}

.nmg-nav{
 margin-left:auto;
 display:flex;
 align-items:center;
 gap:4px;
}
.nmg-nav>a,
.nmg-drop>button{
 border:0;
 background:transparent;
 cursor:pointer;
 display:flex;
 align-items:center;
 gap:5px;
 padding:12px 11px;
 border-radius:10px;
 color:#47261d;
 font-weight:700;
 font-size:14.5px;
 line-height:1;
}
.nmg-nav>a:hover,
.nmg-nav>a:focus-visible,
.nmg-drop>button:hover,
.nmg-drop>button:focus-visible,
.nmg-drop.is-open>button{
 background:#faf3f1;
 color:var(--nmg-blue);
 outline:none;
}
.nmg-chevron{
 width:7px;
 height:7px;
 border-right:1.7px solid currentColor;
 border-bottom:1.7px solid currentColor;
 transform:rotate(45deg) translateY(-2px);
 transition:transform .15s ease;
}
.nmg-drop.is-open .nmg-chevron{
 transform:rotate(225deg) translate(-1px,-1px);
}
.nmg-drop{
 position:relative;
}
.nmg-menu{
 position:absolute;
 top:calc(100% + 9px);
 left:0;
 min-width:285px;
 padding:8px;
 background:#fff;
 border:1px solid var(--nmg-line);
 border-radius:15px;
 box-shadow:0 16px 42px rgba(26,67,101,.14);
 opacity:0;
 visibility:hidden;
 transform:translateY(-5px);
 transition:.15s ease;
}
.nmg-drop.is-open .nmg-menu{
 opacity:1;
 visibility:visible;
 transform:translateY(0);
}
.nmg-menu a{
 display:block;
 padding:10px 12px;
 border-radius:9px;
 color:#53362f;
 font-size:14px;
 line-height:1.3;
}
.nmg-menu a:hover,
.nmg-menu a:focus-visible{
 background:#faf3f1;
 color:var(--nmg-blue);
 outline:none;
}
.nmg-menu__all{
 font-weight:700;
 border-bottom:1px solid #f4ecea;
 margin-bottom:4px;
}

.nmg-phone{
 flex:0 0 auto;
 display:flex;
 flex-direction:column;
 align-items:flex-end;
 gap:3px;
}
.nmg-phone a{
 font-size:16px;
 font-weight:800;
 white-space:nowrap;
 color:#4e1f12;
}
.nmg-phone span{
 font-size:11.5px;
 color:#907a74;
 white-space:nowrap;
}
.nmg-cta{
 display:inline-flex;
 align-items:center;
 justify-content:center;
 flex:0 0 auto;
 min-height:44px;
 padding:0 18px;
 border-radius:11px;
 background:var(--nmg-blue);
 color:#fff!important;
 font-size:14px;
 font-weight:800;
 box-shadow:0 8px 20px rgba(11,99,168,.17);
}
.nmg-cta:hover{background:var(--nmg-blue2)}

.nmg-mobile-btn{
 display:none;
 width:44px;
 height:44px;
 margin-left:auto;
 border:1px solid var(--nmg-line);
 border-radius:11px;
 background:#fff;
 cursor:pointer;
 align-items:center;
 justify-content:center;
}
.nmg-mobile-btn span,
.nmg-mobile-btn span:before,
.nmg-mobile-btn span:after{
 content:"";
 display:block;
 width:20px;
 height:2px;
 background:#56291d;
 border-radius:3px;
 position:relative;
}
.nmg-mobile-btn span:before{position:absolute;top:-6px}
.nmg-mobile-btn span:after{position:absolute;top:6px}

.nmg-mobile-panel{display:none}

@media(min-width:981px){
 .nmg-drop:hover .nmg-menu{
 opacity:1;
 visibility:visible;
 transform:translateY(0);
 }
}
@media(max-width:980px){
 .nmg-wrap{width:min(100% - 28px,1180px)}
 .nmg-top__inner{min-height:32px}
 .nmg-top__right{gap:0}
 .nmg-top__place{display:none}
 .nmg-accessibility{
 width:30px;
 height:30px;
 flex-basis:30px;
 border-radius:8px;
 }
 .nmg-accessibility svg{width:18px;height:18px}
 .nmg-main{min-height:72px}
 .nmg-brand img{height:51px}
 .nmg-nav,.nmg-phone,.nmg-cta{display:none}
 .nmg-mobile-btn{display:flex}
 .nmg-mobile-panel{
 display:none;
 border-top:1px solid var(--nmg-line);
 background:#fff;
 padding:8px 0 18px;
 }
 .nmg-head.is-mobile-open .nmg-mobile-panel{display:block}
 .nmg-mobile-nav{
 display:grid;
 gap:4px;
 }
 .nmg-mobile-nav>a,
 .nmg-mobile-group>summary{
 display:flex;
 align-items:center;
 justify-content:space-between;
 min-height:44px;
 padding:9px 4px;
 border-bottom:1px solid #f5efee;
 color:#48261d;
 font-size:15px;
 font-weight:700;
 cursor:pointer;
 list-style:none;
 }
 .nmg-mobile-group>summary::-webkit-details-marker{display:none}
 .nmg-mobile-sub{
 display:grid;
 padding:4px 0 9px 12px;
 }
 .nmg-mobile-sub a{
 padding:9px 10px;
 font-size:14px;
 color:#725952;
 }
 .nmg-mobile-actions{
 display:grid;
 grid-template-columns:1fr 1fr;
 gap:9px;
 margin-top:14px;
 }
 .nmg-mobile-actions a{
 min-height:44px;
 display:flex;
 align-items:center;
 justify-content:center;
 border-radius:10px;
 font-weight:800;
 font-size:14px;
 }
 .nmg-mobile-call{
 border:1px solid #e6d3ce;
 color:#762b17!important;
 background:#fff;
 }
 .nmg-mobile-book{
 color:#fff!important;
 background:var(--nmg-blue);
 }
}
@media(max-width:560px){
 .nmg-top__license{
 min-width:0;
 overflow:hidden;
 text-overflow:ellipsis;
 }
 .nmg-wrap{width:calc(100% - 22px)}
 .nmg-brand img{height:47px;max-width:190px}
}

@media(min-width:981px){
 .nmg-head .nmg-wrap{
 width:calc(100% - 48px)!important;
 max-width:1180px!important;
 }
 .nmg-head .nmg-main{
 min-height:86px!important;
 }
 .nmg-head .nmg-main__inner{
 gap:16px!important;
 }
 .nmg-head .nmg-brand{
 flex:0 0 225px!important;
 width:225px!important;
 min-width:225px!important;
 height:72px!important;
 overflow:visible!important;
 }
 .nmg-head .nmg-brand img{
 width:215px!important;
 height:auto!important;
 max-width:none!important;
 max-height:none!important;
 transform:none!important;
 }
 .nmg-head .nmg-nav>a,
 .nmg-head .nmg-drop>button{
 padding-left:8px!important;
 padding-right:8px!important;
 font-size:13.5px!important;
 }
 .nmg-head .nmg-phone a{
 font-size:15px!important;
 }
 .nmg-head .nmg-cta{
 min-height:42px!important;
 padding-left:15px!important;
 padding-right:15px!important;
 font-size:13.5px!important;
 }
}


/* НероМед: компактные контакты, отзывы, подвал и исправленная эмблема */
.nmg-head .nmg-brand{gap:8px!important;max-width:240px!important}
.nmg-head .nmg-logo-symbol{display:block!important;position:relative!important;width:48px!important;height:70px!important;overflow:hidden!important;flex:0 0 48px!important}
.nmg-head .nmg-logo-symbol img{position:absolute!important;left:0!important;top:0!important;width:215px!important;height:auto!important;max-width:none!important;object-fit:initial!important}
.nmg-head .nmg-logo-words{display:flex!important;flex-direction:column!important;justify-content:center!important;white-space:nowrap!important}
.nmg-head .nmg-logo-words strong{font:400 28px/1.05 Georgia,serif!important;letter-spacing:1.1px!important;color:#654539!important;text-transform:uppercase!important}
.nmg-head .nmg-logo-words small{font:10px/1.4 Arial,sans-serif!important;letter-spacing:1.2px!important;color:#8b7468!important;margin-top:4px!important}
.nm-home .nm-location-grid{display:grid!important;grid-template-columns:1.12fr 1fr!important;gap:22px!important;align-items:stretch!important}
.nm-home .nm-location-card{border:1px solid #ddc9bf!important;border-radius:18px!important;padding:24px!important;background:#fff!important;min-width:0!important;display:flex!important;flex-direction:column!important;gap:14px!important;scroll-margin-top:90px!important}
.nm-home .nm-location-card h3{font:700 24px/1.2 Georgia,serif!important;margin:0!important;color:#793827!important}
.nm-home .nm-location-card p{font-size:15px!important;line-height:1.6!important;margin:0!important;color:#705a50!important}
.nm-home .nm-location-facts{display:grid!important;grid-template-columns:1fr 1fr!important;gap:16px 20px!important;margin:0!important}
.nm-home .nm-location-facts div{min-width:0!important}
.nm-home .nm-location-facts dt{font-size:12px!important;font-weight:700!important;color:#8b7468!important;margin-bottom:5px!important}
.nm-home .nm-location-facts dd{font-size:15px!important;line-height:1.45!important;margin:0!important;color:#432c25!important;overflow-wrap:anywhere!important}
.nm-home .nm-location-facts a{color:#793827!important;font-weight:700!important}
.nm-home .nm-location-card .nm-actions{margin:0!important;gap:10px!important}
.nm-home .nm-location-card .nm-btn{font-size:14px!important;min-height:44px!important;padding:11px 18px!important}
.nm-home .nm-location-yandex{background:linear-gradient(145deg,#fbf1eb,#fffaf7)!important}
.nm-home .nm-omsk-rating{display:flex!important;align-items:center!important;gap:16px!important;color:#793827!important}
.nm-home .nm-omsk-rating b{font:700 48px/1 Georgia,serif!important;white-space:nowrap!important}
.nm-home .nm-omsk-rating span{display:block!important;font-size:14px!important;line-height:1.5!important}
.nm-home .nm-omsk-rating .nm-rating-stars{color:#ad7136!important;font-size:18px!important;letter-spacing:2px!important}
.nm-home .nm-rating-note{font-size:12px!important;line-height:1.45!important;color:#8b7468!important}
.nm-home .nm-location-yandex .nm-btn{align-self:flex-start!important}
.nmg-footer-bottom{background:#fbf6f2!important;border-top:1px solid #e6d8d0!important;padding:24px 0!important}
.nmg-footer-bottom__inner{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:20px 32px!important;flex-wrap:wrap!important}
.nmg-footer-copy{font-size:13px!important;line-height:1.6!important;color:#806d63!important;white-space:nowrap!important}
.nmg-bottom-links{display:flex!important;flex-wrap:wrap!important;gap:10px 22px!important;max-width:800px!important;justify-content:flex-end!important}
.nmg-bottom-links a{font-size:13px!important;line-height:1.55!important;color:#793827!important;border:0!important;text-decoration:none!important}
.nmg-bottom-links a:hover{text-decoration:underline!important;text-underline-offset:3px!important}
.nm-site-credit{width:min(1180px,calc(100% - 36px))!important;margin:0 auto!important;padding:12px 0 18px!important;font-size:11px!important;text-align:right!important;color:#927f74!important}
.nm-site-credit a{color:inherit!important;border:0!important;text-decoration:none!important}
@media(max-width:760px){
.nm-home .nm-location-grid{grid-template-columns:1fr!important;gap:16px!important}
.nm-home .nm-location-card{padding:20px!important;gap:14px!important}
.nm-home .nm-location-card h3{font-size:22px!important}
.nm-home .nm-location-facts{gap:14px!important}
.nm-home .nm-location-yandex .nm-btn{align-self:stretch!important;text-align:center!important;justify-content:center!important}
.nmg-footer-bottom__inner{display:grid!important;grid-template-columns:1fr!important;gap:16px!important}
.nmg-bottom-links{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px 18px!important;justify-content:start!important;max-width:none!important}
.nmg-bottom-links a{font-size:13px!important;overflow-wrap:anywhere!important}
.nm-site-credit{text-align:left!important;padding-bottom:16px!important}
}
@media(max-width:430px){.nmg-head .nmg-logo-words strong{font-size:25px!important}.nmg-head .nmg-logo-words small{font-size:9px!important}.nmg-head .nmg-brand{gap:6px!important}.nm-home .nm-location-facts{grid-template-columns:1fr!important}.nmg-bottom-links{grid-template-columns:1fr!important}}

/* Полный профиль НероМед и цвет эмблемы Омска */
.nmg-head .nmg-logo-symbol{width:58px!important;height:58px!important;flex:0 0 58px!important;overflow:visible!important}
.nmg-head .nmg-logo-symbol img{position:static!important;width:58px!important;height:58px!important;max-width:100%!important;object-fit:contain!important;filter:none!important;transform:none!important}
@media(max-width:760px){.nmg-head .nmg-logo-symbol{width:54px!important;height:54px!important;flex-basis:54px!important}.nmg-head .nmg-logo-symbol img{width:54px!important;height:54px!important}}
