/* Fullscreen mobile navigation, kept deliberately simple. */
html.mobile-menu-open { overflow: hidden; overscroll-behavior: none; }
body.mobile-menu-open { position: fixed; top: var(--mobile-menu-scroll-y, 0); left: 0; right: 0; width: 100%; overflow: hidden; }
.mobile-menu { display: none; }

@media (max-width: 1024px) {
  .menu-toggle { border: 0; border-radius: 0; background: transparent; color: white; }
  .mobile-menu {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--blue);
    color: white;
    font-family: var(--font-brand);
  }
  .mobile-menu[open] { display: block; animation: menu-appear .16s ease-out; }
  .mobile-menu::backdrop { background: var(--blue); }
  .mobile-menu__inner {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    padding: max(20px, env(safe-area-inset-top)) clamp(24px, 6vw, 48px) max(24px, env(safe-area-inset-bottom));
  }
  .mobile-menu__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 44px; }
  .mobile-menu__brand { display: flex; align-items: center; width: 150px; min-height: 44px; }
  .mobile-menu__brand img { display: block; width: 100%; height: auto; }
  .mobile-menu__close { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px; padding: 10px; border: 0; background: transparent; color: inherit; }
  .mobile-menu__close svg { width: 20px; height: 20px; }
  .mobile-menu__close svg path { stroke-width: 1.4; }
  .mobile-menu__navigation { flex: 1 0 auto; display: flex; flex-direction: column; justify-content: center; padding: 36px 0; }
  .mobile-menu__links { display: flex; flex-direction: column; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
  .mobile-menu__links li { margin: 0; padding: 0; }
  .mobile-menu__link { display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 4px 12px; color: white; font-size: clamp(30px, 5vw, 42px); font-weight: 400; line-height: 1.35; text-align: center; }
  .mobile-menu__link:hover, .mobile-menu__link:focus-visible { color: white; opacity: .72; }
  .mobile-menu__link[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; }
  .mobile-menu__footer { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 8px 0 0; }
  .mobile-menu__booking { min-height: 46px; width: min(100%, 240px); padding: 10px 24px; border: 1px solid rgba(255,255,255,.65); border-radius: 0; background: transparent; color: white; font: inherit; font-size: 16px; }
  .mobile-menu__booking:hover { background: white; color: var(--blue); }
  .mobile-menu__languages { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 24px; }
  .mobile-menu__languages a { display: inline-flex; align-items: center; min-height: 44px; color: white; opacity: .65; font-size: 14px; }
  .mobile-menu__languages a:hover, .mobile-menu__languages a:focus-visible, .mobile-menu__languages a[aria-current="true"] { color: white; opacity: 1; }
  .mobile-menu__languages a[aria-current="true"] { text-decoration: underline; text-underline-offset: 5px; }
  .mobile-menu a:focus-visible, .mobile-menu button:focus-visible { outline: 1px solid white; outline-offset: 5px; }
}

@media (max-height: 600px) and (max-width: 1024px) {
  .mobile-menu__navigation { padding: 20px 0; }
  .mobile-menu__links { gap: 2px; }
  .mobile-menu__link { min-height: 44px; font-size: 28px; }
  .mobile-menu__footer { gap: 14px; }
}

@keyframes menu-appear { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .mobile-menu[open] { animation: none; } }
