.home-banner-slide {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* adjust to your banner ratio */
  height: auto;
}

.home-banner-slide__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  object-position: center;
  display: block;
}
.home-banners-wrap {
  width: 80%;
  margin: 0 auto;
}
.home-banner-slide__overlay {
  position: absolute;
  inset: 0;
  /* background: rgba(0, 0, 0, 0.4); */
  pointer-events: none;
}

.home-banner-slide__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  max-width: 36rem;
}

.home-banners-swiper .swiper-slide {
  height: auto;
}

.home-banners-swiper {
  padding-bottom: 0 !important;
}

.home-banners-swiper .swiper-button-next,
.home-banners-swiper .swiper-button-prev {
  width: 2rem;
  height: 2rem;
  margin-top: 0;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.35);
  border-radius: 9999px;
  color: #1d4b3e;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  opacity: 0.85;
  transition: opacity 0.2s, background 0.2s;
}

.home-banners-swiper .swiper-button-next:after,
.home-banners-swiper .swiper-button-prev:after {
  font-size: 0.65rem;
  font-weight: 700;
}

.home-banners-swiper .swiper-button-prev {
  left: 0.5rem;
  right: auto;
  bottom: auto;
}

.home-banners-swiper .swiper-button-next {
  right: 0.5rem;
  left: auto;
  bottom: auto;
}

.home-banners-swiper .swiper-button-next:hover,
.home-banners-swiper .swiper-button-prev:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.5);
}

@media (min-width: 768px) {

  .home-banners-swiper .swiper-button-next,
  .home-banners-swiper .swiper-button-prev {
    width: 2.25rem;
    height: 2.25rem;
  }

  .home-banners-swiper .swiper-button-prev {
    left: 0.75rem;
  }

  .home-banners-swiper .swiper-button-next {
    right: 0.75rem;
  }
}

.home-testimonials-swiper .swiper-slide {
  height: auto;
}

.home-testimonial-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.home-testimonials-swiper .swiper-pagination-bullet-active {
  background: #1d4b3e;
}

/* Homepage banner carousel — mobile: natural image height, no letterbox bars */
@media (max-width: 767px) {
  .home-banners-wrap {
    width: 100%;
    max-width: 100%;
  }

  .home-banners-swiper {
    width: 100%;
    margin: 0;
  }

  .home-banners-swiper .swiper-slide {
    width: 100%;
    height: auto !important;
  }

  .home-banner-slide {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    margin-bottom: 0;
    border-radius: 0;
    background: transparent;
    display: block;
  }

  .home-banner-slide__img {
    position: static;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
  }

  .home-banner-slide__overlay {
    display: none;
  }

  .home-banner-slide__content {
    position: static;
    height: auto;
    max-width: none;
    padding: 0.875rem 1.25rem 0 !important;
    background: none;
  }

  .home-banner-slide__content h2 {
    color: #1d4b3e !important;
    font-size: 1.25rem !important;
    margin-top: 0.5rem !important;
  }

  .home-banner-slide__content h3 {
    color: #047881 !important;
    font-size: 1rem !important;
  }
}

@media (min-width: 768px) {
  .home-banner-slide {
    height: clamp(360px, 38vw, 560px);
    min-height: 360px;
  }
}

@media (min-width: 1280px) {
  .home-banner-slide {
    height: clamp(420px, 32vw, 600px);
    min-height: 420px;
  }
}

/* Home hero — space below CTA on mobile & tablet */
@media (max-width: 991px) {
  .home-hero .home-hero__content {
    padding-bottom: clamp(3.5rem, 11vw, 6rem);
  }
}

/* Package detail page */
.package-detail-container {
  width: 100%;
  max-width: min(1600px, 96vw);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 768px) {
  .package-detail-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.package-detail-hero {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/assets/images/spiritual-jouney/packange-bnr.png') center/cover no-repeat;
  padding: 6.5rem 0 2.75rem;
  min-height: 12rem;
}

@media (min-width: 768px) {
  .package-detail-hero {
    padding-top: 8.5rem;
    padding-bottom: 3rem;
    min-height: 14rem;
  }
}

@media (min-width: 1024px) {
  .package-detail-hero {
    padding-top: 9rem;
  }
}

.package-detail-hero__inner {
  position: relative;
  z-index: 2;
}

.package-detail-hero__overlay {
  display: none;
}

.package-detail-breadcrumb {
  list-style: none;
  margin: 2.5rem 0 1rem;
  padding: 0.625rem 0;
  min-height: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.125rem 0;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.package-detail-breadcrumb li {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
}

.package-detail-breadcrumb li:not(:last-child)::after {
  content: "/";
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0.5rem;
  font-weight: 400;
}

.package-detail-breadcrumb a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  opacity: 0.95;
}

.package-detail-breadcrumb a:hover {
  color: #f5c518;
  opacity: 1;
}

.package-detail-breadcrumb span {
  color: #f5c518;
  font-weight: 600;
  max-width: 100%;
}

.package-detail-hero__title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 1rem;
  max-width: 56rem;
}

.package-detail-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.package-detail-body {
  background: #faf8f4;
  padding: 1.5rem 0 3rem;
}

@media (min-width: 768px) {
  .package-detail-body {
    padding: 2rem 0 4rem;
  }
}

.package-detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .package-detail-layout {
    grid-template-columns: 1fr 320px;
    gap: 2rem;
  }
}

@media (min-width: 1280px) {
  .package-detail-layout {
    grid-template-columns: 1fr 360px;
    gap: 2.5rem;
  }
}

.package-detail-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.25rem;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

@media (min-width: 768px) {
  .package-detail-card {
    padding: 2rem;
  }
}

.package-booking-card__inner {
  background: #1d4b3e;
  color: #fff;
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: 0 8px 32px rgba(29, 75, 62, 0.25);
  /* position: sticky; */
  top: 6.5rem;
}

.package-booking-card__inner h3 {
  font-size: 1.375rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.package-booking-card__inner p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 1.25rem;
  line-height: 1.5;
}

.package-booking-card__price {
  font-size: 1.75rem;
  font-weight: 800;
  color: #f5c518;
  margin-bottom: 1.25rem;
}

.package-booking-card__price small {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.25rem;
}

.package-booking-card__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
}

.package-booking-card__phone:hover {
  color: #f5c518;
}

.pkg-detail-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.875rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
}

.pkg-detail-badge--teal {
  background: rgba(4, 120, 129, 0.9);
}

.pkg-detail-badge--soft {
  background: rgba(206, 133, 148, 0.9);
}

.pkg-detail-badge--price {
  background: #f5c518;
  color: #1d4b3e;
}

/* Package gallery */
.pkg-gallery {
  margin-bottom: 1.5rem;
}

.pkg-gallery__data {
  display: none !important;
}

.pkg-gallery__stage {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.12);
}

.pkg-gallery__main-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  position: relative;
}

.pkg-gallery__main-img {
  width: 100%;
  height: clamp(280px, 45vw, 560px);
  object-fit: cover;
  object-position: center;
  display: block;
}

.pkg-gallery__zoom {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
  pointer-events: none;
}

.pkg-gallery__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.9);
  color: #1d4b3e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.pkg-gallery__arrow--prev {
  left: 0.75rem;
}

.pkg-gallery__arrow--next {
  right: 0.75rem;
}

.pkg-gallery__counter {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
}

.pkg-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr));
  gap: 0.625rem;
  margin-top: 0.75rem;
}

@media (min-width: 768px) {
  .pkg-gallery__thumbs {
    grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr));
    gap: 0.75rem;
  }
}

.pkg-gallery__thumb {
  aspect-ratio: 4 / 3;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s, border-color 0.2s, transform 0.2s;
  background: #e2e8f0;
}

.pkg-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pkg-gallery__thumb.is-active,
.pkg-gallery__thumb:hover {
  opacity: 1;
  border-color: #1d4b3e;
  transform: translateY(-2px);
}

/* Fullscreen lightbox */
body.pkg-lightbox-open {
  overflow: hidden;
}

.pkg-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10002;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.pkg-lightbox.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.pkg-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
}

.pkg-lightbox__inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1rem 4rem;
  opacity: 0;
  transition: opacity 0.25s ease 0.05s;
}

.pkg-lightbox.is-open .pkg-lightbox__inner {
  opacity: 1;
}

.pkg-lightbox__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.5rem;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.pkg-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.25rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
}

.pkg-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.pkg-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.125rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
}

.pkg-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.pkg-lightbox__nav--prev {
  left: 1rem;
}

.pkg-lightbox__nav--next {
  right: 1rem;
}

.pkg-lightbox__counter {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.cms-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
}

.package-booking-card .site-button {
  width: 100%;
  justify-content: center;
}

/* Package Google Maps */
.package-map-section {
  width: 100%;
}

.package-map-frame {
  background: #f1f5f9;
  min-height: 280px;
}

.package-map-frame iframe {
  display: block;
  width: 100%;
  min-height: clamp(280px, 45vw, 480px);
}

.package-map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1d4b3e;
}

.package-map-link:hover {
  color: #047881;
}

/* Booking modal */
body.booking-modal-open {
  overflow: hidden;
}

.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  pointer-events: none;
}

.booking-modal.is-open {
  pointer-events: auto;
}

.booking-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.booking-modal.is-open .booking-modal__backdrop {
  opacity: 1;
}

.booking-modal__sheet {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(560px, 100%);
  max-height: min(92vh, 720px);
  background: #fff;
  border-radius: 1.25rem 1.25rem 0 0;
  box-shadow: 0 -16px 48px rgba(15, 23, 42, 0.2);
  transform: translate(-50%, 100%);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.booking-modal.is-open .booking-modal__sheet {
  transform: translate(-50%, 0);
}

@media (min-width: 640px) {
  .booking-modal__sheet {
    top: 50%;
    bottom: auto;
    max-height: min(90vh, 680px);
    border-radius: 1.25rem;
    transform: translate(-50%, -40%);
    opacity: 0;
  }

  .booking-modal.is-open .booking-modal__sheet {
    transform: translate(-50%, -50%);
    opacity: 1;
  }
}

.booking-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.25rem 0.75rem;
  border-bottom: 1px solid #f1f5f9;
  flex-shrink: 0;
}

.booking-modal__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
}

.booking-modal__subtitle {
  font-size: 0.875rem;
  color: #64748b;
  margin-top: 0.25rem;
}

.booking-modal__close {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: #f1f5f9;
  color: #334155;
  flex-shrink: 0;
}

.booking-modal__form {
  flex: 1;
  overflow: auto;
  padding: 1rem 1.25rem 1.5rem;
}

.booking-modal__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
}

.booking-modal__field--full {
  grid-column: 1 / -1;
}

.booking-modal__field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.375rem;
}

.booking-modal__field input,
.booking-modal__field textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  font-size: 0.9375rem;
  outline: none;
  background: #fff;
}

.booking-modal__field input:focus,
.booking-modal__field textarea:focus {
  border-color: #1d4b3e;
  box-shadow: 0 0 0 3px rgba(29, 75, 62, 0.1);
}

.booking-modal__msg {
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  min-height: 1.25rem;
}

.booking-modal__msg.is-success {
  color: #15803d;
}

.booking-modal__msg.is-error {
  color: #dc2626;
}
@media (max-width: 767px) {
  .home-banner-slide__content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px !important;
  }

  .home-banner-slide__overlay {
    display: block;
    background: rgba(0, 0, 0, 0.35);
  }

  .home-banner-slide__content h2,
  .home-banner-slide__content h3 {
    color: #fff !important;
  }
}
.package-detail-sidebar {
  position: sticky;
  top: 120px;
  height: fit-content;
  align-self: start;
}

.package-booking-card,
.package-booking-card__inner {
  position: static;
}


/* package details - book now btn */
@media (max-width: 1023px) {
  .mobile-booking-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;

    height: 72px;
    padding: 12px 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #1d4b3e;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border-top: 1px solid rgba(0,0,0,.08);
  }

  .mobile-booking-bar__price span {
    display: block;
    font-size: 12px;
    color: #ffffff;
  }

  .mobile-booking-bar__price strong {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
  }

  .mobile-booking-bar__btn {
    color: #fff;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
  }
}

