:root {
  --green: #0a463c;
  --green-deep: #06352e;
  --coral: #fa785a;
  --coral-hover: #f2613f;
  --ink: #0a463c;
  --muted: #5a726c;
  --line: rgba(10, 70, 60, 0.12);
  --surface: #ffffff;
  --surface-soft: #f6f8f7;
  --shadow-header: 0 1px 0 var(--line), 0 12px 40px rgba(6, 53, 46, 0.06);
  --shadow-mega: 0 28px 64px rgba(6, 53, 46, 0.16);
  --radius-btn: 999px;
  --header-h: 76px;
  --font: "Manrope", sans-serif;
  --focus: 0 0 0 3px rgba(250, 120, 90, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface-soft);
  -webkit-font-smoothing: antialiased;
}

body.nav-locked {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-header);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
}

.header-inner {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  flex-shrink: 0;
  display: inline-flex;
  border-radius: 8px;
}

.brand-logo {
  display: block;
  height: 36px;
  width: auto;
}

.nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--green);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-item.is-open > .nav-link {
  color: var(--coral);
  background: rgba(250, 120, 90, 0.08);
}

.chevron {
  transition: transform 0.2s ease;
}

.nav-item.is-open .chevron {
  transform: rotate(180deg);
}

.nav-mobile-cta {
  display: none;
}

/* ========== Mega: two-panel ========== */
.has-mega {
  position: static;
}

.mega {
  position: absolute;
  left: 50%;
  top: calc(var(--header-h) - 4px);
  width: min(920px, calc(100vw - 32px));
  transform: translate(-50%, 10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1001;
}

.nav-item.is-open > .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mega[hidden] {
  display: none;
}

.nav-item.is-open > .mega[hidden] {
  display: block;
}

.mega-inner {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-mega);
  overflow: hidden;
}

.mega-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 360px;
}

.mega-cats {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 10px;
  background: var(--surface-soft);
  border-right: 1px solid var(--line);
  overflow-y: auto;
  max-height: min(68vh, 520px);
}

.mega-cat {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--muted);
  transition: background 0.15s ease, color 0.15s ease;
}

.mega-cat-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(10, 70, 60, 0.25);
  flex-shrink: 0;
  transition: background 0.15s ease;
}

.mega-cat-arrow {
  margin-left: auto;
  opacity: 0.35;
  flex-shrink: 0;
}

.mega-cat:hover {
  color: var(--green);
  background: rgba(255, 255, 255, 0.8);
}

.mega-cat.is-active,
.mega-cat[aria-selected="true"] {
  color: var(--green);
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
}

.mega-cat.is-active .mega-cat-dot,
.mega-cat[aria-selected="true"] .mega-cat-dot {
  background: var(--coral);
}

.mega-cat.is-active .mega-cat-arrow,
.mega-cat[aria-selected="true"] .mega-cat-arrow {
  opacity: 1;
  color: var(--coral);
}

.mega-panels {
  position: relative;
  padding: 22px 26px 20px;
  overflow-y: auto;
  max-height: min(68vh, 520px);
}

.mega-panel[hidden] {
  display: none;
}

.mega-panel.is-active {
  display: block;
  animation: panelIn 0.18s ease;
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.mega-panel-head {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.mega-panel-head h3 {
  margin: 0 0 6px;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--green);
}

.mega-panel-head p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
}

.mega-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 12px;
}

.mega-links--compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mega-links a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--green);
  transition: background 0.15s ease, color 0.15s ease;
}

.mega-links a:hover {
  background: var(--surface-soft);
  color: var(--coral);
}

.mega-group-label {
  margin: 18px 0 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
}

.mega-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 22px;
  background: var(--green);
  color: #fff;
}

.mega-footer p {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0.85;
}

.mega-footer-all {
  margin-left: 6px;
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--coral);
  text-underline-offset: 3px;
}

.mega-footer-all:hover {
  color: var(--coral);
}

.mega-footer-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.mega-footer-cta:hover {
  background: var(--coral-hover);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(6, 53, 46, 0.28);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.nav-backdrop.is-visible {
  opacity: 1;
}

.nav-backdrop[hidden] {
  display: none;
}

.nav-backdrop.is-visible[hidden] {
  display: block;
}

/* ========== CTA ========== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}

.btn-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-btn);
  background: var(--coral);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 24px rgba(250, 120, 90, 0.32);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-book:hover {
  background: var(--coral-hover);
  transform: translateY(-1px);
}

.btn-book-icon {
  transition: transform 0.2s ease;
}

.btn-book:hover .btn-book-icon {
  transform: translateX(3px);
}

.btn-book--block {
  width: 100%;
  padding: 14px 18px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  place-items: center;
  gap: 5px;
  flex-direction: column;
  background: var(--surface-soft);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========== Tablet / Mobile ========== */
@media (max-width: 900px) {
  :root {
    --header-h: 64px;
  }

  /* Off-canvas nav is translated past the viewport. `clip` blocks the sideways swipe that `hidden` still allowed. */
  html,
  body {
    overflow-x: clip;
    overscroll-behavior-x: none;
  }

  .site-header {
    /* backdrop-filter would trap the fixed drawer inside the 64px bar */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 1002;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .btn-book--desktop {
    display: none;
  }

  .nav-mobile-cta {
    display: block;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: auto;
    left: 0;
    z-index: 1001;
    display: block;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    background: var(--surface);
    padding: 8px 16px 28px;
    overflow: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    visibility: hidden;
  }

  .nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 14px 14px;
    border-radius: 12px;
    font-size: 1rem;
  }

  .has-mega {
    position: relative;
  }

  .mega {
    position: static;
    left: auto;
    top: auto;
    width: 100%;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
  }

  .nav-item.is-open > .mega,
  .nav-item.is-open > .mega[hidden] {
    display: block;
    left: auto;
    width: 100%;
    transform: none;
  }

  .mega[hidden] {
    display: none;
  }

  .mega-inner {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  /* Accordion mode: each category expands its own panel under the button */
  .mega-layout {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .mega-cats {
    padding: 0;
    max-height: none;
    overflow: visible;
    background: transparent;
    border: 0;
    gap: 6px;
  }

  .mega-cat {
    background: var(--surface-soft);
    color: var(--green);
    font-size: 0.9375rem;
    padding: 13px 14px;
  }

  .mega-cat-arrow {
    transform: rotate(90deg);
    opacity: 0.55;
    transition: transform 0.2s ease;
  }

  .mega-cat.is-active .mega-cat-arrow {
    transform: rotate(-90deg);
  }

  .mega-panels {
    display: contents;
    padding: 0;
    max-height: none;
    overflow: visible;
  }

  .mega-panel {
    order: 0;
    margin: -2px 0 4px;
    padding: 4px 6px 10px 18px;
    border-left: 2px solid rgba(250, 120, 90, 0.45);
    margin-left: 14px;
  }

  .mega-panel[hidden] {
    display: none !important;
  }

  .mega-panel.is-active {
    display: block;
    animation: none;
  }

  .mega-panel-head {
    display: none;
  }

  .mega-links,
  .mega-links--compact {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .mega-links a {
    padding: 11px 12px;
    font-size: 0.9rem;
  }

  .mega-footer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    margin-top: 12px;
    border-radius: 14px;
    padding: 16px;
  }

  .header-inner {
    padding: 0 14px;
  }
}

@media (max-width: 420px) {
  .brand-logo {
    height: 30px;
  }
}
