/* ==========================================================================
   NEXTBATCH — Section layouts
   ========================================================================== */

/* ==========================================================================
   HERO (spec sections 11-13)
   ========================================================================== */

/* The hero is the one band that is still dark: it carries a photograph, and
   text over a photograph has to be light. Rather than override every rule
   inside it, the three text tokens are redefined for this subtree — so
   anything nested here reads white-on-dark without knowing it is in a hero. */
.nb-hero {
  position: relative;
  isolation: isolate;
  /* Normal section spacing. The larger padding below is nav clearance, and it
     applies only when the hero is the section at the top — otherwise it reads
     as a block of empty colour in the middle of the page. */
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
  background-color: #08291B;
  overflow: hidden;

  --nb-white: #FFFFFF;
  --nb-muted: rgba(255, 255, 255, 0.76);
  --nb-ink: #FFFFFF;
  --nb-ink-soft: rgba(255, 255, 255, 0.86);
  --nb-line-dark: rgba(255, 255, 255, 0.18);
  --nb-line-dark-strong: rgba(255, 255, 255, 0.32);
  color: #FFFFFF;
}

/* The photograph sits under a gradient that keeps the left side dark enough
   for the headline whatever the image is. An admin-supplied hero image is
   set as a background on this element; the gradient alone is what shows
   until one is. */
.nb-hero__glow {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(100deg, rgba(5, 25, 16, 0.94) 4%, rgba(5, 25, 16, 0.62) 46%,
      rgba(5, 25, 16, 0.3) 74%, rgba(5, 25, 16, 0.5) 100%),
    radial-gradient(70% 60% at 82% 10%, rgba(22, 163, 74, 0.5), transparent 70%),
    radial-gradient(60% 50% at 10% 92%, rgba(13, 90, 56, 0.75), transparent 72%);
  pointer-events: none;
}

.nb-hero__art {
  position: absolute;
  inset: auto 0 -2px 0;
  z-index: -1;
  width: 100%;
  height: auto;
  opacity: 0.28;
  pointer-events: none;
}

/* The card returns to page colours: it is a white panel sitting on the
   photograph, exactly as the reference has it. */
.nb-hero__card {
  --nb-white: #0F172A;
  --nb-muted: #64748B;
  --nb-ink: #0F172A;
  --nb-ink-soft: #334155;
  --nb-line-dark: rgba(15, 23, 42, 0.09);
  --nb-line-dark-strong: rgba(15, 23, 42, 0.16);
  color: var(--nb-ink);
}

.nb-hero__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

.nb-hero__copy > * + * { margin-top: var(--nb-s4); }

.nb-hero__title { margin-top: var(--nb-s5); }

.nb-hero__title .nb-price {
  font-size: inherit;
  letter-spacing: inherit;
}

.nb-hero__tagline {
  font-size: clamp(1.0625rem, 2.4vw, 1.375rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--nb-cyan);
}

.nb-hero__actions > * + * { margin-top: var(--nb-s5); }

.nb-hero__ticks {
  display: grid;
  gap: var(--nb-s2);
}

.nb-hero__ticks li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: var(--nb-s3);
  align-items: start;
  font-size: var(--nb-fs-sm);
  color: var(--nb-muted);
}

.nb-hero__ticks li::before {
  content: "\2713";
  color: var(--nb-success);
  font-weight: 800;
  font-size: 0.8125rem;
  line-height: 1.6;
}

.nb-hero__ticks strong { color: var(--nb-white); font-weight: 600; }

/* ---- Price card -------------------------------------------------------- */

.nb-pricecard {
  position: relative;
  padding: clamp(1.375rem, 3vw, 1.75rem);
  border-radius: var(--nb-r-lg);
  background-color: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 20px 50px -24px rgba(5, 25, 16, 0.65);
}

.nb-pricecard__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--nb-s3);
}

.nb-pricecard__name {
  font-size: var(--nb-fs-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nb-pricecard__price {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: var(--nb-s3);
  margin-top: var(--nb-s4);
  padding-bottom: var(--nb-s5);
  border-bottom: 1px solid var(--nb-line-dark);
}

.nb-pricecard__pricemeta {
  padding-bottom: 0.5rem;
  font-size: var(--nb-fs-label);
  font-weight: 700;
  letter-spacing: var(--nb-track-label);
  text-transform: uppercase;
  color: var(--nb-muted);
}

/* ---- Hero qualification card (spec section 12) ------------------------ */

.nb-qualcard {
  margin-top: var(--nb-s5);
  padding: clamp(1rem, 2.4vw, 1.375rem);
  border-radius: var(--nb-r-lg);
  border: 1px solid rgba(245, 158, 11, 0.42);
  border-left: 4px solid var(--nb-gold);
  background-image: linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(21, 128, 61, 0.10));
}

.nb-qualcard__label {
  display: flex;
  align-items: center;
  gap: var(--nb-s2);
  font-size: var(--nb-fs-label);
  font-weight: 800;
  letter-spacing: var(--nb-track-label);
  text-transform: uppercase;
  color: var(--nb-gold);
}

.nb-qualcard__headline {
  margin-top: var(--nb-s3);
  font-size: clamp(1.0625rem, 2.6vw, 1.375rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--nb-white);
  text-transform: uppercase;
}

.nb-qualcard__headline em {
  font-style: normal;
  color: var(--nb-gold);
}

.nb-qualcard__text {
  margin-top: var(--nb-s3);
  font-size: var(--nb-fs-sm);
  line-height: 1.6;
  color: var(--nb-muted);
}

.nb-qualcard__dots {
  display: flex;
  gap: var(--nb-s2);
  margin-top: var(--nb-s4);
}

.nb-qualcard__dots span {
  width: 100%;
  height: 5px;
  border-radius: var(--nb-r-pill);
  background-color: rgba(245, 158, 11, 0.28);
  border: 1px solid rgba(245, 158, 11, 0.45);
}

@media (min-width: 960px) {
  .nb-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.82fr);
    grid-template-areas:
      "copy card"
      "actions card";
    column-gap: clamp(2rem, 5vw, 4.5rem);
  }

  .nb-hero__copy { grid-area: copy; }
  .nb-hero__card { grid-area: card; }
  .nb-hero__actions { grid-area: actions; }
}

/* ==========================================================================
   COUNTRY PACKAGES
   Departure-country selector and the package list it filters.
   ========================================================================== */

.nb-pkgfilter {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--nb-s4);
  margin-top: var(--nb-s6);
}

.nb-pkgfilter__field {
  display: grid;
  gap: var(--nb-s2);
  min-width: min(100%, 22rem);
}

.nb-pkgfilter__label {
  font-size: var(--nb-fs-label);
  font-weight: 600;
  letter-spacing: var(--nb-track-label);
  text-transform: uppercase;
  color: var(--nb-cyan);
}

.nb-pkgfilter__select {
  width: 100%;
  min-height: 3rem;
  padding: 0 var(--nb-s5) 0 var(--nb-s4);
  border: 1px solid var(--nb-line-dark-strong);
  border-radius: var(--nb-r-sm);
  background-color: var(--nb-glass-raised);
  color: var(--nb-white);
  font-family: inherit;
  font-size: var(--nb-fs-body);
  /* The caret is drawn rather than loaded, so the control needs no asset and
     looks the same in every browser. */
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--nb-cyan) 50%),
    linear-gradient(135deg, var(--nb-cyan) 50%, transparent 50%);
  background-position:
    calc(100% - 1.125rem) calc(50% - 2px),
    calc(100% - 0.75rem) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  transition: border-color var(--nb-dur) var(--nb-ease);
}

.nb-pkgfilter__select:hover { border-color: var(--nb-teal); }

.nb-pkgfilter__select option { color: var(--nb-ink); background-color: #FFFFFF; }

.nb-pkgfilter__count {
  margin: 0;
  font-size: var(--nb-fs-sm);
  color: var(--nb-muted);
}

.nb-pkgs {
  display: grid;
  gap: clamp(1rem, 2.2vw, 1.5rem);
  margin-top: var(--nb-s5);
}

.nb-pkg {
  display: flex;
  flex-direction: column;
  gap: var(--nb-s3);
}

.nb-pkg[hidden] { display: none; }

/* ---- Card media -------------------------------------------------------
   The photograph leads the card, as in the reference. It is pulled to the
   card's edges because the card itself carries the padding. */
.nb-pkg {
  display: flex;
  flex-direction: column;
  padding-top: 0;
  overflow: hidden;
}

.nb-pkg__media {
  position: relative;
  margin: 0 calc(-1 * clamp(1.125rem, 2vw, 1.375rem));
  margin-bottom: var(--nb-s4);
  /* A ratio rather than a fixed height: the image then grows with the card
     instead of staying a 172px letterbox that crops a tall poster to a strip.
     4:3 is roughly 270px on a 360px card. */
  aspect-ratio: 4 / 3;
  min-height: 210px;
  overflow: hidden;
  background-color: var(--nb-light-bg-alt);
}

/* One card across the width on a phone would make a 4:3 image enormous, so it
   flattens out there. */
@media (max-width: 560px) {
  .nb-pkg__media {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
}

.nb-pkg__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* No image uploaded yet: a brand-tinted band, not a stock photograph. */
.nb-pkg__media--empty {
  display: grid;
  place-items: center;
  background-image: linear-gradient(135deg, var(--nb-teal), var(--nb-cyan));
}

.nb-pkg__initial {
  font-size: 2.75rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1;
}

/* Cards in a row end on the same line: the button is pushed to the bottom so
   a short description does not leave one card's action floating mid-card. */
.nb-pkg__cta { margin-top: auto; }

/* Duration and rating, the line under the title in the reference. */
.nb-pkg__metarow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--nb-s3);
  margin-top: var(--nb-s1);
  font-size: var(--nb-fs-sm);
  color: var(--nb-ink-muted);
}

.nb-pkg__rating { display: inline-flex; align-items: center; gap: 0.25rem; font-weight: 600;
  color: var(--nb-ink); }
.nb-pkg__star { color: var(--nb-gold); }
.nb-pkg__reviews { font-weight: 400; color: var(--nb-ink-muted); }

/* The price it would otherwise be, and what that saves. Both appear only when
   a real original price is on record. */
.nb-pkg__was {
  font-size: var(--nb-fs-sm);
  color: var(--nb-ink-muted);
  text-decoration: line-through;
}

.nb-pkg__off {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  border-radius: var(--nb-r-pill);
  background-color: var(--nb-success-soft);
  color: var(--nb-success-ink);
  font-size: var(--nb-fs-xs);
  font-weight: 700;
}

/* The photograph is part of the same link target as the title, so a click
   anywhere on the top of a card opens the package. */
a.nb-pkg__media { display: block; }
a.nb-pkg__media:hover .nb-pkg__img { transform: scale(1.03); }
.nb-pkg__img { transition: transform var(--nb-dur-slow) var(--nb-ease); }

/* The card title is the way into the detail page. It inherits its colour so
   the card does not suddenly carry a blue link in the middle of it. */
.nb-pkg__link { color: inherit; }
.nb-pkg__link:hover { color: var(--nb-teal-ink); }

/* The price a referral gets you, in the green that means "less to pay". */
.nb-pkg__referral {
  margin-top: var(--nb-s1);
  font-size: var(--nb-fs-sm);
  color: var(--nb-success-ink);
  font-weight: 500;
}

.nb-pkg__referral strong { font-weight: 700; }

.nb-pkg__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--nb-s3);
}

.nb-pkg__route {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--nb-s2);
  margin: 0;
  font-size: var(--nb-fs-sm);
  font-weight: 600;
  color: var(--nb-white);
}

.nb-pkg__from { color: var(--nb-muted); }
.nb-pkg__arrow { color: var(--nb-teal); }
.nb-pkg__to { color: var(--nb-cyan); }

.nb-pkg__name { margin: 0; }

.nb-pkg__price {
  display: flex;
  align-items: baseline;
  gap: var(--nb-s2);
  margin: 0;
}

.nb-pkg__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--nb-s2);
}

.nb-pkg__amount {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 800;
  line-height: var(--nb-lh-tight);
  letter-spacing: -0.02em;
  /* Ink, not gold: on a white card the price is the strongest thing on the
     card by weight, and colour is kept for the referral price under it. */
  color: var(--nb-ink);
}

.nb-pkg__unit {
  font-size: var(--nb-fs-xs);
  font-weight: 600;
  letter-spacing: var(--nb-track-label);
  text-transform: uppercase;
  color: var(--nb-muted);
}

.nb-pkg__desc {
  margin: 0;
  font-size: var(--nb-fs-sm);
  color: var(--nb-muted);
}

.nb-pkg__rows {
  display: grid;
  gap: var(--nb-s2);
  margin: 0;
  padding-top: var(--nb-s3);
  border-top: 1px solid var(--nb-line-dark);
}

.nb-pkg__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--nb-s2);
}

.nb-pkg__key {
  font-size: var(--nb-fs-xs);
  font-weight: 600;
  letter-spacing: var(--nb-track-label);
  text-transform: uppercase;
  color: var(--nb-muted);
}

.nb-pkg__val {
  margin: 0;
  font-size: var(--nb-fs-sm);
  font-weight: 600;
  text-align: right;
  color: var(--nb-white);
}

.nb-pkg__val--gold { color: var(--nb-gold); }

.nb-pkg__cta { margin-top: auto; }

/* The same cards on a light section: only the colours that were written for a
   dark background need an answer here. */
.nb-section--light .nb-pkg__route,
.nb-section--light-alt .nb-pkg__route { color: var(--nb-ink); }

.nb-section--light .nb-pkg__from,
.nb-section--light-alt .nb-pkg__from { color: var(--nb-ink-soft); }

.nb-section--light .nb-pkg__to,
.nb-section--light-alt .nb-pkg__to { color: var(--nb-teal-ink); }

.nb-section--light .nb-pkg__arrow,
.nb-section--light-alt .nb-pkg__arrow { color: var(--nb-teal-ink); }

.nb-section--light .nb-pkg__amount,
.nb-section--light-alt .nb-pkg__amount { color: var(--nb-ink); }

/* ink-soft rather than ink-muted: these are small, uppercase or secondary, and
   muted lands at about 4:1 on white, under the 4.5 this needs. */
.nb-section--light .nb-pkg__unit,
.nb-section--light .nb-pkg__desc,
.nb-section--light .nb-pkg__key,
.nb-section--light-alt .nb-pkg__unit,
.nb-section--light-alt .nb-pkg__desc,
.nb-section--light-alt .nb-pkg__key { color: var(--nb-ink-soft); }

.nb-section--light .nb-pkg__val,
.nb-section--light-alt .nb-pkg__val { color: var(--nb-ink); }

.nb-section--light .nb-pkg__val--gold,
.nb-section--light-alt .nb-pkg__val--gold { color: var(--nb-gold-ink); }

.nb-section--light .nb-pkg__rows,
.nb-section--light-alt .nb-pkg__rows { border-top-color: var(--nb-line-light); }

.nb-section--light .nb-pkg__none,
.nb-section--light-alt .nb-pkg__none {
  border-color: var(--nb-line-light-strong);
  color: var(--nb-ink-soft);
}

.nb-pkg__none {
  /* It stands in for the whole list, so it spans the grid rather than sitting
     in the first column like a card. */
  grid-column: 1 / -1;
  margin-top: var(--nb-s5);
  padding: var(--nb-s5);
  border: 1px dashed var(--nb-line-dark-strong);
  border-radius: var(--nb-r-md);
  text-align: center;
  color: var(--nb-muted);
}

@media (min-width: 760px) {
  .nb-pkgs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1060px) {
  .nb-pkgs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ==========================================================================
   ECONOMICS / OBJECTION + MODEL (spec sections 14-15)
   ========================================================================== */

.nb-econ__grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.nb-econ__body > * + * { margin-top: var(--nb-s4); }

.nb-econ__body p {
  font-size: var(--nb-fs-lede);
  line-height: 1.66;
  color: var(--nb-ink-soft);
}

@media (min-width: 900px) {
  .nb-econ__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
  .nb-econ__head { position: sticky; top: 104px; }
}

/* Four model cards with a connecting flow */
.nb-flow {
  display: grid;
  gap: var(--nb-s5);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.nb-flow__item {
  position: relative;
  display: flex;
}

.nb-flow__item > .nb-card { width: 100%; }

.nb-flow__item::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(var(--nb-s5) * -1);
  width: 2px;
  height: var(--nb-s5);
  background-image: linear-gradient(180deg, rgba(21, 128, 61, 0.65), rgba(21, 128, 61, 0));
  transform: translateX(-50%);
}

.nb-flow__item:last-child::after { display: none; }

.nb-flow__bottom {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: var(--nb-r-lg);
  text-align: center;
  background-image: linear-gradient(135deg, rgba(21, 128, 61, 0.12), rgba(22, 163, 74, 0.06));
  border: 1px solid rgba(21, 128, 61, 0.26);
}

.nb-flow__bottom p {
  font-size: clamp(1.125rem, 2.8vw, 1.625rem);
  font-weight: 800;
  line-height: 1.26;
  letter-spacing: -0.02em;
  color: var(--nb-ink);
}

@media (min-width: 760px) {
  .nb-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nb-flow__item::after { display: none; }
}

@media (min-width: 1100px) {
  .nb-flow { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--nb-s4); }

  .nb-flow__item::after {
    display: block;
    left: auto;
    right: calc(var(--nb-s4) * -1);
    top: 46px;
    bottom: auto;
    width: var(--nb-s4);
    height: 2px;
    transform: none;
    background-image: linear-gradient(90deg, rgba(21, 128, 61, 0.65), rgba(21, 128, 61, 0.12));
  }

  .nb-flow__item:last-child::after { display: none; }
}

/* ==========================================================================
   HOW IT WORKS (spec section 16)
   ========================================================================== */

.nb-steps {
  display: grid;
  gap: clamp(1rem, 2.2vw, 1.5rem);
}

.nb-step {
  display: flex;
  flex-direction: column;
  padding: clamp(1.375rem, 3vw, 2rem);
  border-radius: var(--nb-r-xl);
  background-color: #FFFFFF;
  border: 1px solid var(--nb-line-dark);
  box-shadow: var(--nb-shadow-md);
  transition: transform var(--nb-dur) var(--nb-ease),
              border-color var(--nb-dur) var(--nb-ease);
}

.nb-step:hover {
  transform: translateY(-4px);
  border-color: rgba(22, 163, 74, 0.38);
}

.nb-step__index {
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(15, 23, 42, 0.14);
}

.nb-step__title {
  margin-top: var(--nb-s4);
  font-size: clamp(1.0625rem, 2.2vw, 1.25rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1.26;
}

.nb-step__text {
  margin-top: var(--nb-s3);
  font-size: var(--nb-fs-sm);
  line-height: 1.64;
  color: var(--nb-muted);
}

.nb-step__foot { margin-top: auto; padding-top: var(--nb-s5); }

.nb-step--required {
  border-color: rgba(245, 158, 11, 0.46);
  background-image: linear-gradient(160deg, rgba(245, 158, 11, 0.12), rgba(15, 23, 42, 0));
}

.nb-step--required .nb-step__index { color: rgba(245, 158, 11, 0.34); }
.nb-step--required:hover { border-color: rgba(245, 158, 11, 0.7); }

@media (min-width: 820px) {
  .nb-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ==========================================================================
   JOURNEY FLOW (spec section 17)
   ========================================================================== */

.nb-journey {
  position: relative;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.nb-journey__steps {
  display: grid;
  gap: var(--nb-s5);
  padding-left: 46px;
}

/* Track + animated fill */
.nb-journey__track {
  position: absolute;
  left: 15px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  border-radius: 2px;
  background-color: rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.nb-journey__fill {
  position: absolute;
  inset: 0 0 auto 0;
  height: 0;
  border-radius: 2px;
  background-image: linear-gradient(180deg, var(--nb-teal), var(--nb-cyan) 62%, var(--nb-gold));
  transition: height 1800ms var(--nb-ease);
}

.nb-journey.is-complete .nb-journey__fill { height: 100%; }

.nb-journey__step {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--nb-s4);
  min-height: 32px;
}

.nb-journey__dot {
  position: absolute;
  left: -46px;
  top: 50%;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: var(--nb-r-pill);
  background-color: var(--nb-navy-800);
  border: 2px solid rgba(15, 23, 42, 0.18);
  font-size: var(--nb-fs-label);
  font-weight: 800;
  color: var(--nb-muted);
  transform: translateY(-50%);
  transition: border-color 420ms var(--nb-ease),
              color 420ms var(--nb-ease),
              box-shadow 420ms var(--nb-ease),
              background-color 420ms var(--nb-ease);
  transition-delay: calc(var(--i, 0) * 140ms);
}

.nb-journey.is-complete .nb-journey__dot {
  border-color: var(--nb-teal);
  color: var(--nb-cyan);
  box-shadow: 0 0 0 5px rgba(21, 128, 61, 0.10);
}

.nb-journey.is-complete .nb-journey__step--success .nb-journey__dot {
  border-color: var(--nb-success);
  color: var(--nb-success);
  box-shadow: 0 0 0 5px rgba(22, 163, 74, 0.12);
}

.nb-journey.is-complete .nb-journey__step--gold .nb-journey__dot {
  border-color: var(--nb-gold);
  color: var(--nb-gold);
  box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.14);
}

.nb-journey__label {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nb-muted);
  transition: color 420ms var(--nb-ease);
  transition-delay: calc(var(--i, 0) * 140ms);
}

.nb-journey.is-complete .nb-journey__label { color: var(--nb-white); }

.nb-journey.is-complete .nb-journey__step--success .nb-journey__label { color: var(--nb-success); }
.nb-journey.is-complete .nb-journey__step--gold .nb-journey__label { color: var(--nb-gold); }

@media (min-width: 1024px) {
  .nb-journey__steps {
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: var(--nb-s3);
    padding-left: 0;
    padding-top: 52px;
  }

  .nb-journey__track {
    left: 5%;
    right: 5%;
    top: 15px;
    bottom: auto;
    width: auto;
    height: 2px;
  }

  .nb-journey__fill {
    inset: 0 auto 0 0;
    height: 100%;
    width: 0;
    background-image: linear-gradient(90deg, var(--nb-teal), var(--nb-cyan) 62%, var(--nb-gold));
    transition: width 1800ms var(--nb-ease);
  }

  .nb-journey.is-complete .nb-journey__fill { width: 100%; }

  .nb-journey__step {
    flex-direction: column;
    gap: var(--nb-s3);
    text-align: center;
    min-height: 0;
  }

  .nb-journey__dot {
    position: absolute;
    left: 50%;
    top: -52px;
    transform: translateX(-50%);
  }

  .nb-journey__label {
    font-size: 0.6875rem;
    letter-spacing: 0.06em;
    line-height: 1.3;
  }
}

/* ==========================================================================
   10-MONTH WINDOW (spec section 18)
   ========================================================================== */

.nb-window__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
}

.nb-window__stat > * + * { margin-top: var(--nb-s4); }

.nb-window__statline {
  display: flex;
  align-items: baseline;
  gap: var(--nb-s3);
  flex-wrap: wrap;
}

.nb-window__statunit {
  font-size: clamp(1.125rem, 2.6vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--nb-ink);
}

.nb-tl { display: grid; gap: 0; }

.nb-tl__item {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: var(--nb-s4);
  padding-bottom: var(--nb-s6);
}

.nb-tl__item:last-child { padding-bottom: 0; }

.nb-tl__item::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 30px;
  bottom: 0;
  width: 2px;
  background-color: rgba(15, 23, 42, 0.12);
}

.nb-tl__item:last-child::before { display: none; }

.nb-tl__dot {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--nb-r-pill);
  background-color: var(--nb-light-card);
  border: 2px solid rgba(21, 128, 61, 0.45);
  font-size: var(--nb-fs-xs);
  font-weight: 800;
  color: var(--nb-teal-ink);
  box-shadow: var(--nb-shadow-light);
}

.nb-tl__item--gold .nb-tl__dot {
  border-color: rgba(245, 158, 11, 0.8);
  color: var(--nb-gold-ink);
}

.nb-tl__label {
  font-size: var(--nb-fs-label);
  font-weight: 800;
  letter-spacing: var(--nb-track-label);
  text-transform: uppercase;
  color: var(--nb-teal-ink);
}

.nb-tl__item--gold .nb-tl__label { color: var(--nb-gold-ink); }

.nb-tl__title {
  margin-top: var(--nb-s2);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.34;
  color: var(--nb-ink);
}

.nb-tl__text {
  margin-top: var(--nb-s2);
  font-size: var(--nb-fs-sm);
  line-height: 1.6;
  color: var(--nb-ink-soft);
}

@media (min-width: 900px) {
  .nb-window__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
}

/* ==========================================================================
   REFERRAL QUALIFICATION (spec section 19)
   ========================================================================== */

.nb-refer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.nb-refer__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(48% 46% at 84% 12%, rgba(245, 158, 11, 0.14), transparent 70%),
    radial-gradient(52% 50% at 6% 86%, rgba(21, 128, 61, 0.18), transparent 72%);
  pointer-events: none;
}

.nb-refer__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.nb-refer__copy > * + * { margin-top: var(--nb-s4); }

.nb-refer__copy .nb-h2 em {
  font-style: normal;
  color: var(--nb-gold);
}

/* Progress panel */
.nb-prog {
  padding: clamp(1.375rem, 3vw, 2.25rem);
  border-radius: var(--nb-r-xl);
  background-color: #FFFFFF;
  border: 1px solid var(--nb-line-dark);
  box-shadow: var(--nb-shadow-lg);
}

.nb-prog__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--nb-s3);
}

.nb-prog__label {
  font-size: var(--nb-fs-label);
  font-weight: 800;
  letter-spacing: var(--nb-track-label);
  text-transform: uppercase;
  color: var(--nb-muted);
}

.nb-prog__count {
  display: flex;
  align-items: baseline;
  gap: var(--nb-s3);
  margin-top: var(--nb-s4);
}

.nb-prog__countnum {
  font-variant-numeric: tabular-nums;
  transition: color 320ms var(--nb-ease);
}

.nb-prog__countmeta {
  font-size: var(--nb-fs-sm);
  font-weight: 600;
  color: var(--nb-muted);
}

.nb-prog__bar { margin-top: var(--nb-s5); }

.nb-prog__slots {
  display: grid;
  gap: var(--nb-s3);
  margin-top: var(--nb-s5);
}

.nb-slot {
  display: flex;
  align-items: center;
  gap: var(--nb-s3);
  padding: var(--nb-s4);
  border-radius: var(--nb-r-md);
  background-color: rgba(15, 23, 42, 0.03);
  border: 1px solid var(--nb-line-dark);
  transition: border-color 420ms var(--nb-ease),
              background-color 420ms var(--nb-ease);
}

.nb-slot__mark {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: var(--nb-r-pill);
  border: 2px solid rgba(15, 23, 42, 0.24);
  font-size: 0.6875rem;
  font-weight: 800;
  color: transparent;
  transition: border-color 420ms var(--nb-ease),
              color 420ms var(--nb-ease),
              background-color 420ms var(--nb-ease);
}

.nb-slot__name {
  font-size: var(--nb-fs-xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nb-muted);
}

.nb-slot__state {
  margin-left: auto;
  font-size: var(--nb-fs-label);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nb-muted);
}

.nb-slot.is-done {
  border-color: rgba(22, 163, 74, 0.45);
  background-color: rgba(22, 163, 74, 0.08);
}

.nb-slot.is-done .nb-slot__mark {
  border-color: var(--nb-success);
  background-color: rgba(22, 163, 74, 0.18);
  color: var(--nb-success);
}

.nb-slot.is-done .nb-slot__name { color: var(--nb-white); }
.nb-slot.is-done .nb-slot__state { color: var(--nb-success); }

.nb-prog__qualified {
  display: flex;
  align-items: center;
  gap: var(--nb-s3);
  margin-top: var(--nb-s5);
  padding: var(--nb-s4) var(--nb-s5);
  border-radius: var(--nb-r-md);
  border: 1px solid rgba(22, 163, 74, 0.42);
  background-image: linear-gradient(120deg, rgba(22, 163, 74, 0.16), rgba(22, 163, 74, 0.08));
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nb-success);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 520ms var(--nb-ease), transform 520ms var(--nb-ease);
}

.nb-prog.is-qualified .nb-prog__qualified {
  opacity: 1;
  transform: none;
}

@media (min-width: 960px) {
  .nb-refer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* ==========================================================================
   DASHBOARD MOCKUPS (spec sections 20, 29)
   ========================================================================== */

.nb-dash {
  border-radius: var(--nb-r-xl);
  --nb-white: #FFFFFF;
  --nb-ink: #FFFFFF;
  --nb-muted: rgba(255, 255, 255, 0.68);
  --nb-line-dark: rgba(255, 255, 255, 0.14);
  --nb-line-dark-strong: rgba(255, 255, 255, 0.24);
  color: #FFFFFF;
  background-color: #1E293B;
  border: 1px solid rgba(15, 23, 42, 0.18);
  box-shadow: var(--nb-shadow-lg);
  overflow: hidden;
}

.nb-dash__chrome {
  display: flex;
  align-items: center;
  gap: var(--nb-s3);
  padding: var(--nb-s3) var(--nb-s5);
  background-color: #0F172A;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.nb-dash__dots { display: flex; gap: 6px; }

.nb-dash__dots span {
  width: 10px;
  height: 10px;
  border-radius: var(--nb-r-pill);
  background-color: rgba(100, 116, 139, 0.35);
}

.nb-dash__chrometitle {
  font-size: var(--nb-fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nb-muted);
}

.nb-dash__chromebadge { margin-left: auto; }

.nb-dash__body { padding: clamp(1.25rem, 3vw, 2rem); }

.nb-dash__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--nb-s4);
  padding-bottom: var(--nb-s5);
  border-bottom: 1px solid var(--nb-line-dark);
}

.nb-dash__title {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.nb-dash__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--nb-s5);
  margin-top: var(--nb-s3);
}

.nb-dash__metaitem { min-width: 0; }

.nb-dash__metalabel {
  font-size: var(--nb-fs-label);
  font-weight: 800;
  letter-spacing: var(--nb-track-label);
  text-transform: uppercase;
  color: var(--nb-muted);
}

.nb-dash__metavalue {
  margin-top: 0.25rem;
  font-size: var(--nb-fs-sm);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--nb-white);
}

.nb-dash__section { padding-top: var(--nb-s5); }

.nb-dash__qual {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--nb-s4);
}

.nb-dash__qualnum {
  display: flex;
  align-items: baseline;
  gap: var(--nb-s2);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--nb-cyan);
  font-variant-numeric: tabular-nums;
}

.nb-dash__qualnum small {
  font-size: 0.5em;
  font-weight: 700;
  color: var(--nb-muted);
}

.nb-dash__hint {
  margin-top: var(--nb-s3);
  font-size: var(--nb-fs-sm);
  color: var(--nb-muted);
}

.nb-dash__hint strong { color: var(--nb-gold); }

.nb-dash__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--nb-s3);
  margin-top: var(--nb-s5);
}

.nb-dash__note {
  margin-top: var(--nb-s4);
  font-size: var(--nb-fs-xs);
  line-height: 1.55;
  color: var(--nb-muted);
}

/* Route from the preview to the real account panel (/account). */
.nb-dash__signin {
  margin-top: var(--nb-s5);
  text-align: center;
  font-size: var(--nb-fs-sm);
  line-height: 1.6;
  color: var(--nb-muted);
}

.nb-link {
  color: var(--nb-cyan);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.nb-link:hover { color: var(--nb-white); }

/* Documentation / progress checklist (spec section 29) */
.nb-checklist {
  display: grid;
  gap: var(--nb-s2);
  margin-top: var(--nb-s4);
}

.nb-checklist li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: var(--nb-s3);
  align-items: center;
  padding: 0.625rem 0.75rem;
  border-radius: var(--nb-r-sm);
  background-color: rgba(15, 23, 42, 0.03);
  border: 1px solid var(--nb-line-dark);
  font-size: var(--nb-fs-sm);
  color: var(--nb-muted);
}

.nb-checklist li::before {
  content: "\25CB";
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: var(--nb-r-pill);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--nb-muted);
  background-color: rgba(100, 116, 139, 0.10);
}

.nb-checklist li.is-done {
  color: var(--nb-white);
  border-color: rgba(22, 163, 74, 0.34);
  background-color: rgba(22, 163, 74, 0.07);
}

.nb-checklist li.is-done::before {
  content: "\2713";
  color: var(--nb-success);
  background-color: rgba(22, 163, 74, 0.16);
}

.nb-dash__grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

@media (min-width: 900px) {
  .nb-dash__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* ==========================================================================
   REFERRAL VALIDATION (spec section 21)
   ========================================================================== */

.nb-valid {
  counter-reset: nbvalid;
  display: grid;
  gap: var(--nb-s3);
}

.nb-valid li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: var(--nb-s4);
  align-items: center;
  padding: var(--nb-s4) var(--nb-s5);
  border-radius: var(--nb-r-md);
  background-color: var(--nb-light-card);
  border: 1px solid var(--nb-line-light);
  box-shadow: var(--nb-shadow-light);
  font-size: var(--nb-fs-sm);
  font-weight: 600;
  color: var(--nb-ink);
  counter-increment: nbvalid;
}

.nb-valid li::before {
  content: counter(nbvalid, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--nb-r-pill);
  font-size: var(--nb-fs-xs);
  font-weight: 800;
  color: var(--nb-teal-ink);
  background-color: rgba(21, 128, 61, 0.12);
  border: 1px solid rgba(21, 128, 61, 0.3);
}

/* ==========================================================================
   INCLUDED / NOT INCLUDED (spec sections 22-23)
   ========================================================================== */

.nb-incl {
  display: grid;
  gap: var(--nb-s4);
}

.nb-incl__item {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: var(--nb-s4);
  padding: clamp(1rem, 2.2vw, 1.25rem);
  border-radius: var(--nb-r-md);
  background-color: var(--nb-light-card);
  border: 1px solid var(--nb-line-light);
  box-shadow: var(--nb-shadow-light);
}

.nb-incl__item::before {
  content: "\2713";
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: var(--nb-r-pill);
  font-size: var(--nb-fs-xs);
  font-weight: 800;
  color: var(--nb-success-ink);
  background-color: rgba(22, 163, 74, 0.14);
  border: 1px solid rgba(22, 163, 74, 0.34);
}

.nb-incl__name {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--nb-ink);
}

.nb-incl__detail {
  margin-top: var(--nb-s2);
  font-size: var(--nb-fs-xs);
  line-height: 1.55;
  color: var(--nb-ink-muted);
}

@media (min-width: 760px) {
  .nb-incl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.nb-excl__grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

@media (min-width: 900px) {
  .nb-excl__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
}

.nb-excl__list {
  display: grid;
  gap: var(--nb-s3);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: var(--nb-r-lg);
  background-color: var(--nb-light-card);
  border: 1px solid var(--nb-line-light);
  box-shadow: var(--nb-shadow-light);
}

@media (min-width: 640px) {
  .nb-excl__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   RETAIL COMPARISON (spec section 24)
   ========================================================================== */

.nb-comp {
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.5rem);
  align-items: stretch;
}

.nb-comp__card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.375rem, 3vw, 2rem);
  border-radius: var(--nb-r-xl);
  background-color: #FFFFFF;
  border: 1px solid var(--nb-line-dark);
  box-shadow: var(--nb-shadow-md);
}

.nb-comp__card--nb {
  background-image: linear-gradient(160deg, rgba(21, 128, 61, 0.07), rgba(22, 163, 74, 0.03));
  border-color: rgba(21, 128, 61, 0.30);
}

.nb-comp__title {
  font-size: var(--nb-fs-label);
  font-weight: 800;
  letter-spacing: var(--nb-track-label);
  text-transform: uppercase;
  color: var(--nb-muted);
}

.nb-comp__card--nb .nb-comp__title { color: var(--nb-cyan); }

.nb-comp__rows {
  display: grid;
  gap: var(--nb-s3);
  margin-top: var(--nb-s5);
  padding-top: var(--nb-s5);
  border-top: 1px solid var(--nb-line-dark);
}

.nb-comp__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--nb-s3);
  font-size: var(--nb-fs-sm);
  color: var(--nb-muted);
}

.nb-comp__row dt { font-weight: 600; }
.nb-comp__row dd { margin: 0; font-weight: 700; color: var(--nb-white); text-align: right; }

.nb-comp__total {
  margin-top: auto;
  padding-top: var(--nb-s5);
}

.nb-comp__totallabel {
  font-size: var(--nb-fs-label);
  font-weight: 800;
  letter-spacing: var(--nb-track-label);
  text-transform: uppercase;
  color: var(--nb-muted);
}

.nb-comp__totalvalue {
  margin-top: var(--nb-s3);
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--nb-white);
}

@media (min-width: 820px) {
  .nb-comp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   TRAVEL BATCHES (spec sections 25-26)
   ========================================================================== */

.nb-batches {
  display: grid;
  gap: clamp(1rem, 2.2vw, 1.5rem);
}

.nb-batch__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--nb-s3);
}

.nb-batch__id {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--nb-ink);
}

.nb-batch__dest {
  margin-top: 0.25rem;
  font-size: var(--nb-fs-label);
  font-weight: 800;
  letter-spacing: var(--nb-track-label);
  text-transform: uppercase;
  color: var(--nb-teal-ink);
}

.nb-batch__rows {
  display: grid;
  gap: var(--nb-s3);
  margin-top: var(--nb-s5);
  padding-top: var(--nb-s5);
  border-top: 1px solid var(--nb-line-light);
}

.nb-batch__row {
  display: grid;
  gap: 0.25rem;
}

.nb-batch__key {
  font-size: var(--nb-fs-label);
  font-weight: 800;
  letter-spacing: var(--nb-track-label);
  text-transform: uppercase;
  color: var(--nb-ink-muted);
}

.nb-batch__val {
  margin: 0;
  font-size: var(--nb-fs-sm);
  font-weight: 600;
  color: var(--nb-ink);
}

/* Mobile: swipeable batch rail (spec section 35) */
@media (max-width: 759px) {
  .nb-batches {
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--nb-gutter);
    margin-inline: calc(var(--nb-gutter) * -1);
    padding-inline: var(--nb-gutter);
    padding-bottom: var(--nb-s4);
    -webkit-overflow-scrolling: touch;
  }

  .nb-batches > * { scroll-snap-align: start; }
}

@media (min-width: 760px) {
  .nb-batches { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.nb-swipehint {
  margin-top: var(--nb-s3);
  font-size: var(--nb-fs-xs);
  color: var(--nb-ink-muted);
}

@media (min-width: 760px) {
  .nb-swipehint { display: none; }
}

/* Empty / awaiting-real-data state (spec section 26) */
.nb-empty {
  display: grid;
  place-items: center;
  gap: var(--nb-s4);
  padding: clamp(2.5rem, 7vw, 4.5rem) clamp(1.25rem, 4vw, 2.5rem);
  border-radius: var(--nb-r-xl);
  text-align: center;
  border: 1px dashed var(--nb-line-light-strong);
  background-color: var(--nb-light-card);
}

.nb-empty__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: var(--nb-r-pill);
  background-color: rgba(21, 128, 61, 0.10);
  border: 1px solid rgba(21, 128, 61, 0.28);
}

.nb-empty__title {
  font-size: clamp(1.125rem, 2.6vw, 1.5rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--nb-ink);
}

.nb-empty__text {
  max-width: 54ch;
  font-size: var(--nb-fs-sm);
  line-height: 1.6;
  color: var(--nb-ink-soft);
}

/* ==========================================================================
   REVIEWS (spec section 27)
   ========================================================================== */

.nb-reviews {
  display: grid;
  gap: clamp(1rem, 2.2vw, 1.5rem);
}

.nb-review__quote {
  font-size: var(--nb-fs-sm);
  line-height: 1.7;
  color: var(--nb-muted);
}

.nb-review__foot {
  display: flex;
  align-items: center;
  gap: var(--nb-s3);
  margin-top: var(--nb-s5);
  padding-top: var(--nb-s4);
  border-top: 1px solid var(--nb-line-dark);
}

.nb-review__avatar {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: var(--nb-r-pill);
  background-color: rgba(100, 116, 139, 0.14);
  border: 1px dashed var(--nb-line-dark-strong);
}

.nb-review__name {
  font-size: var(--nb-fs-xs);
  font-weight: 700;
  color: var(--nb-white);
}

.nb-review__batch {
  margin-top: 0.125rem;
  font-size: var(--nb-fs-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nb-muted);
}

@media (min-width: 820px) {
  .nb-reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ==========================================================================
   TRUST CENTER (spec section 28)
   ========================================================================== */

.nb-trust__grid {
  display: grid;
  gap: clamp(1rem, 2.2vw, 1.5rem);
}

.nb-trust__item {
  padding: clamp(1.25rem, 2.6vw, 1.625rem);
  border-radius: var(--nb-r-lg);
  background-color: #FFFFFF;
  border: 1px solid var(--nb-line-dark);
  box-shadow: var(--nb-shadow-md);
}

.nb-trust__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--nb-r-sm);
  background-color: rgba(21, 128, 61, 0.12);
  border: 1px solid rgba(21, 128, 61, 0.3);
  color: var(--nb-cyan);
}

.nb-trust__title {
  margin-top: var(--nb-s4);
  font-size: 1rem;
  font-weight: 700;
}

.nb-trust__text {
  margin-top: var(--nb-s2);
  font-size: var(--nb-fs-xs);
  line-height: 1.6;
  color: var(--nb-muted);
}

.nb-trust__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--nb-s4);
  margin-top: clamp(2rem, 4vw, 2.75rem);
}

@media (min-width: 680px) {
  .nb-trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .nb-trust__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* ==========================================================================
   SAMPLE ITINERARY (spec section 30)
   ========================================================================== */

.nb-itin {
  display: grid;
  gap: clamp(1rem, 2.2vw, 1.5rem);
}

.nb-itin__day {
  font-size: var(--nb-fs-label);
  font-weight: 800;
  letter-spacing: var(--nb-track-label);
  text-transform: uppercase;
  color: var(--nb-teal-ink);
}

.nb-itin__title {
  margin-top: var(--nb-s3);
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.005em;
  line-height: 1.26;
  text-transform: uppercase;
  color: var(--nb-ink);
}

.nb-itin__text {
  margin-top: var(--nb-s3);
  font-size: var(--nb-fs-xs);
  line-height: 1.6;
  color: var(--nb-ink-muted);
}

@media (min-width: 640px) {
  .nb-itin { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .nb-itin { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ==========================================================================
   AUDIENCE (spec section 31)
   ========================================================================== */

.nb-aud {
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.5rem);
}

.nb-aud__card {
  padding: clamp(1.375rem, 3vw, 2rem);
  border-radius: var(--nb-r-xl);
  background-color: var(--nb-light-card);
  border: 1px solid var(--nb-line-light);
  box-shadow: var(--nb-shadow-light);
}

.nb-aud__card--good { border-top: 3px solid var(--nb-success); }
.nb-aud__card--bad { border-top: 3px solid var(--nb-coral); }

.nb-aud__title {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--nb-ink);
}

.nb-aud__list { margin-top: var(--nb-s5); }

@media (min-width: 820px) {
  .nb-aud { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   FAQ (spec section 32)
   ========================================================================== */

.nb-faq { max-width: 880px; margin-inline: auto; }

/* ==========================================================================
   FINAL CTA (spec section 33)
   ========================================================================== */

.nb-final {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
}

.nb-final__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(50% 60% at 50% 0%, rgba(239, 68, 68, 0.18), transparent 70%),
    radial-gradient(60% 60% at 50% 110%, rgba(21, 128, 61, 0.18), transparent 70%);
  pointer-events: none;
}

.nb-final__inner {
  max-width: var(--nb-container-narrow);
  margin-inline: auto;
}

.nb-final__inner > * + * { margin-top: var(--nb-s5); }

.nb-final__lines {
  display: grid;
  gap: var(--nb-s2);
  max-width: 44ch;
  margin-inline: auto;
  font-size: var(--nb-fs-lede);
  line-height: 1.55;
  color: var(--nb-muted);
}

.nb-final__btns { justify-content: center; }

.nb-final__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--nb-s3) var(--nb-s5);
  padding-top: var(--nb-s5);
  border-top: 1px solid var(--nb-line-dark);
}

.nb-final__trust li {
  display: flex;
  align-items: center;
  gap: var(--nb-s2);
  font-size: var(--nb-fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nb-muted);
}

.nb-final__trust li::before {
  content: "\2713";
  color: var(--nb-success);
}

/* ==========================================================================
   FOOTER (spec section 34)
   ========================================================================== */

.nb-footer {
  padding-block: clamp(3rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem);
  background-color: var(--nb-light-bg-alt);
  border-top: 1px solid var(--nb-line-dark);
}

.nb-footer__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
}

.nb-footer__tagline {
  margin-top: var(--nb-s4);
  font-size: var(--nb-fs-sm);
  font-weight: 700;
  line-height: 1.5;
  color: var(--nb-cyan);
}

.nb-footer__company {
  margin-top: var(--nb-s4);
  font-size: var(--nb-fs-xs);
  line-height: 1.7;
  color: var(--nb-muted);
}

.nb-footer__coltitle {
  font-size: var(--nb-fs-label);
  font-weight: 800;
  letter-spacing: var(--nb-track-label);
  text-transform: uppercase;
  color: var(--nb-white);
}

.nb-footer__list {
  display: grid;
  gap: var(--nb-s3);
  margin-top: var(--nb-s4);
}

.nb-footer__link {
  font-size: var(--nb-fs-sm);
  color: var(--nb-muted);
  transition: color var(--nb-dur) var(--nb-ease);
}

.nb-footer__link:hover { color: var(--nb-cyan); }

.nb-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--nb-s4);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: var(--nb-s5);
  border-top: 1px solid var(--nb-line-dark);
  font-size: var(--nb-fs-xs);
  color: var(--nb-muted);
}

@media (min-width: 680px) {
  .nb-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .nb-footer__grid {
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  }
}

/* ==========================================================================
   Sticky-CTA clearance so nothing is hidden behind the mobile bar
   ========================================================================== */

@media (max-width: 899px) {
  body { padding-bottom: 84px; }
  html { scroll-padding-top: 80px; }
}

/* Dashboard header without its divider (spec section 29 layout) */
.nb-dash__head--plain {
  border-bottom: 0;
  padding-bottom: 0;
}

/* ==========================================================================
   Custom pages (admin-built content pages at /p/<slug>)
   Blocks reuse the landing page's type scale and spacing so a content page
   reads as part of the site rather than a separate document.
   ========================================================================== */

.nb-page__inner {
  max-width: 60rem;
  display: grid;
  gap: var(--nb-s5);
}

.nb-page__title { margin-bottom: var(--nb-s2); }

.nb-page__text {
  font-size: var(--nb-fs-body);
  line-height: var(--nb-lh-body);
  color: var(--nb-white);
  max-width: 62ch;
}

.nb-page__list {
  display: grid;
  gap: var(--nb-s3);
  margin: 0;
  padding-left: 1.25rem;
  color: var(--nb-white);
  line-height: var(--nb-lh-body);
  max-width: 62ch;
}

.nb-page__note {
  padding: var(--nb-s4) var(--nb-s5);
  border: 1px solid var(--nb-line-dark-strong);
  border-left: 3px solid var(--nb-teal);
  border-radius: var(--nb-r-sm);
  background-color: rgba(21, 128, 61, 0.08);
  line-height: var(--nb-lh-body);
  white-space: pre-wrap;
}

.nb-page__note--warn {
  border-left-color: var(--nb-gold);
  background-color: rgba(245, 158, 11, 0.08);
}

.nb-page__faq { display: grid; gap: var(--nb-s3); }

.nb-page__cta { margin: 0; }

.nb-page__figure { margin: 0; display: grid; gap: var(--nb-s3); }
.nb-page__figure img { width: 100%; height: auto; border-radius: var(--nb-r-md); }
.nb-page__figure figcaption {
  font-size: var(--nb-fs-sm);
  color: var(--nb-muted);
}

.nb-page__divider {
  border: 0;
  border-top: 1px solid var(--nb-line-dark);
  margin: 0;
}

/* An image logo replaces the mark + wordmark when one is configured. */
.nb-logo__img { display: block; height: 28px; width: auto; }

/* ==========================================================================
   LISTING PAGES — tour packages, heritage passes, activities

   One layout for all three: a filter rail on the left, a toolbar and a card
   grid on the right, exactly as the reference lays them out. Below 900px the
   rail stops being a column and becomes a block above the results, because a
   sidebar on a phone is just a wall between the visitor and the cards.
   ========================================================================== */

.nb-listing { padding-top: clamp(6.5rem, 11vw, 8.5rem); }

.nb-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--nb-s2);
  font-size: var(--nb-fs-sm);
  color: var(--nb-ink-muted);
  margin-bottom: var(--nb-s4);
}

.nb-crumbs a { color: var(--nb-ink-muted); }
.nb-crumbs a:hover { color: var(--nb-teal-ink); }

.nb-listing__head { margin-bottom: var(--nb-s5); }

/* ---- Country chips ---------------------------------------------------- */

.nb-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--nb-s2);
  margin-bottom: var(--nb-s6);
}

.nb-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--nb-s2);
  padding: 0.5rem 1rem;
  border-radius: var(--nb-r-pill);
  border: 1px solid var(--nb-line-dark);
  background-color: #FFFFFF;
  color: var(--nb-ink-soft);
  font-size: var(--nb-fs-sm);
  font-weight: 500;
  transition: border-color var(--nb-dur) var(--nb-ease),
              background-color var(--nb-dur) var(--nb-ease),
              color var(--nb-dur) var(--nb-ease);
}

.nb-chip:hover { border-color: var(--nb-teal); color: var(--nb-teal-ink); }

.nb-chip.is-active {
  background-color: var(--nb-teal);
  border-color: var(--nb-teal);
  color: #FFFFFF;
}

/* ---- The two-column frame --------------------------------------------- */

.nb-listing__grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: start;
}

/* ---- Filter rail ------------------------------------------------------- */

.nb-rail {
  position: sticky;
  top: 96px;
  padding: var(--nb-s5);
  border-radius: var(--nb-r-lg);
  background-color: #FFFFFF;
  border: 1px solid var(--nb-line-dark);
  box-shadow: var(--nb-shadow-md);
}

.nb-rail__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--nb-s3);
  padding-bottom: var(--nb-s3);
  border-bottom: 1px solid var(--nb-line-dark);
}

.nb-rail__heading { font-size: 1rem; font-weight: 700; }

.nb-rail__reset {
  font-size: var(--nb-fs-sm);
  font-weight: 600;
  color: var(--nb-teal-ink);
}

.nb-rail__group { padding-top: var(--nb-s4); }

.nb-rail__title {
  font-size: var(--nb-fs-sm);
  font-weight: 700;
  margin-bottom: var(--nb-s2);
}

.nb-facets { display: grid; gap: 2px; max-height: 260px; overflow-y: auto; }

.nb-facet {
  display: flex;
  align-items: center;
  gap: var(--nb-s2);
  padding: 0.375rem 0.25rem;
  border-radius: var(--nb-r-sm);
  font-size: var(--nb-fs-sm);
  color: var(--nb-ink-soft);
}

.nb-facet:hover { background-color: var(--nb-ink-soft-wash); }

/* A link that behaves like a checkbox gets a box that looks like one, so the
   rail reads the way the reference draws it without a form per filter. */
.nb-facet__box {
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1.5px solid var(--nb-line-dark-strong);
  background-color: #FFFFFF;
  transition: background-color var(--nb-dur-fast) var(--nb-ease),
              border-color var(--nb-dur-fast) var(--nb-ease);
}

.nb-facet.is-active { color: var(--nb-ink); font-weight: 600; }

.nb-facet.is-active .nb-facet__box {
  background-color: var(--nb-teal);
  border-color: var(--nb-teal);
  background-image: linear-gradient(transparent, transparent);
  box-shadow: inset 0 0 0 2px #FFFFFF, inset 0 0 0 16px var(--nb-teal);
}

.nb-facet__label { flex: 1; min-width: 0; }
.nb-facet__n { color: var(--nb-ink-muted); font-size: var(--nb-fs-xs); }

.nb-rail__price { display: grid; gap: var(--nb-s2); }

.nb-rail__field { display: grid; gap: 4px; font-size: var(--nb-fs-xs);
  color: var(--nb-ink-muted); }

.nb-rail__field input {
  width: 100%;
  padding: 0.5rem 0.625rem;
  border-radius: var(--nb-r-sm);
  border: 1px solid var(--nb-line-dark-strong);
  background-color: #FFFFFF;
  color: var(--nb-ink);
  font: inherit;
  font-size: var(--nb-fs-sm);
}

/* ---- Toolbar ----------------------------------------------------------- */

.nb-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--nb-s3);
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--nb-s4);
}

.nb-search {
  display: flex;
  align-items: center;
  gap: var(--nb-s2);
  flex: 1 1 260px;
}

.nb-search__label, .nb-sort__label {
  font-size: var(--nb-fs-xs);
  font-weight: 700;
  letter-spacing: var(--nb-track-label);
  text-transform: uppercase;
  color: var(--nb-ink-muted);
}

.nb-search__label { position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; }

.nb-search__input {
  flex: 1;
  min-width: 0;
  padding: 0.625rem 0.875rem;
  border-radius: var(--nb-r-sm);
  border: 1px solid var(--nb-line-dark-strong);
  background-color: #FFFFFF;
  color: var(--nb-ink);
  font: inherit;
  font-size: var(--nb-fs-sm);
}

.nb-sort { display: flex; align-items: center; gap: var(--nb-s2); }

.nb-sort__select {
  padding: 0.5rem 0.75rem;
  border-radius: var(--nb-r-sm);
  border: 1px solid var(--nb-line-dark-strong);
  background-color: #FFFFFF;
  color: var(--nb-ink);
  font: inherit;
  font-size: var(--nb-fs-sm);
}

/* With JavaScript the select submits itself, so the button is only there for
   readers without it. */
.js .nb-sort__go { display: none; }

.nb-count {
  font-size: var(--nb-fs-sm);
  color: var(--nb-ink-muted);
  margin-bottom: var(--nb-s4);
}

/* ---- Empty state and pager -------------------------------------------- */

.nb-empty {
  grid-column: 1 / -1;
  display: grid;
  gap: var(--nb-s3);
  justify-items: start;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--nb-r-lg);
  border: 1px dashed var(--nb-line-dark-strong);
  background-color: #FFFFFF;
}

.nb-empty__title { font-weight: 700; }
.nb-empty__text { color: var(--nb-ink-muted); font-size: var(--nb-fs-sm); }

.nb-pager {
  display: flex;
  align-items: center;
  gap: var(--nb-s3);
  margin-top: var(--nb-s6);
}

.nb-pager__at { font-size: var(--nb-fs-sm); color: var(--nb-ink-muted); }

/* The referral requirement on a listing card. */
.nb-pkg__qual {
  margin-top: var(--nb-s2);
  font-size: var(--nb-fs-sm);
  font-weight: 600;
  color: var(--nb-gold-ink);
}

@media (max-width: 900px) {
  .nb-listing__grid { grid-template-columns: minmax(0, 1fr); }

  /* The rail stops being a sidebar and becomes a block above the results. */
  .nb-rail { position: static; }
  .nb-facets { max-height: 200px; }
}

@media (max-width: 560px) {
  .nb-toolbar { flex-direction: column; align-items: stretch; }
  .nb-sort { justify-content: space-between; }
  .nb-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: var(--nb-s2);
    scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
  .nb-chip { flex: none; scroll-snap-align: start; }
}

/* ==========================================================================
   DETAIL PAGES

   Gallery and content on the left, a booking panel that follows you down on
   the right — the reference's arrangement. Below 900px the panel stops being
   a column and moves above the content, so the price and the button are the
   first things a phone shows.
   ========================================================================== */

.nb-detail { padding-top: clamp(6.5rem, 11vw, 8.5rem); }

.nb-detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

/* ---- Gallery ----------------------------------------------------------- */

.nb-gal { display: grid; gap: var(--nb-s3); }

.nb-gal__main {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--nb-r-lg);
  background-color: var(--nb-light-bg-alt);
  display: grid;
  place-items: center;
}

.nb-gal__rail {
  display: flex;
  gap: var(--nb-s2);
  align-items: center;
  overflow-x: auto;
  padding-bottom: var(--nb-s1);
}

.nb-gal__thumb {
  flex: none;
  width: 120px;
  height: 84px;
  object-fit: cover;
  border-radius: var(--nb-r-sm);
  border: 1px solid var(--nb-line-dark);
}

.nb-gal__more {
  flex: none;
  padding: 0 var(--nb-s3);
  font-size: var(--nb-fs-sm);
  color: var(--nb-ink-muted);
}

/* ---- Heading and meta -------------------------------------------------- */

.nb-detail__head { margin-top: var(--nb-s5); }

.nb-detail__place {
  margin-top: var(--nb-s2);
  color: var(--nb-ink-muted);
  font-size: var(--nb-fs-sm);
}

.nb-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--nb-s4);
  align-items: center;
  margin-top: var(--nb-s3);
  font-size: var(--nb-fs-sm);
  color: var(--nb-ink-muted);
}

/* ---- Section tabs ------------------------------------------------------
   Anchors rather than panels that hide each other: every section stays on the
   page, reachable without JavaScript, findable with the browser's own search
   and intact when printed. */

.nb-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--nb-s2);
  margin-top: var(--nb-s5);
  padding-bottom: var(--nb-s2);
  border-bottom: 1px solid var(--nb-line-dark);
  position: sticky;
  top: 72px;
  background-color: var(--nb-light-bg);
  z-index: 2;
}

.nb-tab {
  padding: 0.5rem 0.875rem;
  border-radius: var(--nb-r-sm);
  font-size: var(--nb-fs-sm);
  font-weight: 600;
  color: var(--nb-ink-muted);
}

.nb-tab:hover { background-color: var(--nb-ink-soft-wash); color: var(--nb-ink); }
.nb-tab.is-active { color: var(--nb-teal-ink); background-color: var(--nb-teal-soft); }

.nb-panel { padding-top: var(--nb-s6); scroll-margin-top: 140px; }

.nb-panel__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--nb-s3);
}

.nb-facts { display: grid; gap: var(--nb-s2); margin-top: var(--nb-s4); }

.nb-facts__row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: var(--nb-s3);
  padding: var(--nb-s2) 0;
  border-bottom: 1px solid var(--nb-line-dark);
  font-size: var(--nb-fs-sm);
}

.nb-facts__row dt { font-weight: 600; }
.nb-facts__row dd { color: var(--nb-ink-muted); }

/* ---- Itinerary --------------------------------------------------------- */

.nb-dayplan { display: grid; gap: var(--nb-s3); }

.nb-dayplan__day {
  padding: var(--nb-s4);
  border-radius: var(--nb-r-md);
  background-color: #FFFFFF;
  border: 1px solid var(--nb-line-dark);
  border-left: 3px solid var(--nb-teal);
}

.nb-dayplan__n {
  font-size: var(--nb-fs-xs);
  font-weight: 700;
  letter-spacing: var(--nb-track-label);
  text-transform: uppercase;
  color: var(--nb-teal-ink);
}

.nb-dayplan__title { font-size: 1rem; font-weight: 700; margin-top: var(--nb-s1); }
.nb-dayplan__text { margin-top: var(--nb-s2); color: var(--nb-ink-muted);
  font-size: var(--nb-fs-sm); }

.nb-policy + .nb-policy { margin-top: var(--nb-s4); }
.nb-policy__title { font-size: var(--nb-fs-sm); font-weight: 700; }
.nb-policy__text { margin-top: var(--nb-s2); color: var(--nb-ink-muted);
  font-size: var(--nb-fs-sm); white-space: pre-line; }

.nb-detail__rating { font-size: 1.125rem; }

/* ---- Booking summary --------------------------------------------------- */

.nb-sum { position: sticky; top: 96px; }

.nb-sum__card {
  padding: var(--nb-s5);
  border-radius: var(--nb-r-lg);
  background-color: #FFFFFF;
  border: 1px solid var(--nb-line-dark);
  box-shadow: var(--nb-shadow-lg);
  display: grid;
  gap: var(--nb-s3);
}

.nb-sum__label {
  font-size: var(--nb-fs-xs);
  font-weight: 700;
  letter-spacing: var(--nb-track-label);
  text-transform: uppercase;
  color: var(--nb-ink-muted);
}

.nb-sum__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--nb-s2); }

.nb-sum__qual {
  padding: var(--nb-s3);
  border-radius: var(--nb-r-sm);
  background-color: var(--nb-gold-soft);
  color: var(--nb-gold-ink);
  font-size: var(--nb-fs-sm);
  font-weight: 600;
}

.nb-sum__direct {
  padding: var(--nb-s3);
  border-radius: var(--nb-r-sm);
  background-color: var(--nb-success-soft);
  color: var(--nb-success-ink);
  font-size: var(--nb-fs-sm);
  font-weight: 600;
}

.nb-sum__note { font-size: var(--nb-fs-xs); color: var(--nb-ink-muted); }

@media (max-width: 900px) {
  .nb-detail__grid { grid-template-columns: minmax(0, 1fr); }

  /* Price and button first on a phone, content after. */
  .nb-sum { position: static; order: -1; }
  .nb-tabs { position: static; }
  .nb-facts__row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* ---- Hero search ------------------------------------------------------
   The booking card under the headline. One form, server-rendered options, and
   a submit that redirects to the listing the visitor picked — so it works with
   JavaScript off and lands on a URL they can share. */

.nb-find {
  margin-top: var(--nb-s5);
  padding: var(--nb-s3);
  border-radius: var(--nb-r-lg);
  background-color: #FFFFFF;
  box-shadow: 0 20px 50px -24px rgba(5, 25, 16, 0.6);
  max-width: 680px;

  /* Back to page colours: this is a white panel sitting on the photograph. */
  --nb-white: #0F172A;
  --nb-muted: #64748B;
  --nb-ink: #0F172A;
  --nb-line-dark: rgba(15, 23, 42, 0.09);
  --nb-line-dark-strong: rgba(15, 23, 42, 0.16);
  color: var(--nb-ink);
}

.nb-find__tabs {
  display: flex;
  gap: var(--nb-s1);
  padding-bottom: var(--nb-s3);
  border-bottom: 1px solid var(--nb-line-dark);
  overflow-x: auto;
}

.nb-find__tab { flex: none; }

.nb-find__tab input {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.nb-find__tab span {
  display: block;
  padding: 0.5rem 0.875rem;
  border-radius: var(--nb-r-sm);
  font-size: var(--nb-fs-sm);
  font-weight: 600;
  color: var(--nb-ink-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--nb-dur-fast) var(--nb-ease),
              color var(--nb-dur-fast) var(--nb-ease);
}

.nb-find__tab input:checked + span {
  background-color: var(--nb-teal);
  color: #FFFFFF;
}

/* The focus ring has to follow the hidden radio to its visible label. */
.nb-find__tab input:focus-visible + span {
  outline: 2px solid var(--nb-cyan);
  outline-offset: 2px;
}

.nb-find__row {
  display: flex;
  gap: var(--nb-s2);
  align-items: flex-end;
  padding-top: var(--nb-s3);
}

.nb-find__field { flex: 1; min-width: 0; display: grid; gap: 2px; }

.nb-find__label {
  font-size: var(--nb-fs-xs);
  font-weight: 700;
  letter-spacing: var(--nb-track-label);
  text-transform: uppercase;
  color: var(--nb-ink-muted);
}

.nb-find__input {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border-radius: var(--nb-r-sm);
  border: 1px solid var(--nb-line-dark-strong);
  background-color: #FFFFFF;
  color: var(--nb-ink);
  font: inherit;
  font-size: var(--nb-fs-sm);
}

.nb-find__go { flex: none; }

@media (max-width: 560px) {
  .nb-find__row { flex-direction: column; align-items: stretch; }
  .nb-find__go { width: 100%; }
}

/* ==========================================================================
   SLIDER
   The track is a scroll-snap strip, so it swipes on a phone and scrolls with
   the keyboard before any script runs. The script adds the arrows and keeps
   the dots in step; nothing here depends on it.
   ========================================================================== */

.nb-section--flush { padding-top: 0; padding-bottom: 0; }

/* The navigation bar is fixed, so whichever section comes first has to leave
   room for it or the bar sits on top of the content. The hero carries that
   clearance in its own padding; the slider needs it only when it is the one at
   the top, which the layout builder can change at any time. */
/* 73px clears the fixed navigation bar; the rest is the gap asked for, so the
   bar does not sit directly on the image. */
main > #slider:first-child { padding-top: calc(73px + clamp(0.75rem, 2vw, 1.5rem)); }
main > .nb-hero:first-child { padding-top: clamp(7rem, 13vw, 9.5rem); }

/* Full-bleed, like the hero: the section carries no container, so the strip
   runs edge to edge and the corners stay square. */
.nb-slider {
  position: relative;
  overflow: hidden;
  background-color: var(--nb-navy-800);
}

.nb-slider__track {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  /* The scrollbar would sit across the image on every platform that shows one. */
  scrollbar-width: none;
}
.nb-slider__track::-webkit-scrollbar { display: none; }

.nb-slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: grid;
  /* A definite height, not merely a floor. object-fit can only crop inside a
     box that already has one: with min-height alone the image keeps its own
     proportions, and a square poster makes the slide as tall as the page is
     wide. */
  height: clamp(300px, 40vw, 620px);
  /* The row has to be allowed to shrink below its content. An implicit auto
     row takes the image's intrinsic height instead, so the box clips at the
     height above while the caption sits far below the cut — present in the
     DOM, invisible on screen. */
  grid-template-rows: minmax(0, 1fr);
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
}

/* Without JavaScript every slide is in the strip and reachable by scrolling.
   The attribute is removed by the script, which then shows one at a time. */
.nb-slide[data-nb-slide-hidden] { display: grid; }

/* <picture> is inline by default, so a height on it does nothing until it is
   a block — which is how the image ends up sized by its own proportions
   instead of the slide's. */
.nb-slide picture { display: block; }

.nb-slide__img,
.nb-slide picture {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nb-slide__body {
  grid-area: 1 / 1;
  display: flex;
  align-items: flex-end;
  padding-block: clamp(1.25rem, 4vw, 3rem);
  /* A gradient rather than a flat wash: the top of the image stays visible
     while the text below it keeps its contrast. */
  background-image: linear-gradient(to top,
    rgba(5, 12, 26, 0.88) 0%, rgba(5, 12, 26, 0.55) 42%, rgba(5, 12, 26, 0) 78%);
}

/* Mirrors .nb-container exactly — same max-width, same auto margins, and the
   gutter on this element rather than its parent. Put the gutter on the parent
   instead and the caption lands one gutter left of every other heading on the
   page, which reads as a misalignment rather than a choice. */
.nb-slide__inner {
  width: 100%;
  max-width: var(--nb-container);
  margin-inline: auto;
  padding-inline: var(--nb-gutter);
}

.nb-slide__copy { max-width: 44rem; }

.nb-slide__eyebrow {
  margin: 0 0 var(--nb-s2);
  font-size: var(--nb-fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nb-cyan);
}

.nb-slide__title {
  margin: 0;
  font-size: clamp(1.5rem, 3.4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  color: #FFFFFF;
}

.nb-slide__text {
  margin: var(--nb-s3) 0 0;
  font-size: var(--nb-fs-sm);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  /* The slide has a fixed height now, so a long description is trimmed rather
     than pushing the button out of sight. */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.nb-slide__cta { margin-top: var(--nb-s4); }

/* ---- Controls ---------------------------------------------------------- */

.nb-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  line-height: 1;
  color: #FFFFFF;
  background-color: rgba(5, 12, 26, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color .16s ease;
}
.nb-slider__arrow:hover { background-color: rgba(5, 12, 26, 0.8); }
.nb-slider__arrow:focus-visible { outline: 2px solid var(--nb-cyan); outline-offset: 2px; }
.nb-slider__arrow--prev { left: clamp(0.75rem, 3vw, 2.5rem); }
.nb-slider__arrow--next { right: clamp(0.75rem, 3vw, 2.5rem); }

.nb-slider__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(0.75rem, 2vw, 1.25rem);
  display: flex;
  justify-content: center;
  gap: 8px;
}

.nb-slider__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.42);
  transition: background-color .16s ease, width .16s ease;
}
.nb-slider__dot.is-active {
  width: 26px;
  border-radius: 999px;
  background-color: #FFFFFF;
}
.nb-slider__dot:focus-visible { outline: 2px solid var(--nb-cyan); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .nb-slider__track { scroll-behavior: auto; }
}
