/* =============================================
   Casa Aureum — Marine Premium Dark
   ============================================= */

/* Variables — Dark (default) */
:root {
  --bg:           #020C18;
  --surface:      #06172B;
  --surface-2:    #0A1F3A;
  --surface-3:    #0E2845;
  --teal:         #00D4FF;
  --teal-glow:    rgba(0, 212, 255, 0.15);
  --teal-dark:    #0099BB;
  --gold:         #D4A853;
  --gold-light:   #E8C878;
  --gold-glow:    rgba(212, 168, 83, 0.2);
  --coral:        #FF6B35;
  --text:         #E8EFF5;
  --text-muted:   #7B9BB5;
  --text-dim:     #4A6A85;
  --border:       rgba(0, 212, 255, 0.12);
  --border-gold:  rgba(212, 168, 83, 0.25);
  --nav-h:        76px;
  --radius-sm:    8px;
  --radius:       14px;
  --radius-lg:    22px;
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --container:    1240px;
  --section-py:   100px;
  --texture:      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60'%3E%3Cpath d='M0 30 C30 12 60 12 60 30 C60 48 90 48 120 30' stroke='rgba(0,212,255,0.09)' stroke-width='1.5' fill='none'/%3E%3Cpath d='M0 46 C30 28 60 28 60 46 C60 64 90 64 120 46' stroke='rgba(0,212,255,0.05)' stroke-width='1' fill='none'/%3E%3Cpath d='M0 16 C30 4 60 4 60 16 C60 28 90 28 120 16' stroke='rgba(0,212,255,0.04)' stroke-width='0.8' fill='none'/%3E%3C/svg%3E");
  --texture-size: 120px 60px;
}

/* Variables — Light (arena/sand) */
html[data-theme="light"] {
  --bg:          #F7F0E4;
  --surface:     #EDE4D0;
  --surface-2:   #E3D8C2;
  --surface-3:   #D9CBB0;
  --teal:        #006E7F;
  --teal-glow:   rgba(0, 110, 127, 0.12);
  --teal-dark:   #005260;
  --gold:        #A8712A;
  --gold-light:  #C48C40;
  --gold-glow:   rgba(168, 113, 42, 0.18);
  --coral:       #C94820;
  --text:        #1A1208;
  --text-muted:  #5C4A2A;
  --text-dim:    #8C7A5A;
  --border:      rgba(90, 60, 20, 0.14);
  --border-gold: rgba(168, 113, 42, 0.25);
  --texture:      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='6' cy='6' r='1.4' fill='rgba(90,60,20,0.16)'/%3E%3Ccircle cx='32' cy='18' r='1' fill='rgba(90,60,20,0.12)'/%3E%3Ccircle cx='18' cy='40' r='1.2' fill='rgba(90,60,20,0.14)'/%3E%3Ccircle cx='50' cy='50' r='0.9' fill='rgba(90,60,20,0.10)'/%3E%3Ccircle cx='12' cy='28' r='0.7' fill='rgba(90,60,20,0.11)'/%3E%3Ccircle cx='44' cy='10' r='1.1' fill='rgba(90,60,20,0.13)'/%3E%3Ccircle cx='28' cy='54' r='0.8' fill='rgba(90,60,20,0.09)'/%3E%3Ccircle cx='54' cy='30' r='1.3' fill='rgba(90,60,20,0.15)'/%3E%3Ccircle cx='40' cy='42' r='0.6' fill='rgba(90,60,20,0.08)'/%3E%3Ccircle cx='22' cy='8' r='0.9' fill='rgba(90,60,20,0.12)'/%3E%3C/svg%3E");
  --texture-size: 60px 60px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--bg);
  background-image: var(--texture);
  background-size: var(--texture-size);
  background-repeat: repeat;
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: 'Outfit', system-ui, sans-serif;
  line-height: 1.1;
  font-weight: 700;
}
h1 { font-size: clamp(3rem, 8vw, 7rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

/* Container */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Section */
.section { padding: var(--section-py) 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; margin-top: 12px; max-width: 500px; margin-left: auto; margin-right: auto; }
.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold);
  color: #0A0800;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  padding: 13px 28px;
  border-radius: 100px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--gold-glow);
}
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid rgba(232, 239, 245, 0.3);
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 28px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.btn-ghost:hover {
  border-color: var(--teal);
  background: var(--teal-glow);
  transform: translateY(-2px);
}
.btn-teal {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal);
  color: #020C18;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  padding: 11px 24px;
  border-radius: 100px;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.btn-teal:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,212,255,0.3); }
.btn-outline-teal {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--teal);
  color: var(--teal);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 10px 24px;
  border-radius: 100px;
  transition: background 0.2s, transform 0.2s;
}
.btn-outline-teal:hover { background: var(--teal-glow); transform: translateY(-2px); }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 8px 18px; font-size: 0.8rem; }

/* ============================================================
   NAVIGATION
   ============================================================ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  overflow: hidden; /* la imagen del logo (170px en móvil) se desborda bajo el nav con área clickeable transparente que roba clics a la barra de filtros sticky; recortar solo ese sobrante transparente, sin tocar el logo visible */
  background: linear-gradient(to bottom, rgba(2,12,24,0.72) 0%, transparent 100%);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s, box-shadow 0.4s;
}
#nav.scrolled {
  background: rgba(2, 12, 24, 0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-container {
  display: flex;
  align-items: center;
  gap: 48px;
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo img {
  display: block;
  width: 220px;
  height: 56px;
  object-fit: cover;
  object-position: center 48%;
}
.nav-links {
  display: flex;
  gap: 36px;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  letter-spacing: 0.02em;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--teal); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.btn-lang {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: color 0.2s, border-color 0.2s;
}
.btn-lang:hover { color: var(--teal); border-color: var(--teal); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }
.nav-mobile {
  position: fixed;
  top: calc(var(--nav-h) + 12px); left: 16px; right: 16px;
  max-height: calc(100svh - var(--nav-h) - 28px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(6, 23, 43, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  padding: 16px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.97);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.nav-mobile.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.nav-mobile a:not(.btn-primary) { font-size: 1.05rem; font-weight: 600; color: var(--text-muted); padding: 13px 10px; border-radius: var(--radius-sm); transition: color 0.2s, background 0.2s; }
.nav-mobile a:not(.btn-primary):not(:last-child) { border-bottom: 1px solid var(--border); }
.nav-mobile a:not(.btn-primary):hover, .nav-mobile a:not(.btn-primary):active { color: var(--text); background: var(--surface-2); }
.nav-mobile-utils {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
/* Con el menú móvil abierto, el logo no debe capturar taps dirigidos al panel (toggle de tema/idioma justo debajo del nav) */
body.nav-open .nav-logo { pointer-events: none; }

/* ── Overlay de procesamiento del pago (checkout) ── */
.pay-processing {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 12, 24, 0.85);
  backdrop-filter: blur(12px);
  animation: fadeIn 0.3s var(--ease);
}
html[data-theme="light"] .pay-processing { background: rgba(247, 240, 228, 0.88); }
.pay-processing-card { text-align: center; padding: 40px 32px; max-width: 340px; }
.pay-spinner { position: relative; width: 88px; height: 88px; margin: 0 auto 26px; }
.pay-spinner::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid var(--gold-glow);
  border-top-color: var(--gold);
  animation: paySpin 0.9s linear infinite;
}
.pay-processing-logo {
  position: absolute;
  top: 50%; left: 50%;
  width: 42px; height: 42px;
  transform: translate(-50%, -50%);
  animation: payPulse 1.6s ease-in-out infinite;
}
.pay-processing-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.pay-processing-sub { font-size: 0.86rem; color: var(--text-muted); line-height: 1.55; }
@keyframes paySpin { to { transform: rotate(360deg); } }
@keyframes payPulse {
  0%, 100% { opacity: 0.75; transform: translate(-50%, -50%) scale(0.94); }
  50%      { opacity: 1;    transform: translate(-50%, -50%) scale(1.06); }
}

/* ── Light mode nav ── */
html[data-theme="light"] #nav {
  background: linear-gradient(to bottom, rgba(247,240,228,0.88) 0%, transparent 100%);
}
html[data-theme="light"] #nav.scrolled {
  background: rgba(247, 240, 228, 0.96);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
html[data-theme="light"] .nav-mobile {
  background: rgba(247, 240, 228, 0.98);
  border-color: var(--border);
}
html[data-theme="light"] .btn-ghost {
  border-color: rgba(26, 18, 8, 0.22);
}

/* ── Theme toggle button ── */
.btn-theme {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.btn-theme:hover { color: var(--gold); border-color: var(--gold); background: var(--gold-glow); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 680px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}
.hero-bg.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2,12,24,0.2) 0%, transparent 30%),
    linear-gradient(0deg, rgba(2,12,24,0.95) 0%, rgba(2,12,24,0.6) 40%, transparent 70%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}
.hero-eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s var(--ease) forwards;
}
.hero-title {
  color: var(--text);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s var(--ease) forwards;
}
.hero-title span { color: var(--gold); }
.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s var(--ease) forwards;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s var(--ease) forwards;
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  right: 48px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s 1.5s forwards;
}
.hero-scroll span { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-dim); writing-mode: vertical-rl; }
.hero-scroll-line { width: 1px; height: 60px; background: linear-gradient(180deg, var(--teal) 0%, transparent 100%); animation: scrollPulse 2s infinite; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background-color: var(--surface);
  background-image: var(--texture);
  background-size: var(--texture-size);
  background-repeat: repeat;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 24px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.stat-divider { width: 40px; height: 2px; background: var(--teal); margin: 8px auto 0; border-radius: 2px; }

/* ============================================================
   CATEGORIES
   ============================================================ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}
.category-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.3s, transform 0.3s var(--ease), background 0.3s, box-shadow 0.3s;
}
.category-card:hover, .category-card.active {
  border-color: var(--teal);
  background: var(--teal-glow);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,212,255,0.1);
}
.category-icon {
  width: 52px; height: 52px;
  background: var(--surface-2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.4rem;
  transition: background 0.3s, transform 0.3s var(--ease-spring);
}
.category-card:hover .category-icon,
.category-card.active .category-icon {
  background: rgba(0,212,255,0.15);
  transform: scale(1.1) rotate(-5deg);
}
.category-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  transition: color 0.2s;
}
.category-card:hover .category-label,
.category-card.active .category-label { color: var(--teal); }

/* ============================================================
   TOUR CARDS
   ============================================================ */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tours-grid.two-col { grid-template-columns: repeat(2, 1fr); }
.tours-grid.four-col { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tour-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  cursor: pointer;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.tour-card:hover { transform: translateY(-8px); box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
.tour-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease);
}
.tour-card:hover .tour-card-img { transform: scale(1.08); }
.tour-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(2,12,24,0.5) 55%, rgba(2,12,24,0.97) 100%);
}
.tour-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--teal);
  padding: 4px 10px;
  border-radius: 100px;
}
.tour-card-badge.gold { background: var(--gold); }
.tour-card-badge.coral { background: var(--coral); }
.tour-card-season {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  max-width: 50%;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: right;
  color: var(--gold-light);
  background: rgba(2,12,24,0.72);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(212,168,83,0.4);
  padding: 4px 10px;
  border-radius: 100px;
  line-height: 1.3;
}
.tour-card-content {
  position: relative;
  z-index: 2;
  padding: 24px;
}
.tour-card-category {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}
.tour-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.2;
}
.tour-card-tagline {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tour-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.tour-card-price { }
.tour-card-price .price-eyebrow {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 1px;
}
.tour-card-price .label {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: block;
}
.tour-card-price .amount {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.tour-card-price .per {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.tour-card-price .quote-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
}
.tour-card-price .amount.old {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dim);
  text-decoration: line-through;
  opacity: 0.75;
  margin-bottom: 1px;
}
.discount-badge-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--coral), #ff9457);
  padding: 3px 9px;
  border-radius: 100px;
  box-shadow: 0 2px 10px rgba(255, 107, 53, 0.45);
  white-space: nowrap;
}
.tour-card-duration {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Featured cards (homepage) — taller */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.featured-grid .tour-card { aspect-ratio: 2/3; }

/* ============================================================
   DISCOVER / HOME GUIDE TEASER
   ============================================================ */
.discover-section {
  padding: var(--section-py) 0;
  background-color: var(--surface);
  background-image: var(--texture);
  background-size: var(--texture-size);
  background-repeat: repeat;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ============================================================
   WHY US
   ============================================================ */
.why-section {
  padding: var(--section-py) 0;
  background-color: var(--surface);
  background-image: var(--texture);
  background-size: var(--texture-size);
  background-repeat: repeat;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.2);
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.why-card:hover { transform: translateY(-6px); }
.why-card:nth-child(odd):hover  { border-color: var(--teal); box-shadow: 0 20px 50px rgba(0,212,255,0.14); }
.why-card:nth-child(even):hover { border-color: var(--gold); box-shadow: 0 20px 50px rgba(212,168,83,0.18); }
.why-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 22px;
  transition: transform 0.3s var(--ease-spring);
}
.why-card:nth-child(odd)  .why-icon { background: var(--teal-glow); color: var(--teal); box-shadow: 0 0 0 1px rgba(0,212,255,0.25) inset; }
.why-card:nth-child(even) .why-icon { background: var(--gold-glow); color: var(--gold); box-shadow: 0 0 0 1px var(--border-gold) inset; }
.why-card:hover .why-icon { transform: scale(1.1) rotate(-4deg); }
.why-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--text); }
.why-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   B2B SECTION
   ============================================================ */
.b2b-section {
  background-color: var(--surface);
  background-image: var(--texture);
  background-size: var(--texture-size);
  background-repeat: repeat;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
}
.b2b-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.b2b-eyebrow { color: var(--gold); }
.b2b-title { margin-bottom: 16px; }
.b2b-desc { color: var(--text-muted); font-size: 1rem; margin-bottom: 32px; line-height: 1.7; }
.b2b-stats { display: flex; gap: 48px; }
.b2b-stat-num { font-family: 'Outfit', sans-serif; font-size: 2.4rem; font-weight: 800; color: var(--gold); line-height: 1; }
.b2b-stat-label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; }
.b2b-image-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.b2b-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
}
.b2b-img:first-child { grid-row: span 2; border-radius: var(--radius-lg); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background-color: var(--surface);
  background-image: var(--texture);
  background-size: var(--texture-size);
  background-repeat: repeat;
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo { display: none; }
.footer-logo-icon {
  width: 160px;
  height: auto;
  display: block;
  margin-bottom: 16px;
  border-radius: var(--radius-sm);
}
.footer-tagline { font-size: 0.85rem; color: var(--text-muted); font-style: italic; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 12px; }
.footer-social {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.footer-social:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-glow); }
.footer-col h4 { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.88rem; color: var(--text-muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-dim); }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 4px 24px rgba(37,211,102,0.4);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
  color: white;
}
.whatsapp-float:hover { transform: scale(1.1) rotate(-5deg); box-shadow: 0 8px 40px rgba(37,211,102,0.6); }
.whatsapp-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.4);
  animation: waPulse 2s infinite;
}

/* ============================================================
   TOURS PAGE
   ============================================================ */
.page-hero {
  padding: calc(var(--nav-h) + 60px) 0 60px;
  text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,212,255,0.08) 0%, transparent 60%);
}
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
.page-hero p { color: var(--text-muted); font-size: 1.05rem; max-width: 480px; margin: 12px auto 0; }

.filters-bar {
  position: sticky;
  top: var(--nav-h);
  z-index: 90;
  background: rgba(2,12,24,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.filters-inner {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.filter-btn {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid var(--border);
  transition: all 0.2s var(--ease);
}
.filter-btn:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-glow); }
.filter-btn.active { background: var(--teal); border-color: var(--teal); color: var(--bg); }
.filter-btn span { font-size: 0.75rem; }

/* Tours all-grid (4 cols on tours page) */
.all-tours-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.all-tours-grid .tour-card { aspect-ratio: 3/4; }

/* ============================================================
   BOOKING PAGE
   ============================================================ */
.booking-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 80px;
}
.booking-form-wrap {}
.booking-form-title { margin-bottom: 8px; }
.booking-form-sub { color: var(--text-muted); margin-bottom: 40px; }

.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}
.form-input:focus, .form-select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-glow); }
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237B9BB5' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.form-select option { background: var(--surface-2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-name-type { grid-template-columns: 1fr 180px; }
.referral-input { display: none; margin-top: 12px; }
.referral-input.visible { display: block; }

/* Booking Summary */
.booking-summary {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.summary-tour-img {
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  position: relative;
}
.summary-tour-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--surface) 0%, transparent 50%);
}
.summary-body { padding: 24px; }
.summary-tour-name { font-family: 'Outfit', sans-serif; font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.summary-tour-cat { font-size: 0.75rem; color: var(--teal); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; margin-bottom: 20px; }
.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.summary-line:last-of-type { border-bottom: none; }
.summary-line strong { color: var(--text); }
.summary-deposit {
  background: var(--gold-glow);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-top: 16px;
  text-align: center;
}
.summary-deposit .amount { font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 800; color: var(--gold); }
.summary-deposit .label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.summary-actions { padding: 0 24px 24px; display: flex; flex-direction: column; gap: 10px; }
.summary-actions .btn-primary, .summary-actions .btn-outline-teal { width: 100%; justify-content: center; }
#paypal-button-container {
  max-height: 480px;
  overflow-y: auto;
  border-radius: var(--radius-sm);
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
#paypal-button-container::-webkit-scrollbar { width: 6px; }
#paypal-button-container::-webkit-scrollbar-track { background: transparent; }
#paypal-button-container::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }

/* ============================================================
   CONFIRMATION PAGE
   ============================================================ */
.ticket-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 40px) 24px 80px;
}
.ticket {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.ticket-header {
  background: linear-gradient(135deg, var(--surface-2) 0%, var(--surface-3) 100%);
  padding: 32px;
  position: relative;
}
.ticket-header::after {
  content: '';
  position: absolute;
  bottom: -30px; left: -10%;
  width: 120%;
  height: 60px;
  background: var(--surface);
  border-radius: 50%;
}
.ticket-logo { height: 40px; margin-bottom: 20px; }
.ticket-title { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); margin-bottom: 4px; }
.ticket-tour-name { font-family: 'Outfit', sans-serif; font-size: 1.8rem; font-weight: 800; }
.ticket-body { padding: 40px 32px 32px; }
.ticket-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 28px; }
.ticket-field label { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-dim); display: block; margin-bottom: 4px; }
.ticket-field span { font-size: 1rem; font-weight: 600; color: var(--text); }
.ticket-divider { border: none; border-top: 2px dashed var(--border); margin: 24px 0; }
.ticket-qr { text-align: center; }
.ticket-qr-code {
  width: 100px; height: 100px;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  margin: 0 auto 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}
.ticket-footer { padding: 0 32px 32px; display: flex; gap: 12px; }

/* ============================================================
   ADMIN
   ============================================================ */
.admin-body { background: #010810; }
.admin-login-wrap {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(0,212,255,0.06) 0%, transparent 60%);
}
.admin-login-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  width: 100%;
  max-width: 420px;
  text-align: center;
}
.admin-login-logo { height: 48px; margin: 0 auto 8px; }
.admin-login-sub { font-size: 0.8rem; color: var(--text-dim); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 40px; }
.admin-login-card h2 { font-size: 1.4rem; margin-bottom: 32px; }
.admin-error { color: var(--coral); font-size: 0.85rem; margin-top: 12px; }

.admin-layout { display: grid; grid-template-columns: 240px 1fr; min-height: 100svh; }
.admin-sidebar {
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 24px 0;
  position: sticky;
  top: 0; height: 100svh;
}
.admin-sidebar-logo { padding: 0 24px 24px; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.admin-sidebar-logo img { height: 36px; }
.admin-nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 24px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.admin-nav-item:hover { background: var(--teal-glow); color: var(--text); }
.admin-nav-item.active { background: var(--teal-glow); color: var(--teal); border-left: 2px solid var(--teal); }
.admin-main { padding: 40px; min-width: 0; }
.admin-hamburger { display: none; width: 36px; height: 36px; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--text); background: var(--surface-2); border: 1px solid var(--border); border-radius: 50%; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.admin-topbar h1 { font-size: 1.8rem; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
.admin-stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; }
.admin-stat-card .num { font-family: 'Outfit', sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--gold); }
.admin-stat-card .lbl { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }

.admin-table-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.admin-table-header { padding: 20px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { padding: 12px 16px; text-align: left; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); border-bottom: 1px solid var(--border); }
.admin-table td { padding: 14px 16px; font-size: 0.88rem; border-bottom: 1px solid var(--border); }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: rgba(0,212,255,0.03); }
.admin-badge { font-size: 0.7rem; font-weight: 700; padding: 3px 8px; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.06em; }
.admin-badge.active { background: rgba(0,212,255,0.15); color: var(--teal); }
.admin-badge.paused { background: rgba(255,107,53,0.15); color: var(--coral); }
.admin-actions { display: flex; gap: 8px; }
.admin-action-btn { font-size: 0.75rem; font-weight: 600; padding: 5px 12px; border-radius: 6px; border: 1px solid var(--border); color: var(--text-muted); transition: all 0.2s; }
.admin-action-btn:hover { border-color: var(--teal); color: var(--teal); }
.admin-action-btn.danger:hover { border-color: var(--coral); color: var(--coral); }

/* Modal */
.modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(2,12,24,0.8);
  backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: center; justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 640px;
  max-height: 90svh;
  overflow-y: auto;
}
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.modal-close { font-size: 1.4rem; color: var(--text-muted); transition: color 0.2s; }
.modal-close:hover { color: var(--text); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes waPulse {
  0%   { transform: scale(1); opacity: 0.6; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}
@keyframes scrollPulse {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50%  { opacity: 1; transform: scaleY(1); transform-origin: top; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .categories-grid { grid-template-columns: repeat(4, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .all-tours-grid { grid-template-columns: repeat(3, 1fr); }
  .b2b-inner { grid-template-columns: 1fr; gap: 40px; }
  .b2b-image-grid { grid-template-columns: repeat(4, 1fr); }
  .b2b-img:first-child { grid-row: 1; }
}
@media (max-width: 860px) {
  :root { --section-py: 72px; }
  .categories-grid { grid-template-columns: repeat(4, 1fr); }
  .featured-grid, .tours-grid { grid-template-columns: repeat(2, 1fr); }
  .all-tours-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .nav-links { display: none; }
  .nav-container:has(.nav-hamburger) .nav-actions { display: none; }
  .nav-hamburger { display: flex; margin-left: auto; }
  .nav-container { gap: 16px; padding: 0 16px; }
  .nav-logo img { width: 190px; height: auto; }
  .hero-scroll { display: none; }
  .footer-grid > div:nth-child(2), .footer-grid > div:nth-child(3) { display: none; }
  .b2b-image-grid { grid-template-columns: 1fr; }
  .b2b-img:nth-child(1), .b2b-img:nth-child(2) { display: none; }
  .b2b-img:nth-child(3) { grid-row: auto; aspect-ratio: 4/5; border-radius: var(--radius-lg); }
  .filters-inner {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filters-inner::-webkit-scrollbar { display: none; }
  .filter-btn { flex-shrink: 0; }
  .booking-layout { grid-template-columns: 1fr; }
  .booking-summary { position: static; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar {
    position: fixed; top: 0; left: 0; bottom: 0; width: 260px; z-index: 2500;
    transform: translateX(-100%); transition: transform 0.3s var(--ease);
    box-shadow: 8px 0 24px rgba(0,0,0,0.3);
  }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-hamburger { display: flex; }
  .admin-main { padding: 24px; }
  .admin-topbar { flex-wrap: wrap; gap: 16px; }
  .admin-topbar h1 { font-size: 1.4rem; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  :root { --section-py: 56px; }
  .nav-logo img { width: 170px; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .category-card { padding: 18px 10px; }
  .category-icon { width: 40px; height: 40px; font-size: 1.1rem; }
  .featured-grid, .tours-grid, .all-tours-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn-lg { width: 100%; justify-content: center; }
  .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .ticket-grid { grid-template-columns: 1fr; }
  .ticket-footer { flex-direction: column; }
  .admin-stats { grid-template-columns: 1fr; }
  .admin-table-header { flex-direction: column; align-items: stretch; gap: 12px; }
  .admin-table-header > div { flex-wrap: wrap; }
  .search-input { width: 100%; }
  .modal { padding: 24px; }
  .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; font-size: 1.4rem; }
  .guide-grid { grid-template-columns: 1fr; }
  .place-cols { grid-template-columns: 1fr; }
  .place-gallery-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   Guía Isla Mujeres — Public
   ============================================================ */
.guide-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 60px) 0 56px;
  overflow: hidden;
}
.guide-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/guia-hero.webp');
  background-size: cover;
  background-position: center 60%;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.guide-hero-bg.loaded { transform: scale(1); }
.guide-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, rgba(2,12,24,0.55) 55%, rgba(2,12,24,0.25) 100%);
}
.guide-hero-content { position: relative; z-index: 1; }
.guide-eyebrow {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.guide-hero h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: 12px;
}
.guide-hero p { color: var(--text-muted); font-size: 1rem; max-width: 500px; }

/* Filter pills */
.guide-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 32px 0 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}
.guide-pill {
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all .2s;
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}
.guide-pill:hover { border-color: var(--gold); color: var(--gold); }
.guide-pill.active { border-color: var(--gold); color: var(--gold); background: var(--gold-glow); }
@media (max-width: 860px) {
  .guide-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .guide-filters::-webkit-scrollbar { display: none; }
  .guide-pill { flex-shrink: 0; }
}

/* Guide grid */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 28px; }

/* Guide card */
.guide-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.guide-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0,0,0,.45);
  border-color: rgba(212,168,83,.3);
}
.guide-card-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}
.guide-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(6,23,43,.7) 100%);
}
.guide-card-type {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(2,12,24,.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold);
  color: var(--gold);
}
.guide-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.guide-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.25;
}
.guide-card-excerpt {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.guide-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.guide-card-date { font-size: .72rem; color: var(--text-dim); }
.guide-card-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: .85rem;
  transition: border-color .2s, color .2s, background .2s;
}
.guide-card:hover .guide-card-arrow { border-color: var(--gold); color: var(--gold); background: var(--gold-glow); }
.guide-empty { text-align: center; padding: 80px 0; color: var(--text-dim); grid-column: 1/-1; }

/* ============================================================
   Lugar — Individual place page
   ============================================================ */
.place-hero {
  position: relative;
  height: 70vh;
  min-height: 440px;
  overflow: hidden;
}
.place-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.place-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #020C18 0%, rgba(2,12,24,.4) 60%, rgba(2,12,24,.2) 100%);
}
.place-hero-content {
  position: absolute;
  bottom: 48px;
  left: 0;
  right: 0;
}
.place-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid var(--border-gold);
  background: rgba(2,12,24,.6);
  backdrop-filter: blur(8px);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.place-hero h1 {
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -.03em;
  text-shadow: 0 2px 24px rgba(0,0,0,.5);
  margin-bottom: 8px;
}
.place-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
}

/* Place layout */
.place-wrap { max-width: 1100px; margin: 0 auto; padding: 56px 24px 100px; }
.place-cols {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: start;
}
.place-content {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
}
.place-content p { margin-bottom: 1.2em; }

.place-recommendations {
  background: rgba(0,212,255,.06);
  border: 1px solid rgba(0,212,255,.15);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 36px;
}
.place-recommendations h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.place-rec-list { display: flex; flex-direction: column; gap: 12px; }
.place-rec-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .88rem;
  color: var(--text-muted);
}
.place-rec-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal-glow);
  border: 1px solid rgba(0,212,255,.3);
  color: var(--teal);
  font-size: .7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Place sidebar */
.place-sidebar { position: sticky; top: 96px; }
.place-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
}
.place-info-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.place-info-body { padding: 18px 22px; display: flex; flex-direction: column; gap: 14px; }
.place-info-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .88rem;
  color: var(--text-muted);
}
.place-info-row i { color: var(--teal); width: 16px; flex-shrink: 0; margin-top: 2px; }
.place-info-row a { color: var(--teal); }
.place-info-row a:hover { text-decoration: underline; }

/* Gallery */
.place-gallery { margin-top: 36px; }
.place-gallery h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.place-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.place-gallery-item {
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: opacity .2s;
}
.place-gallery-item:hover { opacity: .85; }
.place-video { margin-top: 36px; }
.place-video h3 { font-size: 1rem; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; }

/* ============================================================
   Admin — Guía tab extras
   ============================================================ */
.drop-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  position: relative;
}
.drop-zone:hover, .drop-zone.drag-over {
  border-color: var(--teal);
  background: var(--teal-glow);
}
.drop-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.drop-zone-icon { font-size: 1.8rem; color: var(--text-dim); margin-bottom: 8px; }
.drop-zone-label { font-size: .82rem; color: var(--text-muted); }
.drop-zone-label strong { color: var(--teal); }
.drop-zone-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.drop-preview-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.drop-preview-item img { width: 100%; height: 100%; object-fit: cover; }
.drop-preview-remove {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(2,12,24,.8);
  border: 1px solid var(--coral);
  color: var(--coral);
  font-size: .6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.rec-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}
.rec-input-row input { flex: 1; }
.rec-remove-btn {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--coral);
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s, background .2s;
  flex-shrink: 0;
}
.rec-remove-btn:hover { border-color: var(--coral); background: rgba(255,107,53,.1); }
.post-thumb {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  background-color: var(--surface-2);
}

/* ============================================================
   ABOUT / NUESTRA HISTORIA
   ============================================================ */
.about-section { padding: var(--section-py) 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img {
  height: 500px;
  border-radius: var(--radius-lg);
  background: var(--surface-2) center/cover no-repeat;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
}
.about-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,212,255,0.07) 0%, rgba(212,168,83,0.07) 100%);
  border-radius: inherit;
}
.about-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.about-title { margin-bottom: 28px; }
.about-body {
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 18px;
  font-size: 1.02rem;
}
.about-divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(to right, var(--gold), var(--teal));
  border-radius: 2px;
  margin: 28px 0;
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img { height: 300px; order: -1; }
}

/* ============================================================
   LIGHT MODE — PHOTO OVERLAYS & HARDCODED DARK ELEMENTS
   ============================================================ */

/* Hero gradient → sandy warm */
html[data-theme="light"] .hero-overlay {
  background:
    linear-gradient(180deg, rgba(247,240,228,0.18) 0%, transparent 32%),
    linear-gradient(0deg, rgba(247,240,228,0.97) 0%, rgba(247,240,228,0.74) 42%, transparent 72%);
}

/* Guide/blog hero gradient → sandy */
html[data-theme="light"] .guide-hero-overlay {
  background: linear-gradient(to top, var(--bg) 0%, rgba(247,240,228,0.55) 55%, rgba(247,240,228,0.2) 100%);
}

/* Place/blog detail hero → sandy */
html[data-theme="light"] .place-hero-overlay {
  background: linear-gradient(to top,
    rgba(247,240,228,0.97) 0%,
    rgba(247,240,228,0.45) 60%,
    rgba(247,240,228,0.18) 100%);
}

/* B2B section image grid overlay */
html[data-theme="light"] .b2b-img::after {
  background: linear-gradient(to top, rgba(247,240,228,0.4) 0%, transparent 60%);
}

/* Filter bar sticky (tours page) */
html[data-theme="light"] .filters-bar {
  background: rgba(247,240,228,0.95);
  border-bottom-color: var(--border);
}

/* Tour cards: content always sits on dark gradient overlay → keep light text */
html[data-theme="light"] .tour-card-category  { color: #00C4EE; }
html[data-theme="light"] .tour-card-title     { color: #E8EFF5; }
html[data-theme="light"] .tour-card-tagline   { color: #8BB8CC; }
html[data-theme="light"] .tour-card-season    { color: #E8C878; }
html[data-theme="light"] .tour-card-duration  { color: #7B9BB5; }
html[data-theme="light"] .tour-card-price .label  { color: #4A6A85; }
html[data-theme="light"] .tour-card-price .amount { color: #E8EFF5; }
html[data-theme="light"] .tour-card-price .amount.old { color: rgba(232,239,245,0.55); }
html[data-theme="light"] .tour-card-price .per    { color: #7B9BB5; }
html[data-theme="light"] .tour-card-price .quote-label { color: #D4A853; }

/* Guide cards on photo */
html[data-theme="light"] .guide-card-title   { color: var(--text); }
html[data-theme="light"] .guide-card-type    { color: rgba(232,239,245,0.7); }

/* Place hero text: sits on sandy gradient — keep dark theme text for readability */
html[data-theme="light"] .place-type-badge {
  background: rgba(247,240,228,0.75);
  border-color: var(--border-gold);
  color: var(--text);
}
html[data-theme="light"] .place-type-badge i { color: var(--gold); }

/* Guide hero text (on sandy gradient) → readable dark */
html[data-theme="light"] .guide-hero h1  { color: var(--text); }
html[data-theme="light"] .guide-hero p   { color: var(--text-muted); }
html[data-theme="light"] .guide-eyebrow  { color: var(--gold); }

/* ============================================================
   TOUR DETAIL (páginas generadas por build.js)
   ============================================================ */
.tour-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  padding: calc(var(--nav-h) + 60px) 0 56px;
}
.tour-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, rgba(2,12,24,0.55) 55%, rgba(2,12,24,0.25) 100%);
}
html[data-theme="light"] .tour-hero-overlay {
  background: linear-gradient(to top, var(--bg) 0%, rgba(247,240,228,0.55) 55%, rgba(247,240,228,0.2) 100%);
}
.tour-hero-content { position: relative; z-index: 1; }
.tour-hero-content h1 { font-size: clamp(2.2rem, 5vw, 4rem); margin: 14px 0 8px; }
.tour-hero-content .tour-card-badge { position: static; display: inline-block; }
.tour-hero-tagline { color: var(--text-muted); font-size: 1.05rem; }
.tour-hero-meta {
  display: flex; flex-wrap: wrap; gap: 20px; align-items: center;
  margin-top: 20px; font-size: 0.92rem; color: var(--text-muted);
}
.tour-hero-meta i { color: var(--teal); margin-right: 6px; }
.tour-hero-price { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.15rem; color: var(--gold); }
.breadcrumbs { font-size: 0.8rem; color: var(--text-dim); margin-bottom: 16px; }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--teal); }

.tour-detail {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: start;
}
.tour-body { max-width: 720px; }
.tour-body p { color: var(--text-muted); margin-bottom: 18px; font-size: 1.02rem; }
.tour-body h2 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  margin: 40px 0 18px;
  letter-spacing: -0.01em;
}
.tour-itinerary { list-style: none; counter-reset: step; }
.tour-itinerary li {
  counter-increment: step;
  position: relative;
  padding: 0 0 18px 52px;
  color: var(--text-muted);
}
.tour-itinerary li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: -2px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800; font-size: 0.85rem;
  color: var(--teal);
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
}
.tour-itinerary li:not(:last-child)::after {
  content: '';
  position: absolute; left: 17px; top: 34px; bottom: 0;
  width: 1px; background: var(--border);
}
.tour-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.tour-check { list-style: none; }
.tour-check li { color: var(--text-muted); padding: 6px 0; }
.tour-check i { color: var(--gold); margin-right: 10px; font-size: 0.85rem; }
.tour-meeting { color: var(--text-muted); }
.tour-meeting i { color: var(--coral); margin-right: 8px; }

details.faq {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  margin-bottom: 12px;
  overflow: hidden;
}
details.faq summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  list-style: none;
  position: relative;
  padding-right: 44px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: '+';
  position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%);
  color: var(--gold); font-size: 1.2rem; font-weight: 400;
  transition: transform 0.25s var(--ease);
}
details.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details.faq > p { padding: 0 20px 18px; margin: 0; color: var(--text-muted); }

/* Galería: 1 foto grande (alta, 1 columna x 2 filas) + 4 fotos chicas que llenan exacto
   el bloque 2x2 restante — sin huecos, a diferencia del 2x2 cuadrado (que solo dejaba
   espacio para 2 fotos chicas y obligaba a una fila extra a medias). Cada celda se llena
   completa (object-fit:cover) — si una foto necesita otro encuadre, usar el punto focal
   (mismo mecanismo que la portada). */
.tour-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}
.tour-gallery-item {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--border);
  cursor: zoom-in;
  transition: border-color 0.3s;
  padding: 0;
  overflow: hidden;
}
.tour-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tour-gallery-item:hover { border-color: var(--border-gold); }
.tour-gallery-item:first-child { grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 700px) {
  .tour-gallery { grid-template-columns: 1fr 1fr; }
  .tour-gallery-item:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16/9; }
}
.tour-video {
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.tour-video.tour-video-vertical { aspect-ratio: 9/16; max-width: 400px; margin: 0 auto; }
.tour-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.lightbox-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(2,12,24,0.95);
  z-index: 5000;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  padding: 4vw;
}
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img {
  max-width: 100%;
  max-height: 92vh;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}
.lightbox-close {
  position: absolute; top: 20px; right: 24px; font-size: 1.8rem;
  color: var(--text-muted); cursor: pointer; transition: color .2s; z-index: 1;
}
.lightbox-close:hover { color: var(--text); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); font-size: 2rem;
  color: var(--text-dim); cursor: pointer; transition: color .2s; padding: 16px; z-index: 1;
}
.lightbox-nav:hover { color: var(--text); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

.tour-book-card {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  scroll-margin-top: calc(var(--nav-h) + 16px);
  background: var(--surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.tour-book-price { margin-bottom: 8px; }
.tour-book-price .price-eyebrow { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 2px; }
.tour-book-price .label { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-dim); }
.tour-book-price .amount { font-family: 'Outfit', sans-serif; font-size: 2.4rem; font-weight: 800; color: var(--gold); line-height: 1.1; }
.tour-book-price .amount.old { display: block; font-size: 1.05rem; font-weight: 600; color: var(--text-dim); text-decoration: line-through; opacity: 0.75; margin-bottom: 2px; }
.tour-book-price .per { color: var(--text-muted); font-size: 0.9rem; margin-left: 6px; }
.tour-book-price .quote-label { font-family: 'Outfit', sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--gold); }
.tour-book-deposit { color: var(--text-muted); font-size: 0.88rem; margin: 10px 0 20px; }
.tour-book-card .btn-primary, .tour-book-card .btn-ghost { display: inline-flex; }

.tour-book-hint {
  position: fixed;
  bottom: 20px; left: 20px;
  z-index: 899;
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: #0A0800;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  padding: 12px 20px 12px 14px;
  border-radius: 100px;
  box-shadow: 0 8px 28px rgba(212,168,83,0.4);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.tour-book-hint.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.tour-book-hint-arrow { display: flex; animation: bookHintBounce 1.4s ease-in-out infinite; }
@keyframes bookHintBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* Carrusel de fotos al final del post de la Guía — scroll horizontal nativo (sin librerías) */
.guide-carousel {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 10px; margin-bottom: 20px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--gold) transparent;
}
.guide-carousel::-webkit-scrollbar { height: 8px; }
.guide-carousel::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }
.guide-carousel-item {
  flex: 0 0 auto; height: 220px; border-radius: var(--radius); border: 1px solid var(--border);
  overflow: hidden; cursor: zoom-in; scroll-snap-align: start; padding: 0; background: none;
  transition: border-color .3s;
}
.guide-carousel-item img { display: block; height: 100%; width: auto; }
.guide-carousel-item:hover { border-color: var(--border-gold); }
@media (max-width: 640px) { .guide-carousel-item { height: 170px; } }

@media (max-width: 900px) {
  .tour-detail { grid-template-columns: 1fr; gap: 40px; }
  .tour-book-card { position: static; }
  .place-sidebar { position: static; }
  .tour-lists { grid-template-columns: 1fr; gap: 8px; }
  .tour-hero { min-height: 400px; }
  .tour-book-hint { display: flex; }
}

/* ============================================================
   HOME — MUNDOS EDITORIALES
   ============================================================ */
.cat-features { display: flex; flex-direction: column; gap: 88px; }
.cat-feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.cat-feature:nth-child(even) .cat-feature-img { order: 2; }
.cat-feature-img {
  height: 460px;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
  transition: transform 0.5s var(--ease);
}
.cat-feature:hover .cat-feature-img { transform: scale(1.015); }
.cat-feature-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.cat-feature-text h3 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.cat-feature-text > p { color: var(--text-muted); margin-bottom: 28px; max-width: 460px; }
.cat-feature-tours { margin-bottom: 28px; }
.cat-feature-tours li { border-top: 1px solid var(--border); }
.cat-feature-tours li:last-child { border-bottom: 1px solid var(--border); }
.cat-feature-tours a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 13px 4px;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  transition: color 0.2s, padding-left 0.25s var(--ease);
}
.cat-feature-tours a:hover { color: var(--teal); padding-left: 12px; }
.cft-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}
.cat-feature-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--teal);
}
.cat-feature-link i { transition: transform 0.25s var(--ease); }
.cat-feature-link:hover i { transform: translateX(5px); }
@media (max-width: 900px) {
  .cat-features { gap: 64px; }
  .cat-feature { grid-template-columns: 1fr; gap: 28px; }
  .cat-feature:nth-child(even) .cat-feature-img { order: 0; }
  .cat-feature-img { height: 260px; }
}

/* Home guide cards */
.home-guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.home-guide-card {
  position: relative;
  min-height: 300px;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  transition: transform 0.4s var(--ease);
}
.home-guide-card:hover { transform: translateY(-5px); }
.home-guide-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(2,12,24,0.92) 0%, rgba(2,12,24,0.25) 55%, transparent 100%);
}
.home-guide-card-inner { position: relative; padding: 26px; }
.home-guide-type {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #00D4FF;
  margin-bottom: 8px;
}
.home-guide-card h3 { color: #E8EFF5; font-size: 1.3rem; margin-bottom: 6px; }
.home-guide-card p { color: #8BB8CC; font-size: 0.9rem; }
@media (max-width: 700px) {
  .home-guide-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   WHATSAPP MODAL (mensaje editable antes de abrir la app)
   ============================================================ */
.wa-modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(2, 12, 24, 0.8);
  backdrop-filter: blur(6px);
  z-index: 6000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.wa-modal-overlay.open { display: flex; }
.wa-modal {
  width: 100%;
  max-width: 480px;
  background: var(--surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  animation: waModalIn 0.3s var(--ease-spring);
}
@keyframes waModalIn {
  from { transform: translateY(24px) scale(0.97); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.wa-modal-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.wa-modal-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(37, 211, 102, 0.14);
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: 50%;
  color: #25D366; font-size: 1.25rem;
}
.wa-modal-head h3 { font-size: 1.15rem; flex: 1; }
.wa-modal-close { color: var(--text-dim); font-size: 1.1rem; padding: 6px; transition: color 0.2s; }
.wa-modal-close:hover { color: var(--text); }
.wa-modal-hint { color: var(--text-muted); font-size: 0.86rem; margin-bottom: 14px; }
#wa-modal-msg {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.5;
  padding: 14px;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s;
}
#wa-modal-msg:focus { border-color: var(--teal); }
.wa-modal-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 18px; }
.wa-modal-send {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366;
  color: #062818;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 22px;
  border-radius: 999px;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s;
}
.wa-modal-send:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37, 211, 102, 0.35); }

/* ============================================================
   LIGHT MODE — CONTRASTE HERO Y FILTROS
   ============================================================ */
html[data-theme="light"] .hero-eyebrow {
  color: var(--teal-dark);
  text-shadow: 0 1px 14px rgba(247,240,228,0.9), 0 0 4px rgba(247,240,228,0.8);
}
html[data-theme="light"] .hero-subtitle {
  color: var(--text);
  text-shadow: 0 1px 14px rgba(247,240,228,0.9), 0 0 4px rgba(247,240,228,0.8);
}
html[data-theme="light"] .hero-scroll span { color: var(--text-muted); }
html[data-theme="light"] .btn-ghost {
  text-shadow: 0 1px 10px rgba(247,240,228,0.8);
}
