/* ==========================================================================
   TRAWELL AMIGOS (https://www.trawellamigos.com/)
   Modern Outdoor Adventure & Trekking Portal Stylesheet
   Color Identity: Golden Amber (#f59e0b), Forest Mountain (#0f766e), Terracotta (#b91c1c)
   ========================================================================== */

:root {
  --primary: #0f766e;
  --primary-dark: #115e59;
  --primary-light: #14b8a6;
  --primary-subtle: #f0fdfa;
  
  --brand-gold: #f59e0b;
  --brand-gold-dark: #d97706;
  --brand-gold-light: #fef3c7;
  
  --brand-red: #b91c1c;
  --brand-red-dark: #991b1b;
  
  --accent: #ea580c;
  --accent-hover: #c2410c;
  --warning: #f59e0b;
  --success: #16a34a;
  --danger: #dc2626;

  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --border-focus: #0f766e;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 16px 36px rgba(15, 118, 110, 0.18);

  --header-height: 76px;
  --header-height-mobile: 60px;
  --max-width: 1240px;
  
  /* Mobile Safe Area & App Shell Insets */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --bottom-nav-height: 64px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  overflow-wrap: break-word;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  touch-action: pan-y;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  touch-action: pan-y;
}

a, button, input, select, textarea {
  touch-action: manipulation;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

button, input, select, textarea {
  font: inherit;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  height: var(--header-height);
  display: flex;
  align-items: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border: 2px solid #fff;
  transition: transform 0.3s ease;
}

.brand-logo:hover .brand-logo-img {
  transform: rotate(-5deg) scale(1.05);
}

.brand-title-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: #0f172a;
  line-height: 1.15;
}

.brand-title span {
  color: var(--brand-red);
}

.brand-tagline {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--brand-gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav a,
.main-nav button {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  padding: 0.5rem 0;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.main-nav a:hover,
.main-nav a.active,
.main-nav button:hover,
.main-nav button.active {
  color: var(--primary);
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-gold);
  border-radius: var(--radius-full);
}

/* Navigation Dropdown (Michael Filipiuk Principles) */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown > .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.5rem 0;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  transition: color 0.2s ease;
}

.nav-dropdown > .dropdown-toggle .dropdown-caret {
  font-size: 0.85rem;
  transition: transform 0.22s ease;
  color: var(--text-muted);
}

.nav-dropdown:hover > .dropdown-toggle,
.nav-dropdown.is-open > .dropdown-toggle {
  color: var(--primary);
}

.nav-dropdown:hover > .dropdown-toggle .dropdown-caret,
.nav-dropdown.is-open > .dropdown-toggle .dropdown-caret {
  transform: rotate(180deg);
  color: var(--primary);
}

/* Hover bridge to prevent menu closing during cursor transit */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: -20px;
  min-width: 320px;
  background: #ffffff;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
  padding: 0.65rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  pointer-events: none;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-link {
  display: flex !important;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.85rem !important;
  border-radius: 10px;
  color: var(--text-main) !important;
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease;
}

.dropdown-link:hover {
  background: rgba(15, 118, 110, 0.06);
  transform: translateX(3px);
  color: var(--primary) !important;
}

.dropdown-link::after {
  display: none !important;
}

.dropdown-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(15, 118, 110, 0.09);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: background 0.18s ease, color 0.18s ease;
}

.dropdown-link:hover .dropdown-icon {
  background: var(--primary);
  color: #ffffff;
}

.dropdown-text {
  display: flex;
  flex-direction: column;
}

.dropdown-title {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.25;
}

.dropdown-desc {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.3;
  margin-top: 2px;
}

.dropdown-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 0.4rem 0.6rem;
}

.dropdown-all-link {
  background: rgba(245, 158, 11, 0.08);
}
.dropdown-all-link:hover {
  background: rgba(245, 158, 11, 0.16);
}
.dropdown-all-link .dropdown-icon {
  background: rgba(245, 158, 11, 0.2);
  color: #b45309;
}
.dropdown-all-link:hover .dropdown-icon {
  background: #f59e0b;
  color: #ffffff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(15, 118, 110, 0.35);
}

.btn-gold {
  background: var(--brand-gold);
  color: #0f172a;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-gold:hover {
  background: var(--brand-gold-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--accent);
  color: #ffffff;
}

.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-outline {
  border-color: var(--border-color);
  background: #ffffff;
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-subtle);
}

.btn-whatsapp-icon {
  background: #25d366;
  color: #fff;
  border-radius: var(--radius-full);
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-icon:hover {
  background: #20bd5a;
  transform: translateY(-1px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.78) 0%, rgba(15, 118, 110, 0.82) 100%),
              url('/uploads/2026/03/croc-safari.png') center/cover no-repeat;
  color: #ffffff;
  padding: 5rem 0 6rem;
  text-align: center;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: #fef3c7;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-title {
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.hero-title span {
  color: var(--brand-gold);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #e2e8f0;
  max-width: 720px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

/* Search Box Container */
.search-bar-wrap {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 0.85rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 1fr auto;
  gap: 0.75rem;
  align-items: center;
  text-align: left;
}

.search-field {
  padding: 0.5rem 0.85rem;
  border-right: 1px solid var(--border-color);
}

.search-field:last-of-type {
  border-right: none;
}

.search-field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

.search-field select,
.search-field input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
}

.search-bar-wrap .btn-search {
  height: 52px;
  padding: 0 2rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 800;
}

/* Trust Bar */
.trust-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 1.25rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.trust-item h4 {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-main);
}

.trust-item p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   TREK CARDS & CATALOG
   ========================================================================== */
.section-padding {
  padding: 4.5rem 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.25rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-tag {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.35rem;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.trek-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.85rem;
}

.trek-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.trek-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: #cbd5e1;
}

.card-media {
  position: relative;
  height: 225px;
  overflow: hidden;
  background: #cbd5e1;
}

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

.trek-card:hover .card-media img {
  transform: scale(1.06);
}

.card-badge-top {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--brand-gold);
  color: #0f172a;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.card-difficulty-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
}

.card-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.card-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 0.65rem;
  color: var(--text-main);
}

.card-title a:hover {
  color: var(--primary);
}

.card-location {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.15rem;
}

.card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-price-block {
  display: flex;
  flex-direction: column;
}

.card-price-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--text-light);
}

.card-price {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--primary-dark);
}

.card-price .strike {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
  text-decoration: line-through;
  margin-left: 0.25rem;
}

/* Category Filter Tabs */
.filter-tabs {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
  scrollbar-width: none;
}

.filter-tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 0.6rem 1.35rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.tab-btn:hover,
.tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.2);
}

/* Policy Navigation Bar (Centered on Desktop, Touch-Scrollable on Mobile) */
.policy-nav-bar {
  background: #f8fafc;
  border-bottom: 1px solid var(--border-color);
  padding: 0.85rem 0;
  width: 100%;
}

.policy-nav-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  padding: 0.25rem 1rem;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.policy-nav-wrap::-webkit-scrollbar {
  height: 4px;
}

.policy-nav-wrap::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.policy-nav-wrap .tab-btn {
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 0.55rem 1.25rem;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 860px) {
  .policy-nav-wrap {
    justify-content: flex-start;
  }
}

/* Card Batch Badges (Authentic Dates vs On-Demand) */
.card-batch-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
  margin-bottom: 0.65rem;
  width: fit-content;
}

.card-batch-badge.custom {
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
}

/* Style of Travel Photo Cards (Michael Filipiuk Card & Visual Principles) */
.style-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.style-photo-card {
  position: relative;
  height: 250px;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  background: #0f172a;
}

.style-photo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px rgba(15, 118, 110, 0.28);
}

.style-photo-card:active {
  transform: scale(0.98);
}

.style-photo-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.style-photo-card:hover .style-photo-img {
  transform: scale(1.08);
}

.style-photo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.55) 45%, rgba(15, 23, 42, 0.94) 100%);
  z-index: 2;
  transition: background 0.3s ease;
}

.style-photo-card:hover .style-photo-overlay {
  background: linear-gradient(180deg, rgba(15, 118, 110, 0.25) 0%, rgba(15, 23, 42, 0.65) 40%, rgba(15, 23, 42, 0.96) 100%);
}

.style-card-content {
  position: relative;
  z-index: 3;
}

.style-card-top {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
}

.style-card-badge {
  background: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.28rem 0.7rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.style-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #f59e0b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: all 0.3s ease;
}

.style-photo-card:hover .style-card-icon {
  transform: scale(1.1) rotate(6deg);
  background: var(--brand-gold);
  color: #0f172a;
}

.style-card-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.35rem;
  line-height: 1.2;
}

.style-card-desc {
  font-size: 0.84rem;
  color: #cbd5e1;
  line-height: 1.4;
  margin-bottom: 0.6rem;
}

.style-card-link-text {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-gold);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: transform 0.2s ease;
}

.style-photo-card:hover .style-card-link-text {
  transform: translateX(4px);
  color: #fde68a;
}

/* UPI Native Payment Modal Styles */
.upi-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem;
  margin: 1rem 0;
  text-align: center;
}

.upi-id-badge {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: #ffffff;
  border: 1.5px dashed #0f766e;
  border-radius: 8px;
  padding: 0.65rem 1rem;
  font-family: monospace;
  font-size: 1rem;
  font-weight: 700;
  color: #0f766e;
  width: 100%;
  max-width: 320px;
  margin: 0.5rem auto 1rem;
}

.upi-copy-btn {
  background: #0f766e;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: background 0.2s ease;
}
.upi-copy-btn:hover {
  background: #0d5f58;
}

.upi-qr-wrap {
  margin: 1rem auto;
  display: inline-block;
  background: #ffffff;
  padding: 0.75rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
}

.upi-qr-wrap img {
  width: 160px;
  height: 160px;
  display: block;
}

.upi-apps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin: 1rem 0;
}

.upi-app-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.65rem 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #1e293b;
  text-decoration: none;
  transition: all 0.2s ease;
}

.upi-app-btn:hover {
  border-color: #0f766e;
  background: #f0fdfa;
  transform: translateY(-2px);
}

.upi-app-btn i {
  font-size: 1.5rem;
}

.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.step-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #94a3b8;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: #f1f5f9;
}

.step-pill.active {
  background: #0f766e;
  color: #ffffff;
}

.step-pill.completed {
  background: #dcfce7;
  color: #15803d;
}

/* Footer Credits & Attribution */
.footer-credits {
  font-size: 0.82rem;
  font-weight: 500;
  color: #cbd5e1;
  letter-spacing: 0.02em;
  text-align: right;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.footer-credits a {
  color: #fbbf24;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}
.footer-credits a:hover {
  color: #f59e0b;
  text-decoration: underline;
}
@media (max-width: 768px) {
  .footer-credits {
    text-align: center;
    justify-content: center;
  }
}

/* ==========================================================================
   TREK DETAIL PAGE
   ========================================================================== */
.trek-hero {
  background: linear-gradient(135deg, #0f172a 0%, #115e59 100%);
  color: #fff;
  padding: 3rem 0 3.5rem;
  position: relative;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.breadcrumb a:hover {
  color: #fff;
}

.trek-header-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
  align-items: flex-end;
}

.trek-main-title {
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  font-weight: 900;
  line-height: 1.18;
  margin-bottom: 0.75rem;
}

.trek-subtitle {
  font-size: 1.1rem;
  color: #ccfbf1;
  margin-bottom: 1.25rem;
}

.trek-tags-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tag-badge {
  background: rgba(255, 255, 255, 0.16);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Stats Strip */
.stats-strip {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-top: -2rem;
  position: relative;
  z-index: 10;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.25rem;
  text-align: center;
}

.stat-box {
  border-right: 1px solid var(--border-color);
  padding-right: 1rem;
}

.stat-box:last-child {
  border-right: none;
  padding-right: 0;
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.stat-val {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--primary-dark);
}

/* Detail Page Layout */
.detail-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
  padding: 2.5rem 0 5rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.detail-main {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.content-block {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.block-title {
  font-size: 1.45rem;
  font-weight: 900;
  margin-bottom: 1.25rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Itinerary Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 3px dashed var(--primary);
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.timeline-item {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.timeline-dot {
  position: absolute;
  left: -2rem;
  transform: translateX(-50%);
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-gold);
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px var(--primary);
}

.timeline-day {
  font-size: 1rem;
  font-weight: 900;
  color: var(--primary-dark);
  margin-bottom: 0.35rem;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.timeline-desc {
  font-size: 0.95rem;
  color: #334155;
  white-space: pre-line;
  line-height: 1.7;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.timeline-desc a {
  word-break: break-all;
  overflow-wrap: anywhere;
  color: var(--primary);
  text-decoration: underline;
}

/* Inclusions / Exclusions */
.inc-exc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.inc-box, .exc-box {
  background: #f8fafc;
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.inc-box h4 {
  color: var(--success);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.exc-box h4 {
  color: var(--danger);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.95rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.check-list li i {
  flex-shrink: 0;
  margin-top: 0.2rem;
  font-size: 1.15rem;
}

.check-list li .check-text,
.check-list li span:last-child {
  flex: 1;
  min-width: 0;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.check-list li a {
  word-break: break-all;
  overflow-wrap: anywhere;
  color: var(--primary);
  text-decoration: underline;
}

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

/* Sticky Booking Widget (Sidebar) */
.booking-widget {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.widget-price-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.widget-price {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary-dark);
}

.batch-selector {
  margin-bottom: 1.5rem;
}

.batch-selector label {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.batch-option {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  margin-bottom: 0.65rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.batch-option:hover,
.batch-option.selected {
  border-color: var(--primary);
  background: var(--primary-subtle);
}

.batch-date-text {
  font-weight: 800;
  font-size: 0.92rem;
}

.batch-seat-tag {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  background: #dcfce7;
  color: #15803d;
}

.batch-seat-tag.filling {
  background: #fef3c7;
  color: #b45309;
}

.widget-btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   BOOKING MODAL
   ========================================================================== */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(5px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-backdrop.active {
  display: flex;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  position: relative;
  animation: modalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--primary-dark);
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-body {
  padding: 1.75rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-main);
  transition: border-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.booking-summary-box {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 1.5rem 0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.92rem;
}

.summary-row.total {
  border-top: 1px solid var(--border-color);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--primary-dark);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: all 0.3s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* Sticky Mobile Booking Bar */
.sticky-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  padding: 0.85rem 1.25rem;
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
  z-index: 998;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 4rem 0 2rem;
  margin-top: auto;
  font-size: 0.84rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr minmax(max-content, 1.15fr) minmax(max-content, 1.15fr) 1.1fr;
  gap: 2.25rem;
  margin-bottom: 3rem;
  align-items: start;
}

.footer-grid h4,
.footer-col h4 {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 1.15rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0;
  margin: 0;
}

.footer-links li {
  line-height: 1.35;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 0.82rem;
  text-decoration: none;
  white-space: nowrap;
  display: inline-block;
  transition: color 0.2s ease, transform 0.15s ease;
}

.footer-links a:hover {
  color: var(--brand-gold);
  transform: translateX(3px);
}

.site-footer p {
  font-size: 0.82rem !important;
  line-height: 1.65 !important;
  color: #cbd5e1;
}

.site-footer [style*="line-height:1.8"],
.site-footer [style*="line-height: 1.8"] {
  font-size: 0.82rem !important;
  line-height: 1.75 !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 1rem;
}
@media (max-width: 768px) {
  .footer-bottom {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 0.6rem;
  }
}

/* ==========================================================================
   NATIVE MOBILE APP NAVIGATION & SHELL (Android & iOS Experience)
   ========================================================================== */

/* Mobile Drawer Toggle in Header */
.mobile-drawer-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  font-size: 1.35rem;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.mobile-drawer-toggle:active {
  transform: scale(0.92);
  background: #e2e8f0;
}

/* Mobile App Slide-in Drawer */
.mobile-app-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: 86vw;
  background: #ffffff;
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
  box-shadow: 4px 0 30px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
}

.mobile-app-drawer.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer-backdrop.open {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

/* Drawer Header */
.drawer-header {
  background: linear-gradient(135deg, #090d16 0%, #0f766e 100%);
  padding: calc(1.25rem + var(--safe-top)) 1.25rem 1.25rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.drawer-brand-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.drawer-brand-name {
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.2;
}

.drawer-brand-name span {
  color: var(--brand-gold);
}

.drawer-tagline {
  font-size: 0.68rem;
  color: #ccfbf1;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.drawer-close-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.drawer-close-btn:active {
  transform: scale(0.9);
  background: rgba(255, 255, 255, 0.25);
}

/* Drawer Body Navigation */
.drawer-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 0.75rem;
}

.drawer-section-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.08em;
  padding: 0.75rem 0.75rem 0.35rem;
}

.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  color: #334155;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.15s ease;
  margin-bottom: 0.25rem;
}

.drawer-link-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.drawer-link-left i {
  font-size: 1.25rem;
  color: var(--primary);
}

.drawer-link:active,
.drawer-link.active {
  background: #f0fdfa;
  color: var(--primary);
  font-weight: 700;
}

.drawer-link i.ph-caret-right {
  font-size: 1rem;
  color: #cbd5e1;
}

.drawer-badge {
  background: var(--brand-gold-light);
  color: #b45309;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}

/* Drawer Footer */
.drawer-footer {
  padding: 1rem 1.25rem calc(1rem + var(--safe-bottom));
  border-top: 1px solid #f1f5f9;
  background: #f8fafc;
}

.drawer-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem;
  border-radius: 10px;
  background: #25d366;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.3);
  margin-bottom: 0.75rem;
  transition: transform 0.15s ease;
}

.drawer-wa-btn:active {
  transform: scale(0.96);
}

.drawer-help-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #64748b;
}

/* Persistent Native App Bottom Navigation Bar */
.mobile-app-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(var(--bottom-nav-height) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
  z-index: 1500;
  align-items: stretch;
}

.app-nav-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #64748b;
  font-size: 0.7rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  transition: all 0.15s ease;
  user-select: none;
}

.app-nav-tab:active {
  transform: scale(0.9);
}

.app-nav-tab .tab-icon {
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 0.15s ease;
}

.app-nav-tab.active {
  color: var(--primary);
  font-weight: 800;
}

.app-nav-tab.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: var(--primary);
  border-radius: 999px;
}

/* WhatsApp Middle Bubble Tab */
.app-nav-tab.tab-wa {
  color: #15803d;
}

.tab-wa-bubble {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  transform: translateY(-8px);
  border: 3px solid #ffffff;
  transition: transform 0.15s ease;
}

.app-nav-tab.tab-wa:active .tab-wa-bubble {
  transform: translateY(-8px) scale(0.92);
}

/* Horizontal Touch Chip Scroller */
.mobile-snap-scroll {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0.25rem;
  scrollbar-width: none;
}

.mobile-snap-scroll::-webkit-scrollbar {
  display: none;
}

.snap-chip {
  flex-shrink: 0;
  scroll-snap-align: start;
  padding: 0.5rem 1rem;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: all 0.15s ease;
}

.snap-chip:active {
  transform: scale(0.94);
}

.snap-chip.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.25);
}

/* Bottom Sheet Modal Styling on Mobile */
.sheet-drag-handle {
  display: none;
  width: 44px;
  height: 5px;
  background: #cbd5e1;
  border-radius: 999px;
  margin: 0.5rem auto 1rem;
}

/* PNR Ticket Result Box */
.pnr-ticket-card {
  background: #ffffff;
  border: 2px dashed #0f766e;
  border-radius: 14px;
  padding: 1.25rem;
  margin-top: 1.25rem;
  position: relative;
  overflow: hidden;
}

.pnr-ticket-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 0.75rem;
  margin-bottom: 0.85rem;
}

.pnr-status-badge {
  background: #dcfce7;
  color: #15803d;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  text-transform: uppercase;
}

.pnr-grid-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.pnr-grid-row span {
  color: #64748b;
  display: block;
  font-size: 0.75rem;
}

.pnr-grid-row strong {
  color: #0f172a;
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS & MEDIA QUERIES
   ========================================================================== */
@media (max-width: 992px) {
  .search-bar-wrap {
    grid-template-columns: 1fr;
  }
  .search-field {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 1.75rem 0 3.5rem;
  }
  .booking-widget {
    position: static;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile Devices (iPhone & Android Phones) */
@media (max-width: 768px) {
  :root {
    --header-height: var(--header-height-mobile);
  }

  body {
    padding-bottom: calc(var(--bottom-nav-height) + var(--safe-bottom) + 85px) !important;
  }

  /* Show Bottom Nav & Drawer Toggle */
  .mobile-app-bottom-nav {
    display: flex;
  }
  .mobile-drawer-toggle {
    display: inline-flex;
  }
  .main-nav {
    display: none;
  }

  /* Header Compact App Layout */
  .site-header {
    height: calc(var(--header-height-mobile) + var(--safe-top));
    padding-top: var(--safe-top);
  }
  .brand-logo-img {
    width: 38px;
    height: 38px;
  }
  .brand-title {
    font-size: 1.15rem;
  }
  .brand-tagline {
    font-size: 0.62rem;
  }
  .header-actions .hide-mobile {
    display: none;
  }
  .btn-whatsapp-icon {
    padding: 0.45rem 0.75rem;
    font-size: 0.85rem;
  }

  /* Mobile Hero Adjustments */
  .hero-section {
    padding: 2.75rem 0 3.25rem;
  }
  .hero-title {
    font-size: 1.85rem;
    line-height: 1.2;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  /* Trek Detail Page Mobile Refinements */
  .trek-hero {
    padding: 2rem 0 2.5rem;
  }
  .trek-header-content {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }
  .breadcrumb {
    flex-wrap: wrap;
    font-size: 0.78rem;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
  }
  .trek-main-title {
    font-size: 1.65rem;
    line-height: 1.25;
    word-break: break-word;
  }
  .trek-subtitle {
    font-size: 0.92rem;
    margin-bottom: 0.85rem;
  }

  .container {
    padding: 0 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Stats Strip Compact 2-Col Grid */
  .stats-strip {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    margin-top: -1.25rem;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .stat-box {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 0.45rem 0.25rem;
    min-width: 0;
  }
  .stat-box:nth-last-child(-n+2) {
    border-bottom: none;
  }
  .stat-box:last-child {
    grid-column: span 2;
    border-top: 1px solid var(--border-color);
    padding-top: 0.5rem;
  }
  .stat-label {
    font-size: 0.7rem;
  }
  .stat-val {
    font-size: 0.98rem;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  /* Detail Layout & Cards Mobile Guard */
  .detail-layout {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
    padding: 1.25rem 0 3.5rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .detail-main {
    gap: 1.25rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .content-block {
    padding: 1.25rem 1rem;
    border-radius: 14px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .block-title {
    font-size: 1.18rem;
    flex-wrap: wrap;
    margin-bottom: 0.85rem;
  }

  /* Timeline Mobile */
  .timeline {
    padding-left: 1.5rem;
    border-left: 2px dashed var(--primary);
    gap: 1.25rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .timeline-item {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .timeline-dot {
    left: -1.5rem;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    border: 3px solid #fff;
  }
  .timeline-day {
    font-size: 0.95rem;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .timeline-desc {
    font-size: 0.9rem;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .timeline-desc a {
    word-break: break-all;
    overflow-wrap: anywhere;
    color: var(--primary);
    text-decoration: underline;
  }

  /* Inclusions / Exclusions Mobile */
  .inc-exc-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .inc-box, .exc-box {
    padding: 1rem;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  /* Lists and Text */
  .check-list li {
    font-size: 0.88rem;
    word-break: break-word;
    overflow-wrap: anywhere;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .check-list li .check-text,
  .check-list li span:last-child {
    flex: 1;
    min-width: 0;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .check-list li a {
    word-break: break-all;
    overflow-wrap: anywhere;
    color: var(--primary);
    text-decoration: underline;
  }

  /* Things to Carry Grid */
  .things-carry-grid {
    grid-template-columns: 1fr !important;
    gap: 0.65rem;
    width: 100%;
    max-width: 100%;
  }

  .booking-widget {
    padding: 1.25rem 1rem;
    border-radius: 14px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  /* Card and Layout Stacking */
  .trek-grid,
  .style-card-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Touch Ergonomics & Input Zoom Fix */
  input, select, textarea {
    font-size: 16px !important;
  }
  .btn, .form-control {
    min-height: 44px;
  }

  /* Bottom-Sheet Behavior for Modals */
  .modal-backdrop {
    align-items: flex-end;
    padding: 0;
  }
  .modal-card {
    max-width: 100%;
    width: 100%;
    border-radius: 24px 24px 0 0;
    max-height: 90vh;
    padding-bottom: calc(1rem + var(--safe-bottom));
    animation: slideUpSheet 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .sheet-drag-handle {
    display: block;
  }

  /* Sticky Mobile Bar for Trek Details */
  .sticky-mobile-bar {
    display: flex;
    position: fixed;
    bottom: calc(var(--bottom-nav-height) + var(--safe-bottom));
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.75rem 1.25rem;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.08);
    z-index: 1400;
    align-items: center;
    justify-content: space-between;
  }

  @keyframes slideUpSheet {
    from {
      transform: translateY(100%);
    }
    to {
      transform: translateY(0);
    }
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.65rem;
  }
}

