/* Mubo's Place. Most styling sits inline in the page markup, ported as-is from the approved
   designs. This file holds what inline styles can't do: base rules, states, breakpoints. */

:root {
  --navy: #04294D;
  --gold: #BCA470;
  --paper: #EFF0EA;
  --muted: #3D5470;
  --gold-text: #6E5A2E;
}

html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--navy); }
a { color: var(--navy); }
a:hover { color: var(--gold-text); }
img { max-width: 100%; }
summary { cursor: pointer; }
button:disabled { cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.mp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* Skip link */
.mp-skip { position: absolute; left: 16px; top: -48px; background: var(--navy); color: var(--paper); padding: 10px 16px; border-radius: 999px; z-index: 10; text-decoration: none; }
.mp-skip:focus { top: 12px; color: var(--paper); }

/* Header: full links on wide screens, a menu on phones */
.mp-menu { display: none; position: relative; }
.mp-menu > summary { list-style: none; min-height: 44px; padding: 0 4px; display: flex; align-items: center; font-size: 14px; font-weight: 500; }
.mp-menu > summary::-webkit-details-marker { display: none; }
.mp-menu-panel { position: absolute; right: 0; top: 52px; z-index: 20; background: #FFFFFF; min-width: 240px; padding: 12px 0; box-shadow: 0 12px 32px rgba(4,41,77,0.14); display: flex; flex-direction: column; }
.mp-menu-panel a { padding: 12px 20px; text-decoration: none; font-size: 15px; }
@media (max-width: 860px) {
  .mp-navlinks { display: none !important; }
  .mp-menu { display: block; }
}
@media (max-width: 420px) {
  .mp-head-book { display: none !important; }
}

/* Home booking bar */
@media (max-width: 700px) { .mp-bar-wide { display: none !important; } }
@media (min-width: 701px) { .mp-bar-phone { display: none !important; } }

/* Calendar days */
.mp-day { width: 100%; height: 40px; border: none; font-family: inherit; font-size: 14px; background: transparent; color: var(--navy); border-radius: 999px; cursor: pointer; }
.mp-day:disabled { color: rgba(4,41,77,0.32); cursor: default; }
.mp-day.is-taken { text-decoration: line-through; }
.mp-day.is-end { background: var(--navy); color: var(--paper); font-weight: 600; }
.mp-day.is-between { background: #E7DFC9; border-radius: 6px; }
.mp-day.is-leave-only { color: var(--navy); cursor: pointer; text-decoration: none; }

/* Toggle buttons (lengths of stay, filters, reasons) */
.mp-chip { min-height: 44px; padding: 0 20px; border-radius: 999px; cursor: pointer; font-family: inherit; font-size: 15px; font-weight: 500; background: transparent; color: var(--navy); border: 1px solid rgba(4,41,77,0.3); }
.mp-chip[aria-pressed="true"], .mp-chip[aria-current="page"] { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.mp-chip.on-navy { color: var(--paper); border-color: rgba(239,240,234,0.45); }
.mp-chip.on-navy[aria-pressed="true"] { background: var(--paper); color: var(--navy); border-color: var(--paper); }

/* Primary buttons */
.mp-btn { height: 52px; padding: 0 32px; border: none; background: var(--navy); color: var(--paper); font-family: inherit; font-size: 16px; font-weight: 500; border-radius: 999px; cursor: pointer; }
.mp-btn:disabled { background: rgba(4,41,77,0.25); color: rgba(4,41,77,0.7); }
.mp-btn-gold { height: 50px; border: none; background: var(--gold); color: var(--navy); font-family: inherit; font-size: 15px; font-weight: 600; border-radius: 999px; cursor: pointer; }
.mp-btn-gold:disabled { background: rgba(188,164,112,0.35); color: rgba(4,41,77,0.7); }
.mp-link-btn { min-height: 44px; padding: 0; border: none; background: transparent; font-family: inherit; font-size: 14px; color: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

/* Form messages */
.mp-error { margin: 6px 0 0; font-size: 14px; color: #9B2C1F; }
.mp-ok { margin: 6px 0 0; font-size: 14px; color: #1F5B3A; }

/* Notes article body */
.mp-prose h2 { font-weight: 400; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; letter-spacing: -0.015em; margin: 48px 0 16px; }
.mp-prose h3 { font-weight: 500; font-size: 20px; margin: 32px 0 12px; }
.mp-prose p, .mp-prose ul, .mp-prose ol { margin: 0 0 20px; }
.mp-prose img { width: 100%; height: auto; margin: 16px 0 8px; }
.mp-prose blockquote { margin: 32px 0; padding-left: 24px; border-left: 2px solid var(--gold); font-size: 22px; font-weight: 300; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
