.mobile-menu-header,
.mobile-menu-backdrop { display: none; }
.mobile-menu-links { display: contents; }

@media (max-width: 767px) {
  .site-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 36px;
    padding-inline: 24px;
    padding-bottom: 40px;
    text-align: left;
  }
  .footer-grid > .footer-brand,
  .footer-grid > .footer-col:nth-child(2) { grid-column: 1 / -1; }
  .footer-grid > * { min-width: 0; }
  .site-footer .footer-col:nth-child(2) ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
  .site-footer .footer-brand { gap: 18px; justify-items: start; }
  .site-footer .footer-logo { width: 180px; }
  .site-footer .footer-brand p { max-width: 100%; margin: 0; font-size: 15px; line-height: 1.75; }
  .site-footer .footer-socials { gap: 14px; padding-top: 2px; }
  .site-footer .footer-hours-text { font-size: 13px; line-height: 1.65; }
  .site-footer .footer-open-status { font-size: 14px; }
  .site-footer .footer-col { gap: 14px; }
  .site-footer .footer-col h4 { margin: 0; font-size: 13px; line-height: 1.5; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
  .site-footer .footer-col:nth-child(n+3) > h4 { min-height: 39px; }
  .site-footer .footer-col ul { gap: 4px; }
  .site-footer .footer-col ul li a { min-height: 44px; max-width: 100%; padding-block: 7px; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
  .site-footer .footer-contact-list { gap: 16px; }
  .site-footer .footer-contact-item { align-items: flex-start; gap: 8px; min-height: 44px; padding-block: 7px; }
  .site-footer .footer-contact-item :is(span, small) { font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
  .site-footer .footer-contact-item > :is(div, span) { min-width: 0; }
  .site-footer .footer-ci-icon { width: 22px; min-width: 22px; height: 24px; flex-basis: 22px; }
  .site-footer .footer-contact-img { max-width: 22px; max-height: 22px; }
  .site-footer .footer-bottom-inner { padding-inline: 24px; gap: 12px; }
  .site-footer .footer-legal { gap: 4px 16px; }
  .site-footer :is(.footer-legal-link, .footer-bottom span) { font-size: 12px; line-height: 1.6; }

  html:has(body.menu-open) { overflow: hidden; }
  #mobile-menu {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 1202;
    display: flex;
    flex-direction: column;
    gap: 0;
    width: min(82vw, 360px);
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    padding: 0;
    overflow: hidden;
    border-bottom: 0;
    border-left: 1px solid var(--premium-border);
    backdrop-filter: none;
    transform: translate3d(100%, 0, 0);
    transition: transform 320ms cubic-bezier(.2, .8, .2, 1);
  }
  #mobile-menu.open { transform: translate3d(0, 0, 0); }
  #mobile-menu[hidden], #mobile-menu-backdrop[hidden] { display: none; }
  .mobile-menu-header {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 80px;
    padding: max(16px, env(safe-area-inset-top)) 20px 16px;
    border-bottom: 1px solid var(--premium-border);
  }
  .mobile-menu-header h2 { margin: 0; font-size: 22px; line-height: 1.3; color: var(--primary-dark); }
  .mobile-menu-close { flex: 0 0 44px; width: 44px; height: 44px; border: 0; background: transparent; color: var(--primary-dark); font-size: 32px; font-weight: 400; line-height: 1; cursor: pointer; }
  .mobile-menu-close:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
  .mobile-menu-links { display: grid; flex: 1 1 auto; align-content: start; gap: 10px; min-height: 0; padding: 20px 16px max(24px, env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; }
  #mobile-menu .mobile-link { display: flex; align-items: center; min-height: 52px; padding: 14px 16px; font-size: 16px; line-height: 1.5; }
  #mobile-menu-backdrop { display: block; position: fixed; inset: 0; z-index: 1201; opacity: 0; background: rgba(0, 0, 0, .42); touch-action: none; transition: opacity 240ms ease; }
  #mobile-menu-backdrop.open { opacity: 1; }
}

@media (max-width: 359px) {
  .site-footer .footer-contact-item { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 6px; }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  #mobile-menu, #mobile-menu-backdrop { transition: none; }
}
