/* =========================================================
   Experiencias Sin Límites (experiencias.php, empleo/reservar.php, empleo/reserva.php)
   ========================================================= */

/* ---------- Portada de la sección ---------- */
.exp-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 40px; align-items: center; margin: clamp(18px, 2.4vw, 30px) 0 6px; }
.exp-intro > p { margin: 0; max-width: 62ch; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--tinta); }
.exp-pasos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, auto)); gap: 10px 22px; font-weight: 500; }
.exp-pasos li { display: flex; align-items: center; gap: 10px; }
.exp-pasos span { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--acento, #2EC4B6); color: var(--tinta); font-weight: 900; font-size: .9rem; }
.exp-filtros { margin-bottom: 4px; }
.exp-vacio { margin-top: 24px; }
@media (max-width: 860px) { .exp-intro { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 460px) { .exp-pasos { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Galería tipo masonry: cada banner ocupa --c columnas y --f filas ---------- */
.exp-galeria { list-style: none; margin: 18px 0 clamp(40px, 6vw, 80px); padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(120px, 11vw, 170px);
  grid-auto-flow: row dense; gap: clamp(10px, 1.2vw, 16px); }
.exp-banner { grid-column: span var(--c, 1); grid-row: span var(--f, 2); min-width: 0; }
.exp-banner > a { position: relative; display: block; height: 100%; overflow: hidden; border-radius: var(--radio);
  border: 1.5px solid var(--tinta); background: var(--tinta); color: #fff; text-decoration: none; isolation: isolate; }
.exp-media { position: absolute; inset: 0; z-index: -1; }
.exp-media img, .exp-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%;
  transition: transform .8s var(--curva), opacity 1.2s ease; }
.exp-media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.85) 100%); }
.exp-sin-foto { position: absolute; inset: 0; display: grid; place-items: center; background: var(--acento, #2EC4B6); color: var(--tinta); }
.exp-sin-foto .icono { width: 30%; height: 30%; opacity: .5; }
.exp-banner > a:hover .exp-media img, .exp-banner > a:focus-visible .exp-media img { transform: scale(1.06); }
.exp-banner > a:focus-visible { outline: 4px solid var(--foco); outline-offset: 3px; }

.exp-texto { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 4px; padding: clamp(12px, 1.4vw, 20px); }
.exp-etiqueta { justify-self: start; padding: 3px 10px; border-radius: 99px; background: var(--acento, #2EC4B6); color: var(--tinta);
  font-size: .78rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.exp-titulo { font-family: var(--display); font-weight: 900; font-stretch: 78%; font-variation-settings: "wdth" 78;
  font-size: clamp(1.25rem, 1.8vw, 1.7rem); line-height: 1; text-transform: uppercase; text-wrap: balance; }
.exp-ancho .exp-titulo, .exp-grande .exp-titulo { font-size: clamp(1.6rem, 2.8vw, 2.6rem); }
.exp-chico .exp-titulo { font-size: clamp(1.05rem, 1.3vw, 1.25rem); }
.exp-datos { font-size: .9rem; opacity: .92; }
.exp-datos:empty { display: none; }
.exp-precio { font-size: .95rem; }
.exp-precio s { opacity: .75; }
.exp-precio strong { font-size: 1.15rem; }
.exp-precio small { opacity: .85; }
.exp-chico .exp-datos, .exp-chico .exp-precio small { display: none; }
.exp-desc { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; text-align: center; line-height: 1;
  width: 70px; height: 70px; border-radius: 50%; background: #FFD84D; color: var(--tinta); font-weight: 900; font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(0,0,0,.25); transform: rotate(-8deg); }
.exp-desc small { display: block; font-size: .5rem; font-weight: 700; letter-spacing: -.01em; text-transform: uppercase; margin-top: -12px; }
.exp-chico .exp-desc { width: 52px; height: 52px; font-size: 1rem; top: 8px; right: 8px; }
.exp-chico .exp-desc small { display: none; }

/* Movimientos de los banners */
.exp-anim-zoom .exp-media img { animation: exp-zoom 16s ease-in-out infinite alternate; }
.exp-anim-paneo .exp-media img { width: 118%; max-width: none; left: -9%; animation: exp-paneo 18s ease-in-out infinite alternate; }
.exp-anim-fotos .exp-media img { opacity: 0; }
.exp-anim-fotos .exp-media img.activa { opacity: 1; animation: exp-zoom 9s ease-out forwards; }
.exp-anim-video .exp-media video { opacity: 0; }
.exp-anim-video .exp-media video.lista { opacity: 1; }
@keyframes exp-zoom { from { transform: scale(1); } to { transform: scale(1.14); } }
@keyframes exp-paneo { from { transform: translateX(-6%); } to { transform: translateX(6%); } }
.exp-galeria > li { animation: exp-entrar .7s var(--curva) both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes exp-entrar { from { opacity: 0; transform: translateY(18px); } }

/* Sin movimiento para quien lo pidió */
.acc-sin-animacion .exp-media img, .acc-sin-animacion .exp-galeria > li { animation: none !important; transition: none; }
.acc-sin-animacion .exp-anim-paneo .exp-media img { width: 100%; left: 0; }
@media (prefers-reduced-motion: reduce) {
  .exp-media img, .exp-galeria > li { animation: none !important; transition: none; }
  .exp-anim-paneo .exp-media img { width: 100%; left: 0; }
}

@media (max-width: 1100px) { .exp-galeria { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .exp-galeria { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 120px; }
  .exp-desc { width: 56px; height: 56px; font-size: 1rem; }
}
@media (max-width: 480px) {
  .exp-galeria { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 110px; }
  .exp-banner { grid-column: span 1; }
  .exp-chico { grid-row: span 2; }
}
.exp-galeria-chica { grid-auto-rows: 130px; }
.alto-contraste .exp-etiqueta, .alto-contraste .exp-desc { background: #FFEB3B; color: #000; }
.acc-sin-imagenes .exp-media img, .acc-sin-imagenes .exp-media video { visibility: hidden; }

/* ---------- Ficha de la actividad ---------- */
.exp-ficha { display: grid; gap: clamp(18px, 2.4vw, 28px); margin-top: clamp(16px, 2vw, 26px); }
.exp-ficha .lb-volver { justify-self: start; }
.exp-ficha-cab { display: grid; gap: 10px; }
.exp-ficha .lb-h1 { font-size: clamp(2.1rem, 5vw, 5rem); }
.exp-ofrece { margin: 0; color: var(--tinta-suave); }

.exp-fotos { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(120px, 15vw, 220px); }
.exp-fotos li:first-child { grid-column: span 2; grid-row: span 2; }
.exp-fotos-1 { grid-template-columns: minmax(0, 1fr); grid-auto-rows: clamp(240px, 38vw, 520px); }
.exp-fotos-1 li:first-child { grid-column: auto; grid-row: auto; }
.exp-fotos-2 li:nth-child(2) { grid-column: span 2; grid-row: span 2; }
.exp-fotos-3 li:nth-child(n+2) { grid-column: span 2; }
.exp-fotos-4 li:nth-child(4) { grid-column: span 2; }
.exp-fotos a { display: block; height: 100%; border-radius: var(--radio); overflow: hidden; border: 1.5px solid var(--tinta); }
.exp-fotos img, .exp-fotos-todas img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; display: block; transition: transform .6s var(--curva); }
.exp-fotos a:hover img { transform: scale(1.04); }
.exp-mas-fotos summary { cursor: pointer; font-weight: 700; }
.exp-fotos-todas { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.exp-fotos-todas li { aspect-ratio: 4 / 3; border-radius: var(--radio); overflow: hidden; }
@media (max-width: 640px) {
  .exp-fotos { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 130px; }
  .exp-fotos li:first-child, .exp-fotos-2 li:nth-child(2) { grid-column: span 2; grid-row: span 2; }
  .exp-fotos-3 li:nth-child(n+2), .exp-fotos-4 li:nth-child(4) { grid-column: auto; }
  .exp-fotos-4 li:nth-child(4) { grid-column: span 2; }
}

.exp-ficha-cuerpo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: clamp(24px, 4vw, 56px); align-items: start; }
.exp-ficha-info { display: grid; gap: clamp(26px, 3vw, 40px); min-width: 0; }
.exp-ficha-info .dep-texto { max-width: 72ch; }
.exp-h2 { margin: 0 0 12px; font-family: var(--display); font-weight: 900; font-stretch: 78%; font-variation-settings: "wdth" 78;
  font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1; text-transform: uppercase; }
@media (max-width: 900px) { .exp-ficha-cuerpo { grid-template-columns: minmax(0, 1fr); } }

/* Cronograma como línea de tiempo */
.exp-crono { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.exp-crono li { position: relative; display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; padding: 0 0 18px; }
.exp-crono li::before { content: ""; position: absolute; left: 100px; top: 8px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--acento, #2EC4B6); border: 2px solid var(--tinta); }
.exp-crono li::after { content: ""; position: absolute; left: 106px; top: 24px; bottom: 0; width: 2px; background: var(--linea-fuerte); }
.exp-crono li:last-child::after { display: none; }
.exp-crono-hora { font-family: var(--mono); font-weight: 500; font-size: 1rem; text-align: right; padding-top: 2px; }
.exp-crono-texto { padding-left: 26px; font-size: 1.05rem; }
.exp-crono li:not(:has(.exp-crono-hora)) .exp-crono-texto { grid-column: 2; }
@media (max-width: 480px) {
  .exp-crono li { grid-template-columns: 62px minmax(0, 1fr); gap: 10px; }
  .exp-crono li::before { left: 68px; } .exp-crono li::after { left: 74px; }
  .exp-crono-hora { font-size: .9rem; }
}

.exp-lista { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; max-width: 70ch; }
.exp-lista li { position: relative; padding-left: 30px; font-size: 1.05rem; }
.exp-lista li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--linea-fuerte); }
.exp-lista-check li::before, .exp-lista-acc li::before { background: var(--acento, #2EC4B6); content: "✓"; color: var(--tinta); font-size: .7rem; font-weight: 900;
  display: grid; place-items: center; }

/* Video de YouTube: solo se carga al tocar el botón (más rápido y sin rastreo hasta que se usa) */
.exp-yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radio); overflow: hidden; border: 1.5px solid var(--tinta); background: #000; }
.exp-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.exp-yt-boton { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; cursor: pointer; background: #000 center / cover no-repeat; }
.exp-yt-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 78px; height: 78px; border-radius: 50%;
  display: grid; place-items: center; background: var(--rojo); color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.4); transition: transform .2s; }
.exp-yt-play .icono { width: 34px; height: 34px; }
.exp-yt-boton:hover .exp-yt-play, .exp-yt-boton:focus-visible .exp-yt-play { transform: translate(-50%, -50%) scale(1.1); }
.exp-yt-boton:focus-visible { outline: 4px solid var(--foco); outline-offset: -4px; }

/* Tarjeta de reserva (fija al bajar en pantallas grandes) */
.exp-reserva { position: sticky; top: 20px; display: grid; gap: 14px; padding: clamp(18px, 2vw, 26px);
  background: var(--papel-claro); border: 1.5px solid var(--tinta); border-top: 6px solid var(--acento, #2EC4B6); border-radius: var(--radio); }
.exp-reserva .exp-h2 { margin: 0; }
.exp-reserva-precio { margin: 0; display: grid; gap: 2px; }
.exp-reserva-precio strong { font-family: var(--display); font-weight: 900; font-size: clamp(2.2rem, 3.4vw, 3rem); line-height: 1; }
.exp-normal { color: var(--tinta-suave); }
.exp-ahorro { display: inline-block; justify-self: start; margin-top: 6px; padding: 3px 10px; border-radius: 99px; background: #FFD84D; color: var(--tinta); font-weight: 700; font-size: .9rem; }
.exp-datos-lista { margin: 0; display: grid; gap: 8px; }
.exp-datos-lista > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; padding-top: 8px; border-top: 1px solid var(--linea); }
.exp-datos-lista dt { font-weight: 700; color: var(--tinta-suave); font-size: .9rem; }
.exp-datos-lista dd { margin: 0; }
.exp-reservar { justify-content: center; min-height: 56px; font-size: 1.15rem; font-weight: 700; }
.exp-reserva-nota { margin: 0; font-size: .92rem; color: var(--tinta-suave); }
.exp-reserva-nota a { color: var(--tinta); font-weight: 600; }
@media (max-width: 900px) { .exp-reserva { position: static; } }
.exp-otras { margin-top: clamp(40px, 6vw, 70px); }

/* ---------- Reserva y comprobante ---------- */
.exp-res-form input[type="date"] { width: 100%; max-width: 320px; min-height: 48px; padding: .6rem .9rem; font: inherit; font-size: 1rem;
  color: var(--tinta); background: var(--papel-claro); border: 1.5px solid var(--linea-fuerte); border-radius: var(--radio); }
.exp-res-form input[type="date"]:focus-visible { outline: 3px solid var(--foco); outline-offset: 1px; border-color: var(--foco); }
.exp-res-form input[readonly] { background: var(--papel-hondo); color: var(--tinta-suave); }
.exp-res-cont { display: grid; gap: 22px; max-width: 900px; padding-top: clamp(16px, 2vw, 26px); }
.exp-res-cab { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; }
.exp-res-cab img { width: clamp(110px, 16vw, 170px); aspect-ratio: 1; object-fit: cover; border-radius: var(--radio); border: 1.5px solid var(--tinta); }
.exp-res-cab .emp-h1 { margin: 4px 0 6px; }
.exp-res-cab p { margin: 0; }
@media (max-width: 520px) { .exp-res-cab { grid-template-columns: minmax(0, 1fr); } }
.exp-dia:empty { display: none; }
.exp-res-total { padding: 18px 20px; border: 1.5px solid var(--tinta); border-left: 6px solid var(--acento, #2EC4B6); border-radius: var(--radio); background: var(--papel-claro); }
.exp-res-total p { margin: 0 0 4px; }
.exp-res-pagas { font-size: 1.15rem; }
.exp-res-pagas strong { font-family: var(--display); font-weight: 900; font-size: 2.2rem; margin: 0 .2em; }
.exp-pagar { min-height: 56px; font-size: 1.1rem; }

.exp-ticket { display: grid; gap: 14px; padding: clamp(20px, 3vw, 34px); background: var(--papel-claro); border: 1.5px solid var(--tinta);
  border-top: 8px solid var(--acento, #2EC4B6); border-radius: var(--radio); }
.exp-ticket p { margin: 0; }
.exp-ticket-estado { justify-self: start; padding: 4px 12px; border-radius: 99px; font-weight: 700; background: var(--papel-hondo); }
.exp-ticket-pagada .exp-ticket-estado, .exp-ticket-realizada .exp-ticket-estado { background: #1E8C4E; color: #fff; }
.exp-ticket-rechazada, .exp-ticket-cancelada { border-top-color: var(--rojo); }
.exp-ticket .emp-h1 { margin: 0; }
.exp-codigo dd { font-family: var(--mono); font-size: 1.6rem; font-weight: 500; letter-spacing: .12em; }
.exp-mis { display: grid; gap: 12px; }

/* ---------- Panel ---------- */
.exp-adm-h2 { margin: 26px 0 4px; padding-top: 18px; border-top: 2px solid var(--tinta); font-size: 1.3rem; }
.exp-adm-dias { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.exp-adm-precio { font-weight: 700; }
