/* Shared public header: loaded by every page and the CMS publisher. */
#nav {
  box-sizing: border-box;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  height: 88px;
  padding: 12px max(28px, calc((100vw - 1600px) / 2)) !important;
  background: rgba(253,251,247,.98) !important;
  border-bottom: 1px solid rgba(42,44,46,.08);
  box-shadow: 0 4px 24px rgba(42,44,46,.04);
}
#nav > a:first-child { display:flex; align-items:center; flex:0 0 140px; }
#nav > a:first-child img { width:140px !important; height:56px !important; object-fit:contain; }
#nav > ul { display:flex !important; align-items:center; justify-content:center; gap:clamp(14px,1.35vw,24px) !important; flex:1 1 auto; margin:0; padding:0; list-style:none; }
#nav > ul > li { flex:0 0 auto; }
#nav > ul > li > a { display:flex; align-items:center; min-height:44px; padding:0 !important; font-size:11px !important; line-height:1.3; letter-spacing:.1em !important; white-space:nowrap; }
#nav > div { display:flex !important; align-items:center; gap:20px !important; flex:0 0 auto; margin:0 !important; }
#nav > div > a { white-space:nowrap; }
#nav > div > a[href^="tel:"] { display:flex; align-items:center; gap:7px; min-height:44px; font-size:13px; font-weight:600; }
#nav > div > a[href^="tel:"] svg { width:16px; height:16px; flex:none; }
#nav > div > a:not([href^="tel:"]) { display:flex; align-items:center; justify-content:center; min-height:44px; padding:12px 18px !important; font-size:10px !important; line-height:1.3; letter-spacing:.1em !important; }
#ham-btn { display:none !important; }
#nav a:focus-visible, #ham-btn:focus-visible, #mobile-drawer a:focus-visible { outline:2px solid #C85A17; outline-offset:5px; }
@media (min-width:1200px) and (max-width:1439px) {
  #nav > div > a:not([href^="tel:"]) { display:none !important; }
}
@media (min-width:1200px) {
  #mobile-drawer { display:none !important; }
}
@media (max-width:1199px) {
  #nav { height:76px; padding:10px 24px !important; gap:16px !important; }
  #nav > a:first-child { flex-basis:128px; }
  #nav > a:first-child img { width:128px !important; height:48px !important; }
  #nav > ul, #nav > div { display:none !important; }
  #ham-btn { display:flex !important; width:44px; height:44px; flex:none; margin-left:auto; }
  #mobile-drawer { padding:96px 24px 28px; gap:clamp(12px,2.6vh,24px) !important; overflow-y:auto; justify-content:flex-start !important; }
  #mobile-drawer > a { font-size:clamp(20px,3vh,30px) !important; line-height:1.3; min-height:44px; display:flex; align-items:center; flex-shrink:0; }
  #mobile-drawer:not(.open) { visibility:hidden; }
  #mobile-drawer.open { visibility:visible; }
}
@media (max-width:479px) {
  #nav { height:68px; padding:8px 16px !important; }
  #nav > a:first-child img { width:116px !important; height:44px !important; }
  #mobile-drawer { padding-top:84px; }
}
