/* Shared navigation states; kept separate from the legacy SCSS bundle. */
.site-header nav, .header-actions { font-family: 'Lato', sans-serif; }
.site-header .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  color: #58413e;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
}

.site-header summary::-webkit-details-marker { display: none; }
.site-header .nav-link:hover { background: #f4f2f0; color: #3e0000; }
.site-header .nav-link.is-active,
.site-header [aria-current="page"] {
  background: #f4e9e5;
  color: #660000;
  text-decoration: underline;
  text-underline-offset: 0.4em;
  text-decoration-thickness: 2px;
}

.site-header :is(a, button, summary):focus-visible {
  outline: 2px solid #660000;
  outline-offset: 3px;
}

.site-header details[open] > summary .material-symbols-outlined {
  transform: rotate(180deg);
}

.header-actions { flex-shrink: 0; }
.header-booking { white-space: nowrap; }
.site-logo img { width: 218px; height: auto; }

/* Leave room for the menu at narrow widths, including 200% zoom. */
@media (max-width: 639px) {
  .site-header .site-logo { flex-shrink: 1; min-width: 0; }
  .site-logo img { width: 100%; max-width: 180px; }
}

#mobile-conversion-bar {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease-out;
  will-change: transform, opacity;
}

#mobile-conversion-bar.is-hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

/* Reading rhythm is independent of card padding and compact utility labels. */
main :is(h1, h2, h3) {
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.reading-content > p,
.reading-content > div > p,
.page-intro > p { max-width: 65ch; }

@media (max-width: 767px) {
  .quick-info > div { flex-direction: column; align-items: flex-start; }
}

/* Prices move below the description instead of squeezing larger reading text. */
.pricing-summary > div { flex-wrap: wrap; gap: 1rem; }
.pricing-summary > div > div:first-child { flex: 1 1 14rem; min-width: 0; }

/* A quieter closing section: columns should never squeeze their neighbours. */
.footer-columns > div { min-width: 0; }
.site-footer a { overflow-wrap: anywhere; }
.site-footer .material-symbols-outlined { flex-shrink: 0; }
.site-footer li { align-items: baseline; }
.site-footer :is(a, button):focus-visible {
  outline: 2px solid #660000;
  outline-offset: 3px;
}

/* Non-modal, opt-in analytics notice. Equal treatment of both choices. */
.analytics-consent {
  position: fixed;
  z-index: 60;
  inset: auto 1rem 6rem;
  max-width: 36rem;
  max-height: calc(100dvh - 14rem);
  overflow-y: auto;
  padding: 1.5rem;
  border: 1px solid #eae5e2;
  border-radius: 0.75rem;
  background: #fcfbfa;
  color: #58413e;
  box-shadow: 0 8px 32px rgba(62, 0, 0, 0.12);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.analytics-consent[hidden], #analytics-settings[hidden] { display: none; }
.analytics-consent h2 { color: #3e0000; font: 700 1.406rem/1.35 'Lato', sans-serif; }
.analytics-consent p { margin-top: 0.75rem; }
.analytics-consent a { text-decoration: underline; text-underline-offset: 0.2em; }
.analytics-consent-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.analytics-consent-actions button {
  flex: 1 1 12rem;
  min-height: 44px;
  padding: 0.625rem 1rem;
  border: 1px solid #660000;
  border-radius: 0.5rem;
  color: #660000;
  background: #f4e9e5;
  font: 700 0.9375rem/1.5 'Lato', sans-serif;
  cursor: pointer;
}
.analytics-consent-actions button:hover { background: #ead9d2; }
.analytics-consent :is(a, button):focus-visible { outline: 2px solid #660000; outline-offset: 3px; }
@media (min-width: 1280px) {
  .analytics-consent { bottom: 1rem; max-height: calc(100dvh - 10rem); }
}

/* Anchor targets remain visible below the fixed 112px header. */
html { scroll-padding-top: 8rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
