/* =========================================================
   FEATURED ESCAPES — parallax package slider
   Append this to the END of your main stylesheet.
   Uses only existing tokens: --hnp-white, --hnp-orange,
   --hnp-dark-brown, --hnp-dark, --hnp-black, Oswald/Poppins
   font families, and the same cubic-bezier easing already
   used on .tour-card / .tour-card-gradient.
   Nothing here overrides or redeclares any existing rule.
   ========================================================= */

.pkg-slider-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--hnp-white);
  overflow: hidden;
  height: max-content;
  padding: 30px 0;
}

.pkg-slider-content {
  width: 79.17vw;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.pkg-slider-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.pkg-slider-bar-title h4 {
  font-family: "OswaldBold";
  font-size: 30px;
  line-height: 40px;
  color: var(--hnp-dark);
  margin: 0;
}

.pkg-slider-bar-title p {
  font-family: "PoppinsLight";
  font-size: 0.9375vw;
  line-height: 1.4vw;
  color: var(--hnp-black);
  opacity: 65%;
  margin: 6px 0 0;
}

/* ---------- Slider shell ---------- */

.pkg-slider {
  position: relative;
  width: 100%;
  height: 32vw;
  min-height: 380px;
  border-radius: 1.302084vw;
  overflow: hidden;
}

.pkg-track {
  display: flex;
  height: 100%;
  width: 100%;
  cursor: grab;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.pkg-track.pkg-dragging {
  transition: none;
  cursor: grabbing;
}

.pkg-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  overflow: hidden;
}

.pkg-slide-bg {
  position: absolute;
  inset: -8% -4%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 50%;
  transform: scale(1.08);
  will-change: background-position, transform;
  transition:
    transform 9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    background-position 0.2s linear;
}

.pkg-slide.pkg-active .pkg-slide-bg {
  transform: scale(1.18);
}

.pkg-slide-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, #222222 15%, rgba(34, 34, 34, 0) 60%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 48%);
  pointer-events: none;
}

.pkg-slide-info {
  position: absolute;
  left: 3.5vw;
  bottom: 3vw;
  max-width: 32vw;
  display: flex;
  flex-direction: column;
  gap: 0.83334vw;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pkg-slide.pkg-active .pkg-slide-info {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.pkg-slide-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.4vw;
  color: var(--hnp-orange);
  font-family: "PoppinsMedium";
  font-size: 0.83334vw;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pkg-slide-info h5 {
  font-family: "OswaldBold";
  color: var(--hnp-white);
  font-size: 2.6vw;
  line-height: 1.05;
  margin: 0;
  text-transform: uppercase;
}

.pkg-slide-meta {
  display: flex;
  gap: 1.5vw;
  color: var(--hnp-white);
}

.pkg-slide-meta p {
  display: flex;
  align-items: center;
  gap: 0.45vw;
  font-family: "PoppinsRegular";
  font-size: 0.9vw;
  margin: 0;
}

.pkg-slide-desc {
  font-family: "PoppinsLight";
  color: var(--hnp-white);
  opacity: 0.85;
  font-size: 0.95vw;
  line-height: 1.5vw;
  max-width: 30vw;
  margin: 0;
}

.pkg-slide-cta {
  display: flex;
  gap: 0.8vw;
  margin-top: 0.4vw;
}

/* Reuse your .desc-cta look, but force it visible here since
   the slider isn't a hover-reveal card like .tour-card is */
.pkg-slide-cta .desc-cta {
  display: flex !important;
  width: max-content !important;
  height: auto !important;
  padding: 0.75vw 1.6vw;
  border-radius: 0.5208vw;
  border: 1px solid var(--hnp-white);
  box-sizing: border-box;
}

.pkg-slide-cta .desc-cta:hover {
  border-color: var(--hnp-orange);
  background: var(--hnp-orange);
}

.pkg-slide-cta .desc-cta.bn {
  background: var(--hnp-orange);
  border-color: var(--hnp-orange);
}

.pkg-slide-cta .desc-cta p {
  margin: 0;
  color: var(--hnp-white);
  font-family: "PoppinsRegular";
  font-size: 0.9vw;
  opacity: 1;
}

/* ---------- Nav arrows ---------- */

.pkg-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3vw;
  height: 3vw;
  min-width: 40px;
  min-height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--hnp-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
}

.pkg-nav:hover {
  background: var(--hnp-orange);
  border-color: var(--hnp-orange);
}

.pkg-prev {
  left: 1.5vw;
}
.pkg-next {
  right: 1.5vw;
}

/* ---------- Dots + autoplay progress ---------- */

.pkg-dots {
  position: absolute;
  bottom: 1.5vw;
  right: 3.5vw;
  display: flex;
  gap: 0.6vw;
  z-index: 5;
}

.pkg-dot {
  width: 0.6vw;
  height: 0.6vw;
  min-width: 8px;
  min-height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  border: none;
  padding: 0;
  overflow: hidden;
  position: relative;
  transition: width 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-radius 0.35s ease;
}

.pkg-dot.pkg-active {
  width: 2vw;
  min-width: 26px;
  border-radius: 0.6vw;
  background: rgba(255, 255, 255, 0.3);
}

.pkg-dot-fill {
  position: absolute;
  inset: 0;
  background: var(--hnp-orange);
  transform: scaleX(0);
  transform-origin: left;
}

.pkg-dot.pkg-active .pkg-dot-fill {
  animation: pkgDotFill linear forwards;
  animation-duration: var(--pkg-autoplay-duration, 6s);
}

@keyframes pkgDotFill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Entrance animation for the whole slider, matches your
   .lazy-item.fade-up convention */
.pkg-slider-section.lazy-item {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pkg-slider-section.lazy-item.animate {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .pkg-slide-bg,
  .pkg-track,
  .pkg-slide-info,
  .pkg-slider-section.lazy-item {
    transition: none !important;
    animation: none !important;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 992px) {
  .pkg-slider-content {
    width: 92vw;
  }
  .pkg-slide-info {
    max-width: 60vw;
    left: 5vw;
    bottom: 4vw;
  }
  .pkg-slide-info h5 {
    font-size: 5vw;
  }
  .pkg-slide-desc {
    font-size: 2vw;
    line-height: 2.6vw;
    max-width: 55vw;
  }
}

@media (max-width: 768px) {
  .pkg-slider {
    height: 130vw;
    border-radius: 20px;
  }
  .pkg-slider-content {
    width: 90vw;
    gap: 18px;
  }
  .pkg-slide-info {
    max-width: 85vw;
    left: 6vw;
    bottom: 6vw;
    gap: 12px;
  }
  .pkg-slide-eyebrow {
    font-size: 12px;
  }
  .pkg-slide-info h5 {
    font-size: 26px;
    line-height: 1.1;
  }
  .pkg-slide-meta p {
    font-size: 13px;
  }
  .pkg-slide-desc {
    font-size: 14px;
    line-height: 20px;
    max-width: 82vw;
  }
  .pkg-slide-cta .desc-cta {
    padding: 10px 18px;
    border-radius: 8px;
  }
  .pkg-slide-cta .desc-cta p {
    font-size: 13px;
  }
  .pkg-nav {
    width: 38px;
    height: 38px;
  }
  .pkg-dots {
    right: 6vw;
    bottom: 5vw;
  }
}
/* =========================================================
   EXPLORE RAIL — horizontal scroll-pinned tour gallery
   Append to the END of your stylesheet. New tokens only
   (prefixed xpl-), nothing here touches existing rules.
   Desktop/tablet: scroll-pinned horizontal reel.
   Mobile (<900px): native swipeable snap-scroll, no pinning.
   ========================================================= */

.xpl-section {
  position: relative;
  background: var(--hnp-light-gray);
  overflow: visible;
  max-width: 100vw;
}

.xpl-sticky {
  position: sticky;
  top: 4vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.xpl-header {
  position: absolute;
  top: 3.5vw;
  left: 3.5vw;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 0.4vw;
  pointer-events: none;
}

.xpl-eyebrow {
  font-family: "PoppinsMedium";
  font-size: 0.83334vw;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hnp-orange);
  margin: 0;
}

.xpl-header h4 {
  font-family: "OswaldBold";
  font-size: 2.4vw;
  line-height: 1.05;
  color: var(--hnp-dark);
  margin: 0;
  max-width: 22vw;
  text-transform: uppercase;
}

.xpl-counter {
  position: absolute;
  top: 3.5vw;
  right: 3.5vw;
  z-index: 6;
  display: flex;
  align-items: baseline;
  gap: 0.3vw;
  font-family: "OswaldBold";
  color: var(--hnp-dark);
  pointer-events: none;
}

.xpl-counter-current {
  font-size: 1.8vw;
  color: var(--hnp-orange);
}

.xpl-counter-total {
  font-size: 1vw;
  opacity: 0.5;
}

.xpl-track {
  display: flex;
  align-items: center;
  gap: 1.8vw;
  padding: 0 3.5vw;
  will-change: transform;
}

.xpl-card {
  position: relative;
  flex: 0 0 auto;
  width: 24vw;
  height: 30vw;
  min-width: 260px;
  min-height: 330px;
  border-radius: 1.302084vw;
  overflow: hidden;
  background: #d9d9d9;
}

.xpl-card-img {
  position: absolute;
  inset: -6%;
  background-size: cover;
  background-position: center;
  transform: translateX(0);
  will-change: transform;
  transition: transform 0.2s linear;
}

.xpl-card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #222222 25%, rgba(34, 34, 34, 0) 62%);
}

.xpl-card-index {
  position: absolute;
  top: 1.2vw;
  left: 1.2vw;
  font-family: "OswaldBold";
  font-size: 1vw;
  color: var(--hnp-white);
  opacity: 0.7;
}

.xpl-card-info {
  position: absolute;
  left: 1.2vw;
  right: 1.2vw;
  bottom: 1.2vw;
  display: flex;
  flex-direction: column;
  gap: 0.5vw;
}

.xpl-card-info h5 {
  font-family: "OswaldBold";
  font-size: 1.35vw;
  line-height: 1.15;
  color: var(--hnp-white);
  margin: 0;
  text-transform: uppercase;
}

.xpl-card-meta {
  display: flex;
  gap: 1vw;
  color: var(--hnp-white);
}

.xpl-card-meta p {
  display: flex;
  align-items: center;
  gap: 0.35vw;
  font-family: "PoppinsRegular";
  font-size: 0.75vw;
  margin: 0;
  opacity: 0.9;
}

.xpl-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45vw;
  margin-top: 0.3vw;
  font-family: "PoppinsMedium";
  font-size: 0.8vw;
  color: var(--hnp-white);
  text-decoration: none;
  width: max-content;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    color 0.25s ease,
    gap 0.25s ease;
}

.xpl-card.xpl-in-focus .xpl-card-link {
  opacity: 1;
  transform: translateY(0);
}

.xpl-card-link:hover {
  color: var(--hnp-orange);
  gap: 0.7vw;
}

.xpl-card.xpl-in-focus {
  outline: 1px solid rgba(255, 255, 255, 0.25);
  outline-offset: -1px;
}

.xpl-card.xpl-in-focus .xpl-card-img {
  transform: scale(1.04);
}

/* End card — soft CTA back to the full catalogue */
.xpl-end-card {
  flex: 0 0 auto;
  width: 16vw;
  min-width: 200px;
  height: 30vw;
  min-height: 330px;
  border-radius: 1.302084vw;
  border: 1px dashed var(--hnp-dark-brown);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1vw;
  text-align: center;
  padding: 2vw;
  box-sizing: border-box;
  text-decoration: none;
  transition: background 0.3s ease;
}

.xpl-end-card:hover {
  background: rgba(108, 48, 21, 0.06);
}

.xpl-end-card p {
  font-family: "PoppinsMedium";
  font-size: 0.95vw;
  color: var(--hnp-dark-brown);
  margin: 0;
}

.xpl-end-card i {
  font-size: 1.6vw;
  color: var(--hnp-orange);
}

/* Progress rail */
.xpl-progress-wrap {
  position: absolute;
  left: 3.5vw;
  right: 3.5vw;
  bottom: 2vw;
  height: 2px;
  background: rgba(108, 48, 21, 0.15);
  border-radius: 2px;
  z-index: 6;
}

.xpl-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--hnp-orange);
  border-radius: 2px;
  will-change: width;
}

/* Scroll hint, fades once the user starts moving */
.xpl-hint {
  position: absolute;
  bottom: 4vw;
  right: 3.5vw;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 0.5vw;
  font-family: "PoppinsRegular";
  font-size: 0.8vw;
  color: var(--hnp-dark-brown);
  opacity: 0.75;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.xpl-hint i {
  animation: xplBob 1.4s ease-in-out infinite;
}

.xpl-section.xpl-started .xpl-hint {
  opacity: 0;
}

@keyframes xplBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

@media (prefers-reduced-motion: reduce) {
  .xpl-card-img,
  .xpl-hint i {
    transition: none !important;
    animation: none !important;
  }
}

/* ---------- Mobile: native swipe rail, no pinning ---------- */

@media (max-width: 900px) {
  .xpl-sticky {
    position: static;
    height: auto;
    padding: 60px 0 40px;
  }
  .xpl-header,
  .xpl-counter,
  .xpl-progress-wrap,
  .xpl-hint {
    position: static;
    margin: 0 6vw 20px;
    max-width: none;
  }
  .xpl-header h4 { font-size: 26px; max-width: none; }
  .xpl-counter { display: none; }
  .xpl-track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 6vw;
    gap: 16px;
    transform: none !important;
    -webkit-overflow-scrolling: touch;
  }
  .xpl-track::-webkit-scrollbar { display: none; }
  .xpl-card {
    width: 78vw;
    height: 100vw;
    min-height: 0;
    scroll-snap-align: start;
  }
  .xpl-card-info h5 { font-size: 20px; }
  .xpl-card-meta p { font-size: 13px; }
  .xpl-card-link { font-size: 13px; opacity: 1; transform: none; }
  .xpl-end-card {
    width: 60vw;
    height: 100vw;
    min-height: 0;
    scroll-snap-align: start;
  }
}