/* Physion shared shell: tokens, header, footer, buttons, sticky booking bar */
:root {
  --navy: #1E1B4B;
  --navy-mid: #2B3090;
  --navy-deep: #14123A;
  --ink: #161A33;
  --muted: #565C74;
  --cyan: #00AEEF;
  --cyan-soft: #E3F6FD;
  --coral: #FF6B4A;
  --coral-dark: #E8552F;
  --paper: #F6F7FB;
  --line: #E4E7F1;
  --ok: #16A34A;
  --wa: #25D366;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
}

.px-header, .px-foot, .px-bar, .px-btn { font-family: 'DM Sans', system-ui, sans-serif; box-sizing: border-box; }
.px-header *, .px-foot *, .px-bar * { box-sizing: border-box; }

/* Header */
.px-header { position: sticky; top: 0; z-index: 200; background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.px-header-in { max-width: 1160px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 16px; }
.px-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.px-logo img { height: 28px; width: auto; display: block; }
.px-links { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.px-links a { color: var(--navy); font-size: 15px; font-weight: 500; padding: 8px 10px; border-radius: 8px; text-decoration: none; }
.px-links a:hover { background: var(--paper); }
.px-links a[aria-current="page"] { color: var(--navy-mid); font-weight: 700; }
.px-links .px-links-book { background: var(--coral); color: #fff; font-weight: 600; padding: 9px 16px; margin-left: 6px; }
.px-links .px-links-book:hover { background: var(--coral-dark); }
.px-menu-btn { display: none; align-items: center; gap: 6px; margin-left: auto; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--navy); font: 600 14px 'DM Sans', sans-serif; cursor: pointer; }
.px-menu-btn svg { width: 22px; height: 22px; }
.px-menu-btn svg path { transition: transform .2s, opacity .2s; transform-origin: 12px 12px; }
.px-header.open .px-menu-btn .l1 { transform: translateY(5px) rotate(45deg); }
.px-header.open .px-menu-btn .l2 { opacity: 0; }
.px-header.open .px-menu-btn .l3 { transform: translateY(-5px) rotate(-45deg); }
.px-menu-btn:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
@media (max-width: 720px) {
  .px-header-in { padding: 10px 16px; gap: 8px; position: relative; }
  .px-logo img { height: 26px; }
  .px-menu-btn { display: inline-flex; }
  .px-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; margin: 0; padding: 8px 12px 14px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -18px rgba(20,18,58,.35); }
  .px-header.open .px-links { display: flex; }
  .px-links a { font-size: 17px; padding: 14px 12px; border-radius: 10px; }
  .px-links a[aria-current="page"] { background: var(--paper); }
  .px-links .px-links-book { margin: 8px 0 0; text-align: center; padding: 14px; }
}


/* Buttons */
.px-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px; border-radius: 14px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, box-shadow .15s, transform .15s; }
.px-btn:active { transform: scale(.98); }
.px-btn-book { background: var(--coral); color: #fff; box-shadow: 0 10px 24px -8px rgba(232,85,47,.55); }
.px-btn-book:hover { background: var(--coral-dark); }
.px-btn-wa { background: #fff; color: #128C3E; border-color: #BFEFD3; }
.px-btn-wa:hover { background: #F0FCF5; }
.px-btn-wa svg { width: 22px; height: 22px; }
.px-btn-light { background: #fff; color: var(--navy); }
.px-btn:focus-visible, .px-links a:focus-visible, .px-foot a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

/* Footer */
footer.px-foot { background: var(--navy-deep); color: rgba(255,255,255,.86); padding: 48px 20px 36px; text-align: left; margin: 0; }
.px-foot-in { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.px-foot img.px-foot-logo { height: 30px; width: auto; display: block; margin-bottom: 14px; }
.px-foot p { margin: 0 0 8px; font-size: 15px; line-height: 1.6; opacity: 1; }
.px-foot h3 { font-family: 'Poppins', sans-serif; font-size: 15px; font-weight: 600; color: #fff; margin: 0 0 12px; letter-spacing: 0; }
.px-foot ul { list-style: none; margin: 0; padding: 0; }
.px-foot li { margin-bottom: 8px; }
.px-foot a { color: rgba(255,255,255,.86); text-decoration: none; font-size: 15px; }
.px-foot a:hover { color: #fff; text-decoration: underline; }
.px-foot .nw { white-space: nowrap; }
.px-social { display: flex; gap: 10px; margin-top: 16px; }
.px-social a { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.px-social a:hover { background: rgba(255,255,255,.16); text-decoration: none; }
.px-social svg { width: 20px; height: 20px; }
.px-foot-legal { max-width: 1120px; margin: 32px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(255,255,255,.6); }
@media (max-width: 760px) { footer.px-foot { padding: 40px 20px 116px; } .px-foot-in { grid-template-columns: 1fr 1fr; gap: 28px; } .px-foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .px-foot-in { grid-template-columns: 1fr; gap: 24px; } .px-foot li { margin-bottom: 4px; } .px-foot li a { display: inline-block; padding: 6px 0; } }

/* Sticky booking bar (mobile) */
.px-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 300; display: none; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 10px 10px 10px 16px; box-shadow: 0 18px 40px -12px rgba(20,18,58,.35); transform: translateY(140%); visibility: hidden; transition: transform .3s ease, visibility .3s; }
.px-bar.show { transform: translateY(0); visibility: visible; }
.px-bar-txt { line-height: 1.25; }
.px-bar-txt b { display: block; font-family: 'Poppins', sans-serif; font-size: 15px; color: var(--navy); }
.px-bar-txt span { font-size: 12.5px; color: var(--muted); }
.px-bar .px-btn { margin-left: auto; min-height: 46px; padding: 10px 20px; font-size: 15px; }
@media (max-width: 760px) { .px-bar { display: flex; } }
@media (prefers-reduced-motion: reduce) { .px-bar { transition: none; } }

@media (max-width: 420px) {
  .px-btn { font-size: 15px; padding: 13px 16px; white-space: nowrap; }
  .px-btn-wa svg { width: 20px; height: 20px; }
}

/* ---------- Quick booking form (popup + book.html) ---------- */
html.bkm-lock, html.bkm-lock body { overflow: hidden; }
.bkm-wrap { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px 16px; font-family: 'DM Sans', system-ui, sans-serif; }
.bkm-wrap[hidden] { display: none; }
.bkm-backdrop { position: absolute; inset: 0; background: rgba(20,18,58,.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity .2s; }
.bkm { position: relative; width: min(520px, 100%); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); display: flex; flex-direction: column; background: #fff; color: var(--ink); border-radius: 24px; overflow: hidden; box-shadow: 0 40px 80px -20px rgba(20,18,58,.5); opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .25s, transform .28s cubic-bezier(.2,.8,.2,1); }
.bkm-wrap.show .bkm-backdrop { opacity: 1; }
.bkm-wrap.show .bkm { opacity: 1; transform: none; }
.bkm-head { flex: 0 0 auto; display: flex; align-items: flex-start; gap: 12px; padding: 20px 20px 14px 24px; border-bottom: 1px solid var(--line); }
.bkm-head h2 { font-family: 'Poppins', sans-serif; font-size: 21px; font-weight: 700; color: var(--navy); letter-spacing: -.02em; margin: 0 0 2px; line-height: 1.2; }
.bkm-head p { font-size: 14.5px; color: var(--muted); margin: 0; }
.bkm-x { margin-left: auto; flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.bkm-x svg { width: 20px; height: 20px; }
.bkm-x:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.bkm-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
@media (max-width: 600px) {
  .bkm-wrap { align-items: flex-end; padding: 0; }
  .bkm { width: 100%; max-height: 94vh; max-height: 94dvh; border-radius: 22px 22px 0 0; transform: translateY(100%); }
  .bkm-head { padding: 16px 14px 12px 18px; }
  .bkm-head h2 { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) { .bkm, .bkm-backdrop { transition: none; } }

.bkf { padding: 18px 24px 0; font-family: 'DM Sans', system-ui, sans-serif; }
.bkf-field { margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.bkf-field > label, .bkf-field legend { display: block; font-size: 14.5px; font-weight: 700; color: var(--navy); margin-bottom: 7px; padding: 0; }
.bkf-field legend span { font-weight: 400; color: var(--muted); font-size: 13.5px; margin-left: 4px; }
.bkf input:not([type=checkbox]), .bkf textarea { width: 100%; box-sizing: border-box; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; outline: none; }
.bkf textarea { resize: vertical; min-height: 76px; }
.bkf input:focus, .bkf textarea:focus { border-color: var(--navy-mid); box-shadow: 0 0 0 3px rgba(43,48,144,.12); }
.bkf [aria-invalid="true"] { border-color: #EF4444 !important; }
.bkf-phone { display: flex; gap: 8px; }
.bkf-phone span { display: flex; align-items: center; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); font-weight: 700; color: var(--navy); }
.bkf-err { color: #DC2626; font-size: 13.5px; margin: 6px 0 0; min-height: 0; }
.bkf-err:empty { display: none; }
.bkf-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bkf-chip { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px 9px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; text-align: center; transition: border-color .15s, background .15s; }
.bkf-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.bkf-ic { width: 40px; height: 44px; display: block; }
.bkf-ic svg { width: 100%; height: 100%; display: block; }
.bkf-nm { font-size: 12.5px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.bkf-chip:hover { border-color: #C9CEF3; }
.bkf-chip:has(input:checked) { border-color: var(--navy-mid); background: #EEF0FF; box-shadow: inset 0 0 0 1px var(--navy-mid); }
.bkf-chip:has(input:focus-visible) { outline: 3px solid var(--cyan); outline-offset: 2px; }
.bkf-chip:has(input:checked)::after { content: ""; position: absolute; top: 6px; right: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--navy-mid) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='M6 12.5l4 4 8-8.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat; }
.bkf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.bkf-submit { position: sticky; bottom: 0; background: #fff; margin: 0 -24px; padding: 14px 24px calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.bkf-submit .px-btn { width: 100%; }
.bkf-submit .px-btn[disabled] { opacity: .6; cursor: wait; }
.bkf-small { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; text-align: center; line-height: 1.5; }
.bkf-small a, .bkf-err a { color: var(--navy-mid); font-weight: 600; }
.bkf-err-main { text-align: center; }
.bkf-done { padding: 32px 24px 28px; text-align: center; outline: none; }
.bkf-tick { width: 72px; height: 72px; border-radius: 50%; background: var(--ok); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; animation: bkf-pop .45s cubic-bezier(.3,1.6,.5,1); }
.bkf-tick svg { width: 36px; height: 36px; }
@keyframes bkf-pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.bkf-done h3 { font-family: 'Poppins', sans-serif; font-size: 24px; color: var(--navy); margin: 0 0 4px; }
.bkf-ref { font-size: 13.5px; color: var(--muted) !important; margin: 0 0 14px !important; }
.bkf-ref b { color: var(--navy-mid); }
.bkf-done p { font-size: 16px; color: var(--ink); margin: 0 auto 22px; max-width: 34ch; line-height: 1.55; }
.bkf-done .px-btn { width: 100%; margin-bottom: 10px; }
.bkf-close-btn { background: var(--paper); color: var(--navy); }
@media (max-width: 600px) {
  .bkf { padding: 14px 16px 0; }
  .bkf-submit { margin: 0 -16px; padding: 12px 16px calc(14px + env(safe-area-inset-bottom, 0px)); }
  .bkf-ic { width: 36px; height: 40px; }
  .bkf-nm { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .bkf-tick { animation: none; } }
