/* ==========================================================================
   TOURS PRIVADOS EN MARRUECOS — Design System
   Exact replication of https://viajes-aldesierto.com/ design & aesthetic
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Nunito+Sans:ital,opsz,wght@0,6..12,300..900;1,6..12,300..900&display=swap');

:root {
  /* Design Tokens from viajes-aldesierto.com */
  --sand: #f6ecdd;
  --sand-2: #efe0c8;
  --paper: #fffaf3;
  --terra: #b8512a;
  --terra-d: #93391a;
  --gold: #e3a646;
  --gold-soft: #f4be67;
  --night: #1d2639;
  --night-2: #2b3550;
  --ink: #2a2420;
  --muted: #6f645a;
  --line: #e6d6bf;
  --wa: #25d366;
  --wa-btn: #169244;
  --wa-btn-hover: #127837;
  --wa-dark: #128c7e;
  
  --serif: "DM Serif Display", Georgia, serif;
  --font-title: "DM Serif Display", Georgia, serif;
  --sans: "Nunito Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --r: 18px;
  --r-sm: 10px;
  --r-lg: 24px;
  --shadow: 0 14px 40px rgba(60, 35, 15, 0.12);
  --shadow-sm: 0 4px 16px rgba(60, 35, 15, 0.07);
  --shadow-hover: 0 20px 48px rgba(184, 81, 42, 0.18);
  --transition: 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

.wrap {
  width: min(1200px, 100% - 32px);
  margin-inline: auto;
}

/* Headings & Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  color: var(--night);
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 2.85rem);
}

h3 {
  font-size: 1.35rem;
}

.eyebrow {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--terra);
  display: inline-block;
  margin-bottom: 8px;
}

.head {
  max-width: 760px;
  margin: 0 auto 46px;
  text-align: center;
}

.head p {
  color: var(--muted);
  margin-top: 12px;
  font-size: 1.05rem;
  line-height: 1.65;
}

section {
  padding: 85px 0;
}

/* Buttons & Interactive Ergonomics */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.78em 1.55em;
  min-height: 46px;
  font-size: 0.95rem;
  line-height: 1.25;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
  cursor: pointer;
  border: 0;
  text-align: center;
  white-space: normal;
  text-wrap: balance;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn--terra {
  background: var(--terra);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(184, 81, 42, 0.3);
}

.btn--terra:hover {
  background: var(--terra-d);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(147, 57, 26, 0.42);
  color: #FFFFFF;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(6px);
}

.btn--ghost:hover {
  background: #FFFFFF;
  color: var(--night);
  border-color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn--wa {
  background: var(--wa-btn);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(22, 146, 68, 0.28);
}

.btn--wa:hover {
  background: var(--wa-btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(18, 120, 55, 0.38);
  color: #FFFFFF;
}

.btn--line {
  border: 1.5px solid var(--terra);
  color: var(--terra);
  background: #FFFFFF;
}

.btn--line:hover {
  background: var(--terra);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(184, 81, 42, 0.25);
}

.btn--night {
  background: var(--night);
  color: #FFFFFF;
  box-shadow: 0 8px 18px rgba(29, 38, 57, 0.25);
}

.btn--night:hover {
  background: var(--night-2);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.btn-sm {
  padding: 0.55em 1.15em;
  min-height: 40px;
  font-size: 0.85rem;
}

.btn-sm svg {
  width: 16px;
  height: 16px;
}

.btn-lg {
  padding: 0.92em 1.85em;
  min-height: 52px;
  font-size: 1rem;
}

.btn-lg svg {
  width: 20px;
  height: 20px;
}

.btn-block {
  width: 100%;
}

.btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.menu__mobile-cta {
  display: none;
}

/* Accessible keyboard focus indicators */
.btn:focus-visible,
button:focus-visible,
.filter-btn:focus-visible,
.city-pill:focus-visible,
.tour-tabs a:focus-visible,
.wa-float:focus-visible,
.cta-big:focus-visible,
.back-to-top:focus-visible,
nav.menu a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* ==========================================================================
   1. TOP UTILITY BAR (viajes-aldesierto style)
   ========================================================================== */
.topbar {
  background: var(--night);
  color: #e9e2d6;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(227, 166, 70, 0.2);
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
  flex-wrap: wrap;
}

.topbar b {
  color: var(--gold);
}

.topbar a {
  color: inherit;
  transition: color 0.2s ease;
}

.topbar a:hover {
  color: var(--gold);
}

.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e9e2d6;
  font-weight: 600;
  transition: color 0.2s ease;
}

.topbar-link:hover {
  color: var(--gold);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* ==========================================================================
   2. STICKY HEADER & NAVIGATION
   ========================================================================== */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 243, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: var(--transition);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 88px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 4px 0;
}

.logo-img {
  display: block;
  height: 70px;
  width: auto;
  max-width: 275px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.logo:hover .logo-img {
  transform: scale(1.02);
}

.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  background: var(--paper);
  padding: 10px 18px;
  border-radius: 16px;
  border: 1px solid rgba(227, 166, 70, 0.4);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
  margin-bottom: 18px;
}

.footer-logo-img {
  display: block;
  height: 64px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
}

nav.menu {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 700;
  font-size: 0.95rem;
}

nav.menu a {
  position: relative;
  padding: 8px 0;
  color: var(--ink);
  transition: color 0.2s ease;
}

nav.menu a:hover,
nav.menu a.on {
  color: var(--terra);
}

nav.menu a.on::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--terra);
  border-radius: 2px;
}

/* Dropdown & 2nd-Level City Flyout Menu */
.menu__drop {
  position: relative;
}

.menu__top {
  background: none;
  border: none;
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  padding: 8px 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  position: relative;
}

.menu__top:hover,
.menu__top.on {
  color: var(--terra);
}

.menu__top .caret {
  font-size: 0.75rem;
  transition: transform 0.2s;
  color: var(--muted);
}

.menu__drop:hover .menu__top .caret {
  transform: rotate(180deg);
  color: var(--terra);
}

.menu__sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 120;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.menu__drop:hover .menu__sub,
.menu__drop:focus-within .menu__sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu__sub a {
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--ink);
  display: block;
}

.menu__sub a:hover {
  background: var(--sand);
  color: var(--terra);
}

.menu__sub a.on::after {
  display: none;
}

.menu__sub-item {
  position: relative;
  display: flex;
  align-items: center;
}

.menu__city-link {
  flex: 1;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-weight: 700;
}

.menu__city-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 700;
}

.menu__city-count {
  background: var(--sand);
  color: var(--terra);
  padding: 2px 7px;
  border-radius: 999px;
}

.drop-toggle,
.flyout-toggle {
  display: none;
  background: var(--sand);
  border: 1px solid var(--line);
  color: var(--terra);
  border-radius: 10px;
  width: 30px;
  height: 30px;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
}

.drop-toggle:hover,
.flyout-toggle:hover {
  background: var(--terra);
  border-color: var(--terra);
  color: #FFFFFF;
}

.menu__flyout {
  position: absolute;
  top: -8px;
  left: calc(100% + 8px);
  min-width: 340px;
  max-width: 380px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: var(--transition);
  z-index: 140;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Hover bridge between city row and flyout panel */
.menu__flyout::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -14px;
  width: 16px;
}

.menu__sub-item:hover > .menu__flyout,
.menu__sub-item:focus-within > .menu__flyout,
.menu__sub-item.is-open > .menu__flyout {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.menu__sub-item:hover > .menu__city-link {
  background: var(--sand);
  color: var(--terra);
}

.menu__flyout-head {
  padding: 6px 10px 8px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}

.menu__flyout a.flyout-tour {
  padding: 8px 10px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.menu__flyout a.flyout-tour b {
  font-size: 0.86rem;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.3;
}

.menu__flyout a.flyout-tour small {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}

.menu__flyout a.flyout-tour:hover b {
  color: var(--terra);
}

.menu__flyout a.flyout-all {
  margin-top: 4px;
  padding: 8px 10px;
  border-top: 1px solid var(--line);
  font-size: 0.83rem;
  font-weight: 800;
  color: var(--terra);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.burger {
  display: none;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  min-width: 44px;
  min-height: 44px;
  padding: 6px 10px;
  font-size: 1.25rem;
  font-weight: 800;
  cursor: pointer;
  color: var(--night);
  transition: var(--transition);
}

.burger:hover,
.burger[aria-expanded="true"] {
  background: var(--sand);
  border-color: var(--terra);
  color: var(--terra);
}

/* ==========================================================================
   3. HERO SLIDER SECTION (viajes-aldesierto style with dynamic slider)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  color: #FFFFFF;
  padding: 0 0 76px;
  background-size: cover;
  background-position: center 62%;
}

.hero.hero-slider {
  display: block;
  padding: 0;
  overflow: hidden;
  background: var(--night);
  height: clamp(680px, 88vh, 880px);
  min-height: 680px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: clamp(60px, 9vh, 100px) 0 clamp(70px, 9vh, 100px);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  z-index: 1;
}

.hero-slide:nth-child(1) {
  background-position: center 36%;
}

.hero-slide:nth-child(2) {
  background-position: center 50%;
}

.hero-slide:nth-child(3) {
  background-position: center 42%;
}

.hero-slide:nth-child(4) {
  background-position: center 46%;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

/* Crystal-clear bright overlay that lets the scenery shine */
.hero::before,
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(29, 38, 57, 0.32) 0%,
    rgba(29, 38, 57, 0.08) 25%,
    rgba(29, 38, 57, 0.12) 65%,
    rgba(29, 38, 57, 0.55) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-slide .wrap {
  position: relative;
  z-index: 2;
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
  padding: 0 clamp(20px, 5vw, 64px);
}

.hero-slide__content {
  max-width: 860px;
  margin: 0;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
}

.hero .eyebrow {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.hero-slide .eyebrow {
  display: inline-block;
  color: #ffc966;
  font-size: clamp(0.85rem, 1.1vw, 0.98rem);
  letter-spacing: 0.08em;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 16px 0;
  paint-order: stroke fill;
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.75);
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.95),
    0 2px 8px rgba(0, 0, 0, 0.9),
    0 0 16px rgba(0, 0, 0, 0.85);
}

.hero h1 {
  color: #FFFFFF;
  font-family: var(--font-title);
  font-size: clamp(2.3rem, 5.2vw, 4.4rem);
  max-width: 960px;
  margin: 14px 0 16px;
  line-height: 1.18;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.hero-slide h1,
.hero-slide h2 {
  color: #FFFFFF;
  font-family: var(--font-title);
  font-size: clamp(2.3rem, 4.8vw, 4.2rem);
  max-width: 880px;
  margin: 0 0 20px 0;
  line-height: 1.16;
  letter-spacing: -0.01em;
  paint-order: stroke fill;
  -webkit-text-stroke: 1.2px rgba(0, 0, 0, 0.7);
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.95),
    0 4px 14px rgba(0, 0, 0, 0.9),
    0 8px 28px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(0, 0, 0, 0.65);
}

.hero h1 em,
.hero-slide h1 em,
.hero-slide h2 em {
  color: #ffc966;
  font-style: italic;
}

.hero p.lead {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 700;
  max-width: 760px;
  color: #FFFFFF;
  line-height: 1.5;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  margin-bottom: 8px;
}

.hero-slide p.lead {
  font-size: clamp(1.15rem, 1.8vw, 1.38rem);
  font-weight: 700;
  max-width: 780px;
  color: #FFFFFF;
  line-height: 1.58;
  margin: 0;
  paint-order: stroke fill;
  -webkit-text-stroke: 0.6px rgba(0, 0, 0, 0.6);
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.95),
    0 3px 10px rgba(0, 0, 0, 0.9),
    0 6px 20px rgba(0, 0, 0, 0.8),
    0 0 24px rgba(0, 0, 0, 0.55);
}

.hero-sublead {
  font-size: 1.05rem;
  color: #f2e9dc;
  max-width: 720px;
  line-height: 1.6;
  margin-bottom: 18px;
}

.hero .ctas,
.hero-slide .ctas {
  display: flex;
  gap: 14px;
  margin: 24px 0 32px;
  flex-wrap: wrap;
}

/* Slider Controls: Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(29, 38, 57, 0.65);
  border: 1.5px solid rgba(227, 166, 70, 0.45);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(6px);
}

.hero-arrow:hover {
  background: var(--terra);
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.hero-arrow--prev {
  left: 24px;
}

.hero-arrow--next {
  right: 24px;
}

/* Slider Controls: Dots (Bubbles) */
.hero-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 12px;
  align-items: center;
  background: rgba(29, 38, 57, 0.55);
  padding: 8px 16px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-dot:hover {
  background: #FFFFFF;
  transform: scale(1.2);
}

.hero-dot.is-active {
  background: var(--gold);
  width: 32px;
  border-radius: 999px;
  border-color: #FFFFFF;
  box-shadow: 0 0 10px rgba(227, 166, 70, 0.6);
}

@media (max-width: 700px) {
  .hero.hero-slider {
    min-height: 85vh;
    height: clamp(560px, 85vh, 740px);
  }
  .hero-slide {
    padding: 75px 0 70px;
    align-items: center;
  }
  .hero-slide .wrap {
    width: 100%;
    padding: 0 46px;
    box-sizing: border-box;
  }
  .hero-slide__content {
    margin: 0;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
  }
  .hero-slide .eyebrow {
    font-size: 0.8rem;
    margin: 0 0 10px 0;
    -webkit-text-stroke: 0.8px rgba(0, 0, 0, 0.8);
  }
  .hero-slide h1,
  .hero-slide h2 {
    font-size: clamp(1.8rem, 6.5vw, 2.3rem);
    margin: 0 0 12px 0;
    line-height: 1.2;
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.75);
  }
  .hero-slide p.lead {
    font-size: 1rem;
    margin: 0;
    line-height: 1.48;
    -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.65);
  }
  /* Mobile Button Controls: Displayed, Touch-Optimized & Highly Visible */
  .hero-arrow {
    display: flex !important;
    width: 42px;
    height: 42px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(29, 38, 57, 0.82);
    border: 2px solid var(--gold);
    color: #FFFFFF;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
    z-index: 25;
  }
  .hero-arrow:active {
    background: var(--terra);
    transform: translateY(-50%) scale(0.92);
  }
  .hero-arrow--prev {
    left: 8px;
  }
  .hero-arrow--next {
    right: 8px;
  }
  .hero-dots {
    bottom: 14px;
    z-index: 25;
    padding: 6px 12px;
    gap: 8px;
    background: rgba(29, 38, 57, 0.75);
  }
  .hero-dot {
    width: 10px;
    height: 10px;
  }
  .hero-dot.is-active {
    width: 24px;
  }
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust span {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
  padding: 0.5em 1em;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.86rem;
  color: #FFFFFF;
}

.hero__note {
  margin-top: 22px;
  font-size: 0.88rem;
  color: #f7ddb2;
}

/* ==========================================================================
   4. QUICK FINDER BAR (viajes-aldesierto style)
   ========================================================================== */
.finder {
  position: relative;
  z-index: 10;
  margin-top: -46px;
}

.finder form {
  background: #FFFFFF;
  border-radius: 22px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  gap: 0;
  padding: 12px;
  border: 1px solid var(--line);
  align-items: center;
}

.finder label {
  display: flex;
  flex-direction: column;
  padding: 10px 18px;
  border-right: 1px solid var(--line);
}

.finder label span {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--terra);
  margin-bottom: 4px;
}

.finder select {
  border: none;
  background: transparent;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  cursor: pointer;
  outline: none;
  padding: 4px 0;
}

.finder button {
  margin-left: 10px;
}

/* ==========================================================================
   5. OFFERS & TOUR CARDS (.offers, .grid4, .card)
   ========================================================================== */
.offers {
  background: var(--paper);
}

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

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

.card {
  background: #FFFFFF;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(184, 81, 42, 0.4);
}

.card .media {
  position: relative;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--night);
}

.card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
}

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

.tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--night);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.35em 0.8em;
  border-radius: 999px;
  letter-spacing: 0.04em;
  z-index: 2;
}

.tag--hot {
  left: auto;
  right: 12px;
  background: var(--gold);
  color: var(--night);
  font-weight: 800;
}

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

.card .body h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
  line-height: 1.25;
}

.card:hover .body h3 {
  color: var(--terra);
}

.card p.route {
  color: var(--muted);
  font-size: 0.86rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.card .chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 14px;
  margin-top: auto;
}

.chip-sm {
  font-size: 0.75rem;
  background: var(--sand);
  color: var(--ink);
  padding: 0.2em 0.6em;
  border-radius: 6px;
  font-weight: 700;
}

.card .foot {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  margin-top: auto;
  display: block;
}

/* ==========================================================================
   Tour Card CTA Button with Car & Animation
   ========================================================================== */
.btn-tour-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--terra) 0%, #a03c18 100%);
  color: #FFFFFF !important;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
  box-shadow: 0 4px 14px rgba(184, 81, 42, 0.28);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-sizing: border-box;
}

/* Shimmer reflection */
.btn-tour-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.32) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  transition: left 0.75s ease;
  pointer-events: none;
}

.card:hover .btn-tour-cta::before {
  left: 150%;
}

.card:hover .btn-tour-cta {
  background: linear-gradient(135deg, #c75a2f 0%, var(--terra) 100%);
  box-shadow: 0 8px 24px rgba(184, 81, 42, 0.45);
  transform: translateY(-2px);
  color: #FFFFFF !important;
}

.card:active .btn-tour-cta {
  transform: scale(0.98);
}

.btn-tour-cta__car {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #FFFFFF;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-tour-cta__car svg {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  stroke: currentColor;
  stroke-width: 2.2;
  display: block;
}

/* Dynamic 4x4 car suspension and driving animation */
.card:hover .btn-tour-cta__car {
  animation: carDrive 0.75s ease-in-out infinite alternate;
}

@keyframes carDrive {
  0% {
    transform: translateX(0) translateY(0);
  }
  35% {
    transform: translateX(3px) translateY(-1.5px) rotate(-1.5deg);
  }
  70% {
    transform: translateX(6px) translateY(1px) rotate(1deg);
  }
  100% {
    transform: translateX(8px) translateY(0);
  }
}

.btn-tour-cta__label {
  font-weight: 800;
  font-size: 0.96rem;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  line-height: 1;
}

.btn-tour-cta__arrow {
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--gold-soft);
  line-height: 1;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  margin-left: 2px;
}

.card:hover .btn-tour-cta__arrow {
  transform: translateX(5px);
  color: #FFFFFF;
}

/* ==========================================================================
   6. DESTINATIONS SECTION (.dest, .dgrid, .d)
   ========================================================================== */
.dest {
  background: var(--night);
  color: #FFFFFF;
}

.dest h2 {
  color: #FFFFFF;
}

.dest .head p {
  color: #c9c1b4;
}

.dgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.d {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4/5;
  display: block;
}

.d img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s ease;
}

.d::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 14, 25, 0.88));
}

.d:hover img {
  transform: scale(1.07);
}

.d div {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
}

.d h3 {
  color: #FFFFFF;
  font-size: 1.45rem;
  line-height: 1.2;
}

.d span {
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 4px;
}

/* ==========================================================================
   7. WHY US COLLAGE SECTION (.why, .collage)
   ========================================================================== */
.why .wrap {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 70px;
  align-items: center;
}

.collage {
  position: relative;
  height: 540px;
}

.collage img {
  position: absolute;
  border-radius: var(--r);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.collage .a {
  width: 68%;
  height: 72%;
  top: 0;
  left: 0;
}

.collage .b {
  width: 52%;
  height: 52%;
  right: 0;
  bottom: 0;
  border: 8px solid var(--paper);
}

.collage .badge {
  position: absolute;
  left: 6%;
  bottom: 6%;
  background: var(--terra);
  color: #FFFFFF;
  border-radius: 18px;
  padding: 18px 22px;
  box-shadow: var(--shadow);
  z-index: 3;
}

.collage .badge b {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 400;
  display: block;
  line-height: 1;
}

.why-bullets {
  display: grid;
  gap: 16px;
  margin: 24px 0 32px;
}

.why-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
}

.why-bullet-icon {
  width: 24px;
  height: 24px;
  color: var(--terra);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   8. SPECIAL ESCAPES SECTION (.escapes, .egrid, .e)
   ========================================================================== */
.escapes {
  background: var(--sand);
}

.egrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.e {
  background: #FFFFFF;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(60, 35, 15, 0.06);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.e:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.e img {
  aspect-ratio: 1/1;
  object-fit: cover;
  width: 100%;
}

.e div {
  padding: 18px;
}

.e small {
  color: var(--terra);
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 4px;
}

.e h3 {
  font-size: 1.25rem;
  margin: 4px 0 6px;
}

.e p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ==========================================================================
   9. STEPS SECTION (.steps, .grid3, .step)
   ========================================================================== */
.steps .grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  counter-reset: s;
}

.step {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 34px 26px 28px;
  position: relative;
}

.step::before {
  counter-increment: s;
  content: counter(s);
  position: absolute;
  top: -22px;
  left: 26px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--terra);
  color: #FFFFFF;
  font-family: var(--serif);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(184, 81, 42, 0.35);
}

.step h3 {
  font-size: 1.35rem;
  margin: 10px 0 8px;
}

.step p {
  color: var(--muted);
  font-size: 0.95rem;
}

.pay {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.pay span {
  font-size: 0.74rem;
  font-weight: 800;
  background: var(--sand);
  color: var(--ink);
  padding: 0.3em 0.7em;
  border-radius: 6px;
}

/* ==========================================================================
   10. REVIEWS SECTION (.reviews, .score, .rgrid, .r)
   ========================================================================== */
.reviews {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.score {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  font-weight: 800;
}

.stars {
  color: var(--gold);
  letter-spacing: 2px;
}

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

.r {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.r h3 {
  font-size: 1.25rem;
  margin: 8px 0;
}

.r p {
  font-size: 0.95rem;
  color: #4b423a;
  margin: 6px 0 16px;
  flex-grow: 1;
}

.r .who {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.r .av {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--night);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

/* ==========================================================================
   11. CALL TO ACTION SECTION (.cta, .box, .cta-big)
   ========================================================================== */
.cta .box {
  background: var(--sand);
  border-radius: 26px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  border: 1px solid var(--line);
}

.cta .box h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 12px;
}

.cta .box p {
  font-size: 1.05rem;
  color: #4b423a;
}

.cta-actions {
  display: grid;
  gap: 12px;
}

.cta-big {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}

.cta-big:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--terra);
}

.cta-big span {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.cta-big--form span {
  background: var(--sand-2);
  color: var(--terra);
}

.cta-big--wa span {
  background: #eafbf0;
  color: var(--wa-dark);
}

.cta-big--wa svg {
  width: 24px;
  height: 24px;
  fill: var(--wa);
}

.cta-big--tel span {
  background: #f0eafb;
  color: #6366f1;
}

.cta-big b {
  display: block;
  font-size: 1.05rem;
  color: var(--night);
}

.cta-big small {
  color: var(--muted);
  font-size: 0.85rem;
}

/* ==========================================================================
   12. FOOTER (.site-footer)
   ========================================================================== */
.site-footer {
  position: relative;
  background: var(--night);
  color: #cfc6b8;
  padding: 68px 0 24px;
  font-size: 0.93rem;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--terra), var(--gold), var(--terra));
}

.site-footer .cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
}

.site-footer h4 {
  color: #FFFFFF;
  font-size: 1.2rem;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
  font-weight: 700;
}

.site-footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.footer-desc {
  margin-bottom: 14px;
  line-height: 1.6;
  color: #cfc6b8;
  font-size: 0.92rem;
}

.site-footer ul {
  display: grid;
  gap: 6px;
}

.site-footer li a {
  color: #cfc6b8;
  transition: all 0.2s ease;
  display: inline-block;
  padding: 3px 0;
  font-size: 0.92rem;
}

.site-footer li a:hover {
  color: var(--gold);
  padding-left: 5px;
}

.site-footer .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  line-height: 1.45;
  font-size: 0.92rem;
}

.site-footer .contact-item svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  max-width: 18px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Sleek Social Links in Footer */
.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 16px;
}

.footer-social-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-social-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #FFFFFF !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.footer-social-btn svg {
  width: 17px !important;
  height: 17px !important;
  min-width: 17px !important;
  min-height: 17px !important;
  max-width: 17px !important;
  max-height: 17px !important;
  fill: currentColor !important;
  display: block !important;
}

.footer-social-btn:hover {
  transform: translateY(-2px);
  color: #FFFFFF !important;
}

.footer-social-btn--fb:hover {
  background: #1877F2 !important;
  border-color: #1877F2 !important;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.45);
}

.footer-social-btn--ig:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
  border-color: transparent !important;
  box-shadow: 0 4px 12px rgba(214, 36, 159, 0.45);
}

.footer-social-btn--wa:hover {
  background: #25D366 !important;
  border-color: #25D366 !important;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.45);
}

.footer-cta-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Bottom copyright & links */
.site-footer .bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.83rem;
  color: #8c8273;
}

.site-footer .bottom-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.site-footer .bottom-links a {
  color: #a89f91;
  transition: color 0.2s;
  padding: 2px 0;
}

.site-footer .bottom-links a:hover {
  color: var(--gold);
}

/* ==========================================================================
   13. TOUR DETAIL PAGE LAYOUT (.page-hero, .tour-tabs, .tour-layout, .book)
   ========================================================================== */
.page-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #FFFFFF;
  padding: 70px 0 60px;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(29, 38, 57, 0.4) 0%,
    rgba(29, 38, 57, 0.75) 45%,
    rgba(29, 38, 57, 0.94) 100%
  );
  z-index: 1;
}

.page-hero .wrap {
  position: relative;
  z-index: 2;
}

.crumbs {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 16px;
}

.crumbs a {
  color: #FFFFFF;
}

.crumbs a:hover {
  color: var(--gold);
}

.page-hero h1 {
  color: #FFFFFF;
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  max-width: 900px;
  margin-bottom: 12px;
}

.page-hero p.lead {
  font-size: 1.15rem;
  max-width: 760px;
  color: #FAF4EB;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.chips span {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 0.45em 1em;
  font-weight: 700;
  font-size: 0.88rem;
  backdrop-filter: blur(6px);
  color: #FFFFFF;
}

.chips span b {
  color: var(--gold);
}

/* Tour Tabs Navigation */
.tour-tabs {
  position: sticky;
  top: 88px;
  z-index: 30;
  background: #FFFFFF;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 12px rgba(60, 35, 15, 0.04);
}

.tour-tabs__in {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tour-tabs__in::-webkit-scrollbar {
  display: none;
}

.tour-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 8px 14px;
  white-space: nowrap;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}

.tour-tabs a:hover {
  color: var(--terra);
}

.tour-tabs a.on {
  color: var(--terra);
  border-bottom-color: var(--terra);
}

.tour-tabs svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* 2-Column Tour Layout */
.tour-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 50px;
  padding: 60px 0 90px;
  align-items: start;
}

.prose {
  font-size: 1.05rem;
  color: #3d352e;
}

.prose h2, .prose h2.sec {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-top: 1.6em;
  margin-bottom: 0.6em;
  color: var(--night);
}

.prose h2.sec:first-child {
  margin-top: 0;
}

.prose p {
  margin-bottom: 1em;
  line-height: 1.7;
}

/* Visual Stops Flow */
.stops-box {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
}

.stops-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.stop-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--sand);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--night);
}

.stop-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--terra);
  color: #FFFFFF;
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stop-sep {
  color: var(--gold);
  font-weight: 800;
}

/* Day-by-Day Timeline */
.timeline {
  display: grid;
  gap: 16px;
  margin: 24px 0 36px;
}

.day-box {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.day-box-header {
  width: 100%;
  min-height: 58px;
  background: var(--paper);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: none;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
  transition: background-color 0.2s ease;
}

.day-box-header:hover {
  background: var(--sand);
}

.day-box .day-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--terra);
  font-weight: 800;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.day-box.is-collapsed .day-box-body {
  display: none;
}

.day-box.is-collapsed .day-arrow {
  transform: rotate(180deg);
}

.day-box.is-collapsed .day-box-header {
  border-bottom-color: transparent;
}

.day-badge {
  background: var(--terra);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.day-box-header h3 {
  font-size: 1.15rem;
  flex-grow: 1;
}

.day-box-body {
  padding: 20px;
}

.day-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

.day-meta span {
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--sand);
  padding: 4px 10px;
  border-radius: 6px;
  color: var(--terra);
}

/* Included / Not Included */
.inc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0 36px;
}

.inc-box {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
}

.inc-box h3 {
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.inc-box.yes h3 {
  color: #15803d;
}

.inc-box.no h3 {
  color: var(--terra);
}

.inc-list {
  display: grid;
  gap: 10px;
}

.inc-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.95rem;
}

.inc-list li.check::before {
  content: "✓";
  color: #15803d;
  font-weight: 800;
}

.inc-list li.cross::before {
  content: "✕";
  color: var(--terra);
  font-weight: 800;
}

/* Sticky Booking Widget (.book, .book__head, .vbook) */
.tour-aside {
  position: sticky;
  top: 140px;
  display: grid;
  gap: 18px;
}

.book {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.book__head {
  background: var(--night);
  color: #FFFFFF;
  padding: 22px 24px;
}

.book__head small {
  display: block;
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

.book__head b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2.2rem;
  line-height: 1.1;
  color: #FFFFFF;
}

.book__head b i {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.88rem;
  opacity: 0.8;
  font-weight: 600;
}

.book__head p {
  opacity: 0.85;
  font-size: 0.9rem;
  margin-top: 4px;
  color: #e6dec8;
}

.book__body {
  padding: 22px 24px;
}

.vbook {
  display: grid;
  gap: 12px;
}

.vbook__f {
  display: block;
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--ink);
}

.vbook__f input,
.vbook__f select,
.vbook__f textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #FFFFFF;
  font: inherit;
  font-weight: 400;
  font-size: 0.92rem;
  color: var(--ink);
  transition: border-color 0.2s;
}

.vbook__f textarea {
  resize: vertical;
  min-height: 70px;
}

.vbook__f input:focus,
.vbook__f select:focus,
.vbook__f textarea:focus {
  outline: 0;
  border-color: var(--terra);
}

.book__perks {
  list-style: none;
  margin: 16px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.book__perks li {
  padding: 4px 0;
}

.book__perks li::before {
  content: "✓ ";
  color: var(--terra);
  font-weight: 800;
}

.wa-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #eafbf0;
  border: 1px solid #bfeccd;
  border-radius: 16px;
  padding: 14px 16px;
  font-weight: 700;
  color: #14532d;
  font-size: 0.92rem;
}

.wa-box svg {
  width: 26px;
  height: 26px;
  fill: var(--wa);
  flex-shrink: 0;
}

/* ==========================================================================
   14. FLOATING WHATSAPP & CONFIRMATION MODAL
   ========================================================================== */
@keyframes wa-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(22, 146, 68, 0.55), 0 10px 28px rgba(18, 120, 55, 0.38);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(22, 146, 68, 0), 0 10px 28px rgba(18, 120, 55, 0.38);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(22, 146, 68, 0), 0 10px 28px rgba(18, 120, 55, 0.38);
  }
}

.wa-float {
  position: fixed;
  bottom: 38px;
  right: 28px;
  z-index: 999;
  width: 62px;
  height: 62px;
  min-width: 62px;
  min-height: 62px;
  border-radius: 50%;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--wa-btn);
  color: #FFFFFF;
  box-shadow: 0 10px 28px rgba(18, 120, 55, 0.42);
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.2s ease, box-shadow 0.22s ease;
  animation: wa-pulse 3s infinite;
}

.wa-float:hover {
  background: var(--wa-btn-hover);
  color: #FFFFFF;
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 14px 34px rgba(18, 120, 55, 0.52);
  animation: none;
}

.wa-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
  flex-shrink: 0;
}

.wa-float span {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--night);
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(227, 166, 70, 0.35);
}

.wa-float span::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent transparent var(--night);
}

.wa-float:hover span {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.back-to-top {
  position: fixed;
  bottom: 112px;
  right: 34px;
  z-index: 998;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--night);
  color: #FFFFFF;
  border: 2px solid rgba(227, 166, 70, 0.55);
  box-shadow: 0 8px 22px rgba(29, 38, 57, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 800;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, background-color 0.2s ease, border-color 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--terra);
  border-color: var(--terra);
  transform: translateY(-4px) scale(1.06);
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(29, 38, 57, 0.8);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

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

.modal-box {
  position: relative;
  background: #FFFFFF;
  border-radius: 22px;
  max-width: 520px;
  width: 100%;
  padding: 36px 30px;
  box-shadow: var(--shadow);
  text-align: center;
  border-top: 6px solid var(--terra);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sand);
  border: 1px solid var(--line);
  color: var(--night);
  font-size: 1.1rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--terra);
  border-color: var(--terra);
  color: #FFFFFF;
}

/* ==========================================================================
   15. RESPONSIVE BREAKPOINTS (matching viajes-aldesierto)
   ========================================================================== */
@media (max-width: 1080px) {
  header.site .wrap {
    height: 84px;
  }
  nav.menu {
    display: none;
  }
  nav.menu.open {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    background: #FFFFFF;
    padding: 24px 22px 36px;
    border-bottom: 3px solid var(--terra);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    align-items: stretch;
    max-height: calc(100vh - 84px);
    overflow-y: auto;
  }
  nav.menu.open > a {
    min-height: 56px;
    display: flex;
    align-items: center;
    padding: 14px 14px;
    font-size: 1.25rem;
    font-weight: 800;
    border-bottom: 1.5px solid var(--sand);
    border-radius: 12px;
  }
  nav.menu.open > a:hover,
  nav.menu.open > a.on {
    color: var(--terra);
    background: var(--paper);
  }
  .menu__drop {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1.5px solid var(--sand);
    border-radius: 12px;
    padding: 2px 0;
  }
  .menu__drop > .menu__top {
    flex: 1;
    min-height: 56px;
    padding: 14px 14px;
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
  }
  .menu__drop > .menu__top:hover,
  .menu__drop > .menu__top.on {
    color: var(--terra);
  }
  .menu__top .caret {
    display: none;
  }
  .drop-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
    font-weight: 800;
    border-radius: 12px;
    border: 1.5px solid var(--line);
    background: var(--sand);
    color: var(--terra);
    margin-right: 4px;
  }
  .drop-toggle:hover {
    background: var(--terra);
    border-color: var(--terra);
    color: #FFFFFF;
  }
  .menu__sub,
  .menu__drop:hover .menu__sub,
  .menu__drop:focus-within .menu__sub {
    display: none;
    position: static;
    width: 100%;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--terra);
    border-radius: 0;
    padding: 6px 0 10px 14px;
    margin: 4px 0 14px 8px;
  }
  .menu__drop.is-open > .menu__sub {
    display: flex !important;
  }
  .menu__sub a {
    min-height: 50px;
    padding: 12px 14px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 10px;
    display: flex;
    align-items: center;
  }
  .menu__sub a:hover {
    background: var(--sand);
    color: var(--terra);
  }
  .menu__sub-item {
    flex-wrap: wrap;
    padding: 2px 0;
  }
  .menu__city-link {
    font-size: 1.15rem;
    font-weight: 800;
  }
  .menu__city-meta {
    font-size: 0.88rem;
  }
  .menu__city-count {
    font-size: 0.85rem;
    padding: 3px 10px;
  }
  .flyout-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
    font-weight: 800;
    border-radius: 12px;
    border: 1.5px solid var(--line);
    background: var(--sand);
    color: var(--terra);
    margin-left: 8px;
  }
  .flyout-toggle:hover {
    background: var(--terra);
    border-color: var(--terra);
    color: #FFFFFF;
  }
  .menu__flyout,
  .menu__sub-item:hover > .menu__flyout,
  .menu__sub-item:focus-within > .menu__flyout {
    display: none;
    position: static;
    width: 100%;
    min-width: 0;
    max-width: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--gold);
    border-radius: 0;
    padding: 6px 0 10px 14px;
    margin: 6px 0 12px 10px;
  }
  .menu__flyout::before {
    display: none;
  }
  .menu__sub-item.is-open > .menu__flyout {
    display: flex !important;
  }
  .menu__flyout-head {
    font-size: 0.88rem;
    font-weight: 800;
    padding: 8px 12px;
  }
  .menu__flyout a.flyout-tour {
    padding: 11px 12px;
    border-radius: 10px;
  }
  .menu__flyout a.flyout-tour b {
    font-size: 1.05rem;
    line-height: 1.35;
  }
  .menu__flyout a.flyout-tour small {
    font-size: 0.88rem;
  }
  .menu__flyout a.flyout-all {
    font-size: 1rem;
    font-weight: 800;
    padding: 12px 14px;
  }
  .menu__mobile-cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 2px solid var(--sand);
  }
  .menu__mobile-cta .btn {
    min-height: 56px;
    font-size: 1.1rem;
    font-weight: 800;
  }
  .burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    min-width: 50px;
    height: 50px;
    min-height: 50px;
    font-size: 1.6rem;
    border-radius: 14px;
    border: 2px solid var(--line);
    background: var(--paper);
    color: var(--night);
  }
  .grid4, .dgrid, .egrid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why .wrap, .cta .box {
    grid-template-columns: 1fr;
  }
  .rgrid, .steps .grid3 {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer .cols {
    grid-template-columns: 1fr 1fr;
  }
  .tour-layout {
    grid-template-columns: 1fr;
  }
  .tour-aside {
    position: static;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }
  section {
    padding: 60px 0;
  }
  .topbar .wrap {
    justify-content: center;
    gap: 6px 18px;
    padding: 7px 0;
    font-size: 0.8rem;
    text-align: center;
  }
  .header-cta {
    display: none;
  }
  .logo-img {
    height: 60px;
    max-width: 225px;
  }
  .finder form {
    grid-template-columns: 1fr;
  }
  .finder label {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .finder button {
    margin-left: 0;
    margin-top: 8px;
    width: 100%;
  }
  .btn-grid-2 {
    grid-template-columns: 1fr;
  }
  .hero .ctas .btn,
  .cta .btn-group .btn,
  .city-tour-detail__foot .btn-group .btn {
    width: 100%;
  }
  .city-tour-detail__foot .btn-group {
    width: 100%;
  }
  .grid4, .egrid, .rgrid, .steps .grid3 {
    grid-template-columns: 1fr;
  }
  .dgrid {
    grid-template-columns: 1fr;
  }
  .inc-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: 75vh;
    padding-bottom: 50px;
  }
  .wa-float span {
    display: none !important;
  }
  .wa-float {
    width: 58px;
    height: 58px;
    min-width: 58px;
    min-height: 58px;
    padding: 0;
    justify-content: center;
    right: 20px;
    bottom: 30px;
  }
  .wa-float svg {
    width: 30px;
    height: 30px;
  }
  .back-to-top {
    right: 24px;
    bottom: 98px;
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }

  /* Mobile Footer Optimization (<768px) */
  .site-footer {
    padding: 40px 0 20px;
    font-size: 0.92rem;
  }
  .site-footer .cols {
    grid-template-columns: 1fr !important;
    gap: 26px;
    margin-bottom: 26px;
  }
  .site-footer .col-about {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 22px;
  }
  .site-footer .footer-col {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 20px;
  }
  .site-footer .footer-col-contact {
    border-bottom: none;
    padding-bottom: 0;
  }
  .site-footer h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    padding-bottom: 6px;
  }
  .site-footer h4::after {
    width: 24px;
  }
  .site-footer ul {
    gap: 0;
  }
  .site-footer li a {
    min-height: 38px;
    display: flex;
    align-items: center;
    padding: 6px 0;
    font-size: 0.92rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
  }
  .site-footer li:last-child a {
    border-bottom: none;
  }
  .site-footer .contact-item {
    gap: 10px;
    padding: 4px 0;
    font-size: 0.92rem;
    margin-bottom: 10px;
  }
  .site-footer .contact-item svg {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    margin-top: 3px;
  }
  .site-footer .contact-item a {
    display: inline-block;
    padding: 2px 0;
    min-height: 32px;
    line-height: 32px;
  }
  .footer-social {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0 14px;
  }
  .footer-social-btn {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
  }
  .footer-social-btn svg {
    width: 17px !important;
    height: 17px !important;
    min-width: 17px !important;
    max-width: 17px !important;
    max-height: 17px !important;
  }
  .footer-cta-btns {
    flex-direction: row;
    gap: 8px;
    width: 100%;
    flex-wrap: wrap;
  }
  .footer-cta-btns .btn {
    flex: 1 1 calc(50% - 6px);
    text-align: center;
    justify-content: center;
    min-height: 42px;
    font-size: 0.88rem;
    padding: 8px 12px;
  }
  .site-footer .bottom {
    flex-direction: column;
    text-align: center;
    gap: 14px;
    padding-top: 20px;
  }
  .site-footer .bottom-links {
    justify-content: center;
    gap: 8px 14px;
  }
  .site-footer .bottom-links a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    padding: 2px 6px;
    font-size: 0.82rem;
  }
}

@media (max-width: 480px) {
  .footer-cta-btns .btn {
    flex: 1 1 100%;
    width: 100%;
  }
}

@media (max-width: 400px) {
  .logo-img {
    height: 52px;
    max-width: 195px;
  }
  nav.menu.open > a,
  .menu__drop > .menu__top {
    font-size: 1.15rem;
  }
  .footer-logo-img {
    height: 52px;
    max-width: 200px;
  }
  .footer-logo-wrap {
    padding: 8px 14px;
  }
  .site-footer .bottom-links {
    gap: 6px 12px;
  }
}

/* ==========================================================================
   16. BLOG STYLES (.bgrid, .b-card)
   ========================================================================== */
.bgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.b-card {
  background: #FFFFFF;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.b-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(184, 81, 42, 0.4);
}

.b-media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--night);
}

.b-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.b-category {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--night);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35em 0.85em;
  border-radius: 999px;
  z-index: 2;
}

.b-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.b-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.b-body h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  line-height: 1.25;
}

.b-card:hover .b-body h3 {
  color: var(--terra);
}

.b-body p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.b-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--terra);
}

/* ==========================================================================
   16. BLOG STYLES & DEDICATED ARTICLE PAGES
   ========================================================================== */
/* Dedicated Single Article Page Styles */
.article-page {
  background: var(--paper);
  padding: 30px 0 80px 0;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 36px;
  align-items: start;
}

.article-main {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  padding: 44px 48px;
}

@media (max-width: 768px) {
  .article-main {
    padding: 24px 20px;
  }
}

.article-header {
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}

.article-badge {
  display: inline-block;
  background: var(--terra);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.article-title {
  font-family: var(--font-title);
  font-size: 2.3rem;
  line-height: 1.25;
  color: var(--night);
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .article-title {
    font-size: 1.7rem;
  }
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--muted);
}

.article-hero-img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
}

.article-lead {
  font-size: 1.18rem;
  line-height: 1.75;
  color: #2b3342;
  font-weight: 600;
  background: var(--sand);
  border-left: 5px solid var(--terra);
  padding: 20px 24px;
  border-radius: 0 10px 10px 0;
  margin-bottom: 32px;
}

.article-content {
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--dark);
}

.article-content h2 {
  font-family: var(--font-title);
  font-size: 1.75rem;
  color: var(--night);
  margin: 38px 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
}

.article-content h3 {
  font-family: var(--font-title);
  font-size: 1.35rem;
  color: var(--night);
  margin: 28px 0 12px 0;
}

.article-content p {
  margin-bottom: 18px;
}

.article-content ul, .article-content ol {
  margin: 16px 0 24px 26px;
}

.article-content li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.data-table-wrap {
  overflow-x: auto;
  margin: 28px 0;
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  text-align: left;
}

.data-table th {
  background: var(--night);
  color: #FFFFFF;
  padding: 14px 18px;
  font-weight: 700;
}

.data-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
}

.data-table tr:nth-child(even) td {
  background: rgba(246, 236, 221, 0.45);
}

.tip-box {
  background: #fff8e8;
  border: 1px solid rgba(227, 166, 70, 0.45);
  border-left: 5px solid var(--gold);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 28px 0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.tip-box__icon {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
}

.tip-box__text strong {
  color: var(--night);
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.cta-banner {
  background: linear-gradient(135deg, var(--night) 0%, #2b374e 100%);
  color: #FFFFFF;
  border-radius: 14px;
  padding: 28px 32px;
  margin: 36px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  border: 1px solid rgba(227, 166, 70, 0.35);
  box-shadow: var(--shadow);
}

.cta-banner h4 {
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 8px;
  font-family: var(--font-title);
}

.cta-banner p {
  color: #dfd8cb;
  margin: 0;
  font-size: 0.98rem;
  max-width: 620px;
  line-height: 1.6;
}

.faq-block {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 2px solid var(--line);
}

.faq-block h3 {
  font-family: var(--font-title);
  font-size: 1.45rem;
  color: var(--night);
  margin-bottom: 18px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 14px;
  background: #fffaf3;
  overflow: hidden;
}

.faq-q {
  padding: 15px 20px;
  font-weight: 700;
  color: var(--night);
  background: rgba(246, 236, 221, 0.55);
}

.faq-a {
  padding: 15px 20px;
  color: var(--dark);
  font-size: 0.98rem;
  line-height: 1.7;
  border-top: 1px solid var(--line);
}

/* Author Box */
.author-box {
  margin-top: 40px;
  padding: 24px 28px;
  background: var(--sand);
  border: 1px solid rgba(184, 81, 42, 0.2);
  border-radius: 12px;
  display: flex;
  gap: 20px;
  align-items: center;
}

.author-box__img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--terra);
  flex-shrink: 0;
  background: var(--night);
}

.author-box__info h4 {
  font-family: var(--font-title);
  font-size: 1.15rem;
  color: var(--night);
  margin-bottom: 6px;
}

.author-box__info p {
  font-size: 0.92rem;
  color: var(--dark);
  line-height: 1.6;
  margin: 0;
}

/* Share & Return Nav */
.article-foot-nav {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Sticky Sidebar */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 105px;
}

.sidebar-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.sidebar-card h4 {
  font-family: var(--font-title);
  font-size: 1.18rem;
  color: var(--night);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--sand);
}

.sidebar-tour-thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}

.sidebar-tour-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--night);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.sidebar-tour-title {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--night);
  margin-bottom: 6px;
}

.sidebar-tour-price {
  font-size: 0.88rem;
  color: var(--terra);
  font-weight: 700;
  margin-bottom: 14px;
}

.sidebar-article-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.sidebar-article-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-article-item img {
  width: 64px;
  height: 52px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.sidebar-article-item h5 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--night);
  line-height: 1.35;
  margin: 0;
  transition: color 0.2s ease;
}

.sidebar-article-item:hover h5 {
  color: var(--terra);
}

@media (max-width: 992px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: static;
  }
}

/* ==========================================================================
   17. INFORMACIÓN PRÁCTICA STYLES (.info-grid, .info-card)
   ========================================================================== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.info-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.info-card:hover {
  border-color: var(--terra);
  box-shadow: var(--shadow);
}

.info-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--sand);
  color: var(--terra);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.info-header h3 {
  font-size: 1.3rem;
  color: var(--night);
}

.info-card p {
  color: #4b423a;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 14px;
}

.info-list {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--ink);
}

.info-list li::before {
  content: "✦";
  color: var(--terra);
  font-weight: 800;
}

.info-tip {
  background: #eafbf0;
  border: 1px solid #bfeccd;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.88rem;
  color: #14532d;
  font-weight: 600;
  margin-top: 14px;
}

/* Category Filter Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0.55em 1.25em;
  font-size: 0.88rem;
  font-weight: 800;
  border-radius: 999px;
  cursor: pointer;
  border: 1.5px solid var(--line);
  background: #FFFFFF;
  color: var(--ink);
  transition: var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.filter-btn:active {
  transform: scale(0.97);
}

.filter-btn:hover {
  border-color: var(--terra);
  color: var(--terra);
}

.filter-btn.active {
  background: var(--terra);
  border-color: var(--terra);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(184, 81, 42, 0.3);
}

@media (max-width: 1080px) {
  .bgrid, .grid3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .bgrid, .info-grid, .grid3 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   17. CITY HUB SECTIONS & SINGLE-CITY PAGES
   ========================================================================== */

.city-jump-bar {
  position: sticky;
  top: 88px;
  z-index: 45;
  background: rgba(255, 250, 243, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.city-jump-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.city-jump-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.city-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1.5px solid var(--line);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
  transition: var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.city-pill:active {
  transform: scale(0.97);
}

.city-pill span {
  background: var(--sand);
  color: var(--terra);
  font-size: 0.76rem;
  padding: 1px 8px;
  border-radius: 999px;
}

.city-pill:hover,
.city-pill.on {
  background: var(--terra);
  border-color: var(--terra);
  color: #FFFFFF;
}

.city-pill:hover span,
.city-pill.on span {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}

.city-section {
  padding: 72px 0;
  scroll-margin-top: 145px;
  border-bottom: 1px solid var(--line);
}

.city-section--alt {
  background: var(--sand);
}

.city-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.city-section__head p {
  max-width: 68ch;
  color: var(--muted);
  margin-top: 8px;
}

.city-tour-detail {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 380px 1fr;
  margin-bottom: 32px;
  scroll-margin-top: 145px;
}

.city-tour-detail__media {
  position: relative;
  min-height: 320px;
  background: var(--night);
}

.city-tour-detail__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.city-tour-detail__badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.city-tour-detail__body {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.city-tour-detail__days {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}

.city-day-mini {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.84rem;
}

.city-day-mini strong {
  display: block;
  color: var(--terra);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.city-tour-detail__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}

@media (max-width: 980px) {
  .city-tour-detail {
    grid-template-columns: 1fr;
  }
  .city-tour-detail__media {
    min-height: 240px;
    max-height: 280px;
  }
  .city-tour-detail__body {
    padding: 22px 20px;
  }
  .city-jump-bar {
    top: 84px;
  }
  .tour-tabs {
    top: 84px;
  }
}

/* ============================================================================
   18. ROUTE ITINERARY MAP SECTION & LIGHTBOX (.route-map-section)
   ============================================================================ */
.route-map-section {
  margin: 34px 0 38px;
}

.route-map-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 16px;
}

.route-map-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: #B8D6E8;
  cursor: zoom-in;
  overflow: hidden;
  text-align: left;
}

.route-map-trigger img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.route-map-trigger:hover img {
  transform: scale(1.015);
}

.route-map-zoom-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(29, 38, 57, 0.82);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
  transition: background-color 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.route-map-trigger:hover .route-map-zoom-pill {
  background: var(--terra);
  transform: translateY(-1px);
}

.route-map-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 18px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.route-map-copy {
  font-size: 0.84rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.route-map-copy strong {
  color: var(--night);
}

.route-map-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.route-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  background: #FFFFFF;
  border: 1px solid var(--line);
  color: var(--night);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.route-map-btn:hover {
  background: var(--terra);
  border-color: var(--terra);
  color: #FFFFFF;
}

/* Map Fullscreen Lightbox */
.map-lightbox-box {
  position: relative;
  background: #FFFFFF;
  border-radius: 18px;
  max-width: 1180px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.85);
}

.map-lightbox-box img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 82vh;
  object-fit: contain;
  background: #B8D6E8;
}

.map-lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 18px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

@media (max-width: 640px) {
  .route-map-card__footer {
    padding: 12px 14px;
  }
  .route-map-zoom-pill {
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    font-size: 0.72rem;
  }
}

/* ==========================================================================
   SEO & GEO KEY FACTS GRID + INTERACTIVE FAQ ACCORDION
   ========================================================================== */
.tour-facts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 28px;
}

.tour-fact {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}

.tour-fact__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--terra);
  margin-bottom: 4px;
}

.tour-fact__value {
  display: block;
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--night);
  line-height: 1.35;
}

.faq-section {
  background: var(--paper);
  padding: 74px 0;
  border-top: 1px solid var(--line);
}

.faq-section--sand {
  background: var(--sand);
}

.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

details.faq-item {
  margin-bottom: 0;
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
}

details.faq-item summary.faq-q {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
  transition: background-color 0.2s ease;
}

details.faq-item summary.faq-q::-webkit-details-marker {
  display: none;
}

details.faq-item summary.faq-q:hover {
  background: var(--sand);
}

.faq-q__title {
  font-size: 1rem;
  line-height: 1.4;
  color: var(--night);
}

.faq-q__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--line);
  color: var(--terra);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

details.faq-item[open] .faq-q__icon {
  transform: rotate(45deg);
  background: var(--terra);
  border-color: var(--terra);
  color: #FFFFFF;
}

.geo-guide-strip {
  margin-top: 26px;
  padding: 18px 20px;
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.geo-guide-strip p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--night);
}

.geo-guide-strip a {
  color: var(--terra);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 768px) {
  .tour-facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .tour-fact {
    padding: 12px 13px;
  }
}

@media (max-width: 480px) {
  .faq-section {
    padding: 56px 0;
  }
}

@media (max-width: 340px) {
  .tour-facts-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   HOME INTRO DESCRIPTION BAND (Below Hero Slider)
   ========================================================================== */
.intro-story {
  background: linear-gradient(180deg, #f7ecdc 0%, var(--paper) 100%);
  padding: 58px 0 50px;
  border-bottom: 1px solid var(--line);
}

.intro-story__card {
  position: relative;
  overflow: hidden;
  max-width: 1020px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 42px 52px;
  box-shadow: 0 14px 40px rgba(60, 35, 15, 0.07);
  text-align: center;
}

.intro-story__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--terra), var(--gold), var(--terra));
}

.intro-story__card h2 {
  font-size: clamp(1.7rem, 3.1vw, 2.4rem);
  line-height: 1.22;
  color: var(--night);
  max-width: 820px;
  margin: 0 auto 18px;
}

.intro-story__divider {
  width: 72px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--terra), var(--gold));
  margin: 0 auto 22px;
}

.intro-story__body {
  max-width: 840px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
  font-size: 1.04rem;
  line-height: 1.75;
  color: var(--ink);
}

.intro-story__body strong {
  color: var(--terra-d);
  font-weight: 800;
}

.intro-story__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.intro-story__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--night);
}

@media (max-width: 640px) {
  .intro-story {
    padding: 34px 0 30px;
  }
  .intro-story__card {
    padding: 28px 20px;
    border-radius: 18px;
  }
  .intro-story__card h2 {
    font-size: 1.48rem;
  }
  .intro-story__body {
    font-size: 0.96rem;
    line-height: 1.68;
  }
  .intro-story__badges {
    gap: 8px;
    margin-top: 20px;
    padding-top: 18px;
  }
  .intro-story__badge {
    font-size: 0.78rem;
    padding: 6px 11px;
  }
}
