/* Tomorrow Experience Tours · web pública */
:root {
  --navy: #0e3a6b;
  --navy-osc: #0a2a4f;
  --navy-noche: #071d36;
  --teal: #1b97a9;
  --teal-claro: #e4f4f6;
  --oro: #d99a1c;
  --oro-claro: #fbf1dc;
  --tinta: #13263d;
  --texto: #3c4c5e;
  --suave: #6b7a8b;
  --linea: #e4e0d8;
  --arena: #f8f5ef;
  --blanco: #ffffff;
  --rojo: #c0392b;
  --verde: #1d8a4e;
  --radio: 18px;
  --radio-s: 12px;
  --sombra: 0 1px 2px rgba(19, 38, 61, 0.05), 0 8px 24px rgba(19, 38, 61, 0.08);
  --sombra-alta: 0 2px 6px rgba(19, 38, 61, 0.06), 0 20px 48px rgba(19, 38, 61, 0.14);
  --ancho: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --cab: 76px;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--cab) + 16px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--texto);
  background: var(--blanco);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--tinta); margin: 0; line-height: 1.15; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--teal) 55%, transparent); outline-offset: 2px; border-radius: 6px; }

.contenedor { width: 100%; max-width: calc(var(--ancho) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.seccion { padding: clamp(56px, 8vw, 104px) 0; }
.seccion.arena { background: var(--arena); }
.solo-lectores { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Títulos con el trazo turquesa de la marca */
.titulo { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: clamp(30px, 4.2vw, 46px); letter-spacing: -0.01em; color: var(--navy); }
.trazo { display: block; width: 92px; height: 10px; margin-top: 12px; color: var(--teal); }
.centro .trazo { margin-left: auto; margin-right: auto; }
.intro { font-size: clamp(17px, 1.6vw, 19px); color: var(--suave); max-width: 620px; margin-top: 14px; }
.centro { text-align: center; }
.centro .intro { margin-left: auto; margin-right: auto; }
.cabeza-seccion { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 44px); flex-wrap: wrap; }

/* Botones */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 700; font-size: 16px; letter-spacing: 0.01em; text-decoration: none; white-space: nowrap;
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}
.boton:active { transform: scale(0.97); }
.boton svg { width: 18px; height: 18px; flex: none; }
.boton-primario { background: var(--navy); color: #fff; box-shadow: 0 6px 18px rgba(14, 58, 107, 0.25); }
.boton-primario:hover { background: var(--navy-osc); }
.boton-oro { background: var(--oro); color: var(--navy-noche); }
.boton-oro:hover { background: #c98c14; }
.boton-claro { background: rgba(255, 255, 255, 0.14); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.boton-claro:hover { background: rgba(255, 255, 255, 0.24); }
.boton-borde { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.boton-borde:hover { background: var(--navy); color: #fff; }
.boton-wa { background: var(--verde); color: #fff; }
.boton-wa:hover { background: #17733f; }
.boton-bloque { width: 100%; }
.boton[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }
.enlace { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy); text-decoration: none; }
.enlace svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.enlace:hover svg { transform: translateX(3px); }

/* ── Cabecera ── */
.cabecera {
  position: sticky; top: 0; z-index: 50; height: var(--cab);
  background: rgba(255, 255, 255, 0.96); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.cabecera.con-sombra { border-bottom-color: var(--linea); box-shadow: 0 4px 20px rgba(19, 38, 61, 0.06); }
.cabecera .contenedor { height: 100%; display: flex; align-items: center; gap: 28px; }
.marca { display: block; flex: none; }
.marca img { height: 50px; width: auto; }
.menu { display: flex; gap: 4px; margin: 0 auto; padding: 0; list-style: none; }
.menu a { display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 15.5px; color: var(--tinta); transition: background-color 0.15s ease, color 0.15s ease; }
.menu a:hover { background: var(--arena); }
.menu a[aria-current='page'] { color: var(--navy); font-weight: 700; }
.acciones-cab { display: flex; align-items: center; gap: 10px; flex: none; }
.acciones-cab .enlace-cab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--tinta); border-radius: 999px; }
.acciones-cab .enlace-cab:hover { background: var(--arena); }
.acciones-cab .enlace-cab svg { width: 18px; height: 18px; }
.acciones-cab .boton { min-height: 44px; padding: 0 20px; font-size: 15px; }
.boton-menu { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--arena); cursor: pointer; align-items: center; justify-content: center; color: var(--navy); }
.boton-menu svg { width: 24px; height: 24px; }

.menu-movil { position: fixed; inset: 0; z-index: 60; display: none; }
.menu-movil.abierto { display: block; }
.menu-movil .velo { position: absolute; inset: 0; background: rgba(7, 29, 54, 0.45); animation: aparecer 0.2s ease; }
.menu-movil .panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 380px); background: #fff; padding: 20px 22px calc(24px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; animation: entrar-derecha 0.28s cubic-bezier(0.2, 0.9, 0.3, 1); overflow-y: auto;
}
.menu-movil .panel-cab { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.menu-movil .panel-cab img { height: 42px; width: auto; }
.menu-movil ul { list-style: none; margin: 0; padding: 0; }
.menu-movil li a { display: flex; align-items: center; justify-content: space-between; padding: 16px 4px; font-size: 19px; font-weight: 600; color: var(--tinta); text-decoration: none; border-bottom: 1px solid var(--linea); }
.menu-movil li a svg { width: 18px; height: 18px; color: var(--suave); }
.menu-movil .panel .boton { margin-top: 22px; }
.menu-movil .panel .boton + .boton { margin-top: 10px; }
@keyframes aparecer { from { opacity: 0; } }
@keyframes entrar-derecha { from { transform: translateX(100%); } }

/* ── Portada ── */
.portada { position: relative; min-height: min(86vh, 760px); display: flex; align-items: center; color: #fff; isolation: isolate; overflow: hidden; }
.portada > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.portada::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 29, 54, 0.78) 0%, rgba(7, 29, 54, 0.45) 48%, rgba(7, 29, 54, 0.05) 80%), linear-gradient(0deg, rgba(7, 29, 54, 0.35), transparent 35%); }
.portada .contenedor { padding-top: 64px; padding-bottom: 64px; }
.portada h1 { color: #fff; font-family: var(--serif); font-style: italic; font-size: clamp(40px, 6.4vw, 76px); line-height: 1.04; max-width: 720px; letter-spacing: -0.015em; }
.portada .bajada { font-size: clamp(17px, 1.8vw, 21px); max-width: 560px; margin-top: 20px; color: rgba(255, 255, 255, 0.92); }
.portada .botones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.portada .trazo { color: var(--oro); width: 120px; margin-top: 18px; }

.portada-pagina { min-height: clamp(320px, 46vh, 460px); }
.portada-pagina h1 { font-size: clamp(36px, 5.4vw, 62px); }
.migas { display: flex; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, 0.8); margin-bottom: 18px; }
.migas a { color: inherit; text-decoration: none; }
.migas a:hover { text-decoration: underline; }

/* Franja de ventajas bajo la portada */
.ventajas { border-bottom: 1px solid var(--linea); background: #fff; }
.ventajas .contenedor { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.ventaja { display: flex; gap: 16px; padding: 28px 24px 28px 0; }
.ventaja + .ventaja { padding-left: 24px; border-left: 1px solid var(--linea); }
.ventaja .icono { flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--teal-claro); color: var(--teal); display: grid; place-items: center; }
.ventaja .icono svg { width: 22px; height: 22px; }
.ventaja h3 { font-size: 16.5px; font-family: var(--sans); }
.ventaja p { font-size: 15px; color: var(--suave); margin-top: 4px; line-height: 1.5; }

/* ── Tarjetas de excursión ── */
.rejilla { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.tarjeta {
  position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radio); overflow: hidden;
  box-shadow: var(--sombra); text-decoration: none; color: inherit; transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tarjeta:hover { transform: translateY(-4px); box-shadow: var(--sombra-alta); }
.tarjeta .foto { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--arena); }
.tarjeta .foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.tarjeta:hover .foto img { transform: scale(1.05); }
.tarjeta .etiqueta { position: absolute; left: 14px; top: 14px; padding: 5px 11px; border-radius: 8px; background: rgba(255, 255, 255, 0.94); color: var(--navy); font-size: 12.5px; font-weight: 700; letter-spacing: 0.02em; }
.tarjeta .cuerpo { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.tarjeta h3 { font-size: 21px; font-family: var(--sans); letter-spacing: -0.01em; }
.tarjeta .resumen { font-size: 15px; color: var(--suave); margin-top: 6px; line-height: 1.5; }
.tarjeta .pie { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; }
.tarjeta .duracion { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--suave); }
.tarjeta .duracion svg { width: 16px; height: 16px; }
.precio { text-align: right; line-height: 1.1; }
.precio small { display: block; font-size: 12px; color: var(--suave); font-weight: 500; }
.precio strong { font-size: 24px; color: var(--navy); letter-spacing: -0.02em; }
.precio .consultar { font-size: 16px; }
.tarjeta.no-disponible { opacity: 0.6; }
.tarjeta.oculta { display: none; }

/* Filtros */
.filtros { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.filtro { border: 1.5px solid var(--linea); background: #fff; padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; cursor: pointer; color: var(--tinta); transition: all 0.15s ease; }
.filtro:hover { border-color: var(--navy); }
.filtro[aria-pressed='true'] { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Mosaico de dos imágenes */
.mosaico { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mosaico a { position: relative; display: flex; align-items: flex-end; min-height: 360px; border-radius: var(--radio); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.mosaico img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.7s ease; }
.mosaico a::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7, 29, 54, 0.82), rgba(7, 29, 54, 0.05) 65%); }
.mosaico a:hover img { transform: scale(1.04); }
.mosaico .texto { padding: 30px; }
.mosaico h3 { color: #fff; font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3vw, 34px); }
.mosaico p { color: rgba(255, 255, 255, 0.88); margin-top: 8px; max-width: 420px; }
.mosaico .enlace { color: #fff; margin-top: 16px; }

/* Franja panorámica */
.franja { position: relative; height: clamp(220px, 28vw, 360px); overflow: hidden; display: grid; place-items: center; isolation: isolate; }
.franja img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.franja::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(7, 29, 54, 0.35); }
.franja p { color: #fff; font-family: var(--serif); font-style: italic; font-size: clamp(24px, 3.4vw, 40px); text-align: center; max-width: 820px; padding: 0 var(--gutter); text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35); line-height: 1.25; }

/* Bloque imagen + texto */
.dividido { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.dividido.invertido > :first-child { order: 2; }
.dividido .imagen { border-radius: var(--radio); overflow: hidden; aspect-ratio: 4 / 3.2; box-shadow: var(--sombra); }
.dividido .imagen img { width: 100%; height: 100%; object-fit: cover; }
.dividido p + p { margin-top: 14px; }
.dividido .botones { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.lista-check { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.lista-check li { display: flex; gap: 12px; align-items: flex-start; }
.lista-check svg { flex: none; width: 22px; height: 22px; color: var(--teal); margin-top: 2px; }

/* Pasos numerados */
.pasos-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: paso; }
.paso-3 { padding-top: 22px; border-top: 2px solid var(--linea); }
.paso-3 .num { font-family: var(--serif); font-style: italic; font-size: 40px; color: var(--teal); line-height: 1; }
.paso-3 h3 { font-size: 19px; font-family: var(--sans); margin-top: 14px; }
.paso-3 p { color: var(--suave); margin-top: 8px; font-size: 16px; }

/* Tarjetas de valores */
.valores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.valor { background: #fff; border-radius: var(--radio); padding: 28px; box-shadow: var(--sombra); }
.valor .icono { width: 48px; height: 48px; border-radius: 14px; background: var(--oro-claro); color: var(--oro); display: grid; place-items: center; }
.valor .icono svg { width: 24px; height: 24px; }
.valor h3 { font-family: var(--sans); font-size: 19px; margin-top: 18px; }
.valor p { color: var(--suave); margin-top: 8px; font-size: 16px; }

/* Preguntas */
.preguntas-envoltura { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.preguntas details { border-bottom: 1px solid var(--linea); }
.preguntas details:first-child { border-top: 1px solid var(--linea); }
.preguntas summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 2px; cursor: pointer; list-style: none; font-weight: 700; font-size: 18px; color: var(--tinta); }
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary svg { flex: none; width: 22px; height: 22px; color: var(--navy); transition: transform 0.25s ease; }
.preguntas details[open] summary svg { transform: rotate(45deg); }
.preguntas details p { padding: 0 2px 22px; color: var(--texto); max-width: 640px; }

/* Llamada final */
.llamada { position: relative; border-radius: 26px; overflow: hidden; background: var(--navy); color: #fff; padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center; isolation: isolate; }
.llamada img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0.32; }
.llamada::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 42, 79, 0.95) 30%, rgba(10, 42, 79, 0.6)); }
.llamada h2 { color: #fff; font-family: var(--serif); font-style: italic; font-size: clamp(30px, 4vw, 44px); }
.llamada p { color: rgba(255, 255, 255, 0.85); margin-top: 12px; max-width: 520px; }
.llamada .trazo { color: var(--oro); }
.llamada .botones { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* ── Pie ── */
.pie-sitio { background: var(--navy-noche); color: rgba(255, 255, 255, 0.75); padding: clamp(56px, 7vw, 80px) 0 0; font-size: 15.5px; }
.pie-sitio .columnas { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
.pie-sitio img.logo-pie { height: 62px; width: auto; }
.pie-sitio .lema-pie { margin-top: 18px; max-width: 320px; line-height: 1.6; }
.pie-sitio h4 { color: #fff; font-family: var(--sans); font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 18px; }
.pie-sitio ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pie-sitio a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.pie-sitio a:hover { color: #fff; text-decoration: underline; }
.pie-sitio .contacto-pie li { display: flex; gap: 10px; align-items: center; }
.pie-sitio .contacto-pie svg { width: 18px; height: 18px; color: var(--oro); flex: none; }
.pie-sitio .base { margin-top: 56px; padding: 22px 0 calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: rgba(255, 255, 255, 0.55); }
.pie-sitio .base a { color: rgba(255, 255, 255, 0.65); }

/* Botón flotante de WhatsApp */
.wa-flotante { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37, 211, 102, 0.4); transition: transform 0.2s ease; }
.wa-flotante:hover { transform: scale(1.06); }
.wa-flotante svg { width: 30px; height: 30px; }

/* ── Página de excursión ── */
.detalle { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(340px, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; padding-top: clamp(24px, 4vw, 48px); padding-bottom: clamp(56px, 7vw, 96px); }
.detalle > * { min-width: 0; }
.galeria .principal { position: relative; border-radius: var(--radio); overflow: hidden; aspect-ratio: 16 / 10.5; background: var(--arena); }
.galeria .principal img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.35s ease; }
.galeria .flecha { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.92); color: var(--navy); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15); }
.galeria .flecha svg { width: 22px; height: 22px; }
.galeria .flecha.ant { left: 14px; }
.galeria .flecha.sig { right: 14px; }
.galeria .contador { position: absolute; right: 14px; bottom: 14px; background: rgba(7, 29, 54, 0.7); color: #fff; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.galeria .miniaturas { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.galeria .miniaturas::-webkit-scrollbar { display: none; }
.galeria .miniaturas button { flex: none; width: 104px; aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; border: 2.5px solid transparent; padding: 0; cursor: pointer; background: none; opacity: 0.75; transition: all 0.15s ease; }
.galeria .miniaturas button[aria-current='true'] { border-color: var(--navy); opacity: 1; }
.galeria .miniaturas img { width: 100%; height: 100%; object-fit: cover; }
.ficha .categoria { color: var(--teal); font-weight: 700; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 30px; }
.ficha h1 { font-family: var(--serif); font-style: italic; font-size: clamp(36px, 4.6vw, 54px); color: var(--navy); margin-top: 8px; }
.ficha .datos { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 14px; color: var(--suave); font-size: 15px; }
.ficha .datos span { display: inline-flex; align-items: center; gap: 7px; }
.ficha .datos svg { width: 18px; height: 18px; color: var(--teal); }
.ficha .entrada { font-size: 20px; color: var(--tinta); margin-top: 22px; line-height: 1.5; }
.ficha .parrafos p { margin-top: 14px; }
.ficha h2 { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--navy); margin-top: 44px; }
.ficha .nota { color: var(--suave); font-size: 15px; margin-top: 8px; }
.linea-tiempo { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 0; }
.linea-tiempo li { position: relative; display: flex; gap: 18px; padding-bottom: 22px; }
.linea-tiempo li:not(:last-child)::before { content: ''; position: absolute; left: 17px; top: 38px; bottom: 4px; width: 2px; background: var(--linea); }
.linea-tiempo .n { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--teal-claro); color: var(--teal); font-weight: 700; display: grid; place-items: center; font-size: 15px; }
.linea-tiempo p { padding-top: 6px; }
.caja-nota { margin-top: 28px; background: var(--arena); border-radius: var(--radio-s); padding: 20px 22px; display: flex; gap: 14px; }
.caja-nota svg { flex: none; width: 22px; height: 22px; color: var(--oro); margin-top: 2px; }
.caja-nota strong { color: var(--tinta); display: block; margin-bottom: 4px; }
.caja-nota p { color: var(--texto); font-size: 16px; }

/* Formulario de reserva */
.reservar { position: sticky; top: calc(var(--cab) + 20px); background: #fff; border-radius: 22px; box-shadow: var(--sombra-alta); padding: 28px; border: 1px solid var(--linea); }
.reservar .tit { font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--navy); }
.reservar .sub { color: var(--suave); font-size: 15px; margin-top: 6px; }
.reservar .precio-linea { display: flex; align-items: baseline; gap: 8px; margin-top: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--linea); }
.reservar .precio-linea strong { font-size: 30px; color: var(--navy); letter-spacing: -0.02em; }
.reservar .precio-linea span { color: var(--suave); font-size: 15px; }
.campos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.campo { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.campo.ancho { grid-column: 1 / -1; }
.campo label { font-size: 13.5px; font-weight: 700; color: var(--tinta); }
.campo label .opc { color: var(--suave); font-weight: 500; }
.campo input, .campo select, .campo textarea {
  width: 100%; min-width: 0; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--linea); border-radius: var(--radio-s); background: #fff;
  font-size: 16px; color: var(--tinta); transition: border-color 0.15s ease, box-shadow 0.15s ease; -webkit-appearance: none; appearance: none;
}
.campo select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230e3a6b' stroke-width='2'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.campo textarea { min-height: 92px; resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(27, 151, 169, 0.14); }
.campo input[aria-invalid='true'] { border-color: var(--rojo); }
.campo .ayuda { font-size: 13px; color: var(--suave); }
.contador-num { display: flex; align-items: center; border: 1.5px solid var(--linea); border-radius: var(--radio-s); height: 48px; overflow: hidden; }
.contador-num button { flex: none; width: 46px; height: 100%; border: 0; background: var(--arena); color: var(--navy); font-size: 22px; font-weight: 600; cursor: pointer; }
.contador-num button:hover { background: var(--teal-claro); }
.contador-num input { min-width: 0; width: 100%; border: 0 !important; box-shadow: none !important; text-align: center; min-height: 0; height: 100%; padding: 0; font-weight: 700; border-radius: 0; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.total { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; padding: 16px 18px; border-radius: var(--radio-s); background: var(--teal-claro); }
.total span { font-weight: 600; color: var(--tinta); }
.total small { display: block; font-weight: 500; color: var(--suave); font-size: 13px; }
.total strong { font-size: 26px; color: var(--navy); letter-spacing: -0.02em; white-space: nowrap; }
.reservar .boton { margin-top: 16px; }
.paypal-caja { margin-top: 12px; }
.boton-paypal-inactivo { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 50px; border-radius: 999px; border: 0; background: #ffc439; color: #253b80; font-weight: 800; font-size: 16px; opacity: 0.55; cursor: not-allowed; }
.boton-paypal-inactivo em { font-style: italic; color: #179bd7; }
.letra-chica { font-size: 13px; color: var(--suave); text-align: center; margin-top: 10px; line-height: 1.5; }
.aviso { margin-top: 14px; padding: 12px 14px; border-radius: var(--radio-s); font-size: 15px; }
.aviso.error { background: #fdecea; color: #8a2a20; }
.aviso.ok { background: #e7f6ee; color: #145c36; }
.listo { text-align: center; padding: 8px 0; }
.listo .check { width: 64px; height: 64px; border-radius: 50%; background: #e7f6ee; color: var(--verde); display: grid; place-items: center; margin: 4px auto 14px; }
.listo .check svg { width: 32px; height: 32px; }
.listo h3 { font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--navy); }
.listo p { color: var(--texto); margin-top: 8px; }
.codigo { display: inline-block; margin: 16px 0 6px; padding: 10px 18px; border-radius: 12px; background: var(--arena); font-size: 24px; font-weight: 800; letter-spacing: 0.08em; color: var(--navy); border: 1.5px dashed var(--linea); }

/* Formularios de página (traslados, contacto, mi reserva) */
.formulario-tarjeta { background: #fff; border-radius: 22px; box-shadow: var(--sombra-alta); padding: clamp(22px, 4vw, 40px); border: 1px solid var(--linea); }
.formulario-tarjeta .campos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.formulario-tarjeta .campos.tres { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grupo-tit { grid-column: 1 / -1; font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--linea); }
.grupo-tit:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.segmentos { display: inline-flex; background: var(--arena); border-radius: 999px; padding: 4px; gap: 4px; }
.segmentos button { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: 15px; cursor: pointer; color: var(--suave); }
.segmentos button[aria-pressed='true'] { background: #fff; color: var(--navy); box-shadow: 0 2px 8px rgba(19, 38, 61, 0.1); }

.rutas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.ruta { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radio-s); background: #fff; border: 1.5px solid var(--linea); cursor: pointer; text-align: left; transition: border-color 0.15s ease, box-shadow 0.15s ease; width: 100%; }
.ruta:hover { border-color: var(--teal); box-shadow: var(--sombra); }
.ruta .icono { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--teal-claro); color: var(--teal); display: grid; place-items: center; }
.ruta .icono svg { width: 20px; height: 20px; }
.ruta strong { display: block; color: var(--tinta); font-size: 16px; }
.ruta span { color: var(--suave); font-size: 14.5px; }
.ruta .ir { margin-left: auto; color: var(--navy); font-weight: 700; font-size: 14px; white-space: nowrap; }

.resultado { margin-top: 24px; border-radius: var(--radio); border: 1px solid var(--linea); padding: 24px; background: #fff; }
.resultado .fila { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--linea); }
.resultado .fila:last-child { border-bottom: 0; }
.resultado .fila span { color: var(--suave); }
.resultado .fila strong { color: var(--tinta); text-align: right; }
.estado { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 14px; font-weight: 700; }
.estado.pendiente, .estado.recibida { background: var(--oro-claro); color: #8a5d00; }
.estado.confirmada { background: #e7f6ee; color: var(--verde); }
.estado.completada { background: var(--teal-claro); color: var(--teal); }
.estado.cancelada { background: #fdecea; color: var(--rojo); }

.canales { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.canal { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--radio); background: #fff; box-shadow: var(--sombra); text-decoration: none; color: inherit; transition: transform 0.2s ease; }
.canal:hover { transform: translateY(-3px); }
.canal .icono { width: 48px; height: 48px; border-radius: 14px; background: var(--teal-claro); color: var(--teal); display: grid; place-items: center; }
.canal .icono svg { width: 24px; height: 24px; }
.canal strong { color: var(--tinta); font-size: 18px; }
.canal span { color: var(--suave); font-size: 15px; word-break: break-word; }

.creditos { columns: 2; column-gap: 40px; font-size: 15px; }
.creditos li { break-inside: avoid; margin-bottom: 12px; color: var(--texto); }
.creditos a { color: var(--navy); }

/* Barra fija para reservar (móvil y tablet) */
.barra-reserva { display: none; }
@media (max-width: 1080px) {
  .barra-reserva {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--linea);
    box-shadow: 0 -8px 24px rgba(19, 38, 61, 0.08); transition: transform 0.3s ease;
  }
  .barra-reserva.oculta { transform: translateY(110%); }
  .barra-reserva small { display: block; font-size: 13px; color: var(--suave); line-height: 1.2; }
  .barra-reserva strong { font-size: 19px; color: var(--navy); letter-spacing: -0.02em; }
  .barra-reserva .boton { min-height: 46px; padding: 0 22px; }
  body:has(.barra-reserva) { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  body:has(.barra-reserva) .wa-flotante { bottom: calc(88px + env(safe-area-inset-bottom)); }
}

/* ═════════════ Animaciones ═════════════ */
body { animation: pagina-entra 0.6s ease both; }
@keyframes pagina-entra { from { opacity: 0; } }

/* Portada: la foto se acerca despacio y el texto entra escalonado */
.portada > img { animation: acercar 16s cubic-bezier(0.2, 0.6, 0.2, 1) both; transform-origin: 60% 50%; }
@keyframes acercar { from { transform: scale(1.14); } to { transform: scale(1); } }
.portada .contenedor > * { animation: subir 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.portada .contenedor > :nth-child(1) { animation-delay: 0.1s; }
.portada .contenedor > :nth-child(2) { animation-delay: 0.22s; }
.portada .contenedor > :nth-child(3) { animation-delay: 0.34s; }
.portada .contenedor > :nth-child(4) { animation-delay: 0.46s; }
.portada .contenedor > :nth-child(5) { animation-delay: 0.58s; }
@keyframes subir { from { opacity: 0; transform: translateY(26px); } }
.portada .trazo path { animation: trazar 1.1s 0.6s cubic-bezier(0.6, 0, 0.2, 1) both; }

/* El trazo turquesa se dibuja cuando el título aparece */
.trazo path { clip-path: inset(0 100% 0 0); transition: clip-path 1s 0.25s cubic-bezier(0.6, 0, 0.2, 1); }
.trazo.visible path, .visible .trazo path { clip-path: inset(0 0 0 0); }
@keyframes trazar { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* Cabecera: el logo se achica un poco al bajar; subrayado animado en el menú */
.marca img { transition: transform 0.35s ease; transform-origin: left center; }
.cabecera.con-sombra .marca img { transform: scale(0.9); }
.menu a { position: relative; }
.menu a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; }
.menu a:hover::after, .menu a[aria-current='page']::after { transform: scaleX(1); }

/* Botones: la flecha avanza al pasar el cursor */
.boton svg { transition: transform 0.25s ease; }
.boton:hover svg { transform: translateX(3px); }

/* Ventajas: los íconos aparecen con un pequeño salto */
.ventaja { animation: subir 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.ventaja:nth-child(1) { animation-delay: 0.7s; }
.ventaja:nth-child(2) { animation-delay: 0.82s; }
.ventaja:nth-child(3) { animation-delay: 0.94s; }
.ventaja .icono { transition: transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1); }
.ventaja:hover .icono { transform: translateY(-3px) rotate(-6deg); }

/* Cinta de destinos */
.cinta { overflow: hidden; background: var(--navy); color: #fff; padding: 18px 0; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.cinta-pista { display: flex; align-items: center; width: max-content; animation: cinta 42s linear infinite; }
.cinta:hover .cinta-pista { animation-play-state: paused; }
.cinta span { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.4vw, 28px); white-space: nowrap; padding: 0 26px; }
.cinta i { width: 8px; height: 8px; border-radius: 50%; background: var(--oro); flex: none; }
@keyframes cinta { to { transform: translateX(-50%); } }

/* Tarjetas: entran de a una y se iluminan al pasar */
.tarjeta.revelar { transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease; }
.tarjeta .ver-mas { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; font-size: 15px; color: var(--navy); }
.tarjeta .ver-mas svg { width: 16px; height: 16px; transition: transform 0.25s ease; }
.tarjeta:hover .ver-mas svg { transform: translateX(4px); }
.tarjeta .foto::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%); transform: translateX(-120%); transition: transform 0.9s ease; pointer-events: none; }
.tarjeta:hover .foto::after { transform: translateX(120%); }

/* Tarjetas de espera mientras llegan los tours */
.esqueleto .foto, .principal.esqueleto, .linea-esq { background: linear-gradient(90deg, #eef0f2 25%, #f7f8f9 45%, #eef0f2 65%); background-size: 300% 100%; animation: brillo-espera 1.4s ease-in-out infinite; }
.linea-esq { display: block; height: 14px; border-radius: 7px; margin-top: 10px; }
.tarjeta.esqueleto { pointer-events: none; box-shadow: var(--sombra); }
.tarjeta.esqueleto .cuerpo { gap: 2px; }
@keyframes brillo-espera { from { background-position: 100% 0; } to { background-position: 0 0; } }
.aviso-catalogo { grid-column: 1 / -1; text-align: center; padding: 40px 20px; display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--suave); }

/* Página de excursión */
.detalle.cargado .ficha > * { animation: subir 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.detalle.cargado .ficha > :nth-child(2) { animation-delay: 0.06s; }
.detalle.cargado .ficha > :nth-child(3) { animation-delay: 0.12s; }
.detalle.cargado .ficha > :nth-child(4) { animation-delay: 0.18s; }
.detalle.cargado .reservar { animation: subir 0.8s 0.15s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.galeria [data-d-foto] { animation: aparecer 0.6s ease; }
.galeria img.cambiando { opacity: 0.2; transform: scale(1.02); }
.galeria .principal img { transition: opacity 0.35s ease, transform 0.6s ease; }
.principal.sin-foto { background: var(--teal-claro); }
.linea-tiempo li.revelar { transition: opacity 0.6s ease, transform 0.6s ease; }

/* Detalles que responden al toque */
.latido { animation: latido 0.35s ease; }
@keyframes latido { 50% { transform: scale(1.25); color: var(--teal); } }
.entrar { animation: subir 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.listo .check { animation: check 0.7s 0.1s cubic-bezier(0.3, 1.6, 0.5, 1) both; }
@keyframes check { from { transform: scale(0.3); opacity: 0; } }
.destello { animation: destello 1.2s ease; }
@keyframes destello { 30% { box-shadow: 0 0 0 6px rgba(27, 151, 169, 0.25), var(--sombra-alta); } }
.filtro { transition: all 0.2s ease, transform 0.2s cubic-bezier(0.3, 1.6, 0.5, 1); }
.filtro:active { transform: scale(0.94); }
.preguntas details[open] p { animation: subir 0.4s ease both; }
.mosaico .texto { transition: transform 0.4s ease; }
.mosaico a:hover .texto { transform: translateY(-6px); }
.valor, .canal, .ruta { transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.15s ease; }
.valor:hover { transform: translateY(-4px); box-shadow: var(--sombra-alta); }
.valor .icono { transition: transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1); }
.valor:hover .icono { transform: rotate(-8deg) scale(1.08); }

/* WhatsApp flotante: un pulso suave cada pocos segundos */
.wa-flotante::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); animation: pulso 3.2s ease-out infinite 2s; }
@keyframes pulso { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); } 70%, 100% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); } }

/* Fotos con parallax: un poco más grandes para que no se vean los bordes */
[data-parallax] { will-change: transform; transform: scale(1.14); }

/* Aparición suave al hacer scroll */
.revelar { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.revelar.visible { opacity: 1; transform: none; }

/* ── Tablet ── */
@media (max-width: 1080px) {
  .menu, .acciones-cab .enlace-cab { display: none; }
  .boton-menu { display: inline-flex; }
  .acciones-cab { margin-left: auto; }
  .rejilla { grid-template-columns: repeat(2, 1fr); }
  .pie-sitio .columnas { grid-template-columns: 1fr 1fr; }
  .detalle { grid-template-columns: minmax(0, 1fr); }
  .reservar { position: static; }
}

/* ── Móvil ── */
@media (max-width: 720px) {
  :root { --cab: 66px; }
  body { font-size: 16px; }
  .marca img { height: 42px; }
  .acciones-cab .boton { display: none; }
  .portada { min-height: 78vh; align-items: flex-end; }
  .portada::before { background: linear-gradient(0deg, rgba(7, 29, 54, 0.88) 0%, rgba(7, 29, 54, 0.55) 55%, rgba(7, 29, 54, 0.15) 100%); }
  .portada .contenedor { padding-top: 120px; padding-bottom: 40px; }
  .portada .botones .boton { flex: 1 1 100%; }
  .portada-pagina { min-height: 360px; }
  .ventajas .contenedor { grid-template-columns: 1fr; }
  .ventaja { padding: 20px 0; }
  .ventaja + .ventaja { padding-left: 0; border-left: 0; border-top: 1px solid var(--linea); }
  .rejilla, .mosaico, .valores, .pasos-3, .canales, .rutas { grid-template-columns: 1fr; }
  .mosaico a { min-height: 300px; }
  .dividido, .preguntas-envoltura { grid-template-columns: minmax(0, 1fr); }
  .dividido.invertido > :first-child { order: 0; }
  .llamada { grid-template-columns: 1fr; text-align: left; }
  .llamada .botones { justify-content: flex-start; }
  .llamada .botones .boton { flex: 1 1 100%; }
  .pie-sitio .columnas { grid-template-columns: 1fr; gap: 32px; }
  .campos, .formulario-tarjeta .campos, .formulario-tarjeta .campos.tres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .campo.movil-ancho { grid-column: 1 / -1; }
  .reservar { padding: 22px; border-radius: 20px; }
  .galeria .flecha { width: 40px; height: 40px; }
  .galeria .miniaturas button { width: 84px; }
  .creditos { columns: 1; }
  .cabeza-seccion { align-items: flex-start; }
  .wa-flotante { width: 54px; height: 54px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .revelar { opacity: 1; transform: none; }
  .trazo path { clip-path: none; }
  [data-parallax] { transform: none !important; }
  .cinta-pista { animation: none; }
}

/* Botón de idioma */
.idioma-btn { min-width: 44px; height: 38px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--linea); background: #fff; color: var(--navy); font-weight: 800; font-size: 13.5px; letter-spacing: 0.06em; cursor: pointer; transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease; }
.idioma-btn:hover { border-color: var(--navy); background: var(--arena); }
.idioma-btn:active { transform: scale(0.94); }
@media (max-width: 720px) { .idioma-btn { height: 36px; min-width: 42px; padding: 0 10px; } }

/* Nota de niños a mitad de precio: comparte la línea divisoria del precio */
.reservar .precio-linea { border-bottom: 0; padding-bottom: 4px; }
.reservar .nota-ninos { margin: 0; padding-bottom: 18px; border-bottom: 1px solid var(--linea); font-size: 14px; color: var(--suave); }
.reservar .nota-ninos::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); margin-right: 8px; vertical-align: middle; }
