/* ==========================================================
   HEADER / NAV
   ========================================================== */
.ld-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 249, 252, 0.92);
  backdrop-filter: blur(10px);
}
.ld-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.ld-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
/* Fluid between 72px at a 360px viewport and 96px at 1200px (where .ld-nav
   stops growing), so the mark scales with the layout instead of stepping at
   breakpoints. The clamp bounds hold it steady outside that range. */
.ld-logo-img {
  height: clamp(72px, 61.7px + 2.86vw, 96px);
  width: auto;
  display: block;
}
.ld-nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 16px;
  font-weight: 500;
  color: #354a54;
}
.ld-nav-active {
  color: #0078ad;
  font-weight: 600;
}
/* A <button> (opens the enquiry dialog): reset the UA border and font. */
.ld-nav-cta {
  background: linear-gradient(135deg, #0078ad 0%, #063a52 100%);
  color: #fff;
  padding: 15px 30px;
  border: 0;
  border-radius: 100px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

/* Hamburger trigger: hidden until the mobile breakpoint takes over from
   the inline links (see the max-width:900px block below). */
.ld-nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(0, 152, 219, 0.14);
  cursor: pointer;
  flex-shrink: 0;
}
.ld-nav-toggle-bar {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #063a52;
}

/* Scrim + drawer live outside .ld-nav so they can cover the full
   viewport height regardless of the header's own box. */
.ld-nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(8, 13, 32, 0.55);
}
.ld-nav-scrim[hidden] {
  display: none;
}

.ld-mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 200;
  width: min(84vw, 360px);
  background: #063a52;
  padding: 26px 28px 40px;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
  /* box-shadow: 24px 0 60px rgba(8, 13, 32, 0.35); */
}
.ld-mobile-menu.is-open {
  transform: translateX(0);
}
.ld-mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 44px;
}
/* Scales against the drawer's own width (min(84vw, 360px)), not the header's. */
.ld-logo-img--light {
  height: clamp(56px, 16vw, 72px);
}
.ld-mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
}
.ld-mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ld-mobile-menu-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  margin: 0 -14px;
  border-radius: 10px;
  font-size: 19px;
  font-weight: 600;
  color: #fff;
}
.ld-mobile-menu-links .ld-nav-active {
  background: rgba(0, 152, 219, 0.35);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .ld-mobile-menu {
    transition: none;
  }
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 900px) {
  /* Nav collapses to a hamburger: inline links and the Book Now pill
     hide, and the toggle button opens the left-slide drawer instead. */
  .ld-nav {
    padding-left: 24px;
    padding-right: 24px;
  }
  .ld-nav-links,
  .ld-nav-cta {
    display: none;
  }
  .ld-nav-toggle {
    display: flex;
  }
  .ld-mobile-menu {
    display: block;
  }
}

@media (max-width: 560px) {
  .ld-nav {
    padding-left: 18px;
    padding-right: 18px;
  }
  .ld-mobile-menu {
    width: 88vw;
    padding: 22px 22px 32px;
  }
  .ld-mobile-menu-links a {
    font-size: 16px;
  }
}
