/* ─────────────────────────────────────────
   Mobile Bottom Nav Bar — mbn.css  v1.2.0
   iOS-style glassmorphism pill
───────────────────────────────────────── */

:root {
    --mbn-accent:       #c8f04d;
    --mbn-accent-dark:  #a8cc35;
    --mbn-bg:           #0f0f0f;

    /* Glass pill */
    --mbn-glass-bg:     rgba(28, 28, 32, 0.72);
    --mbn-glass-border: rgba(255,255,255,0.13);
    --mbn-glass-shadow: 0 8px 32px rgba(0,0,0,0.38), 0 1.5px 0 rgba(255,255,255,0.07) inset;

    --mbn-text:         #ffffff;
    --mbn-muted:        rgba(255,255,255,0.48);
    --mbn-popup-bg:     rgba(22,22,26,0.92);
    --mbn-overlay:      rgba(0,0,0,0.55);
    --mbn-radius-pill:  100px;
    --mbn-radius-sheet: 28px;
}

/* ── Overlay ── */
.mbn-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--mbn-overlay);
    z-index: 99800;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: mbnFadeIn .22s ease;
}
.mbn-overlay.mbn-active { display: block; }
@keyframes mbnFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ── Popup sheet ── */
.mbn-popup {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99900;
    background: var(--mbn-popup-bg);
    backdrop-filter: blur(24px) saturate(1.6);
    -webkit-backdrop-filter: blur(24px) saturate(1.6);
    border-radius: var(--mbn-radius-sheet) var(--mbn-radius-sheet) 0 0;
    border-top: 1px solid rgba(255,255,255,0.12);
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 -12px 60px rgba(0,0,0,0.5);
    transform: translateY(100%);
    transition: transform .38s cubic-bezier(.32,1.1,.45,.98);
    padding-bottom: max(28px, env(safe-area-inset-bottom));
    font-family: -apple-system, 'SF Pro Display', 'Helvetica Neue', sans-serif;
}
.mbn-popup.mbn-active {
    display: block;
    transform: translateY(0);
}

.mbn-handle {
    width: 36px;
    height: 4px;
    background: rgba(255,255,255,0.22);
    border-radius: 99px;
    margin: 12px auto 0;
}

.mbn-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 6px;
}
.mbn-popup-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--mbn-text);
    letter-spacing: -0.02em;
}
.mbn-close {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .18s;
    padding: 0;
    flex-shrink: 0;
}
.mbn-close:hover { background: rgba(255,255,255,0.2); }
.mbn-close svg {
    width: 13px; height: 13px;
    stroke: var(--mbn-text);
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
}

/* ── Contact grid ── */
.mbn-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    padding: 12px 16px 6px;
}

.mbn-contact-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 18px 10px 14px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 18px;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s, border-color .15s, transform .12s;
    -webkit-tap-highlight-color: transparent;
}
.mbn-contact-option:hover  { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.2); text-decoration: none; }
.mbn-contact-option:active { transform: scale(0.96); }
.mbn-contact-option span   { font-size: 0.76rem; font-weight: 600; color: var(--mbn-text); letter-spacing: 0.01em; text-decoration: none; }

.mbn-cicon {
    width: 46px; height: 46px;
    border-radius: 13px;
    display: flex; align-items: center; justify-content: center;
}
.mbn-cicon svg { width: 21px; height: 21px; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mbn-cicon--phone    { background: rgba(52,199,89,0.2); }
.mbn-cicon--phone svg { stroke: #34c759; }
.mbn-cicon--whatsapp { background: rgba(37,211,102,0.2); }
.mbn-cicon--whatsapp svg { stroke: #25d366; }
.mbn-cicon--email    { background: rgba(10,132,255,0.2); }
.mbn-cicon--email svg { stroke: #0a84ff; }
.mbn-cicon--form     { background: rgba(200,240,77,0.18); }
.mbn-cicon--form svg { stroke: var(--mbn-accent); }

/* ── Accessibility panel ── */
.mbn-a11y-body { padding: 8px 16px 4px; }
.mbn-a11y-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 7px; margin-bottom: 12px; }

.mbn-a11y-btn {
    display: flex; flex-direction: column; align-items: center; gap: 5px;
    padding: 11px 5px;
    background: rgba(255,255,255,0.06);
    border: 1.5px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    cursor: pointer;
    transition: background .15s, border-color .15s, transform .12s;
    -webkit-tap-highlight-color: transparent;
}
.mbn-a11y-btn:hover  { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.2); }
.mbn-a11y-btn:active { transform: scale(0.95); }
.mbn-a11y-btn.mbn-on { background: rgba(200,240,77,0.14); border-color: var(--mbn-accent); }
.mbn-a11y-icon { font-size: 1.25rem; line-height: 1; }
.mbn-a11y-btn span:last-child { font-size: 0.68rem; font-weight: 600; color: var(--mbn-text); text-align: center; line-height: 1.2; }

.mbn-a11y-size-row {
    display: flex; align-items: center; gap: 10px;
    padding: 4px 0 12px;
    border-top: 1px solid rgba(255,255,255,0.07);
}
.mbn-size-label { flex: 1; font-size: 0.82rem; font-weight: 600; color: var(--mbn-text); text-align: center; }
.mbn-size-btn {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px; color: var(--mbn-text);
    font-size: 0.88rem; font-weight: 700; cursor: pointer;
    transition: background .15s; -webkit-tap-highlight-color: transparent;
}
.mbn-size-btn:hover { background: rgba(255,255,255,0.16); }
.mbn-size-btn--plus { font-size: 0.98rem; }

.mbn-reset-btn {
    display: block; width: 100%;
    padding: 11px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 12px;
    color: rgba(255,255,255,0.45);
    font-size: 0.82rem; font-weight: 600; cursor: pointer;
    transition: background .15s, color .15s;
    margin-bottom: 4px;
    -webkit-tap-highlight-color: transparent;
}
.mbn-reset-btn:hover { background: rgba(255,255,255,0.12); color: var(--mbn-text); }

/* ─────────────────────────────────────────
   iOS PILL NAV BAR
───────────────────────────────────────── */
#mbn-nav {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 99700;
    padding: 0 16px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    pointer-events: none;
}

.mbn-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(203, 203, 203, 0.25);
    border: 1px solid var(--mbn-glass-border);
    border-radius: var(--mbn-radius-pill);
    padding: 8px 8px;
    max-width: 400px;
    margin: 0 auto;
    pointer-events: all;
    box-shadow: var(--mbn-glass-shadow);
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
}

/* ── shared nav button ── */
.mbn-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: transparent;
    border: none;
    border-radius: 100px;
    padding: 9px 6px 8px;
    cursor: pointer;
    transition: background .15s, transform .12s;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    min-width: 0;
    text-decoration: none;
    font-family: -apple-system, 'SF Pro Text', 'Helvetica Neue', sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-top-color: rgba(255, 255, 255, 0.25);
    border-right-color: rgba(255, 255, 255, 0.25);
    border-bottom-color: rgba(255, 255, 255, 0.25);
    border-left-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.05), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}
.mbn-btn:hover  { background: rgba(255,255,255,0.09); text-decoration: none; }
.mbn-btn:active { transform: scale(0.91); }

.mbn-btn svg {
    width: 20px; height: 20px;
    stroke: var(--mbn-muted);
    stroke: #2a333f;
    fill: #2a333f;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke .18s;
    flex-shrink: 0;
}
.mbn-btn span {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.02em;
    /*color: var(--mbn-muted);*/
    color: #2a333f;
    transition: color .18s;
    white-space: nowrap;
}
.mbn-btn:hover svg  { stroke: var(--mbn-text); }
.mbn-btn:hover span { color: var(--mbn-text); }

/* ── Book Now — accent pill ── */
.mbn-btn--book {
    /*background: var(--mbn-accent) !important;*/
    border-radius: 100px !important;
    flex: 1.5;
    text-decoration: none;
    /* subtle glow */
    /*box-shadow: 0 0 18px rgba(200,240,77,0.35), 0 2px 8px rgba(0,0,0,0.25);*/
    transition: background .15s, transform .12s, box-shadow .15s !important;
}
.mbn-btn--book svg  { stroke: #111 !important; }
.mbn-btn--book span { color: #111 !important; font-size: 9.5px; font-weight: 700; }
.mbn-btn--book:hover {
    background: var(--mbn-accent-dark) !important;
    /*box-shadow: 0 0 24px rgba(200,240,77,0.5), 0 2px 8px rgba(0,0,0,0.25) !important;*/
    text-decoration: none;
}

/* ── Back to top ── */
#mbn-btn-top {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.6);
    transition: opacity .28s, transform .28s;
}
#mbn-btn-top.mbn-visible {
    opacity: 1;
    pointer-events: all;
    transform: scale(1);
}

/* ── Mobile-only ── */
@media (min-width: 769px) {
    .mbn-mobile-only { display: none !important; }
}

/* ─────────────────────────────────────────
   ACCESSIBILITY BODY CLASSES
───────────────────────────────────────── */
body.readable-font, body.readable-font * { font-family: Arial, Helvetica, sans-serif !important; }
body.grayscale { filter: grayscale(100%) !important; }
body.high-contrast, body.high-contrast * { background-color: #000 !important; color: #FFD700 !important; border-color: #FFD700 !important; }
body.negative-contrast, body.negative-contrast * { background-color: #000 !important; color: #00FFFF !important; border-color: #00FFFF !important; }
body.light-background, body.light-background * { background-color: #FFFFFF !important; color: #000000 !important; border-color: #000000 !important; }
body.high-contrast a, body.negative-contrast a, body.light-background a { color: inherit !important; text-decoration: underline !important; }
body.underline-links a { text-decoration: underline !important; }
body[data-text-size="small"]  { font-size: 90%  !important; }
body[data-text-size="medium"] { font-size: 100% !important; }
body[data-text-size="large"]  { font-size: 110% !important; }
body[data-text-size="xlarge"] { font-size: 120% !important; }

/* ── Bokun hidden trigger ── */
.mbn-bokun-hidden {
    position: absolute !important;
    width: 1px !important; height: 1px !important;
    padding: 0 !important; margin: 0 !important;
    overflow: hidden !important; clip: rect(0,0,0,0) !important;
    white-space: nowrap !important; border: 0 !important;
    pointer-events: none !important; opacity: 0 !important;
}
#mbn-book-wrap { position: relative; cursor: pointer; }
