/* Mera Diagnostic House - Modern Header */
:root{--mdh-header-width:1200px}

.mdh-site-header,.mdh-site-header *{box-sizing:border-box}
.mdh-site-header{position:relative;z-index:9990;width:100%;font-family:Inter,Roboto,Arial,sans-serif;color:var(--mdh-text)}
.mdh-site-header a{text-decoration:none}
.mdh-header-container{width:min(var(--mdh-header-width),calc(100% - 40px));margin:0 auto}

.mdh-topbar{background:var(--mdh-primary-dark);color:#fff;font-size:14px}
.mdh-topbar-inner{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.mdh-topbar-left,.mdh-topbar-right{display:flex;align-items:center;gap:22px}
.mdh-topbar a,.mdh-topbar-hours{display:inline-flex;align-items:center;gap:7px;color:rgba(255,255,255,.92)}
.mdh-topbar a:hover{color:#fff}

.mdh-navbar{position:sticky;top:0;width:100%;background:rgba(255,255,255,.98);border-bottom:1px solid rgba(36,51,61,.07);transition:box-shadow .2s ease,background .2s ease}
.mdh-navbar.is-scrolled{background:#fff;box-shadow:0 10px 35px rgba(25,62,76,.10)}
.admin-bar .mdh-navbar{top:32px}
.mdh-navbar-inner{height:82px;display:flex;align-items:center;justify-content:space-between;gap:30px}
.mdh-logo{flex:0 0 auto;display:flex;align-items:center}
.mdh-logo img{display:block;width:190px;max-width:100%;height:auto}

.mdh-desktop-nav{flex:1;display:flex;justify-content:center}
.mdh-desktop-nav>ul{display:flex;align-items:center;gap:2px;margin:0;padding:0;list-style:none}
.mdh-desktop-nav li{position:relative;list-style:none}
.mdh-desktop-nav>ul>li>a,.mdh-nav-trigger{min-height:48px;display:flex;align-items:center;gap:5px;padding:10px 13px;border:0;background:transparent;color:var(--mdh-text);font:inherit;font-size:16px;font-weight:700;cursor:pointer;white-space:nowrap;transition:color .18s ease}
.mdh-desktop-nav>ul>li>a:hover,.mdh-nav-trigger:hover,.mdh-has-menu.is-open>.mdh-nav-trigger{color:var(--mdh-primary)}

.mdh-dropdown{position:absolute;top:calc(100% + -7px);left:50%;z-index:30;opacity:0;visibility:hidden;pointer-events:none;transform:translate(-50%,10px);transition:opacity .18s ease,transform .18s ease,visibility .18s ease}
.mdh-has-menu:hover>.mdh-dropdown,.mdh-has-menu:focus-within>.mdh-dropdown,.mdh-has-menu.is-open>.mdh-dropdown{opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%,0)}
.mdh-mega-menu{width:min(760px,80vw);display:grid;grid-template-columns:240px 1fr;padding:16px;border:1px solid var(--mdh-border);border-radius:20px;background:#fff;box-shadow:var(--mdh-shadow-lg)}
.mdh-mega-intro{padding:18px;border-radius:14px;background:linear-gradient(145deg,#edf8f8,#f7fcfd)}
.mdh-mega-intro>span{display:block;margin-bottom:8px;color:var(--mdh-primary);font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.mdh-mega-intro strong{display:block;color:var(--mdh-text);font-size:18px;line-height:1.3}
.mdh-mega-intro p{margin:10px 0 14px;color:var(--mdh-muted);font-size:13px;line-height:1.6}
.mdh-mega-intro a{color:var(--mdh-primary-dark);font-size:13px;font-weight:800}
.mdh-mega-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:2px 0 2px 12px}
.mdh-mega-links>a{display:flex;flex-direction:column;gap:3px;padding:13px 14px;border-radius:12px;transition:background .18s ease}
.mdh-mega-links>a:hover{background:var(--mdh-soft)}
.mdh-mega-links strong{color:var(--mdh-text);font-size:13.5px}
.mdh-mega-links span{color:var(--mdh-muted);font-size:12px}

.mdh-header-actions{flex:0 0 auto;display:flex;align-items:center;gap:9px}
.mdh-header-call{width:42px;height:42px;display:none;align-items:center;justify-content:center;border:1px solid var(--mdh-border);border-radius:11px;color:var(--mdh-primary-dark);background:#fff}
.mdh-header-whatsapp,.mdh-header-cta{min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:0 14px;border-radius:11px;font-size:13px;font-weight:800;transition:transform .18s ease,background .18s ease,border-color .18s ease}
.mdh-header-whatsapp{border:1px solid var(--mdh-border);background:#fff;color:var(--mdh-primary-dark)}
.mdh-header-cta{border:1px solid var(--mdh-primary);background:var(--mdh-primary);color:#fff}
.mdh-header-whatsapp:hover,.mdh-header-cta:hover{transform:translateY(-1px)}
.mdh-header-cta:hover{background:var(--mdh-primary-dark);border-color:var(--mdh-primary-dark)}

.mdh-menu-toggle{width:44px;height:44px;display:none;place-content:center;gap:5px;padding:0;border:1px solid var(--mdh-border);border-radius:11px;background:#fff;cursor:pointer}
.mdh-menu-toggle span{display:block;width:20px;height:2px;border-radius:2px;background:var(--mdh-text)}

.mdh-mobile-overlay{position:fixed;inset:0;z-index:9997;background:rgba(7,31,42,.48);opacity:0;transition:opacity .22s ease}
.mdh-mobile-overlay.is-open{opacity:1}
.mdh-mobile-menu{position:fixed;top:0;right:0;bottom:0;z-index:9998;width:min(390px,92vw);overflow:auto;padding:22px;background:#fff;box-shadow:-18px 0 50px rgba(13,44,58,.18);transform:translateX(105%);transition:transform .24s ease}
.mdh-mobile-menu.is-open{transform:translateX(0)}
.mdh-menu-open{overflow:hidden}
.mdh-mobile-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:17px;border-bottom:1px solid var(--mdh-border)}
.mdh-mobile-logo img{display:block;width:160px;height:auto}
.mdh-mobile-close{width:42px;height:42px;border:1px solid var(--mdh-border);border-radius:11px;background:#fff;color:var(--mdh-text);font-size:27px;line-height:1}
.mdh-mobile-nav{display:grid;padding:16px 0}
.mdh-mobile-nav>a,.mdh-mobile-nav summary{display:flex;align-items:center;justify-content:space-between;min-height:48px;padding:10px 2px;border-bottom:1px solid #edf2f4;color:var(--mdh-text);font-size:15px;font-weight:750;cursor:pointer;list-style:none}
.mdh-mobile-nav summary::-webkit-details-marker{display:none}
.mdh-mobile-nav summary:after{content:"+";color:var(--mdh-primary);font-size:21px}
.mdh-mobile-nav details[open] summary:after{content:"−"}
.mdh-mobile-submenu{display:grid;padding:8px 0 10px 16px}
.mdh-mobile-submenu a{padding:8px 0;color:var(--mdh-muted);font-size:13.5px;font-weight:600}
.mdh-mobile-actions{display:grid;gap:9px;padding-top:8px}
.mdh-mobile-actions a{min-height:48px;display:flex;align-items:center;justify-content:center;border-radius:11px;font-size:14px;font-weight:800}
.mdh-mobile-primary{background:var(--mdh-primary);color:#fff}
.mdh-mobile-secondary{border:1px solid var(--mdh-border);background:#fff;color:var(--mdh-primary-dark)}

@media(max-width:1150px){
  .mdh-desktop-nav>ul>li>a,.mdh-nav-trigger{padding-left:9px;padding-right:9px;font-size:13px}
  .mdh-header-whatsapp{display:none}
}

@media(max-width:960px){
  .mdh-topbar-hours,.mdh-topbar-right{display:none}
  .mdh-topbar-inner{justify-content:center}
  .mdh-desktop-nav{display:none}
  .mdh-menu-toggle{display:grid}
  .mdh-header-call{display:flex}
  .mdh-navbar-inner{height:74px}
}

@media(max-width:767px){
  .mdh-header-container{width:calc(100% - 24px)}
  .mdh-topbar{display:none}
  .mdh-logo img{width:155px}
  .mdh-header-call{display:none}
  .mdh-header-cta{min-height:40px;padding:0 11px;font-size:12px}
  .admin-bar .mdh-navbar{top:46px}
}

@media(max-width:430px){
  .mdh-header-cta{display:none}
}

.mdh-header-cta:hover {
    color: #fff;
}
li.mdh-has-menu button.mdh-nav-trigger
 {
    background: transparent;
}
li.mdh-has-menu button.mdh-nav-trigger {
    padding-top: 30px;
    padding-bottom: 30px;
}
button.mdh-nav-trigger span {
    display: flex;
    position: absolute;
    bottom: 34px;
    right: 15px;
}
.mdh-navbar-inner i.fa-solid.fa-chevron-down {
    top: -12px;
    font-weight: bolder;
    font-size: 10px;
    position: absolute;
    right: -4px;
}
button.mdh-nav-trigger
 {
    margin-right: 15px;
}