/* The phone menu (owner-reported, 7 Nov 2026): a full-screen panel on the site's own navy, above everything (the
   WhatsApp button at 400 and the cookie banner at 1000 included). See mobile-menu.js for why it left the top bar. */
.mm {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  /* Its own ground and ink: never the page behind it. */
  background: var(--navy, #0a2540);
  color: #fff;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: env(safe-area-inset-top, 0) env(safe-area-inset-right, 0) env(safe-area-inset-bottom, 0) env(safe-area-inset-left, 0);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.mm[hidden] { display: none; }
.mm.in { opacity: 1; }

.mm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 12px 20px;
  min-height: 80px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.mm-logo { display: inline-flex; }
.mm-logo img { height: 56px; width: auto; display: block; }
.mm-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-right: -8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.mm-close:focus-visible,
.mm-links a:focus-visible,
.mm-logo:focus-visible { outline: 2px solid var(--gold, #c9a24b); outline-offset: 3px; }

.mm-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 24px 20px 40px;
}
.mm-links a {
  display: block;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}
.mm-links a:hover { color: var(--gold, #c9a24b); }
/* The booking button wears the site's own button classes (.btn .btn-gold); only its size and spacing are set here. */
.mm-links a.mm-cta {
  display: inline-flex;
  margin-top: 1.25rem;
  padding: 0.9rem 2.2rem;
  font-size: 1.05rem;
}
.mm-links a.mm-cta:hover { color: #fff; }

/* The old in-bar menu stays only on wide screens; on a phone the panel replaces it. */
@media (max-width: 900px) {
  .nav #navlinks { display: none !important; }
}
@media (min-width: 901px) {
  .mm { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .mm { transition: none; }
}
