:root {
  --jungle-dark: #0d2b1a;
  --jungle-deep: #1a4731;
  --jungle-mid: #2d6a4f;
  --jungle-light: #52b788;
  --jungle-pale: #d8f3dc;
  --gold: #c9a84c;
  --gold-light: #e8d48b;
  --cream: #faf7f0;
  --text-dark: #0d1f13;
  --text-light: #f5f5f0;
  --overlay: rgba(13, 43, 26, 0.65);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Lato', 'Helvetica Neue', sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.page-enter {
  opacity: 0;
  animation: fadeIn 0.9s ease forwards;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(13,43,26,0.04), transparent 35%);
}

/* NAVIGATION */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  width: 100%;
  padding: 18px clamp(20px, 3vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease;
}

.header.scrolled {
  background: rgba(13, 43, 26, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
  padding: 12px clamp(20px, 3vw, 40px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.55rem;
  letter-spacing: 0.05em;
  color: var(--gold);
}

.brand-logo {
  width: 32px;
  height: 32px;
  display: block;
}

.brand svg,
.brand-logo {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  position: relative;
  color: var(--cream);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.65rem;
  background: var(--gold);
  color: var(--jungle-dark);
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 50%;
  background: rgba(13,43,26,0.65);
  color: var(--cream);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 84px 16px auto 16px;
  background: rgba(13, 43, 26, 0.98);
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.32);
}

.mobile-nav a {
  display: block;
  margin-bottom: 18px;
  color: var(--cream);
  font-size: 1.05rem;
}

.mobile-nav .nav-cta {
  width: 100%;
  margin-top: 10px;
}

main {
  overflow: hidden;
}

section {
  padding: 80px clamp(24px, 4vw, 120px);
}

.section-headline {
  max-width: 720px;
  margin-bottom: 1.8rem;
}

.section-headline h2 {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.8rem, 4vw, 4.5rem);
  line-height: 1.02;
  color: var(--jungle-dark);
}

.section-headline p {
  margin: 1rem 0 0;
  color: #2b3f33;
  font-size: 1.03rem;
}

.tour-highlight-grid,
.destination-image-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.highlight-card {
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0,0,0,0.08);
}

.highlight-card img,
.destination-image-grid img {
  width: 100%;
  aspect-ratio: 5/4;
  object-fit: cover;
}

.highlight-copy {
  padding: 1.5rem;
}

.highlight-copy h3 {
  margin: 0 0 0.75rem;
}

.destination-overview {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.destination-copy {
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
}

.destination-copy h2 {
  margin-bottom: 1rem;
}

.destination-feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.destination-feature-list li {
  background: rgba(13, 43, 26, 0.06);
  padding: 1rem 1.15rem;
  border-radius: 999px;
  color: #30402e;
}

.destination-image-grid {
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.destination-image-grid img {
  height: 280px;
}

@media (max-width: 1024px) {
  .destination-overview,
  .tour-highlight-grid,
  .destination-image-grid {
    grid-template-columns: 1fr;
  }

  .hero-static .hero-content,
  .section-headline,
  .destination-copy {
    text-align: center;
  }
}

.btn,
.card-button,
.filter-tab {
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn {
  padding: 1rem 1.9rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--jungle-dark);
}

.btn.secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.9);
  color: var(--cream);
}

.btn:hover,
.card-button:hover,
.filter-tab:hover {
  transform: translateY(-3px);
}

.btn.outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(255,255,255,0.88);
}

.btn.gold-outline {
  background: transparent;
  color: var(--jungle-dark);
  border: 1px solid var(--gold);
}

.hero,
.hero-static,
.hero-small {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero::after,
.hero-static::after,
.hero-small::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,43,26,0.55), rgba(13,43,26,0.55));
}

.hero .hero-content,
.hero-static .hero-content,
.hero-small .hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  width: 100%;
  padding: 0 24px;
  text-align: center;
}

.hero h1,
.hero-static h1,
.hero-small h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(3rem, 6vw, 5.8rem);
  color: var(--cream);
  margin: 0;
  line-height: 1.04;
}

.hero p,
.hero-static p,
.hero-small p {
  margin: 1.5rem auto 0;
  max-width: 680px;
  color: rgba(245, 245, 240, 0.92);
  font-size: 1.1rem;
}

.hero-buttons {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.hero-static {
  min-height: 60vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

.hero-static::after {
  background: rgba(13, 43, 26, 0.55);
}

.hero-small {
  min-height: 40vh;
  padding-bottom: 60px;
}

.hero-static .breadcrumb {
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.92rem;
}

.hero-static .breadcrumb a {
  color: rgba(255,255,255,0.92);
}

.hero-carousel {
  position: relative;
  width: 100%;
  min-height: 100vh;
  /* fallback background if slide images fail to render */
  background: var(--jungle-deep);
  /* debug: enforce full height and visible background */
  height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-carousel .slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-carousel .slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
  /* fallback color when external background images are blocked */
  background-color: var(--jungle-deep);
  z-index: 1;
}

.hero-carousel .slide.active {
  opacity: 1;
  visibility: visible;
  /* ensure active slide is on top */
  z-index: 4 !important;
}

.hero-carousel .slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--overlay);
  z-index: 2;
}

.hero-carousel .slide-content {
  position: relative;
  text-align: center;
  max-width: 820px;
  padding: 0 24px;
  z-index: 3;
}

.hero-carousel .slide-content h2 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--cream);
  font-size: clamp(3rem, 6vw, 5.2rem);
  margin: 0;
}

.hero-carousel .slide-content p {
  color: rgba(245,245,240,0.9);
  margin: 1.1rem auto 0;
  max-width: 720px;
  font-size: 1.1rem;
}

.hero-carousel .slide-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.hero-carousel .carousel-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 32px;
  display: flex;
  justify-content: space-between;
  padding: 0 24px;
  pointer-events: none;
}

.hero-carousel .carousel-controls button {
  pointer-events: all;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  background: rgba(201,168,76,0.9);
  color: var(--jungle-dark);
  display: grid;
  place-items: center;
  box-shadow: 0 14px 28px rgba(0,0,0,0.25);
}

.hero-carousel .dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
}

.hero-carousel .dots button {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(245,245,240,0.8);
  background: transparent;
}

.hero-carousel .dots button.active {
  background: var(--gold);
  transform: scale(1.1);
}

.stats-bar {
  background: var(--jungle-deep);
  color: var(--cream);
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 1px;
  text-align: center;
}

.stats-bar span {
  display: block;
  padding: 2rem 1rem;
}

.stats-bar h3 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: 0.02em;
}

.stats-bar p {
  margin: 0.55rem 0 0;
  color: rgba(245,245,240,0.78);
}

.intro-grid,
.feature-grid,
.destination-grid,
.team-grid,
.testimonial-grid,
.card-grid,
.sidebar-cards {
  display: grid;
  gap: 1.75rem;
}

.intro-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.intro-grid img {
  width: 100%;
  border-radius: 28px;
  aspect-ratio: 5/4;
  object-fit: cover;
}

.intro-copy h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  color: var(--jungle-dark);
  margin: 0 0 1rem;
}

.intro-copy p {
  margin: 1rem 0;
  color: #2f4133;
}

.features-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.feature-pill {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-pill svg {
  width: 34px;
  height: 34px;
  color: var(--gold);
  flex-shrink: 0;
}

.feature-pill div h4 {
  margin: 0;
  font-size: 1.05rem;
}

.feature-pill div p {
  margin: 0.35rem 0 0;
  color: #3b4e41;
}

.featured-tours {
  background: var(--cream);
}

.featured-tours .card-grid {
  grid-template-columns: repeat(3, minmax(260px, 1fr));
}

.tour-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.12);
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tour-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.18);
}

.tour-card img {
  width: 100%;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.tour-card-content {
  padding: 1.6rem;
}

.tour-card-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.tour-card-header span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: var(--jungle-pale);
  color: var(--jungle-dark);
  font-size: 0.92rem;
  font-weight: 700;
}

.tour-card-content h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1.5rem;
}

.tour-card-content p {
  color: #53604f;
  margin: 0 0 1.35rem;
}

.tour-card-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.tour-card-meta span {
  display: block;
  font-size: 0.95rem;
  color: #4b5f50;
}

.tour-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.tour-card-footer .btn {
  width: auto;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pill {
  background: rgba(45, 106, 79, 0.1);
  color: #1d3a2d;
  border-radius: 999px;
  padding: 0.6rem 1rem;
  font-size: 0.92rem;
}

.parallax-cta {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--cream);
  background-image: url('https://images.unsplash.com/photo-1534476478164-b15bec228234?w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.parallax-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,43,26,0.55), rgba(10,27,12,0.75));
}

.parallax-cta .cta-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.parallax-cta h2 {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  margin: 0;
}

.destination-chips {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.8rem;
  flex-wrap: wrap;
}

.destination-chip {
  display: inline-flex;
  padding: 0.8rem 1.35rem;
  background: rgba(255,255,255,0.14);
  color: var(--cream);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
}

.testimonials {
  background: #f7f6f1;
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(260px, 1fr));
}

@media (max-width: 768px) {
  .testimonial-grid {
    display: block;
  }
  .testimonial-card {
    display: none;
  }
  .testimonial-card.active {
    display: block;
  }
}

.testimonial-card {
  background: var(--jungle-deep);
  color: var(--cream);
  padding: 2rem;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  opacity: 0.4;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.testimonial-card.active {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-card::before {
  content: '“';
  position: absolute;
  top: 22px;
  right: 24px;
  font-size: 5rem;
  color: rgba(255,255,255,0.12);
}

.testimonial-card p {
  margin: 0 0 1.25rem;
}

.testimonial-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.testimonial-meta .author {
  display: flex;
  flex-direction: column;
}

.testimonial-meta span {
  font-size: 0.95rem;
  color: rgba(245,245,240,0.82);
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  color: var(--gold);
}

.instagram-strip {
  overflow-x: auto;
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
}

.instagram-card {
  min-width: 210px;
  min-height: 210px;
  position: relative;
  overflow: hidden;
  border-radius: 22px;
}

.instagram-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(10,27,12,0.45));
}

.instagram-card:hover::after {
  opacity: 1;
}

.instagram-card::after {
  content: 'View Gallery';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: var(--cream);
  opacity: 0;
  transition: opacity 0.25s ease;
  letter-spacing: 0.05em;
}

.instagram-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-banner {
  padding: 4.5rem clamp(24px, 4vw, 120px);
  background: linear-gradient(135deg, var(--gold), var(--jungle-mid));
  color: var(--jungle-dark);
  text-align: center;
}

.cta-banner h2 {
  margin: 0;
  font-size: clamp(2.8rem, 4vw, 4rem);
}

.cta-banner .cta-actions {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Section Helpers */
.card-grid {
  display: grid;
  gap: 2rem;
}

.card-grid.four-col {
  grid-template-columns: repeat(4, minmax(200px, 1fr));
}

.card-grid.three-col {
  grid-template-columns: repeat(3, minmax(240px, 1fr));
}

.card-grid.two-col {
  grid-template-columns: repeat(2, minmax(260px, 1fr));
}

.card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.08);
  overflow: hidden;
}

.card-content {
  padding: 1.65rem;
}

.card-content h3 {
  margin-top: 0;
}

.card-content p {
  color: #54614f;
}

.grid-highlight {
  background: rgba(45, 106, 79, 0.05);
  border-left: 4px solid var(--gold);
}

.split-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
  gap: 2rem;
}

.split-hero .hero-image {
  background-size: cover;
  background-position: center;
  border-radius: 36px;
}

.split-hero .hero-copy {
  display: flex;
  align-items: center;
}

.split-hero .hero-copy .hero-text {
  max-width: 500px;
}

.timeline {
  display: grid;
  gap: 2rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.timeline-item:nth-child(even) {
  grid-template-columns: 1fr 100px;
}

.timeline-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border-radius: 28px;
  background: var(--jungle-pale);
  color: var(--jungle-dark);
  font-weight: 700;
  text-align: center;
}

.timeline-item div {
  background: #fff;
  padding: 1.8rem;
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

.team-grid {
  grid-template-columns: repeat(4, minmax(230px, 1fr));
}

.team-card {
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 26px 60px rgba(0,0,0,0.1);
}

.team-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.team-card .team-copy {
  padding: 1.45rem;
}

.team-card h4,
.value-card h3 {
  margin: 0 0 0.75rem;
}

.team-card p,
.value-card p {
  margin: 0;
  color: #4d5e4f;
}

.value-grid {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
}

.value-card {
  padding: 2rem;
  border-radius: 28px;
  background: var(--jungle-pale);
}

.value-card svg {
  width: 42px;
  height: 42px;
  color: var(--gold);
  margin-bottom: 1rem;
}

.partner-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.partner-strip img {
  max-height: 60px;
  filter: grayscale(1) brightness(1.1);
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.8rem;
}

.filter-tab {
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  background: rgba(13, 43, 26, 0.06);
  color: var(--jungle-dark);
  font-weight: 600;
}

.filter-tab.active {
  background: var(--jungle-mid);
  color: #fff;
}

.masonry {
  column-count: 3;
  column-gap: 1rem;
}

.masonry-item {
  margin-bottom: 1rem;
  break-inside: avoid;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

.masonry-item img {
  width: 100%;
  display: block;
  transition: transform 0.35s ease;
}

.masonry-item:hover img {
  transform: scale(1.05);
}

.masonry-item .masonry-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,43,26,0.35);
  opacity: 0;
  transition: opacity 0.25s ease;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
}

.masonry-item:hover .masonry-overlay {
  opacity: 1;
}

.tour-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10, 18, 12, 0.9);
  padding: 1.5rem;
  z-index: 1300;
}

.tour-modal.active {
  display: flex;
}

.tour-modal .modal-content {
  max-width: 960px;
  width: 100%;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 35px 80px rgba(0,0,0,0.2);
  position: relative;
}

.tour-modal .modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(13,43,26,0.85);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
}

.tour-modal .modal-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.tour-modal .modal-itinerary,
.tour-modal .modal-included {
  margin-top: 1.5rem;
}

.tour-modal .modal-itinerary h4,
.tour-modal .modal-included h4 {
  margin-bottom: 0.8rem;
}

.tour-modal .modal-price {
  margin: 1.5rem 0;
  font-weight: 700;
  color: var(--jungle-dark);
}

.tour-modal .form-card {
  margin-top: 1.2rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 12, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 1200;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 1100px;
  width: 100%;
}

.lightbox img {
  width: 100%;
  border-radius: 24px;
}

.lightbox-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  color: #f4f4f1;
}

.lightbox-meta p {
  margin: 0;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  top: 12px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: none;
  cursor: pointer;
}

.lightbox-close {
  right: 12px;
}

.lightbox-nav.prev {
  left: 12px;
}

.lightbox-nav.next {
  right: 72px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
}

.contact-card,
.faq-card,
.form-card {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.1);
  padding: 2rem;
}

.form-group {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.95rem;
  color: #33412e;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid #d7d7d2;
  border-radius: 18px;
  padding: 0.95rem 1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
  border-color: #c85454;
  box-shadow: 0 0 0 4px rgba(200,84,84,0.12);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,168,76,0.14);
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

.submit-row {
  margin-top: 1.5rem;
}

.success-message {
  display: none;
  border-radius: 18px;
  background: rgba(37,117,75,0.12);
  color: var(--jungle-dark);
  padding: 1.25rem 1.5rem;
  margin-top: 1rem;
}

.contact-info {
  display: grid;
  gap: 1rem;
}

.contact-info h3 {
  margin: 0 0 1rem;
}

.contact-info li {
  list-style: none;
  display: flex;
  gap: 0.8rem;
  align-items: baseline;
  color: #3b4d3d;
}

.contact-info li span {
  display: inline-flex;
  width: 36px;
  justify-content: center;
  color: var(--gold);
}

.faq-item {
  border-top: 1px solid #e4e4de;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  padding: 1.2rem 0;
  font-size: 1rem;
  color: var(--jungle-dark);
  font-weight: 700;
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  color: #4a5d4c;
}

.faq-answer p {
  margin: 0 0 1rem;
}

.faq-item.active .faq-answer {
  max-height: 360px;
}

.faq-item .faq-toggle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--jungle-mid);
  color: #fff;
  display: grid;
  place-items: center;
}

.footer {
  background: var(--jungle-dark);
  color: var(--cream);
}

.footer .footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 2rem;
}

.footer h4 {
  margin-bottom: 1rem;
  color: var(--gold);
}

.footer p,
.footer li,
.footer a {
  color: rgba(245,245,240,0.82);
}

.footer a:hover {
  color: var(--cream);
}

.footer .footer-links,
.footer .footer-contact,
.footer .footer-newsletter {
  display: grid;
  gap: 0.7rem;
}

.footer .social-row {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.footer .social-row a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  color: var(--cream);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2rem;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(245,245,240,0.72);
}

.footer-newsletter form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.8rem;
}

.footer-newsletter input {
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 0.95rem 1rem;
  background: rgba(255,255,255,0.07);
  color: #fff;
}

.footer-newsletter button {
  border-radius: 999px;
  padding: 0.95rem 1.25rem;
  background: var(--gold);
  color: var(--jungle-dark);
  border: none;
}

/* Page-specific utilities */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@media (max-width: 1024px) {
  .hero,
  .hero-static,
  .hero-small {
    min-height: 70vh;
  }

  .hero-static .hero-content {
    padding: 0 22px;
  }

  .hero-static h1 {
    font-size: clamp(3rem, 5vw, 4.8rem);
    line-height: 1.08;
  }

  .hero-static p {
    font-size: 1.05rem;
    max-width: 680px;
    margin: 1.2rem auto 0;
  }

  .intro-grid,
  .destination-grid,
  .team-grid,
  .card-grid.three-col,
  .split-hero,
  .contact-grid,
  .footer .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .parallax-cta {
    background-attachment: scroll;
  }

  .masonry {
    column-count: 2;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 14px 20px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-nav {
    display: none;
  }

  .mobile-nav.active {
    display: block;
  }

  .hero,
  .hero-static,
  .hero-small {
    min-height: 58vh;
  }

  .hero-static {
    min-height: 50vh;
  }

  .hero-static .hero-content {
    padding: 0 18px;
  }

  .hero-static h1 {
    font-size: clamp(2.4rem, 8vw, 3.4rem);
    line-height: 1.15;
  }

  .hero-static p {
    font-size: 0.98rem;
    max-width: 100%;
    margin: 1rem auto 0;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-carousel .slide-content h2 {
    font-size: clamp(2.4rem, 8vw, 3.2rem);
  }

  .stats-bar {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }

  .tour-card-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .testimonial-grid,
  .team-grid,
  .value-grid,
  .card-grid.four-col {
    grid-template-columns: 1fr;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .masonry {
    column-count: 1;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero-buttons,
  .hero-carousel .slide-actions,
  .cta-banner .cta-actions {
    flex-direction: column;
  }

  .hero-carousel .carousel-controls {
    padding: 0 12px;
  }
}
