:root {
  --nh-ink: #10231c;
  --nh-forest: #0f3d2c;
  --nh-leaf: #1f6b4a;
  --nh-sand: #f4efe6;
  --nh-mist: #e8f2ec;
  --nh-card: #ffffff;
  --nh-muted: #5b6b63;
  --nh-line: rgba(16, 35, 28, 0.12);
  --nh-radius: 18px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

body {
  font-family: var(--font-body);
  color: var(--nh-ink);
  background: linear-gradient(180deg, #f7f4ee 0%, #eef3ef 45%, #f7f4ee 100%);
}

/* Original header (.site-header + header.css) and hero (.hero-section + hero.css) take priority */

.hero-buttons .secondary-btn {
  cursor: pointer;
  border: 0;
}

.btn-primary, .pkg-card-cta, .btn-whatsapp, .btn-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--nh-leaf);
  color: #fff;
}

.btn-primary:hover {
  background: var(--nh-forest, #0f3d2c);
  color: #fff;
}

.btn-ghost {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  font-weight: 700;
  text-decoration: none;
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: -2.5rem;
  position: relative;
  z-index: 2;
}

.trust-item {
  background: var(--nh-card);
  border: 1px solid var(--nh-line);
  border-radius: var(--nh-radius);
  padding: 1rem 1.1rem;
  box-shadow: 0 10px 30px rgba(20,32,27,.06);
}

.trust-item strong {
  display: block;
  font-size: 1.35rem;
  font-family: var(--font-display);
}

.chip-row {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.chip {
  flex: 0 0 auto;
  background: var(--nh-card);
  border: 1px solid var(--nh-line);
  border-radius: 999px;
  padding: 0.65rem 1rem;
  text-decoration: none;
  color: inherit;
  font-weight: 600;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0.2rem 0 0;
}

.section-label {
  color: var(--nh-forest);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.filter-tabs button {
  border: 1px solid var(--nh-line);
  background: transparent;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
}

.filter-tabs button.active {
  background: var(--nh-forest);
  color: #fff;
  border-color: var(--nh-forest);
}

.pkg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.1rem;
}

.pkg-card,
.jw-pkg-card {
  position: relative;
  background: #0f172a;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  display: block;
  isolation: isolate;
  aspect-ratio: 3 / 3.85;
  min-height: 360px;
  max-height: 480px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pkg-card:hover,
.jw-pkg-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px rgba(15, 23, 42, 0.24);
}

.jw-pkg-link {
  position: absolute;
  inset: 0;
  display: block;
  color: inherit;
  text-decoration: none;
}

.jw-pkg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
  z-index: 0;
}

.jw-pkg-card:hover .jw-pkg-photo {
  transform: scale(1.06);
}

.jw-pkg-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, transparent 28%),
    linear-gradient(180deg, transparent 58%, rgba(15, 23, 42, 0.5) 78%, rgba(8, 15, 28, 0.9) 100%);
}

.jw-pkg-badge {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.65rem 0.28rem 0.35rem;
  border-radius: 999px;
  background: rgba(219, 234, 254, 0.95);
  color: #1e40af;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
}

.jw-pkg-badge i {
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #2563eb;
  color: #fff;
  font-size: 0.55rem;
}

.jw-pkg-script {
  position: absolute;
  left: 50%;
  top: 34%;
  transform: translate(-50%, -50%);
  z-index: 2;
  max-width: 88%;
  text-align: center;
  font-family: "Great Vibes", "Segoe Script", cursive;
  font-size: clamp(1.85rem, 6.2vw, 2.45rem);
  line-height: 1;
  color: #7f1d1d;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.35), 0 10px 24px rgba(15, 23, 42, 0.25);
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jw-pkg-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 0.55rem 0.85rem 0.65rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.28rem;
  color: #fff;
}

.jw-pkg-title {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.jw-pkg-route {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
}

.jw-pkg-route i {
  font-size: 0.62rem;
  opacity: 0.9;
}

.jw-pkg-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.45rem;
  width: 100%;
  margin-top: 0.05rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.72rem;
  font-weight: 700;
}

.jw-pkg-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.jw-pkg-meta i {
  color: #fff;
  opacity: 0.9;
  font-size: 0.66rem;
}

.jw-pkg-sep {
  opacity: 0.55;
  font-weight: 500;
}

.jw-pkg-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0;
}

.jw-pkg-price {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem;
  min-width: 0;
}

.jw-pkg-price del {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.74rem;
  font-weight: 600;
  text-decoration: line-through;
}

.jw-pkg-price strong {
  color: #fff;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.jw-pkg-off {
  display: inline-flex;
  align-items: stretch;
  border-radius: 7px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.25);
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.jw-pkg-off-l {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.38rem;
  background: #a3e635;
  color: #14532d;
}

.jw-pkg-off-r {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.42rem;
  background: #2563eb;
  color: #fff;
}

.jw-pkg-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  margin-top: 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.66rem;
  font-weight: 700;
}

.jw-pkg-stars {
  color: #fbbf24;
  letter-spacing: 0.02em;
  font-size: 0.7rem;
}

/* Legacy class hooks kept inert so old overrides don't break layout */
.jw-pkg-media,
.pkg-card-media,
.jw-pkg-body,
.pkg-card-body,
.jw-pkg-cta,
.pkg-card-cta,
.jw-pkg-from,
.jw-pkg-duration,
.pkg-card-tag,
.pkg-card-discount {
  display: none !important;
}

.nh-footer {
  /* Public footer styles live in footer.css — keep enquire modal rules below */
}

/* Enquire modal — fixed overlay (without this, openEnquire freezes scroll and form stays off-screen) */
.enquire-modal[hidden] {
  display: none !important;
}
.enquire-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(1rem, env(safe-area-inset-top)) 1rem max(1rem, env(safe-area-inset-bottom));
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-sizing: border-box;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.enquire-dialog {
  /* Visual styles live in includes/enquire_modal.php (package + sticky modes) */
  position: relative;
  width: min(520px, 100%);
  margin: auto;
}
.enquire-close {
  position: absolute;
  top: 0.7rem;
  right: 0.75rem;
  cursor: pointer;
}
.enquire-status {
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: #166534;
}
body.enquire-open .sticky-cta {
  visibility: hidden;
  pointer-events: none;
}

.sticky-cta[hidden] {
  display: none !important;
}
.sticky-cta[hidden] {
  display: none !important;
}
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  transform: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0.45rem 0.75rem calc(0.45rem + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 0;
  border-top: 1px solid rgba(20, 32, 27, 0.12);
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -10px 28px rgba(20, 32, 27, 0.12);
  pointer-events: auto;
}
.sticky-cta a,
.sticky-cta button {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 0;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 0 0.65rem;
  font-weight: 800;
  font-family: inherit;
  font-size: clamp(0.72rem, 2.6vw, 0.84rem);
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  background: #eef5f0;
  color: #0f3d2c;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sticky-cta a i,
.sticky-cta button i {
  flex: 0 0 auto;
  font-size: 1rem;
}
.sticky-cta a.wa {
  background: #25d366;
  color: #052e16;
}
.sticky-cta button {
  background: #1f6b4a;
  color: #fff;
}
body:has(.sticky-cta:not([hidden])) {
  padding-bottom: 0;
}
/* Avoid cream/white strip under sticky CTA on mobile bottom bar */
@media (max-width: 900px) {
  html:has(.sticky-cta:not([hidden])) {
    background: #0a1a14;
  }
}
@media (max-width: 640px) {
  .sticky-cta {
    gap: 0.3rem;
    padding: 0.35rem 0.5rem calc(0.35rem + env(safe-area-inset-bottom, 0px));
  }
  .sticky-cta a,
  .sticky-cta button {
    min-height: 46px;
    padding: 0 0.45rem;
    font-size: 0.78rem;
  }
}
/* Desktop: separate floating buttons stacked on the right */
@media (min-width: 901px) {
  .sticky-cta {
    left: auto;
    right: max(1.1rem, env(safe-area-inset-right, 0px));
    bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
    top: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    width: auto;
    max-width: none;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .sticky-cta a,
  .sticky-cta button {
    flex: 0 0 auto;
    min-width: 132px;
    min-height: 48px;
    padding: 0.7rem 1.05rem;
    font-size: 0.88rem;
    box-shadow: 0 12px 28px rgba(16, 35, 28, 0.16);
  }
  .sticky-cta a:hover,
  .sticky-cta button:hover {
    transform: translateY(-2px);
  }
  .sticky-cta a:focus-visible,
  .sticky-cta button:focus-visible {
    outline: 3px solid rgba(31, 107, 74, 0.35);
    outline-offset: 2px;
  }
}

@media (max-width: 900px) {
  .trust-bar { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .desktop-nav, .header-contact { display: none; }
}
