/* ===================================================
   CANONICAL NAV — Smart Home Air & Heat
   Single source of truth for all non-homepage pages.
   =================================================== */

/* Header */
.shah-header { background: #234190; border-bottom: 3px solid #FE4A00; position: sticky; top: 0; z-index: 99998; box-shadow: 0 2px 12px rgba(0,0,0,0.08); width: 100%; }
.shah-header__inner { display: flex; align-items: center; justify-content: center; gap: 24px; max-width: 1200px; margin: 0 auto; padding: 0 20px; height: 84px; }

/* Logo */
.shah-header__logo { flex-shrink: 0; }
.shah-header__logo a { display: block; text-decoration: none; }
.shah-header__logo img { width: 180px; height: auto; display: block; }

/* Desktop Nav */
.shah-header__nav { flex: 1; display: flex; justify-content: center; overflow: visible; }
.shah-header__nav-list { display: flex; list-style: none; margin: 0; padding: 0; gap: 0; }
.shah-header__nav-item { position: relative; }

/* Pipe dividers between nav items */
.shah-header__nav-item::before { display: none !important; }
.shah-header__nav-item::after { content: ''; display: block; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 24px; background: rgba(255,255,255,0.5); }
.shah-header__nav-item:last-child::after { display: none; }

/* Nav links */
.shah-header__nav-item > a { display: block; padding: 20px 12px; font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: #ffffff; text-decoration: none; white-space: nowrap; transition: color 0.2s ease; }
.shah-header__nav-item > a:hover, .shah-header__nav-active > a { color: #FE4A00; }
.shah-header__nav-has-dropdown { padding-bottom: 10px; margin-bottom: -10px; }

/* Dropdown — opacity/visibility toggle (not display none/block) */
.shah-header__dropdown { position: absolute; top: 100%; left: 0; min-width: 220px; background: #234190; box-shadow: 0 4px 20px rgba(0,0,0,0.3); list-style: none; margin: 0; padding: 0; opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease; z-index: 99999; }
.shah-header__nav-has-dropdown:hover > .shah-header__dropdown { opacity: 1; visibility: visible; transform: translateY(0); display: block; }
.shah-header__dropdown li { margin: 0; padding: 0; }
.shah-header__dropdown li a { display: block; padding: 10px 20px; font-size: 14px; font-weight: 500; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.08); transition: background 0.15s ease; white-space: normal; line-height: 1.4; }
.shah-header__dropdown li:last-child a { border-bottom: none; }
.shah-header__dropdown li a:hover { background: #FE4A00; color: #fff; }

/* Service Areas — 2-column wide dropdown using column-count (preserves show/hide) */
.shah-header__dropdown--wide { min-width: 480px; column-count: 2; column-gap: 0; }
.shah-header__dropdown--wide li { break-inside: avoid; display: block; }

/* Phone pill */
.shah-header__right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.shah-header__phone { display: inline-flex; align-items: center; gap: 8px; background: #FE4A00; color: #fff; padding: 9px 18px; border-radius: 6px; font-weight: 700; font-size: 0.88rem; text-decoration: none; white-space: nowrap; transition: background 0.2s; }
.shah-header__phone:hover { background: #e53d22; }
.shah-header__right a[href^="tel"] { display: inline-flex; align-items: center; gap: 8px; background: #FE4A00; color: #fff; padding: 9px 18px; border-radius: 6px; font-weight: 700; font-size: 0.88rem; text-decoration: none; white-space: nowrap; transition: background 0.2s; }
.shah-header__right a[href^="tel"]:hover { background: #e53d22; }

/* Hamburger */
.shah-header__hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; margin-left: auto; }
.shah-header__hamburger-bar { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s; }

/* Mobile menu */
.shah-mobile-menu { display: none; position: fixed; inset: 0; z-index: 9998; }
.shah-mobile-menu--open { display: block; }
.shah-mobile-menu__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.shah-mobile-menu__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px,90vw); background: #0a1628; overflow-y: auto; padding-bottom: 40px; }
.shah-mobile-menu__top { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.shah-mobile-menu__close { background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; line-height: 1; padding: 0 4px; }
.shah-mobile-menu__list { list-style: none; padding: 8px 0; }
.shah-mobile-menu__parent-row { display: flex; align-items: center; justify-content: space-between; }
.shah-mobile-menu__link { display: block; padding: 14px 24px; font-size: 1rem; font-weight: 600; color: #fff; flex: 1; text-decoration: none; }
.shah-mobile-menu__toggle { background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; padding: 14px 20px; line-height: 1; }
.shah-mobile-menu__submenu { display: none; background: rgba(255,255,255,0.05); padding: 4px 0; }
.shah-mobile-menu__submenu--open { display: block; }
.shah-mobile-menu__sublink { display: block; padding: 10px 24px 10px 40px; font-size: 0.9rem; color: #fff; transition: color 0.2s; text-decoration: none; }
.shah-mobile-menu__sublink:hover { color: #FE4A00; }
.shah-mobile-menu__phone { display: flex; align-items: center; gap: 8px; margin: 20px 24px; background: #FE4A00; color: #fff; padding: 14px 20px; border-radius: 8px; font-weight: 700; font-size: 1rem; text-decoration: none; justify-content: center; }
body.shah-mobile-open { overflow: hidden; }

@media (max-width: 1000px) {
  .shah-header__nav, .shah-header__right { display: none; }
  .shah-header__hamburger { display: flex; }
}
