/* Motorist Ally — navigation consistency patch (2026-11-08).
   Shared by homepage, Repair Packages, Used-Car Packages, Warranty Support,
   Privacy Policy and Terms pages. No form backend / email files touched. */
@media (min-width:1121px) {
  .header-inner { gap: 15px; }
  .brand { width: 147px; }
  .brand img { width: 139px; }
  .nav { gap: clamp(11px, 1.25vw, 19px); }
  .nav > a:not(.button) { white-space: nowrap; font-size: 12px; }
  .nav .button-nav { font-size: 11px; min-height: 43px; padding: 0 15px; gap: 9px; white-space: nowrap; }
}
@media (max-width:1120px) {
  .header-inner { height: 82px; }
  .brand img { width: 118px; }
  .menu-toggle { display:flex; width:43px; height:43px; flex-direction:column; align-items:center; justify-content:center; gap:6px; border:1px solid #dfe8e6; background:#fff; border-radius:7px; flex-shrink:0; }
  .menu-toggle span { width:20px; height:2px; background:#17323a; display:block; }
  .nav { display:none; position:absolute; top:82px; left:0; right:0; background:#fff; box-shadow:0 13px 22px rgba(20,42,48,.10); padding:18px 27px 24px; align-items:stretch; gap:0; flex-direction:column; max-height:calc(100dvh - 92px); overflow-y:auto; overscroll-behavior:contain; z-index:99; }
  .nav.open { display:flex; }
  .nav > a:not(.button) { font-size:15px; padding:13px 10px; border-bottom:1px solid #eef2f1; }
  .nav .button { margin-top:17px; }
  .nav a[aria-current="page"]:not(.button) { background:#e7f2fb; border-radius:5px; color:#1766a3; }
}
@media (max-width:580px) {
  .header-inner { height:75px; }
  .brand img { width:111px; }
  .nav { top:75px; padding:14px 21px 24px; max-height:calc(100dvh - 85px); }
}
