/* ============================================
   LIQUID DESCENT — Main Stylesheet
   ============================================ */

/* NOTE: Google Fonts are loaded via <link> tags in each HTML <head> — NEVER import them here.
   @import inside CSS serializes the font fetch behind style.css, which causes 3-5s of
   invisible-text FOUC on Safari. Do not add @import font rules to this file. */

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

:root {
  --blue:       #0ea5e9;
  --blue-dark:  #0284c7;
  --blue-glow:  rgba(14, 165, 233, 0.25);
  --navy:       #050c1a;
  --navy-mid:   #0a1628;
  --navy-light: #0f2040;
  --card-bg:    #0d1f35;
  --white:      #ffffff;
  --off-white:  #e2e8f0;
  --muted:      #94a3b8;
  --border:     rgba(14, 165, 233, 0.15);
  --font-head:  'Oswald', sans-serif;
  --font-body:  'Inter', sans-serif;
}

html { scroll-behavior: smooth; background-color: #050c1a; }

/* === PAGE LOAD ENTRANCE ANIMATIONS === */
@keyframes slideDownFade {
  from { opacity: 0; transform: translateY(-100%); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeInSoft {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Announcement bar slides down from top */
.announcement-bar {
  animation: slideDownFade 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.05s;
}

/* Header/nav fade in */
.site-header, header.site-header {
  animation: fadeInSoft 0.6s ease-out both;
  animation-delay: 0.25s;
}

/* Nav links stagger in one by one */
.nav-links > * {
  animation: fadeInUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.nav-links > *:nth-child(1) { animation-delay: 0.35s; }
.nav-links > *:nth-child(2) { animation-delay: 0.42s; }
.nav-links > *:nth-child(3) { animation-delay: 0.49s; }
.nav-links > *:nth-child(4) { animation-delay: 0.56s; }
.nav-links > *:nth-child(5) { animation-delay: 0.63s; }
.nav-links > *:nth-child(6) { animation-delay: 0.70s; }
.nav-links > *:nth-child(7) { animation-delay: 0.77s; }

/* Nav CTA (Book Now button) */
.nav-cta, .btn-nav-cta {
  animation: fadeInUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.85s;
}

/* Hero content staggered reveal — slower for a more graceful feel */
/* Hero content intro — kept graceful but front-loaded so Safari shows text almost instantly */
.hero-eyebrow {
  animation: fadeInUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.05s;
}
.hero h1 {
  animation: fadeInUp 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.15s;
}
.hero-sub {
  animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.35s;
}
.hero-cta, .hero-content .btn-primary, .hero-content .btn-outline, .hero-buttons {
  animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.55s;
}
.hero-stats, .hero-stats-strip {
  animation: fadeInLeft 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.75s;
}
/* Stagger each stat item so they sweep in left → right */
.hero-stats > *,
.hero-stats-strip .stats-strip-inner > * {
  animation: fadeInLeft 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-stats > *:nth-child(1) { animation-delay: 0.75s; }
.hero-stats > *:nth-child(2) { animation-delay: 0.85s; }
.hero-stats > *:nth-child(3) { animation-delay: 0.95s; }
.hero-stats > *:nth-child(4) { animation-delay: 1.05s; }
.hero-stats-strip .stats-strip-inner > *:nth-child(1) { animation-delay: 0.75s; }
.hero-stats-strip .stats-strip-inner > *:nth-child(2) { animation-delay: 0.82s; }
.hero-stats-strip .stats-strip-inner > *:nth-child(3) { animation-delay: 0.89s; }
.hero-stats-strip .stats-strip-inner > *:nth-child(4) { animation-delay: 0.96s; }
.hero-stats-strip .stats-strip-inner > *:nth-child(5) { animation-delay: 1.03s; }
.hero-stats-strip .stats-strip-inner > *:nth-child(6) { animation-delay: 1.10s; }
.hero-stats-strip .stats-strip-inner > *:nth-child(7) { animation-delay: 1.17s; }

/* === RIPPLE EFFECT ON BUTTONS (iOS-style) === */
.ripple-btn, .btn-primary, .btn-outline, .nav-cta, .btn-nav-cta, .mobile-util-btn, .trip-card-btn, .hero-cta {
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

.ripple-circle {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: rippleExpand 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.35);
  pointer-events: none;
  will-change: transform, opacity;
}

@keyframes rippleExpand {
  0%   { transform: scale(0); opacity: 1; }
  100% { transform: scale(4); opacity: 0; }
}

/* === PARALLAX TRIP CARDS === */
.trip-card, .why-card, .location-card {
  will-change: transform;
  transition: transform 0.15s ease-out;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .announcement-bar,
  .site-header,
  header.site-header,
  .nav-links > *,
  .nav-cta,
  .btn-nav-cta,
  .hero-eyebrow,
  .hero h1,
  .hero-sub,
  .hero-cta,
  .hero-buttons,
  .ripple-circle,
  .trip-card,
  .why-card,
  .location-card {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* === ANNOUNCEMENT BAR === */
.announcement-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(5, 12, 26, 0.85);
  color: rgba(255,255,255,0.75);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  overflow: hidden;
  white-space: nowrap;
  height: 36px;
  display: flex;
  align-items: center;
  z-index: 1001;
}

.announcement-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(124,58,237,0.18) 20%, rgba(14,165,233,0.22) 50%, rgba(124,58,237,0.18) 80%, transparent 100%);
  /* GPU-accelerated translate version of barShimmer (Safari repaints less aggressively) */
  animation: barShimmer 6s linear infinite;
  pointer-events: none;
  will-change: transform;
}

.announcement-track {
  display: inline-flex;
  position: relative;
  z-index: 1;
  animation: marquee 54s linear infinite;
}

.announcement-track span {
  display: inline-block;
  padding-right: 0;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes barShimmer {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

html {
  overflow-x: hidden;
}
body {
  background: var(--navy);
  color: var(--off-white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.section-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 50%, #0369a1 100%);
  color: var(--white);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 10px 100%);
  padding: 0.85rem 2.2rem;
}
.btn-primary:hover {
  background: #16a34a;
  border-color: #16a34a;
  transform: translateY(-2px);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.35), 0 8px 28px rgba(22, 163, 74, 0.55);
}

.btn-outline {
  background: linear-gradient(135deg, rgba(14,165,233,0.08) 0%, transparent 50%, rgba(14,165,233,0.08) 100%);
  color: var(--blue);
  border: 1.5px solid var(--blue);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 10px 100%);
  padding: 0.85rem 2.2rem;
}
.btn-outline:hover {
  background: var(--blue-glow);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.12);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
}

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 36px; left: 0; right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border-bottom: 1px solid transparent;
  /* NOTE: backdrop-filter intentionally NOT in the transition list — animating it causes severe jank in Safari */
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, height 0.3s ease;
}

.nav.scrolled {
  background: rgba(5, 12, 26, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 20px rgba(0,0,0,0.45);
  height: 64px;
}

.nav.scrolled::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #7c3aed 20%, #0ea5e9 50%, #7c3aed 80%, transparent 100%);
  /* Static gradient — the infinite shimmer animation was causing Safari scroll jank because the nav is fixed and repaints on every frame */
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  text-decoration: none;
}

.nav-logo-text {
  height: 28px;
  width: auto;
  display: block;
}

.nav-logo span { color: var(--blue); margin-left: 0; }
/* Drop the wordmark a few px so it reads centered against the LD circle */
.nav-logo-text { position: relative; top: 3px; }

.nav-logo-icon {
  width: 42px;
  height: 42px;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  /* Push the nav links to the right so they sit next to the Book Now CTA */
  margin-left: auto;
  margin-right: 1rem;
}

.nav-links a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--off-white);
  padding: 0.5rem 0.85rem;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%; right: 50%;
  height: 2px;
  background: var(--blue);
  transition: all 0.2s ease;
}

.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after,
.nav-links a.active::after { left: 0.85rem; right: 0.85rem; }
.nav-links a.active { color: var(--blue); }

/* === DROPDOWN === */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--off-white);
  padding: 0.5rem 0.85rem;
  cursor: pointer;
  transition: color 0.2s;
  position: relative;
  text-decoration: none;
}

.nav-dropdown-trigger::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%; right: 50%;
  height: 2px;
  background: var(--blue);
  transition: all 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-trigger { color: var(--blue); }
.nav-dropdown:hover .nav-dropdown-trigger::after { left: 0.85rem; right: 0.85rem; }
.nav-dropdown-trigger.active { color: var(--blue); }
.nav-dropdown-trigger.active::after { left: 0.85rem; right: 0.85rem; }

.nav-dropdown-trigger svg,
.trigger-chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-top: 1px;
  opacity: 0.7;
}
.nav-dropdown:hover .nav-dropdown-trigger svg,
.nav-dropdown:hover .trigger-chevron { transform: rotate(180deg); opacity: 1; }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: rgba(5, 12, 26, 0.98);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.5rem 0;
  min-width: 210px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 200;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(5, 12, 26, 0.95);
  box-shadow: 0 12px 28px rgba(0,0,0,0.5);
}

.nav-dropdown-menu--3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-width: 540px;
  padding: 0.25rem;
  left: auto;
  right: 0;
}
.nav-dropdown-menu--3col a {
  border-bottom: none !important;
  border-radius: 6px;
  margin: 0.1rem;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: flex;
  flex-direction: column;
  padding: 0.8rem 1.25rem;
  transition: background 0.15s;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-dropdown-menu a:last-child { border-bottom: none; }
.nav-dropdown-menu a:hover { background: rgba(0, 102, 255, 0.08); }
.nav-dropdown-menu a::after { display: none; }

.dropdown-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.15s;
}
.nav-dropdown-menu a:hover .dropdown-title { color: var(--blue); }

.dropdown-sub {
  font-size: 0.75rem;
  color: var(--blue);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 3px;
  opacity: 0.8;
}

/* === NESTED SUBDROPDOWN === */
.nav-subdropdown {
  position: relative;
}

.nav-subdropdown > a {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.subdrop-text {
  display: flex;
  flex-direction: column;
}

.nav-subdropdown > a .subdrop-arrow {
  opacity: 0.5;
  transition: opacity 0.15s, transform 0.2s;
  flex-shrink: 0;
}

.nav-subdropdown:hover > a .subdrop-arrow {
  opacity: 1;
  transform: translateX(2px);
}

.nav-subdropdown:hover > a { background: rgba(0,102,255,0.08); }
.nav-subdropdown:hover > a .dropdown-title { color: var(--blue); }

.nav-subdropdown-menu {
  position: absolute;
  left: calc(100% + 4px);
  top: 0;
  background: rgba(5, 12, 26, 0.98);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.5rem 0;
  min-width: 190px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 300;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(5, 12, 26, 0.95);
  box-shadow: 0 12px 28px rgba(0,0,0,0.5);
}

.nav-subdropdown:hover .nav-subdropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Mobile dropdown sub-links */
.nav-mobile-sub {
  padding-left: 1.5rem !important;
  font-size: 1rem !important;
  color: var(--muted) !important;
  border-bottom: 1px solid rgba(255,255,255,0.04) !important;
}
.nav-mobile-sub:hover { color: var(--blue) !important; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
  margin-left: 0.5rem;
}

.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Animate hamburger to X when open */
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 56px; left: 0; right: 0;
  background: rgba(5, 12, 26, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem 1.5rem;
  z-index: 999;
  flex-direction: column;
  gap: 0;
  max-height: calc(100vh - 56px);
  overflow-y: auto;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--off-white);
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s;
  text-decoration: none;
}

.nav-mobile a:last-of-type { border-bottom: none; }
.nav-mobile a:hover { color: var(--blue); }
.nav-mobile .btn {
  margin-top: 1.25rem;
  width: 100%;
  justify-content: center;
  font-size: 0.9rem;
}
.nav-mobile-top {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--off-white);
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s;
  text-decoration: none;
  display: block;
}
.nav-mobile-top:hover { color: var(--blue); }

.nav-mobile-group {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-mobile-group-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  padding: 0.85rem 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--off-white);
  cursor: pointer;
  transition: color 0.2s;
  text-align: left;
}
.nav-mobile-group-trigger:hover { color: var(--blue); }
.nav-mobile-group.open .nav-mobile-group-trigger { color: var(--blue); }

.nav-mobile-chevron {
  flex-shrink: 0;
  opacity: 0.5;
  transition: transform 0.25s ease, opacity 0.2s;
}
.nav-mobile-group.open .nav-mobile-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-mobile-group-items {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.nav-mobile-group.open .nav-mobile-group-items {
  max-height: 600px;
}

.nav-mobile-sub {
  display: block;
  font-family: var(--font-head);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.6rem 0 0.6rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color 0.2s;
  text-decoration: none;
}
.nav-mobile-sub:hover { color: var(--blue); }
.nav-mobile-sub-2 {
  padding-left: 2rem;
  font-size: 0.78rem;
  opacity: 0.8;
}

/* === HERO CYCLE === */
.hero-cycle-line {
  display: block;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1), transform 1.1s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--white);
}

.hero-cycle-line .highlight {
  color: var(--blue);
}

.hero-cycle-line.fade-out {
  opacity: 0;
  transform: translateY(-20px);
}

.hero-cycle-line.fade-in {
  opacity: 0;
  transform: translateY(20px);
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: #050c1a; /* navy fallback while assets load */
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #050c1a 0%, #071425 40%, #0a1e38 100%);
  z-index: 0;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(5,12,26,0.92) 0%, rgba(5,12,26,0.65) 35%, rgba(5,12,26,0.0) 100%);
  z-index: 2;
}

.hero-giant-text {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 2rem;
  pointer-events: none;
  line-height: 1.05;
  opacity: 0.65;
}
.hero-giant-text span {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  /* size by the smaller of width and height so it never overgrows the hero vertically */
  font-size: clamp(3rem, min(17vw, 23vh), 20.5rem);
  /* Wider gradient with a bright highlight band that the shimmer animation sweeps across the text.
     Base tones match the previous static look so the text reads the same when the highlight is off-screen. */
  background: linear-gradient(
    100deg,
    rgba(244,247,250,0.62) 0%,
    rgba(244,247,250,0.62) 44%,
    rgba(255,255,255,1) 50%,
    rgba(244,247,250,0.62) 56%,
    rgba(244,247,250,0.62) 100%
  );
  background-size: 200% 100%;
  background-position: 150% 0;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 18px rgba(5,12,26,0.65));
  letter-spacing: -0.02em;
  display: block;
  white-space: nowrap;
  user-select: none;
  opacity: 0;
  /* Two animations: the original fade-in reveal, then a continuous shimmer sweep. */
  animation:
    heroWordReveal 1s ease-out forwards,
    heroShimmer 8s linear 1.4s 1;
}
.hero-giant-text span:nth-child(1) { animation-delay: 0.3s, 1.4s; }
.hero-giant-text span:nth-child(2) { animation-delay: 0.7s, 2.0s; }
/* Short desktop viewports (e.g. 13" laptops): shrink the giant wordmark so it
   doesn't overlap the stat bar below it */

@keyframes heroWordReveal {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Slides the bright highlight band from right to left across the text, then resets. */
@keyframes heroShimmer {
  0%   { background-position: 150% 0; }
  100% { background-position: -50% 0; }
}

/* Respect users who don't want motion — fall back to the static look. */
@media (prefers-reduced-motion: reduce) {
  .hero-giant-text span {
    animation: heroWordReveal 1s ease-out forwards;
    background-position: 0 0;
  }
}

.hero-eyebrow-br {
  position: absolute;
  top: clamp(7rem, min(10vw, 13vh), 15rem);
  left: clamp(1rem, 2.5vw, 2.5rem);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* === SCROLL INDICATOR === */
.scroll-indicator {
  position: absolute;
  bottom: 0.6rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  color: rgba(255,255,255,0.25);
  text-decoration: none;
  transition: color 0.3s;
}
.scroll-indicator:hover { color: rgba(255,255,255,0.75); }

.chevron-down {
  width: 22px;
  height: 22px;
  display: block;
  margin-top: -8px;
}
.chevron-down:first-child {
  animation: chevronFade1 1.6s ease-in-out infinite;
}
.chevron-down:last-child {
  animation: chevronFade2 1.6s ease-in-out infinite;
}

@keyframes chevronFade1 {
  0%, 100% { opacity: 0.35; transform: translateY(0); }
  50%       { opacity: 1;    transform: translateY(3px); }
}
@keyframes chevronFade2 {
  0%, 100% { opacity: 0.15; transform: translateY(0); }
  50%       { opacity: 0.7;  transform: translateY(4px); }
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
  width: 100%;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-eyebrow-line {
  width: 40px;
  height: 2px;
  background: var(--blue);
}

.hero-eyebrow-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(0.6rem, 1.1vw, 0.85rem);
  letter-spacing: clamp(0.1em, 0.5vw, 0.25em);
  text-transform: uppercase;
  color: var(--blue);
  white-space: nowrap;
}

.hero h1 {
  font-size: clamp(3.5rem, 9vw, 7rem);
  color: var(--white);
  margin-top: 0;
  margin-bottom: 0.25rem;
  line-height: 0.95;
}

.hero h1 .highlight {
  color: var(--blue);
  display: block;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 520px;
  margin: 1.5rem 0 2.5rem;
  font-weight: 300;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-stats {
  display: flex;
  gap: clamp(1rem, 3vw, 3rem);
  margin-top: 0;
  padding-top: 1rem;
  position: relative;
  flex-wrap: wrap;
}

.hero-stats { overflow: hidden; } /* clip the shimmer overflow */
.hero-stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(124,58,237,0.5) 20%, rgba(14,165,233,0.6) 50%, rgba(124,58,237,0.5) 80%, transparent 100%);
  animation: barShimmer 6s linear infinite;
  will-change: transform;
}


.hero-stat-num {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
}

.hero-stat-label {
  font-size: clamp(0.6rem, 1.1vw, 0.8rem);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
  white-space: nowrap;
}

/* === SECTIONS === */
.section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-full {
  padding: 6rem 2rem;
  background: var(--navy-mid);
}

.section-full .section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 3.5rem;
}

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

.section-header.centered .section-sub {
  margin: 0 auto;
}

/* === HOME TRIPS CAROUSEL === */
.home-carousel-outer {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
}
.home-carousel-wrap { overflow: hidden; }
.home-carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.45s cubic-bezier(0.25,0.46,0.45,0.94);
}
.home-carousel-slide { flex-shrink: 0; box-sizing: border-box; }
.home-carousel-slide .trip-card { height: 100%; }
.trip-card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.trip-card-link:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(14,165,233,0.18); }
.trip-card-link .btn { pointer-events: none; }
.home-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(14,165,233,0.15);
  border: 1px solid rgba(14,165,233,0.3);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s, opacity 0.3s;
  z-index: 10;
}
.home-carousel-btn:hover { background: rgba(14,165,233,0.35); }
.home-carousel-prev { left: 0; }
.home-carousel-next { right: 0; }
.home-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
}
.home-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(148,163,184,0.3);
  border: none; cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.home-dot.active { background: var(--blue); transform: scale(1.3); }

/* === TRIP CARDS === */
.trips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.trip-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.trip-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 0 1px var(--blue);
  cursor: pointer;
}

.card-overlay-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.trip-card .btn {
  position: relative;
  z-index: 2;
}

.trip-card-image {
  height: 220px;
  background: var(--navy-light);
  position: relative;
  overflow: hidden;
}

.trip-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.trip-card:hover .trip-card-image img {
  transform: scale(1.05);
}

.trip-card-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy-light), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  opacity: 0.4;
}

.trip-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 100%, 6px 100%);
  z-index: 3;
}
@media (max-width: 1100px) {
  .trip-badge { bottom: 1rem; }
}

/* On trip detail pages, the badge sits top-left inside the hero.
   The trip-hero already has margin-top: 108px to clear the fixed nav + bar. */
.trip-hero .trip-badge {
  top: 1rem !important;
  bottom: auto !important;
  left: 1rem !important;
}
/* Mobile: there's also a 36px announcement bar above the nav, so the
   trip-hero needs to start ~108px down (not 72px) to clear both bars,
   otherwise the badge ends up hidden under the nav. */
@media (max-width: 1100px) {
  .trip-hero {
    margin-top: 86px !important;
  }
}
@media (max-width: 720px) {
  .trip-hero .trip-badge {
    font-size: 0.68rem;
    padding: 0.28rem 0.65rem;
  }
}

/* Breathing room above first heading in lower trip content (e.g. "What's Included") */
.trip-content-lower h2:first-child { margin-top: 1.5rem !important; }

.trip-badge.popular {
  background: #f59e0b;
}

.trip-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.trip-difficulty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.difficulty-dots {
  display: flex;
  gap: 3px;
}

.difficulty-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
}

.difficulty-dot.active { background: var(--blue); }
.difficulty-dot.active.hard { background: #ef4444; }

.difficulty-label {
  font-size: 0.75rem;
  font-family: var(--font-head);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.trip-card h3 {
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.trip-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.trip-meta {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.trip-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--muted);
  font-family: var(--font-head);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.trip-meta-item svg { color: var(--blue); flex-shrink: 0; }

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

.trip-price {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.trip-price span {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 400;
  display: block;
  margin-top: 0.2rem;
  line-height: 1.3;
}

/* === TWO OPTIONS — SAME RIVER (advanced page) === */
.option-card {
  position: relative;
  transition: border-color 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
  cursor: pointer;
}
.option-card:hover {
  border-color: var(--blue) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(56, 189, 248, 0.18);
}
.option-card-cta {
  margin-top: 1rem;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.3s ease, color 0.3s ease;
}
.option-card-cta span {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.option-card:hover .option-card-cta {
  color: var(--blue-light, #38bdf8);
  gap: 0.6rem;
}
.option-card:hover .option-card-cta span {
  transform: translateX(4px);
}

/* === TRIP CARD BOOK NOW BUTTON === */
.trip-card-book-btn {
  font-size: 0.85rem;
  padding: 0.65rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition:
    background 0.3s ease,
    box-shadow 0.35s ease,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    letter-spacing 0.3s ease;
}
.trip-card-link:hover .trip-card-book-btn {
  background: var(--blue-light, #38bdf8) !important;
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.35),
    0 8px 22px rgba(56, 189, 248, 0.35);
  transform: translateX(3px);
  letter-spacing: 0.06em;
}
.trip-card-link:hover .trip-card-book-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  pointer-events: none;
  animation: tripBookBtnShine 0.9s ease-out forwards;
}
@keyframes tripBookBtnShine {
  0%   { left: -60%; }
  100% { left: 120%; }
}

/* Desktop raft float — locations divider */
.desktop-raft-float {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-250%);
  width: 320px;
  opacity: 1;
  pointer-events: none;
  z-index: 2;
  filter: brightness(1.1) drop-shadow(0 8px 24px rgba(0,0,0,0.5));
  will-change: transform;
}
@media (max-width: 1100px) {
  .desktop-raft-float { display: none; }
}

/* === WHY US === */
.why-raft-float {
  display: none;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.why-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 2rem 1.5rem;
  transition: border-color 0.3s, transform 0.3s;
  text-align: center;
}

.why-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
}

.why-icon {
  width: 52px;
  height: 52px;
  background: var(--blue-glow);
  border: 1px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.25rem;
}
.why-icon svg {
  width: 26px;
  height: 26px;
  color: var(--blue);
}

.why-card h3 {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.why-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

/* === LOCATIONS === */
.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.location-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  transition: border-color 0.3s;
}

.location-card:hover { border-color: var(--blue); }

.location-card-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy-light), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  opacity: 0.15;
}

.location-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,12,26,0.95) 40%, transparent 100%);
}

.location-card-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.location-tag {
  font-family: var(--font-head);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.location-card h3 {
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.location-card p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

/* === CTA BANNER === */
/* ── Quiz CTA Banner ── */
.quiz-cta-banner {
  background: linear-gradient(135deg, #050e20 0%, #071428 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 2rem;
}
.quiz-cta-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}
.quiz-cta-text { flex: 1; }
.quiz-cta-text h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  margin: 0.4rem 0 0.75rem;
  line-height: 1.1;
}
.quiz-cta-text p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 480px;
  margin: 0;
}
.quiz-cta-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.quiz-cta-note {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
@media (max-width: 768px) {
  .quiz-cta-inner {
    flex-direction: column;
    text-align: center;
    gap: 1.75rem;
  }
  .quiz-cta-text p { max-width: 100%; }
  .quiz-cta-action .btn { width: 100%; justify-content: center; }
}

.cta-banner {
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy-mid) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--blue-glow) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-banner h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

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

/* === TESTIMONIALS === */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
/* Testimonials as an auto-advancing carousel (all viewports) */
.testimonials-grid-4 {
  display: flex;
  grid-template-columns: unset;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 0.75rem;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}
.testimonials-grid-4::-webkit-scrollbar { display: none; }
.testimonials-grid-4 .testimonial-card {
  flex: 0 0 calc((100% - 1.5rem) / 3);
  scroll-snap-align: start;
}
@media (max-width: 1100px) {
  .testimonials-grid-4 .testimonial-card { flex-basis: calc((100% - 0.75rem) / 2); }
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
.testimonial-card .testimonial-author {
  margin-top: auto;
}

.testimonial-stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
  color: #f59e0b;
  font-size: 0.9rem;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--off-white);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-glow);
  border: 1px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--blue);
}

.testimonial-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
}

.testimonial-source {
  font-size: 0.78rem;
  color: var(--muted);
}

/* === PAGE HERO (inner pages) === */
.page-hero {
  display: flex;
  align-items: flex-end;
  min-height: 480px;
  margin-top: 108px;
  background: var(--navy-mid);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,12,26,0.55) 0%, rgba(5,12,26,0.22) 45%, rgba(5,12,26,0.05) 100%);
  pointer-events: none;
  z-index: 1;
}

.page-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  background: linear-gradient(to bottom, rgba(5,12,26,0) 0%, rgba(5,12,26,0.55) 55%, #050c1a 100%);
  pointer-events: none;
  z-index: 1;
}

.page-hero-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 2rem;
  position: relative;
  z-index: 2;
}

.page-hero h1, .page-hero .hero-display-title { font-size: clamp(2.5rem, 6vw, 5rem); color: var(--white); text-shadow: 0 2px 14px rgba(5,12,26,0.7); font-family: var(--font-head); font-weight: 700; text-transform: uppercase; line-height: 1.1; }
.page-hero p { font-size: 1.1rem; color: var(--muted); max-width: 560px; margin-top: 1rem; text-shadow: 0 2px 12px rgba(5,12,26,0.7); }
.page-hero .breadcrumb, .page-hero .section-label { text-shadow: 0 2px 12px rgba(5,12,26,0.7); }

/* === FLAT RATE PRICING SECTION === */
.pricing-truth-section {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 2rem;
}
.pricing-truth-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}
.pricing-truth-left h2 {
  font-size: 2.4rem;
  line-height: 1.1;
  margin: 0.5rem 0 1rem;
  color: var(--white);
}
.pricing-truth-left p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}
.pricing-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.pricing-compare-col {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.pricing-compare-col.ours {
  border-color: rgba(14,165,233,0.4);
  box-shadow: 0 0 24px rgba(14,165,233,0.1);
}
.pricing-compare-header {
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
}
.pricing-compare-label {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--off-white);
}
.pricing-compare-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}
.pricing-compare-tag.bad { background: rgba(239,68,68,0.15); color: #ef4444; }
.pricing-compare-tag.good { background: rgba(34,197,94,0.15); color: #22c55e; }
.pricing-compare-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
  color: var(--muted);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.pricing-compare-row.strike { text-decoration: line-through; opacity: 0.5; }
.pricing-compare-row.add { color: #ef4444; }
.pricing-compare-row.add span { color: #ef4444; font-weight: 600; }
.pricing-compare-row.check { color: var(--off-white); }
.pricing-compare-row.check span { color: #22c55e; font-size: 0.75rem; font-weight: 600; }
.pricing-compare-row span { font-weight: 600; color: var(--off-white); }
.pricing-compare-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.pricing-compare-total.bad { color: #ef4444; background: rgba(239,68,68,0.08); }
.pricing-compare-total.bad span { font-size: 1.1rem; }
.pricing-compare-total.good { color: #22c55e; background: rgba(34,197,94,0.08); }
.pricing-compare-total.good span { font-size: 1.1rem; }

@media (max-width: 900px) {
  .pricing-truth-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 480px) {
  .pricing-compare { grid-template-columns: 1fr; }
}

/* === FOOTER === */
.footer {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  padding: 4rem 2rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 1rem 0 1.5rem;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: var(--navy-light);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
  transition: all 0.2s;
}

.footer-social a:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}

.footer-col h3, .footer-col h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--muted);
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--blue); }

/* Plan Your Trip bare-anchor links */
.footer-col > a {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
  transition: color 0.2s;
  margin-bottom: 0.6rem;
  line-height: 1.4;
}
.footer-col > a:last-child { margin-bottom: 0; }
.footer-col > a:hover { color: var(--blue); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--muted);
}

/* === BREADCRUMB === */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1rem;
  font-family: var(--font-head);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.breadcrumb a { color: var(--blue); }
.breadcrumb span { color: var(--muted); }

/* === DIVIDER === */
.blue-line {
  width: 60px;
  height: 3px;
  background: var(--blue);
  margin: 1rem 0 1.5rem;
}

.blue-line.centered { margin: 1rem auto 1.5rem; }

/* === EMBED CONTAINERS === */
.embed-container {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 2rem;
  min-height: 400px;
}

/* === RESPONSIVE === */

/* ----------------------------------------------------------
   MID-DESKTOP HERO SCALING
   Prevent the giant LIQUID DESCENT watermark from colliding
   with the top-left eyebrow and the bottom stat row on smaller
   laptop screens (~1280–1500px wide). Shrinks the giant text
   progressively and nudges the overlays out of its path.
   ---------------------------------------------------------- */
@media (max-width: 1500px) {
  .hero-giant-text span {
    font-size: clamp(3rem, min(16vw, 23vh), 19rem);
    line-height: 1;
    /* Keep the shimmer gradient — only override font-size here.
       (Previously this rule replaced the gradient with a static one,
       which silently disabled the shimmer animation on most laptops.) */
  }
  .hero-eyebrow-br {
    top: clamp(9rem, min(12vw, 15vh), 18rem);
  }
  .hero-content {
    padding-bottom: 2.625rem; /* +10px so stat labels don't clip */
  }
}

@media (max-width: 1300px) {
  .hero-giant-text {
    padding: 0 1.5rem;
  }
  .hero-giant-text span {
    font-size: clamp(3rem, min(14.5vw, 23vh), 17rem);
  }
  .hero-eyebrow-br {
    top: clamp(9rem, min(12vw, 15vh), 18rem);
    left: clamp(1rem, 2vw, 2rem);
  }
  .hero-eyebrow-text {
    font-size: clamp(0.58rem, 0.95vw, 0.78rem);
    letter-spacing: clamp(0.1em, 0.4vw, 0.2em);
  }
  .hero-stats {
    gap: clamp(0.75rem, 2.2vw, 2.25rem);
  }
  .hero-content {
    padding: 0 1.5rem 2.375rem; /* +10px so stat labels don't clip */
  }
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .locations-grid { grid-template-columns: 1fr; }
}

/* Compress nav at medium widths before full hamburger kicks in */
@media (max-width: 1200px) {
  .nav { padding: 0 1.25rem; }
  .nav-link {
    font-size: 0.8rem;
    padding: 0.5rem 0.6rem;
    letter-spacing: 0.07em;
  }
  .nav-dropdown-trigger {
    font-size: 0.8rem;
    padding: 0.5rem 0.6rem;
    letter-spacing: 0.07em;
  }
  .nav-logo { font-size: 1rem; gap: 0.4rem; }
  .nav-cta .btn { padding: 0.55rem 1rem; font-size: 0.78rem; }
}

/* Switch to hamburger at 1100px */
@media (max-width: 1100px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .hero h1 { font-size: clamp(3rem, 10vw, 5rem); }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .section { padding: 4rem 1.5rem; }
  .section-full { padding: 4rem 1.5rem; }

  /* Mobile nav: frosted glass with glowing bottom edge */
  .nav {
    background: rgba(5, 12, 26, 0.78) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: none !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.4) !important;
    height: 56px !important;
  }
  .nav::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0; left: 0; right: 0;
    height: 2px !important;
    background: linear-gradient(90deg, transparent 0%, #0ea5e9 30%, #7c3aed 50%, #0ea5e9 70%, transparent 100%) !important;
    display: block !important;
  }
  .nav-logo { font-size: 1.35rem !important; }
  .nav-logo img:not(.nav-logo-text) { height: 34px !important; }
  .nav-logo-text { height: 22px !important; }
}

@media (max-width: 768px) {
  .hero-stats { display: none; }
  .section { padding: 3rem 1.25rem; }
  .section-full { padding: 3rem 1.25rem; }
}

@media (max-width: 480px) {
  .nav { padding: 0 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .locations-grid { grid-template-columns: 1fr; }
  /* Hero eyebrow: hide on very small phones — gets too cramped */
  .hero-eyebrow-br { display: none; }
}

/* === UTILITIES === */
.text-blue { color: var(--blue); }
.text-white { color: var(--white); }
.text-muted { color: var(--muted); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }

/* === BOOKING MODAL === */
.booking-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 12, 26, 0.88);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 1rem;
}
.booking-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.booking-modal {
  position: relative;
  background: #fff;
  border-radius: 6px;
  width: 100%;
  max-width: 420px;
  height: 90vh;
  max-height: 860px;
  overflow: hidden;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(14,165,233,0.15);
}
.booking-modal-overlay.active .booking-modal {
  transform: translateY(0) scale(1);
}
.booking-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--navy-mid);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
}
.booking-modal-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}
.booking-modal-subtitle {
  font-size: 0.78rem;
  color: var(--blue);
  font-family: var(--font-head);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.1rem;
}
.booking-modal-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.booking-modal-close:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.booking-modal-body {
  height: calc(100% - 72px);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
.booking-modal-body iframe {
  width: 100%;
  height: 1100px;
  border: none;
  display: block;
}
.booking-modal-loading {
  position: absolute;
  inset: 72px 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  gap: 1rem;
  pointer-events: none;
  transition: opacity 0.3s;
}
.booking-modal-loading.hidden { opacity: 0; }
.booking-modal-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #e2e8f0;
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.booking-modal-loading p {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  color: #64748b;
  letter-spacing: 0.05em;
}
@media (max-width: 600px) {
  .booking-modal { max-height: 95vh; border-radius: 4px; }
  .booking-modal-body { height: calc(95vh - 72px); }
}

/* ============================================
   COMPREHENSIVE MOBILE STYLES
   ============================================ */

/* --- Hero video/slideshow swap --- */
.mobile-hero-slides { display: none; }
.mobile-slide-dots { display: none; }
.mobile-hero-text-overlay { display: none; }
.hero-video-desktop { display: block; }

@media (max-width: 768px) {
  .hero-overlay {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-video-desktop { display: none; }
  .hero-poster-bg { display: none; } /* suppress poster flash on mobile */
  .mobile-hero-text-overlay { display: block; }

  .mobile-hero-slides {
    display: block;
    position: relative;
    flex: 1;
    overflow: hidden;
    z-index: 1;
  }
  .mobile-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }
  .mobile-slide.active { opacity: 1; }

  /* Text overlay: sits at bottom of the photo */
  .mobile-hero-text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 3rem 1.5rem 1.25rem;
    background: linear-gradient(to top, rgba(5,12,26,0.97) 0%, rgba(5,12,26,0.75) 40%, transparent 100%);
    text-align: center;
  }

  @keyframes mobile-hero-fadein {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .mobile-hero-tagline {
    animation: mobile-hero-fadein 0.7s ease forwards;
    animation-delay: 0.15s;
    opacity: 0;
  }
  .mobile-hero-heading {
    animation: mobile-hero-fadein 0.7s ease forwards;
    animation-delay: 0.35s;
    opacity: 0;
  }
  .mobile-hero-sub {
    animation: mobile-hero-fadein 0.7s ease forwards;
    animation-delay: 0.5s;
    opacity: 0;
  }
  .mobile-hero-cta {
    animation: mobile-hero-fadein 0.7s ease forwards;
    animation-delay: 0.65s;
    opacity: 0;
  }

  /* Dots */
  .mobile-slide-dots {
    display: flex;
    gap: 8px;
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
  }
  .mobile-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: background 0.3s;
  }
  .mobile-dot.active { background: #fff; }
}

/* --- Hero: home page --- */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  /* LIQUID DESCENT: centered naturally in the 16:9 frame */
  .hero-giant-text {
    display: flex;
    padding: 0 0.75rem;
    justify-content: center;
  }
  .hero-giant-text span {
    font-size: clamp(4.5rem, 18vw, 8rem);
    line-height: 1;
  }

  /* Hide stats inside the video frame on mobile — just video + text */
  .hero-content { display: none; }

  /* "Colorado Whitewater Rafting": top-left of the frame */
  .hero-eyebrow-br {
    display: flex;
    top: 0.75rem;
    left: 1rem;
    gap: 0.5rem;
  }
  .hero-eyebrow-line { width: 20px; }
  .hero-eyebrow-text { font-size: 0.5rem; letter-spacing: 0.1em; }

  /* Scroll indicator: hide */
  .scroll-indicator { display: none; }

  /* CTA banner */
  .cta-banner {
    padding: 3.5rem 1.25rem;
  }

  /* Inner page hero */
  .page-hero {
    min-height: 380px;
  }
  .page-hero-inner {
    padding: 2.5rem 1.25rem;
  }

  /* Section spacing */
  .section { padding: 3.5rem 1.25rem; }
  .section-full { padding: 3.5rem 1.25rem; }
  #why-different { background-image: url('../images/misc/verticletwoweekpeak.jpg') !important; background-attachment: scroll !important; background-size: cover !important; background-position: center !important; }
  .pricing-truth-section { padding: 3.5rem 1.25rem; }

  /* Carousel: smaller arrow gutters */
  .home-carousel-outer {
    padding: 0 2rem;
  }
  .home-carousel-btn {
    width: 36px;
    height: 36px;
  }

  /* Testimonials: full width */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer { padding: 3rem 1.25rem 1.5rem; }
}

/* --- Small phones (≤480px) --- */
@media (max-width: 480px) {
  /* Hero h1 a touch smaller */
  .hero h1 {
    font-size: clamp(2.4rem, 9vw, 3.5rem);
  }

  /* Stat labels can wrap on tiny screens */
  .hero-stat-label { white-space: normal; }

  /* Hero actions: full-width buttons */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    text-align: center;
    justify-content: center;
    width: 100%;
  }

  /* Section titles */
  .section-title { font-size: 1.9rem; }
  .page-hero h1, .page-hero .hero-display-title { font-size: 2rem; }

  /* Location cards: stack */
  .locations-grid { grid-template-columns: 1fr; }

  /* Pricing compare: stack */
  .pricing-compare { grid-template-columns: 1fr; }

  /* Footer: 1 column */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* Announcement bar: smaller text */
  .announcement-bar { font-size: 0.75rem; height: 30px; }

  /* Inner page hero */
  .page-hero { min-height: 320px; }

  /* Carousel */
  .home-carousel-outer { padding: 0 1.5rem; }

  /* CTA banner */
  .cta-banner { padding: 3rem 1.25rem; }
  .cta-banner h2 { font-size: 1.8rem; }
  .cta-banner-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-banner-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Raft float — mobile only */
  .why-raft-float {
    display: block;
    position: absolute;
    top: 215px;
    left: 50%;
    transform: translateX(-250%);
    width: 45%;
    max-width: 500px;
    opacity: 1;
    pointer-events: none;
    z-index: 3;
    filter: brightness(1.5);
    will-change: transform;
  }

  /* Why cards — full centered cards on mobile, matching desktop */
  .why-grid { grid-template-columns: 1fr; gap: 0.85rem; }
  .why-card { padding: 1.5rem 1.25rem; cursor: default; }
  .why-card:hover { transform: none; }
  .why-icon { margin: 0 auto 0.85rem; }
  .why-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; white-space: normal; }
  .why-card p { font-size: 0.85rem; line-height: 1.6; }

  /* Trip cards grid */
  .trips-grid { grid-template-columns: 1fr; }

  /* Trip card image: shorter on small screens */
  .trip-card-image { height: 180px; }

  /* Pricing left heading */
  .pricing-truth-left { text-align: center; }
  .pricing-truth-left h2 { font-size: 1.8rem; }
  .pricing-truth-left .btn { display: inline-block; }
}

/* --- Trip card text: smaller on mobile --- */
@media (max-width: 768px) {
  .trip-card h3 { font-size: 1.25rem; }
  .trip-card p { font-size: 0.82rem; }
  .trip-card-body { padding: 1.1rem; }
  .trip-price { font-size: 1.45rem; }
  .trip-meta-item { font-size: 0.72rem; }
  .difficulty-label { font-size: 0.68rem; }
}

/* --- Trip inner pages: main layout and rapids grid --- */
@media (max-width: 768px) {
  .trip-body {
    padding: 1rem 1.25rem 3rem !important;
    gap: 2rem !important;
    grid-template-columns: 1fr !important;
  }
  .trip-sidebar {
    position: static !important;
  }
  .rapids-grid {
    grid-template-columns: 1fr !important;
  }
  .cc-tabs { padding: 0.5rem 1rem !important; }
}

/* --- Reusable layout helpers (used in about, why-us, etc.) --- */
.stats-bar-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.story-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 768px) {
  .stats-bar-4 { grid-template-columns: 1fr 1fr; gap: 1.25rem 2rem; }
  .story-two-col { grid-template-columns: 1fr; gap: 2rem; }
  .story-two-col .story-image-placeholder { height: 240px !important; }
}
@media (max-width: 480px) {
  .stats-bar-4 { gap: 1rem 1.5rem; }
  .stats-bar-4 [style*="font-size:3.5rem"] { font-size: 2.5rem !important; }
}

/* --- Nav logo sizing on small screens --- */
@media (max-width: 480px) {
  .nav-logo { font-size: 0.85rem; gap: 0.3rem; }
  .nav-logo-icon { width: 30px; height: 30px; font-size: 0.95rem; }
}

/* --- Section headers: center on mobile --- */
@media (max-width: 640px) {
  .section-header:not(.centered) {
    text-align: center;
  }
  .section-header:not(.centered) .section-sub {
    margin: 0 auto;
  }
  .section-header:not(.centered) .blue-line {
    margin: 1rem auto 1.5rem;
  }
  .hero-content { padding-bottom: 3.5rem; }
}

/* --- Hero h1 spacing on mobile --- */
@media (max-width: 640px) {
  .hero-sub { max-width: 100%; }
}

/* --- Guides / group cards (inner pages with inline CSS) --- */
@media (max-width: 600px) {
  /* Guide grid: force 1 column */
  [style*="guide"] { width: 100% !important; }

  /* General inline grids that might be 2-col */
  .section-body-grid,
  .two-col-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================
   MOBILE STATS STRIP (below hero, mobile only)
   ============================================ */
.hero-stats-strip { display: none; }

@media (max-width: 768px) {
  .hero-stats-strip {
    display: block;
    background: var(--navy-mid);
    border-bottom: 1px solid var(--border);
  }
  .hero-stats-strip-inner {
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    padding: 0.9rem 0.5rem;
  }
  .stats-strip-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.18rem;
    flex: 1;
  }
  .stats-strip-num {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--blue);
    letter-spacing: 0.02em;
    line-height: 1;
  }
  .stats-strip-label {
    font-size: 0.6rem;
    color: var(--muted);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    line-height: 1.35;
  }
  .stats-strip-divider {
    width: 1px;
    background: var(--border);
    align-self: stretch;
    margin: 0.2rem 0;
  }
}

/* ============================================
   MOBILE UTILITY BAR (Call / Directions / Book)
   Order: Announcement bar → Nav → Utility bar → Hero
   ============================================ */
.mobile-utility-bar { display: none; }

@media (max-width: 1100px) {
  /* Announcement bar: fixed at very top */
  .announcement-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1003;
    margin-top: 0 !important;
  }
  /* Nav: fixed below announcement bar (~36px) */
  .nav { top: 30px !important; z-index: 1002; }

  /* Utility bar: scrolls with page, pushed below fixed bars */
  .mobile-utility-bar {
    display: flex;
    align-items: stretch;
    background: linear-gradient(90deg, #0d1f35 0%, #132d4a 40%, #0d1f35 60%, #1a3a5c 100%);
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: relative;
    z-index: 999;
    margin-top: 86px;
    height: 44px;
    animation: slideDownFade 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.35s;
  }
  .mobile-util-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--off-white);
    text-decoration: none;
    border-right: 1px solid rgba(255,255,255,0.08);
    position: relative;
    transition: background 0.2s ease;
    animation: fadeInUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .mobile-util-btn:nth-child(1) { animation-delay: 0.55s; }
  .mobile-util-btn:nth-child(2) { animation-delay: 0.65s; }
  .mobile-util-btn:nth-child(3) { animation-delay: 0.75s; }
  .mobile-util-btn:last-child { border-right: none; }
  .mobile-util-btn svg { flex-shrink: 0; transition: transform 0.3s ease; }
  .mobile-util-btn:active { background: rgba(255,255,255,0.05); }
  .mobile-util-btn:active svg { transform: scale(1.15); }
  .mobile-util-directions {
    background: none;
    border: none;
    border-right: 1px solid rgba(255,255,255,0.08);
    cursor: pointer;
    font-family: inherit;
  }
  .mobile-directions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0d1f35;
    border-top: 1px solid rgba(255,255,255,0.12);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
    display: none;
    flex-direction: column;
    z-index: 1001;
  }
  .mobile-directions-dropdown.is-open {
    display: flex;
    animation: slideDownFade 0.25s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .mobile-directions-dropdown a {
    display: flex;
    flex-direction: column;
    padding: 0.85rem 1.1rem;
    text-decoration: none;
    color: var(--off-white);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background 0.2s ease;
  }
  .mobile-directions-dropdown a:last-child { border-bottom: none; }
  .mobile-directions-dropdown a:active { background: rgba(56, 189, 248, 0.08); }
  .mobile-directions-dropdown a strong {
    font-family: var(--font-head);
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }
  .mobile-directions-dropdown a span {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.62);
    margin-top: 0.2rem;
    letter-spacing: 0.01em;
  }
  .mobile-util-book {
    background: var(--blue);
    color: #fff;
    font-weight: 800;
    position: relative;
    overflow: hidden;
  }
  /* Subtle glowing pulse on Book Now button */
  .mobile-util-book::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.25) 50%, transparent 100%);
    transform: translateX(-100%);
    animation: bookShimmer 4s ease-in-out infinite;
    animation-delay: 2s;
    pointer-events: none;
  }
  @keyframes bookShimmer {
    0%, 100% { transform: translateX(-100%); }
    50%      { transform: translateX(100%); }
  }
  /* Hero sits directly below the utility bar (which already offsets for fixed bars) */
  .hero { margin-top: 0 !important; }
  .page-hero { margin-top: 86px; }
}

/* ============================================
   MOBILE HERO CTA OVERLAY
   ============================================ */
.mobile-hero-cta { display: none; }
@media (max-width: 768px) {
  /* Hero locked to the viewport height captured at page load via JS (--ld-vh).
     This prevents ANY resize when Chrome's mobile URL bar shows/hides during
     scroll. Fallback to svh for browsers that don't run our JS. */
  .hero {
    min-height: calc(100svh - 120px) !important;
    min-height: calc(var(--ld-vh, 100svh) - 120px) !important;
    height: calc(100svh - 120px) !important;
    height: calc(var(--ld-vh, 100svh) - 120px) !important;
    aspect-ratio: unset !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
  }
  /* Hide all desktop hero elements */
  .hero-giant-text,
  .hero-content,
  .hero-eyebrow-br,
  .scroll-indicator { display: none !important; }

  /* Buttons-only block below the photo */
  .mobile-hero-cta {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    position: static;
    flex-shrink: 0;
    z-index: 10;
    padding: 1rem 1.25rem 1.25rem;
    background: #050c1a;
  }
  .mobile-hero-tagline {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue);
    margin: 0 0 0.5rem;
  }
  .mobile-hero-heading {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 8vw, 2.6rem);
    font-weight: 900;
    line-height: 1.05;
    margin: 0 0 0.5rem;
    text-transform: uppercase;
    color: #fff;
  }
  .hero-word-colorado {
    background: linear-gradient(180deg, #ffffff 0%, #d8e8f4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .hero-word-rafting {
    background: linear-gradient(180deg, #38bdf8 0%, #0369a1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .mobile-hero-sub {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.75);
    margin: 0;
  }
  .mobile-hero-book-btn {
    flex: 1;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 50%, #0369a1 100%);
    color: #fff;
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    padding: 0.9rem 0.5rem;
    border-radius: 4px;
  }
  .mobile-hero-trips-btn {
    flex: 1;
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 50%, rgba(255,255,255,0.08) 100%);
    color: #fff;
    font-family: var(--font-head);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    padding: 0.9rem 0.5rem;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.5);
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s, color 0.2s;
  }
  .mobile-hero-trips-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.18) 50%, transparent 100%);
    animation: trips-btn-shimmer 2.8s ease-in-out infinite;
  }
  @keyframes trips-btn-shimmer {
    0%   { left: -75%; }
    60%  { left: 125%; }
    100% { left: 125%; }
  }

}

/* ============================================
   MOBILE STICKY BOOK NOW BAR
   ============================================ */
.mobile-sticky-cta { display: none; }

@media (max-width: 1100px) {
  .mobile-sticky-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.95);
    border-top: 1px solid var(--border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.5rem 1rem;
    padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));
    transform: translateY(120%);
    transition: transform 0.35s ease;
    pointer-events: none;
  }
  .mobile-sticky-cta.is-visible {
    transform: translateY(0);
    pointer-events: auto;
  }
  .mobile-sticky-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
  }
  .mobile-sticky-text .mobile-sticky-title {
    display: block;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.02em;
    color: var(--white);
    line-height: 1.15;
  }
  .mobile-sticky-text .mobile-sticky-sub {
    display: block;
    font-size: 0.68rem;
    color: var(--muted);
    margin-top: 0.15rem;
  }
  .mobile-sticky-text .mobile-sticky-call {
    color: var(--blue-light, #4ea8ff);
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.02em;
    font-size: 0.68rem;
    padding: 2px 0;
    border-bottom: 1px solid rgba(78, 168, 255, 0.4);
  }
  .mobile-sticky-text .mobile-sticky-call:active {
    color: var(--white);
  }
  .mobile-sticky-btn {
    flex-shrink: 0;
    font-family: var(--font-head);
    font-size: 0.72rem !important;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.55rem 1.25rem !important;
    white-space: nowrap;
    background: var(--blue) !important;
    color: var(--white) !important;
    border: none !important;
    transform: skewX(-6deg);
    clip-path: polygon(8% 0%, 100% 0%, 92% 100%, 0% 100%);
    text-decoration: none;
    border-radius: 0 !important;
  }
  /* Push footer above the sticky bar */
  body { padding-bottom: 56px; }
}

/* ============================================
   SCROLL-TRIGGERED FADE-INS
   ============================================ */
.fade-in-section {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1), transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   SCROLL-REVEAL ANIMATIONS
   ============================================ */
.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.scroll-delay-1 { transition-delay: 0.1s; }
.scroll-delay-2 { transition-delay: 0.25s; }
.scroll-delay-3 { transition-delay: 0.4s; }
.scroll-delay-4 { transition-delay: 0.55s; }

/* Blue line: grows from left */
.blue-line.scroll-reveal {
  transform: scaleX(0) !important;
  transform-origin: left;
  opacity: 1;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.blue-line.scroll-reveal.is-visible {
  transform: scaleX(1) !important;
}

/* Slide from left */
.scroll-reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.scroll-reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide from right */
.scroll-reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.scroll-reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stats: scale up entrance */
.scroll-reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.scroll-reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* ============================================
   MOBILE TESTIMONIAL CAROUSEL
   ============================================ */
@media (max-width: 600px) {
  .testimonials-grid-4 {
    display: flex !important;
    grid-template-columns: unset !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0.75rem;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
  }
  .testimonials-grid-4::-webkit-scrollbar { display: none; }
  .testimonials-grid-4 .testimonial-card {
    min-width: 85vw;
    max-width: 85vw;
    scroll-snap-align: center;
    flex-shrink: 0;
    overflow: hidden;
  }
  .testimonials-grid-4 .testimonial-card blockquote {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 1rem;
  }
  .testimonial-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s;
  }
  .testimonial-dot.active {
    background: var(--blue);
  }
}
@media (min-width: 601px) {
  .testimonial-dots { display: none; }
}

/* ============================================
   NAV BOOK NOW BUTTON — SUBTLE SHIMMER SWEEP (desktop only)
   ============================================ */
@media (min-width: 1101px) {
  .nav-cta .btn-primary {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: opacity 0.4s ease;
    background: linear-gradient(to top, #0369a1 0%, #0284c7 50%, #0ea5e9 100%);
  }
  /* Quietly yield to the sticky bottom bar once it's visible */
  body.ld-sticky-visible .nav-cta .btn-primary {
    opacity: 0.72;
  }
  body.ld-sticky-visible .nav-cta .btn-primary:hover {
    opacity: 1;
  }
  .nav-cta .btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 45%;
    height: 100%;
    background: linear-gradient(
      100deg,
      transparent 0%,
      rgba(255, 255, 255, 0.13) 50%,
      transparent 100%
    );
    transform: skewX(-20deg);
    pointer-events: none;
    animation: navBtnShimmer 6.5s ease-in-out infinite;
    animation-delay: 2.5s;
    z-index: 1;
  }
  @keyframes navBtnShimmer {
    0%   { left: -60%; }
    16%  { left: 120%; }
    100% { left: 120%; }
  }
}

/* =========================================================
   PEEK CAROUSEL LIGHTBOX
   Full-screen image viewer triggered from .peek-slide images.
   Wired up by main.js — no per-page HTML required.
   ========================================================= */

/* Subtle expand-icon shown on the active carousel slide */
.peek-slide {
  position: relative;
}
.peek-expand-hint {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: rgba(10, 22, 40, 0.72);
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.2s ease, border-color 0.2s ease;
  pointer-events: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 4;
}
/* Active (centered) slide reveals the icon */
.peek-slide[style*="opacity: 1"] .peek-expand-hint,
.peek-slide:not([style*="opacity"]) .peek-expand-hint {
  opacity: 0.92;
  transform: scale(1);
}
.peek-slide:hover .peek-expand-hint {
  background: rgba(56, 189, 248, 0.85);
  border-color: transparent;
}

/* Lightbox overlay */
.ld-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.28s ease;
}
.ld-lightbox.is-open {
  display: flex;
  opacity: 1;
}
.ld-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 18, 0.94);
  cursor: zoom-out;
}
.ld-lightbox-stage {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: 92vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}
.ld-lightbox-img {
  max-width: 92vw;
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: auto;
}
.ld-lightbox-video {
  max-width: 92vw;
  max-height: 86vh;
  width: auto;
  height: auto;
  background: #000;
  border-radius: 6px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  pointer-events: auto;
}
.ld-lightbox-counter {
  margin-top: 1rem;
  font-family: var(--font-head, "Oswald", sans-serif);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  pointer-events: none;
}

/* Close button */
.ld-lightbox-close {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  z-index: 3;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  background: rgba(10, 22, 40, 0.7);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s ease, border-color 0.2s ease,
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.ld-lightbox-close:hover {
  background: rgba(56, 189, 248, 0.85);
  border-color: transparent;
  transform: rotate(90deg);
}

/* Prev / Next arrows */
.ld-lightbox-prev,
.ld-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  background: rgba(10, 22, 40, 0.7);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s ease, border-color 0.2s ease,
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.ld-lightbox-prev { left: 1.6rem; }
.ld-lightbox-next { right: 1.6rem; }
.ld-lightbox-prev:hover,
.ld-lightbox-next:hover {
  background: rgba(56, 189, 248, 0.85);
  border-color: transparent;
}
.ld-lightbox-prev:hover { transform: translateY(-50%) translateX(-3px); }
.ld-lightbox-next:hover { transform: translateY(-50%) translateX(3px); }

/* Mobile: shrink the controls and tighten the layout */
@media (max-width: 720px) {
  .ld-lightbox-img {
    max-width: 96vw;
    max-height: 78vh;
  }
  .ld-lightbox-stage {
    max-width: 96vw;
    max-height: 86vh;
  }
  .ld-lightbox-close {
    top: max(0.9rem, env(safe-area-inset-top));
    right: 0.9rem;
    width: 2.6rem;
    height: 2.6rem;
  }
  .ld-lightbox-prev,
  .ld-lightbox-next {
    width: 2.8rem;
    height: 2.8rem;
  }
  .ld-lightbox-prev { left: 0.6rem; }
  .ld-lightbox-next { right: 0.6rem; }
  .peek-expand-hint {
    width: 1.85rem;
    height: 1.85rem;
    top: 0.65rem;
    right: 0.65rem;
  }
}

/* Local-area "Explore" tabs: segmented pill grid on mobile (overrides per-page inline styles) */
@media (max-width: 640px) {
  .area-tabs {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem !important;
    border-bottom: none !important;
    margin: 1.5rem 0 1.75rem !important;
  }
  .area-tab {
    border: 1px solid var(--border) !important;
    border-radius: 6px !important;
    padding: 0.7rem 0.5rem !important;
    margin: 0 !important;
    text-align: center;
    font-size: 0.72rem !important;
    line-height: 1.2;
  }
  .area-tab.active {
    background: var(--blue) !important;
    border-color: var(--blue) !important;
    color: #fff !important;
  }
}

/* Local "Which Trip" cards: small matching thumbnail per card on mobile,
   in place of the big swap-photo (which can blank on back-cache restore) */
.trip-rec .rec-thumb { display: none; }
@media (max-width: 760px) {
  .which-photo { display: none !important; }
  .which-split .trip-recs { grid-template-columns: 1fr !important; }
  .trip-rec { position: relative; padding-right: 84px !important; }
  .trip-rec .rec-thumb {
    display: block;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--border);
  }
}

/* === Trip pages — mobile fixes: cross-link tabs + "See the Adventure" spacing ===
   These override the per-page inline <style> blocks (which load after style.css),
   so !important is required on the conflicting properties. */
@media (max-width: 900px) {
  /* a little breathing room above the in-column "See the Adventure" carousel */
  .trip-media { margin-top: 1.75rem !important; }

  /* cross-trip tab bar: keep each label on one line and scroll horizontally,
     instead of cramped text that wraps and misaligns */
  .cc-tabs { padding-left: 0 !important; padding-right: 0 !important; }
  .cc-tabs-inner {
    justify-content: flex-start !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 1rem;
  }
  .cc-tabs-inner::-webkit-scrollbar { display: none; }
  .cc-tab {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0.5rem 0.9rem !important;
    letter-spacing: 0.07em !important;
  }
}
