/* Shared stylesheet moved out of inline <style> blocks so browsers cache it.
   Used by: partials/nav-head.html */

    #nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 1000;
      background: transparent;
      transition: background 0.35s ease, border-color 0.35s ease;
    }
    #nav.scrolled {
      background: #F7F5EF;
      border-bottom: 1px solid rgba(0,0,0,0.08);
    }
    #nav.dark {
      background: #1a1a1a;
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    #nav.dark .nav-inner { background: transparent; border-color: transparent; }
    #nav.dark .nav-logo-img { filter: none; }
    #nav.dark .nav-pill-link,
    #nav.dark .nav-pill-trigger { color: rgba(255,255,255,0.9); }
    #nav.dark .nav-pill-link:hover,
    #nav.dark .nav-pill-trigger:hover { color: #fff; background: none; }
    #nav.dark .nav-phone { color: #fff; }
    #nav.dark .hamburger span { background: #fff; }
    .nav-wait-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; }
    .nav-callrow { display: flex; flex-direction: row-reverse; align-items: center; gap: 12px; }
    .nav-clock { display: flex; align-items: center; gap: 6px; font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 0.02em; color: rgba(255,255,255,0.55); white-space: nowrap; line-height: 1; }
    .nav-clock-arrow { width: 13px; height: 13px; flex-shrink: 0; display: block; opacity: 0.85; }
    .nav-wait-div { width: 100%; height: 1px; background: rgba(255,255,255,0.12); margin: 5px 0; }
    .nav-wait-inline { display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 500; letter-spacing: 0.05em; color: var(--stone-lt); white-space: nowrap; }
    @media(max-width: 860px) { .nav-wait-inline { display: none; } }
    .nav-wait-dot { width: 5px; height: 5px; border-radius: 50%; background: #22c55e; flex-shrink: 0; animation: dotBlink 2s ease-in-out infinite; }
    @keyframes dotBlink { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
    .nav-logo-img { transition: filter 0.4s ease; }
    .nav-pill-link, .nav-pill-trigger, .nav-phone { transition: color 0.4s ease, background 0.18s ease; }
    .hamburger span { transition: background 0.4s ease; }
    .nav-inner { display: flex; align-items: center; gap: 20px; background: transparent; border: none; border-radius: 0; padding: 0 calc((100% - 1200px) / 2 + 32px); height: 90px; overflow: visible; transition: background 0.4s ease; }
    .nav-logo { display: flex; align-items: center; flex-shrink: 0; }
    .nav-logo-img { height: 64px; width: auto; display: block; filter: invert(1); }
    .nav-pill { flex: 1; display: flex; align-items: center; justify-content: center; gap: 0; border-radius: 0; padding: 5px; margin: 0 24px; position: relative; }
    @media(max-width: 960px) { .nav-pill { display: none; } }
    .nav-pill-item { position: relative; display: flex; align-items: center; }
    .nav-pill-link, .nav-pill-trigger { display: flex; align-items: center; gap: 5px; padding: 7px 15px; font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(15,15,15,0.85); border-radius: 0; transition: color 0.18s ease, background 0.18s ease; white-space: nowrap; background: none; border: none; cursor: pointer; }
    .nav-pill-link:hover, .nav-pill-trigger:hover, .nav-pill-item.open .nav-pill-trigger { color: var(--charcoal); background: none; }
    .nav-pill-chevron { width: 10px; height: 10px; flex-shrink: 0; opacity: 0.45; transition: transform 0.22s ease; }
    .nav-pill-item.open .nav-pill-chevron { transform: rotate(180deg); opacity: 0.8; }
    .nav-pill-sep { display: none; }
    .nav-pill-drop { position: absolute; top: calc(100% + 20px); left: 50%; transform: translateX(-50%) translateY(-6px) scale(0.97); transform-origin: top center; min-width: 180px; background: rgba(0,0,0,0.97); border: 1px solid rgba(255,255,255,0.1); border-radius: 0; padding: 6px; display: flex; flex-direction: column; gap: 1px; opacity: 0; pointer-events: none; transition: opacity 0.22s var(--ease-out-expo), transform 0.22s var(--ease-out-expo); z-index: 500; box-shadow: 0 24px 60px rgba(0,0,0,0.55); backdrop-filter: blur(12px); }
    .nav-pill-item.open .nav-pill-drop { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); pointer-events: all; }
    #pillHome > .nav-pill-drop { left: 0; transform: translateX(0) translateY(-6px) scale(0.97); transform-origin: top left; }
    #pillHome.open > .nav-pill-drop { transform: translateX(0) translateY(0) scale(1); }
    .nav-pill-drop-item { display: flex; white-space: nowrap; align-items: center; justify-content: space-between; padding: 10px 14px; font-size: 12px; font-weight: 400; letter-spacing: 0.06em; color: rgba(255,255,255,0.5); border-radius: 0; transition: background 0.15s ease, color 0.15s ease; }
    .nav-pill-drop-item::after { content: '→'; font-size: 11px; opacity: 0; transform: translateX(-4px); transition: all 0.15s ease; }
    .nav-pill-drop-item:hover { background: rgba(255,255,255,0.07); color: var(--white); }
    .nav-pill-drop-item:hover::after { opacity: 0.5; transform: none; }
    .nav-pill-drop-cta { background: var(--red); color: #fff; font-weight: 600; }
    .nav-pill-drop-cta:hover { background: #C02020; color: #fff; }
    .nav-loc-badge { display:inline-flex; align-items:center; justify-content:center; width:16px; height:16px; border-radius:50%; background:var(--red); color:#fff; font-size:9px; font-weight:700; margin-left:3px; line-height:1; }
    .nav-pill-sub-item { position: relative; }
    .nav-pill-sub-trigger { display: flex; align-items: center; justify-content: flex-start; gap: 8px; }
    .nav-sub-chevron { width: 10px; height: 10px; opacity: 0.45; flex-shrink: 0; }
    .nav-pill-sub-drop { position: absolute; left: calc(100% + 6px); top: -8px; background: rgba(24,24,28,0.96); border-radius: 14px; padding: 8px; min-width: 200px; box-shadow: 0 24px 60px rgba(0,0,0,0.55); backdrop-filter: blur(12px); opacity: 0; transform: translateX(4px) scale(0.97); pointer-events: none; transition: opacity 0.18s ease, transform 0.18s ease; }
    .nav-pill-sub-item.open .nav-pill-sub-drop { opacity: 1; transform: translateX(0) scale(1); pointer-events: all; }
    .nav-pill-drop-divider { height: 1px; background: rgba(255,255,255,0.07); margin: 4px 0; }
    .nav-right { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
    .nav-phone { font-size: 15px; font-weight: 500; color: var(--charcoal); display: none; letter-spacing: 0.02em; }
    @media(min-width: 860px) { .nav-phone { display: block; } }
    .nav-phone-mobile { display: none; }
    .nav-clock-mobile { display: none; }
    @media(max-width: 960px) {
      .nav-clock-mobile { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; margin: 0 auto; color: rgba(255,255,255,0.92); font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 0.02em; line-height: 1.25; white-space: nowrap; flex-shrink: 1; min-width: 0; }
      .nav-clock-mobile .ncm-line { display: block; }
      .nav-clock-mobile .js-clock { font-weight: 700; }
      .nav-phone-mobile { display: inline-flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; margin: 0 16px 0 10px; }
      .nav-phone-mobile svg { width: 24px; height: 24px; opacity: 1; flex-shrink: 0; }
    }
    @media(max-width: 400px) { .nav-clock-mobile { font-size: 10.5px; } }
    .nav-cta { padding: 10px 22px; font-size: 13px; font-weight: 500; letter-spacing: 0.02em; }
    .hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; flex-shrink: 0; position: relative; z-index: 1; margin-right: 4px; }
    .hamburger span { display: block; width: 24px; height: 2px; background: var(--charcoal); border-radius: 0; transition: all 0.3s ease; }
    @media(max-width: 860px) { .hamburger { display: flex; } .nav-inner .nav-right-actions { margin-left: auto; } }
    body::after { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 9999; opacity: 0.028; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='320' height='320' filter='url(%23g)'/%3E%3C/svg%3E"); background-size: 320px 320px; }
    .mobile-menu { display: none; position: fixed; inset: 0; background: #0f0f0f; z-index: 1100; flex-direction: column; opacity: 0; transition: opacity 0.25s ease; }
    .mobile-menu.open { display: flex; }
    .mobile-menu.visible { opacity: 1; }
    .mobile-menu-header { display: flex; align-items: center; justify-content: space-between; padding: 0 20px;
      height: 64px; flex-shrink: 0; }
    .mobile-menu-logo { height: 36px;
      position: relative;
      top: 3px; width: auto; filter: none; }
    .mobile-close { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,0.08); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; border: none; flex-shrink: 0; }
    .mobile-close:hover { background: rgba(255,255,255,0.14); }
    .mobile-menu-links { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 0 32px; gap: 0; }
    .mobile-menu-links a { font-family: var(--sans); font-size: 14px; font-weight: 500; text-transform: uppercase; color: rgba(255,255,255,0.7); letter-spacing: 0.06em; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.07); display: block; transition: color 0.15s ease, padding-left 0.15s ease; }
    .mobile-menu-links a:first-child { border-top: 1px solid rgba(255,255,255,0.07); }
    .mobile-menu-links a:hover { color: #fff; padding-left: 6px; }
    .mm-loc-item{border-bottom:1px solid rgba(255,255,255,0.07)}.mm-loc-trigger{display:flex;align-items:center;justify-content:space-between;width:100%;background:none;border:none;cursor:pointer;font-family:var(--sans);font-size:14px;font-weight:500;text-transform:uppercase;color:rgba(255,255,255,0.7);letter-spacing:0.06em;padding:18px 0;text-align:left;transition:color 0.15s ease}.mm-loc-trigger:hover{color:#fff}.mm-loc-chev{width:14px;height:14px;flex-shrink:0;opacity:0.5;transition:transform 0.22s ease}.mm-loc-item.open .mm-loc-chev{transform:rotate(180deg)}.mm-loc-panel{max-height:0;overflow:hidden;transition:max-height 0.28s ease;display:flex;flex-direction:column}.mm-loc-item.open .mm-loc-panel{max-height:600px}.mm-loc-panel a{font-family:var(--sans);font-size:13px!important;font-weight:400;letter-spacing:0.04em;color:rgba(255,255,255,0.5)!important;padding:12px 0 12px 20px!important;border-bottom:none!important}.mm-loc-panel a:first-child{border-top:none!important}.mm-loc-panel a:hover{color:#fff!important;padding-left:26px!important}.mm-panel-cta{margin-top:4px;color:#e03030!important;font-size:13px!important}.mm-panel-cta:hover{color:#ff5555!important}
    .mm-city-item{border-top:1px solid rgba(255,255,255,0.05)}.mm-city-item:first-child{border-top:none}.mm-city-trigger{display:flex;align-items:center;justify-content:space-between;width:100%;background:none;border:none;cursor:pointer;font-family:var(--sans);font-size:11px;font-weight:600;text-transform:uppercase;color:rgba(255,255,255,0.35);letter-spacing:0.09em;padding:13px 0 13px 20px;text-align:left;transition:color 0.15s ease}.mm-city-trigger:hover{color:rgba(255,255,255,0.65)}.mm-city-chev{width:11px;height:11px;flex-shrink:0;opacity:0.4;margin-right:4px;transition:transform 0.2s ease}.mm-city-item.open .mm-city-chev{transform:rotate(180deg);opacity:0.7}.mm-city-item.open .mm-city-trigger{color:rgba(255,255,255,0.65)}.mm-city-panel{max-height:0;overflow:hidden;transition:max-height 0.25s ease;display:flex;flex-direction:column}.mm-city-item.open .mm-city-panel{max-height:260px}.mm-city-panel a{font-family:var(--sans);font-size:12px!important;font-weight:400;letter-spacing:0.04em;color:rgba(255,255,255,0.45)!important;padding:9px 0 9px 36px!important;border-bottom:none!important}.mm-city-panel a:first-child{border-top:none!important;padding-top:4px!important}.mm-city-panel a:last-child{padding-bottom:12px!important}.mm-city-panel a:hover{color:#fff!important;padding-left:42px!important}
    .mobile-menu-footer { padding: 24px 32px 40px; flex-shrink: 0; }
    .mobile-menu-footer .btn { width: 100%; justify-content: center; font-size: 14px; padding: 16px; }
