/* ============================================================================
   JAHATAKSAFAR — 03 COMPONENTS
   Hero, Expedition Cards, Filter Capsule, Detail Layout, Booking Calculator,
   Itinerary Timeline, and Floating WhatsApp Concierge Widget.
   ============================================================================ */

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 130px 0 60px;
  overflow: hidden;
  background-color: var(--pigment-void);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.1) brightness(0.45);
  transform: scale(1.04);
  animation: heroDrift 24s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1.2%, 0); }
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 15, 13, 0.5) 0%, rgba(10, 15, 13, 0.25) 40%, rgba(10, 15, 13, 0.85) 85%, var(--bg-canvas) 100%),
    radial-gradient(ellipse at center, transparent 35%, rgba(5, 8, 7, 0.8) 100%);
  pointer-events: none;
}

/* Atmospheric Topographic Ridge */
.hero-ridge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 220px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.65;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--s-4);
}

.hero-title {
  margin-bottom: var(--s-4);
  color: #FFFFFF;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-description {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--ink-secondary);
  margin-bottom: var(--s-8);
  max-width: 680px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-4);
  margin-bottom: var(--s-10);
}

/* ==========================================================================
   2. FILTER & SEARCH CAPSULE
   ========================================================================== */
.filter-capsule-wrapper {
  background: var(--bg-glass-strong);
  border: 1px solid var(--line-edge);
  border-radius: var(--r-xl);
  padding: 8px 12px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg), var(--shadow-brass);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  margin-top: var(--s-6);
  flex-wrap: wrap;
}

.filter-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding: 4px 0;
  scrollbar-width: none;
}
.filter-pills::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  background: transparent;
  border: 1px solid transparent;
  color: var(--ink-secondary);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--dur-fast) ease;
}

.filter-pill:hover {
  color: var(--ink-brass);
  background: rgba(194, 163, 107, 0.08);
}

.filter-pill.active {
  background: rgba(194, 163, 107, 0.16);
  border-color: var(--pigment-brass);
  color: var(--pigment-brass-hi);
  font-weight: 600;
}

.filter-search-box {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 240px;
}

.filter-search-input {
  width: 100%;
  background: rgba(10, 15, 13, 0.7);
  border: 1px solid var(--line-hair);
  border-radius: var(--r-pill);
  padding: 8px 16px 8px 38px;
  color: var(--ink-primary);
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
  transition: border-color var(--dur-fast);
}

.filter-search-input:focus {
  border-color: var(--pigment-brass);
}

.filter-search-icon {
  position: absolute;
  left: 14px;
  color: var(--ink-tertiary);
  pointer-events: none;
}

/* ==========================================================================
   3. EXPEDITIONS GRID & CARDS
   ========================================================================== */
.expeditions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: var(--s-8);
  position: relative;
  z-index: 1;
}

.expedition-card {
  background: var(--bg-surface);
  border: 1px solid var(--line-hair);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-spring), border-color var(--dur-base) ease, box-shadow var(--dur-base) ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.expedition-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-brass);
  box-shadow: var(--shadow-lg), var(--shadow-brass);
}

.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--pigment-pine-800);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-smooth);
}

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

.card-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 15, 13, 0.2) 0%, transparent 40%, rgba(10, 15, 13, 0.85) 100%);
  pointer-events: none;
}

.card-badge-row {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}

.card-body {
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--pigment-brass-hi);
  margin-bottom: var(--s-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.card-title {
  font-size: 1.4rem;
  font-family: var(--font-serif);
  line-height: 1.25;
  color: var(--ink-primary);
  margin-bottom: var(--s-3);
}

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

.card-summary {
  font-size: 0.92rem;
  color: var(--ink-secondary);
  line-height: 1.55;
  margin-bottom: var(--s-5);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--s-6);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line-whisper);
}

.card-highlight-item {
  font-size: 0.86rem;
  color: var(--ink-tertiary);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.card-highlight-item svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--pigment-brass);
}

.card-footer {
  margin-top: auto;
  padding-top: var(--s-5);
  border-top: 1px solid var(--line-hair);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
}

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

.card-price-label {
  font-size: 0.76rem;
  color: var(--ink-quiet);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-price-amount {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--ink-primary);
  line-height: 1.1;
}

.card-price-unit {
  font-size: 0.8rem;
  color: var(--ink-tertiary);
  font-family: var(--font-sans);
  font-weight: 400;
}

.card-actions {
  display: flex;
  align-items: center;
  gap: var(--s-2);
}

/* ==========================================================================
   4. EXPEDITION DETAIL PAGE LAYOUT
   ========================================================================== */
.detail-hero {
  position: relative;
  padding: 130px 0 50px;
  background: var(--pigment-obsidian);
  border-bottom: 1px solid var(--line-hair);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--ink-tertiary);
  margin-bottom: var(--s-4);
}
.breadcrumbs a:hover {
  color: var(--ink-brass);
}

.detail-title {
  margin-bottom: var(--s-4);
  max-width: 900px;
}

.detail-specs-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-4);
  margin-top: var(--s-6);
  padding: 14px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--line-hair);
  border-radius: var(--r-md);
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: var(--s-4);
  border-right: 1px solid var(--line-hair);
}
.spec-item:last-child {
  border-right: none;
  padding-right: 0;
}

.spec-icon {
  color: var(--pigment-brass);
  display: flex;
}

.spec-label {
  font-size: 0.74rem;
  color: var(--ink-quiet);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
}

.spec-value {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink-primary);
}

/* Interactive Expedition Gallery Showcase */
.detail-gallery-showcase {
  position: relative;
  width: 100%;
  margin: var(--s-6) 0 var(--s-8);
}

.detail-main-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  max-height: 520px;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--pigment-brass-subtle);
  background: var(--pigment-pine-900);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  user-select: none;
  outline: none;
}

.detail-main-image-container:focus-visible {
  border-color: var(--pigment-brass-hi);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.35);
}

.detail-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.25s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.detail-main-image-container:hover .detail-main-image {
  transform: scale(1.02);
}

/* Carousel Navigation Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(14, 26, 21, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--pigment-brass-subtle);
  color: var(--pigment-brass-hi);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

.carousel-arrow:hover {
  background: var(--pigment-brass);
  color: #08100C;
  border-color: var(--pigment-brass-hi);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.carousel-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

.carousel-arrow.left {
  left: 20px;
}

.carousel-arrow.right {
  right: 20px;
}

/* Photo Counter Badge (Top Right) */
.gallery-counter-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(14, 26, 21, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: var(--r-full);
  border: 1px solid var(--pigment-brass-subtle);
  color: var(--pigment-brass-hi);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  z-index: 8;
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.gallery-counter-badge .counter-sep {
  color: var(--pigment-brass-subtle);
  margin: 0 2px;
}

.gallery-counter-badge .total-idx {
  color: var(--ink-secondary);
}

/* Location Badge (Bottom Left) */
.gallery-location-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(14, 26, 21, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: var(--r-full);
  border: 1px solid var(--pigment-brass-subtle);
  color: var(--pigment-brass-hi);
  font-size: 0.82rem;
  font-family: var(--font-sans);
  letter-spacing: 0.04em;
  z-index: 8;
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

/* Carousel Dots Indicators (Bottom Center) */
.carousel-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 8;
  background: rgba(14, 26, 21, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--pigment-brass-subtle);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.carousel-dot.active {
  width: 20px;
  border-radius: 4px;
  background: var(--pigment-brass-hi);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

/* Thumbnails Strip Row */
.gallery-thumbnails {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 14px 2px 6px;
  margin-bottom: var(--s-4);
  scrollbar-width: thin;
  scrollbar-color: var(--pigment-brass-subtle) transparent;
  -webkit-overflow-scrolling: touch;
}

.gallery-thumbnails::-webkit-scrollbar {
  height: 4px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
  background: var(--pigment-brass-subtle);
  border-radius: 4px;
}

.gallery-thumbnail-btn {
  flex: 0 0 96px;
  height: 64px;
  aspect-ratio: 16/10;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  background: var(--pigment-pine-800);
  transition: all 0.2s ease;
  opacity: 0.6;
  position: relative;
}

.gallery-thumbnail-btn:hover {
  opacity: 0.92;
  border-color: var(--pigment-brass-subtle);
}

.gallery-thumbnail-btn.active {
  opacity: 1;
  border-color: var(--pigment-brass-hi);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.45);
  transform: scale(1.02);
}

.gallery-thumbnail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Legacy class fallbacks */
.detail-gallery-grid,
.detail-gallery-single,
.detail-gallery-duo {
  display: none;
}

/* Main Detail Content Grid */
.detail-content-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--s-12);
  align-items: start;
}

/* Left Content Sections */
.detail-section {
  margin-bottom: var(--s-12);
}

.detail-section-title {
  font-size: 1.6rem;
  margin-bottom: var(--s-5);
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-section-title svg {
  color: var(--pigment-brass);
}

.overview-text {
  font-size: 1.08rem;
  color: var(--ink-secondary);
  line-height: 1.75;
}

/* Highlights Box */
.highlights-box {
  background: var(--bg-surface);
  border: 1px solid var(--line-hair);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  margin-top: var(--s-6);
}

.highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
  list-style: none;
}

.highlight-point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--ink-primary);
}

.highlight-point svg {
  color: var(--pigment-brass);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   5. ITINERARY TIMELINE
   ========================================================================== */
.itinerary-timeline {
  position: relative;
  padding-left: 32px;
}

.itinerary-timeline::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 20px;
  left: 11px;
  width: 2px;
  background: linear-gradient(180deg, var(--pigment-brass) 0%, rgba(194, 163, 107, 0.2) 100%);
}

.itinerary-day {
  position: relative;
  margin-bottom: var(--s-8);
}
.itinerary-day:last-child {
  margin-bottom: 0;
}

.day-marker {
  position: absolute;
  left: -32px;
  top: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--pigment-brass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--pigment-brass-hi);
  box-shadow: 0 0 12px rgba(194, 163, 107, 0.3);
}

.day-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-3);
  margin-bottom: var(--s-2);
}

.day-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--ink-primary);
}

.day-altitude {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--pigment-brass-hi);
  background: rgba(194, 163, 107, 0.1);
  padding: 2px 8px;
  border-radius: var(--r-pill);
}

.day-description {
  color: var(--ink-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Inclusions / Exclusions Cards */
.matrix-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-6);
}

.matrix-card {
  background: var(--bg-surface);
  border-radius: var(--r-lg);
  padding: var(--s-6);
}
.matrix-card.inclusions {
  border: 1px solid rgba(140, 160, 137, 0.3);
}
.matrix-card.exclusions {
  border: 1px solid rgba(168, 73, 42, 0.25);
}

.matrix-card h4 {
  margin-bottom: var(--s-4);
  display: flex;
  align-items: center;
  gap: 8px;
}

.matrix-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.matrix-item {
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.matrix-item.inc { color: var(--ink-primary); }
.matrix-item.inc svg { color: var(--pigment-sage); flex-shrink: 0; margin-top: 3px; }

.matrix-item.exc { color: var(--ink-tertiary); }
.matrix-item.exc svg { color: var(--pigment-madder); flex-shrink: 0; margin-top: 3px; }

/* FAQ Accordion Details */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--line-hair);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--dur-fast);
}

.faq-item[open] {
  border-color: var(--line-brass);
}

.faq-summary {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  color: var(--ink-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
}
.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--pigment-brass);
  transition: transform var(--dur-fast);
}

.faq-item[open] .faq-summary::after {
  content: "−";
}

.faq-body {
  padding: 0 20px 18px;
  color: var(--ink-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ==========================================================================
   6. STICKY BOOKING CALCULATOR CARD
   ========================================================================== */
.booking-calculator-card {
  position: sticky;
  top: 96px;
  background: var(--bg-surface);
  border: 1px solid var(--line-edge);
  border-radius: var(--r-xl);
  padding: var(--s-6);
  box-shadow: var(--shadow-lg), var(--shadow-brass);
}

.calculator-header {
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--line-hair);
  margin-bottom: var(--s-5);
}

.calc-price-display {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.calc-price-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--pigment-brass-hi);
  line-height: 1;
}

.calc-price-basis {
  font-size: 0.88rem;
  color: var(--ink-tertiary);
}

.calc-badge {
  margin-top: 8px;
}

.calc-form-group {
  margin-bottom: var(--s-4);
}

.calc-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-secondary);
  margin-bottom: 6px;
}

.traveler-selector {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-raised);
  border: 1px solid var(--line-hair);
  border-radius: var(--r-md);
  padding: 6px 12px;
}

.counter-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  background: rgba(194, 163, 107, 0.12);
  border: 1px solid var(--line-edge);
  color: var(--ink-primary);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--dur-fast);
}

.counter-btn:hover:not(:disabled) {
  background: var(--pigment-brass);
  color: #0A0F0D;
}

.counter-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.counter-val {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink-primary);
}

.calc-input-date {
  width: 100%;
  background: var(--bg-raised);
  border: 1px solid var(--line-hair);
  border-radius: var(--r-md);
  padding: 10px 14px;
  color: var(--ink-primary);
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
}
.calc-input-date:focus {
  border-color: var(--pigment-brass);
}

/* Add-on Activities Options */
.calc-options-box {
  background: var(--bg-sunken);
  border: 1px solid var(--line-hair);
  border-radius: var(--r-md);
  padding: var(--s-3);
  margin-bottom: var(--s-5);
}

.option-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background var(--dur-fast);
}
.option-checkbox-row:hover {
  background: rgba(194, 163, 107, 0.05);
}

.option-checkbox-row input[type="checkbox"] {
  accent-color: var(--pigment-brass);
  margin-top: 4px;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.option-info {
  flex-grow: 1;
}

.option-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-primary);
  display: block;
}

.option-meta {
  font-size: 0.78rem;
  color: var(--ink-tertiary);
  display: block;
}

.option-price {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pigment-brass-hi);
  white-space: nowrap;
}

/* Total Bar & WhatsApp CTA */
.calc-total-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-4) 0;
  border-top: 1px solid var(--line-hair);
  margin-bottom: var(--s-4);
}

.calc-total-label {
  font-size: 0.88rem;
  color: var(--ink-secondary);
}

.calc-total-amount {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: #FFFFFF;
}

.calc-whatsapp-btn {
  width: 100%;
  padding: 16px 20px;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: var(--s-3);
  text-align: center;
}

.calc-note {
  font-size: 0.76rem;
  color: var(--ink-quiet);
  text-align: center;
  line-height: 1.4;
}

/* ==========================================================================
   7. FLOATING WHATSAPP CONCIERGE WIDGET
   ========================================================================== */
.wa-floating-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 150;
}

.wa-trigger-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  cursor: pointer;
  transition: transform var(--dur-base) var(--ease-spring), box-shadow var(--dur-base) ease;
  position: relative;
}

.wa-trigger-btn:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}


.wa-popup-card {
  position: absolute;
  bottom: 74px;
  right: 0;
  width: 340px;
  background: var(--pigment-pine-900);
  border: 1px solid var(--line-edge);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg), 0 0 32px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  transform: scale(0.9) translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all var(--dur-base) var(--ease-spring);
}

.wa-popup-card.active {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.wa-popup-header {
  background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
  padding: 16px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wa-popup-agent {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wa-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wa-agent-name {
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.2;
}

.wa-agent-status {
  font-size: 0.74rem;
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 5px;
}

.wa-agent-status::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #25D366;
}

.wa-popup-close {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0.8;
  padding: 4px;
}
.wa-popup-close:hover { opacity: 1; }

.wa-popup-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wa-quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.wa-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  min-height: 44px;
  border-radius: var(--r-md);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--dur-fast) ease;
}

.wa-action-chat {
  background: #25D366;
  color: #0A0F0D;
}
.wa-action-chat:hover {
  background: #20BA5A;
  transform: translateY(-2px);
}

.wa-action-call {
  background: rgba(235, 217, 174, 0.12);
  border: 1px solid var(--line-brass);
  color: var(--pigment-brass-hi);
}
.wa-action-call:hover {
  background: rgba(235, 217, 174, 0.22);
  transform: translateY(-2px);
}

.wa-prompt-section-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pigment-brass-hi);
  margin-top: 4px;
}

.wa-chat-bubble {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-hair);
  border-radius: var(--r-md);
  padding: 12px;
  font-size: 0.88rem;
  color: var(--ink-secondary);
  line-height: 1.45;
}

.wa-prompt-pills {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wa-prompt-pill {
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.25);
  color: var(--ink-primary);
  border-radius: var(--r-pill);
  padding: 8px 14px;
  font-size: 0.84rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--dur-fast);
}

.wa-prompt-pill:hover {
  background: rgba(37, 211, 102, 0.18);
  border-color: #25D366;
  transform: translateX(4px);
}

.wa-prompt-pill svg {
  color: #25D366;
}

/* ==========================================================================
   8. TRUST BADGES / HIGHLIGHTS BAR
   ========================================================================== */
.trust-strip {
  background: var(--bg-surface);
  border-top: 1px solid var(--line-hair);
  border-bottom: 1px solid var(--line-hair);
  padding: var(--s-8) 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-6);
}

.trust-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.trust-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: rgba(194, 163, 107, 0.1);
  border: 1px solid var(--line-edge);
  color: var(--pigment-brass-hi);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-info h5 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 4px;
}

.trust-info p {
  font-size: 0.82rem;
  color: var(--ink-tertiary);
  line-height: 1.4;
}

/* Responsive Overrides */
@media (max-width: 1080px) {
  .detail-content-grid {
    grid-template-columns: 1fr;
  }
  .booking-calculator-card {
    position: static;
    margin-top: var(--s-8);
  }

}

@media (max-width: 900px) {
  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-6);
  }
  .matrix-grid {
    grid-template-columns: 1fr;
  }
  .highlights-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .expeditions-grid {
    grid-template-columns: 1fr;
  }
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .detail-main-image-container {
    aspect-ratio: 4/3;
    max-height: 320px;
    border-radius: var(--r-lg);
  }
  .carousel-arrow {
    width: 38px;
    height: 38px;
  }
  .carousel-arrow.left {
    left: 10px;
  }
  .carousel-arrow.right {
    right: 10px;
  }
  .gallery-location-badge {
    display: none;
  }
  .gallery-counter-badge {
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    font-size: 0.78rem;
  }
  .carousel-dots {
    bottom: 12px;
    padding: 5px 10px;
  }
  .gallery-thumbnail-btn {
    flex: 0 0 76px;
    height: 50px;
  }
  .filter-capsule-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
  .filter-search-box {
    width: 100%;
  }
  .wa-popup-card {
    width: calc(100vw - 40px);
    right: -10px;
  }
}

/* ==========================================================================
   9. LUXURY PAYMENT MODAL & ACTIONS (UPI QR + RAZORPAY)
   ========================================================================== */
.payment-btn-group {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  margin-top: var(--s-3);
  margin-bottom: var(--s-3);
}

.payment-btn {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--r-md);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all var(--dur-fast) ease;
  border: 1px solid transparent;
}

.payment-btn-upi {
  background: linear-gradient(135deg, rgba(194, 163, 107, 0.15) 0%, rgba(194, 163, 107, 0.05) 100%);
  border: 1px solid var(--line-brass);
  color: var(--pigment-brass-hi);
}
.payment-btn-upi:hover {
  background: var(--pigment-brass);
  color: #0A0F0D;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(194, 163, 107, 0.3);
}

.payment-btn-razorpay {
  background: rgba(140, 160, 137, 0.12);
  border: 1px solid rgba(140, 160, 137, 0.35);
  color: var(--pigment-sage);
}
.payment-btn-razorpay:hover {
  background: var(--pigment-sage);
  color: #0A0F0D;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(140, 160, 137, 0.3);
}

.payment-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 13, 0.85);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) ease;
}

.payment-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.payment-modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--line-brass);
  border-radius: var(--r-xl);
  max-width: 440px;
  width: 100%;
  padding: var(--s-6);
  box-shadow: var(--shadow-xl), 0 0 40px rgba(194, 163, 107, 0.2);
  position: relative;
  text-align: center;
}

.payment-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--ink-tertiary);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}
.payment-modal-close:hover {
  color: var(--ink-primary);
}

.payment-modal-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--ink-primary);
  margin-bottom: 4px;
}

.payment-modal-sub {
  font-size: 0.86rem;
  color: var(--ink-tertiary);
  margin-bottom: var(--s-5);
}

.payment-qr-container {
  background: #FFFFFF;
  padding: 16px;
  border-radius: var(--r-lg);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--s-4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.payment-qr-img {
  width: 200px;
  height: 200px;
  display: block;
}

.payment-qr-badges {
  margin-top: 8px;
  font-size: 0.72rem;
  color: #555555;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.payment-details-table {
  background: var(--bg-raised);
  border: 1px solid var(--line-hair);
  border-radius: var(--r-md);
  padding: 12px 16px;
  margin-bottom: var(--s-5);
  text-align: left;
}

.payment-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  padding: 4px 0;
}

.payment-detail-label {
  color: var(--ink-tertiary);
}

.payment-detail-val {
  font-family: var(--font-mono);
  color: var(--ink-primary);
  font-weight: 600;
}

.payment-detail-val.brass {
  color: var(--pigment-brass-hi);
  font-size: 1.1rem;
}

.payment-copy-vpa {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-sunken);
  border: 1px dashed var(--line-brass);
  border-radius: var(--r-md);
  padding: 8px 12px;
  margin-bottom: var(--s-5);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--pigment-brass-hi);
}

.payment-copy-btn {
  background: rgba(194, 163, 107, 0.2);
  border: 1px solid var(--line-brass);
  color: var(--pigment-brass-hi);
  padding: 4px 10px;
  border-radius: var(--r-sm);
  font-size: 0.76rem;
  cursor: pointer;
  transition: all var(--dur-fast);
}
.payment-copy-btn:hover {
  background: var(--pigment-brass);
  color: #0A0F0D;
}

.payment-app-btn {
  display: none;
  width: 100%;
  padding: 12px;
  border-radius: var(--r-md);
  background: #25D366;
  color: #FFFFFF;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: var(--s-3);
  text-align: center;
}

@media (pointer: coarse) {
  .payment-app-btn {
    display: block;
  }
}

/* ==========================================================================
   14. EXPEDITION FIELD BRIEF (UNCERTAINTY-REDUCING SPECS DOSSIER)
   ========================================================================== */
.field-brief-section {
  margin-bottom: var(--s-10);
}

.field-brief-card {
  background: var(--bg-surface);
  border: 1px solid var(--line-edge);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}

.field-brief-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--pigment-brass), transparent);
}

.field-brief-header {
  padding: 20px 24px;
  background: rgba(194, 163, 107, 0.05);
  border-bottom: 1px solid var(--line-hair);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.field-brief-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.field-brief-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  background: rgba(194, 163, 107, 0.15);
  color: var(--pigment-brass-hi);
  display: flex;
  align-items: center;
  justify-content: center;
}

.field-brief-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--ink-primary);
  margin: 0;
}

.field-brief-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: rgba(194, 163, 107, 0.12);
  border: 1px solid var(--line-brass);
  color: var(--pigment-brass-hi);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.field-brief-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-hair);
}

@media (max-width: 640px) {
  .field-brief-grid {
    grid-template-columns: 1fr;
  }
}

.field-brief-item {
  background: var(--bg-surface);
  padding: 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background var(--dur-fast);
}

.field-brief-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.field-brief-label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-tertiary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.field-brief-val {
  font-size: 0.95rem;
  color: var(--ink-primary);
  font-weight: 500;
  line-height: 1.4;
}

.field-brief-sub {
  font-size: 0.8rem;
  color: var(--ink-secondary);
  line-height: 1.35;
}

.field-brief-footer {
  padding: 16px 24px;
  background: rgba(10, 15, 13, 0.5);
  border-top: 1px solid var(--line-hair);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--ink-secondary);
}

/* ==========================================================================
   15. COOKIE & DATA ETHICS BANNER
   ========================================================================== */
.cookie-consent-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 580px;
  margin: 0 auto;
  background: rgba(13, 20, 18, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line-edge);
  border-radius: var(--r-lg);
  padding: 18px 22px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.cookie-consent-banner.active {
  transform: translateY(0);
  opacity: 1;
}

.cookie-consent-text {
  font-size: 0.86rem;
  color: var(--ink-secondary);
  line-height: 1.45;
}

.cookie-consent-text strong {
  color: var(--ink-primary);
}

.cookie-consent-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

@media (max-width: 540px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
  .cookie-consent-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

/* --- Contact Page Mobile-First Layout Rules --- */
.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-10);
  align-items: start;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 860px) {
  .contact-main-grid {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }
}

@media (max-width: 600px) {
  .contact-form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* --- Phone-First Floating Expedition Booking Bar --- */
.expedition-mobile-action-bar {
  display: none;
}

@media (max-width: 768px) {
  .expedition-mobile-action-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 18px env(safe-area-inset-bottom, 12px);
    background: rgba(10, 19, 15, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--pigment-brass-subtle);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.5);
  }

  .emb-price-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .emb-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-quiet);
    font-family: var(--font-mono);
  }

  .emb-price {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--pigment-brass-hi);
    line-height: 1.1;
  }

  .emb-unit {
    font-size: 0.74rem;
    color: var(--ink-secondary);
  }

  .emb-btn-group {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .emb-btn-group .btn {
    padding: 9px 14px;
    font-size: 0.86rem;
    white-space: nowrap;
    border-radius: var(--r-full);
  }

  body.page-expedition .wa-trigger-btn {
    bottom: 78px !important;
    right: 16px !important;
    transform: scale(0.9);
  }

  body.page-expedition .wa-popup-card {
    bottom: 136px !important;
  }
}



