:root { --accent: #004aad; --accent-ink: #004aad; --accent-2: #3D7BD1; --header-h: 72px; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: #FFFFFF; color: #002961; font-family: 'Geist', 'Helvetica Neue', Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--accent-ink, #004aad); text-decoration: none; }
a:hover { color: #002961; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid #004aad; outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 300; background: #002961; color: #FFFFFF; padding: 10px 14px; border-radius: 8px; font-size: 14px; }
.skip-link:focus { top: 12px; color: #FFFFFF; }
details summary { min-height: 44px; }
details summary::-webkit-details-marker { display: none; }
details[open] summary span { transform: rotate(45deg); }
details summary span { transition: transform .2s ease; }
details[open] > div { animation: faqIn .28s ease both; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pulseDot { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
input[type="range"] { accent-color: var(--accent-ink, #004aad); height: 28px; cursor: pointer; }
output { font: inherit; }
[data-nav] a, [data-header-cta] a { white-space: nowrap; }

/* Analytics tabs */
.tab { padding: 10px 18px; border-radius: 7px; font-size: 14px; cursor: pointer; border: none; background: transparent; color: #5E6979; min-height: 40px; }
.tab:hover { color: #002961; }
.tab[aria-selected="true"] { background: var(--accent, #004aad); color: #FFFFFF; font-weight: 500; }

/* Header + mobile menu */
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 9px; border: 1px solid rgba(0,41,97,.16); background: #FFFFFF; color: #002961; cursor: pointer; place-items: center; padding: 0; }
.menu-btn path { stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; transition: transform .2s ease, opacity .2s ease; transform-origin: 11px 11px; }
.menu-btn[aria-expanded="true"] .l1 { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .l2 { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { display: flex; flex-direction: column; padding: 8px clamp(18px,4vw,40px) 20px; border-top: 1px solid rgba(0,41,97,.07); background: #FFFFFF; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 14px 2px; font-size: 17px; color: #002961; border-bottom: 1px solid rgba(0,41,97,.07); }
.mobile-menu a.mm-cta { margin-top: 16px; border: none; text-align: center; color: #FFFFFF; font-weight: 500; background: var(--accent, #004aad); border-radius: 10px; padding: 15px; }
@media (max-width: 940px) {
  [data-nav] { display: none !important; }
  [data-cta-secondary] { display: none !important; }
  .menu-btn { display: grid; }
}
@media (min-width: 941px) { .mobile-menu { display: none !important; } }
@media (max-width: 560px) { [data-header-book] { display: none !important; } }

/* Narrow-screen layout fixes */
@media (max-width: 560px) {
  .step { padding: 22px 0 !important; border-right: none !important; border-bottom: 1px solid rgba(0,41,97,.08); }
  .field-row { flex-wrap: wrap; gap: 2px 16px !important; padding: 12px 18px !important; }
  .field-row > span:first-child { min-width: 0 !important; flex-basis: 100%; }
}

/* Modals */
.modal { position: fixed; inset: 0; z-index: 200; background: rgba(0,20,50,.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-panel { width: 100%; background: #FFFFFF; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 40px 90px -30px rgba(0,20,50,.6); animation: msgIn .25s ease both; }
.modal-close { margin-left: auto; width: 40px; height: 40px; flex: none; border-radius: 9px; border: 1px solid rgba(0,41,97,.14); background: #FFFFFF; color: #002961; font-size: 22px; line-height: 1; cursor: pointer; }
.modal-close:hover { background: #F5F7FA; }
.legal-tab { font-size: 13.5px; padding: 8px 12px; border-radius: 8px; border: none; cursor: pointer; background: transparent; color: #002961; min-height: 36px; }
.legal-tab[aria-selected="true"] { background: #EAF0F8; }
body.locked { overflow: hidden; }

/* Booking form */
.bk-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.bk-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #4A5668; }
.bk-form .full { grid-column: 1 / -1; }
.bk-form input, .bk-form select, .bk-form textarea { font: inherit; font-size: 16px; color: #002961; padding: 11px 13px; border: 1px solid rgba(0,41,97,.18); border-radius: 10px; background: #FFFFFF; width: 100%; }
.bk-form textarea { min-height: 96px; resize: vertical; }
.bk-form input:focus, .bk-form select:focus, .bk-form textarea:focus { outline: none; border-color: #004aad; box-shadow: 0 0 0 3px rgba(0,74,173,.15); }
.btn-primary { font-size: 15px; font-weight: 500; color: #FFFFFF; padding: 14px 24px; border-radius: 10px; background: var(--accent, #004aad); border: none; cursor: pointer; }
.btn-primary:hover { filter: brightness(1.08); color: #FFFFFF; }

/* Chat */
.chat-dock { position: fixed; right: clamp(12px,2vw,24px); bottom: clamp(12px,2vw,24px); bottom: max(clamp(12px,2vw,24px), env(safe-area-inset-bottom)); z-index: 150; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; pointer-events: none; }
.chat-panel { pointer-events: auto; width: min(384px, calc(100vw - 24px)); height: min(590px, calc(100dvh - 110px)); background: #FFFFFF; border: 1px solid rgba(0,41,97,.12); border-radius: 18px; box-shadow: 0 30px 70px -20px rgba(0,41,97,.4); display: flex; flex-direction: column; overflow: hidden; animation: msgIn .25s ease both; }
.chat-panel[hidden], .chat-nudge[hidden] { display: none; }
.chat-list { flex: 1; overflow-y: auto; padding: 18px 14px; background: #F5F7FA; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.msg { max-width: 88%; padding: 10px 13px; font-size: 14px; line-height: 1.5; white-space: pre-line; animation: msgIn .3s ease both; }
.msg.bot { align-self: flex-start; background: #FFFFFF; border: 1px solid rgba(0,41,97,.1); border-radius: 14px 14px 14px 4px; color: #1F3353; }
.msg.user { align-self: flex-end; background: #004aad; color: #FFFFFF; border-radius: 14px 14px 4px 14px; }
.msg-action { align-self: flex-start; font-size: 13.5px; font-weight: 500; color: #FFFFFF; background: #004aad; border-radius: 100px; padding: 8px 14px; }
.msg-action:hover { color: #FFFFFF; filter: brightness(1.08); }
.typing { align-self: flex-start; display: flex; gap: 4px; background: #FFFFFF; border: 1px solid rgba(0,41,97,.1); border-radius: 14px 14px 14px 4px; padding: 13px 14px; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: #004aad; animation: pulseDot 1s ease-in-out infinite; }
.typing span:nth-child(2) { animation-delay: .2s; } .typing span:nth-child(3) { animation-delay: .4s; }
.chips { display: flex; gap: 6px; padding: 10px 14px 0; background: #FFFFFF; border-top: 1px solid rgba(0,41,97,.08); overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; font-size: 12.5px; color: #004aad; background: #FFFFFF; border: 1px solid rgba(0,74,173,.3); border-radius: 100px; padding: 7px 11px; cursor: pointer; white-space: nowrap; }
.chip:hover { background: rgba(0,74,173,.07); }
.chat-form { display: flex; gap: 8px; padding: 10px 14px 14px; background: #FFFFFF; }
.chat-form input { flex: 1; min-width: 0; font: inherit; font-size: 16px; color: #002961; padding: 11px 13px; border: 1px solid rgba(0,41,97,.16); border-radius: 10px; outline: none; }
.chat-form input:focus { border-color: #004aad; }
.chat-form button { font-size: 14px; font-weight: 500; color: #FFFFFF; background: #004aad; border: none; border-radius: 10px; padding: 0 16px; cursor: pointer; }
.chat-nudge { pointer-events: auto; display: flex; gap: 10px; align-items: flex-start; max-width: 270px; background: #FFFFFF; border: 1px solid rgba(0,41,97,.12); border-radius: 14px; padding: 12px 12px 12px 14px; box-shadow: 0 18px 40px -18px rgba(0,41,97,.4); animation: msgIn .35s ease both; }
.chat-fab { pointer-events: auto; width: 58px; height: 58px; border-radius: 50%; border: none; background: #004aad; cursor: pointer; display: grid; place-items: center; box-shadow: 0 14px 34px -10px rgba(0,74,173,.65); }
.chat-fab:hover { filter: brightness(1.08); }
.chat-fab .ic-close, .chat-fab[aria-expanded="true"] .ic-open { display: none; }
.chat-fab[aria-expanded="true"] .ic-close { display: block; }
@media (max-width: 480px) {
  .chat-panel { width: calc(100vw - 24px); height: calc(100dvh - 100px); }
}

/* Reveal on scroll */
.js [data-reveal].pre { opacity: 0; transform: translateY(16px); }
.js [data-reveal] { transition: opacity .6s cubic-bezier(.22,.6,.2,1), transform .6s cubic-bezier(.22,.6,.2,1); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal].pre { opacity: 1; transform: none; }
}

/* Hover states from the design */
.hv0:hover{color:#002961 !important}
.hv1:hover{background:rgba(0,41,97,.06) !important}
.hv2:hover{filter:brightness(1.08) !important}
.hv3:hover{color:#004aad !important}
.hv4:hover{border-color:rgba(0,74,173,.45) !important;transform:translateY(-3px) !important}
.hv5:hover{background:#004aad !important;color:#EDEDED !important}
.hv6:hover{border-color:rgba(0,41,97,.22) !important}
.hv7:hover{background:#002961 !important;color:#EDEDED !important}
.hv8:hover{background:#E6EEF9 !important;color:#002961 !important}
.hv9:hover{background:rgba(255,255,255,.08) !important;color:#FFFFFF !important}

/* Comfortable tap targets */
footer a { display: inline-block; padding: 5px 0; }
footer [style*="flex-direction: column; gap: 10px"] { gap: 4px !important; }
#book button[data-open="chat"] { padding: 8px 0 3px !important; }
[style*="width: 5px; height: 5px"], [style*="width: 6px; height: 6px"], [style*="width: 9px; height: 9px"] { flex: none; }
.modal-panel:focus { outline: none; }
