/* ============================================================
   RAHAYU BALI TOUR — style.css
   Luxury Tropical Bali design system
   ============================================================ */

:root {
  --forest: #12372A;
  --forest-deep: #0D2A20;
  --emerald: #1F5C46;
  --sand: #E8DCC8;
  --cream: #F7F4ED;
  --charcoal: #171B18;
  --gold: #B99A5B;
  --gold-soft: rgba(185, 154, 91, 0.35);
  --white: #FFFFFF;
  --text: #2A2F2B;
  --text-muted: #6B7168;
  --border: rgba(18, 55, 42, 0.14);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- RESET / BASE ---------- */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* Anchor landing sits below the (now larger) fixed navbar */
html { scroll-padding-top: 132px; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 500; color: var(--forest); line-height: 1.2; }

::selection { background: var(--gold); color: var(--white); }

.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }

.section { padding-block: clamp(80px, 10vw, 140px); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.lead { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; }

.section-head { max-width: 640px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }

/* ---------- BUTTONS ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: all 0.35s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn--gold { background: var(--gold); color: var(--white); }
.btn--gold:hover { background: var(--forest); color: var(--sand); }

.btn--ghost {
  border-color: rgba(247, 244, 237, 0.5);
  color: var(--cream);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: var(--cream); color: var(--forest); border-color: var(--cream); }

.btn--outline-light { border-color: var(--gold); color: var(--gold); padding: 11px 24px; font-size: 0.72rem; }
.btn--outline-light:hover { background: var(--gold); color: var(--white); }

/* ---------- REVEAL ANIMATIONS ---------- */

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal--d1 { transition-delay: 0.12s; }
.reveal--d2 { transition-delay: 0.24s; }
.reveal--d3 { transition-delay: 0.36s; }
.reveal.is-visible { opacity: 1; transform: none; }

.reveal-img { position: relative; overflow: hidden; }
.reveal-img img { transform: scale(1.15); transition: transform 1.4s var(--ease); }
.reveal-img::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--cream);
  transform: scaleY(1); transform-origin: top;
  transition: transform 1.1s var(--ease) 0.15s;
}
.reveal-img.is-visible::after { transform: scaleY(0); }
.reveal-img.is-visible img { transform: scale(1); }

/* ---------- NAVBAR ---------- */

.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 26px;
  transition: all 0.45s var(--ease);
}

.navbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.navbar__logo {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--cream);
  transition: color 0.45s var(--ease);
}

/* Logo image — enlarged for brand visibility, layout unchanged */
.navbar__logo--img { display: inline-flex; align-items: center; max-width: 60vw; position: relative; z-index: 105; }
.navbar__logo--img img { height: 72px; max-width: 100%; width: auto; display: block; object-fit: contain; transition: height 0.45s var(--ease); }
.navbar.is-scrolled .navbar__logo--img img { height: 56px; }
.footer__logo--img { display: inline-flex; align-items: center; max-width: 100%; }
.footer__logo--img img { height: 80px; max-width: 100%; width: auto; display: block; object-fit: contain; }

.navbar__nav { display: flex; align-items: center; gap: 34px; }

.navbar__link {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 244, 237, 0.85);
  position: relative;
  padding-block: 6px;
  transition: color 0.3s var(--ease);
}

.navbar__link::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.navbar__link:hover { color: var(--white); }
.navbar__link:hover::after { transform: scaleX(1); transform-origin: left; }

.navbar__right { display: flex; align-items: center; gap: 22px; position: relative; z-index: 105; flex-shrink: 0; }

.navbar__lang { display: flex; align-items: center; gap: 8px; }

.lang-btn {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(247, 244, 237, 0.6);
  padding: 4px 2px;
  transition: color 0.3s var(--ease);
}
.lang-btn.is-active, .lang-btn:hover { color: var(--gold); }
.lang-sep { width: 1px; height: 14px; background: rgba(247, 244, 237, 0.3); }

.navbar.is-scrolled {
  padding-block: 16px;
  background: rgba(13, 42, 32, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(185, 154, 91, 0.18);
}

/* hamburger */
.navbar__toggle { display: none; width: 40px; height: 40px; position: relative; z-index: 102; }
.navbar__toggle span {
  position: absolute; left: 8px; right: 8px; height: 1.5px;
  background: var(--cream);
  transition: all 0.4s var(--ease);
}
.navbar__toggle span:nth-child(1) { top: 15px; }
.navbar__toggle span:nth-child(2) { top: 24px; }
.navbar__toggle.is-open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.navbar__toggle.is-open span:nth-child(2) { top: 19px; transform: rotate(-45deg); }

/* Language switcher inside mobile drawer — hidden on desktop */
.navbar__mobile-lang { display: none; }

/* ---------- HERO ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg, .featured__bg { position: absolute; inset: -12% 0; z-index: -2; }
.hero__bg img, .featured__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  will-change: transform;
}

.hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  animation: heroDrift 26s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1) translateX(0); }
  to { transform: scale(1.06) translateX(-1.5%); }
}

.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top,
    rgba(13, 26, 20, 0.85) 0%,
    rgba(13, 26, 20, 0.45) 45%,
    rgba(13, 26, 20, 0.25) 100%);
}

.hero__content { padding-bottom: clamp(90px, 14vh, 160px); max-width: none; }

.hero__eyebrow { color: var(--gold); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.34em; text-transform: uppercase; margin-bottom: 26px; }

.hero__title {
  font-size: clamp(2.8rem, 7.5vw, 5.6rem);
  color: var(--cream);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 28px;
}
.hero__title span { display: inline-block; }

.hero__desc { color: rgba(247, 244, 237, 0.85); font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 520px; margin-bottom: 44px; font-weight: 300; }

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 28px;
  transform: translateX(-50%);
  height: 64px; width: 1px;
  background: rgba(247, 244, 237, 0.25);
  overflow: hidden;
}
.hero__scroll-line {
  position: absolute; left: 0; top: -50%;
  width: 100%; height: 50%;
  background: var(--gold);
  animation: scrollLine 2.2s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { top: -50%; }
  60%, 100% { top: 110%; }
}

/* ---------- INTRO / TRUST ---------- */

.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.intro__media { aspect-ratio: 4 / 5; max-width: 480px; }
.intro__media img { width: 100%; height: 100%; object-fit: cover; }
.intro__media-accent {
  position: absolute; inset: 24px -24px -24px 24px;
  border: 1px solid var(--gold-soft);
  z-index: -1;
}

.intro__text h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); margin-bottom: 24px; }
.intro__text .lead { margin-bottom: 44px; }

.trust {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 40px;
  border-top: 1px solid var(--border);
  padding-top: 40px;
}
.trust li { display: grid; grid-template-columns: 42px 1fr; column-gap: 16px; row-gap: 2px; align-items: start; }
.trust__icon {
  grid-row: span 2;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  color: var(--gold);
  border: 1px solid var(--border);
  border-radius: 50%;
}
.trust__icon svg { width: 20px; height: 20px; }
.trust h3 { font-size: 1.02rem; font-family: var(--font-body); font-weight: 600; color: var(--charcoal); }
.trust p { font-size: 0.85rem; color: var(--text-muted); }

/* ---------- TOURS ---------- */

.tours { background: var(--white); border-block: 1px solid var(--border); }

.tours__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
}

.tour-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  background: var(--cream);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.tour-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(18, 55, 42, 0.35); }

.tour-card--wide { grid-column: span 2; flex-direction: row; }
.tour-card--wide .tour-card__media { aspect-ratio: auto; flex: 1.1; height: 100%; }
.tour-card--wide .tour-card__body { flex: 1; justify-content: center; padding: clamp(28px, 3vw, 48px); }

.tour-card__media { overflow: hidden; aspect-ratio: 4 / 3; position: relative; }
.tour-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.9s var(--ease);
}
.tour-card:hover .tour-card__media img { transform: scale(1.07); }

.tour-card__body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }

.tour-card__category {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
}

.tour-card__title { font-size: 1.5rem; }
.tour-card__desc { font-size: 0.92rem; color: var(--text-muted); flex: 1; }

.tour-card__link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--forest);
  margin-top: 8px;
  transition: color 0.3s var(--ease);
}
.tour-card__link svg { width: 20px; height: 20px; transition: transform 0.4s var(--ease); }
.tour-card__link:hover { color: var(--gold); }
.tour-card:hover .tour-card__link svg { transform: translateX(6px); }

.tour-card__duration {
  position: absolute; left: 18px; bottom: 16px;
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(10, 20, 16, 0.72); color: var(--cream);
  border: 1px solid rgba(247, 244, 237, 0.25);
  padding: 7px 14px; border-radius: 100px; backdrop-filter: blur(8px);
}
.tour-card__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tour-card__tags span {
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.03em;
  color: var(--emerald); background: rgba(31, 92, 70, 0.09);
  border: 1px solid rgba(31, 92, 70, 0.18);
  padding: 4px 11px; border-radius: 100px;
}
.tour-card__actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 4px; }
.tour-card__link--book { color: var(--gold); }

/* ---------- TOUR DETAIL MODAL ---------- */

body.modal-open { overflow: hidden; }
.tour-modal[hidden] { display: none; }
.tour-modal {
  position: fixed; inset: 0; z-index: 400;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(12px, 3vw, 32px);
}
.tour-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(10, 20, 16, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.tour-modal__dialog {
  position: relative;
  width: min(920px, 100%);
  height: min(640px, calc(100vh - 64px));
  height: min(640px, calc(100dvh - 64px));
  max-height: min(90vh, 860px);
  max-height: min(90dvh, 860px);
  background: var(--cream);
  display: grid; grid-template-columns: 360px minmax(0, 1fr);
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(185, 154, 91, 0.28);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.6);
  animation: tourModalIn 0.45s var(--ease);
}
@keyframes tourModalIn { from { opacity: 0; transform: translateY(26px) scale(0.98); } to { opacity: 1; transform: none; } }
.tour-modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(10, 20, 16, 0.72); color: var(--cream);
  font-size: 1.5rem; line-height: 1;
  display: grid; place-items: center;
  border: 1px solid rgba(247, 244, 237, 0.25);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.tour-modal__close:hover { background: var(--gold); transform: rotate(90deg); }
.tour-modal__media {
  position: relative; min-height: 100%; height: 100%;
  align-self: stretch;
  background: var(--forest-deep);
  overflow: hidden;
}
.tour-modal__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.tour-modal__media img.is-loaded { opacity: 1; }
.tour-modal__media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 17, 0.45) 0%, transparent 45%);
  pointer-events: none;
}
.tour-modal__body {
  padding: clamp(24px, 3.4vw, 38px);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  display: flex; flex-direction: column; gap: 18px;
  min-width: 0; min-height: 0; max-height: 100%;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-soft) transparent;
}
.tour-modal__body::-webkit-scrollbar { width: 6px; }
.tour-modal__body::-webkit-scrollbar-thumb { background: var(--gold-soft); border-radius: 100px; }
.tour-modal__body .tour-card__category { display: block; }
.tour-modal__title {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.15;
  text-wrap: balance;
}
.tour-modal__duration {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--emerald);
}
.tour-modal__duration::before {
  content: '';
  width: 22px; height: 1px; background: var(--gold);
  display: inline-block; flex-shrink: 0;
}
.tour-modal__desc { color: var(--text-muted); font-size: 0.95rem; line-height: 1.75; }
.tour-modal__block {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
}
.tour-modal__block h4 {
  font-family: var(--font-body); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--forest); margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.tour-modal__block h4::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.tour-modal__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tour-modal__chips li {
  font-size: 0.76rem; font-weight: 500; color: var(--forest);
  background: rgba(185, 154, 91, 0.14); border: 1px solid var(--gold-soft);
  padding: 6px 13px; border-radius: 100px;
  line-height: 1.4;
}
.tour-modal__list { display: grid; gap: 10px; font-size: 0.88rem; color: var(--text); line-height: 1.65; }
.tour-modal__list--check, .tour-modal__list--cross { list-style: none; }
.tour-modal__list--check li, .tour-modal__list--cross li {
  position: relative; padding-left: 30px;
}
.tour-modal__list--check li::before,
.tour-modal__list--cross li::before {
  position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.7rem; font-weight: 700;
}
.tour-modal__list--check li::before { content: '\2713'; color: var(--cream); background: var(--emerald); }
.tour-modal__list--cross li::before { content: '\00D7'; color: var(--cream); background: #b06a5b; }
#tourModalItinerary { list-style: none; counter-reset: step; padding: 0; }
#tourModalItinerary li {
  counter-increment: step;
  position: relative;
  padding-left: 44px;
  min-height: 32px;
}
#tourModalItinerary li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--forest); color: var(--cream);
  font-size: 0.75rem; font-weight: 600;
  display: grid; place-items: center;
}
#tourModalItinerary li:not(:last-child)::after {
  content: '';
  position: absolute; left: 14.5px; top: 34px; bottom: -8px;
  width: 1px; background: var(--border);
}
.tour-modal__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tour-modal__grid .tour-modal__block { padding: 16px; }
.tour-modal__note {
  font-size: 0.82rem; line-height: 1.65; color: var(--emerald);
  background: rgba(31, 92, 70, 0.08);
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  padding: 12px 16px;
}
.tour-modal__actions {
  position: sticky; bottom: calc(-1 * clamp(24px, 3.4vw, 38px));
  margin: 6px calc(-1 * clamp(24px, 3.4vw, 38px)) calc(-1 * clamp(24px, 3.4vw, 38px));
  padding: 16px clamp(24px, 3.4vw, 38px);
  background: linear-gradient(to top, var(--cream) 70%, transparent);
  padding-top: 28px;
}
.tour-modal__actions .btn { width: 100%; }

/* ---------- ACTIVITIES ---------- */

.activities { background: linear-gradient(160deg, var(--forest-deep), var(--forest) 55%, #164434); color: var(--cream); }
.activities h2 { color: var(--cream); }
.activities .lead { color: rgba(247, 244, 237, 0.7); margin-inline: auto; text-align: center; }
.activities .section-head { margin-inline: auto; text-align: center; }

.activities__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.activity-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  outline-offset: 4px;
}
.activity-card__media, .activity-card__media img { width: 100%; height: 100%; }
.activity-card__media img { object-fit: cover; transition: transform 0.9s var(--ease); }
.activity-card:hover .activity-card__media img { transform: scale(1.08); }

.activity-card__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 17, 0.92) 0%, rgba(10, 22, 17, 0.25) 55%, rgba(10, 22, 17, 0.1) 100%);
  transition: background 0.5s var(--ease);
}

.activity-card__body {
  position: absolute; inset: auto 0 0 0;
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.activity-card__body h3 {
  color: var(--cream);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.activity-card__body p {
  font-size: 0.85rem; font-weight: 300;
  color: rgba(247, 244, 237, 0.75);
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 0.55s var(--ease), opacity 0.55s var(--ease);
}
.activity-card:hover .activity-card__body p,
.activity-card:focus-visible .activity-card__body p { max-height: 120px; opacity: 1; }

.activity-card__cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
}
.activity-card__cta svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.activity-card:hover .activity-card__cta svg { transform: translateX(5px); }
.activity-card__duration {
  display: inline-block; align-self: flex-start;
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sand);
  border: 1px solid rgba(232, 220, 200, 0.4);
  padding: 5px 12px; border-radius: 100px;
  background: rgba(10, 20, 16, 0.35);
  backdrop-filter: blur(6px);
}
.activity-card__price {
  display: inline-block; align-self: flex-start;
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.05em;
  color: #1a1408; background: var(--gold);
  padding: 6px 14px; border-radius: 100px;
  margin-top: 2px;
}
.activity-card__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.activity-card__cta {
  background: none; border: none; padding: 0;
}
.activity-card__cta--detail { color: var(--cream); opacity: 0.85; }

/* Touch devices: no hover — always show description so detail buttons are reachable */
@media (hover: none) {
  .activity-card__body p { max-height: 200px; opacity: 1; }
}

/* ---------- TOUR DETAIL MODAL: PACKAGES ---------- */

.tour-modal__packages { list-style: none; display: grid; gap: 10px; }
.tour-modal__packages li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(185, 154, 91, 0.12);
  border: 1px solid var(--gold-soft);
  border-radius: 12px;
  padding: 12px 16px;
}
.tour-modal__pkg-name { font-size: 0.86rem; font-weight: 600; color: var(--forest); }
.tour-modal__pkg-price {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; white-space: nowrap;
  color: var(--cream); background: var(--emerald);
  padding: 6px 14px; border-radius: 100px;
}

/* ---------- FEATURED EXPERIENCE ---------- */

.featured {
  position: relative;
  min-height: 72vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  padding-block: clamp(80px, 12vw, 140px);
}
.featured__overlay {
  position: absolute; inset: 0; z-index: -1;
  background: rgba(13, 26, 20, 0.55);
}
.featured__content { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.featured__content h2 {
  color: var(--cream);
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  max-width: 820px;
}

/* ---------- GALLERY ---------- */

.gallery { background: var(--white); }

.gallery__masonry {
  columns: 3;
  column-gap: 20px;
}

.gallery__item {
  position: relative;
  margin-bottom: 20px;
  break-inside: avoid;
  overflow: hidden;
  cursor: pointer;
  outline-offset: 4px;
}
.gallery__item img, .gallery__item video {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.gallery__item--tall img, .gallery__item--tall video { aspect-ratio: 3 / 4.4; }
.gallery__item:hover img, .gallery__item:hover video { transform: scale(1.06); }

.gallery__item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13, 26, 20, 0.55), transparent 55%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.gallery__item:hover::after { opacity: 1; }

.gallery__caption {
  position: absolute; left: 20px; bottom: 16px; z-index: 1;
  color: var(--cream);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  opacity: 0; transform: translateY(8px);
  transition: all 0.45s var(--ease);
}
.gallery__item:hover .gallery__caption { opacity: 1; transform: none; }

.gallery__badge {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  z-index: 1;
  color: var(--cream);
}
.gallery__badge svg {
  width: 54px; height: 54px;
  padding: 14px;
  background: rgba(13, 26, 20, 0.55);
  border: 1px solid rgba(247, 244, 237, 0.4);
  border-radius: 50%;
  transition: transform 0.45s var(--ease), background 0.45s var(--ease);
}
.gallery__item:hover .gallery__badge svg { transform: scale(1.1); background: rgba(185, 154, 91, 0.85); }

/* ---------- LIGHTBOX ---------- */

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: rgba(10, 16, 13, 0.94);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s;
  padding: clamp(16px, 4vw, 60px);
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.35s var(--ease);
}
/* The `hidden` attribute must win over the display rule above —
   otherwise this fixed full-screen overlay blocks ALL page clicks. */
.lightbox[hidden] { display: none; }

.lightbox__stage {
  max-width: min(1080px, 100%);
  max-height: 82vh;
  display: grid; place-items: center;
  transform: scale(0.96);
  transition: transform 0.35s var(--ease);
}
.lightbox.is-open .lightbox__stage { transform: scale(1); }
.lightbox__stage img, .lightbox__stage video {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}

.lightbox__caption {
  position: absolute; bottom: 26px; left: 50%;
  transform: translateX(-50%);
  color: rgba(247, 244, 237, 0.75);
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
}

.lightbox__close, .lightbox__nav {
  position: absolute;
  display: grid; place-items: center;
  width: 52px; height: 52px;
  color: var(--cream);
  border: 1px solid rgba(247, 244, 237, 0.25);
  border-radius: 50%;
  font-size: 1.3rem;
  transition: all 0.3s var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--gold); border-color: var(--gold); }
.lightbox__close { top: 24px; right: 24px; font-size: 1.7rem; font-weight: 300; }
.lightbox__nav--prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ---------- WHY CHOOSE US ---------- */

.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(28px, 3vw, 48px);
}

.why__item { border-top: 1px solid var(--border); padding-top: 28px; }
.why__item svg { width: 30px; height: 30px; color: var(--gold); margin-bottom: 20px; }
.why__item h3 { font-size: 1.15rem; margin-bottom: 10px; }
.why__item p { font-size: 0.88rem; color: var(--text-muted); }

/* ---------- HOW IT WORKS ---------- */

.how { background: var(--white); border-top: 1px solid var(--border); }

.how__steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 64px);
  position: relative;
  counter-reset: step;
}

.how__step { position: relative; padding-top: 34px; }
.how__step::before {
  content: '';
  position: absolute; top: 0; left: 0; right: -50%;
  height: 1px;
  background: var(--border);
}
.how__step:last-child::before { right: 0; }
.how__step::after {
  content: '';
  position: absolute; top: -4px; left: 0;
  width: 9px; height: 9px;
  background: var(--gold);
  transform: rotate(45deg);
}

.how__num {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-style: italic;
  color: var(--gold-soft);
  display: block;
  margin-bottom: 12px;
  line-height: 1;
}
.how__step h3 { font-size: 1.25rem; margin-bottom: 10px; }
.how__step p { font-size: 0.9rem; color: var(--text-muted); }

/* ---------- FINAL CTA ---------- */

.final-cta { background: var(--forest); color: var(--cream); text-align: center; }
.final-cta h2 { color: var(--cream); font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 20px; }
.final-cta .lead { color: rgba(247, 244, 237, 0.7); margin-inline: auto; margin-bottom: 44px; }
.final-cta__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- FOOTER ---------- */

.footer { background: var(--charcoal); color: rgba(247, 244, 237, 0.72); }

.footer__inner { padding-block: clamp(64px, 8vw, 100px) 36px; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: clamp(40px, 5vw, 72px);
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(247, 244, 237, 0.1);
}

.footer__logo {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.3rem; font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--cream);
  margin-bottom: 16px;
}

.footer__tagline { font-size: 0.9rem; font-weight: 300; max-width: 320px; }

.footer h4 {
  font-family: var(--font-body);
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}

.footer__nav { display: contents; }

.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col a { font-size: 0.88rem; font-weight: 300; transition: color 0.3s var(--ease); }
.footer__col a:hover { color: var(--gold); }
.footer__col span { font-size: 0.88rem; font-weight: 300; }

.footer__bottom {
  padding-top: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: rgba(247, 244, 237, 0.4);
}

.footer__social { display: flex; gap: 20px; }
.footer__social a { transition: color 0.3s var(--ease); }
.footer__social a:hover { color: var(--gold); }

/* ---------- CONTACT ---------- */

.contact { background: var(--white); }

.contact__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(48px, 6vw, 100px);
  align-items: center;
}

.contact__text h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); margin-bottom: 20px; }
.contact__text .lead { margin-bottom: 40px; }

.contact__info {
  list-style: none;
  border-left: 1px solid var(--gold-soft);
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 44px;
}
.contact__info li { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: baseline; font-size: 0.95rem; color: var(--charcoal); }
.contact__label {
  font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
}

.contact__media { aspect-ratio: 4 / 5; max-width: 520px; }
.contact__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- TRIPADVISOR REVIEW ---------- */

.contact .advisor { margin-top: clamp(48px, 6vw, 80px); }
.advisor {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-inline: auto;
  padding: 24px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 18px;
  max-width: 760px;
}
.advisor__qr { flex: 0 0 180px; max-width: 180px; border-radius: 12px; overflow: hidden; transition: transform 0.35s var(--ease); }
.advisor__qr:hover { transform: scale(1.03); }
.advisor__qr img { width: 100%; height: auto; display: block; }
.advisor__body h3 { font-size: 1.2rem; margin-bottom: 10px; }
.advisor__body p { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 18px; }
.advisor__body { min-width: 0; }

/* ---------- FLOATING WHATSAPP ---------- */

.wa-float {
  position: fixed;
  right: clamp(18px, 2.6vw, 34px);
  bottom: clamp(18px, 2.6vw, 34px);
  z-index: 150;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  background: var(--forest);
  color: var(--cream);
  border-radius: 50%;
  border: 1px solid rgba(247, 244, 237, 0.2);
  box-shadow: 0 18px 40px -12px rgba(10, 22, 17, 0.55);
  transition: all 0.35s var(--ease);
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-4px) scale(1.04); }

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1080px) {
  .tours__grid { grid-template-columns: repeat(2, 1fr); }
  .tour-card--wide { grid-column: span 2; flex-direction: column; }
  .tour-card--wide .tour-card__media { aspect-ratio: 16 / 9; height: auto; }
  .activities__grid { grid-template-columns: repeat(2, 1fr); }
  .intro__grid { grid-template-columns: 1fr; }
  .intro__media { max-width: 560px; }
  .why__grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 92px; }
  .navbar { padding-block: 14px; }
  .navbar__logo--img img,
  .navbar.is-scrolled .navbar__logo--img img { height: 56px; }
  .navbar__nav {
    position: fixed;
    inset: 0;
    z-index: 101;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    padding: calc(100px + env(safe-area-inset-top, 0px)) 22px calc(28px + env(safe-area-inset-bottom, 0px));
    background: rgba(10, 20, 16, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.45s var(--ease), visibility 0.45s var(--ease), transform 0.45s var(--ease);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .navbar__nav.is-open { opacity: 1; visibility: visible; transform: none; }
  body.nav-open { overflow: hidden; }
  .navbar__inner { gap: 10px; min-height: 64px; }
  .navbar__logo--img { max-width: calc(100% - 132px); flex-shrink: 1; min-width: 0; }
  .navbar__link {
    font-size: clamp(1.1rem, 5.2vw, 1.3rem);
    letter-spacing: 0.08em;
    padding: 13px 12px;
    width: min(360px, 100%);
    max-width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(247, 244, 237, 0.09);
  }
  .navbar__link:first-of-type { border-top: 1px solid rgba(247, 244, 237, 0.09); }
  /* Translate / language lives inside the drawer on HP */
  .navbar__mobile-lang {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: min(360px, 100%);
    margin: 16px auto 4px;
    padding: 14px 14px 15px;
    background: rgba(247, 244, 237, 0.06);
    border: 1px solid rgba(185, 154, 91, 0.4);
    border-radius: 16px;
    text-align: center;
  }
  .navbar__mobile-lang-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
  }
  .navbar__mobile-lang-btns { display: flex; gap: 10px; }
  .navbar__mobile-lang .lang-btn {
    flex: 1 1 0;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    color: var(--cream);
    border: 1px solid rgba(247, 244, 237, 0.28);
    border-radius: 999px;
    padding: 10px 12px;
    background: transparent;
  }
  .navbar__mobile-lang .lang-btn.is-active {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
  }
  .navbar__cta-mobile { margin-top: 12px; width: min(360px, 100%); margin-inline: auto; padding: 16px 18px; }
  /* Tidy hamburger: single clear button in the top bar */
  .navbar__right { display: flex; align-items: center; gap: 8px; margin-left: auto; position: relative; z-index: 106; }
  .navbar__right .navbar__lang { display: flex; align-items: center; gap: 2px; background: rgba(232,220,200,0.12); border: 1px solid rgba(232,220,200,0.25); border-radius: 100px; padding: 3px; margin: 0; }
  .navbar__right .navbar__lang .lang-btn { padding: 7px 11px; font-size: 0.68rem; letter-spacing: 0.08em; line-height: 1; min-height: 30px; border-radius: 100px; white-space: nowrap; }
  .navbar__right .navbar__lang .lang-btn.is-active { background: var(--gold); color: #fff; }
  .navbar__right .navbar__lang .lang-sep { display: none; }
  .navbar__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    flex-shrink: 0;
    border: 1px solid rgba(247, 244, 237, 0.38);
    border-radius: 14px;
    background: rgba(10, 20, 16, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .navbar__toggle span { position: absolute; left: 12px; right: 12px; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px; background: var(--sand); transition: transform 0.3s var(--ease); }
  .navbar__toggle span:nth-child(1) { transform: translateY(-4.5px); }
  .navbar__toggle span:nth-child(2) { transform: translateY(4.5px); }
  .navbar__toggle.is-open { background: rgba(247, 244, 237, 0.1); border-color: rgba(247, 244, 237, 0.55); }
  .navbar__toggle.is-open span:nth-child(1) { transform: rotate(45deg); }
  .navbar__toggle.is-open span:nth-child(2) { transform: rotate(-45deg); }
  .navbar__toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
  .gallery__masonry { columns: 2; column-gap: 14px; }
  .lightbox__nav--prev { left: 10px; }
  .lightbox__nav--next { right: 10px; }
}

@media (max-width: 900px) {
  .tour-modal {
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
    align-items: stretch;
    justify-content: center;
  }
  .tour-modal__dialog {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
    height: auto;
    max-height: calc(100vh - 16px - env(safe-area-inset-bottom, 0px));
    max-height: calc(100dvh - 16px - env(safe-area-inset-bottom, 0px));
    border-radius: 18px;
    overflow: hidden;
    animation: tourSheetUp 0.45s var(--ease);
  }
  @keyframes tourSheetUp { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }
  .tour-modal__media { min-height: 0; height: auto; flex-shrink: 0; overflow: hidden; position: relative; }
  .tour-modal__media img {
    position: relative; inset: auto;
    width: 100%;
    height: clamp(140px, 20vh, 200px);
    height: clamp(140px, 20dvh, 200px);
    min-height: 0;
    opacity: 1;
    object-fit: cover;
  }
  .tour-modal__media::before {
    content: '';
    position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
    width: 44px; height: 5px; border-radius: 100px;
    background: rgba(255, 255, 255, 0.85);
    z-index: 2;
  }
  .tour-modal__media::after {
    background: linear-gradient(to top, rgba(10, 22, 17, 0.55) 0%, transparent 60%);
  }
  .tour-modal__close {
    top: 12px; right: 12px;
    width: 38px; height: 38px; font-size: 1.3rem;
  }
  .tour-modal__body {
    gap: 14px;
    flex: 1 1 auto;
    min-height: 0; max-height: none;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 20px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  }
  .tour-modal__body > * { min-width: 0; }
  .tour-modal__title {
    font-size: clamp(1.25rem, 5.6vw, 1.5rem);
    line-height: 1.25;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .tour-modal__duration { font-size: 0.64rem; letter-spacing: 0.12em; line-height: 1.6; }
  .tour-modal__desc { font-size: 0.9rem; line-height: 1.65; overflow-wrap: break-word; }
  .tour-modal__block { padding: 14px; border-radius: 12px; min-width: 0; }
  .tour-modal__block h4 { font-size: 0.62rem; letter-spacing: 0.18em; margin-bottom: 10px; }
  .tour-modal__grid { grid-template-columns: 1fr; gap: 12px; }
  .tour-modal__grid .tour-modal__block { padding: 14px; }
  /* Chips: wrap so nothing is cut off on HP */
  .tour-modal__chips { flex-wrap: wrap; overflow: visible; }
  .tour-modal__chips li { white-space: normal; text-align: center; line-height: 1.4; }
  /* Packages: allow name + price to wrap, never ellipsis-cut on HP */
  .tour-modal__packages li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 10px;
    padding: 12px 13px;
  }
  .tour-modal__pkg-name {
    flex: 1 1 150px;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    font-size: 0.82rem;
    line-height: 1.5;
    overflow-wrap: break-word;
  }
  .tour-modal__pkg-price {
    flex-shrink: 0;
    max-width: 100%;
    white-space: nowrap;
    font-size: 0.72rem;
    padding: 6px 12px;
  }
  #tourModalItinerary li { padding-left: 40px; min-height: 30px; }
  #tourModalItinerary li::before { width: 28px; height: 28px; font-size: 0.7rem; }
  #tourModalItinerary li:not(:last-child)::after { left: 13.5px; }
  #tourModalItinerary li strong,
  #tourModalItinerary li span { overflow-wrap: break-word; word-break: break-word; min-width: 0; }
  .tour-modal__list li { overflow-wrap: break-word; }
  .tour-modal__note { font-size: 0.78rem; line-height: 1.65; overflow-wrap: break-word; }
  .tour-modal__actions {
    position: sticky;
    bottom: calc(-16px - env(safe-area-inset-bottom, 0px));
    margin: 2px -16px calc(-16px - env(safe-area-inset-bottom, 0px));
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  }
  .tour-modal__actions .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
    padding: 15px 16px;
    font-size: 0.74rem;
  }
}

@media (max-width: 640px) {
  .tours__grid { grid-template-columns: 1fr; }
  .tour-card--wide { grid-column: span 1; }
  .tour-card__actions { gap: 16px; }
  .tour-card__actions .btn,
  .tour-card__actions .tour-card__link { white-space: normal; text-align: center; }
  .activities__grid { grid-template-columns: 1fr; }
  .gallery__masonry { columns: 1; }
  .trust { grid-template-columns: 1fr; gap: 24px; }
  .how__steps { grid-template-columns: 1fr; gap: 40px; }
  /* Single column: the desktop connector (-50%) would push the page 175px
     wider than the screen, hiding the hamburger + language switcher on HP */
  .how__step::before { right: 0; }
  /* Keep the decorative accent inside the viewport (gutter can be 20px) */
  .intro__media-accent { right: -16px; }
  .why__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; white-space: normal; }
  .contact__info-list { grid-template-columns: 1fr; }
  .contact__info li { grid-template-columns: 1fr; gap: 4px; }
  .advisor { flex-direction: column; text-align: center; padding: 20px 16px; }
  .advisor__qr { flex: none; width: 100%; max-width: 220px; }
  #tourModalItinerary li { padding-left: 40px; }
  /* Detail modal: nothing may be clipped on small HP */
  .tour-modal { padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px)); }
  .tour-modal__dialog { border-radius: 16px; }
  .tour-modal__body { padding: 18px 14px calc(14px + env(safe-area-inset-bottom, 0px)); }
  .tour-modal__packages li { gap: 8px; }
  .tour-modal__actions {
    bottom: calc(-14px - env(safe-area-inset-bottom, 0px));
    margin: 2px -14px calc(-14px - env(safe-area-inset-bottom, 0px));
    padding: 14px 14px calc(14px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 380px) {
  html { scroll-padding-top: 78px; }
  .navbar { padding-block: 12px; }
  .navbar__logo--img img,
  .navbar.is-scrolled .navbar__logo--img img { height: 46px; }
  .navbar__toggle { width: 42px; height: 42px; }
  .navbar__nav { padding-inline: 16px; }
  .navbar__link { font-size: 1.05rem; }
  .navbar__mobile-lang-btns { flex-direction: row; }
  .tour-modal__media img { height: 130px; }
  .tour-modal__packages li { flex-direction: column; align-items: stretch; }
  .tour-modal__pkg-price { align-self: flex-start; }
  .tour-modal__chips li { font-size: 0.68rem; }
  .btn { letter-spacing: 0.1em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}







/* ---------- HP FIX v7: detail anti-potong + bar HP muat ---------- */
@media (max-width: 900px) {
  .tour-modal__dialog, .tour-modal__dialog * { min-width: 0; max-width: 100%; }
  .tour-modal__body { overflow-wrap: anywhere; }
  .tour-modal__desc, .tour-modal__note, .tour-modal__list li,
  #tourModalItinerary li strong, #tourModalItinerary li span, .tour-modal__pkg-name {
    overflow-wrap: break-word; word-break: break-word; hyphens: auto;
  }
  #tourModalItinerary li { display: block; }
  #tourModalItinerary li strong { display: block; margin-bottom: 2px; }
  #tourModalItinerary li span { display: block; }
  .tour-modal__packages li { align-items: flex-start; }
  .tour-modal__pkg-price { white-space: normal; line-height: 1.4; }
}
@media (max-width: 380px) {
  .navbar__right { gap: 6px; }
  .navbar__right .navbar__lang .lang-btn { padding: 6px 9px; font-size: 0.64rem; min-height: 28px; }
  .navbar__toggle { border-radius: 12px; }
}
