/* ── Site Header: blue top bar + white main header ── */
.site-header-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  font-family: 'Poppins', Arial, sans-serif;
}

/* Top bar */
.site-topbar {
  background: #002969;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 6%;
}
.site-topbar-fact {
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
}
/* Mobile-only replacement for the top bar contents */
.site-topbar-rating {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}
.site-topbar-stars { display: inline-flex; gap: 1px; }
.site-topbar-stars svg { width: 14px; height: 14px; display: block; color: #fff; }
.site-socials {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.site-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff !important;
  transition: background 0.2s;
}
.site-socials a:hover { background: rgba(255,255,255,0.14); }
.site-socials a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.site-socials svg { width: 19px; height: 19px; display: block; }

/* Main header */
.site-header {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  padding: 0.75rem 6%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.site-header > * { min-width: 0; }
.site-logo { display: flex; flex: 0 0 auto; }
.site-logo img { height: 80px; width: auto; display: block; }
.site-brand {
  flex: 0 1 230px;
  min-width: 155px;
  line-height: 1.35;
  color: #002969;
}
.site-brand strong { display: block; font-size: 1rem; font-weight: 700; }
.site-brand small { display: block; margin-top: 0.35rem; font-size: 0.72rem; color: #566174; }
.site-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #002969;
  white-space: nowrap;
}
.site-rating-stars { display: inline-flex; gap: 1px; }
.site-rating-stars svg { width: 13px; height: 13px; display: block; }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
}
.site-nav a {
  color: #002969 !important;
  text-decoration: none !important;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.2s;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: #ea0000 !important; }

.site-header-phone {
  color: #002969 !important;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none !important;
}
.site-header-phone:hover { color: #ea0000 !important; }

.site-book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ea0000;
  color: #fff !important;
  border: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.85rem 1.5rem;
  border-radius: 50px;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s;
}
.site-book-btn:hover { background: #cd0000; }

.page { overflow-x: clip !important; overflow-y: visible !important; padding-top: 0 !important; background: #000; }

/* Laptop: nav drops to its own row under the header */
@media (max-width: 1200px) {
  .site-header { flex-wrap: wrap; gap: 0.6rem 1.25rem; }
  .site-brand { flex: 1; }
  .site-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    border-top: 1px solid #e5e7eb;
    padding-top: 0.6rem;
  }
}

/* Phone: compact grid, nav scrolls sideways */
@media (max-width: 700px) {
  .site-topbar { justify-content: center; padding: 0.2rem 4%; }
  .site-topbar-fact { display: none; }
  /* 44px tap targets, the minimum recommended for touch */
  .site-socials { width: 100%; justify-content: space-evenly; gap: 0.25rem; }
  .site-socials a { width: 44px; height: 44px; }
  .site-socials svg { width: 22px; height: 22px; }

  .site-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: 0.6rem;
    row-gap: 0.15rem;
    padding: 0.4rem 4%;
  }
  .site-logo { grid-column: 1; grid-row: 1 / 3; }
  .site-logo img { height: 50px; }
  .site-brand { grid-column: 2; grid-row: 1; min-width: 0; align-self: end; }
  .site-brand strong { font-size: 0.8rem; }
  .site-brand small,
  .site-rating { display: none; }
  .site-header-phone { grid-column: 2; grid-row: 2; align-self: start; font-size: 0.8rem; }
  .site-book-btn { grid-column: 3; grid-row: 1 / 3; font-size: 0.8rem; padding: 0.65rem 0.9rem; }
  .site-nav {
    grid-column: 1 / -1;
    grid-row: 3;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    gap: 1.1rem;
    margin-top: 0.3rem;
    padding: 0.45rem 0 0.15rem;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { font-size: 0.78rem; }
}

/* Old-header spacer from style.css (.section-mobile-padding adds 80px on phones).
   site-header.js already offsets .page, so the margin only shows the page background as a black bar. */
@media (max-width: 768px) {
  .page .section-mobile-padding { margin-top: 0 !important; }
}
