/* ==========================================================================
   SUMMITPLAY — hoja única de summitplay/index.html
   ==========================================================================
   Autónoma: no depende de assets/css/summit.css ni de nada fuera de summitplay/.
   Mobile-first.

   Dos modos, y los dos son completos:
     · ESTÁTICO (por defecto): sin JavaScript o con «reducir movimiento».
       Cada escena pinta su propio fondo, todo es visible y nada se fija.
     · MOVIMIENTO (html.has-motion): lo activa summitplay-motion.js solo si
       el usuario no pidió reducir el movimiento. Las escenas se vuelven
       transparentes sobre un fondo fijo que funde colores, y las escenas
       .pl-pin se fijan (sticky) mientras el scroll avanza su historia.
   Regla de oro: el CSS nunca deja contenido oculto de forma permanente.
   Lo que el modo movimiento oculta al inicio, lo revela el motor.
   ========================================================================== */

:root {
  /* Paleta Summitplay */
  --play-blue: #6094BE;
  --play-cream: #ECDFB8;
  --play-yellow: #FBB91E;
  /* Funcionales (contraste). Tinta = negro teñido de la paleta. */
  --play-ink: #0F1E2E;
  --play-ink-2: #1A2D42;
  --play-white: #FFFFFF;
  --play-paper: #FBF6E9;            /* crema muy claro, superficies sobre crema */

  /* Texto sobre cada fondo (contraste AA verificado):
     tinta/azul 5,0:1 · tinta/crema 12:1 · tinta/amarillo 9,3:1 · crema/tinta 12:1 */
  --text-on-light: var(--play-ink);
  --text-on-dark: var(--play-cream);
  --muted-on-light: rgba(15, 30, 46, .72);
  --muted-on-dark: rgba(236, 223, 184, .78);
  --line-on-light: rgba(15, 30, 46, .16);

  --ff: 'Outfit', 'Helvetica Neue', Arial, sans-serif;

  --fs-mega: clamp(3.4rem, 15.5vw, 12.5rem);
  --fs-display: clamp(3.2rem, 1.4rem + 8.4vw, 7.4rem);
  --fs-h2: clamp(2.25rem, 1.35rem + 4.3vw, 5.2rem);
  --fs-h3: clamp(1.4rem, 1.15rem + 1.1vw, 2rem);
  --fs-lede: clamp(1.06rem, 1rem + .35vw, 1.3rem);
  --fs-body: 1rem;
  --fs-small: .875rem;

  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --radius-pill: 999px;

  --gutter: 20px;
  --wrap: 1180px;
  --nav-h: 76px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  --shadow-card: 0 1px 0 rgba(15, 30, 46, .04), 0 18px 50px -18px rgba(15, 30, 46, .35);

  /* Escenas: duración del scroll de cada escena fijada, en pantallas. */
  --pin-hero: 2.3;
  --pin-verbs: 5.2;
  --pin-space: 3.8;
  --pin-party: 3;
}

@media (min-width: 600px) {
  :root { --gutter: 64px; }
}
@media (min-width: 1200px) {
  :root { --gutter: 96px; }
}

/* ==========================================================================
   Base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* clip, no hidden: hidden rompería position: sticky. */
  overflow-x: clip;
  scroll-padding-top: calc(var(--nav-h) + 8px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--ff);
  font-size: var(--fs-body);
  line-height: 1.55;
  font-weight: 400;
  color: var(--text-on-light);
  background: var(--play-cream);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--play-ink);
  outline-offset: 3px;
  border-radius: 6px;
}
.pl-space :focus-visible,
.pl-footer :focus-visible { outline-color: var(--play-yellow); }

.pl-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.pl-skip {
  position: fixed;
  left: 12px; top: 12px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  background: var(--play-yellow);
  color: var(--play-ink);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
}
.pl-skip:focus { transform: none; }

.pl-wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ==========================================================================
   Tipografía
   ========================================================================== */

.pl-eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.pl-h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.pl-head { display: grid; gap: 14px; }

.pl-legal,
.pl-note {
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--muted-on-light);
  max-width: 62ch;
}

.pl-link {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  min-height: 44px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.pl-link::after { content: '→'; text-decoration: none; display: inline-block; transition: transform .3s var(--ease-out); }
.pl-link:hover::after { transform: translateX(4px); }

/* Avisos de desarrollo: visibles y obvios a propósito. */
.pl-devnote {
  display: inline-block;
  margin-top: 22px;
  padding: 10px 14px;
  border: 2px dashed currentColor;
  border-radius: var(--radius-sm);
  font-size: var(--fs-small);
  line-height: 1.45;
  max-width: 64ch;
}
.pl-devnote strong { text-transform: uppercase; letter-spacing: .12em; }

/* ==========================================================================
   Botones
   ========================================================================== */

.pl-btn {
  --btn-bg: var(--play-yellow);
  --btn-fg: var(--play-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 2px solid var(--btn-bg);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .35s var(--ease-spring), background-color .2s, color .2s, border-color .2s;
}
.pl-btn:hover { transform: translateY(-2px); }
.pl-btn:active { transform: translateY(0) scale(.98); }

.pl-btn--sun  { --btn-bg: var(--play-yellow); --btn-fg: var(--play-ink); }
.pl-btn--ink  { --btn-bg: var(--play-ink);    --btn-fg: var(--play-cream); }
.pl-btn--line { --btn-bg: transparent; --btn-fg: currentColor; border-color: currentColor; }
.pl-btn--sm   { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.pl-btn--block { width: 100%; }

.pl-btn[aria-disabled="true"] {
  --btn-bg: rgba(15, 30, 46, .1);
  --btn-fg: rgba(15, 30, 46, .66);
  border-color: transparent;
  cursor: not-allowed;
  transform: none;
}

/* ==========================================================================
   Navegación — píldora flotante
   ========================================================================== */

.pl-nav {
  position: fixed;
  top: max(10px, env(safe-area-inset-top));
  left: 0; right: 0;
  z-index: 50;
  padding-inline: 10px;
  pointer-events: none;
}
.pl-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1180px;
  margin-inline: auto;
  min-height: 58px;
  padding: 7px 7px 7px 18px;
  border-radius: var(--radius-pill);
  background: rgba(15, 30, 46, .92);
  box-shadow: 0 0 0 1px rgba(236, 223, 184, .14), 0 12px 32px -14px rgba(15, 30, 46, .55);
  pointer-events: auto;
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .pl-nav__inner {
    background: rgba(15, 30, 46, .82);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    backdrop-filter: saturate(1.4) blur(14px);
  }
}
.pl-nav__logo { display: block; flex: 0 0 auto; padding: 6px 0; }
.pl-nav__logo img { width: 128px; height: auto; }
.pl-nav__nav { display: none; }
.pl-nav__links { display: flex; gap: 4px; }
.pl-nav__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  color: var(--play-cream);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s;
}
.pl-nav__links a:hover { background: rgba(236, 223, 184, .12); }
.pl-nav :focus-visible { outline-color: var(--play-yellow); }

@media (min-width: 400px) {
  .pl-nav__logo img { width: 150px; }
}
@media (min-width: 900px) {
  .pl-nav__nav { display: block; }
}

/* ==========================================================================
   Fondo continuo (solo modo movimiento)
   ========================================================================== */

.pl-backdrop { display: none; }

.has-motion .pl-backdrop {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.pl-backdrop__layer {
  /* Cada color es una «colina»: una capa más alta que la pantalla con la
     parte de arriba curva. El color nuevo SUBE desde abajo y tapa al
     anterior; nunca se mezclan por opacidad (eso da grises turbios). Es
     la cumbre de SUMMIT hecha transición. */
  position: absolute;
  left: -12vw; right: -12vw;
  top: 0;
  height: calc(100% + 26vh);
  border-radius: 50% 50% 0 0 / 26vh 26vh 0 0;
  transform: translate3d(0, 110vh, 0);
  will-change: transform;
}
[data-bg-layer="blue"]   { background: var(--play-blue); transform: translate3d(0, -26vh, 0); }
[data-bg-layer="cream"]  { background: var(--play-cream); }
[data-bg-layer="ink"]    { background: var(--play-ink); }
[data-bg-layer="yellow"] { background: var(--play-yellow); }

/* El «sol»: un único círculo amarillo que cruza toda la historia y estalla
   en la escena de fiestas. Posición y escala las fija el motor; este valor
   inicial es el del hero en progreso 0, para que no haya salto. */
.pl-sun {
  position: absolute;
  left: 50%; top: 50%;
  width: 50vmin; height: 50vmin;
  margin: -25vmin 0 0 -25vmin;
  border-radius: 50%;
  z-index: 3;
  background: var(--play-yellow);
  transform: translate3d(30vw, -25vh, 0) scale(.62);
  will-change: transform;
}

main, .pl-footer { position: relative; z-index: 1; }

/* ==========================================================================
   Escenas — fondo propio en modo estático, transparente en movimiento
   ========================================================================== */

.pl-scene {
  --scene-bg: var(--play-cream);
  --scene-prev: var(--scene-bg);
  position: relative;
  background-color: var(--scene-bg);
  /* La transición de color entre escenas es un degradado, nunca un corte. */
  background-image: linear-gradient(to bottom, var(--scene-prev) 0, var(--scene-bg) min(30vh, 240px));
}
.pl-hero     { --scene-bg: var(--play-blue);   --scene-prev: var(--play-blue); }
.pl-verbs    { --scene-bg: var(--play-cream);  --scene-prev: var(--play-ink); }  /* el hero termina en su colina de tinta */
.pl-space    { --scene-bg: var(--play-ink);    --scene-prev: var(--play-cream); }
.pl-party    { --scene-bg: var(--play-yellow); --scene-prev: var(--play-ink); }
.pl-packages { --scene-bg: var(--play-cream);  --scene-prev: var(--play-yellow); }
.pl-booking  { --scene-bg: var(--play-cream);  --scene-prev: var(--play-cream); }
.pl-jump     { --scene-bg: var(--play-blue);   --scene-prev: var(--play-cream); }
.pl-outro    { --scene-bg: var(--play-blue);   --scene-prev: var(--play-blue); }

.has-motion .pl-scene { background: transparent; }

.pl-stage { position: relative; }

/* Escenas fijadas. Cada escena mide N pantallas; su «escenario» se queda
   pegado arriba mientras el scroll recorre la historia. Dos escenas fijadas
   seguidas se solapan una pantalla: cuando una termina, la siguiente ya
   está fijada y no hay ningún corte entre ellas. El scroll es siempre el
   nativo del navegador. */
.has-motion .pl-pin { height: calc(var(--pin) * 100vh); height: calc(var(--pin) * 100svh); }
.has-motion .pl-hero  { --pin: var(--pin-hero); }
.has-motion .pl-verbs { --pin: var(--pin-verbs); }
.has-motion .pl-space { --pin: var(--pin-space); }
.has-motion .pl-party { --pin: var(--pin-party); }
.has-motion .pl-pin + .pl-pin { margin-top: -100vh; margin-top: -100svh; }
.has-motion .pl-pin > .pl-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
/* La escena entrante, transparente, se desliza ENCIMA de la que termina:
   el escenario no captura el puntero; solo sus controles. Lo que el motor
   ha vuelto invisible (.is-ghost) tampoco. */
.has-motion .pl-pin > .pl-stage { pointer-events: none; }
.has-motion .pl-pin > .pl-stage a,
.has-motion .pl-pin > .pl-stage button { pointer-events: auto; }
.has-motion .is-ghost,
.has-motion .is-ghost * { pointer-events: none !important; }
.has-motion .pl-verbs__eyebrow,
.has-motion .pl-verbs__dots { opacity: 0; }

/* Anclas del menú: dentro de cada escena fijada, en el punto donde el
   contenido ya es visible. En modo estático, al principio de la sección. */
.pl-anchor { position: absolute; left: 0; top: 0; width: 1px; height: 1px; }
.has-motion .pl-anchor { scroll-margin-top: 0; }
.has-motion .pl-anchor--verbs { top: calc((var(--pin) - 1) * 100svh * .07); }
.has-motion .pl-anchor--space { top: calc((var(--pin) - 1) * 100svh * .16); }
.has-motion .pl-anchor--party { top: calc((var(--pin) - 1) * 100svh * .82); }

/* ==========================================================================
   ESCENA 1 · Hero
   ========================================================================== */

.pl-hero { color: var(--text-on-light); }
.pl-hero .pl-stage {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: calc(var(--nav-h) + 22px) var(--gutter) 0;
  overflow: hidden;
}
.pl-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
}
.pl-hero__copy .pl-eyebrow { margin-bottom: 14px; }
.pl-hero__title {
  font-size: min(var(--fs-display), 12.5svh);
  font-weight: 850;
  line-height: .9;
  letter-spacing: -.045em;
}
.pl-hero__line { display: block; }
.pl-hero__lede {
  margin-top: 18px;
  max-width: 34ch;
  font-size: var(--fs-lede);
  line-height: 1.45;
  font-weight: 500;
}
.pl-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

/* Lema: en estático es una línea grande bajo los botones; en movimiento,
   tres palabras gigantes que entran una a una. */
.pl-hero__tagline {
  position: relative;
  z-index: 2;
  margin-top: 26px;
  font-size: clamp(1.6rem, 1.2rem + 2vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
}

.pl-hero__summy {
  position: relative;
  z-index: 1;
  width: min(92vw, 620px);
  margin: 18px auto -6px;
}
.pl-hero__summy img { width: 100%; }

.pl-scrollcue { display: none; }

@media (min-width: 900px) {
  .pl-hero .pl-stage { justify-content: center; padding-top: var(--nav-h); }
  .pl-hero__copy { max-width: 46vw; }
  .pl-hero__summy {
    position: absolute;
    right: 2vw;
    bottom: -2vh;
    width: min(50vw, 78vh * 1.24, 860px);
    margin: 0;
  }
}

/* Movimiento: el hero ocupa exactamente una pantalla. */
.has-motion .pl-hero .pl-stage { min-height: 0; }
.has-motion .pl-hero__summy {
  position: absolute;
  left: 0; right: 0;
  bottom: -4svh;
  width: min(100vw, 50svh * 1.24, 700px);
  margin: 0 auto;
}
.has-motion .pl-hero__tagline {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: calc(var(--nav-h) + 7svh) var(--gutter) 0;
  font-size: min(var(--fs-mega), 15svh);
  font-weight: 900;
  line-height: .86;
  letter-spacing: -.05em;
  text-align: center;
  pointer-events: none;
}
.has-motion .pl-hero__word { display: block; opacity: 0; }
.has-motion .pl-scrollcue {
  display: block;
  position: absolute;
  left: 0; right: 0;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 3;
  text-align: center;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.has-motion .pl-scrollcue span {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(15, 30, 46, .88);
  color: var(--play-cream);
}

/* Entrada al cargar (solo movimiento). */
@keyframes pl-rise {
  from { opacity: 0; transform: translateY(42px); }
  to   { opacity: 1; transform: none; }
}
@keyframes pl-land {
  from { opacity: 0; transform: translateY(16svh) scale(.92); }
  to   { opacity: 1; transform: none; }
}
.has-motion .pl-hero__copy > * { animation: pl-rise 1s var(--ease-out) both; }
.has-motion .pl-hero__copy > :nth-child(2) { animation-delay: .08s; }
.has-motion .pl-hero__copy > :nth-child(3) { animation-delay: .2s; }
.has-motion .pl-hero__copy > :nth-child(4) { animation-delay: .3s; }
.has-motion .pl-hero__summy picture { animation: pl-land 1.2s var(--ease-spring) .15s both; }

@media (min-width: 900px) {
  .has-motion .pl-hero__summy {
    left: auto;
    right: 1vw;
    bottom: -3svh;
    width: min(54vw, 80svh * 1.24, 920px);
  }
  .has-motion .pl-hero__tagline { align-items: flex-start; justify-content: center; padding: var(--nav-h) 0 6svh calc(var(--gutter) + 2vw); text-align: left; font-size: min(10.5vw, 21svh); }
}

/* --- Marca en el hero -----------------------------------------------------
   El logo aprobado (cream + azul) solo es legible sobre tinta: sobre el azul
   del hero «play!» queda a 1,01:1. Por eso vive en una superficie de tinta.
   Nunca se recolorea, se deforma ni se reconstruye con texto. */
.pl-hero__ground { position: relative; z-index: 2; }
.pl-hero__hill { position: absolute; inset: 0; background: var(--play-ink); }
.pl-hero__brand { position: relative; margin: 0; }
.pl-hero__brand img { display: block; width: 100%; height: auto; }

/* Entrada al cargar: la superficie sube y el logo se descubre con una
   máscara, una sola vez. Solo en hijos: el contenedor lo mueve el motor. */
@keyframes pl-hill-up {
  from { transform: translateY(105%); }
  to   { transform: none; }
}
@keyframes pl-brand-in {
  from { opacity: 0; clip-path: inset(0 100% 0 0); }
  to   { opacity: 1; clip-path: inset(0 0 0 0); }
}
.has-motion .pl-hero__hill { animation: pl-hill-up 1s var(--ease-out) .05s both; }
.has-motion .pl-hero__brand img { animation: pl-brand-in 1.1s var(--ease-out) .5s both; }

/* Variante B · «Cumbre»: el suelo del hero es una colina de tinta (la misma
   forma de montaña de las transiciones). El trampolín de Summy se apoya en
   la cresta, que tapa sus patas, y el logo vive en la ladera. */
.pl-hero--summit {
  --ground-h: max(17svh, 116px);
  --crest: 6svh;
  --sw: min(84vw, 44svh * 1.24, 560px);
  /* Parte de Summy que tapa la cresta: las patas del trampolín. */
  --tuck: .105;
  /* ≤ 210 px: con densidad 3 basta el derivado de 640 (una sola descarga). */
  --logo-w: min(54vw, 210px);
}
@media (min-width: 600px) {
  /* Tablet: densidad 2 → 500 px reales, sigue bastando el derivado de 640. */
  .pl-hero--summit { --logo-w: 250px; }
}
.pl-hero--summit .pl-hero__summy { width: var(--sw); margin: auto auto 0; padding-top: 8px; }
/* Estático: el lema más pegado, para que el logo entre en el primer pantallazo. */
.pl-hero--summit .pl-hero__tagline { margin-top: 18px; }
.pl-hero--summit .pl-hero__ground {
  height: var(--ground-h);
  /* Monta sobre las patas del trampolín. */
  margin: calc(var(--sw) * var(--tuck) * -1) calc(var(--gutter) * -1) 0;
}
.pl-hero--summit .pl-hero__hill {
  left: -15vw; right: -15vw;
  border-radius: 50% 50% 0 0 / var(--crest) var(--crest) 0 0;
}
.pl-hero--summit .pl-hero__brand {
  position: absolute;
  left: 0; right: 0;
  top: 44%;
  width: var(--logo-w);
  margin: 0 auto;
  transform: translateY(-50%);
}
.has-motion .pl-hero--summit .pl-hero__ground {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  margin: 0;
}
.has-motion .pl-hero--summit .pl-hero__summy {
  left: 0; right: 0;
  width: var(--sw);
  margin: 0 auto;
  bottom: calc(var(--ground-h) - var(--sw) * var(--tuck));
}
@media (min-width: 900px) {
  .pl-hero--summit { --ground-h: 21svh; --crest: 8svh; --sw: min(48vw, 66svh * 1.24, 840px); --logo-w: min(24vw, 320px); }
  .pl-hero--summit .pl-stage { padding-bottom: var(--ground-h); }
  .pl-hero--summit .pl-hero__summy,
  .has-motion .pl-hero--summit .pl-hero__summy {
    position: absolute;
    left: auto;
    right: 3vw;
    margin: 0;
    bottom: calc(var(--ground-h) - var(--sw) * var(--tuck));
  }
  .pl-hero--summit .pl-hero__ground {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    margin: 0;
  }
  /* El logo, centrado bajo Summy: el pedestal de la mascota. Hace diagonal
     con el logo del menú en vez de apilarse a su lado. */
  .pl-hero--summit .pl-hero__brand { left: auto; right: calc(3vw + var(--sw) / 2 - var(--logo-w) / 2); margin: 0; top: 50%; }
  .has-motion .pl-hero--summit .pl-hero__tagline { padding-bottom: calc(var(--ground-h) + 4svh); }
}

/* ==========================================================================
   ESCENA 2 · Hoy toca
   ========================================================================== */

.pl-verbs { color: var(--text-on-light); }
.pl-verbs .pl-stage { padding: calc(var(--nav-h) + 30px) var(--gutter) 64px; }
.pl-verbs__eyebrow { margin-bottom: 24px; }

.pl-verbs__list { display: grid; gap: 56px; }
.pl-verb {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: center;
}
.pl-verb__word {
  font-size: min(var(--fs-mega), 20vw);
  font-weight: 900;
  line-height: .86;
  letter-spacing: -.055em;
  text-transform: uppercase;
}
.pl-verb__mask { display: block; overflow: hidden; padding-bottom: .04em; }
.pl-verb__mask > span { display: block; }
.pl-verb__line {
  max-width: 28ch;
  font-size: var(--fs-lede);
  line-height: 1.4;
  font-weight: 500;
}
.pl-verb__summy { width: min(62vw, 340px); justify-self: end; }
.pl-verb__summy--rope { width: min(38vw, 210px); }

.pl-verbs__dots { display: none; }

@media (min-width: 900px) {
  .pl-verb { grid-template-columns: 1.15fr .85fr; column-gap: 4vw; }
  .pl-verb__word { grid-column: 1; }
  .pl-verb__line { grid-column: 1; }
  .pl-verb__summy { grid-column: 2; grid-row: 1 / span 2; justify-self: center; width: min(30vw, 420px); }
  .pl-verb__summy--rope { width: min(18vw, 250px); }
}

/* Movimiento: los cuatro verbos ocupan el mismo escenario y se relevan. */
.has-motion .pl-verbs .pl-stage { padding: 0; }
.has-motion .pl-verbs__eyebrow {
  position: absolute;
  top: calc(var(--nav-h) + 26px);
  left: var(--gutter);
  z-index: 3;
  margin: 0;
}
.has-motion .pl-verbs__list { position: absolute; inset: 0; display: block; }
.has-motion .pl-verb {
  position: absolute;
  inset: 0;
  display: block;
  padding: calc(var(--nav-h) + 64px) var(--gutter) 0;
}
.has-motion .pl-verb__word { font-size: min(var(--fs-mega), 16.5svh, 19vw); }
.has-motion .pl-verb__line { margin-top: 14px; opacity: 0; }
.has-motion [data-fx="verb-word"] { transform: translateY(110%); }
.has-motion .pl-verb__summy {
  position: absolute;
  left: 0; right: 0;
  bottom: 7svh;
  margin-inline: auto;
  width: min(74vw, 44svh * .82, 420px);
  opacity: 0;
}
.has-motion .pl-verb__summy--rope {
  top: 0; bottom: auto;
  left: auto; right: 4vw;
  width: min(62vw, 74svh * .48, 400px);
}
/* La cuerda sale siempre por encima de la pantalla; el cuerpo queda bajo
   el menú. */
.has-motion .pl-verb__summy--rope img { margin-top: -4svh; }
/* Verbo con el texto abajo (la cuerda baja desde arriba). */
.has-motion .pl-verb--low { display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 12svh; }
.has-motion .pl-verbs__dots {
  display: flex;
  gap: 8px;
  position: absolute;
  left: 0; right: 0;
  bottom: max(20px, env(safe-area-inset-bottom));
  justify-content: center;
  z-index: 3;
}
.pl-verbs__dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(15, 30, 46, .25);
  transition: width .4s var(--ease-out), background-color .3s, border-radius .4s;
}
.pl-verbs__dots span.is-on { width: 26px; border-radius: 6px; background: var(--play-ink); }
/* Con movimiento, el texto [data-ink] se tiñe por la colina de tinta que
   abre «El espacio»: la pintura es la del cierre (ver «Cierre y SUMMIT
   Children»). */

@media (min-width: 900px) {
  .has-motion .pl-verb { padding: 0 var(--gutter); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
  .has-motion .pl-verb__word { font-size: min(9.6vw, 21svh); max-width: 58vw; }
  .has-motion .pl-verb__line { max-width: 30ch; }
  .has-motion .pl-verb__summy {
    left: auto;
    right: 6vw;
    bottom: 8svh;
    width: min(32vw, 70svh * .8, 520px);
  }
  .has-motion .pl-verb__summy--rope { right: 16vw; width: min(19vw, 80svh * .48, 360px); }
  .has-motion .pl-verb--low { justify-content: center; padding-bottom: 0; }
}

/* Flotación sutil de Summy en el aire, solo con la escena en pantalla. */
@keyframes pl-float {
  from { transform: translateY(-1.2%); }
  to   { transform: translateY(1.2%); }
}
.has-motion .pl-verb__summy:not(.pl-verb__summy--rope) picture,
.has-motion .pl-party__summy picture {
  animation: pl-float 2.8s ease-in-out infinite alternate;
  animation-play-state: paused;
}
.has-motion .is-live .pl-verb__summy picture,
.has-motion .is-live .pl-party__summy picture { animation-play-state: running; }

/* ==========================================================================
   ESCENA 3 · El espacio
   ========================================================================== */

.pl-space { color: var(--text-on-dark); }
.pl-space .pl-stage { padding: calc(var(--nav-h) + 30px) 0 64px; }
.pl-space__head { padding-inline: var(--gutter); max-width: 900px; display: grid; gap: 12px; }
.pl-space__title {
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.035em;
  color: var(--play-white);
  text-wrap: balance;
}
.pl-space__lede { font-size: var(--fs-lede); color: var(--muted-on-dark); }

.pl-space__viewport {
  margin-top: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.pl-space__viewport::-webkit-scrollbar { display: none; }
.pl-space__viewport:focus-visible { outline-offset: -3px; }
.pl-space__track {
  display: flex;
  gap: 14px;
  width: max-content;
  padding-inline: var(--gutter);
}
.pl-slot {
  flex: 0 0 auto;
  width: 80vw;
  max-width: 560px;
  scroll-snap-align: start;
}
.pl-slot__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--play-ink-2);
}
.pl-slot__frame img,
.pl-slot__frame video { width: 100%; height: 100%; object-fit: cover; }
/* El <picture> de cada foto llena el marco (el reset le da height: auto). */
.pl-slot__frame picture { width: 100%; height: 100%; }
.pl-slot__cap {
  margin-top: 12px;
  font-size: var(--fs-small);
  color: var(--muted-on-dark);
}
.pl-slot__cap strong { display: block; font-size: 1.1rem; color: var(--play-cream); }

/* Placeholder de desarrollo: rotulado, nunca una foto falsa. */
.pl-slot--pending .pl-slot__frame {
  display: grid;
  place-content: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
  color: var(--play-cream);
  background-color: var(--play-ink-2);
  background-image: repeating-linear-gradient(135deg, rgba(236, 223, 184, .07) 0 14px, transparent 14px 28px);
  box-shadow: inset 0 0 0 2px rgba(236, 223, 184, .22);
}
.pl-slot__ph-tag {
  position: absolute;
  top: 14px; left: 14px;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--play-yellow);
  color: var(--play-ink);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.pl-slot__ph-icon {
  justify-self: center;
  width: 54px; height: 40px;
  border: 3px solid rgba(236, 223, 184, .6);
  border-radius: 10px;
  position: relative;
}
.pl-slot__ph-icon::before {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 16px; height: 16px;
  margin: -8px 0 0 -8px;
  border: 3px solid rgba(236, 223, 184, .6);
  border-radius: 50%;
}
.pl-slot--video .pl-slot__ph-icon::before {
  width: 0; height: 0;
  border-radius: 0;
  margin: -8px 0 0 -4px;
  border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent rgba(236, 223, 184, .6);
}
.pl-slot__ph-title { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.pl-slot__ph-note { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-on-dark); }

/* Botón de pausa de un video real (WCAG 2.2.2). */
.pl-slot__pause {
  position: absolute;
  right: 14px; bottom: 14px;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 30, 46, .7);
  color: var(--play-cream);
  cursor: pointer;
}

@media (min-width: 900px) {
  .pl-slot { width: 40vw; max-width: 640px; }
  .pl-slot__frame { aspect-ratio: 16 / 11; }
}

/* Movimiento: el primer marco llega «a pantalla completa» y se contrae;
   después el scroll vertical desplaza la galería en horizontal. */
.has-motion .pl-space .pl-stage {
  padding: calc(var(--nav-h) + 24px) 0 0;
  display: flex;
  flex-direction: column;
}
.has-motion .pl-space__viewport {
  overflow: visible;
  scroll-snap-type: none;
  margin-top: 4svh;
}
.has-motion .pl-space__track { will-change: transform; transform-origin: 0 50%; }
.has-motion .pl-slot { width: min(80vw, 52svh * .8); }
.has-motion .pl-slot__frame { aspect-ratio: auto; height: min(56svh, 100vw * 1.25); }
@media (min-width: 900px) {
  .has-motion .pl-slot { width: min(46vw, 58svh * 1.45); }
  .has-motion .pl-slot__frame { height: 58svh; }
}

/* ==========================================================================
   ESCENA 4 · Fiestas
   ========================================================================== */

.pl-party { color: var(--text-on-light); }
.pl-party .pl-stage { padding: calc(var(--nav-h) + 30px) var(--gutter) 0; }
.pl-party__copy { position: relative; z-index: 2; max-width: 640px; }
@media (min-width: 900px) { .pl-party__copy { max-width: min(58vw, 820px); } }
.pl-party__copy .pl-eyebrow { margin-bottom: 14px; }
.pl-party__title {
  font-size: min(var(--fs-display), 11svh);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.05em;
}
.pl-mask { display: block; overflow: hidden; padding-bottom: .05em; }
.pl-mask > span { display: block; }
.pl-party__lede { margin-top: 18px; font-size: var(--fs-lede); font-weight: 600; max-width: 30ch; }

.pl-steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  margin-top: 24px;
  max-width: 520px;
}
.pl-steps li {
  counter-increment: step;
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 700;
  line-height: 1.25;
}
.pl-steps li::before {
  content: counter(step);
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--play-ink);
  color: var(--play-yellow);
  font-size: .9rem;
  font-weight: 800;
  transform: translateY(-2px);
}
.pl-party__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.pl-party__summy { width: min(56vw, 330px); margin: 18px 0 0 auto; }

@media (min-width: 900px) {
  .pl-party .pl-stage { display: flex; align-items: center; min-height: 100vh; min-height: 100svh; padding-top: var(--nav-h); }
  .pl-party__summy { position: absolute; right: 5vw; bottom: 6vh; width: min(34vw, 500px); margin: 0; }
}

.has-motion .pl-party .pl-stage { display: block; padding-top: calc(var(--nav-h) + 26px); }
.has-motion .pl-party__summy {
  position: absolute;
  right: 3vw;
  bottom: 3svh;
  width: min(46vw, 30svh * .83, 300px);
  margin: 0;
}
.has-motion [data-fx^="party-l"] { transform: translateY(110%); }
.has-motion [data-fx="party-eyebrow"],
.has-motion [data-fx="party-lede"],
.has-motion [data-fx^="party-s"],
.has-motion [data-fx="party-ctas"],
.has-motion [data-fx="party-summy"] { opacity: 0; }
@media (min-width: 900px) {
  .has-motion .pl-party .pl-stage { display: flex; align-items: center; padding-top: var(--nav-h); }
  .has-motion .pl-party__summy { right: 6vw; bottom: 7svh; width: min(34vw, 74svh * .83, 560px); }
}

/* ==========================================================================
   Paquetes
   ========================================================================== */

/* Tres familias que se comparan de un vistazo: SUMMIT (contorno), SUMMIT
   VIP (tinta) y SUMMITPLAY + WATER PARK (azul, con sus dos modalidades).
   Arriba, lo que decide: nombre, tipo u horario y precio. Debajo, lo que
   incluye en pastillas compactas y, plegado en <details>, lo extenso (la
   comida del VIP, los ingredientes de la carta). La tinta y el azul son
   solo color: ningún «más vendido» ni «favorito». El mínimo de niños va en
   el pie de cada paquete que lo tiene confirmado, nunca como regla de la
   sección.
   Móvil: una columna. 600–1199: SUMMIT y VIP en paralelo; el Water Park a
   todo el ancho. Desde 1200: las tres en paralelo, con las filas alineadas
   (subgrid) para comparar precio con precio.
   Cada tarjeta reserva su esquina superior derecha para una ilustración
   futura (.pl-illus) que rompe el borde. El hueco entre tarjetas ya cuenta
   con lo que sobresale: la ilustración no moverá nada. */

.pl-packages { padding: 110px 0 90px; color: var(--text-on-light); }

.pl-packages__list {
  --illus: 84px;            /* lado de la ilustración (cuadrada) */
  --illus-out: 46px;        /* lo que sobresale por encima de la tarjeta */
  display: grid;
  gap: calc(var(--illus-out) + 14px) 20px;
  margin-top: calc(var(--illus-out) + 26px);
}
.pl-pack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px 20px 20px;
  border: 2px solid var(--play-ink);
  border-radius: var(--radius-lg);
}

/* Hueco de la ilustración: vacío en público, sin ocupar flujo. */
.pl-illus {
  position: absolute;
  z-index: 1;
  top: calc(var(--illus-out) * -1);
  right: 14px;
  width: var(--illus);
  height: var(--illus);
  pointer-events: none;
}
/* La ilustración es un SVG 1:1 con aire transparente alrededor del dibujo.
   El <img> se escala por encima del hueco y se ancla para que la esquina
   inferior derecha del DIBUJO coincida con la del hueco: el dibujo ocupa el
   hueco y su base (la sombra del propio SVG) se apoya dentro de la tarjeta.
   Por ilustración: --art-k (lienzo ÷ hueco; iguala el peso visual de las
   tres) y --art-r / --art-b (aire derecho e inferior del lienzo, en
   fracción, medidos sobre el SVG rasterizado). Absoluto: no mueve el flujo. */
.pl-illus img {
  position: absolute;
  right: calc(-100% * var(--art-k, 1) * var(--art-r, 0));
  bottom: calc(-100% * var(--art-k, 1) * var(--art-b, 0) + var(--art-lift, 0px));
  width: calc(100% * var(--art-k, 1));
  max-width: none;
  height: auto;
}
.pl-pack[data-pack="summit"] .pl-illus     { --art-k: 1.51; --art-r: .114; --art-b: .14;  --art-turn: -4deg; }  /* globos: altos y ligeros */
.pl-pack[data-pack="summit-vip"] .pl-illus { --art-k: 1.53; --art-r: .139; --art-b: .188; --art-from: .84; }   /* comida: compacta y densa */
.pl-pack[data-pack="water-park"] .pl-illus { --art-k: 1.38; --art-r: .103; --art-b: .15;  --art-turn: 4deg; }   /* tobogán: ancho y con más elementos */

/* Entrada (solo movimiento): cuando su tarjeta se revela (.is-in), el dibujo
   baja unos píxeles y se asienta sobre su base, un poco después que la
   tarjeta; llega desde arriba, así que nunca pasa por encima del texto.
   Misma curva, duración y retardo para las tres; cada una parte de un gesto
   propio de su silueta (globos −4°, comida desde más pequeña, tobogán +4°).
   Después, la flotación de Summy (pl-float, ±1,2 %), más lenta y desfasada,
   solo con la sección en pantalla. Sin movimiento (reduced motion o sin JS)
   el dibujo está quieto en su sitio desde el principio. */
.has-motion .pl-illus {
  opacity: 0;
  transform: translateY(-10px) rotate(var(--art-turn, 0deg)) scale(var(--art-from, .94));
  transform-origin: 50% 100%;
  transition: opacity .6s var(--ease-out) .3s, transform 1s var(--ease-out) .3s;
}
.has-motion .pl-pack.is-in .pl-illus { opacity: 1; transform: none; }
.has-motion .pl-illus img {
  animation: pl-float 4.2s ease-in-out infinite alternate;
  animation-play-state: paused;
}
.has-motion .pl-packages.is-live .pl-illus img { animation-play-state: running; }
.pl-pack[data-pack="summit-vip"] .pl-illus img { animation-delay: -1.4s; }
.pl-pack[data-pack="water-park"] .pl-illus img { animation-delay: -2.8s; }
/* QA (local o ?play-demo=1): caja neutra rotulada. No es un asset. */
.pl-qa-slots .pl-illus:empty {
  border: 2px dashed rgba(15, 30, 46, .5);
  border-radius: 18px;
  background:
    repeating-linear-gradient(135deg, rgba(15, 30, 46, .07) 0 6px, transparent 6px 12px),
    var(--play-paper);
}
.pl-qa-slots .pl-illus:empty::after {
  content: attr(data-slot);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 6px;
  font: 700 .6rem/1.25 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .03em;
  text-align: center;
  text-transform: uppercase;
  color: rgba(15, 30, 46, .72);
}

.pl-pack__top { display: grid; justify-items: start; align-content: start; gap: 6px; }
.pl-pack__name {
  font-size: clamp(1.85rem, 1.45rem + 1.6vw, 2.5rem);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.pl-pack__label {
  display: block;
  margin-bottom: 8px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.pl-pack__kind { font-weight: 700; color: var(--muted-on-light); }
.pl-badge {
  flex: 0 0 auto;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1.5px dashed currentColor;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Precio: nunca se parte. */
.pl-pack__price {
  font-size: clamp(2.5rem, 2rem + 2.2vw, 3.4rem);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -.04em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.pl-pack__price span { font-size: .36em; font-weight: 700; letter-spacing: 0; }

/* Modalidades (Water Park): dos fichas crema en paralelo. El precio se
   escala con el ancho de la pareja (cqi) para caber entero en cada ficha. */
.pl-modes {
  container-type: inline-size;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.pl-mode {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 12px 12px 14px;
  border-radius: var(--radius-md);
  background: var(--play-cream);
  color: var(--play-ink);
}
.pl-mode__label { font-size: .75rem; font-weight: 800; line-height: 1.2; letter-spacing: .1em; text-transform: uppercase; }
.pl-mode__price {
  font-size: clamp(1.5rem, 11cqi, 2.3rem);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -.04em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.pl-mode__price span { font-size: .42em; font-weight: 700; letter-spacing: 0; }

/* Qué incluye: pastillas con check dibujado con CSS. */
.pl-pack__inc { display: grid; align-content: start; gap: 8px; }
.pl-pack__lead { font-size: .875rem; font-weight: 700; }
.pl-pack__none { color: var(--muted-on-light); }
.pl-pack__includes { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 6px; }
.pl-pack__includes li {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 12px 4px 30px;
  border-radius: var(--radius-pill);
  background: rgba(15, 30, 46, .07);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.2;
}
.pl-pack__includes li::before {
  content: '';
  position: absolute;
  left: 6px; top: 50%;
  width: 18px; height: 18px;
  margin-top: -9px;
  border-radius: 50%;
  background: var(--play-ink);
}
.pl-pack__includes li::after {
  content: '';
  position: absolute;
  left: 12.5px; top: 50%;
  width: 4.5px; height: 8.5px;
  margin-top: -6px;
  border: solid var(--play-cream);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Comida del VIP: plegada en un <details> nativo; va incluida, no es un extra. */
.pl-more {
  border-radius: var(--radius-md);
  background: var(--play-ink-2);
  color: var(--play-cream);
}
.pl-more > summary {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  min-height: 48px;
  padding: 10px 44px 10px 16px;
  border-radius: inherit;
  cursor: pointer;
  list-style: none;
}
.pl-more > summary::-webkit-details-marker { display: none; }
.pl-more > summary::after {
  content: '';
  position: absolute;
  right: 20px; top: 50%;
  width: 8px; height: 8px;
  margin-top: -6px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition: transform .25s var(--ease-out), margin .25s var(--ease-out);
}
.pl-more[open] > summary::after { margin-top: -2px; transform: rotate(-135deg); }
.pl-more__title { font-weight: 800; letter-spacing: -.01em; color: var(--play-white); }
.pl-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: var(--play-yellow);
  color: var(--play-ink);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.pl-meals { display: grid; gap: 12px; padding: 4px 16px 18px; counter-reset: meal; }
.pl-meals li {
  position: relative;
  min-height: 28px;
  padding-left: 40px;
  line-height: 1.4;
  color: var(--muted-on-dark);
  counter-increment: meal;
}
.pl-meals li::before {
  content: counter(meal);
  position: absolute;
  left: 0; top: -2px;
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border: 2px solid var(--play-yellow);
  border-radius: 50%;
  color: var(--play-yellow);
  font-size: .85rem;
  font-weight: 800;
  line-height: 1;
}
.pl-meals strong { font-weight: 800; color: var(--play-cream); }

/* Pie: el mínimo (solo si el paquete lo tiene confirmado) junto al botón. */
.pl-pack__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}
.pl-pack__min {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--play-yellow);
  color: var(--play-ink);
  font-size: .875rem;
  font-weight: 800;
  line-height: 1.2;
}
.pl-pack__cta { margin-left: auto; }
.pl-pack.is-selected .pl-pack__name::after {
  content: ' · elegido';
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--muted-on-light);
}

/* SUMMIT VIP: bloque de tinta, como la cabecera de la reserva. */
.pl-pack--ink { background: var(--play-ink); color: var(--play-cream); }
.pl-pack--ink .pl-pack__label,
.pl-pack--ink .pl-pack__kind { color: var(--play-yellow); }
.pl-pack--ink .pl-pack__name,
.pl-pack--ink .pl-pack__price { color: var(--play-white); }
.pl-pack--ink .pl-pack__includes li { background: rgba(236, 223, 184, .1); }
.pl-pack--ink .pl-pack__includes li::before { background: var(--play-yellow); }
.pl-pack--ink .pl-pack__includes li::after { border-color: var(--play-ink); }
.pl-pack--ink.is-selected .pl-pack__name::after { color: var(--muted-on-dark); }
.pl-pack--ink :focus-visible { outline-color: var(--play-yellow); }

/* SUMMITPLAY + WATER PARK: azul. Sobre el azul solo la tinta plena llega a
   AA en texto pequeño, así que todo su texto es tinta y las pastillas,
   crema. */
.pl-pack--blue { border-color: var(--play-blue); background: var(--play-blue); color: var(--play-ink); }
.pl-pack--blue .pl-pack__kind { color: var(--play-ink); }
.pl-pack--blue .pl-pack__includes li { background: var(--play-cream); }
.pl-pack--blue.is-selected .pl-pack__name::after { color: var(--play-ink); }

/* --- Extras con costo adicional ------------------------------------------ */

.pl-extras { margin-top: 48px; }
.pl-extras[hidden],
.pl-extras:empty { display: none; }
.pl-extras__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 14px;
  padding-top: 18px;
  border-top: 2px solid var(--play-ink);
}
.pl-extras__title { font-size: var(--fs-h3); font-weight: 800; letter-spacing: -.02em; }
.pl-extras__head p { font-weight: 600; color: var(--muted-on-light); }
.pl-extras__grid { display: grid; gap: 16px; margin-top: 18px; }
.pl-extra { padding: 22px 20px; border-radius: var(--radius-lg); }
.pl-extra__title { margin: 0; font-size: 1.35rem; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }

/* Comida para adultos: carta compacta; los ingredientes, plegados. */
.pl-extra--menu { background: var(--play-paper); }
.pl-menu { margin-top: 8px; }
.pl-menu li { border-top: 1px solid var(--line-on-light); }
.pl-menu summary,
.pl-menu__row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  padding: 8px 0;
}
.pl-menu summary { padding-right: 28px; cursor: pointer; list-style: none; }
.pl-menu summary::-webkit-details-marker { display: none; }
.pl-menu summary::after {
  content: '';
  position: absolute;
  right: 6px; top: 50%;
  width: 7px; height: 7px;
  margin-top: -5px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition: transform .25s var(--ease-out), margin .25s var(--ease-out);
}
.pl-menu details[open] summary::after { margin-top: -1px; transform: rotate(-135deg); }
.pl-menu__name { font-weight: 700; line-height: 1.3; text-wrap: balance; }
.pl-menu__price { font-size: 1.15rem; font-weight: 850; line-height: 1.15; letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pl-menu__items { padding: 0 28px 14px 0; font-size: var(--fs-small); line-height: 1.45; color: var(--muted-on-light); }

/* Fiesta Neón: complemento festivo. Brillo y destellos solo con CSS. */
.pl-extra--neon {
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 12px;
  border: 2px solid var(--play-yellow);
  background-color: var(--play-ink);
  background-image:
    radial-gradient(circle, rgba(251, 185, 30, .5) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(236, 223, 184, .3) 0 1px, transparent 1.6px);
  background-size: 26px 26px, 37px 37px;
  background-position: 0 0, 13px 9px;
  box-shadow: 0 0 0 4px rgba(251, 185, 30, .14), 0 0 34px -8px rgba(251, 185, 30, .6);
  color: var(--play-cream);
}
.pl-extra__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  width: 100%;
}
.pl-extra--neon .pl-extra__title {
  font-size: clamp(1.7rem, 1.35rem + 1.4vw, 2.3rem);
  color: var(--play-yellow);
  text-shadow: 0 0 16px rgba(251, 185, 30, .55);
}
.pl-extra__price {
  font-size: clamp(1.8rem, 1.45rem + 1.4vw, 2.5rem);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -.04em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  color: var(--play-white);
}
.pl-extra__includes { display: flex; flex-wrap: wrap; gap: 6px; }
.pl-extra__includes li {
  padding: 5px 12px;
  border: 1.5px solid rgba(251, 185, 30, .8);
  border-radius: var(--radius-pill);
  box-shadow: 0 0 12px -3px rgba(251, 185, 30, .6);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.2;
}

.pl-packages .pl-legal { margin-top: 26px; }

/* Desde 600: SUMMIT y VIP en paralelo, en una columna cada uno. El paquete
   con modalidades va a todo el ancho en dos columnas: ficha y modalidades a
   la izquierda; qué incluye y botón a la derecha, bajo la esquina de la
   ilustración. */
@media (min-width: 600px) {
  .pl-packages__list {
    --illus: 104px;
    --illus-out: 52px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pl-pack { padding: 30px 26px 26px; }
  /* El dibujo sube 12 px: su base no roza la línea del nombre. */
  .pl-illus { right: 20px; --art-lift: 12px; }
  .pl-pack--modes {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    gap: 16px 32px;
  }
  .pl-pack--modes > .pl-pack__top { grid-area: 1 / 1; }
  .pl-pack--modes > .pl-modes { grid-area: 2 / 1; align-self: start; }
  .pl-pack--modes > .pl-pack__inc { grid-area: 1 / 2; margin-top: calc(var(--illus) - var(--illus-out) - 20px); }
  .pl-pack--modes > .pl-pack__foot { grid-area: 2 / 2; align-self: end; }

  .pl-extra { padding: 28px; }
}

@media (min-width: 900px) {
  .pl-packages { padding: 150px 0 110px; }
  .pl-extras__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }
}

/* Desde 1200: las tres en paralelo. Cada tarjeta ocupa las mismas cinco
   filas (subgrid): nombre, precio, qué incluye, comida y pie empiezan a la
   misma altura en las tres. */
@media (min-width: 1200px) {
  .pl-packages__list {
    --illus: 120px;
    --illus-out: 60px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 22px;
  }
  .pl-pack,
  .pl-pack--modes {
    grid-column: auto;
    grid-row: span 5;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: subgrid;
    gap: 16px;
    padding: 40px 28px 28px;
  }
  .pl-illus { right: 22px; }
  /* «SUMMITPLAY + WATER PARK» en dos líneas también a 1200 px. */
  .pl-pack__name { font-size: clamp(2.1rem, 1rem + 1.5vw, 2.5rem); }
  .pl-pack > .pl-pack__top { grid-area: 1 / 1; }
  .pl-pack > .pl-pack__price,
  .pl-pack--modes > .pl-modes { grid-area: 2 / 1; align-self: start; }
  .pl-pack > .pl-pack__inc,
  .pl-pack--modes > .pl-pack__inc { grid-area: 3 / 1; margin-top: 0; }
  .pl-pack > .pl-more { grid-area: 4 / 1; }
  .pl-pack > .pl-pack__foot,
  .pl-pack--modes > .pl-pack__foot { grid-area: 5 / 1; align-self: end; }

  .pl-extras__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .pl-extra--menu { grid-column: span 2; }
  .pl-extra { padding: 30px; }
}

/* ==========================================================================
   Reserva
   ========================================================================== */

.pl-booking { padding: 40px 0 110px; color: var(--text-on-light); }

/* Cabecera: bloque de tinta con el título; Summy se asoma detrás de su borde
   derecho y su base queda tapada por el calendario (los cortes rectos del
   PNG nunca se ven). El bloque se estira hasta el alto de la cabecera, que
   marca Summy, para llegar al calendario: sin él, el corte izquierdo del PNG
   asomaba sobre el crema entre ambos. */
.pl-booking__head {
  position: relative;
  display: flex;
  align-items: flex-start;
}
.pl-booking__tag {
  position: relative;
  z-index: 2;
  align-self: stretch;
  flex: 0 1 auto;
  max-width: 72%;
  padding: 22px 24px 26px;
  border-radius: var(--radius-lg);
  background: var(--play-ink);
  color: var(--play-cream);
}
.pl-booking__tag .pl-h2 { color: var(--play-white); font-size: clamp(2.1rem, 1.5rem + 3.4vw, 4.4rem); }
.pl-booking__tag .pl-eyebrow { margin-bottom: 10px; color: var(--play-yellow); }
.pl-booking__lede { margin-top: 12px; color: var(--muted-on-dark); max-width: 30ch; }
.pl-booking__summy {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: clamp(118px, 30vw, 220px);
  margin: 26px 0 -64px -30px;
}
.pl-booking__summy picture { transition: transform .6s var(--ease-spring); }
.has-motion .pl-booking__summy.is-peeking picture { transform: translateY(-14px) rotate(-3deg); }

.pl-booking__grid {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 16px;
}
.pl-card {
  border-radius: var(--radius-lg);
  background: var(--play-white);
  box-shadow: var(--shadow-card);
  padding: 18px 14px 20px;
}

@media (min-width: 600px) {
  .pl-card { padding: 26px; }
}
@media (min-width: 900px) {
  .pl-booking { padding: 70px 0 140px; }
  .pl-booking__tag { max-width: 560px; padding: 30px 34px 34px; }
  .pl-booking__grid { grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); align-items: start; gap: 22px; }
  .pl-summary { position: sticky; top: calc(var(--nav-h) + 14px); }
}

/* --- Calendario ---------------------------------------------------------- */

.pl-cal__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.pl-cal__month {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.pl-cal__navbtns { display: flex; gap: 6px; }
.pl-cal__nav {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1.5px solid var(--line-on-light);
  border-radius: 50%;
  background: var(--play-white);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
}
.pl-cal__nav:hover:not(:disabled) { border-color: var(--play-ink); }
.pl-cal__nav:disabled { opacity: .35; cursor: not-allowed; }

.pl-demo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 14px 0 4px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--play-yellow);
  color: var(--play-ink);
  font-size: .8rem;
  line-height: 1.35;
}
.pl-demo strong { font-weight: 900; letter-spacing: .12em; }

.pl-cal__grid {
  width: 100%;
  margin-top: 12px;
  border-collapse: separate;
  border-spacing: 3px;
  table-layout: fixed;
}
.pl-cal__grid th {
  padding: 4px 0 6px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--muted-on-light);
  text-transform: uppercase;
}
.pl-cal__grid td { padding: 0; text-align: center; }

.pl-day {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 44px;
  aspect-ratio: 1;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  font-size: 1rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .25s var(--ease-spring), background-color .2s, border-color .2s;
}
/* Marcador bajo el número: la forma también comunica el estado. */
.pl-day::after {
  content: '';
  position: absolute;
  bottom: 14%;
  left: 50%;
  width: 6px; height: 6px;
  margin-left: -3px;
  border-radius: 50%;
}

.pl-day--available { background: var(--play-white); border-color: rgba(15, 30, 46, .18); }
.pl-day--available::after { background: var(--play-blue); }
.pl-day--available:hover { border-color: var(--play-ink); transform: translateY(-1px); }

.pl-day--unavailable {
  color: rgba(15, 30, 46, .38);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  cursor: not-allowed;
}

.pl-day--selected,
.pl-day--selected:hover {
  background: var(--play-ink);
  border-color: var(--play-ink);
  color: var(--play-cream);
  box-shadow: 0 0 0 3px var(--play-yellow);
}
.pl-day--selected::after {
  bottom: 12%;
  width: 9px; height: 5px;
  margin-left: -4.5px;
  border-radius: 0;
  border: solid var(--play-yellow);
  border-width: 0 0 2.5px 2.5px;
  background: transparent;
  transform: rotate(-45deg);
}
.pl-day[aria-current="date"] { font-weight: 900; }
.pl-day[aria-current="date"]::before {
  content: 'hoy';
  position: absolute;
  top: 6%;
  font-size: .55rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
}
.pl-day:focus-visible { outline: 3px solid var(--play-blue); outline-offset: 1px; z-index: 1; }

.pl-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
  margin-top: 14px;
  font-size: .85rem;
}
.pl-legend li { display: flex; align-items: center; gap: 8px; }
.pl-legend .pl-day {
  width: 26px;
  min-height: 0;
  height: 26px;
  aspect-ratio: auto;
  border-radius: 8px;
  font-size: 0;
  cursor: default;
  pointer-events: none;
}
.pl-legend .pl-day::after { bottom: 50%; transform: translateY(50%); }
.pl-legend .pl-day--selected::after { transform: translateY(50%) rotate(-45deg); }
.pl-legend .pl-day--unavailable::before {
  content: '';
  position: absolute;
  left: 4px; right: 4px; top: 50%;
  height: 1.5px;
  background: rgba(15, 30, 46, .45);
}

.pl-cal__state {
  margin-top: 16px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--play-paper);
}
.pl-cal__state p + p { margin-top: 8px; }

@media (min-width: 600px) {
  .pl-cal__grid { border-spacing: 6px; }
  .pl-legend { display: flex; flex-wrap: wrap; gap: 10px 22px; }
}

/* --- Resumen y campos ---------------------------------------------------- */

.pl-summary__title { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.pl-field { margin: 18px 0 0; padding: 0; border: 0; min-width: 0; }
.pl-field__legend { padding: 0; font-weight: 800; font-size: .95rem; }
.pl-field__hint { margin-top: 4px; font-size: .88rem; color: var(--muted-on-light); }
.pl-field__hint:empty { display: none; }

.pl-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pl-chips--stack { display: grid; }
.pl-chip { position: relative; }
.pl-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pl-chip label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 8px 16px;
  border: 1.5px solid rgba(15, 30, 46, .2);
  border-radius: var(--radius-pill);
  background: var(--play-white);
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, background-color .2s, color .2s;
}
.pl-chips--stack .pl-chip label { border-radius: var(--radius-md); }
.pl-chip label small { font-size: .78rem; font-weight: 700; color: var(--muted-on-light); }
.pl-chip input:checked + label { background: var(--play-ink); border-color: var(--play-ink); color: var(--play-cream); }
.pl-chip input:checked + label small { color: var(--play-yellow); }
.pl-chip input:focus-visible + label { outline: 3px solid var(--play-blue); outline-offset: 2px; }
.pl-chip input:disabled + label {
  cursor: not-allowed;
  background-image: repeating-linear-gradient(135deg, rgba(15, 30, 46, .08) 0 3px, transparent 3px 7px);
  color: rgba(15, 30, 46, .55);
}
.pl-chip input:disabled + label .pl-chip__name { text-decoration: line-through; }

/* Paquete con modalidades: subgrupo rotulado con su nombre y sus opciones
   en paralelo (nombre de la modalidad y precio, apilados). */
.pl-chip-group {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1.5px solid rgba(15, 30, 46, .2);
  border-radius: var(--radius-md);
}
.pl-chip-group__name { padding: 2px 6px 0; font-size: .9rem; font-weight: 800; }
.pl-chips--pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
.pl-chips--pair .pl-chip label {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

.pl-summary__list {
  display: grid;
  gap: 0;
  margin-top: 20px;
  border-top: 1.5px solid var(--line-on-light);
}
.pl-summary__list > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-on-light);
}
.pl-summary__list dt { color: var(--muted-on-light); }
.pl-summary__list dd { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.pl-summary__total { font-size: 1.2rem; border-bottom: 0 !important; }
.pl-summary__total dd { font-weight: 900; }
/* Sin total calculable (precio por niño): texto, no una cifra. */
.pl-summary__total dd.is-pending { align-self: center; font-size: .95rem; font-weight: 700; color: var(--muted-on-light); }

/* Tus datos: nombre y apellido en paralelo; teléfono y correo, a lo ancho. */
.pl-who__names { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 10px; }
.pl-input { margin-top: 12px; min-width: 0; }
.pl-input label { display: block; margin-bottom: 6px; font-size: .9rem; font-weight: 700; }
.pl-input label span { font-weight: 500; color: var(--muted-on-light); }
.pl-input input {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1.5px solid rgba(15, 30, 46, .2);
  border-radius: var(--radius-sm);
  background: var(--play-white);
  color: var(--play-ink);
  font: inherit;
  font-size: 1rem;                 /* 16 px: iOS no amplía al enfocar */
  transition: border-color .2s;
}
.pl-input input:hover { border-color: rgba(15, 30, 46, .45); }
.pl-input input:focus-visible { outline: 3px solid var(--play-blue); outline-offset: 1px; border-color: var(--play-ink); }
.pl-input input[aria-invalid="true"] { border-color: var(--play-ink); box-shadow: 0 0 0 2px var(--play-yellow); }
.pl-input__err { margin-top: 6px; font-size: .85rem; font-weight: 700; }
.pl-input__err:empty { display: none; }
/* Honeypot: fuera de la vista; aria-hidden y tabindex lo sacan del resto. */
.pl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.pl-summary__cta { margin-top: 16px; }
.pl-summary__cta[aria-busy="true"] { cursor: progress; }
.pl-summary__why { margin-top: 10px; font-size: .9rem; color: var(--muted-on-light); }
.pl-form__status { margin-top: 10px; font-weight: 700; }
.pl-form__status:empty { display: none; }
.pl-summary__privacy { margin-top: 12px; font-size: .8rem; line-height: 1.45; color: var(--muted-on-light); }
.pl-summary__privacy a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.pl-cal__retry { margin-top: 12px; }

/* Fecha apartada: sustituye al formulario dentro de la misma tarjeta. */
.pl-done {
  margin-top: 18px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--play-paper);
}
.pl-done__title { margin: 6px 0 0; font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.pl-done__title::first-letter { text-transform: uppercase; }
.pl-done .pl-summary__list { margin-top: 14px; }
.pl-done .pl-summary__list dt { white-space: nowrap; }
.pl-done__note { margin-top: 12px; font-size: .95rem; }
.pl-done__cta { margin-top: 16px; }
/* Con la fecha apartada, el enlace general cede su sitio al de la confirmación. */
.pl-summary .pl-link[hidden] { display: none; }

.pl-devpanel {
  margin-top: 16px;
  padding: 12px 14px;
  border: 2px dashed rgba(15, 30, 46, .4);
  border-radius: var(--radius-sm);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .74rem;
  line-height: 1.5;
  color: rgba(15, 30, 46, .8);
}
.pl-devpanel strong { display: block; margin-bottom: 4px; font-family: var(--ff); letter-spacing: .1em; text-transform: uppercase; }
.pl-devpanel ul { list-style: disc; padding-left: 18px; }

/* ==========================================================================
   Salto libre
   ========================================================================== */

.pl-jump { padding: 100px 0 40px; color: var(--text-on-light); }
.pl-jump__inner { display: grid; gap: 26px; }
.pl-jump__prices { display: grid; border-top: 2px solid var(--play-ink); }
.pl-jump__prices > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 2px solid var(--play-ink);
}
.pl-jump__prices dt { font-size: var(--fs-lede); font-weight: 600; }
.pl-jump__prices dd {
  font-size: clamp(1.8rem, 1.4rem + 2vw, 2.8rem);
  font-weight: 850;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.pl-jump__prices dd small { font-size: .45em; font-weight: 700; letter-spacing: .04em; }
/* Línea secundaria opcional bajo el nombre (`detail` en CFG.jump). Hereda la
   tinta plena de la sección, la única que llega a AA sobre el azul. */
.pl-jump__detail { display: block; margin-top: 4px; font-size: var(--fs-small); font-weight: 400; line-height: 1.45; }
/* Sobre el azul solo la tinta plena llega a AA (5,0:1); las tintas
   atenuadas se quedan en 3,4–4,0:1. */
.pl-jump .pl-legal,
.pl-jump__legal,
.pl-outro .pl-legal { color: var(--play-ink); }

@media (min-width: 900px) {
  .pl-jump { padding: 150px 0 60px; }
  .pl-jump__inner { grid-template-columns: 1fr 1fr; align-items: end; column-gap: 6vw; }
  .pl-jump__legal { grid-column: 2; }
}

/* ==========================================================================
   Cierre y SUMMIT Children
   ========================================================================== */

.pl-outro { padding: 90px 0 0; color: var(--text-on-light); overflow: hidden; }
.pl-outro__title {
  font-size: var(--fs-mega);
  font-weight: 900;
  line-height: .86;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.pl-outro__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.pl-children {
  display: grid;
  gap: 24px;
  margin-top: 90px;
  padding-top: 30px;
  border-top: 2px solid var(--play-ink);
}
.pl-children__copy { display: grid; gap: 10px; max-width: 46ch; }
.pl-children__title { font-size: var(--fs-h3); font-weight: 800; letter-spacing: -.02em; }
.pl-children__poses {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 2vw;
}
.pl-children__poses img { width: 100%; }

/* Con movimiento, la colina de tinta del footer sube por detrás del cierre y
   cada pieza [data-ink] se tiñe exactamente por su curva: tinta por encima,
   crema por debajo, aunque la curva cruce una palabra. Es la misma elipse
   que dibuja .pl-backdrop__layer. summitplay-motion.js publica en .pl-outro
   su geometría (--ink-x centro, --ink-rx/--ink-ry semiejes, --ink-y cresta;
   px, coordenadas del cierre) y en cada pieza su posición (--ox/--oy). Los
   valores por defecto dejan todo en tinta. El botón amarillo no lleva
   data-ink: conserva sus colores. Sin movimiento, nada de esto aplica.
   «Hoy toca» usa la misma pintura con la colina de «El espacio»: el origen
   es su escenario fijado, y --dy descuenta lo que el motor desplaza cada
   pieza (los verbos salen mientras la colina los cruza). En el cierre,
   --dy no existe y vale 0. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .has-motion .pl-outro [data-ink],
  .has-motion .pl-verbs [data-ink] {
    --ink-cx: calc(var(--ink-x, 50vw) - var(--ox, 0px));
    --ink-cy: calc(var(--ink-y, 100000px) + var(--ink-ry, 26vh) - var(--oy, 0px) - var(--dy, 0px));
    /* Dentro de la elipse, crema. Fuera, tinta por encima de su centro y
       crema por debajo (la colina es una elipse sobre un rectángulo). */
    --ink-paint:
      radial-gradient(var(--ink-rx, 62vw) var(--ink-ry, 26vh) at var(--ink-cx) var(--ink-cy), var(--text-on-dark) 99.9%, transparent 100%),
      linear-gradient(var(--text-on-light) var(--ink-cy), var(--text-on-dark) 0);
  }
  /* Texto (y subrayado y flecha del enlace): el fondo recortado a la letra. */
  .has-motion .pl-outro [data-ink="text"],
  .has-motion .pl-outro [data-ink="button"],
  .has-motion .pl-verbs [data-ink="text"] {
    background-image: var(--ink-paint);
    background-origin: border-box;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  /* La línea de Children: la misma pintura en una franja del grosor del
     borde (2 px). */
  .has-motion .pl-outro [data-ink="line"] {
    border-top-color: transparent;
    background-image: var(--ink-paint);
    background-origin: border-box;
    background-size: 100% 2px;
    background-repeat: no-repeat;
  }
  /* Contorno del botón: un anillo de 2 px recortado con máscara, para
     conservar la forma de píldora. */
  .has-motion .pl-outro [data-ink="button"] { position: relative; border-color: transparent; }
  .has-motion .pl-outro [data-ink="button"]::before {
    content: '';
    position: absolute;
    inset: -2px;
    padding: 2px;
    border-radius: inherit;
    background: var(--ink-paint);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    pointer-events: none;
  }
  /* Foco: un anillo no se puede partir. El blanco contrasta sobre el azul
     (3,2:1) y sobre la tinta. */
  .has-motion .pl-outro :focus-visible { outline-color: var(--play-white); }
}

@media (min-width: 900px) {
  .pl-outro { padding-top: 150px; }
  .pl-children { grid-template-columns: .9fr 1.1fr; align-items: end; margin-top: 130px; }
  .pl-children__poses { gap: 1.4vw; }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.pl-footer {
  background: var(--play-ink);
  color: var(--play-cream);
  padding: 56px 0 calc(40px + env(safe-area-inset-bottom));
}
.has-motion .pl-footer { background: transparent; }
.pl-footer__inner { display: grid; gap: 22px; }
.pl-footer__brand img { width: 200px; height: auto; }
@media (min-width: 900px) { .pl-footer__brand img { width: 240px; } }
.pl-footer__brand p { margin-top: 12px; color: var(--muted-on-dark); }
.pl-footer__contact,
.pl-footer__links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.pl-footer a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-underline-offset: 4px; }
.pl-footer__legal { font-size: .8rem; line-height: 1.5; color: var(--muted-on-dark); max-width: 80ch; }

/* ==========================================================================
   Revelados al entrar (solo movimiento)
   ========================================================================== */

.has-motion [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform 1s var(--ease-out);
}
.has-motion [data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Reducir movimiento: red de seguridad. El motor ya no activa has-motion,
   pero si la preferencia cambia con la página abierta, nada queda a medias.
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   DIRECCIÓN DE ARTE MÓVIL · ≤ 599 px
   ==========================================================================
   Única zona con reglas exclusivas de móvil. El resto de la hoja solo usa
   min-width, así que nada de aquí puede alcanzar 600 px en adelante (tablet
   y escritorio, composición aprobada). Las reglas base, sin media query, las
   comparten móvil y 600–899: para cambiar móvil se sobrescribe aquí, nunca
   en la base. 599.98 y no 599: con zoom el ancho puede ser fraccionario y
   599.5 no caería ni aquí ni en min-width: 600px.
   Composición de referencia: 390 × 844; se comprueba en 360 × 800 y 430 × 932.
   ========================================================================== */

@media (max-width: 599.98px) {
  /* Hero: centrado, Summy quedaba detrás de los dos CTA en cuanto el
     navegador resta alto (390 × 664 en Safari de iPhone): los botones se
     colocan desde arriba y Summy desde abajo. Se desplaza a la derecha un
     21,5 % de su ancho (+70 px a 390), con left/right y no con transform: el
     transform del figure lo escribe el motor y el del picture es la entrada.
     El trampolín es del mismo PNG y lo acompaña; su borde sale del encuadre.
     Sin movimiento el figure es relative y basta left (right se ignora). */
  .pl-hero--summit .pl-hero__summy,
  .has-motion .pl-hero--summit .pl-hero__summy {
    left: calc(var(--sw) * .215);
    right: calc(var(--sw) * -.215);
  }

  /* Hoy toca: Summy es el protagonista de cada verbo. A 74vw quedaba un
     hueco de ~180 px entre la frase y Summy. El tope por alto (93svh menos
     ~300 px de menú y texto, ÷ 1,34, la pose más alta) evita que lo pise en
     pantallas bajas. La cuerda de «Explorar» conserva su composición. */
  .has-motion .pl-verb__summy:not(.pl-verb__summy--rope) {
    width: min(88vw, (93svh - 300px) / 1.34, 420px);
  }
  /* Sin palabras sueltas («más.», «del suelo.») en la segunda línea. */
  .pl-verb__line { text-wrap: balance; }

  /* Fiestas: «Tu cumpleaños» medía 349,7 px en 350 a 390 y a 360 se partía
     en cuatro líneas con «Tu» suelto. El tope por ancho (6,6 = ancho de esa
     línea ÷ font-size, +4 % de margen) mantiene las tres líneas del diseño. */
  .pl-party__title { font-size: min(var(--fs-display), 11svh, (100vw - 2 * var(--gutter)) / 6.6); }
  /* En fila, «Aparta tu fecha» se montaba sobre Summy (375 × 667). En
     columna, los dos CTA quedan a la izquierda, fuera de su silueta, con su
     tamaño de siempre (como ya se partían a 360 px). */
  .pl-party__ctas { flex-direction: column; align-items: flex-start; }

  /* Reserva: Summy se asoma detrás del calendario. El PNG tiene dos cortes
     rectos, el lateral (6 % del ancho) y el inferior; el bloque de tinta tapa
     el primero y el calendario, el segundo. La caja de Summy en el flujo no
     cambia (ancho, márgenes verticales y alto que aporta a la cabecera son
     los de siempre), así que bloque y calendario conservan su geometría
     exacta: solo se recoloca el dibujo, con top relativo y transform. */
  .pl-booking__summy {
    align-self: stretch;            /* la caja llega a 64 px bajo la cabecera… */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;      /* …y el dibujo se apoya en su base */
    margin-left: -46px;             /* corte lateral > 32 px (radio del bloque) tras su borde, también en el giro */
  }
  .pl-booking__summy picture {
    position: relative;
    /* Base del PNG 26 px dentro del calendario; desde 470 px se hunde poco a
       poco hasta 44 px para que, con el bloque más bajo, no lo sobrepase. */
    top: calc(clamp(26px, 26px + (100vw - 470px) * .36, 44px) - 64px);
  }
  /* Entrada: mientras el bloque de tinta entra, todavía semitransparente,
     Summy espera escondido tras el calendario; cuando el bloque es opaco
     (97 % a los 0,4 s), sube y se asoma. Mismos easing y duración que el
     revelado. Sin movimiento (reduced motion, sin JS) aparece en su sitio. */
  .has-motion .pl-booking__summy { transition: transform .8s var(--ease-out) .4s; }
  .has-motion .pl-booking__tag:not(.is-in) + .pl-booking__summy { transform: translateY(100%); }

  /* Paquetes: «Paquete» ya lo dice el rótulo de la sección; repetido en las
     tres tarjetas solo alargaba la columna. Se oculta a la vista; el lector
     de pantalla lo sigue leyendo en el título de cada tarjeta. */
  .pl-pack__label {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  /* El paquete con modalidades no tiene mínimo confirmado: su pie es solo el
     botón, que sube a la fila de «Incluye acceso a» en vez de ocupar una
     fila propia. */
  .pl-pack--modes {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 10px;
  }
  .pl-pack--modes > .pl-pack__top,
  .pl-pack--modes > .pl-modes { grid-column: 1 / -1; }
  .pl-pack--modes > .pl-pack__foot { align-self: end; }
  .pl-extras { margin-top: 40px; }
}

/* Hero en móviles bajos (barras del navegador): por debajo de 780 px de alto
   la cabeza y los brazos de Summy vuelven a quedar tras los CTA, sobre todo
   con los dos botones en fila (430 px); desde 780 no ocurre en 360–430
   (medido). Un 7 % menos desde la base: el trampolín sigue en la cresta. Va
   en el img: el transform del figure es del motor y el del picture, de la
   entrada. Solo con movimiento: en estático Summy va bajo el lema. */
@media (max-width: 599.98px) and (max-height: 779.98px) {
  .has-motion .pl-hero--summit .pl-hero__summy img {
    transform-origin: 50% 100%;
    transform: scale(.93);
  }
}
/* Y en los más estrechos (≤ 375 px), con el 7 % el codo y la pierna seguían
   tras el extremo de «Conoce Summitplay» (a 360 × 700, el guante bajo el
   texto). 10 px más sobre B; con más, la mano derecha toca el borde en la
   escala máxima del motor (×1,14). */
@media (max-width: 375px) and (max-height: 779.98px) {
  .has-motion .pl-hero--summit .pl-hero__summy {
    left: calc(var(--sw) * .215 + 10px);
    right: calc(var(--sw) * -.215 - 10px);
  }
}

/* Reserva: mientras «Aparta su día.» ocupa dos líneas (hasta 433 px) el
   bloque es más alto que Summy; un 23 % más grande conserva los dos ojos
   tras el solape. Desde 434 px el título cabe en una línea, el bloque baja
   37 px y Summy a escala 1 ya lo llena. Solo visual: no altera el layout. */
@media (max-width: 433.98px) {
  .pl-booking__summy img { transform-origin: 0 100%; transform: scale(1.23); }
}
