:root {
  --site-navy: #002a5c;
  --site-deep: #001a3e;
  --site-royal: #025fdd;
  --site-sky: #91c0ff;
  --site-shell-width: 1240px;
  --site-header-height: 92px;
  --site-header-compact: 64px;
  --site-logo-width: 184px;
  --site-logo-compact: 164px;
}

.site-header,
.site-footer,
.site-header *,
.site-footer * { box-sizing: border-box; }

.site-shell {
  width: min(calc(100% - 48px), var(--site-shell-width));
  height: auto;
  margin-inline: auto;
}

.site-header {
  --site-header-height: 92px;
  --site-header-compact: 64px;
  position: fixed;
  z-index: 9999;
  inset: 0 0 auto;
  height: var(--site-header-height);
  isolation: isolate;
  color: #fff;
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: height .25s ease, background-color .25s ease, border-color .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,26,62,.48), rgba(0,26,62,.14) 68%, transparent);
  opacity: 0;
  transition: opacity .25s ease, background .25s ease;
}
.login-body .site-header {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}
.login-body .site-header::before { opacity: 1; }
.site-header.is-scrolled {
  height: var(--site-header-compact);
  background: rgba(0,26,62,.97);
  border-bottom-color: rgba(255,255,255,.16);
  box-shadow: 0 12px 34px rgba(0,20,50,.24);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.site-header.is-scrolled::before { opacity: 0; }

.site-nav,
.site-nav__inner { height: 100%; }
.site-nav__inner {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.site-brand {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 0;
  text-decoration: none;
}
.site-brand img {
  display: block;
  width: var(--site-logo-width) !important;
  max-width: none;
  height: auto !important;
  filter: drop-shadow(0 5px 16px rgba(0,0,0,.22));
  transition: width .25s ease;
}
.site-header.is-scrolled .site-brand img { width: var(--site-logo-compact) !important; }

/* Booking Suite keeps its independent return control, styled as the main-site CTA. */
.site-return,
.page-booking .site-header:not(.is-scrolled) .site-return,
.site-header.is-scrolled .site-return {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  color: #fff;
  background: var(--site-royal);
  box-shadow: 0 10px 25px rgba(0,24,68,.24);
  font: inherit;
  font-size: .82rem;
  font-weight: 790;
  line-height: 1;
  letter-spacing: -.005em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .18s ease, color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.site-return:hover,
.site-return:focus-visible {
  color: var(--site-deep);
  background: #fff;
  border-color: #fff;
  box-shadow: 0 12px 28px rgba(0,20,50,.22);
  transform: translateY(-1px);
}
.site-return:focus-visible,
.site-footer a:focus-visible,
.site-footer__toggle:focus-visible {
  outline: 3px solid var(--site-sky);
  outline-offset: 3px;
}

/* Keep the fixed shared header clear of Booking Suite page content. */
.page-cancel .simple-page,
.page-message .simple-page { padding-top: calc(var(--site-header-height) + 52px); }
.page-message .admin-shell { padding-top: calc(var(--site-header-height) + 42px); }
.admin-body .admin-layout { margin-top: var(--site-header-height); }

.site-footer {
  padding: 68px 0 24px;
  color: #fff;
  background: linear-gradient(145deg, var(--site-deep), #00295f 72%, var(--site-navy));
  border-top: 1px solid rgba(145,192,255,.2);
}
.site-footer__main {
  display: grid;
  grid-template-columns: minmax(300px,1.6fr) repeat(4,minmax(120px,.55fr));
  gap: 36px;
  align-items: start;
}
.site-footer__brand { min-width: 0; }
.site-footer__brand a {
  display: inline-flex;
  line-height: 0;
}
.site-footer__brand img {
  display: block;
  width: 110.4px;
  max-width: none;
  height: auto;
  margin-bottom: 18px;
}
.site-footer__brand p {
  max-width: 520px;
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: .8rem;
  line-height: 1.6;
}
.site-footer__column h2 {
  margin: 4px 0 15px;
  color: #fff;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.site-footer__toggle {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: default;
}
.site-footer__toggle-icon { display: none; }
.site-footer__links {
  display: grid;
  gap: 10px;
}
.site-footer__links a {
  color: rgba(255,255,255,.78);
  font-size: .82rem;
  line-height: 1.45;
  text-decoration: none;
}
.site-footer__legal-note {
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: .82rem;
  line-height: 1.45;
}
.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  color: #fff;
  text-decoration: underline;
}
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 45px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.13);
  color: rgba(255,255,255,.55);
  font-size: .72rem;
}

@media (max-width: 1100px) {
  .site-nav__inner { gap: 20px; }
  .site-footer__main { grid-template-columns: 1.4fr repeat(2,1fr); }
  .site-footer__brand { grid-column: 1 / -1; }
}

/* Booking Suite intentionally keeps its independent 720px mobile shell breakpoint. */
@media (max-width: 720px) {
  :root {
    --site-logo-width: 164px;
    --site-logo-compact: 145px;
  }
  .site-header {
    --site-header-height: 80px;
    --site-header-compact: 58px;
  }
  .site-shell { width: min(calc(100% - 32px), var(--site-shell-width)); }
  .site-nav__inner { gap: 16px; }
  .site-return,
  .page-booking .site-header:not(.is-scrolled) .site-return,
  .site-header.is-scrolled .site-return {
    min-height: 42px;
    padding: 11px 14px;
    font-size: .76rem;
  }
  .page-cancel .simple-page,
  .page-message .simple-page { padding-top: calc(var(--site-header-height) + 38px); }
  .admin-body .admin-layout { margin-top: var(--site-header-height); }

  .site-footer {
    padding: 56px 0 22px;
    text-align: center;
  }
  .site-footer__main { display: block; }
  .site-footer__brand {
    max-width: 560px;
    margin: 0 auto 34px;
  }
  .site-footer__brand a {
    display: inline-flex;
    justify-content: center;
  }
  .site-footer__brand img { margin: 0 auto 18px; }
  .site-footer__brand p {
    margin-inline: auto;
    font-size: .86rem;
    line-height: 1.7;
  }
  .site-footer__column {
    width: min(100%,560px);
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,.16);
  }
  .site-footer__column:last-of-type { border-bottom: 1px solid rgba(255,255,255,.16); }
  .site-footer__column h2 {
    margin: 0;
    font-size: inherit;
    letter-spacing: normal;
    text-transform: none;
  }
  .site-footer__toggle {
    position: relative;
    display: flex;
    min-height: 62px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 16px 52px;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 850;
    letter-spacing: .01em;
    text-align: center;
  }
  .site-footer__toggle-icon {
    position: absolute;
    right: 20px;
    display: block;
    width: 18px;
    height: 18px;
  }
  .site-footer__toggle-icon::before,
  .site-footer__toggle-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 2px;
    border-radius: 2px;
    background: var(--site-sky);
    transform: translate(-50%,-50%);
    transition: transform .2s ease;
  }
  .site-footer__toggle-icon::after { transform: translate(-50%,-50%) rotate(90deg); }
  .site-footer__column.is-open .site-footer__toggle-icon::after { transform: translate(-50%,-50%) rotate(0); }
  .site-footer__links {
    display: grid;
    gap: 0;
    padding: 0 16px 18px;
  }
  .site-footer__links[hidden] { display: none !important; }
  .site-footer__legal-note {
    padding: 11px 12px 5px;
    color: rgba(255,255,255,.72);
    font-size: .9rem;
    text-align: center;
  }
  .site-footer__links a {
    display: block;
    padding: 11px 12px;
    color: rgba(255,255,255,.82);
    font-size: .96rem;
    text-align: center;
  }
  .site-footer__links a:hover,
  .site-footer__links a:focus-visible {
    color: #fff;
    text-decoration: none;
    background: rgba(255,255,255,.06);
    border-radius: 10px;
  }
  .site-footer__bottom {
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
  }
}

@media (max-width: 420px) {
  :root {
    --site-logo-width: 145px;
    --site-logo-compact: 136px;
  }
  .site-shell { width: min(calc(100% - 24px), var(--site-shell-width)); }
  .site-return,
  .page-booking .site-header:not(.is-scrolled) .site-return,
  .site-header.is-scrolled .site-return {
    min-height: 40px;
    padding: 10px 12px;
    font-size: .71rem;
  }
  .site-footer__brand p { max-width: 34ch; }
  .site-footer__toggle { min-height: 58px; font-size: .98rem; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-header::before,
  .site-brand img,
  .site-return,
  .site-footer__toggle-icon::after { transition: none !important; }
}
