.rbcc-site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  background: var(--rbcc-color-header-bg);
  border-bottom: 1px solid var(--rbcc-color-border-light);
  transition: box-shadow var(--rbcc-transition);
}

.rbcc-site-header.is-scrolled { box-shadow: var(--rbcc-shadow-soft); }

.rbcc-site-header__inner {
  height: var(--rbcc-header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px; /* never let the menu touch the logo */
  padding: 0 64px;
}

.rbcc-site-branding {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: 159px;
  color: var(--rbcc-color-white);
}
.rbcc-site-branding__logo { display: block; width: 100%; height: auto; }

/* 34px gaps: with 48px the menu (1063px) never fit beside the logo in the
 * 1152px container and was squeezed against it at every desktop width. */
.rbcc-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-family: var(--rbcc-font-sans);
}
.rbcc-nav--mobile {
  display: none;
}
.rbcc-nav--mobile[hidden] {
  display: none !important;
}
.rbcc-nav__list {
  display: flex;
  list-style: none;
  gap: 34px;
  margin: 0;
  padding: 0;
}
.rbcc-nav__list a,
.rbcc-nav__link {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.90);
  text-decoration: none;
  white-space: nowrap;
}
.rbcc-nav__actions,
.rbcc-nav__mobile-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

/* Reservations button: white, rectangular, dark green text — matches Figma */
.rbcc-nav .rbcc-button--primary {
  background: var(--rbcc-color-white);
  color: var(--rbcc-color-header-bg);
  border-radius: 0;
  min-height: 49px;
  padding: 16px 40px;
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 800;
  border-color: transparent;
}
.rbcc-nav .rbcc-button--primary:hover {
  background: rgba(255, 255, 255, 0.90);
  transform: none;
}

.rbcc-mobile-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--rbcc-color-white);
}
.rbcc-mobile-toggle span {
  display: block;
  width: 17px;
  height: 1.5px;
  margin: 2.25px 0;
  background: currentColor;
}

.rbcc-mobile-toggle,
.rbcc-nav--mobile { display: none; }
.rbcc-nav--mobile[hidden] { display: none !important; }

@media (min-width: 600px) and (max-width: 1023px) {
  .rbcc-site-header__inner { height: 52px; padding: 0 32px 0 19px; }
  .rbcc-site-branding { width: 118px; }
  .rbcc-nav--desktop { gap: 0; }
  .rbcc-nav__list { display: none; }
  .rbcc-nav .rbcc-button--primary { min-height: 44px; width: 118px; padding: 0 16px; font-size: 10px; letter-spacing: 0.12em; }
  .rbcc-mobile-toggle { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; order: 2; }
  .rbcc-nav--desktop { order: 1; margin-left: auto; margin-right: 16px; }
}

@media (min-width: 600px) and (max-width: 650px) {
  .rbcc-site-header__inner { padding-inline: 16px; }
}

@media (max-width: 599px) {
  .rbcc-site-header__inner { height: 44px; padding: 0 0 0 16px; }
  .rbcc-site-branding { width: 105px; }
  .rbcc-nav--desktop { display: none; }
  .rbcc-mobile-toggle { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; }
  .rbcc-nav--mobile {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    padding: 24px 16px;
    background: var(--rbcc-color-header-bg);
    border-top: 1px solid var(--rbcc-color-border-light);
    box-shadow: var(--rbcc-shadow-soft);
  }
  .rbcc-nav--mobile[hidden] { display: none !important; }
  .rbcc-nav--mobile .rbcc-nav__list { flex-direction: column; gap: 20px; margin: 0 0 24px; }
  .rbcc-nav--mobile .rbcc-nav__list a { display: block; padding: 8px 0; font-size: 11px; }
  .rbcc-nav__mobile-actions .rbcc-button--primary { display: inline-flex; min-height: 44px; padding: 12px 24px; font-size: 10px; }
}

/* Tablet keeps the full-size touch targets but removes the cramped desktop
 * link row, so the toggle must open the same dropdown panel phones use.
 * The Reservations button already sits in the bar, so the panel omits it. */
@media (min-width: 600px) and (max-width: 1023px) {
  .rbcc-nav--mobile {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    padding: 24px 32px;
    background: var(--rbcc-color-header-bg);
    border-top: 1px solid var(--rbcc-color-border-light);
    box-shadow: var(--rbcc-shadow-soft);
  }
  .rbcc-nav--mobile[hidden] { display: none !important; }
  .rbcc-nav--mobile .rbcc-nav__list { display: flex; flex-direction: column; gap: 12px; margin: 0; }
  .rbcc-nav--mobile .rbcc-nav__list a { display: block; padding: 8px 0; font-size: 1rem; }
  .rbcc-nav--mobile .rbcc-nav__mobile-actions { display: none; }
}

/* The desktop navigation does not fit between the tablet and desktop
 * compositions at the 1024px transition. Keep the desktop header relationship
 * while reducing only its spacing until the full desktop width is available. */
@media (min-width: 1024px) and (max-width: 1100px) {
  .rbcc-site-header__inner { padding-inline: 24px; }
  .rbcc-nav--desktop { gap: 16px; }
  .rbcc-nav__list { gap: 16px; }
  .rbcc-nav__list a,
  .rbcc-nav__link { font-size: 10px; letter-spacing: .12em; }
  .rbcc-nav .rbcc-button--primary {
    min-height: 44px;
    width: 140px;
    padding: 0;
    font-size: 10px;
    letter-spacing: .12em;
  }
}

@media (min-width: 1101px) and (max-width: 1300px) {
  .rbcc-site-header__inner { padding-inline: 40px; }
  .rbcc-nav--desktop { gap: 24px; }
  .rbcc-nav__list { gap: 24px; }
  .rbcc-nav__list a,
  .rbcc-nav__link { font-size: 10px; letter-spacing: .16em; }
  .rbcc-nav .rbcc-button--primary {
    width: 160px;
    padding: 0;
    font-size: 10px;
    letter-spacing: .16em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rbcc-site-header { transition: none; }
}
