/* ============================================================
   MotoRover Beta — Global Stylesheet
   ProPage.in | 2026-03-29
   Strictly: Plain CSS only, no frameworks
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600;700&display=swap');

/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
}

img, video {
  max-width: 100%;
  display: block;
}

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

/* === DESIGN TOKENS === */
:root {
  /* Colors */
  --bg:            #080808;
  --surface:       #111111;
  --surface-2:     #1A1A1A;
  --surface-3:     #222222;
  --border:        #242424;
  --border-2:      #333333;
  --accent:        #ffc512;
  --accent-light:  #FFD44D;
  --accent-dim:    rgba(255, 197, 18, 0.12);
  --accent-glow:   rgba(255, 197, 18, 0.25);
  --text:          #F0EDE8;
  --text-muted:    #888880;
  --text-faint:    #555550;
  --white:         #FFFFFF;
  --black:         #000000;

  /* Typography */
  --font-display:  'Playfair Display', Georgia, serif;
  --font-body:     'Inter', system-ui, sans-serif;
  --font-currency: 'Noto Sans', system-ui, -apple-system, sans-serif;

  /* Type Scale */
  --text-xs:   clamp(0.7rem,   1vw,   0.75rem);
  --text-sm:   clamp(0.8rem,   1.2vw, 0.875rem);
  --text-base: clamp(0.9rem,   1.4vw, 1rem);
  --text-lg:   clamp(1rem,     1.6vw, 1.125rem);
  --text-xl:   clamp(1.125rem, 2vw,   1.25rem);
  --text-2xl:  clamp(1.25rem,  2.5vw, 1.5rem);
  --text-3xl:  clamp(1.5rem,   3vw,   2rem);
  --text-4xl:  clamp(2rem,     4vw,   2.75rem);
  --text-5xl:  clamp(2.5rem,   5vw,   3.5rem);
  --text-hero: clamp(3rem,     7vw,   5.5rem);

  /* Spacing */
  --sp-1:  8px;
  --sp-2:  16px;
  --sp-3:  24px;
  --sp-4:  32px;
  --sp-5:  40px;
  --sp-6:  48px;
  --sp-8:  64px;
  --sp-10: 80px;
  --sp-12: 96px;
  --sp-16: 128px;

  /* Layout */
  --container-max:     1200px;
  --container-padding: clamp(1rem, 5vw, 2rem);
  --section-padding:   clamp(60px, 10vw, 120px);

  /* Borders */
  --radius-sm:   4px;
  --radius:      8px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.4);
  --shadow:        0 4px 16px rgba(0,0,0,0.5);
  --shadow-lg:     0 8px 32px rgba(0,0,0,0.6);
  --shadow-accent: 0 0 24px rgba(255,197,18,0.25);

  /* Transitions */
  --t-fast:   150ms ease;
  --t:        250ms ease;
  --t-slow:   400ms ease;
  --t-spring: 300ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Nav (single-row: logo + menu bar) */
  --nav-height: 72px;
}

/* === LAYOUT UTILITIES === */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--section-padding) 0;
}

.section--dark   { background-color: var(--bg); }
.section--surface { background-color: var(--surface); }
.section--surface-2 { background-color: var(--surface-2); }

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background-color: rgba(8, 8, 8, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
  transition: transform var(--t), background-color var(--t), backdrop-filter var(--t), box-shadow var(--t);
}

/* Auto-hide on scroll down, reveal on scroll up (smart sticky header) */
.nav--hidden { transform: translateY(-100%); }

.nav.scrolled {
  background-color: rgba(8, 8, 8, 0.97);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.nav__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  flex-shrink: 0;
  background-color: transparent;
  border-radius: 0;
  padding: 0;
  margin-right: auto;
}

.nav .nav__logo:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.nav .nav__logo img,
.nav .nav__logo .nav__logo-img {
  position: relative;
  z-index: 1;
  transition: transform var(--t-spring), filter var(--t);
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.55));
}

.nav .nav__logo:hover img,
.nav .nav__logo:hover .nav__logo-img {
  transform: scale(1.04);
}

.nav .nav__logo:active img,
.nav .nav__logo:active .nav__logo-img {
  transform: scale(0.98);
}

.nav__logo img {
  height: 72px;
  width: auto;
  max-width: 100%;
  display: block;
}
.footer__grid .nav__logo {
  width: fit-content;
  align-self: start;
  margin-bottom: 12px;
  background-color: var(--black);
  border-radius: 24px 0 24px 0;
  padding: 0 24px;
}
.nav__logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.nav__logo-text span {
  color: var(--accent);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(240, 237, 232, 0.8);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--t-fast), background-color var(--t-fast);
  white-space: nowrap;
  position: relative;
}

.nav__link:hover,
.nav__link.active {
  color: var(--white);
  background-color: rgba(255,255,255,0.06);
}

/* Over imagery: keep links legible without a solid menu bar */
.nav:not(.scrolled) .nav__link {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85), 0 0 20px rgba(0, 0, 0, 0.55);
}

.nav.scrolled .nav__link {
  text-shadow: none;
}

/* Dropdown */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__dropdown-toggle i {
  font-size: 0.65em;
  transition: transform var(--t-fast);
}

.nav__dropdown:hover .nav__dropdown-toggle i {
  transform: rotate(180deg);
}

.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
  box-shadow: var(--shadow-lg);
}

.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown-item {
  display: block;
  padding: 8px 12px;
  font-size: var(--text-sm);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color var(--t-fast), background-color var(--t-fast);
  white-space: nowrap;
}

.nav__dropdown-item:hover {
  color: var(--text);
  background-color: rgba(255,255,255,0.06);
}

/* Footer row in tour dropdowns */
.nav__dropdown-menu .nav__dropdown-item.is-view-all {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  color: var(--accent);
  font-weight: 600;
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-shrink: 0;
  margin-left: var(--sp-4);
}

/* Top-right social icon cluster (replaces WhatsApp pill + theme toggle) */
.nav__socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  background: none;
  border: none;
  transition: opacity var(--t);
  text-decoration: none;
  padding: 8px;
}


.nav__social-link:hover,
.nav__social-link:focus-visible {
  opacity: 0.7;
}

.nav:not(.scrolled) .nav__hamburger span {
  /* crisp offset shadow for contrast over hero — no fuzzy 0 0 halo */
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.55));
}

.nav.scrolled .nav__hamburger span {
  filter: none;
}

.nav__whatsapp {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: #25D366;
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: opacity var(--t-fast), transform var(--t-fast);
}

.nav__whatsapp:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Mobile hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  border: none;
  background: transparent;
  color: inherit;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}

.nav__hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Remove the default blue focus box after tap/click; keep a tasteful ring for keyboard users */
.nav__hamburger:focus { outline: none; }
.nav__hamburger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Mobile menu */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background-color: rgba(8,8,8,0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: var(--sp-3) var(--container-padding);
  z-index: 999;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform var(--t), opacity var(--t);
}

.nav__mobile-link {
  display: block;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text-muted);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--t-fast);
}

.nav__mobile-link:last-child { border-bottom: none; }
.nav__mobile-link:hover { color: var(--text); }

/* Mobile + tablet: scrollable area when tour accordions are long */
.nav__mobile-scroll {
  max-height: min(72vh, calc(100dvh - var(--nav-height) - 24px));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding-bottom: 4px;
  margin: 0 calc(-1 * var(--container-padding));
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  scrollbar-gutter: stable;
}

/* Tour accordions: mirror desktop flyouts, optimized for touch */
.nav__mobile-group {
  border-bottom: 1px solid var(--border);
}

.nav__mobile-group:last-of-type { border-bottom: 1px solid var(--border); }

.nav__mobile-accordion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  padding: 14px 0;
  margin: 0;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color var(--t-fast);
}

.nav__mobile-accordion:hover { color: var(--text); }

.nav__mobile-accordion:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  color: var(--text);
}

.nav__mobile-accordion__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav__mobile-accordion__label i { color: var(--accent); font-size: 1.05em; }

.nav__mobile-accordion__chev {
  display: inline-flex;
  color: rgba(240, 237, 232, 0.5);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav__mobile-accordion[aria-expanded="true"] { color: var(--text); }
.nav__mobile-accordion[aria-expanded="true"] .nav__mobile-accordion__chev {
  color: var(--accent);
  transform: rotate(180deg);
}

.nav__mobile-panel {
  padding: 0 0 6px 4px;
  border-left: 1px solid rgba(255, 197, 18, 0.35);
  margin-left: 6px;
}

.nav__mobile-panel[hidden] {
  display: none !important;
}

.nav__mobile-sublink {
  display: block;
  font-size: var(--text-sm);
  font-weight: 400;
  color: rgba(240, 237, 232, 0.72);
  padding: 9px 0 9px 10px;
  line-height: 1.35;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color var(--t-fast), background-color var(--t-fast);
}

.nav__mobile-sublink:last-child { border-bottom: none; }
/* “View all” already has a top rule — avoid a double line under the last tour link */
.nav__mobile-sublink:has(+ .nav__mobile-sublink--all) {
  border-bottom: none;
}
.nav__mobile-sublink:hover { color: var(--text); }

.nav__mobile-sublink:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 1px;
  color: var(--text);
  border-radius: 2px;
}

/* “View all” in sheet menu */
.nav__mobile-sublink--all {
  color: var(--accent);
  font-weight: 600;
  margin-top: 2px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  border-bottom: none;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero__bg.loaded {
  transform: scale(1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8,8,8,0.80) 0%,
    rgba(8,8,8,0.50) 50%,
    rgba(8,8,8,0.65) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: var(--sp-10) 0;
  padding-top: calc(var(--nav-height) + var(--sp-10));
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-3);
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background-color: var(--accent);
  border-radius: 2px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: var(--sp-3);
  max-width: 14ch;
}

.hero__title em {
  font-style: italic;
  color: var(--accent);
}

.hero__subtitle {
  font-size: var(--text-xl);
  color: rgba(240, 237, 232, 0.75);
  max-width: 52ch;
  line-height: 1.5;
  margin-bottom: var(--sp-6);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: var(--sp-5);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(240, 237, 232, 0.5);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s ease infinite;
  z-index: 2;
}

.hero__scroll i { font-size: 1.2em; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-base);
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast);
  white-space: nowrap;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background-color: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn--primary:hover {
  background-color: var(--accent-light);
  border-color: var(--accent-light);
  box-shadow: var(--shadow-accent);
}

.btn--outline {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn--outline:hover {
  border-color: var(--white);
  background-color: rgba(255,255,255,0.08);
}

.btn--accent-outline {
  background-color: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn--accent-outline:hover {
  background-color: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-accent);
}

.btn--sm {
  font-size: var(--text-sm);
  padding: 10px 20px;
}

.btn--lg {
  font-size: var(--text-lg);
  padding: 18px 36px;
}

/* === SECTION HEADER === */
.section-header {
  margin-bottom: var(--sp-8);
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-header__sub {
  margin: 0 auto;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-2);
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--accent);
  border-radius: 2px;
}

.section-header--center .section-eyebrow {
  justify-content: center;
}

.section-header--center .section-eyebrow::before {
  display: none;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: var(--sp-2);
}

.section-title em {
  font-style: italic;
  color: var(--accent);
}

.section-header__sub {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 58ch;
}

/* === STATS BAR === */
.stats-bar {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--sp-5) 0;
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}

.stat-item {
  text-align: center;
  padding: var(--sp-3);
}

.stat-item__number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-item__label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* === TOUR CARDS === */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}

/* === Swipe carousel (homepage Motorcycle / Car tours) === */
.tours-carousel {
  position: relative;
}

.tours-grid--carousel {
  display: flex;
  grid-template-columns: none;
  gap: var(--sp-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 4px var(--container-padding) var(--sp-3);
  margin: 0 calc(-1 * var(--container-padding));
  scrollbar-width: none;
  align-items: stretch;
}

.tours-grid--carousel::-webkit-scrollbar { display: none; }

.tours-grid--carousel > .tour-card {
  scroll-snap-align: start;
  flex: 0 0 31%;
  min-width: 280px;
  height: auto;
}

/* Carousel cards must stay visible even when scrolled out of the viewport horizontally */
.tours-grid--carousel > .tour-card.reveal {
  opacity: 1;
  transform: none;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.tours-carousel__btn {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background-color: var(--surface);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: background-color var(--t-fast), color var(--t-fast), transform var(--t-fast), opacity var(--t-fast);
}

.tours-carousel__btn:hover {
  background-color: var(--accent);
  color: #1a1a1a;
}

.tours-carousel__btn--prev { left: -10px; }
.tours-carousel__btn--next { right: -10px; }

.tours-carousel__btn[disabled] {
  opacity: 0;
  pointer-events: none;
}

/* Touch devices: hide arrows, swipe instead */
@media (hover: none), (max-width: 768px) {
  .tours-carousel__btn { display: none; }
}

.tour-card,
a.tour-card.tour-card--link {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  display: flex;
  flex-direction: column;
}

.tour-card:hover,
a.tour-card.tour-card--link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.tour-card__image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.tour-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.tour-card:hover .tour-card__image,
a.tour-card.tour-card--link:hover .tour-card__image {
  transform: scale(1.04);
}

.tour-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--accent);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.tour-card__content {
  padding: var(--sp-3);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tour-card__destination {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.tour-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: var(--sp-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tour-card__meta {
  display: flex;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
  flex-wrap: wrap;
}

.tour-card__meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.tour-card__meta-item i {
  color: var(--accent);
  font-size: 0.85em;
}

.tour-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: var(--sp-2);
  border-top: 1px solid var(--border);
}

.tour-card__price {
  font-family: var(--font-currency);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.tour-card__price span {
  font-family: var(--font-currency);
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--text-muted);
}

.booking-card__price,
[data-currency-bind],
[data-price-original] {
  font-family: var(--font-currency);
  font-variant-numeric: tabular-nums;
}

.tour-card__link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--t-fast), color var(--t-fast);
}

.tour-card:hover .tour-card__link {
  gap: 8px;
}

/* === FEATURE CARDS === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}

.feature-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  transition: border-color var(--t), box-shadow var(--t);
}

.feature-card:hover {
  border-color: var(--border-2);
  box-shadow: var(--shadow);
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  background-color: var(--accent-dim);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-3);
  color: var(--accent);
  font-size: 1.4rem;
}

.feature-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--sp-1);
}

.feature-card__text {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.65;
}

/* === TEAM CARDS === */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}

.team-card,
a.team-card.team-card--link {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  transition: transform var(--t), box-shadow var(--t);
}

.team-card:hover,
a.team-card.team-card--link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.team-card__image-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.team-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--t-slow);
}

.img-bottom {
  object-position: bottom center;
}

.team-card:hover .team-card__image,
a.team-card.team-card--link:hover .team-card__image {
  transform: scale(1.04);
}

.team-card__content {
  padding: var(--sp-4);
}

.team-card__name {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.team-card__role {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
}

.team-card__bio {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
}

/* === TESTIMONIAL CARD (base — shared by the testimonials rail) === */
.testimonial-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  flex-shrink: 0;
  width: 100%;
  max-width: 500px;
}

.testimonial-card__author-name {
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--text);
}

/* === TESTIMONIALS RAIL (reuses the tour-gallery carousel) === */
.testimonials-rail {
  margin-top: var(--sp-4);
}

/* Each testimonial is a carousel slide (gallery-item) wearing the card design.
   The compound selector beats `.tour-gallery .gallery-item` (image sizing). */
.tour-gallery.testimonials-rail .gallery-item {
  flex: 0 0 clamp(280px, min(70cqi, 88vw), 460px);
  width: clamp(280px, min(70cqi, 88vw), 460px);
  aspect-ratio: auto;
  overflow: visible;
  cursor: default;
  border-radius: var(--radius-lg);
}

.testimonials-rail .testimonial-card {
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-3);
  margin: 0;
  transition: border-color var(--t-fast);
}

.testimonials-rail .testimonial-card:hover {
  border-color: var(--border-2);
}

.testimonial-card__head {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.testimonial-card__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--accent-dim);
}

.testimonial-card__who {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.testimonials-rail .testimonial-card__author-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: 1.2;
}

.testimonial-card__source {
  margin-left: auto;
  align-self: flex-start;
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: color var(--t-fast);
}

.testimonials-rail .testimonial-card:hover .testimonial-card__source {
  color: var(--accent);
}

.testimonials-rail .testimonial-card__quote {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-style: normal;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  margin: 0;
}

.testimonials-rail .testimonial-card__quote::before {
  content: none;
}

.testimonial-card__tour {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: var(--sp-2);
  border-top: 1px solid var(--border);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--t-fast), border-color var(--t-fast), background-color var(--t-fast);
  cursor: pointer;
}

.slider-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
  background-color: var(--accent-dim);
}

.slider-dots {
  display: flex;
  gap: 6px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--border-2);
  transition: background-color var(--t-fast), transform var(--t-fast);
  cursor: pointer;
  border: none;
}

.slider-dot.active {
  background-color: var(--accent);
  transform: scale(1.3);
}

/* === CTA STRIP === */
.cta-strip {
  background: linear-gradient(135deg, rgba(255,197,18,0.15) 0%, rgba(255,197,18,0.05) 100%);
  border: 1px solid rgba(255,197,18,0.2);
  border-radius: var(--radius-xl);
  padding: var(--sp-10);
  text-align: center;
}

.cta-strip__title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--sp-2);
}

.cta-strip__sub {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 52ch;
  margin: 0 auto var(--sp-5);
}

.cta-strip__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

/* === FOOTER === */
.footer {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  padding-top: var(--sp-12);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--sp-8);
  padding-bottom: var(--sp-10);
  border-bottom: 1px solid var(--border);
}

.footer__brand-logo {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--sp-2);
}

.footer__brand-logo span { color: var(--accent); }

.footer__brand-tagline {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 32ch;
  margin-bottom: var(--sp-4);
}

.footer__social {
  display: flex;
  gap: var(--sp-2);
}

.footer__social-link {
  width: 40px;
  height: 40px;
  background-color: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color var(--t-fast), border-color var(--t-fast), background-color var(--t-fast);
}

.footer__social-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  background-color: var(--accent-dim);
}

.footer__newsletter-pitch {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 30ch;
  margin-bottom: var(--sp-3);
}

.footer__newsletter-row {
  display: flex;
  gap: 8px;
}

.footer__newsletter-input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--text);
  font-size: var(--text-sm);
}

.footer__newsletter-input:focus {
  outline: none;
  border-color: var(--accent);
}

.footer__newsletter-btn {
  flex-shrink: 0;
  padding: 10px 20px;
  font-size: var(--text-sm);
}

.footer__newsletter-status {
  font-size: var(--text-xs);
  margin-top: 6px;
  min-height: 1.2em;
}

.footer__newsletter-consent {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 6px;
}

.footer__newsletter-consent a { color: var(--accent); }

.footer__col-title {
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: var(--sp-3);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  font-size: var(--text-sm);
  color: var(--text-muted);
  transition: color var(--t-fast);
}

.footer__link:hover { color: var(--accent); }

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: 12px;
}

.footer__contact-item i {
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4) 0;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.footer__copy {
  font-size: var(--text-xs);
  color: var(--text-faint);
}

.footer__copy a {
  color: var(--accent);
}

.footer__legal {
  display: flex;
  gap: var(--sp-3);
}

.footer__legal a {
  font-size: var(--text-xs);
  color: var(--text-faint);
  transition: color var(--t-fast);
}

.footer__legal a:hover { color: var(--text-muted); }

/* === ITINERARY TABLE === */
.itinerary-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.itinerary-table thead th {
  background-color: var(--surface-2);
  color: var(--text-muted);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.itinerary-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: top;
}

.itinerary-table tbody tr:hover td {
  background-color: rgba(255,255,255,0.02);
}

.itinerary-table .day-badge {
  background-color: var(--accent-dim);
  color: var(--accent);
  font-weight: 700;
  font-size: var(--text-xs);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  display: inline-block;
}

/* === INCLUSION/EXCLUSION LISTS === */
.inclusions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--sp-6);
}

.inclusion-list, .exclusion-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--sp-4);
}

.inclusion-item, .exclusion-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.5;
}

.inclusion-item i { color: #4CAF50; flex-shrink: 0; margin-top: 3px; }
.exclusion-item i { color: #FF5252; flex-shrink: 0; margin-top: 3px; }

/* === OPTIONAL SERVICES === */
.optional-services-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.optional-service-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.5;
}

.optional-service-name {
  flex: 1;
  color: var(--text-muted);
}

.optional-service-price {
  font-family: 'Monaco', 'Courier New', monospace;
  font-weight: 600;
  color: var(--accent);
  font-size: var(--text-base);
  white-space: nowrap;
  margin-left: 10px;
  flex-shrink: 0;
}

.estimate-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.estimate-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.5;
}

.estimate-item i {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

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

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--t-fast);
}

.faq-item.open {
  border-color: var(--border-2);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-3) var(--sp-4);
  background-color: var(--surface);
  cursor: pointer;
  transition: background-color var(--t-fast);
  text-align: left;
  gap: var(--sp-3);
}

.faq-question:hover { background-color: var(--surface-2); }

.faq-question__text {
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--text);
}

.faq-question__icon {
  color: var(--accent);
  font-size: 0.85em;
  transition: transform var(--t-fast);
  flex-shrink: 0;
}

.faq-item.open .faq-question__icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow);
  background-color: var(--surface);
}

.faq-answer__inner {
  padding: 0 var(--sp-4) var(--sp-3);
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: var(--sp-3);
}

/* === CONTACT FORM === */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.form-input,
.form-select,
.form-textarea {
  background-color: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: var(--text-base);
  color: var(--text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-faint); }

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888880' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-textarea { resize: vertical; min-height: 140px; }

/* === GALLERY GRID === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

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

.gallery-grid > .gallery-item:nth-child(5n+1) {
  grid-column: span 2;
  grid-row: span 2;
}

/* === TOUR PAGE GALLERY (horizontal carousel) === */
.tour-gallery {
  --tour-gallery-gap: 12px;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  container-type: inline-size;
  container-name: tour-gallery;
}

.tour-gallery__btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}

.tour-gallery__btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.tour-gallery__btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.tour-gallery__viewport {
  flex: 1 1 0%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.tour-gallery__viewport:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: var(--radius);
}

.tour-gallery__track {
  display: flex;
  gap: var(--tour-gallery-gap);
  padding: 2px 0 6px;
}

.tour-gallery .gallery-item {
  /* Share of carousel width (cqi) uses horizontal space; vw caps on very wide viewports */
  flex: 0 0 clamp(260px, min(52cqi, 78vw), 520px);
  width: clamp(260px, min(52cqi, 78vw), 520px);
  max-width: 100%;
  aspect-ratio: 4 / 3;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

.gallery-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.gallery-item:hover .gallery-item__img { transform: scale(1.06); }

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,8,8,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--t);
}

.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__overlay i { color: var(--white); font-size: 2rem; }

/* === BREADCRUMB === */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--sp-4);
}

.breadcrumb a { color: var(--text-muted); transition: color var(--t-fast); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb i { font-size: 0.65em; color: var(--text-faint); }

/* Ensure breadcrumb remains legible over hero photography */
.tour-hero .breadcrumb {
  color: #fff;
  background: rgba(0, 0, 0, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  width: fit-content;
  backdrop-filter: blur(2px);
}

.tour-hero .breadcrumb a,
.tour-hero .breadcrumb span {
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}

.tour-hero .breadcrumb i {
  color: inherit;
  color: rgba(255, 255, 255, 0.88);
}

/* === TOUR HERO (inner pages) === */
.tour-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.tour-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.tour-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8,8,8,0.95) 0%,
    rgba(8,8,8,0.5) 50%,
    rgba(8,8,8,0.2) 100%
  );
}

.tour-hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: var(--sp-8);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tour-hero__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: var(--sp-3);
  justify-content: center;
}

.tour-tag {
  background-color: rgba(255,197,18,0.2);
  border: 1px solid rgba(255,197,18,0.4);
  color: var(--accent-light);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.car-badge,
.tour-tag--car {
  background-color: rgba(18, 164, 255, 0.24);
  border: 1px solid rgba(18, 164, 255, 0.55);
  color: #d8efff;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.tour-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: var(--sp-2);
  text-align: center;
}

.tour-hero__meta {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  justify-content: center;
}

.tour-hero__meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-base);
  color: rgba(240,237,232,0.8);
}

.tour-hero__meta-item i { color: var(--accent); }

/* === SCROLL ANIMATIONS === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

/* === DIVIDER === */
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
  margin: var(--sp-8) 0;
}

/* === TAGS === */
.tag {
  display: inline-block;
  background-color: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: var(--text-xs);
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  :root {
    --nav-height: 68px;
  }

  /* Tablet + small laptop: hide inline links, show hamburger */
  .nav__links { display: none; }

  .nav__whatsapp span { display: none; }
  .tours-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
  .inclusions-grid { grid-template-columns: 1fr; }
  main.section.section--dark:has(.tour-layout) {
    padding-top: var(--sp-8);
  }
  .divider { margin: var(--sp-5) 0; }

  /* Tablet + small laptop: hamburger (hover dropdowns are poor on touch) */
  .nav__hamburger { display: flex; }
  .nav__mobile.open {
    display: block;
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .nav__logo {padding: 0;border-radius: 0;}
  .nav__logo img,
  .nav__logo-img { height: 46px; }
  .nav__socials { gap: 12px; }
  .hero__title { max-width: 100%; }
  .hero__actions { flex-direction: column; align-items: flex-start; }

  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .tours-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .footer__grid { grid-template-columns: 1fr; gap: var(--sp-5); }
  .footer__bottom { flex-direction: column; text-align: center; }

  .tour-hero__title { font-size: clamp(1.25rem, 4vw, 2rem); }
  .cta-strip { padding: var(--sp-8) var(--sp-4); }
  .cta-strip__actions { flex-direction: column; align-items: center; }
  main.section.section--dark:has(.tour-layout) {
    padding-top: var(--sp-6);
  }
  .divider { margin: var(--sp-4) 0; }

  .gallery-grid > .gallery-item:nth-child(5n+1) { grid-column: span 1; grid-row: span 1; }

  .tour-gallery {
    gap: 8px;
  }

  .tour-gallery__btn {
    width: 40px;
    height: 40px;
  }

  .tour-gallery .gallery-item {
    flex-basis: clamp(240px, min(88cqi, 86vw), 380px);
    width: clamp(240px, min(88cqi, 86vw), 380px);
  }
  .nav__logo img,
  .nav__logo-img {height: 46px;}
}

@media (max-width: 480px) {
  .nav__logo { padding: 0; border-radius: 0; }
  .nav__logo img,
  .nav__logo-img { height: 68px; }
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 640px) {
  .nav__inner {
    column-gap: 6px;
  }

  .nav__socials {
    gap: 10px;
  }

  .nav__social-link {
    font-size: 0.85rem;
    padding: 6px;
  }
}

/* ============================================================
   LIGHT MODE — CSS Variable Overrides
   Default is dark. Toggle [data-theme="light"] on <html>
   ============================================================ */

[data-theme="light"] {
  --bg:            #F8F6F2;
  --surface:       #FFFFFF;
  --surface-2:     #F0EDE6;
  --surface-3:     #E8E3D8;
  --border:        #E0DBD0;
  --border-2:      #CEC7B8;
  --accent:        #C8960A;       /* slightly deeper for light bg contrast */
  --accent-light:  #E0AA14;
  --accent-dim:    rgba(200, 150, 10, 0.10);
  --accent-glow:   rgba(200, 150, 10, 0.20);
  --text:          #1A1916;
  --text-muted:    #6B6660;
  --text-faint:    #A09890;
  --white:         #FFFFFF;
  --black:         #000000;
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.10);
  --shadow:        0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg:     0 8px 32px rgba(0,0,0,0.15);
  --shadow-accent: 0 0 24px rgba(200, 150, 10, 0.20);
}

/* ============================================================
   ACCENT THEME — Gold  (data-accent="gold")
   Toggle between yellow (default) and gold
   ============================================================ */

/* Gold — dark mode (default) */
[data-accent="gold"] {
  --accent:        #ffc512;
  --accent-light:  #FFD44D;
  --accent-dim:    rgba(255, 197, 18, 0.12);
  --accent-glow:   rgba(255, 197, 18, 0.25);
  --shadow-accent: 0 0 24px rgba(255, 197, 18, 0.22);
}

/* Gold — light mode (deeper for contrast on light bg) */
[data-theme="light"][data-accent="gold"] {
  --accent:        #C8960A;
  --accent-light:  #E0AA14;
  --accent-dim:    rgba(200, 150, 10, 0.10);
  --accent-glow:   rgba(200, 150, 10, 0.20);
  --shadow-accent: 0 0 24px rgba(200, 150, 10, 0.20);
}

/* Light mode — Nav stays dark (brand-consistent solid bar) */
[data-theme="light"] .nav {
  background-color: rgba(8, 8, 8, 0.97);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08);
}
[data-theme="light"] .nav__link { color: rgba(240, 237, 232, 0.78); }
[data-theme="light"] .nav__link:hover,
[data-theme="light"] .nav__link.active { color: #F0EDE8; background-color: rgba(255,255,255,0.08); }
[data-theme="light"] .nav__dropdown-menu { background-color: #111; border-color: rgba(255,255,255,0.1); }
[data-theme="light"] .nav__dropdown-item { color: rgba(240,237,232,0.7); }
[data-theme="light"] .nav__dropdown-item:hover { color: #F0EDE8; background-color: rgba(255,255,255,0.06); }
[data-theme="light"] .nav__hamburger span { background-color: #F0EDE8; }

/* Light mode — Logo */
[data-theme="light"] .nav__logo-img { /* filter: none; */ }

/* Light mode — Button outlines */
[data-theme="light"] .btn--outline {
  color: var(--text);
  border-color: rgba(26,25,22,0.35);
}
[data-theme="light"] .btn--outline:hover {
  border-color: var(--text);
  background-color: rgba(26,25,22,0.06);
}

/* Light mode — Hero overlay slightly lighter */
[data-theme="light"] .hero__overlay {
  background: linear-gradient(
    135deg,
    rgba(248,246,242,0.55) 0%,
    rgba(248,246,242,0.25) 50%,
    rgba(248,246,242,0.45) 100%
  );
}
[data-theme="light"] .hero__title { color: var(--white); }
[data-theme="light"] .hero__subtitle { color: rgba(255,255,255,0.9); }

/* Light mode — Mobile nav */
[data-theme="light"] .nav__mobile {
  background-color: rgba(248,246,242,0.98);
  border-color: var(--border);
}
[data-theme="light"] .nav__mobile-link { color: var(--text-muted); border-bottom-color: var(--border); }
[data-theme="light"] .nav__mobile-accordion { color: var(--text-muted); }
[data-theme="light"] .nav__mobile-accordion[aria-expanded="true"] { color: var(--text); }
[data-theme="light"] .nav__mobile-accordion__chev { color: rgba(26, 25, 22, 0.4); }
[data-theme="light"] .nav__mobile-accordion[aria-expanded="true"] .nav__mobile-accordion__chev { color: var(--accent); }
[data-theme="light"] .nav__mobile-sublink { color: #5c574f; border-bottom-color: rgba(0, 0, 0, 0.06); }
[data-theme="light"] .nav__mobile-sublink:hover { color: var(--text); }
[data-theme="light"] .nav__mobile-group { border-bottom-color: var(--border); }
[data-theme="light"] .nav__mobile-group:last-of-type { border-bottom-color: var(--border); }
[data-theme="light"] .nav__mobile-panel { border-left-color: rgba(200, 150, 10, 0.45); }

/* Light mode — CTA strip */
[data-theme="light"] .cta-strip {
  background: linear-gradient(135deg, rgba(200,150,10,0.10) 0%, rgba(200,150,10,0.04) 100%);
  border-color: rgba(200,150,10,0.18);
}

/* Light mode — Stats bar */
[data-theme="light"] .stats-bar { background-color: var(--surface); }

/* Light mode — Footer */
[data-theme="light"] .footer { background-color: var(--surface-2); }

/* ============================================================
   LOGO — Nav
   ============================================================ */
.nav__logo-img {
  height: 44px;
  width: auto;
  display: block;
  /* Invert logo for dark backgrounds (logo is dark on transparent) */
  /* filter: brightness(0) invert(1); */
  /* transition: filter 0.3s ease; */
}

[data-theme="light"] .nav__logo-img {
  /* Keep natural logo colors on light background */
  /* filter: none; */
}

/* ============================================================
   THEME TOGGLE BUTTON
   ============================================================ */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color var(--t-fast), border-color var(--t-fast), background-color var(--t-fast), transform var(--t-spring);
  flex-shrink: 0;
  font-size: 0.95rem;
}

.theme-toggle:hover {
  color: var(--accent);
  border-color: var(--accent);
  background-color: var(--accent-dim);
  transform: rotate(15deg);
}

/* Show moon in dark mode, sun in light mode */
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }

[data-theme="light"] .theme-toggle .icon-sun  { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* Transition all colored elements smoothly on theme change */
*, *::before, *::after {
  transition-property: background-color, border-color, color, box-shadow;
  transition-duration: 0.25s;
  transition-timing-function: ease;
}
/* But don't affect transform/opacity transitions */
.btn, .tour-card, .feature-card, .team-card, .gallery-item, .reveal {
  transition-property: transform, opacity, box-shadow, border-color, background-color, color;
}

/* === Homepage: full-card links === */
a.tour-card.tour-card--link {
  text-decoration: none;
  color: inherit;
  height: 100%;
  box-sizing: border-box;
}

a.tour-card.tour-card--link .tour-card__link {
  pointer-events: none;
}

a.team-card.team-card--link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.home-break--link {
  display: block;
  position: relative;
  height: 280px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.home-break--link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-break--link__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(8, 8, 8, 0.72) 0%, rgba(8, 8, 8, 0.35) 50%, rgba(8, 8, 8, 0.72) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4);
}

.home-break--link__quote {
  font-family: var(--font-display);
  font-size: clamp(var(--text-xl), 4vw, var(--text-4xl));
  font-weight: 700;
  color: var(--white);
  font-style: italic;
  text-align: center;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
  margin: 0;
}

/* Homepage: about + FAQ preview */
.home-about {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--sp-8);
  align-items: center;
}

/* About section without the photo — text spans full width */
.home-about--no-img {
  grid-template-columns: 1fr;
  max-width: 760px;
}

.home-about__img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.home-about__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-faq-preview .faq-list {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .home-about {
    grid-template-columns: 1fr;
  }
}

/* === Tour pages: interactive day-by-day itinerary (editorial timeline) === */
.itinerary-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2) var(--sp-3);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--border);
}

.itinerary-summary__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.itinerary-summary__item i { color: var(--accent); }
.itinerary-summary__item strong { color: var(--text); font-weight: 700; }

.itinerary-summary__sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border-2);
}

.itinerary-accordion {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
  padding-left: 56px;
}

/* The timeline spine — a continuous line the day nodes sit on. */
.itinerary-accordion::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: var(--border-2);
  border-radius: 2px;
}

.itinerary-day {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.itinerary-day:hover { border-color: var(--border-2); }

.itinerary-day.is-open {
  border-color: rgba(255, 197, 18, 0.45);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.22);
}

/* Numbered node, parked on the spine in the left gutter. */
.itinerary-day__node {
  position: absolute;
  left: -56px;
  top: 14px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border-2);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1;
  z-index: 1;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}

.itinerary-day:hover .itinerary-day__node { border-color: var(--accent); color: var(--text); }

.itinerary-day.is-open .itinerary-day__node {
  background: var(--accent);
  border-color: var(--accent);
  color: #1a1a1a;
  box-shadow: 0 0 0 4px var(--accent-dim);
}

.itinerary-day__head {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-3) var(--sp-4);
  color: var(--text);
  font: inherit;
}

.itinerary-day__head:hover .itinerary-day__route { color: var(--accent-light); }

.itinerary-day__route {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text);
  font-size: var(--text-xl);
  line-height: 1.25;
  margin: 0;
  flex: 1 1 auto;
  min-width: 120px;
  transition: color var(--t-fast);
}

/* Date + distance sit inside the expanded body as chips (revealed on click). */
.itinerary-day__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
}

.itinerary-day__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.itinerary-day__chip i { font-size: 0.8em; }
.itinerary-day__date { color: var(--text-muted); }
.itinerary-day__km { color: var(--accent); }

.itinerary-day__meals-label {
  font-weight: 700;
  color: var(--accent);
  margin-right: 4px;
}

.itinerary-day__chevron {
  flex-shrink: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: transform var(--t-fast);
}

.itinerary-day.is-open .itinerary-day__chevron { transform: rotate(180deg); }

.itinerary-day__body {
  padding: 0 var(--sp-4) var(--sp-4);
}

.itinerary-day__activity {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 var(--sp-2);
}

.itinerary-day__meals {
  font-size: var(--text-sm);
  color: var(--text);
  line-height: 1.5;
  margin: var(--sp-2) 0 0;
  padding: var(--sp-2) var(--sp-3);
  background: var(--surface-2);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}

/* Tighten the timeline gutter on small screens. */
@media (max-width: 560px) {
  .itinerary-accordion { padding-left: 42px; }
  .itinerary-accordion::before { left: 15px; }
  .itinerary-day__node {
    left: -42px;
    top: 13px;
    width: 32px;
    height: 32px;
    font-size: var(--text-base);
  }
}

/* === Tour Details: single-open accordion, each row keyed by an icon === */
.detail-accordion {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}

.detail-row {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.detail-row:hover { border-color: var(--border-2); }

.detail-row.is-open {
  border-color: rgba(255, 197, 18, 0.45);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.detail-row__head {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 14px var(--sp-4);
  color: var(--text);
  font: inherit;
}

.detail-row__head:hover .detail-row__label { color: var(--accent-light); }

/* The icon carries the accent so the labels can stay calm (one gold, not eight). */
.detail-row__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.95rem;
  transition: background var(--t-fast), color var(--t-fast);
}

.detail-row.is-open .detail-row__icon {
  background: var(--accent);
  color: #1a1a1a;
}

.detail-row__label {
  flex: 1 1 auto;
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--text);
  transition: color var(--t-fast);
}

.detail-row__chevron {
  flex-shrink: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: transform var(--t-fast);
}

.detail-row.is-open .detail-row__chevron { transform: rotate(180deg); }

/* Body indents to sit under the label (past the icon), so reading aligns. */
.detail-row__body {
  padding: 0 var(--sp-4) 16px calc(var(--sp-4) + 50px);
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

.detail-row__body p { margin: 0; }

@media (max-width: 560px) {
  .detail-row__body {
    padding-left: var(--sp-4);
  }
}

/* === Tour pages: floating Share / Download Brochure buttons === */
.tour-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
}

/* Hidden while the booking card is in view (its own buttons take over there). */
.tour-fab.is-hidden {
  opacity: 0;
  transform: translateY(12px);
  visibility: hidden;
  pointer-events: none;
}

.tour-fab__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 18px 0 16px;
  border: none;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: var(--text-sm);
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform var(--t-fast), box-shadow var(--t-fast), background-color var(--t-fast);
}

.tour-fab__btn i { font-size: 1.05rem; }

.tour-fab__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.38);
}

.tour-fab__btn--enquire {
  background-color: #4A90E2;
  color: #fff;
}

.tour-fab__btn--brochure {
  background-color: var(--accent);
  color: #1a1a1a;
}

.tour-fab__btn--share {
  background-color: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
}

.tour-fab__btn--share.is-flash {
  background-color: #25d366;
  color: #fff;
  border-color: #25d366;
}

@media (max-width: 768px) {
  .tour-fab { right: 12px; bottom: 12px; gap: 8px; }
  /* Compact to icon-only pills on phones to stay out of the way */
  .tour-fab__btn { height: 46px; width: 46px; padding: 0; justify-content: center; border-radius: 50%; }
  .tour-fab__label { display: none; }
  .tour-fab__btn i { font-size: 1.15rem; }
}

/* === Tour hero: clean head image + title bar below === */
.tour-hero--clean {
  height: 88vh;
  min-height: 340px;
}

.tour-hero--clean .tour-hero__overlay {
  background: linear-gradient(
    to top,
    rgba(8, 8, 8, 0.45) 0%,
    rgba(8, 8, 8, 0.12) 45%,
    rgba(8, 8, 8, 0.08) 100%
  );
}

.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.3s;
}
.scroll-indicator:hover { opacity: 1; }
.scroll-indicator__label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
/* Gold "Scroll" + bouncing chevron, matching the early homepage hero cue. */
.scroll-indicator i {
  color: var(--accent);
  font-size: 1.05rem;
  line-height: 1;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

.tour-titlebar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.tour-titlebar .container {
  padding-top: var(--sp-3);
  padding-bottom: var(--sp-3);
}

.tour-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
  margin: 0;
  text-align: center;
}

.tour-title em { color: var(--accent); font-style: italic; }

@media (max-width: 768px) {
  .tour-hero--clean { height: 88vh; min-height: 240px; }
  .tour-title { font-size: clamp(1.25rem, 4vw, 2rem); white-space: normal; }
}

/* Booking card price heading */
.booking-card__label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(40, 24, 0, 0.62);
  margin-bottom: 14px;
}

.tour-type-legend {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-3);
  margin-bottom: var(--sp-4);
  font-size: var(--text-sm);
}

.tour-type-legend--panel {
  padding: var(--sp-4);
  margin: var(--sp-8) 0 0;
}

.tour-type-legend__title {
  font-weight: 700;
  color: var(--text);
  margin: 0 0 var(--sp-3);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tour-type-legend__items {
  display: grid;
  gap: var(--sp-3);
}

.tour-type-legend__item {
  padding-top: var(--sp-3);
  border-top: 1px solid var(--border);
}

.tour-type-legend__item:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.tour-type-legend__item + .tour-type-legend__item {
  margin-top: var(--sp-3);
}

/* On a wide column, present the three ways side-by-side as a comparison. */
@media (min-width: 760px) {
  .tour-type-legend--panel .tour-type-legend__items {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-4);
  }

  .tour-type-legend--panel .tour-type-legend__item,
  .tour-type-legend--panel .tour-type-legend__item:first-of-type {
    padding-top: 0;
    border-top: 0;
  }

  .tour-type-legend--panel .tour-type-legend__item + .tour-type-legend__item {
    margin-top: 0;
    padding-left: var(--sp-4);
    border-left: 1px solid var(--border);
  }
}

.tour-type-legend__name {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
  font-size: var(--text-sm);
}

.tour-type-legend__name::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.tour-type-legend__tags {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tour-type-legend__tags li {
  padding: 3px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-size: var(--text-xs);
  line-height: 1.5;
}

.tour-type-legend__note {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: 1.55;
}

.tour-currency-foot {
  margin: 0 0 var(--sp-3);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--border);
  font-size: var(--text-xs);
  line-height: 1.5;
  color: var(--text-muted);
}

/* Inline grids on tour pages — override inline 2- and 3-column on small screens */
@media (max-width: 768px) {
  .tour-grid--2,
  .tour-grid--3 {
    grid-template-columns: 1fr !important;
  }

  .tour-main,
  .section--dark .container {
    max-width: 100%;
  }

  .tour-hero__content,
  .tour-hero__meta {
    max-width: 100%;
  }

  .highlights-grid {
    grid-template-columns: 1fr !important;
  }

  /* Keep primary booking actions earlier in the mobile flow */
  .booking-card__body {
    display: flex;
    flex-direction: column;
  }

  .booking-card__facts {
    order: 1;
  }

  .booking-card__actions {
    order: 2;
  }

  .tour-type-legend {
    order: 3;
    margin-top: var(--sp-3);
    margin-bottom: var(--sp-3);
  }
}

/*
 * Tour pages: do NOT use overflow-x: hidden here — it forces overflow-y to compute
 * to "auto" on <main>, which makes main the scroll container and breaks
 * position: sticky on .tour-sidebar (booking block). Horizontal clipping is
 * handled via layout (minmax(0,1fr), tour-gallery width) instead.
 */
.tour-page-main {
  overflow-x: clip;
}

/* body { overflow-x: hidden } would also break sticky; tour pages override via .is-tour-page from tour-page.js */
body.is-tour-page {
  overflow-x: clip;
}
.bg-center-bottom {
  background-position: center bottom;
}
/* === Responsive card grids ============================================
   Reusable classes replacing inline grid-template-columns:repeat(N,1fr).
   Preserve the desktop column count, collapse gracefully on smaller screens. */
.card-grid { display: grid; gap: var(--sp-3); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .card-grid--2,
  .card-grid--4 { grid-template-columns: 1fr; }
}

/* === Utility classes extracted from inline styles ====================
   Replaces ~1900 repeated inline style attrs. Token-based; edit here once. */
.text-accent { color: var(--accent); }
.accent-mr { color: var(--accent); margin-right: 10px; }
.accent-italic { font-style: italic; color: var(--accent); }
.text-muted-sm { font-size: var(--text-sm); color: var(--text-muted); }
.body-muted { font-size: var(--text-base); color: var(--text-muted); line-height: 1.75; }
.lead-muted { font-size: var(--text-lg); color: var(--text-muted); line-height: 1.75; margin-bottom: var(--sp-3); }
.icon-error { color: #FF5252; }
.icon-success { color: #4CAF50; }
.fs-normal { font-style: normal; }
.fs-sup { font-size: .65em; }
.fs-20 { font-size: 20px; }
.fs-28 { font-size: 28px; }
.text-center { text-align: center; }
.text-center-mt8 { text-align: center; margin-top: var(--sp-8); }
.w-full { width: 100%; }
.ml-3 { margin-left: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); }
.mb-3 { margin: 0 0 var(--sp-3); }
.mw-620 { max-width: 620px; }
.overflow-x-auto { overflow-x: auto; }
.media-rounded { width: 100%; border-radius: 12px; }

.heading-3xl { font-size: var(--text-3xl); margin-bottom: var(--sp-4); }
.heading-3xl-tight { font-size: var(--text-3xl); margin-bottom: var(--sp-3); }
.heading-5xl { font-size: var(--text-5xl); }
.block-heading { font-size: var(--text-lg); font-weight: 700; color: var(--text); margin-bottom: var(--sp-3); }
.price-display { font-family: var(--font-display); font-size: var(--text-3xl); font-weight: 700; color: var(--text); white-space: nowrap; }

.detail-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--sp-3); }
.detail-label { font-size: var(--text-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.detail-icon { font-size: 2rem; color: var(--accent); margin-bottom: var(--sp-2); display: block; }
.dest-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--sp-4); text-align: center; }
.dest-card-title { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700; color: var(--text); margin-bottom: 4px; }

.btn-block { width: 100%; justify-content: center; }
.form-checkbox { width: 16px; height: 16px; accent-color: var(--accent); }
.flex-center-gap { display: flex; align-items: center; gap: 10px; margin-bottom: var(--sp-3); }
.form-footnote { text-align: center; margin-top: var(--sp-3); color: var(--text-muted); font-size: var(--text-sm); }
.form-result { margin-top: var(--sp-3); padding: 16px 18px; border: 1px solid var(--border-2); border-radius: 10px; color: var(--text); }
.list-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); color: var(--text-muted); font-size: var(--text-sm); transition: color var(--t-fast); }
.visually-hidden { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
