/* ==========================================================================
   Best of Switzerland Tours — Redesign (Brand-Faithful & Uncluttered)
   Colors & Typography from switzerland-tours.ch:
   - Primary Red: #E30613
   - Text Grey:   #42454a
   - Light Grey:  #E1E1E3 / #F5F5F7
   - Footer:      #CACACC / #7B7B7E / #3C3C3B
   - Font:        'Montserrat', sans-serif
   ========================================================================== */

:root {
  --primary: #E30613;
  --primary-hover: #BF040F;
  --primary-light: rgba(227, 6, 19, 0.08);

  --text-dark: #212529;
  --text-body: #42454a;
  --text-muted: #7B7B7E;

  --bg-white: #FFFFFF;
  --bg-light: #F6F6F8;
  --grey-border: #E1E1E3;
  --footer-top: #CACACC;
  --footer-mid: #7B7B7E;
  --footer-bottom: #3C3C3B;

  /* Map Palette (Matched to Illustrated Reference Image) */
  --map-land: #E5E5E7;
  --map-water: #63C3CE;
  --map-park: #71BF44;
  --map-building: #2F3B4C;

  --radius-card: 15px;      /* .9586rem from existing theme */
  --radius-btn: 6px;        /* .3833rem from existing theme */
  --shadow-card: 0 6px 24px rgba(66, 69, 74, 0.08);
  --shadow-hover: 0 14px 36px rgba(66, 69, 74, 0.14);

  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-white);
  color: var(--text-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   1. Header Disruptor (Brand Red Top Bar) & Main White Navbar
   ========================================================================== */
.header-disruptor {
  background-color: var(--primary);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 0;
}

.header-disruptor-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  white-space: nowrap;
}

#disruptor-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.disruptor-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.disruptor-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #FFFFFF;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.disruptor-phone:hover {
  opacity: 0.9;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.lang-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid transparent;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.lang-btn img {
  width: 16px;
  height: 11px;
  object-fit: cover;
  border-radius: 2px;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.28);
}

.lang-btn.active {
  background: #FFFFFF;
  color: var(--primary);
}

/* Main Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--grey-border);
  transition: box-shadow 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 24px;
}

.brand-logo img {
  height: 54px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-btn);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-body);
  border: 1px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
}

.btn-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--primary);
  background-color: var(--primary);
  color: #FFFFFF;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

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

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--grey-border);
  background-color: var(--bg-white);
  color: var(--text-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

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

/* ==========================================================================
   2. Hero Section & Functional Tour Finder Bar
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  padding: 60px 0 68px;
  overflow: hidden;
  background-color: #2b323c;
  color: #FFFFFF;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(25, 30, 38, 0.48) 0%,
    rgba(25, 30, 38, 0.32) 50%,
    rgba(25, 30, 38, 0.72) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 5;
  width: 100%;
}

.hero-text-box {
  max-width: 780px;
  margin-bottom: 32px;
}

.hero-kicker {
  display: inline-block;
  background-color: var(--primary);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.hero-title {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 12px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.hero-subtitle {
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.55;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

/* Search & Filter Bar */
.finder-bar {
  background: var(--bg-white);
  color: var(--text-body);
  border-radius: var(--radius-card);
  padding: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.finder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.15fr auto;
  gap: 10px;
  align-items: center;
}

.finder-field {
  padding: 8px 14px;
  border-radius: var(--radius-btn);
  background: var(--bg-light);
  border: 1px solid var(--grey-border);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.finder-field:focus-within {
  border-color: var(--primary);
  background: #FFFFFF;
}

.finder-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.finder-select, .finder-input {
  border: none;
  background: transparent;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  width: 100%;
  outline: none;
  height: 26px;
}

.finder-submit {
  height: 56px;
  padding: 0 24px;
}

/* ==========================================================================
   3. Refined 4-Column Trust & Service Bar
   ========================================================================== */
.usp-strip {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--grey-border);
  padding: 24px 0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.usp-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 22px;
  border-right: 1px solid var(--grey-border);
}

.usp-item:first-child {
  padding-left: 0;
}

.usp-item:last-child {
  border-right: none;
  padding-right: 0;
}

.usp-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.usp-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.usp-text strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
}

.usp-text span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.35;
}

/* ==========================================================================
   4. Functional Tour Explorer (Sidebar Checkboxes + Results Grid)
   ========================================================================== */
.section-block {
  padding: 60px 0;
}

.section-block.bg-grey {
  background-color: var(--bg-light);
  border-top: 1px solid var(--grey-border);
  border-bottom: 1px solid var(--grey-border);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.section-title {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

.section-subtitle {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* 2-Column Layout: Left Filter Sidebar (like switzerland-tours.ch/tours) + Right Grid */
.explorer-layout {
  display: grid;
  grid-template-columns: 265px 1fr;
  gap: 32px;
  align-items: start;
}

.filter-sidebar {
  background: var(--bg-white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-card);
  padding: 22px 20px;
  box-shadow: var(--shadow-card);
  position: sticky;
  top: 102px;
}

.filter-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--grey-border);
}

.filter-sidebar-title {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dark);
}

.filter-group {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--grey-border);
}

.filter-group:last-of-type {
  border-bottom: none;
  margin-bottom: 10px;
}

.filter-group-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.filter-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 0;
  cursor: pointer;
  user-select: none;
  font-size: 0.86rem;
  color: var(--text-body);
  transition: color 0.15s ease;
}

.filter-option:hover {
  color: var(--primary);
}

.filter-option-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 19px;
  height: 19px;
  border: 1px solid var(--text-body);
  border-radius: 5px;
  background-color: var(--bg-white);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.filter-checkbox:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.filter-checkbox:checked::after {
  content: "✓";
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
}

.filter-facet-count {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-light);
  padding: 1px 7px;
  border-radius: 10px;
}

/* Results Header & Active Filter Chips */
.results-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--grey-border);
  flex-wrap: wrap;
}

.results-count-strong {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-dark);
}

.active-filters-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.active-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(227, 6, 19, 0.25);
  padding: 5px 11px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.active-filter-chip:hover {
  background: var(--primary);
  color: #FFFFFF;
}

.sort-dropdown {
  padding: 9px 14px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--grey-border);
  background: var(--bg-white);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
}

.btn-text-reset {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

/* ==========================================================================
   5. Tour Cards (2 per row inside Explorer right column, matching live site!)
   ========================================================================== */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.tour-card {
  background-color: var(--bg-white);
  background-image: radial-gradient(#ffffff 55%, rgba(0, 0, 0, 0.05));
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.tour-card-media {
  position: relative;
  aspect-ratio: 3 / 2;
  background-color: #e9ecef;
  overflow: hidden;
}

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

.tour-card:hover .tour-card-img {
  transform: scale(1.04);
}

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--primary);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 2;
}

.card-badge.secondary {
  background-color: rgba(60, 60, 59, 0.88);
}

.card-gallery-controls {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.tour-card:hover .card-gallery-controls {
  opacity: 1;
}

.gallery-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-dark);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gallery-arrow:hover {
  background: var(--primary);
  color: #FFFFFF;
}

.tour-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 10px;
}

.tour-card-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.rating-stars {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-dark);
  font-weight: 700;
}

.rating-stars img {
  width: 14px;
  height: 14px;
}

.tour-card-title {
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
  cursor: pointer;
  transition: color 0.15s ease;
}

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

.tour-card-teaser {
  font-size: 0.86rem;
  color: var(--text-body);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.card-city-row {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.card-city-pills {
  display: inline-flex;
  gap: 4px;
}

.card-city-pill {
  padding: 4px 9px;
  border-radius: 4px;
  border: 1px solid var(--grey-border);
  background: var(--bg-white);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.15s ease;
}

.card-city-pill.active {
  background: var(--text-body);
  color: #FFFFFF;
  border-color: var(--text-body);
}

.card-duration-text {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
}

.tour-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  margin-top: 6px;
  border-top: 1px solid var(--grey-border);
}

.price-wrap {
  display: flex;
  flex-direction: column;
}

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

.price-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.card-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-card-info {
  padding: 8px 13px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--grey-border);
  background: var(--bg-white);
  color: var(--text-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-card-info:hover {
  border-color: var(--text-dark);
  color: var(--text-dark);
}

.btn-card-book {
  padding: 8px 15px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-card-book:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}

.show-more-wrap {
  text-align: center;
  margin-top: 32px;
}

/* ==========================================================================
   6. Departure Points Section & Custom Illustrated-Style Interactive Map
   ========================================================================== */
.city-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.city-tab {
  padding: 9px 18px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--grey-border);
  background: var(--bg-white);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.2s ease;
}

.city-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.city-tab.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
}

.meeting-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 32px;
  background: var(--bg-white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
  align-items: stretch;
}

/* Custom Illustrated-Style Map (No Image above it!) */
.illustrated-map-wrapper {
  position: relative;
  width: 100%;
  min-height: 440px;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--grey-border);
  background-color: #DCDCDD;
}

#custom-meeting-map {
  width: 100%;
  height: 100%;
  min-height: 440px;
  background-color: #E3E3E1;
  font-family: var(--font-sans);
}

/* Hide any Leaflet / MapLibre / OpenStreetMap attribution & flag badges */
#custom-meeting-map .leaflet-control-attribution,
#custom-meeting-map .maplibregl-ctrl-attrib,
#custom-meeting-map .maplibregl-ctrl-bottom-right,
#custom-meeting-map .maplibregl-ctrl-bottom-left,
#custom-meeting-map .maplibregl-ctrl-logo {
  display: none !important;
}

/* Illustrated Map Custom Labels & Red Bus Marker */
.map-water-label {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  font-family: var(--font-sans);
  font-size: 15.5px;
  font-weight: 600;
  font-style: italic;
  color: #162430;
  letter-spacing: 0.03em;
  pointer-events: none;
  white-space: nowrap;
  text-shadow: 0 0 4px rgba(110, 194, 204, 0.85);
}

.map-building-label {
  pointer-events: none;
}

.map-building-pill {
  background-color: rgba(49, 61, 77, 0.92);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  text-align: center;
  line-height: 1.22;
  padding: 5px 9px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.18);
  white-space: nowrap;
}

.map-landmark-dark-label {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  color: #1E2226;
  text-align: center;
  line-height: 1.15;
  pointer-events: none;
  white-space: nowrap;
  text-shadow:
    -1.5px -1.5px 0 rgba(227, 227, 225, 0.95),
     1.5px -1.5px 0 rgba(227, 227, 225, 0.95),
    -1.5px  1.5px 0 rgba(227, 227, 225, 0.95),
     1.5px  1.5px 0 rgba(227, 227, 225, 0.95);
}

.map-bus-pin {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary);
  border: 3px solid #FFFFFF;
  box-shadow: 0 6px 18px rgba(227, 6, 19, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.map-bus-pin:hover {
  transform: scale(1.1);
}

.map-legend-pill {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 500;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border: 1px solid var(--grey-border);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-bus-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-block;
}

.legend-dash-line {
  width: 20px;
  height: 0;
  border-top: 3px dashed var(--primary);
  display: inline-block;
}

.legend-building-box {
  width: 12px;
  height: 12px;
  background: var(--map-building);
  border-radius: 2px;
  display: inline-block;
}

.transit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0;
}

.transit-item {
  background: var(--bg-light);
  border: 1px solid var(--grey-border);
  border-radius: 8px;
  padding: 14px;
}

.transit-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.transit-item p {
  font-size: 0.8rem;
  color: var(--text-body);
  line-height: 1.45;
}

/* ==========================================================================
   7. Private Tours Banner & Guest Reviews
   ========================================================================== */
.private-card {
  background-color: var(--bg-white);
  background-image: radial-gradient(#ffffff 50%, rgba(0, 0, 0, 0.06));
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  box-shadow: var(--shadow-card);
}

.private-card-text {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.private-card-img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-box {
  background: var(--bg-white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================================================
   8. FAQ Accordion
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--grey-border);
  border-radius: 10px;
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  padding: 16px 20px;
  background: none;
  border: none;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-trigger:hover {
  color: var(--primary);
}

.faq-body {
  padding: 0 20px 18px;
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
  display: none;
}

.faq-item.open .faq-body {
  display: block;
}

.faq-body p {
  margin-bottom: 8px;
}

.faq-body a {
  color: var(--primary);
  text-decoration: underline;
}

/* ==========================================================================
   9. Authentic 3-Tier Footer (#CACACC / #7B7B7E / #3C3C3B)
   ========================================================================== */
.footer-social-bar {
  background-color: var(--footer-top);
  padding: 22px 0;
}

.footer-social-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.footer-social-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.footer-social-list img {
  height: 46px;
  width: 46px;
  display: block;
}

.footer-social-list a:hover {
  transform: translateY(-2px) scale(1.06);
  filter: drop-shadow(0 6px 14px rgba(227, 6, 19, 0.28));
}

.footer-partner-bar {
  background-color: var(--footer-mid);
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.footer-partner-list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 56px;
}

.footer-partner-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-partner-item:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.partner-logo-wide {
  height: 46px;
  width: auto;
  display: block;
}

.partner-logo-badge {
  height: 60px;
  width: auto;
  display: block;
}

.footer-main {
  background-color: var(--footer-bottom);
  color: #FFFFFF;
  padding: 46px 0 32px;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1.15fr 1.05fr 1fr;
  gap: 32px;
  margin-bottom: 34px;
}

.footer-col h5 {
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
  color: #FFFFFF;
}

.footer-address {
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 14px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.15s ease;
}

.footer-contact-link:hover {
  color: #FFFFFF;
}

.footer-contact-link small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.15s ease, transform 0.15s ease;
}

.footer-links a:hover {
  color: #FFFFFF;
  transform: translateX(2px);
}

.footer-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.footer-bottom-bar {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.68);
}

/* ==========================================================================
   10. Tour Detail Modal
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(33, 37, 41, 0.72);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.modal-dialog {
  background: var(--bg-white);
  width: 100%;
  max-width: 1140px;
  max-height: 90vh;
  border-radius: var(--radius-card);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
  overflow-x: hidden;
}

.modal-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg-white);
  padding: 18px 28px;
  border-bottom: 1px solid var(--grey-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.modal-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--grey-border);
  background: var(--bg-white);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.modal-close:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.modal-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 365px;
  gap: 28px;
  padding: 28px;
  align-items: start;
}

.modal-body-grid > div {
  min-width: 0;
}

.detail-media-stage {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: 12px;
  overflow: hidden;
  background: #f0f0f2;
  margin-bottom: 10px;
}

.detail-main-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-stage-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-dark);
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  transition: all 0.15s ease;
}

.detail-stage-nav:hover {
  background: var(--primary);
  color: #FFFFFF;
}

.detail-stage-nav.prev {
  left: 14px;
}

.detail-stage-nav.next {
  right: 14px;
}

.detail-stage-counter {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: rgba(33, 37, 41, 0.78);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

.detail-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  max-width: 100%;
  padding-bottom: 6px;
  margin-bottom: 24px;
  scrollbar-width: thin;
}

.detail-thumb {
  width: 78px;
  height: 54px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.65;
  border: 2px solid transparent;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.detail-thumb:hover {
  opacity: 0.9;
}

.detail-thumb.active {
  opacity: 1;
  border-color: var(--primary);
}

.detail-block {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--grey-border);
}

.detail-block h4 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.detail-rich {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.68;
}

.detail-rich p {
  margin-bottom: 12px;
}

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

.detail-rich ul {
  padding-left: 18px;
  margin: 6px 0;
}

.detail-rich li {
  margin-bottom: 6px;
}

.detail-booking-panel {
  background: var(--bg-light);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-card);
  padding: 22px;
  position: sticky;
  top: 84px;
  height: fit-content;
}

.booking-city-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 8px;
  margin: 12px 0 16px;
}

.booking-city-tab {
  padding: 10px 8px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--grey-border);
  background: var(--bg-white);
  cursor: pointer;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-body);
  transition: all 0.15s ease;
}

.booking-city-tab:hover {
  border-color: var(--primary);
}

.booking-city-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
}

.booking-info-table {
  background: var(--bg-white);
  border: 1px solid var(--grey-border);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
  font-size: 0.84rem;
}

.booking-info-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--bg-light);
}

.booking-info-row:last-child {
  border-bottom: none;
}

.booking-info-label {
  flex: 0 0 112px;
  color: var(--text-muted);
  font-weight: 600;
}

.booking-info-val {
  flex: 1;
  text-align: right;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
}

.booking-meeting-box {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--grey-border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.booking-meeting-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
}

.booking-meeting-link {
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.4;
  display: inline-flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
}

.booking-meeting-link:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .finder-grid, .explorer-layout, .meeting-grid, .private-card, .modal-body-grid {
    grid-template-columns: 1fr;
  }
  .filter-sidebar {
    position: static;
  }
  .tours-grid, .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .usp-grid, .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .usp-item {
    border-right: none;
    padding: 8px 0;
  }
  .main-nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .tours-grid, .reviews-grid, .usp-grid, .footer-grid, .transit-grid {
    grid-template-columns: 1fr;
  }
  .header-disruptor-inner {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}
