/* LookNBooks — shared booking handoff modal ("next step" flow) */
.lnb-modal-open { overflow: hidden; }

/* ---------- City / airport autocomplete (airports.js) ---------- */
.lnb-ac {
  position: absolute; z-index: 1200; left: 0; right: 0; top: calc(100% + 4px);
  background: #fff; border: 1px solid #E2E9EC; border-radius: 12px;
  box-shadow: 0 18px 44px rgba(7, 42, 58, .18);
  max-height: 17rem; overflow-y: auto; overscroll-behavior: contain;
  min-width: 15rem;
}
.lnb-ac[hidden] { display: none; }
.lnb-ac-item {
  display: flex; align-items: center; gap: .65rem;
  padding: .5rem .7rem; cursor: pointer; border-bottom: 1px solid #F1F5F7;
}
.lnb-ac-item:last-child { border-bottom: none; }
.lnb-ac-item.on, .lnb-ac-item:hover { background: #E8F3F8; }
.lnb-ac-item .c {
  flex: none; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 700; font-size: .74rem; letter-spacing: .04em;
  background: #0B6FB0; color: #fff; border-radius: 6px; padding: .2rem .4rem;
}
.lnb-ac-item .t { min-width: 0; line-height: 1.25; }
.lnb-ac-item .t strong { display: block; font-size: .9rem; color: #10202B; font-weight: 700; }
.lnb-ac-item .t small {
  display: block; font-size: .76rem; color: #57616B;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* Give date inputs the same look as the text fields they replaced. */
input[type="date"] { font: inherit; color: inherit; }

#lnb-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: none;
  align-items: center; justify-content: center;
  padding: 1.2rem;
}
#lnb-modal.show { display: flex; }

#lnb-modal .lnb-backdrop {
  position: absolute; inset: 0;
  background: rgba(7, 42, 58, 0.62);
  backdrop-filter: blur(4px);
  opacity: 0; transition: opacity 0.25s ease;
}
#lnb-modal.show .lnb-backdrop { opacity: 1; }

#lnb-modal .lnb-card {
  position: relative;
  width: 100%; max-width: 560px;
  max-height: 92vh; overflow-y: auto;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 40px 90px rgba(7, 42, 58, 0.45);
  transform: translateY(18px) scale(0.98);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), opacity 0.3s ease;
  font-family: Inter, system-ui, sans-serif;
}
#lnb-modal.show .lnb-card { transform: none; opacity: 1; }

.lnb-hero {
  position: relative; height: 150px; overflow: hidden;
  border-radius: 22px 22px 0 0;
  background: #0A4E56;
}
.lnb-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lnb-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(7,42,58,0.85), rgba(11,111,176,0.45));
}
.lnb-hero .lnb-route {
  position: absolute; left: 20px; bottom: 16px; z-index: 2; color: #fff;
}
.lnb-hero .lnb-route .r { font-family: Fraunces, Georgia, serif; font-weight: 800; font-size: 1.5rem; line-height: 1.1; }
.lnb-hero .lnb-route .s { font-size: 0.85rem; opacity: 0.9; margin-top: 2px; }

.lnb-close {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 36px; height: 36px; border-radius: 50%;
  border: none; cursor: pointer;
  background: rgba(255,255,255,0.9); color: #10202B;
  font-size: 1.1rem; line-height: 1; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.lnb-close:hover { background: #fff; }

.lnb-body { padding: 1.2rem 1.4rem 1.4rem; }

.lnb-modes { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.lnb-mode {
  flex: 1; border: 1px solid #E2E9EC; background: #F2F7F9; color: #55636E;
  border-radius: 12px; padding: 0.6rem; cursor: pointer;
  font-weight: 700; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; gap: 0.35rem;
  transition: all 0.15s ease;
}
.lnb-mode.active { background: #0B6FB0; color: #fff; border-color: #0B6FB0; }

.lnb-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; margin-bottom: 1rem; }
.lnb-field { border: 1px solid #E2E9EC; border-radius: 12px; padding: 0.6rem 0.8rem; background: #fff; }
.lnb-field label { display: block; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: #55636E; }
.lnb-field input { width: 100%; border: none; outline: none; font-size: 0.98rem; font-weight: 600; color: #10202B; background: transparent; padding: 2px 0; }

.lnb-info {
  background: #F2F7F9; border: 1px solid #E2E9EC; border-radius: 12px;
  padding: 0.85rem 1rem; margin-bottom: 1rem; font-size: 0.9rem; color: #384049;
}
.lnb-info .row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.15rem 0; }
.lnb-info .row .k { color: #55636E; }
.lnb-info .row .v { font-weight: 700; color: #10202B; text-align: right; }

.lnb-cta {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  width: 100%; border: none; cursor: pointer; text-decoration: none;
  background: linear-gradient(135deg, #FF7A45, #ec5f27); color: #10202B;
  font-weight: 800; font-size: 1rem; border-radius: 999px; padding: 0.95rem 1.2rem;
  box-shadow: 0 10px 26px rgba(255,122,69,0.38);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.lnb-cta:hover { transform: translateY(-2px); filter: brightness(1.03); }

.lnb-steps { display: flex; gap: 0.6rem; margin: 1rem 0 0.2rem; }
.lnb-steps .st { flex: 1; text-align: center; font-size: 0.72rem; color: #55636E; }
.lnb-steps .st .n { display: block; width: 24px; height: 24px; margin: 0 auto 4px; border-radius: 50%; background: #E8F3F8; color: #0B6FB0; font-weight: 800; line-height: 24px; }
.lnb-steps .st.on .n { background: #0B6FB0; color: #fff; }

.lnb-disc { margin-top: 0.9rem; font-size: 0.76rem; color: #6b5b32; background: #FFF7E6; border: 1px solid #F3E2BC; border-radius: 10px; padding: 0.6rem 0.8rem; }

@media (max-width: 480px) {
  .lnb-fields { grid-template-columns: 1fr; }
}

/* --- Value/psychology enhancements (shared across pages) --- */

/* Loss-prevention line directly above the CTA (Kahneman loss aversion) */
.lnb-loss { text-align: center; font-size: 0.82rem; color: #55636E; margin: 0 0 0.7rem; }
.lnb-loss strong { color: #10202B; }

/* Save / share row under the CTA */
.lnb-actions { display: flex; gap: 0.5rem; margin-top: 0.8rem; }
.lnb-ghost {
  flex: 1; border: 1px solid #E2E9EC; background: #fff; color: #10202B;
  border-radius: 999px; padding: 0.6rem 0.6rem; font-weight: 700; font-size: 0.82rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 0.35rem;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.lnb-ghost:hover { background: #F2F7F9; border-color: #cfe0e7; }
.lnb-ghost.saved { background: #E3F5EA; border-color: #bfe6cd; color: #1c7a45; }
.lnb-ghost[data-wa] { color: #128C7E; }
.lnb-ghost[data-wa]:hover { background: #e7f7f3; border-color: #b6e6dc; }

/* Reminder / email-capture (highest-ICE growth loop) */
.lnb-remind { margin-top: 0.85rem; background: #FFF7E6; border: 1px solid #F3E2BC; border-radius: 14px; padding: 0.8rem 0.9rem; }
.lnb-remind[hidden] { display: none; }
.lnb-remind label { display: block; font-size: 0.85rem; font-weight: 700; color: #6b5b32; margin-bottom: 0.5rem; }
.lnb-remind-row { display: flex; gap: 0.5rem; }
.lnb-remind-row input {
  flex: 1; border: 1px solid #e6d6ad; border-radius: 999px; padding: 0.55rem 0.9rem;
  font-size: 0.9rem; font-family: Inter, sans-serif; outline: none; color: #10202B; background: #fff;
}
.lnb-remind-row input:focus { border-color: #F6A821; }
.lnb-remind-btn {
  border: none; cursor: pointer; background: #0B6FB0; color: #fff; font-weight: 800;
  border-radius: 999px; padding: 0.55rem 1rem; font-size: 0.9rem; white-space: nowrap;
}
.lnb-remind-btn:hover { filter: brightness(1.05); }
.lnb-remind-done { margin: 0; font-size: 0.9rem; font-weight: 700; color: #1c7a45; }

/* Toast */
.lnb-toast {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(20px);
  background: #10202B; color: #fff; padding: 0.7rem 1.1rem; border-radius: 999px;
  font-family: Inter, sans-serif; font-size: 0.9rem; font-weight: 600; z-index: 1200;
  opacity: 0; transition: opacity 0.25s ease, transform 0.25s ease; pointer-events: none;
  box-shadow: 0 12px 30px rgba(7,42,58,0.35);
}
.lnb-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Saved-trip count badge on the nav "Plan a trip" CTA */
.nav-cta { position: relative; }
.lnb-nav-badge {
  position: absolute; top: -8px; right: -8px; min-width: 20px; height: 20px;
  background: #FF7A45; color: #10202B; border-radius: 999px; font-size: 0.72rem; font-weight: 800;
  display: none; align-items: center; justify-content: center; padding: 0 5px;
}
.lnb-nav-badge.show { display: flex; }

/* Fare-range pill on cards & route rows (price anchoring) */
.fare-pill {
  display: inline-flex; align-items: center; gap: 0.3rem;
  background: #E8F3F8; color: #075186; font-weight: 800; font-size: 0.78rem;
  padding: 0.18rem 0.6rem; border-radius: 999px;
}
.dest-card .fare-pill { background: rgba(255,255,255,0.92); color: #075186; margin-top: 0.5rem; }

/* Seasonal anticipation cue (Nawijn anticipation) */
.season-cue { display: inline-block; margin-top: 0.5rem; font-size: 0.8rem; font-weight: 700; color: #9a6a12; }

/* Hero testimonial pull-quote (social proof) */
.hero-testimonial {
  margin-top: 1.1rem; padding: 0.75rem 1rem; border-left: 3px solid var(--coral, #FF7A45);
  background: rgba(255,255,255,0.10); border-radius: 0 12px 12px 0; max-width: 34ch;
}
.hero-testimonial p { margin: 0; font-size: 0.92rem; color: rgba(255,255,255,0.95); font-style: italic; }
.hero-testimonial cite { display: block; margin-top: 0.25rem; font-size: 0.8rem; color: rgba(255,255,255,0.8); font-style: normal; font-weight: 700; }

/* --- Buffalo vs Pearson cost calculator --- */
.calc {
  background: #fff; border: 1px solid #E2E9EC; border-radius: 22px;
  box-shadow: 0 18px 44px rgba(11,111,176,0.14); padding: 1.8rem; max-width: 760px; margin: 0 auto;
}
.calc h3 { font-family: Fraunces, Georgia, serif; font-size: clamp(1.4rem,2.4vw,1.9rem); font-weight: 800; margin: 0 0 0.3rem; color: #10202B; }
.calc .sub { color: #55636E; margin: 0 0 1.3rem; font-size: 1rem; }
.calc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
@media (max-width: 560px) { .calc-grid { grid-template-columns: 1fr; } }
.calc-field { border: 1px solid #E2E9EC; border-radius: 12px; padding: 0.6rem 0.85rem; background: #F7FAFB; }
.calc-field label { display: block; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: #55636E; margin-bottom: 0.2rem; }
.calc-field input, .calc-field select { width: 100%; border: none; background: transparent; font-size: 1rem; font-weight: 600; color: #10202B; outline: none; }
.calc-result { margin-top: 1.3rem; border-radius: 16px; padding: 1.2rem 1.3rem; color: #fff; background: linear-gradient(135deg, #0B6FB0, #072A3A); }
.calc-result .verdict { font-family: Fraunces, serif; font-size: 1.5rem; font-weight: 900; margin: 0 0 0.6rem; }
.calc-cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin: 0.6rem 0 0; }
.calc-cmp .side { background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.16); border-radius: 12px; padding: 0.7rem 0.9rem; }
.calc-cmp .side.win { background: rgba(244,168,33,0.22); border-color: rgba(246,168,33,0.55); }
.calc-cmp .side .lbl { font-size: 0.8rem; opacity: 0.85; }
.calc-cmp .side .amt { font-family: Fraunces, serif; font-size: 1.5rem; font-weight: 900; }
.calc-assume { font-size: 0.78rem; color: #55636E; margin-top: 0.9rem; }
.calc-ctas { display: flex; gap: 0.6rem; margin-top: 1rem; flex-wrap: wrap; }
.calc-cta { flex: 1; min-width: 180px; text-align: center; cursor: pointer; border: none; border-radius: 999px; padding: 0.8rem 1rem; font-weight: 800; font-size: 0.95rem; }
.calc-cta.buf { background: linear-gradient(135deg, #FF7A45, #ec5f27); color: #10202B; }
.calc-cta.yyz { background: #0B6FB0; color: #fff; }

/* --- Emotional "moments" masonry collage (Kayak-style rounded tiles) --- */
.moments-band { background: linear-gradient(180deg, #FFFFFF 0%, #F2F7F9 100%); }
.moments-head { text-align: center; max-width: 640px; margin: 0 auto 1.8rem; }
.moments-head .kicker { color: #B84010; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.82rem; }
.moments-head h2 { font-family: Fraunces, Georgia, serif; font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; margin: 0.4rem 0 0.5rem; color: #10202B; letter-spacing: -0.01em; }
.moments-head p { color: #55636E; margin: 0; font-size: 1.05rem; }
/* Was column-count masonry, which let each photo keep its own aspect ratio --
   the source images run 520px to 780px tall, so the top row looked stretched
   next to the bottom row. A real grid + a single aspect-ratio makes every tile
   identical; object-fit:cover crops rather than distorting. max-width keeps the
   whole collage smaller than the full 1200px content column. */
.moments-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  max-width: 880px; margin: 0 auto;
}
@media (max-width: 820px) { .moments-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .moments-grid { grid-template-columns: 1fr; max-width: 420px; } }
.moment { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 24px rgba(7,42,58,0.12); }
.moment img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center;
  height: auto; display: block; transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.moment:hover img { transform: scale(1.06); }
.moment .cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1rem 1.1rem 0.9rem; color: #fff; font-weight: 700; font-size: 0.95rem; background: linear-gradient(transparent, rgba(7,42,58,0.8)); }
.moment .cap small { display: block; font-weight: 500; opacity: 0.85; font-size: 0.8rem; margin-top: 2px; }

