/* =========================================================
   TIME TO TRAVEL MUNNAR – Main Styles
   ========================================================= */

:root {
  --primary: #087C39;
  --primary-dark: #064D2B;
  --yellow: #FFD429;
  --navy: #142B4A;
  --white: #FFFFFF;
  --light-bg: #F7FAF5;
  --text: #1a2e1f;
  --text-muted: #5a6b5e;
  --border: #d8e5d9;
  --shadow: 0 10px 30px rgba(6, 77, 43, 0.12);
  --shadow-lg: 0 20px 50px rgba(6, 77, 43, 0.18);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.35s ease;
  --font-display: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --menu-accent: #e24b5c;
  --menu-accent-soft: rgba(226, 75, 92, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--pkg-sticky-top, 108px) + 96px);
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
}

h1, h2 {
  font-weight: 700;
}

.section-padding {
  padding: 90px 0;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.bg-light-nature {
  background: var(--light-bg);
}

.bg-gradient-green {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #0a9a48 100%);
  color: var(--white);
}

.text-primary-brand {
  color: var(--primary) !important;
}

.text-yellow-brand {
  color: var(--yellow) !important;
}

/* ---------- Buttons ---------- */
.btn-brand,
.btn-yellow,
.btn-outline-brand,
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1;
  border-radius: 50px;
  vertical-align: middle;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.btn-brand i,
.btn-yellow i,
.btn-outline-brand i,
.btn-outline-white i {
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.btn-brand,
a.btn-brand {
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(8, 124, 57, 0.3);
}

.btn-brand:hover,
.btn-brand:focus,
a.btn-brand:hover,
a.btn-brand:focus {
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(8, 124, 57, 0.4);
  background: linear-gradient(135deg, #0a9444 0%, var(--primary) 100%);
}

.btn-yellow {
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--yellow) 0%, #e6b800 100%);
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(255, 212, 41, 0.35);
}

.btn-yellow:hover {
  color: var(--navy);
  background: linear-gradient(135deg, #ffe066 0%, var(--yellow) 100%);
  box-shadow: 0 12px 28px rgba(255, 212, 41, 0.45);
  transform: translateY(-3px);
}

.btn-outline-brand {
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
}

.btn-outline-brand:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-white {
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary-dark);
}

/* ---------- Top marquee ---------- */
.top-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.4rem 0;
  z-index: 1;
}

.top-marquee-track {
  display: flex;
  width: max-content;
  gap: 2.75rem;
  align-items: center;
  animation: marquee-scroll 32s linear infinite;
  will-change: transform;
}

.top-marquee-track span {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(0.72rem, 1.5vw, 0.88rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.top-marquee-track span::before {
  content: "•";
  margin-right: 2.75rem;
  color: var(--yellow);
  font-weight: 700;
}

.top-marquee-track span:first-child::before {
  content: none;
  margin: 0;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.top-marquee:hover .top-marquee-track {
  animation-play-state: paused;
}

.site-header.is-scrolled .top-marquee {
  background: rgba(3, 28, 16, 0.88);
  backdrop-filter: blur(10px);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.site-header.is-scrolled .top-marquee-track span {
  text-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  .top-marquee-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 1rem 1.5rem;
    padding: 0 1rem;
  }

  .top-marquee-track span:nth-child(n+7) {
    display: none;
  }
}

/* ---------- Navbar ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1040;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.navbar-brand-custom {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white) !important;
  line-height: 1.2;
  max-width: calc(100% - 56px);
  transition: color var(--transition);
}

.navbar-brand-custom .brand-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  border-radius: 50%;
  display: block;
  transition: width var(--transition), height var(--transition);
}

.main-nav.scrolled .navbar-brand-custom .brand-logo,
.main-nav.menu-open .navbar-brand-custom .brand-logo {
  width: 58px;
  height: 58px;
}

.navbar-brand-custom > span:not(.brand-logo) {
  display: none;
}

.navbar-brand-custom small {
  display: block;
  font-size: 0.65rem;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition);
}

.main-nav {
  background: linear-gradient(180deg, rgba(3, 28, 16, 0.72) 0%, rgba(3, 28, 16, 0.28) 55%, transparent 100%);
  backdrop-filter: none;
  padding: 0.85rem 0;
  border-bottom: none;
  box-shadow: none;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition), backdrop-filter var(--transition);
}

.main-nav > .container {
  align-items: center;
}

.main-nav.scrolled,
.main-nav.menu-open {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(6, 77, 43, 0.12);
  border-bottom-color: var(--border);
  padding: 0.55rem 0;
}

/* backdrop-filter makes position:fixed drawer relative to the nav — disable while open */
.main-nav.menu-open {
  backdrop-filter: none;
}

.main-nav.scrolled .navbar-brand-custom,
.main-nav.menu-open .navbar-brand-custom {
  color: var(--primary-dark) !important;
}

.main-nav.scrolled .navbar-brand-custom small,
.main-nav.menu-open .navbar-brand-custom small {
  color: var(--text-muted);
}

/* Desktop keeps Tour Packages. The plain Packages link is the mobile item. */
.nav-packages-page {
  display: none;
}

.nav-link-custom {
  position: relative;
  font-weight: 500;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.95) !important;
  padding: 0.5rem 0.55rem !important;
  margin: 0;
  white-space: nowrap;
  transition: color var(--transition);
}

.main-nav.scrolled .nav-link-custom,
.main-nav.menu-open .nav-link-custom {
  color: var(--navy) !important;
}

.nav-link-custom::after {
  content: "";
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0.2rem;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-link-custom:hover::after,
.nav-link-custom.active::after {
  transform: scaleX(1);
}

.nav-link-custom:hover,
.nav-link-custom.active {
  color: var(--yellow) !important;
}

.main-nav.scrolled .nav-link-custom:hover,
.main-nav.scrolled .nav-link-custom.active,
.main-nav.menu-open .nav-link-custom:hover,
.main-nav.menu-open .nav-link-custom.active {
  color: var(--primary) !important;
}

.btn-nav-book {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
  margin-left: 0.5rem;
}

/* Desktop: logo left + menu right */
@media (min-width: 992px) {
  .main-nav > .container {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    column-gap: 1.25rem;
    position: relative;
  }

  .main-nav .navbar-brand-custom {
    flex: 0 0 auto;
    max-width: none;
    z-index: 2;
    margin-right: 0.5rem;
  }

  .main-nav .navbar-brand-custom .brand-logo {
    width: 88px;
    height: 88px;
  }

  .main-nav.scrolled .navbar-brand-custom .brand-logo {
    width: 68px;
    height: 68px;
  }

  .main-nav.navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex: 1 1 auto;
    justify-content: flex-end;
    align-items: center;
  }

  .main-nav .site-nav-menu {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.1rem;
    margin: 0;
  }

  .main-nav .site-nav-menu .btn-nav-book {
    margin-left: 0.55rem;
  }
}

/* ---------- Animated mega menu (reference style) ---------- */
.mega-item {
  position: relative;
}

.mega-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.mega-caret {
  font-size: 0.7rem;
  transition: transform 0.15s ease;
}

.mega-item.is-open > .mega-toggle .mega-caret {
  transform: rotate(180deg);
}

.mega-item.is-open > .mega-toggle {
  color: var(--yellow) !important;
}

.main-nav.scrolled .mega-item.is-open > .mega-toggle,
.main-nav.menu-open .mega-item.is-open > .mega-toggle {
  color: var(--primary) !important;
}

.mega-item.is-open > .mega-toggle::after {
  transform: scaleX(1);
}

.mega-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 240px;
  padding: 0.35rem 0;
  background: #fff;
  border-radius: 4px;
  border-top: 3px solid var(--menu-accent);
  box-shadow: 0 16px 40px rgba(20, 43, 74, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 0.12s ease,
    transform 0.12s ease,
    visibility 0.12s ease;
  z-index: 1100;
}

.mega-panel::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 28px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid var(--menu-accent);
}

.mega-panel::after {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 18px;
}

/* Click-open only (no hover open) */
.mega-item.is-open > .mega-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition:
    opacity 0.18s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.18s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.18s ease;
}

/* Keep later menu panels inside the viewport */
.site-nav-menu > .mega-item:nth-last-child(-n+3) > .mega-panel {
  left: auto;
  right: 0;
}

.site-nav-menu > .mega-item:nth-last-child(-n+3) > .mega-panel::before {
  left: auto;
  right: 28px;
}

.mega-list {
  list-style: none;
  margin: 0;
  padding: 0.2rem 0;
}

/* Flat dropdowns only (Taxi, Hotels) — keep ~5 visible + scroll.
   Skip lists that contain flyouts so Kerala submenu is not clipped. */
.mega-panel > .mega-list:not(:has(.mega-has-flyout)) {
  max-height: calc((0.78rem * 2 + 1.35rem) * 5 + 0.4rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(8, 124, 57, 0.45) transparent;
}

.mega-panel > .mega-list:not(:has(.mega-has-flyout))::-webkit-scrollbar {
  width: 6px;
}

.mega-panel > .mega-list:not(:has(.mega-has-flyout))::-webkit-scrollbar-thumb {
  background: rgba(8, 124, 57, 0.4);
  border-radius: 999px;
}

.mega-list > li {
  position: relative;
  border-bottom: 1px solid rgba(20, 43, 74, 0.06);
}

.mega-list > li:last-child {
  border-bottom: none;
}

.mega-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.78rem 1.15rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: #3a4450;
  white-space: nowrap;
  transition: color 0.22s ease, background 0.22s ease, padding-left 0.22s ease;
}

.mega-link i {
  font-size: 0.72rem;
  color: #9aa3ad;
  transition: color 0.22s ease, transform 0.22s ease;
}

.mega-link:hover,
.mega-has-flyout:hover > .mega-link,
.mega-has-flyout.is-open > .mega-link {
  color: var(--menu-accent);
  background: var(--menu-accent-soft);
  padding-left: 1.35rem;
}

.mega-link:hover i,
.mega-has-flyout:hover > .mega-link i,
.mega-has-flyout.is-open > .mega-link i {
  color: var(--menu-accent);
  transform: translateX(2px);
}

.mega-flyout {
  position: absolute;
  top: -3px;
  left: calc(100% + 2px);
  min-width: 250px;
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
  background: #fff;
  border-radius: 4px;
  border-top: 3px solid var(--menu-accent);
  box-shadow: 0 16px 40px rgba(20, 43, 74, 0.16);
  /* Show ~5 items, scroll for longer lists (Kerala Tours, etc.) */
  max-height: calc((0.78rem * 2 + 1.35rem) * 5 + 0.7rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(8, 124, 57, 0.45) transparent;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(8px);
  transition:
    opacity 0.1s ease,
    transform 0.1s ease,
    visibility 0.1s ease;
  z-index: 1110;
}

.mega-flyout::-webkit-scrollbar {
  width: 6px;
}

.mega-flyout::-webkit-scrollbar-thumb {
  background: rgba(8, 124, 57, 0.4);
  border-radius: 999px;
}

.mega-has-flyout:hover > .mega-flyout,
.mega-has-flyout.is-open > .mega-flyout {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  transition:
    opacity 0.16s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.16s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.16s ease;
}

.mega-flyout .mega-link {
  justify-content: flex-start;
}

@media (prefers-reduced-motion: reduce) {
  .mega-panel,
  .mega-flyout,
  .mega-caret,
  .mega-link {
    transition: none !important;
  }
}

/* Custom hamburger for transparent + solid states */
.navbar-toggler {
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  z-index: 1050;
  margin-left: auto;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(255, 212, 41, 0.35);
}

.navbar-toggler-icon {
  width: 18px;
  height: 14px;
  display: block;
  position: relative;
  background-image: none !important;
  background-color: transparent !important;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background-color: var(--primary-dark);
  transition: background-color var(--transition), top var(--transition), transform var(--transition);
}

.navbar-toggler-icon::before {
  top: 0;
  box-shadow: 0 6px 0 var(--primary-dark);
}

.navbar-toggler-icon::after {
  bottom: 0;
  top: auto;
}

.main-nav.scrolled .navbar-toggler,
.main-nav.menu-open .navbar-toggler {
  border-color: rgba(8, 124, 57, 0.28);
  background: #ffffff;
}

.main-nav.scrolled .navbar-toggler-icon::before,
.main-nav.menu-open .navbar-toggler-icon::before {
  background-color: var(--primary-dark);
  box-shadow: 0 6px 0 var(--primary-dark);
}

.main-nav.scrolled .navbar-toggler-icon::after,
.main-nav.menu-open .navbar-toggler-icon::after {
  background-color: var(--primary-dark);
}

@media (min-width: 992px) {
  .navbar-toggler {
    display: none !important;
  }
}

/* ---------- Hero Slider ---------- */
.hero-section {
  position: relative;
  margin-top: 0;
}

.hero-split {
  min-height: min(88vh, 860px);
  display: flex;
  align-items: center;
  overflow: hidden;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  padding: 7.5rem 0 3.5rem;
}

.hero-split-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-split-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(3, 28, 16, 0.78) 0%, rgba(6, 77, 43, 0.55) 42%, rgba(20, 43, 74, 0.42) 100%),
    linear-gradient(180deg, rgba(3, 28, 16, 0.35) 0%, transparent 40%, rgba(3, 28, 16, 0.45) 100%);
}

.hero-split-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: min(820px, 92vw);
  width: 100%;
  margin: 0 auto;
  padding: 6.75rem 1rem 2.5rem;
  text-align: center;
}

.hero-content--split {
  max-width: 34rem;
  margin: 0;
  padding: 0 0.5rem 0 0;
  text-align: left;
}

body.nav-open {
  overflow: hidden;
}

/* Mobile sidebar extras — hidden on desktop */
.mobile-nav-contact,
.mobile-nav-close,
.mobile-nav-social {
  display: none;
}

.hero-content h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(30px);
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  opacity: 0;
  transform: translateY(24px);
  margin-bottom: 1.75rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-content .hero-cta {
  opacity: 0;
  transform: translateY(20px);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-content--split h1,
.hero-content--split p,
.hero-content--split .hero-cta {
  animation: heroFadeUp 0.9s ease forwards;
}

.hero-content--split p {
  animation-delay: 0.15s;
}

.hero-content--split .hero-cta {
  animation-delay: 0.3s;
  justify-content: flex-start;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Circular 3D ring carousel — one-by-one scroll */
.hero-coverflow-wrap {
  position: relative;
  z-index: 2;
  padding: 1.75rem 2.2rem 1.6rem;
  overflow: hidden;
  width: 100%;
  perspective: 1600px;
  isolation: isolate;
}

.hero-coverflow-wrap.is-circle-slider::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 3.6rem;
  height: 42%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.14) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-coverflow {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: visible;
  padding: 1.85rem 0 1rem;
  transform-style: preserve-3d;
}

.hero-coverflow .swiper-wrapper {
  align-items: center;
  transform-style: preserve-3d;
}

.hero-coverflow .swiper-slide {
  width: min(236px, 60vw);
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  transition: opacity 0.4s ease, filter 0.4s ease;
  opacity: 0.22;
  filter: saturate(0.45) brightness(1.12);
  pointer-events: none;
}

.hero-coverflow .swiper-slide-prev,
.hero-coverflow .swiper-slide-next {
  opacity: 0.7;
  filter: saturate(0.8) brightness(1.02);
  pointer-events: auto;
}

.hero-coverflow .swiper-slide-active {
  opacity: 1;
  filter: none;
  pointer-events: auto;
  z-index: 3;
}

.hero-content--split [data-hero-title],
.hero-content--split [data-hero-text] {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.hero-dest-card {
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 420px;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.hero-coverflow .swiper-slide-active .hero-dest-card {
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.38);
}

.hero-dest-card-media {
  flex: 0 0 auto;
  height: 210px;
  overflow: hidden;
  margin: 0;
  border-radius: 22px 22px 0 0;
}

.hero-dest-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-dest-card-body {
  padding: 0.95rem 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  text-align: center;
  min-height: 0;
  background: #fff;
}

.hero-dest-card-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.3;
  color: var(--navy);
  margin: 0 0 0.4rem;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-dest-card-body p {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-muted);
  margin: 0 0 0.85rem;
  flex: 1 1 auto;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-dest-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  align-self: center;
  background: #2f3542;
  color: var(--white);
  border-radius: 999px;
  padding: 0.55rem 1.35rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  border: none;
  transition: background var(--transition), transform var(--transition);
}

.hero-dest-card-btn:hover,
.hero-dest-card-btn:focus-visible {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-1px);
}

.hero-dest-card-btn i {
  font-size: 1.05rem;
}

.hero-coverflow-nav {
  position: absolute;
  top: 46%;
  transform: translateY(-50%);
  z-index: 40;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.hero-coverflow-nav:hover,
.hero-coverflow-nav:focus-visible {
  background: #ffe066;
  transform: translateY(-50%) scale(1.07);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}

.hero-coverflow-nav:active {
  transform: translateY(-50%) scale(0.98);
}

.hero-coverflow-nav i {
  font-size: 1.2rem;
  font-weight: 700;
  pointer-events: none;
}

.hero-coverflow-prev {
  left: 0;
}

.hero-coverflow-next {
  right: 0;
}

.hero-coverflow-pagination {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1.1rem;
}

.hero-coverflow-pagination .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.45);
  opacity: 1;
  width: 8px;
  height: 8px;
  margin: 0 4px !important;
}

.hero-coverflow-pagination .swiper-pagination-bullet-active {
  background: #d4a017;
  width: 28px;
  border-radius: 999px;
}

@media (min-width: 1200px) {
  .hero-coverflow .swiper-slide {
    width: 248px;
  }

  .hero-dest-card {
    height: 440px;
  }

  .hero-dest-card-media {
    height: 230px;
  }
}

/* Legacy hero swiper hooks (kept for deferred-bg JS safety) */
.hero-swiper {
  width: 100%;
  height: min(85vh, 850px);
  min-height: 520px;
}

.hero-slide {
  position: relative;
  background-size: cover;
  background-position: center;
}

.hero-slide--deferred {
  background-image: none !important;
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding-top: 150px;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(6, 77, 43, 0.85), rgba(20, 43, 74, 0.65));
}

.page-hero .container {
  position: relative;
  z-index: 2;
  padding: 4rem 15px;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
}

.breadcrumb-custom {
  background: transparent;
  padding: 0;
  margin-bottom: 0.75rem;
}

.breadcrumb-custom .breadcrumb-item,
.breadcrumb-custom .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.breadcrumb-custom .breadcrumb-item.active {
  color: var(--yellow);
}

.breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- About ---------- */
.about-image-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--white);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.about-badge strong {
  display: block;
  font-size: 1.75rem;
  color: var(--primary);
  font-family: var(--font-display);
  line-height: 1;
}

.about-highlights-scroll {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.about-scroll-section .about-scroll-content p {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.highlight-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  border: 1px solid var(--border);
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
}

.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.highlight-card i {
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 0.65rem;
}

.highlight-card h5 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.highlight-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.counter-box {
  text-align: center;
  padding: 1.5rem 1rem;
}

.counter-box .count {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--primary);
  font-weight: 700;
  line-height: 1;
}

.counter-box .count-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.stats-band {
  padding: 3.25rem 0;
}

.counter-box .count-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.1rem;
  height: 3.1rem;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  font-size: 1.35rem;
  color: var(--primary);
  background: rgba(8, 124, 57, 0.12);
}

.counter-box--on-green .count-icon {
  color: var(--navy);
  background: var(--yellow);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.counter-box--on-green .count-label {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}

/* ---------- Card Swipers (mobile single-slide) ---------- */
.card-swiper {
  width: 100%;
  padding-bottom: 2.5rem;
  overflow: hidden;
}

.card-swiper .swiper-slide {
  height: auto;
  box-sizing: border-box;
}

.card-swiper .hotel-card,
.card-swiper .activity-card,
.card-swiper .dest-card,
.card-swiper .pkg-card,
.card-swiper .vehicle-card {
  width: 100%;
  height: 100%;
}

.card-swiper .swiper-pagination {
  bottom: 0;
}

.card-swiper .swiper-pagination-bullet {
  background: var(--primary);
  opacity: 0.28;
}

.card-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--primary);
}

/* ---------- Package / Hotel Cards ---------- */
.pkg-card,
.hotel-card,
.vehicle-card,
.activity-card,
.dest-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid transparent;
}

.pkg-card:hover,
.hotel-card:hover,
.vehicle-card:hover,
.activity-card:hover,
.dest-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.pkg-card-img,
.hotel-card-img,
.vehicle-card-img,
.activity-card-img,
.dest-card-img {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.vehicle-card-img {
  background: #ffffff;
}

.pkg-card-img img,
.hotel-card-img img,
.vehicle-card-img img,
.activity-card-img img,
.dest-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.vehicle-card-img img {
  object-fit: contain;
  padding: 0.75rem;
}

.pkg-card:hover .pkg-card-img img,
.hotel-card:hover .hotel-card-img img,
.vehicle-card:hover .vehicle-card-img img,
.activity-card:hover .activity-card-img img,
.dest-card:hover .dest-card-img img {
  transform: scale(1.1);
}

.pkg-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--yellow);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  z-index: 2;
}

.pkg-card-body,
.hotel-card-body,
.vehicle-card-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pkg-card-body h3,
.hotel-card-body h3,
.vehicle-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.pkg-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.pkg-meta i {
  color: var(--primary);
  margin-right: 0.25rem;
}

.pkg-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.pkg-price small {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pkg-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pkg-actions .btn-brand,
.pkg-actions .btn-outline-brand {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}

.pkg-actions a.btn-brand,
.pkg-actions .btn-brand,
.tour-row-actions a.btn-brand,
.tour-row-actions .btn-brand,
.hotel-card-body a.btn-brand,
.hotel-card-body .btn-brand {
  color: #ffffff;
}

.pkg-actions a.btn-brand:hover,
.tour-row-actions a.btn-brand:hover,
.hotel-card-body a.btn-brand:hover {
  color: #ffffff;
}

/* ---------- Popular packages catalog (category + grid/list) ---------- */
.pkg-catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.75rem;
}

.pkg-catalog-toolbar--packages {
  margin: 0;
  align-items: center;
}

.pkg-category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pkg-filter-btn {
  border: 1px solid rgba(20, 43, 74, 0.12);
  background: #fff;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pkg-filter-btn:hover {
  border-color: rgba(8, 124, 57, 0.35);
  color: var(--primary-dark);
}

.pkg-filter-btn.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.pkg-find-bar--compact {
  flex: 1 1 280px;
  justify-content: flex-end;
  margin: 0;
}

.pkg-find-bar--compact .pkg-search-field {
  flex: 1 1 200px;
  max-width: 280px;
}

.pkg-find-section {
  --pkg-sticky-top: 108px;
  padding: 0.85rem 0;
  background: #fff;
  border-bottom: 1px solid rgba(20, 43, 74, 0.08);
  position: sticky;
  top: var(--pkg-sticky-top);
  z-index: 1030;
  transition: box-shadow 0.25s ease, top 0.2s ease;
}

.pkg-find-section.is-stuck {
  background: #fff;
  box-shadow: 0 10px 28px rgba(20, 43, 74, 0.12);
}

.tour-listing-section,
.tour-row,
#hotel-catalog {
  scroll-margin-top: calc(var(--pkg-sticky-top, 108px) + 88px);
}

.pkg-find-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  margin: 0;
}

.tour-row {
  content-visibility: auto;
  contain-intrinsic-width: none;
  contain-intrinsic-height: auto 240px;
}

.tour-row.is-scroll-in {
  opacity: 1;
  transform: none;
}

.tour-listing-section.is-hidden {
  display: none !important;
}

.pkg-find-bar--home {
  margin: 0;
  justify-content: center;
  width: 100%;
}

.pkg-catalog-controls {
  position: relative;
  z-index: 40;
  margin-bottom: 1.75rem;
}

#packages .pkg-find-bar--home .pkg-search-field,
#packages .pkg-find-bar--home .pkg-category-dropdown,
#hotels .pkg-find-bar--home .pkg-search-field,
#hotels .pkg-find-bar--home .pkg-category-dropdown {
  flex: 1 1 220px;
  max-width: 320px;
}

.pkg-search-field {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.45rem 1rem;
  height: 48px;
  min-height: 48px;
  max-height: 48px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(20, 43, 74, 0.1);
  box-shadow: 0 6px 18px rgba(20, 43, 74, 0.06);
  color: var(--text-muted);
  flex: 1 1 220px;
  max-width: 360px;
  box-sizing: border-box;
}

.pkg-category-dropdown {
  position: relative;
  flex: 1 1 220px;
  max-width: 360px;
  margin: 0;
  z-index: 5;
}

.pkg-search-field i,
.pkg-category-trigger i {
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
  line-height: 1;
}

.pkg-search-field input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  min-width: 0;
  height: 100%;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--navy);
  padding: 0;
  line-height: 1.2;
}

.pkg-search-field input::placeholder {
  color: #8a95a3;
}

.pkg-category-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  height: 48px;
  min-height: 48px;
  max-height: 48px;
  padding: 0.45rem 1rem;
  border: 1px solid rgba(20, 43, 74, 0.1);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(20, 43, 74, 0.06);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.92rem;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
}

.pkg-category-label {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pkg-category-caret {
  transition: transform 0.2s ease;
  font-size: 0.85rem;
}

.pkg-category-dropdown.is-open {
  z-index: 80;
}

.pkg-category-dropdown.is-open .pkg-category-trigger {
  border-color: rgba(8, 124, 57, 0.45);
  box-shadow: 0 0 0 3px rgba(8, 124, 57, 0.12), 0 6px 18px rgba(20, 43, 74, 0.06);
}

.pkg-category-dropdown.is-open .pkg-category-caret {
  transform: rotate(180deg);
}

.pkg-category-menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  right: 0;
  margin: 0;
  padding: 0.2rem 0;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(20, 43, 74, 0.14);
  border-top: 2px solid #c62828;
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(20, 43, 74, 0.14);
  z-index: 90;
  max-height: calc((0.7rem * 2 + 1.35rem) * 5 + 0.4rem);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(8, 124, 57, 0.45) transparent;
}

.pkg-category-menu::-webkit-scrollbar {
  width: 6px;
}

.pkg-category-menu::-webkit-scrollbar-thumb {
  background: rgba(8, 124, 57, 0.4);
  border-radius: 999px;
}

.pkg-category-menu > li {
  border-bottom: 1px solid rgba(20, 43, 74, 0.06);
}

.pkg-category-menu > li:last-child {
  border-bottom: none;
}

.pkg-category-menu[hidden] {
  display: none !important;
}

.pkg-category-option {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0.7rem 0.95rem;
  border-radius: 0;
  color: #3a4558;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}

.pkg-category-option:hover {
  background: rgba(198, 40, 40, 0.08);
  color: #c62828;
}

.pkg-category-option.is-active {
  background: rgba(13, 110, 253, 0.12);
  color: #0d6efd;
}

.pkg-category-menu--nested {
  max-height: min(22rem, 70vh);
}

.pkg-category-group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  font-weight: 600;
  color: var(--navy, #142b4a);
}

.pkg-category-group-toggle .bi-chevron-right {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.pkg-category-group.is-open > .pkg-category-group-toggle,
.pkg-category-group-toggle[aria-expanded="true"] {
  color: #c62828;
  background: rgba(198, 40, 40, 0.08);
}

.pkg-category-group.is-open > .pkg-category-group-toggle .bi-chevron-right {
  transform: rotate(90deg);
}

.pkg-category-sublist {
  list-style: none;
  margin: 0;
  padding: 0;
  background: rgba(20, 43, 74, 0.02);
  border-top: 1px solid rgba(20, 43, 74, 0.06);
}

.pkg-category-sublist[hidden] {
  display: none !important;
}

.pkg-category-sublist .pkg-category-option {
  padding-left: 1.35rem;
  font-size: 0.88rem;
  font-weight: 500;
}

.pkg-search-field:focus-within {
  border-color: rgba(8, 124, 57, 0.45);
  box-shadow: 0 0 0 3px rgba(8, 124, 57, 0.12), 0 6px 18px rgba(20, 43, 74, 0.06);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.pkg-search-empty {
  text-align: center;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  padding: 1rem;
  background: #fff;
  border-radius: 12px;
  border: 1px dashed rgba(20, 43, 74, 0.15);
}

.tour-row.is-hidden,
.tour-listing-section.is-hidden,
.tour-list.is-hidden {
  display: none !important;
}

.pkg-catalog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.pkg-catalog .pkg-card.is-hidden {
  display: none;
}

.pkg-catalog {
  position: relative;
  z-index: 1;
}

.pkg-list-viewport {
  position: relative;
}

.pkg-list-viewport[data-mode="list"] .pkg-list-swiper {
  height: 34.5rem;
  overflow: hidden;
}

.pkg-list-viewport[data-mode="grid"] .pkg-list-swiper {
  height: auto;
  overflow: visible;
}

.pkg-list-viewport[data-mode="grid"] .pkg-list-swiper .swiper-wrapper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  transform: none !important;
}

.pkg-list-viewport[data-mode="grid"] .pkg-list-swiper .swiper-slide {
  height: auto !important;
  width: auto !important;
  margin: 0 !important;
}

.pkg-catalog[data-layout="list"],
.pkg-list-viewport[data-mode="list"] .pkg-catalog {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pkg-list-viewport[data-mode="list"] .swiper-slide {
  height: auto;
  padding-bottom: 0.85rem;
  box-sizing: border-box;
}

.pkg-catalog[data-layout="list"] .pkg-card,
.pkg-list-viewport[data-mode="list"] .pkg-card {
  flex-direction: row;
  align-items: stretch;
  min-height: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(8, 124, 57, 0.12);
  box-shadow: 0 10px 26px rgba(6, 77, 43, 0.08);
  border-radius: 16px;
}

.pkg-catalog[data-layout="list"] .pkg-card:hover,
.pkg-list-viewport[data-mode="list"] .pkg-card:hover {
  transform: translateY(-2px);
  border-color: rgba(8, 124, 57, 0.24);
  box-shadow: 0 14px 30px rgba(6, 77, 43, 0.14);
}

.pkg-catalog[data-layout="list"] .pkg-card-img,
.pkg-list-viewport[data-mode="list"] .pkg-card-img {
  flex: 0 0 230px;
  width: 230px;
  max-width: 38%;
  height: auto;
  min-height: 168px;
  align-self: stretch;
  border-radius: 0;
}

.pkg-catalog[data-layout="list"] .pkg-card-img img,
.pkg-list-viewport[data-mode="list"] .pkg-card-img img {
  border-radius: 16px 0 0 16px;
  height: 100%;
  object-fit: cover;
}

.pkg-catalog[data-layout="list"] .pkg-card-img .pkg-badge,
.pkg-list-viewport[data-mode="list"] .pkg-card-img .pkg-badge {
  top: 0.65rem;
  left: 0.65rem;
  font-size: 0.68rem;
  padding: 0.28rem 0.6rem;
}

.pkg-catalog[data-layout="list"] .pkg-card-body,
.pkg-list-viewport[data-mode="list"] .pkg-card-body {
  flex: 1 1 auto;
  min-width: 0;
  padding: 1rem 1.2rem 1.05rem;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "title title"
    "desc desc"
    "meta price"
    "actions actions";
  align-items: center;
  column-gap: 0.75rem;
  row-gap: 0.4rem;
}

.pkg-catalog[data-layout="list"] .pkg-card-body h3,
.pkg-list-viewport[data-mode="list"] .pkg-card-body h3 {
  font-size: 1.12rem;
  margin-bottom: 0;
  color: var(--navy);
}

.pkg-catalog[data-layout="list"] .pkg-card-body > .small,
.pkg-list-viewport[data-mode="list"] .pkg-card-body > .small {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0 !important;
  line-height: 1.5;
  color: var(--text-muted);
}

.pkg-catalog[data-layout="list"] .pkg-meta,
.pkg-list-viewport[data-mode="list"] .pkg-meta {
  margin: 0;
  display: inline-flex;
  width: fit-content;
}

.pkg-catalog[data-layout="list"] .pkg-meta span,
.pkg-list-viewport[data-mode="list"] .pkg-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(226, 75, 92, 0.12);
  color: #c43b4c;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.2;
  max-width: 100%;
}

.pkg-catalog[data-layout="list"] .pkg-meta i,
.pkg-list-viewport[data-mode="list"] .pkg-meta i {
  margin-right: 0;
  font-size: 0.85rem;
}

.pkg-catalog[data-layout="list"] .pkg-price,
.pkg-list-viewport[data-mode="list"] .pkg-price {
  font-size: 1.12rem;
  color: var(--primary);
  font-weight: 700;
}

.pkg-catalog[data-layout="list"] .pkg-card-body h3,
.pkg-list-viewport[data-mode="list"] .pkg-card-body h3 {
  grid-area: title;
}

.pkg-catalog[data-layout="list"] .pkg-card-body > .small,
.pkg-list-viewport[data-mode="list"] .pkg-card-body > .small {
  grid-area: desc;
}

.pkg-catalog[data-layout="list"] .pkg-meta,
.pkg-list-viewport[data-mode="list"] .pkg-meta {
  grid-area: meta;
  justify-self: start;
}

.pkg-catalog[data-layout="list"] .pkg-price,
.pkg-list-viewport[data-mode="list"] .pkg-price {
  grid-area: price;
  justify-self: end;
  align-self: center;
  margin: 0;
}

.pkg-catalog[data-layout="list"] .pkg-actions,
.pkg-list-viewport[data-mode="list"] .pkg-actions {
  grid-area: actions;
  margin-top: 0.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.pkg-catalog[data-layout="list"] .pkg-actions .btn,
.pkg-list-viewport[data-mode="list"] .pkg-actions .btn {
  padding: 0.42rem 0.95rem;
  font-size: 0.82rem;
  border-radius: 999px;
}

.pkg-catalog-empty {
  text-align: center;
  color: var(--text-muted);
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

#hotelFindSection .pkg-find-bar .pkg-search-field,
#hotelFindSection .pkg-find-bar .pkg-category-dropdown {
  flex: 1 1 220px;
  max-width: 320px;
}

.hotel-catalog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.hotel-catalog[data-layout="list"] {
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.hotel-catalog[data-layout="list"] .hotel-card {
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr;
  align-items: stretch;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(8, 124, 57, 0.06) 0%, #fff 42%);
  border: 1px solid rgba(8, 124, 57, 0.16);
  border-left: 4px solid var(--primary);
  box-shadow: 0 8px 22px rgba(6, 77, 43, 0.08);
  border-radius: 14px;
}

.hotel-catalog[data-layout="list"] .hotel-card:hover {
  transform: translateY(-3px);
  border-color: rgba(8, 124, 57, 0.28);
  box-shadow: 0 14px 28px rgba(6, 77, 43, 0.14);
}

.hotel-catalog[data-layout="list"] .hotel-card-img {
  height: 100%;
  min-height: 150px;
}

.hotel-catalog[data-layout="list"] .hotel-card-img img {
  height: 100%;
  object-fit: cover;
}

.hotel-catalog[data-layout="list"] .hotel-card-img .pkg-badge {
  top: 0.65rem;
  left: 0.65rem;
  font-size: 0.68rem;
  padding: 0.28rem 0.6rem;
}

.hotel-catalog[data-layout="list"] .hotel-card-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "title title"
    "rating rating"
    "desc desc"
    "price action";
  column-gap: 1rem;
  row-gap: 0.3rem;
  align-content: center;
  align-items: center;
  padding: 0.95rem 1.15rem;
}

.hotel-catalog[data-layout="list"] .hotel-card-body h3 {
  grid-area: title;
  margin: 0;
}

.hotel-catalog[data-layout="list"] .hotel-rating {
  grid-area: rating;
  margin: 0;
}

.hotel-catalog[data-layout="list"] .hotel-card-body > .small {
  grid-area: desc;
  margin: 0 0 0.25rem !important;
}

.hotel-catalog[data-layout="list"] .hotel-card-body .pkg-price {
  grid-area: price;
  margin: 0;
  align-self: center;
}

.hotel-catalog[data-layout="list"] .hotel-card-body .btn {
  grid-area: action;
  width: auto;
  min-width: 120px;
  justify-self: end;
  align-self: center;
  white-space: nowrap;
}

.hotel-catalog[data-layout="grid"] .hotel-card-body .btn {
  width: 100%;
  margin-top: auto;
}

.hotel-catalog[data-layout="list"] .hotel-card-body .pkg-actions {
  grid-area: action;
  margin-top: 0;
  justify-content: flex-end;
}

.hotel-catalog[data-layout="grid"] .hotel-card-body .pkg-actions {
  margin-top: auto;
}

.hotel-catalog[data-layout="grid"] .hotel-card-body .pkg-actions .btn {
  width: auto;
  flex: 1 1 8rem;
}

.hotel-facts {
  display: grid;
  gap: 0.85rem;
  margin: 0;
}

.hotel-facts div {
  display: grid;
  grid-template-columns: minmax(110px, 150px) minmax(0, 1fr);
  gap: 0.35rem 0.75rem;
  align-items: start;
}

.hotel-facts dt {
  margin: 0;
  font-weight: 600;
  color: var(--navy);
}

.hotel-facts dd {
  margin: 0;
  color: var(--text-muted);
}

.hotel-detail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.hotel-detail-gallery img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
}

#hotel-catalog .container {
  padding-right: 5rem;
}

.hotel-catalog .hotel-card {
  height: 100%;
}

.hotel-catalog .hotel-card.is-hidden {
  display: none;
}

.hotel-card-img .pkg-badge {
  z-index: 2;
}

.hotel-rating {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin: 0 0 0.55rem;
  color: #e6a800;
  font-size: 0.92rem;
}

.hotel-rating span {
  margin-left: 0.35rem;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
}

.pkg-section-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
}

.pkg-section-tab {
  border: 1px solid rgba(20, 43, 74, 0.12);
  background: #fff;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pkg-section-tab:hover,
.pkg-section-tab.is-active {
  background: rgba(226, 75, 92, 0.1);
  border-color: rgba(226, 75, 92, 0.28);
  color: var(--menu-accent);
}

/* ---------- Taxi Table ---------- */
.tariff-table-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  max-width: 100%;
}

.tariff-table {
  --bs-table-bg: #ffffff;
  --bs-table-color: #1f2a24;
  --bs-table-border-color: #e6ece8;
  --bs-table-hover-bg: #e8f5ee;
  margin: 0;
  font-size: 0.92rem;
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  color: #1f2a24;
}

/* Same green header + white text for ALL columns */
.tariff-table thead th,
.tariff-table > thead > tr > th {
  --bs-table-bg: transparent;
  --bs-table-color: #ffffff;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary)) !important;
  background-color: var(--primary-dark) !important;
  color: #ffffff !important;
  font-weight: 600;
  padding: 1rem;
  white-space: nowrap;
  border: none !important;
  vertical-align: middle;
}

.tariff-table tbody td {
  padding: 0.85rem 1rem;
  vertical-align: middle;
  white-space: nowrap;
  color: #1f2a24;
  background: var(--white);
  border-color: #e6ece8;
}

.tariff-table tbody td:first-child {
  font-weight: 500;
  white-space: normal;
}

.tariff-table tbody tr:nth-child(even) td {
  background: var(--light-bg);
}

.tariff-table tbody tr:hover td {
  background: #e8f5ee;
}

.info-note {
  background: #fff8e1;
  border-left: 4px solid var(--yellow);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.92rem;
}

.info-note ul {
  margin-bottom: 0;
  padding-left: 1.1rem;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.gallery-item:nth-child(1),
.gallery-item:nth-child(6) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(6, 77, 43, 0.85));
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: min(95vw, 1100px);
  max-height: 85vh;
  border-radius: 8px;
  object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background var(--transition);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--primary);
}

.lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
}

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-next {
  right: 1.5rem;
}

.lightbox-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 1rem;
}

/* ---------- Contact Form ---------- */
.map-placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  height: 100%;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  height: 100%;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-item .icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--light-bg);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.form-control-custom,
.form-select-custom {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control-custom:focus,
.form-select-custom:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(8, 124, 57, 0.15);
  outline: none;
}

.form-label-custom {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--navy);
}

.form-error {
  color: #c0392b;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  display: none;
}

.form-control-custom.is-invalid,
.form-select-custom.is-invalid {
  border-color: #c0392b;
}

/* ---------- Itinerary ---------- */
.itinerary-day {
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  padding: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.75rem;
  border-left: 4px solid var(--primary);
}

.itinerary-day h4 {
  font-size: 1.15rem;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.itinerary-day ul {
  margin: 0;
  padding-left: 1.1rem;
}

.itinerary-day li {
  margin-bottom: 0.35rem;
  color: var(--text-muted);
}

.inclusion-box {
  background: var(--light-bg);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  height: 100%;
}

.inclusion-box h4 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.inclusion-box.exclusions {
  background: #fff8f0;
}

.inclusion-box ul {
  padding-left: 1.1rem;
  margin: 0;
}

.inclusion-box li {
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
}

/* ---------- Floating buttons ---------- */
.float-buttons {
  position: fixed;
  inset: auto 0 1.5rem;
  z-index: 1050;
  display: block;
  pointer-events: none;
}

.float-btn {
  position: fixed;
  bottom: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform var(--transition);
  border: none;
  pointer-events: auto;
  z-index: 1051;
}

.float-btn:hover {
  transform: scale(1.08);
  color: white;
}

.float-whatsapp {
  right: 1.5rem;
  left: auto;
  background: #25D366;
}

.float-call {
  left: 1.5rem;
  right: auto;
  background: var(--primary);
}

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, var(--primary-dark) 0%, #03331c 100%);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 70px;
}

.site-footer h5 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.65rem;
}

.site-footer h5::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--yellow);
  border-radius: 2px;
}

.footer-brand {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.footer-brand .brand-logo {
  width: 110px;
  height: 110px;
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
}

.footer-tagline {
  color: var(--yellow);
  font-style: italic;
  font-family: var(--font-display);
  margin-top: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  transition: color var(--transition), padding-left var(--transition);
}

.footer-links a:hover {
  color: var(--yellow);
  padding-left: 4px;
}

.footer-contact {
  text-align: left;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
}

.footer-contact li:last-child {
  margin-bottom: 0;
}

.footer-contact i {
  color: var(--yellow);
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 1.1rem;
  text-align: center;
  font-size: 1rem;
}

.footer-contact span {
  display: block;
  min-width: 0;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.88);
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--yellow);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  display: grid;
  place-items: center;
  transition: background var(--transition), transform var(--transition);
}

.social-links a:hover {
  background: var(--yellow);
  color: var(--navy);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding: 1.25rem 0;
  font-size: 0.875rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: stretch;
  justify-content: center;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--yellow);
}

.footer-legal span {
  color: rgba(255, 255, 255, 0.35);
}

/* ---------- Policy pages (white-based) ---------- */
.page-hero-plain {
  background-image: none !important;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 70%);
  min-height: 220px;
}

.policy-section {
  background: #f4f6f5;
}

.policy-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.35rem, 3vw, 2.5rem);
  max-width: 860px;
  margin: 0 auto;
  color: #1f2a24;
  line-height: 1.7;
}

.policy-card h2 {
  color: var(--primary-dark);
  font-size: 1.15rem;
  margin-top: 1.75rem;
  margin-bottom: 0.65rem;
}

.policy-card p,
.policy-card li {
  color: #334038;
  font-size: 0.98rem;
}

.policy-card ul {
  padding-left: 1.15rem;
  margin-bottom: 0.85rem;
}

.policy-card a {
  color: var(--primary);
  font-weight: 500;
}

/* Keep solid brand buttons readable (white text on green) */
.policy-card a.btn-brand,
.policy-card .btn-brand,
.policy-actions .btn-brand {
  color: #ffffff !important;
}

.policy-card a.btn-brand:hover,
.policy-card .btn-brand:hover,
.policy-actions .btn-brand:hover,
.policy-card a.btn-brand:focus,
.policy-actions .btn-brand:focus {
  color: #ffffff !important;
}

.policy-card a.btn-outline-brand,
.policy-actions .btn-outline-brand {
  color: var(--primary);
}

.policy-card a.btn-outline-brand:hover,
.policy-actions .btn-outline-brand:hover {
  color: #ffffff !important;
}

.policy-updated {
  color: #6b7a71 !important;
  font-size: 0.88rem !important;
  margin-bottom: 1rem;
}

.policy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e6ece8;
}

/* ---------- Misc ---------- */
.activity-card-body,
.dest-card-body {
  padding: 1.15rem;
  text-align: center;
}

.activity-card-body h4,
.dest-card-body h4 {
  font-size: 1.05rem;
  margin: 0;
}

.cta-banner {
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  color: white;
  margin-bottom: 0.75rem;
}

.cta-banner p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.cta-banner-actions .btn {
  margin: 0;
}

.price-note {
  font-size: 0.88rem;
  color: var(--text-muted);
  background: var(--light-bg);
  padding: 1.25rem;
  border-radius: var(--radius-sm);
}

.list-check {
  list-style: none;
  padding: 0;
}

.list-check li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.5rem;
}

.list-check li::before {
  content: "\F26B";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.warning-banner {
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: #664d03;
}

.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  border: none;
  display: none;
  place-items: center;
  z-index: 1040;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.back-to-top.show {
  display: grid;
}

/* ---------- Hero video modal ---------- */
.video-modal .modal-dialog {
  max-width: min(920px, 94vw);
}

.video-modal-content {
  background: #0b1220;
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.video-modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.85rem 1.15rem;
  color: var(--white);
}

.video-modal-header .modal-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--white);
}

.video-modal-body {
  background: #000;
}

.video-modal-player {
  display: block;
  width: 100%;
  max-height: min(78vh, 560px);
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: contain;
}

/* ---------- Taxi / Package catalog (card view) ---------- */
.catalog-section {
  background: #f3f5f7;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.catalog-sidebar {
  position: sticky;
  top: 140px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.filter-card,
.help-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(20, 43, 74, 0.08);
  border: 1px solid rgba(20, 43, 74, 0.06);
}

.filter-card {
  padding: 1.15rem 1.2rem 1.25rem;
}

.filter-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(20, 43, 74, 0.08);
}

.filter-card-head h2 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--navy);
}

.filter-card-head i {
  color: var(--menu-accent);
  font-size: 1.1rem;
}

.filter-block + .filter-block {
  margin-top: 1.15rem;
}

.filter-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.65rem;
}

.price-range-input {
  width: 100%;
  accent-color: var(--menu-accent);
  cursor: pointer;
}

.price-range-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}

.filter-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.filter-check-list li + li {
  margin-top: 0.45rem;
}

.filter-check {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  font-size: 0.92rem;
  color: #3a4450;
  user-select: none;
}

.filter-check input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--menu-accent);
  cursor: pointer;
}

.help-card {
  padding: 1.35rem 1.2rem;
  text-align: center;
}

.help-card-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(226, 75, 92, 0.1);
  color: var(--menu-accent);
  font-size: 1.35rem;
}

.help-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.help-phone {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.help-card p {
  margin: 0 0 0.9rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.catalog-count {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.rental-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(20, 43, 74, 0.08);
  border: 1px solid rgba(20, 43, 74, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rental-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(20, 43, 74, 0.14);
}

.rental-card.is-hidden {
  display: none;
}

.rental-card-media {
  position: relative;
  height: 210px;
  background: #eef1f4;
  overflow: hidden;
}

.rental-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.rental-card:hover .rental-card-media img {
  transform: scale(1.05);
}

.rental-ribbon {
  position: absolute;
  top: 14px;
  left: -28px;
  z-index: 2;
  width: 120px;
  text-align: center;
  background: var(--menu-accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0;
  transform: rotate(-45deg);
  box-shadow: 0 4px 10px rgba(226, 75, 92, 0.35);
}

.rental-price {
  position: absolute;
  right: 0.85rem;
  bottom: 0.75rem;
  z-index: 2;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
  line-height: 1.1;
}

.rental-price small {
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.95;
}

/* Tempo / bus images are light — use black price + content text */
.rental-card[data-category="tempo"] .rental-price,
.rental-card[data-category="coach"] .rental-price {
  color: #111;
  text-shadow: none;
  background: rgba(255, 255, 255, 0.88);
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
}

.rental-card[data-category="tempo"] .rental-price small,
.rental-card[data-category="coach"] .rental-price small {
  color: #222;
  opacity: 1;
}

.rental-card[data-category="tempo"] .rental-card-foot h3,
.rental-card[data-category="coach"] .rental-card-foot h3 {
  color: #111;
}

.rental-card[data-category="tempo"] .rental-card-foot p,
.rental-card[data-category="coach"] .rental-card-foot p {
  color: #333;
}

.rental-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1rem 1.05rem;
}

.rental-card-foot h3 {
  margin: 0 0 0.2rem;
  font-size: 0.98rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--navy);
}

.rental-card-foot p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.rental-chat {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(226, 75, 92, 0.1);
  color: var(--menu-accent);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.rental-chat:hover {
  background: var(--menu-accent);
  color: #fff;
  transform: scale(1.06);
}

.catalog-empty {
  margin-top: 1.5rem;
  padding: 1.25rem;
  text-align: center;
  background: #fff;
  border-radius: 10px;
  color: var(--text-muted);
}

.catalog-tariff-block {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(20, 43, 74, 0.08);
}

/* ---------- Kerala tour listing (reference-style rows) ---------- */
.tour-listing-section {
  background: linear-gradient(180deg, #f7faf5 0%, #ffffff 28%);
}

.tour-listing-intro {
  max-width: 760px;
  margin-bottom: 2.25rem;
}

.tour-call-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(8, 124, 57, 0.1);
  color: var(--primary-dark);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}

.tour-call-chip:hover {
  background: var(--primary);
  color: #fff;
}

.tour-listing-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-top: 0.85rem;
}

.tour-view-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(20, 43, 74, 0.1);
  box-shadow: 0 6px 18px rgba(20, 43, 74, 0.06);
}

.tour-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.tour-view-btn:hover {
  color: var(--primary-dark);
  background: rgba(8, 124, 57, 0.08);
}

.tour-view-btn.is-active {
  background: var(--primary);
  color: #fff;
}

.tour-list {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.tour-list[data-view="grid"] {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.tour-row {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(20, 43, 74, 0.06);
  box-shadow: 0 12px 32px rgba(20, 43, 74, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.tour-row:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(20, 43, 74, 0.14);
}

.tour-row-media {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  background: #e8eee9;
}

.tour-row-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tour-row:hover .tour-row-media img {
  transform: scale(1.06);
}

.tour-row-body {
  padding: 1.35rem 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
}

.tour-row-body h3 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--navy);
}

.tour-row-body p {
  margin: 0 0 1.1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  flex-grow: 1;
}

.tour-row-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(20, 43, 74, 0.08);
}

.tour-row-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.tour-duration {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(226, 75, 92, 0.1);
  color: var(--menu-accent);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
}

.tour-price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.tour-price small {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.tour-price-request {
  font-size: 0.92rem;
  color: var(--navy);
}

.tour-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Grid View — compact grid cards with price emphasis */
.tour-list[data-view="grid"] .tour-row {
  grid-template-columns: 1fr;
  height: 100%;
}

.tour-list[data-view="grid"] .tour-row-media {
  min-height: 0;
  aspect-ratio: 16 / 10;
  max-height: none;
}

.tour-list[data-view="grid"] .tour-row-body {
  padding: 1.1rem 1.15rem 1.2rem;
}

.tour-list[data-view="grid"] .tour-row-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.45rem;
}

.tour-list[data-view="grid"] .tour-row-body p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin-bottom: 0.85rem;
  font-size: 0.88rem;
  line-height: 1.55;
}

.tour-list[data-view="grid"] .tour-row-meta {
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
}

.tour-list[data-view="grid"] .tour-row-tags {
  justify-content: space-between;
}

.tour-list[data-view="grid"] .tour-price {
  font-size: 1.25rem;
}

.tour-list[data-view="grid"] .tour-row-actions {
  width: 100%;
}

.tour-list[data-view="grid"] .tour-row-actions .btn {
  flex: 1 1 auto;
  text-align: center;
}

/* ---------- Dynamic package details page ---------- */
.package-detail-section {
  background:
    linear-gradient(180deg, rgba(247, 250, 245, 0.9) 0%, rgba(255, 255, 255, 1) 40%),
    radial-gradient(circle at top right, rgba(8, 124, 57, 0.06), transparent 45%);
}

.package-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.85fr);
  gap: 2rem;
  align-items: start;
}

.package-detail-main {
  min-width: 0;
}

.detail-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem 1.7rem;
  margin-bottom: 1.35rem;
  box-shadow: 0 8px 24px rgba(6, 77, 43, 0.05);
}

.detail-block-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
  padding-bottom: 0.85rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.detail-block-head h2 {
  font-size: 1.15rem;
  margin: 0;
  color: var(--navy);
}

.detail-block-head h3 {
  font-size: 1.05rem;
  margin: 0;
  color: var(--primary-dark);
  font-weight: 600;
}

.detail-duration-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.detail-desc-body p {
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  font-size: 0.98rem;
}

.detail-desc-body p:last-child {
  margin-bottom: 0;
}

.detail-schedule-wrap {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.detail-schedule-table {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.detail-schedule-table thead th {
  background: var(--primary-dark);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.86rem;
  border: none;
  white-space: nowrap;
  padding: 0.85rem 1rem;
}

.detail-schedule-table tbody td {
  padding: 0.85rem 1rem;
  vertical-align: top;
  color: var(--text-muted);
  border-color: var(--border);
}

.detail-schedule-table tbody tr:nth-child(even) {
  background: #f3f7f2;
}

.detail-schedule-table tbody td:first-child {
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

.detail-attractions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.detail-attraction-card {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  padding: 0.65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--light-bg);
  transition: transform var(--transition), box-shadow var(--transition);
}

.detail-attraction-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.detail-attraction-img {
  border-radius: 8px;
  overflow: hidden;
  height: 84px;
}

.detail-attraction-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-attraction-body h4 {
  font-size: 0.98rem;
  margin: 0 0 0.25rem;
}

.detail-attraction-body p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.detail-includes-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.detail-includes-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
}

.detail-includes-list .bi {
  color: var(--primary);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.package-detail-sidebar {
  position: sticky;
  top: 130px;
}

.detail-booking-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
}

.detail-booking-head {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  text-align: center;
  padding: 0.9rem 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.detail-booking-form {
  padding: 1.15rem 1.15rem 1.35rem;
}

.detail-booking-form .form-label-custom {
  margin-top: 0.65rem;
  margin-bottom: 0.3rem;
}

.detail-booking-form .form-label-custom:first-of-type {
  margin-top: 0;
}

.detail-stepper {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  gap: 0.25rem;
  align-items: center;
}

.detail-stepper .form-control {
  text-align: center;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

.detail-stepper-btn {
  height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--light-bg);
  color: var(--navy);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.detail-stepper-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.detail-book-btn {
  margin-top: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.detail-phone-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  box-shadow: 0 8px 24px rgba(6, 77, 43, 0.05);
}

.detail-phone-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(8, 124, 57, 0.12);
  color: var(--primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.detail-phone-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.detail-phone-number {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.detail-phone-number:hover {
  color: var(--primary-dark);
}

/* ---------- View-based rendering (faster scroll on all pages) ---------- */
main > section.section-padding {
  content-visibility: auto;
  contain-intrinsic-width: none;
  contain-intrinsic-height: auto 640px;
}

.pkg-card,
.hotel-card,
.rental-card,
.tour-row,
.vehicle-card,
.gallery-item,
.activity-card,
.dest-card {
  content-visibility: auto;
  contain-intrinsic-width: none;
  contain-intrinsic-height: auto 240px;
}

.pkg-card-img,
.hotel-card-img,
.vehicle-card-img,
.activity-card-img,
.dest-card-img,
.gallery-item,
.tour-row-media {
  background: linear-gradient(110deg, #e7efe8 20%, #f3f7f3 40%, #e7efe8 60%);
  background-size: 200% 100%;
}

.img-view-lazy {
  min-height: 160px;
  background: transparent;
}

.is-view-pending {
  content-visibility: auto;
}

.is-view-ready {
  content-visibility: visible;
}

.hero-slide--deferred {
  background-color: #0d3b24;
}

@media (prefers-reduced-motion: reduce) {
  main > section.section-padding,
  .pkg-card,
  .hotel-card,
  .rental-card,
  .tour-row,
  .vehicle-card,
  .gallery-item,
  .activity-card,
  .dest-card {
    content-visibility: visible;
  }
}

/* ---------- Founder, vision and values pages ---------- */
.story-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
}

.story-pages a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(8, 124, 57, 0.22);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.88rem;
  background: #fff;
  text-decoration: none;
}

.story-pages a.is-current,
.story-pages a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.founder-identity {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 1.15rem 1.25rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(8, 124, 57, 0.14);
  box-shadow: 0 10px 26px rgba(6, 77, 43, 0.06);
  margin-bottom: 1.5rem;
}

.founder-identity-head {
  display: flex;
  align-items: center;
  gap: 1.05rem;
  min-width: 0;
  max-width: 100%;
}

.founder-identity-copy {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
}

.founder-identity h2,
.founder-identity p {
  overflow-wrap: break-word;
}

.founder-mark {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #087c39, #064d2b);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.founder-identity h2 {
  margin: 0 0 0.15rem;
  font-size: 1.35rem;
  color: var(--navy);
  line-height: 1.3;
}

.founder-identity p {
  margin: 0;
}

.founder-role {
  color: var(--primary);
  font-weight: 600;
}

.founder-brand,
.founder-tagline {
  color: var(--navy);
}

.founder-contacts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0.15rem 0 0;
}

.founder-contacts li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  max-width: 100%;
}

.founder-contacts i {
  flex: 0 0 1.15rem;
  width: 1.15rem;
  text-align: center;
  color: var(--navy);
  font-size: 0.95rem;
  line-height: 1;
}

.founder-contacts a {
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.35;
  overflow-wrap: break-word;
}

.founder-contacts a[href^="tel:"] {
  white-space: nowrap;
}

@media (min-width: 768px) {
  .founder-contacts {
    padding-left: calc(72px + 1.05rem);
  }
}

.edu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.edu-list li {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(20, 43, 74, 0.08);
}

.edu-list strong {
  color: var(--primary);
  font-size: 1.05rem;
}

.promise-quote {
  margin: 0;
  padding: 1.35rem 1.5rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #064d2b, #087c39);
  color: #fff;
  font-size: 1.15rem;
  line-height: 1.6;
}

.promise-quote p {
  margin: 0 0 0.75rem;
}

.promise-quote span {
  display: block;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.compliance-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.compliance-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(8, 124, 57, 0.08);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
}

@media (max-width: 991.98px) {
  main > section.section-padding,
  .pkg-card,
  .hotel-card,
  .rental-card,
  .tour-row,
  .vehicle-card,
  .gallery-item,
  .activity-card,
  .dest-card {
    content-visibility: visible;
    contain-intrinsic-width: none;
    contain-intrinsic-height: none;
  }
}

@media (max-width: 767.98px) {
  .founder-identity {
    gap: 0.8rem;
    padding: 1rem 0.95rem;
  }

  .founder-identity-head {
    align-items: flex-start;
    gap: 0.8rem;
  }

  .founder-mark {
    flex-basis: 52px;
    width: 52px;
    height: 52px;
    font-size: 0.92rem;
    margin-top: 0.15rem;
  }

  .founder-identity h2 {
    font-size: 1.05rem;
  }

  .founder-role,
  .founder-brand,
  .founder-tagline {
    font-size: 0.92rem;
    line-height: 1.4;
  }

  .founder-contacts {
    gap: 0.55rem;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(8, 124, 57, 0.12);
  }

  .founder-contacts a {
    font-size: 0.92rem;
  }
}

@media (max-width: 575.98px) {
  .founder-identity {
    padding: 0.95rem 0.85rem;
  }

  .edu-list li {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

/* ---------- Our Team ---------- */
.org-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0.5rem auto 2.25rem;
  max-width: 760px;
}

.org-level {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  width: 100%;
}

.org-card {
  background: #fff;
  border: 1px solid rgba(8, 124, 57, 0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.05rem 1.15rem 1rem;
  text-align: center;
  flex: 1 1 220px;
  max-width: 320px;
}

.org-card strong {
  display: block;
  color: var(--navy);
  font-size: 1.05rem;
}

.org-card .org-role {
  display: block;
  margin-top: 0.2rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
}

.org-card .org-qual {
  display: block;
  margin-top: 0.15rem;
  color: #5c6b63;
  font-size: 0.86rem;
}

.org-card--lead {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 78%);
  border: 0;
  max-width: 420px;
  flex-basis: 280px;
}

.org-card--lead strong,
.org-card--lead .org-qual {
  color: #fff;
}

.org-card--lead .org-role {
  color: var(--yellow);
}

.org-stem {
  width: 2px;
  height: 26px;
  background: rgba(8, 124, 57, 0.35);
}

.org-level-label {
  margin: 0.15rem 0 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.org-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
}

.org-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  margin: 0;
}

.org-table th,
.org-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e6ece8;
  color: #24302a;
}

.org-table th {
  background: var(--primary-dark);
  color: #fff;
  font-weight: 600;
}

.org-table tbody tr:last-child td {
  border-bottom: 0;
}

.org-table tbody tr:nth-child(even) {
  background: #f7faf8;
}

.org-note {
  color: #4d5c54;
  font-size: 0.95rem;
}
