/* ========================================
   DESIGN TOKENS
   ======================================== */
:root {
  --font-heading: 'DM Serif Display', serif;
  --font-body: 'DM Sans', sans-serif;
  --bg-primary: #0b0e13;
  --bg-secondary: #111620;
  --bg-surface: #171d2a;
  --bg-surface-hover: #1e2638;
  --text-primary: #f0ece4;
  --text-secondary: #a09a8e;

  /* t-00360 — bumped from #5e5a52 (CR ~2.8) to #928e83 (CR ~5.9 on
     bg_primary) so WCAG AA normal-text contrast holds on every
     dark surface. */
  --text-muted: #928e83;
  --accent: #c8944a;
  --accent-hover: #daa560;
  --accent-subtle: rgb(200, 148, 74, 0.1);
  --accent-glow: 0 0 30px rgb(200, 148, 74, 0.2);

  /* t-00360 — text color on top of an --accent fill. Dark theme uses
     near-black on the warm gold (#0b0e13 on #c8944a = CR 7.17). Light
     theme overrides to white on a darker accent so axe-core's WCAG AA
     check passes in both themes. */
  --on-accent: #0b0e13;
  --border: #252b38;
  --border-subtle: #1c2230;
  --shadow-sm: 0 1px 3px rgb(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgb(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 40px rgb(0, 0, 0, 0.4);
  --shadow-xl: 0 24px 80px rgb(0, 0, 0, 0.5);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

/* ========================================
   GRAIN OVERLAY
   ======================================== */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  z-index: 9999;
}

/* ========================================
   LAYOUT UTILITY
   ======================================== */
.container {
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.section {
  padding-block: clamp(4rem, 10vw, 8rem);
}

.section-features {
  background: var(--bg-secondary);
}

.section-description-spaced {
  margin-top: 1rem;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

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

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 5vw, 3rem);
  transition:
    background 0.4s ease,
    padding 0.4s ease,
    backdrop-filter 0.4s ease;
}

.nav.scrolled {
  background: rgb(11, 14, 19, 0.88);
  backdrop-filter: blur(16px) saturate(180%);
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-link {
  position: relative;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.55rem 1.35rem;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 2rem;
  transition: all 0.25s ease;
}

.nav-cta:hover {
  background: var(--accent-hover);
  box-shadow: var(--accent-glow);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
  display: block;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--bg-primary);
    gap: 2.5rem;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
      visibility 0.45s;
  }

  .nav-links.active {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .nav-link {
    font-size: 1.35rem;
  }

  .nav-cta {
    font-size: 1rem;
    padding: 0.7rem 1.75rem;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

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

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

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

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgb(11, 14, 19, 0.55) 0%,
      rgb(11, 14, 19, 0.4) 35%,
      rgb(11, 14, 19, 0.88) 100%
    ),
    linear-gradient(135deg, rgb(11, 14, 19, 0.65) 0%, rgb(11, 14, 19, 0.25) 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 52rem;
  padding: clamp(6rem, 15vw, 10rem) clamp(1.25rem, 5vw, 3rem) clamp(4rem, 10vw, 8rem);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.15rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgb(11, 14, 19, 0.55);
  border: 1px solid rgb(200, 148, 74, 0.3);
  border-radius: 2rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
  animation: fadeUp 0.8s ease-out both;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 16px rgb(0, 0, 0, 0.4);
  animation: fadeUp 0.8s ease-out 0.15s both;
}

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

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
  color: var(--text-primary);
  opacity: 0.82;
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: 2.75rem;
  text-shadow: 0 1px 8px rgb(0, 0, 0, 0.5);
  animation: fadeUp 0.8s ease-out 0.3s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease-out 0.45s both;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: fadeIn 1s ease-out 1s both;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: shimmer 2s ease-in-out infinite alternate;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 3rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
  background: var(--accent);

  /* t-00360 — paired text color: dark on light accent (dark theme),
     white on dark accent (light theme). See --on-accent in :root and
     [data-theme='light']. */
  color: var(--on-accent);
  box-shadow: 0 4px 20px rgb(200, 148, 74, 0.25);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 30px rgb(200, 148, 74, 0.35);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-subtle);
}

/* ========================================
   DESTINATIONS
   ======================================== */
.destinations-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.section-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 28rem;
  line-height: 1.6;
}

.dest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 22rem 22rem;
  gap: 1.25rem;
}

.dest-grid .dest-card:first-child {
  grid-row: span 2;
}

.dest-card {
  position: relative;
  border-radius: 1.15rem;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-surface);
}

.dest-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.dest-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgb(11, 14, 19, 0.85) 0%,
    rgb(11, 14, 19, 0.1) 50%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  transition: background 0.4s ease;
}

.dest-card:hover .dest-card-overlay {
  background: linear-gradient(
    0deg,
    rgb(11, 14, 19, 0.9) 0%,
    rgb(11, 14, 19, 0.2) 60%,
    transparent 100%
  );
}

.dest-card-location {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.dest-card-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.dest-card-name a {
  color: inherit;
  text-decoration: none;
}

.dest-card-name a::after {
  content: '';
  position: absolute;
  inset: 0;
}

.dest-card-price {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.dest-card-price strong {
  color: var(--text-primary);
  font-weight: 600;
}

.dest-card-arrow {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  background: rgb(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  color: var(--text-primary);
  font-size: 1rem;
  opacity: 0;
  transform: translate(-8px, 8px);
  transition: all 0.35s ease;
}

.dest-card:hover .dest-card-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

@media (max-width: 900px) {
  .dest-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .dest-grid .dest-card:first-child {
    grid-row: span 1;
  }

  .dest-card {
    min-height: 18rem;
  }
}

@media (max-width: 560px) {
  .dest-grid {
    grid-template-columns: 1fr;
  }

  .dest-card {
    min-height: 20rem;
  }
}

/* ========================================
   STATS BAR
   ======================================== */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ========================================
   FEATURES / WHY US — BENTO GRID
   ======================================== */
.features-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.features-header .section-description {
  margin-inline: auto;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(14rem, auto);
  gap: 1.25rem;
}

.bento-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 1.25rem;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
}

.bento-item:hover {
  border-color: var(--border);
  background: var(--bg-surface-hover);
}

.bento-wide {
  grid-column: span 2;
}

.bento-icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 0.85rem;
  background: var(--accent-subtle);
  border: 1px solid rgb(200, 148, 74, 0.15);
  color: var(--accent);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.bento-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
}

.bento-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.bento-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.bento-item:hover::after {
  opacity: 0.5;
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-wide {
    grid-column: span 1;
  }
}

/* ========================================
   TOURS
   ======================================== */
.tours-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.tour-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: 1.5rem;
}

.tour-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 1.15rem;
  overflow: hidden;
  transition: all 0.35s ease;
}

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

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

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

.tour-card-img-wrap {
  overflow: hidden;
  position: relative;
}

.tour-card-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.85rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 2rem;
}

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

.tour-card-duration {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.tour-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
}

.tour-card-desc {
  flex: 1;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

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

.tour-card-price {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--accent);
}

.tour-card-price small {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
}

.tour-card-btn {
  text-decoration: none;
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
  border-radius: 2rem;
  background: transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--font-body);
}

.tour-card-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-subtle);
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials {
  background: var(--bg-secondary);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: 1.5rem;
}

.testimonial {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.25rem;
  background: var(--bg-surface);
  border-radius: 1.15rem;
  border: 1px solid var(--border-subtle);
}

.testimonial-stars {
  display: flex;
  gap: 0.2rem;
  color: var(--accent);
  font-size: 0.85rem;
  margin-bottom: 1.15rem;
}

.testimonial-text {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}

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

.testimonial-avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-subtle), var(--bg-surface-hover));
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--accent);
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

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

/* ========================================
   CTA / NEWSLETTER
   ======================================== */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-card {
  position: relative;
  padding: clamp(3rem, 8vw, 5rem) clamp(2rem, 6vw, 4rem);
  background:
    radial-gradient(ellipse at 20% 80%, rgb(200, 148, 74, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgb(200, 148, 74, 0.08) 0%, transparent 50%),
    var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  text-align: center;
  overflow: hidden;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

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

.cta-text {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 32rem;
  margin-inline: auto;
  margin-bottom: 2.25rem;
  line-height: 1.6;
}

.cta-form {
  display: flex;
  gap: 0.75rem;
  max-width: 28rem;
  margin-inline: auto;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-input {
  flex: 1;
  min-width: 12rem;
  padding: 0.85rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-primary);
  background: var(--bg-primary);
  border: 1.5px solid var(--border);
  border-radius: 3rem;
  transition: all 0.25s ease;
}

.cta-input::placeholder {
  color: var(--text-muted);
}

.cta-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-subtle);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 5vw, 3rem) 2rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  max-width: 72rem;
  margin-inline: auto;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer-brand span {
  color: var(--accent);
}

.footer-description {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.65;
  max-width: 20rem;
}

.footer-heading {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  margin-bottom: 1.35rem;
}

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

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: 72rem;
  margin-inline: auto;
  margin-top: 3.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-version {
  display: none;
  margin-left: 0.5rem;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
}

.footer-version.visible {
  display: inline;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: all 0.25s ease;
}

.footer-socials a:hover {
  background: var(--accent-subtle);
  border-color: var(--accent);
  color: var(--accent);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-grid > :first-child {
    grid-column: span 2;
  }
}

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

  .footer-grid > :first-child {
    grid-column: span 1;
  }
}

/* ========================================
   VISUALLY HIDDEN
   ======================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ========================================
   SKIP LINK (a11y)
   ======================================== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  padding: 0.6rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--on-accent);
  background: var(--accent);
  border-radius: 0 0 0.6rem 0.6rem;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 0;
  outline: 2px solid var(--text-primary);
  outline-offset: 2px;
}

/* ========================================
   THEME TOGGLE
   ======================================== */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  margin-left: 0.25rem;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  color: var(--text-secondary);
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.theme-toggle:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-subtle);
}

.theme-toggle__icon {
  display: block;
}

/* Default (dark theme): show the sun icon (toggle to light), hide moon. */
.theme-toggle__icon--moon {
  display: none;
}

.theme-toggle__icon--sun {
  display: block;
}

/* Light theme: show moon (toggle to dark), hide sun. */
[data-theme='light'] .theme-toggle__icon--moon {
  display: block;
}

[data-theme='light'] .theme-toggle__icon--sun {
  display: none;
}

/* ========================================
   LIGHT THEME TOKEN OVERRIDES
   Activated by [data-theme="light"] on <html>. Dark is the default — only
   the variables that change are restated here. The toggle in script.js
   reads/writes localStorage and respects prefers-color-scheme on first visit.
   ======================================== */
[data-theme='light'] {
  --bg-primary: #f7f3ec;
  --bg-secondary: #efe9df;
  --bg-surface: #fff;
  --bg-surface-hover: #f1ece2;
  --text-primary: #181a1f;
  --text-secondary: #4f4d47;

  /* t-00360 — bumped from #807c72 (CR ~3.7) to #5d5950
     (CR ~6.3 on bg_primary) to clear WCAG AA normal-text. */
  --text-muted: #5d5950;

  /* t-00360 — bumped from #b07a2c to #6e4715 so a white #fff text
     on the accent fill (.btn-primary, .nav-cta, .skip-link) clears
     WCAG AA (CR ~8.2). Light theme also overrides --on-accent to
     #ffffff below. */
  --accent: #6e4715;
  --accent-hover: #4f3210;
  --on-accent: #fff;
  --accent-subtle: rgb(176, 122, 44, 0.12);
  --accent-glow: 0 0 30px rgb(176, 122, 44, 0.2);
  --border: #d8d2c5;
  --border-subtle: #e3ddd0;
  --shadow-sm: 0 1px 3px rgb(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgb(0, 0, 0, 0.1);
  --shadow-lg: 0 12px 40px rgb(0, 0, 0, 0.14);
  --shadow-xl: 0 24px 80px rgb(0, 0, 0, 0.18);
}

[data-theme='light'] .nav.scrolled {
  background: rgb(247, 243, 236, 0.92);
  border-bottom: 1px solid var(--border-subtle);
}

[data-theme='light'] body::after {
  opacity: 0.04;
}

/* SRcore #1034 — Image lightbox */
.dest-card-img,
.tour-card-img {
  cursor: zoom-in;
  position: relative;
  z-index: 1;
}

/* Overlay sits above the image but must NOT intercept clicks meant for
   the image (lightbox trigger). Inner anchors / buttons re-enable
   pointer-events so the existing CTA links still work. */
.dest-card-overlay,
.tour-card-overlay {
  pointer-events: none;
}

.dest-card-overlay a,
.tour-card-overlay a,
.dest-card-overlay button,
.tour-card-overlay button {
  pointer-events: auto;
}

.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  max-width: 96vw;
  max-height: 96vh;
  width: 96vw;
  height: 96vh;
  margin: auto;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.92);
}

.lightbox-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 16px;
}

.lightbox-img {
  max-width: 100%;
  max-height: calc(96vh - 60px);
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  font-size: 14px;
  text-align: center;
  color: #f5f5f5;
  padding: 0 24px;
  max-width: 720px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 120ms ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.lightbox-close {
  top: 16px;
  right: 16px;
  font-size: 24px;
}

.lightbox-prev {
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev:disabled,
.lightbox-next:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

@media (max-width: 600px) {
  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
}
