/* WorldJump · vista previa: repaso móvil (375 px) — tipografía, resolución, zonas táctiles, sin desbordes.
   Se carga la última. */

.show-s { display: none; }
@media (max-width: 560px) { .hide-s { display: none; } .show-s { display: inline; } }
.preview-flag { transition: opacity .5s ease, transform .5s ease; }
.preview-flag.is-gone { opacity: 0; transform: translateY(8px); }

/* «modo original» en el móvil: sin escenas fijadas al scroll (eran la causa de las zonas en negro) */
@media (max-width: 900px) {
  .rich .hero { height: auto; }
  .rich .hero__stage { position: relative; height: auto; min-height: 100svh; }
  .rich .hero__media { clip-path: none; }
  .rich .hero__media::after { display: none; }
  .rich .hero__copy { transform: none; opacity: 1; }
  .rich .hero__veil { opacity: 1; }
  .exp-card, .rich .exp-card { position: relative; top: auto; transform: none; }
  .rich .exp-card::after { display: none; }
  .exp__stack { gap: var(--space-4); padding-bottom: 0; }
}

/* sin parque elegido, «Reservar» no parece desactivado: invita a elegir */
.bookbar__go[aria-disabled="true"] { border: 1px solid var(--violet); background: rgba(109, 78, 236, .14); color: #d9d0ff; }

/* atracciones sin foto: fondo de neón en vez de una letra suelta */
.attr__art { background: repeating-linear-gradient(135deg, rgba(42, 196, 244, .1) 0 2px, transparent 2px 16px), radial-gradient(120% 90% at 30% 20%, #33207a, #0a0c18 70%); font-size: 44px; opacity: .95; }

/* teléfono del parque = el de WhatsApp (el fijo del centro ya no se publica) */
.hours2__tel small { display: block; color: var(--muted); font-size: 13px; }
.hours2__tel svg { color: #3ee08f; }

/* llamada final: el brillo morado se apagaba de golpe en el borde inferior (se veía un «escalón») */
.cta { padding-bottom: clamp(112px, 16vw, 220px); border-bottom: 0; }
.cta::before, .cta::after { -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
.cta::before { background: radial-gradient(55% 60% at 50% 72%, rgba(109, 78, 236, .42), transparent 70%), radial-gradient(40% 50% at 20% 0%, rgba(42, 196, 244, .14), transparent 70%); }
main:has(> .cta:last-child) + .news { margin-top: 0; }

/* cumpleaños: confianza + precio desde */
.trust { display: grid; justify-items: start; gap: 10px; }
.trust__line { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.trust__price { padding: 6px 14px; border-radius: var(--radius-pill); background: rgba(255, 210, 63, .12); color: #ffe48a; font-size: 15px; }
.trust__price strong { color: #fff3c4; }

/* portada: póster del montaje de Illescas mientras carga el vídeo */
.hero__media { background-image: none; }
@media (max-width: 900px) and (orientation: portrait) {
  /* vídeo vertical a pantalla completa (reencuadrado plano a plano del montaje de Illescas) */
  .hero__media { background-image: none; }
  /* texto de portada más compacto: «VIVE EL» en una línea y los dos botones lado a lado → se ve más vídeo */
  .page-home .hero__title { flex-direction: row; font-size: clamp(60px, 21vw, 88px); line-height: .88; }
  .page-home .hero__copy { gap: var(--space-3); }
  .page-home .hero__stage { padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
  .page-home .hero__lead { font-size: 16px; line-height: 1.5; }
  .page-home .hero__actions { display: grid; grid-template-columns: 1.15fr 1fr; width: 100%; gap: var(--space-2); }
  .page-home .hero__actions .wjs-btn { min-height: 52px; padding-inline: 12px; font-size: 16px; }
  html:not(.rich) .page-home .hero__veil { background: linear-gradient(180deg, rgba(7, 9, 13, .5) 0, rgba(7, 9, 13, 0) 14%, rgba(7, 9, 13, 0) 40%, rgba(7, 9, 13, .78) 64%, rgba(7, 9, 13, .94) 100%); }
}

@media (max-width: 760px) {
  /* ritmo tipográfico: títulos algo menores, texto cómodo, etiquetas legibles */
  .section-title { font-size: clamp(28px, 8.2vw, 34px); line-height: 1.08; }
  .lead { font-size: 17px; line-height: 1.55; }
  .top__title { font-size: clamp(38px, 11vw, 48px); line-height: 1; }
  .top__lead { font-size: 17px; }
  .page-hero__title { font-size: clamp(52px, 15vw, 72px); }
  .page-cumple .page-hero__title, .page-hero__title--m { font-size: clamp(40px, 11.5vw, 52px); line-height: .98; }
  .page-hero__lead { font-size: 17px; }
  .quick__kicker, .entry__kicker, .tl__kicker, .job__badge, .tp__cat-title, .menu-foot__title, .bookpick__txt small { font-size: 12.5px; }
  .price__today, .wiz__sum dt { font-size: 12.5px; }
  .wjs-badge { font-size: 12.5px; letter-spacing: .06em; }
  .faq__list summary { font-size: 17px; }

  /* cabecera: logo con zona táctil de 44 px */
  .site-header__logo { display: inline-flex; align-items: center; min-height: 44px; }

  /* portada · tres entradas: foto arriba y texto en limpio debajo (antes, texto sobre fotos muy cargadas) */
  .entry { gap: var(--space-3); }
  .entry__card, .entry__card--big { display: grid; align-items: stretch; min-height: 0; background: var(--surface); }
  .entry__card img { position: static; z-index: auto; height: auto; aspect-ratio: 16 / 9; }
  .entry__card::after { display: none; }
  .entry__body { gap: 6px; padding: 18px 20px 20px; }
  .entry__body strong, .entry__card--big .entry__body strong { font-size: 19px; line-height: 1.3; }

  /* mapa: en el móvil la lista repetía los siete parques del carrusel → solo mapa, puntos táctiles y «Ver parque» */
  .map__list { display: none; }
  .map__copy .lead { margin-bottom: 0; }
  .map__go { min-height: 44px; }

  /* parque · cuatro accesos compactos, sin cortes de línea */
  .quick__card { gap: 2px; padding: 14px; border-radius: var(--radius-md); }
  .quick__ico { width: 36px; height: 36px; margin-bottom: 6px; }
  .quick__ico svg { width: 19px; height: 19px; }
  .quick__kicker { display: none; }
  .quick__card strong { font-size: 18px; white-space: nowrap; }
  .quick__card > span:last-child { font-size: 14px; line-height: 1.4; }

  /* zonas táctiles ≥ 40–44 px */
  .site-footer ul a, .site-footer__legal a { display: inline-flex; align-items: center; min-height: 40px; }
  .site-footer__legal ul { gap: 0 var(--space-4); }
  .hcard__week summary, .copy-link, .wiz__link, .ccard__mail { display: inline-flex; align-items: center; min-height: 44px; }
  .wiz__presets .chip-btn { min-height: 40px; min-width: 52px; }
  .band__pause { min-height: 40px; padding: 0 14px; font-size: 13px; }
  .news__ok { min-height: 40px; font-size: 14px; }
  .news__ok input { width: 20px; height: 20px; }

  /* contacto: los dos botones caben sin cortar «WhatsApp» */
  .ccard__actions .wjs-btn { padding-inline: 10px; font-size: 15px; gap: 6px; }

  /* boletín: se salía 16 px por la derecha */
  .news.wrap { width: auto; margin-inline: var(--gutter); }

  /* hoja de parques: filas algo más compactas para ver los 7 casi sin desplazar */
  .bp__row { min-height: 58px; padding: 8px 14px; }
  .bp { gap: 6px; }
  .sheet--bottom .sheet__head { margin-bottom: -4px; }
}

/* ===== «Elige tu parque» en el móvil (2026-11-16): hoja de abajo de verdad =====
   · no llega hasta arriba (máx. 78 % de la pantalla visible) → se ve que es una hoja, la página sigue detrás
   · en iPhone la barra de Safari flota encima de lo que está abajo del todo: el fondo de la hoja pasa por detrás de
     la barra, pero el contenido termina por encima (--vb = alto de la barra) → no se corta el último parque
   · filas más compactas (7 parques casi sin scroll) y, si hay scroll, un degradado abajo que lo indica */
@media (max-width: 760px) {
  .sheet--bottom { --vb: 0px; }
  @supports (height: 100lvh) { .sheet--bottom { --vb: calc(100lvh - 100svh); } }
  .sheet--bottom .sheet__panel { max-height: calc(78svh + var(--vb)); gap: 12px; padding: 10px 16px calc(14px + var(--vb) + env(safe-area-inset-bottom, 0px)); }
  .sheet--bottom .sheet__title { font-size: 24px; }
  .sheet--bottom .sheet__panel { overflow: hidden; }
  .sheet--bottom .bp { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; gap: 6px; margin: 0 -4px; padding: 2px 4px 18px; overflow-y: auto; overscroll-behavior: contain; -webkit-mask-image: linear-gradient(#000 calc(100% - 22px), transparent); mask-image: linear-gradient(#000 calc(100% - 22px), transparent); }
  .sheet--bottom .bp__row { flex: none; min-height: 0; padding: 6px 12px; column-gap: 12px; row-gap: 0; border-radius: 14px; }
  .sheet--bottom .bp__name { font-size: 16px; line-height: 1.2; }
  .sheet--bottom .bp__name small { display: block; margin: 1px 0 0; font-size: 12.5px; line-height: 1.25; }
  .sheet--bottom .bp__status { font-size: 12.5px; line-height: 1.3; }
  .sheet--bottom .bp__check { width: 24px; height: 24px; }
  .sheet--bottom .sheet__foot { margin-top: 0; font-size: 12px; }
}

/* «Reservar» de la cabecera: solo cuando NO está la barra de abajo (pages.js · html.bar-on) */
.site-header__book { transition: opacity .22s ease, transform .22s ease, visibility 0s linear 0s; }
html.bar-on .site-header__book { opacity: 0; transform: scale(.92); visibility: hidden; pointer-events: none; transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s; }

/* ===== hoja de elegir parque SIN barra de scroll (2026-11-16): la hoja crece hasta dejar ver solo la cabecera de la
   página; filas más compactas para que los 7 parques quepan. Si en un móvil muy bajo aun así no caben, se puede
   deslizar la lista, pero sin barra y sin degradado (el degradado solo sale cuando de verdad hay más abajo). */
@media (max-width: 760px) {
  .sheet--bottom .sheet__panel { max-height: calc(100svh - 64px - env(safe-area-inset-top, 0px) + var(--vb)); gap: 10px; padding-top: 8px; }
  .sheet--bottom .sheet__title { font-size: 21px; line-height: 1.15; }
  .sheet--bottom .eyebrow { margin-bottom: 2px; }
  .sheet--bottom .bp { gap: 5px; padding-bottom: 4px; -webkit-mask-image: none; mask-image: none; scrollbar-width: none; }
  .sheet--bottom .bp::-webkit-scrollbar { display: none; }
  .sheet--bottom .bp.is-more { -webkit-mask-image: linear-gradient(#000 calc(100% - 26px), transparent); mask-image: linear-gradient(#000 calc(100% - 26px), transparent); padding-bottom: 18px; }
  .sheet--bottom .bp__row { padding: 5px 12px; border-radius: 13px; }
  .sheet--bottom .bp__name { font-size: 15.5px; line-height: 1.18; }
  .sheet--bottom .bp__name small { font-size: 12px; line-height: 1.2; }
  .sheet--bottom .bp__status { font-size: 12px; line-height: 1.25; }
  .sheet--bottom .near__btn { min-height: 36px; font-size: 13.5px; }
  .sheet--bottom .near__note { font-size: 11.5px; }
}
.sheet--bottom .bp { scrollbar-width: none; }
.sheet--bottom .bp::-webkit-scrollbar { display: none; }
/* móviles bajos (iPhone SE…): fuera la línea de la población para que los 7 sigan cabiendo sin scroll */
@media (max-width: 760px) and (max-height: 700px) {
  .sheet--bottom .bp__name small { display: none; }
  .sheet--bottom .bp__row { padding-block: 6px; }
}
