/* Aperol Día de Campo 2026
   Paleta, ilustración y tipografía tomadas del key visual. */

@font-face { font-family: "First Bunny"; src: url("../fonts/firstbunny-v2.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Barlow SC"; src: url("../fonts/barlow-semi-condensed-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow SC"; src: url("../fonts/barlow-semi-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow SC"; src: url("../fonts/barlow-semi-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow SC"; src: url("../fonts/barlow-semi-condensed-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Barlow SC"; src: url("../fonts/barlow-semi-condensed-latin-700-italic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow SC"; src: url("../fonts/barlow-semi-condensed-latin-800-italic.woff2") format("woff2"); font-weight: 800; font-style: italic; font-display: swap; }

:root {
  --cielo: #2F85EA;
  --amarillo: #F3CD01;
  --naranja: #FC7608;
  --crema: #F4FFCF;
  --pasto: #07A557;
  --pasto-hondo: #067C40;
  --arbusto: #0B6B1E;
  --bosque: #063B21;
  --rojo: #E55633;
  --rosa: #FFB6BB;

  --display: "First Bunny", "Cooper Black", Georgia, serif;
  --texto: "Barlow SC", "Barlow Semi Condensed", "Arial Narrow", system-ui, sans-serif;
  --curva: cubic-bezier(.10, 0, .10, 1);
  --anillo: var(--crema);
  --barra: 82px;

  color-scheme: light;
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--barra) + 12px); overflow-x: clip; }
body {
  margin: 0;
  background: var(--cielo);
  color: var(--bosque);
  font: 500 1.1875rem/1.5 var(--texto);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video { max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
:where(ul[role="list"]) { list-style: none; margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--anillo); outline-offset: 4px; border-radius: 6px; }
.oculto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.saltar { position: fixed; left: 12px; top: 12px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--crema); color: var(--bosque); font-weight: 700; transform: translateY(-160%); }
.saltar:focus { transform: none; }

.envoltura { width: min(1200px, 100% - 40px); margin-inline: auto; }
.envoltura--angosta { width: min(860px, 100% - 40px); }

/* ---------- Botones ---------- */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  min-height: 56px; padding: .55em 1.35em .6em;
  border: 3px solid var(--bosque); border-radius: 999px;
  background: var(--naranja); color: var(--bosque);
  font: 800 1.25rem/1.05 var(--texto); text-decoration: none;
  box-shadow: 0 6px 0 var(--bosque);
  transition: transform .35s var(--curva), box-shadow .35s var(--curva);
  -webkit-tap-highlight-color: transparent;
}
.boton:hover { transform: translateY(-3px) rotate(-1.5deg); box-shadow: 0 9px 0 var(--bosque); }
.boton:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--bosque); transition-duration: .08s; }
.boton--crema { background: var(--crema); }
.boton--chico { min-height: 44px; font-size: 1.0625rem; padding: .4em 1.05em .45em; box-shadow: 0 4px 0 var(--bosque); }
.boton--chico:hover { box-shadow: 0 6px 0 var(--bosque); }
.boton--bloque { width: 100%; }
.boton--grande { min-height: 78px; padding: .5em 1.6em .56em; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); border-width: 4px; box-shadow: 0 9px 0 var(--bosque); }
.boton--grande:hover { box-shadow: 0 12px 0 var(--bosque); }
.boton--mapa svg { width: 1.15em; height: 1.15em; fill: var(--crema); stroke: var(--bosque); stroke-width: 2.2; margin-left: -.15em; }
.enlace { color: inherit; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.enlace:hover { text-decoration-color: var(--naranja); }

/* ---------- Títulos ---------- */
.titulo {
  font-family: var(--display);
  font-size: clamp(2.6rem, 1.6rem + 4.2vw, 5.5rem);
  line-height: 1.02;
  color: var(--crema);
  text-shadow: 0 .045em 0 var(--naranja), 0 .085em 0 var(--bosque);
  margin-bottom: .4em;
  text-wrap: balance;
}
.titulo--centro { text-align: center; }
.titulo--sobre-mantel { -webkit-text-stroke: .14em var(--bosque); paint-order: stroke fill; text-shadow: 0 .09em 0 var(--bosque); }

/* ---------- Barra superior ---------- */
.barra {
  position: fixed; inset: 0 0 auto; z-index: 40;
  height: var(--barra);
  display: flex; align-items: center; gap: 22px;
  padding: 0 max(20px, env(safe-area-inset-right)) 0 max(20px, env(safe-area-inset-left));
  color: var(--crema);
  transition: background-color .4s var(--curva), box-shadow .4s var(--curva);
  /* capa propia: el navegador no la vuelve a pintar junto con la ilustración y el cielo 3D al hacer scroll */
  will-change: transform; transform: translateZ(0); backface-visibility: hidden;
}
.barra.is-solida { background: #1E6CD2; box-shadow: 0 1px 0 rgb(6 59 33 / .18); }
.barra__logo { display: block; flex: none; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .4s var(--curva), transform .5s var(--curva), visibility 0s .4s; }
.barra__logo img { display: block; width: 94px; height: auto; }
.barra.is-solida .barra__logo { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.barra__nav { display: flex; align-items: center; gap: 24px; position: absolute; left: 50%; top: 0; bottom: 0; translate: -50% 0; }
.barra__cuenta { margin-left: auto; }
.barra__nav a:not(.boton) { font-weight: 700; font-size: 1.0625rem; text-decoration: none; padding: 6px 0; background: linear-gradient(var(--amarillo), var(--amarillo)) left bottom / 0 3px no-repeat; transition: background-size .45s var(--curva); }
.barra__nav a:not(.boton):hover { background-size: 100% 3px; }
.barra__nav-cta { display: none; }
.barra__cuenta {
  display: flex; align-items: baseline; gap: 2px; flex: none;
  font-weight: 700; font-size: 1.0625rem; white-space: nowrap;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--curva), visibility 0s .4s;
}
.barra__cuenta b { font-family: var(--display); font-weight: 400; font-size: 1.75rem; line-height: 1; color: var(--amarillo); margin-left: 6px; font-variant-numeric: tabular-nums; }
.barra__cuenta-txt { margin-right: 2px; }
.barra.is-solida .barra__cuenta { opacity: 1; visibility: visible; transition-delay: 0s; }
.barra .boton { flex: none; }
.barra__menu { display: none; }

/* ---------- Cielo continuo ---------- */
.cielo { position: relative; background: var(--cielo); overflow-x: clip; color: var(--crema); --anillo: var(--crema); }
.cielo__brillo { /* resplandor del key visual detrás de la portada; sus bordes son del mismo azul */
  position: absolute; z-index: 0; inset: 0 0 auto; height: max(112svh, 760px);
  background: url("../img/cielo-1920.webp") center / 100% 100% no-repeat;
  pointer-events: none;
}
.cielo__3d { position: sticky; top: 0; z-index: 1; display: block; width: 100%; height: 100svh; margin-bottom: -100svh; pointer-events: none; }

.portada {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(16px, 2.6vh, 28px);
  padding: calc(var(--barra) + 16px) 20px 64px;
  text-align: center;
}
.portada__marca { position: relative; width: min(600px, 80vw, 58svh * 1.68); margin-top: 4vh; }
.portada__logo { position: relative; z-index: 2; margin: 0; line-height: 0; }
.portada__fecha, .portada__accion { position: relative; z-index: 2; }
.portada__logo img { width: 100%; filter: drop-shadow(0 10px 0 rgb(6 59 33 / .16)); }
.portada__arcoiris { /* detrás de mariposas, copas y estrellas del cielo 3D */
  position: absolute; z-index: 0; left: 50%; bottom: 30%;
  width: 150%; max-width: none; transform: translateX(-50%);
}
.portada__nube { position: absolute; z-index: 0; bottom: 22%; width: 46%; max-width: none; pointer-events: none; }
.portada__nube--izq { left: -42%; }
.portada__nube--der { right: -42%; transform: scaleX(-1); }
.portada__fecha { width: min(400px, 74vw); filter: drop-shadow(0 2px 0 rgb(6 59 33 / .28)); }
.portada__accion { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cuenta { display: flex; align-items: baseline; gap: 6px 6px; margin-top: 4px; font-weight: 800; font-size: clamp(1.125rem, 1rem + .4vw, 1.375rem); text-shadow: 0 2px 0 rgb(6 59 33 / .3); }
.cuenta__num { font-family: var(--display); font-size: clamp(3rem, 2.3rem + 2.2vw, 4.5rem); line-height: 1; color: var(--amarillo); min-width: 1.15em; text-align: right; font-variant-numeric: tabular-nums; text-shadow: 0 .06em 0 var(--bosque); }
.cuenta__u { margin-right: 20px; }
.cuenta__faltan { margin-right: 14px; }
.cuenta__u:last-child { margin-right: 0; }

/* Entrada de la portada: el único momento orquestado de la página */
@media (prefers-reduced-motion: no-preference) {
  .portada__logo img { animation: pop 1.25s var(--curva) both; }
  .portada__arcoiris {
    -webkit-mask-image: linear-gradient(90deg, #000 33.3%, transparent 50%); mask-image: linear-gradient(90deg, #000 33.3%, transparent 50%);
    -webkit-mask-size: 300% 100%; mask-size: 300% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    animation: arco 2.6s var(--curva) .3s both;
  }
  .portada__nube--izq { animation: nube-izq 1.4s var(--curva) .2s both; }
  .portada__nube--der { animation: nube-der 1.4s var(--curva) .2s both; }
  .portada__fecha { animation: sube .9s var(--curva) .55s both; }
  .portada__accion { animation: sube .9s var(--curva) .75s both; }
  @keyframes pop { from { opacity: 0; transform: scale(.78) rotate(-4deg); } to { opacity: 1; transform: none; } }
  @keyframes arco { from { -webkit-mask-position: 100% 0; mask-position: 100% 0; } to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
  @keyframes nube-izq { from { opacity: 0; transform: translateX(-40%); } to { opacity: 1; transform: none; } }
  @keyframes nube-der { from { opacity: 0; transform: scaleX(-1) translateX(-40%); } to { opacity: 1; transform: scaleX(-1); } }
  @keyframes sube { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

/* Line-up: réplica del flyer (contrato). Sin sombras ni efectos sobre el texto. */
.lineup { position: relative; z-index: 2; padding: 10vh clamp(28px, 8vw, 150px) 16vh; text-align: center; }
.lineup__ayuda { font-weight: 700; font-style: italic; font-size: 1.0625rem; margin-bottom: 26px; text-shadow: 0 2px 0 rgb(6 59 33 / .3); }
.cartel { position: relative; width: min(1120px, 100%); margin: 0 auto; }
.cartel__svg { display: block; width: 100%; height: auto; overflow: visible; }
.cartel__svg text { transition: fill .45s var(--curva); }
.cartel[data-activo="santa-pirata"] [data-n="santa-pirata"], .cartel[data-activo="chet-faker"] [data-n="chet-faker"],
.cartel[data-activo="bandalos-chinos"] [data-n="bandalos-chinos"], .cartel[data-activo="cocorosie"] [data-n="cocorosie"],
.cartel[data-activo="kakkmaddafakka"] [data-n="kakkmaddafakka"], .cartel[data-activo="alanis-yuki"] [data-n="alanis-yuki"] { fill: #C99406; }
.cartel__toques { position: absolute; inset: 0; }
.toque {
  position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%);
  width: calc(var(--w) * 1%); height: calc(var(--h) * 1%);
  padding: 0; border: 0; border-radius: 10px; background: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.toque:focus-visible { outline: 3px solid var(--crema); outline-offset: 2px; }

.vistazo {
  position: fixed; left: 0; top: 0; z-index: 30;
  width: 230px; padding: 10px 10px 34px; border-radius: 6px;
  background: var(--crema); box-shadow: 0 14px 0 -4px rgb(6 59 33 / .35);
  pointer-events: none; opacity: 0; transition: opacity .25s var(--curva);
}
.vistazo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; }
.vistazo.is-visible { opacity: 1; }
@media (hover: none), (pointer: coarse) { .vistazo { display: none; } }

/* Escena del key visual con paralaje: resplandor atrás, ilustración al centro, arbustos y flores al frente */
.escena {
  position: relative; z-index: 3; pointer-events: none; margin-top: clamp(-120px, -6vw, -24px); line-height: 0; overflow-x: clip; --p: .5;
  /* debajo de la ilustración: el mismo pasto con textura que sigue en la siguiente sección */
  background: linear-gradient(var(--cielo) 55%, transparent 55%), url("../img/pasto-textura.webp") left bottom / 600px 600px repeat, var(--pasto);
}
.escena__brillo {
  position: absolute; z-index: 0; inset: 0 0 auto; height: 37%;
  background: url("../img/cielo-horizonte.webp") center top / 100% 100% no-repeat;
  transform: translate3d(0, calc((var(--p) - .5) * 40px), 0);
}
.escena__arte {
  position: relative; z-index: 1; display: block; width: 100%;
  -webkit-mask-image: linear-gradient(#000 96.5%, transparent); mask-image: linear-gradient(#000 96.5%, transparent);
  transform-origin: 50% 100%;
  transform: scale(calc(1.1 - var(--p) * .1));
  will-change: transform;
}
.escena__frente {
  position: absolute; z-index: 2; bottom: -4vw; width: 30vw; height: 12vw;
  transform: translate3d(0, calc((.5 - var(--p)) * 10vw), 0);
  pointer-events: none;
}
.escena__frente--izq { left: -1vw; }
.escena__frente--der { right: -1vw; }
.flor { position: absolute; bottom: 0; transform-origin: 50% 100%; filter: drop-shadow(0 .5vw 0 rgb(6 59 33 / .25)); }
.flor--a { left: 4%; width: 8vw; bottom: 8%; }
.flor--b { left: 30%; width: 6vw; bottom: 34%; }
.flor--c { left: 52%; width: 4.6vw; bottom: 4%; }
.flor--d { left: 74%; width: 5.4vw; bottom: 26%; }
@media (prefers-reduced-motion: no-preference) {
  .flor { animation: mece 3.4s ease-in-out infinite alternate; }
  .flor--b { animation-delay: -1.2s; }
  .flor--c { animation-delay: -2.1s; }
  .flor--d { animation-delay: -.6s; animation-duration: 2.8s; }
  @keyframes mece { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }
}

/* ---------- Pasto con textura del key visual ---------- */
.pasto {
  position: relative; color: var(--crema); --anillo: var(--crema);
  background:
    url("../img/pasto-textura.webp") 0 0 / 600px 600px repeat,
    linear-gradient(var(--pasto) 0, var(--pasto) 260px, #079a51 900px, var(--pasto-hondo) 100%);
}
.experiencia { padding: 28px 0 110px; }
.experiencia__intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.experiencia__lead { font-weight: 700; font-size: clamp(1.3125rem, 1.05rem + .9vw, 1.75rem); line-height: 1.38; max-width: 33ch; margin-bottom: 34px; text-wrap: pretty; text-shadow: 0 2px 0 rgb(6 59 33 / .25); }

.telefono { position: relative; width: min(360px, 76vw); margin: 0 auto; transform: rotate(2.2deg); }
.telefono--lineup { transform: rotate(-2deg); }
.telefono__video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border: 9px solid var(--crema); border-radius: 34px; background: var(--bosque); box-shadow: 0 12px 0 var(--bosque); }
.telefono__audio {
  position: absolute; top: 22px; right: 22px;
  min-height: 44px; padding: 8px 16px 9px 40px; border-radius: 999px;
  border: 2px solid var(--bosque); background: var(--crema) no-repeat 14px 50% / 18px;
  color: var(--bosque); font-weight: 800; font-size: .9375rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23063B21' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9h4l5-4v14l-5-4H4z'/%3E%3Cpath d='M17 9l4 6M21 9l-4 6'/%3E%3C/svg%3E");
}
.telefono__audio[aria-pressed="true"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23063B21' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9h4l5-4v14l-5-4H4z'/%3E%3Cpath d='M17 8.5a5 5 0 0 1 0 7M19.5 6a8.5 8.5 0 0 1 0 12'/%3E%3C/svg%3E"); }
.telefono__sticker { position: absolute; z-index: 2; width: 66%; left: -22%; bottom: -9%; transform: rotate(-3deg); pointer-events: none; filter: drop-shadow(0 6px 0 rgb(6 59 33 / .3)); }

/* Zonas: fotos de la parrilla con su texto */
.zonas { padding: 40px 0 120px; }
.zonas .envoltura { position: relative; }
.zonas__mono { position: absolute; right: 1%; top: -36px; width: clamp(70px, 7vw, 108px); filter: drop-shadow(0 6px 0 rgb(6 59 33 / .3)); }
.boletos .envoltura { position: relative; }
.boletos__mono { position: absolute; left: 4%; top: -40px; width: clamp(96px, 10vw, 150px); filter: drop-shadow(0 6px 0 rgb(6 59 33 / .3)); }
.llevar .envoltura, .preguntas .envoltura { position: relative; }
.llevar__mono { position: absolute; left: 0; top: -70px; width: clamp(130px, 13vw, 190px); }
.preguntas__mono { position: absolute; right: -60px; top: -54px; width: clamp(120px, 12vw, 170px); }
.zonas__lista { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.zona {
  position: relative; display: flex; flex-direction: column;
  background: var(--crema); color: var(--bosque);
  border-radius: 8px; padding: 10px 10px 18px;
  box-shadow: 0 12px 0 -3px rgb(6 59 33 / .45);
}
.zona:nth-child(odd) { transform: rotate(-1deg); }
.zona:nth-child(even) { transform: rotate(1.1deg); }
.zona img { display: block; width: 100%; aspect-ratio: 720 / 837; object-fit: cover; border-radius: 4px; }
.zona__texto { padding: 14px 6px 0; }
.zona h3 { font-family: var(--display); font-size: clamp(1.5rem, 1.1rem + .8vw, 2rem); line-height: 1.02; color: var(--naranja); text-shadow: 0 .05em 0 var(--bosque); margin-bottom: 8px; }
.zona p { font-weight: 600; font-size: 1.0625rem; line-height: 1.4; }

/* Line-up en video: el reel al centro con dos personajes del flyer */
.video-lineup { position: relative; padding: 30px 0 120px; }
.video-lineup__escena { position: relative; width: min(1000px, 100% - 40px); margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 20px; }
.video-lineup .telefono { width: min(390px, 76vw); }
.video-lineup__mono { width: min(250px, 100%); filter: drop-shadow(0 8px 0 rgb(6 59 33 / .28)); }
.video-lineup__mono--izq { justify-self: end; margin-bottom: 30px; }
.video-lineup__mono--der { justify-self: start; margin-bottom: 30px; }
.video-lineup__accion { display: flex; justify-content: center; margin-top: 62px; }

/* Personajes del flyer: aparecen al llegar a su sección y de vez en cuando se mueven */
.mono { transform-origin: 50% 100%; pointer-events: none; user-select: none; }
@media (prefers-reduced-motion: no-preference) {
  .mono { opacity: 0; translate: 0 26px; transition: opacity .6s var(--curva), translate .9s var(--curva); }
  .mono.is-visible { opacity: 1; translate: 0 0; }
  .mono.is-visible.mono--salta { animation: salta var(--d, 7s) var(--r, 0s) infinite; }
  .mono.is-visible.mono--mece { animation: mece var(--d, 7s) var(--r, 0s) infinite; }
  .mono.is-visible.mono--baila { animation: baila var(--d, 7s) var(--r, 0s) infinite; }
  .mono.is-visible.mono--hula { animation: hula var(--d, 7s) var(--r, 0s) infinite; }
  @keyframes salta {
    0%, 76% { transform: none; animation-timing-function: var(--curva); }
    80% { transform: scale(1.05, .93); animation-timing-function: var(--curva); }
    86% { transform: translateY(-13%) rotate(-4deg) scale(.97, 1.04); animation-timing-function: var(--curva); }
    92% { transform: scale(1.03, .97); animation-timing-function: var(--curva); }
    96%, 100% { transform: none; }
  }
  @keyframes mece {
    0%, 72% { transform: none; animation-timing-function: var(--curva); }
    78% { transform: rotate(-5deg); animation-timing-function: var(--curva); }
    85% { transform: rotate(4deg); animation-timing-function: var(--curva); }
    92% { transform: rotate(-2deg); animation-timing-function: var(--curva); }
    97%, 100% { transform: none; }
  }
  @keyframes baila {
    0%, 66% { transform: none; animation-timing-function: var(--curva); }
    71% { transform: translateY(-6%) rotate(-6deg); animation-timing-function: var(--curva); }
    76% { transform: rotate(5deg) scale(1.02, .98); animation-timing-function: var(--curva); }
    81% { transform: translateY(-6%) rotate(-5deg); animation-timing-function: var(--curva); }
    87% { transform: rotate(3deg); animation-timing-function: var(--curva); }
    93%, 100% { transform: none; }
  }
  @keyframes hula {
    0%, 64% { transform: none; animation-timing-function: var(--curva); }
    69% { transform: translateX(-4%) rotate(-4deg); animation-timing-function: var(--curva); }
    74% { transform: translateX(4%) rotate(4deg); animation-timing-function: var(--curva); }
    79% { transform: translateX(-4%) rotate(-4deg); animation-timing-function: var(--curva); }
    84% { transform: translateX(3%) rotate(3deg); animation-timing-function: var(--curva); }
    90%, 100% { transform: none; }
  }
}

.galeria { position: relative; padding: 90px 0 130px; overflow: clip; }
.galeria .titulo { margin-bottom: .25em; }
.galeria__marco { position: relative; }
.galeria__pista {
  display: flex; gap: 26px; align-items: flex-start;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 24px max(20px, calc((100vw - 1200px) / 2)) 36px; scroll-padding-inline: max(20px, calc((100vw - 1200px) / 2));
  scrollbar-width: none;
}
.galeria__pista::-webkit-scrollbar { display: none; }
.galeria__pista:focus-visible { outline-offset: -6px; }
.galeria__foto { flex: none; padding: 0; border: 0; background: none; cursor: zoom-in; scroll-snap-align: start; border-radius: 22px; transition: transform .45s var(--curva); }
.galeria__foto:hover { transform: translateY(-6px) rotate(-1deg); }
.galeria__foto img { display: block; width: clamp(250px, 29vw, 420px); aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; border: 6px solid var(--crema); box-shadow: 0 10px 0 rgb(6 59 33 / .55); }
.galeria__foto:nth-child(odd) { rotate: -1.4deg; }
.galeria__foto:nth-child(even) { rotate: 1.2deg; margin-top: 28px; }
.galeria__flecha {
  position: absolute; z-index: 2; top: 50%; translate: 0 -50%;
  display: grid; place-items: center; width: 68px; height: 68px; padding: 0; border-radius: 50%;
  border: 3px solid var(--bosque); background: var(--crema); color: var(--bosque); cursor: pointer;
  box-shadow: 0 6px 0 var(--bosque); transition: transform .35s var(--curva), box-shadow .35s var(--curva), opacity .3s var(--curva), visibility 0s;
}
.galeria__flecha svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.galeria__flecha:hover { transform: translateY(-3px); box-shadow: 0 9px 0 var(--bosque); }
.galeria__flecha:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--bosque); transition-duration: .08s; }
.galeria__flecha--ant { left: max(14px, calc((100vw - 1290px) / 2)); }
.galeria__flecha--sig { right: max(14px, calc((100vw - 1290px) / 2)); }
.galeria__flecha[disabled] { opacity: 0; visibility: hidden; transition: opacity .3s var(--curva), visibility 0s .3s; }
.galeria__tag { text-align: center; font-weight: 700; font-size: 1.1875rem; margin-top: 14px; padding: 0 20px; }
.galeria__tag strong { color: var(--amarillo); }
.galeria__tag a { font-weight: 800; }
.galeria__mono { position: absolute; z-index: 2; width: clamp(150px, 15vw, 230px); left: 3%; bottom: 26px; filter: drop-shadow(0 8px 0 rgb(6 59 33 / .28)); }

/* ---------- Boletos: mantel de cuadros ---------- */
.boletos {
  padding: 120px 0 130px;
  background-color: var(--crema);
  background-image:
    linear-gradient(90deg, rgb(229 86 51 / .55) 50%, transparent 0),
    linear-gradient(rgb(229 86 51 / .55) 50%, transparent 0);
  background-size: 72px 72px;
  --anillo: var(--bosque);
}
.boletos__lista { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: stretch; }
.boleto { display: flex; filter: drop-shadow(0 9px 0 var(--bosque)); }
.boleto:nth-child(1) { transform: rotate(-1.2deg); }
.boleto:nth-child(3) { transform: rotate(1.1deg); }
.boleto__papel {
  --corte: 108px;
  position: relative; flex: 1; display: flex; flex-direction: column;
  padding: 34px 30px 26px; border-radius: 24px;
  background: var(--crema); color: var(--bosque);
  -webkit-mask: radial-gradient(circle 16px at 0 calc(100% - var(--corte)), #0000 97%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 16px at 100% calc(100% - var(--corte)), #0000 97%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 16px at 0 calc(100% - var(--corte)), #0000 97%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 16px at 100% calc(100% - var(--corte)), #0000 97%, #000) right / 51% 100% no-repeat;
}
.boleto__papel::after { content: ""; position: absolute; left: 26px; right: 26px; bottom: var(--corte); border-top: 3px dashed rgb(6 59 33 / .32); }
.boleto--comfy .boleto__papel { background: var(--rosa); }
.boleto:nth-child(3) .boleto__papel { background: var(--amarillo); }
.boleto__nombre { font-family: var(--display); font-size: clamp(2.5rem, 2rem + 1.4vw, 3.25rem); line-height: 1; margin-bottom: 14px; }
.boleto__texto { font-weight: 600; font-size: 1.0625rem; line-height: 1.45; margin-bottom: auto; }
.boleto .boton { margin-top: 56px; }
.boleto .boton:hover { transform: translateY(-3px); }

.boletos__notas {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  max-width: 820px; margin: 64px auto 0;
  border-radius: 22px; border: 3px solid var(--bosque);
  background: var(--crema); color: var(--bosque);
  box-shadow: 0 9px 0 var(--bosque); overflow: hidden;
}
.pago { padding: 22px 26px; text-align: center; font-size: 1.0625rem; }
.pago + .pago { border-left: 3px dashed rgb(6 59 33 / .3); }
.pago--ancho:first-child { border-top: 0; }
.pago--ancho { grid-column: 1 / -1; border-left: 0 !important; border-top: 3px dashed rgb(6 59 33 / .3); display: grid; gap: 6px; }
.pago__grande { font-family: var(--display); font-size: 2.4rem; line-height: 1; color: var(--naranja); text-shadow: 0 .05em 0 var(--bosque); margin-bottom: 6px; }
.pago strong { font-weight: 800; }

/* ---------- Playlists ---------- */
.playlists { background: var(--cielo); color: var(--crema); padding: 110px 0 120px; --anillo: var(--crema);
  background-image: url("../img/cielo-1920.webp"); background-size: 100% 100%; }
.reproductor-caja { position: relative; max-width: 860px; margin: 84px auto 0; }
.reproductor-caja .reproductor { margin: 0; }
.playlists { position: relative; overflow: clip; }
.playlists > .envoltura { position: relative; z-index: 1; }
.playlists__cielo { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.playlists__cielo .vuela { opacity: .95; filter: drop-shadow(0 6px 0 rgb(6 59 33 / .12)); }
@media (prefers-reduced-motion: no-preference) {
  .playlists__cielo .vuela--nube { animation: flota var(--d) ease-in-out var(--r, 0s) infinite alternate; }
  @keyframes flota { from { translate: -7vw 0; } to { translate: 7vw 0; } }
}
.playlists__lead { text-align: center; font-weight: 700; font-size: 1.375rem; margin: -10px 0 48px; text-shadow: 0 2px 0 rgb(6 59 33 / .3); }
.playlists__lista { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; max-width: 1040px; margin: 0 auto; }
.playlist { display: grid; gap: 14px; width: 100%; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; text-align: center; font: 800 1.1875rem/1.2 var(--texto); transition: transform .45s var(--curva); }
.playlist img { width: 100%; border-radius: 16px; box-shadow: 0 10px 0 rgb(6 59 33 / .45); outline: 0 solid var(--amarillo); outline-offset: 5px; transition: outline-width .25s var(--curva); }
.playlist[aria-pressed="true"] img { outline-width: 5px; }
.playlist span { text-shadow: 0 2px 0 rgb(6 59 33 / .35); }
.playlist[aria-pressed="true"] span { justify-self: center; padding: 3px 14px 5px; border-radius: 999px; background: var(--bosque); color: var(--crema); text-shadow: none; }
.playlist:nth-child(n) { transform: rotate(var(--g, 0deg)); }
.playlists__lista li:nth-child(1) .playlist { --g: -2deg; }
.playlists__lista li:nth-child(2) .playlist { --g: 1.5deg; }
.playlists__lista li:nth-child(3) .playlist { --g: -1deg; }
.playlists__lista li:nth-child(4) .playlist { --g: 2deg; }
.playlist:hover { transform: rotate(0) translateY(-6px); }
.reproductor { max-width: 860px; margin: 84px auto 0; border-radius: 16px; background: #1F1F1F; box-shadow: 0 10px 0 rgb(6 59 33 / .45); overflow: hidden; line-height: 0; scroll-margin-top: calc(var(--barra) + 30px); }
.reproductor__frame { display: block; width: 100%; height: 452px; border: 0; }

/* ---------- Cómo llegar, qué llevar, preguntas (papel con textura) ---------- */
.papel { background: var(--crema) url("../img/mapa-textura.webp") 0 0 / 640px 640px repeat; }
.llegar, .llevar, .preguntas { color: var(--bosque); --anillo: var(--bosque); }
.llegar .titulo, .llevar .titulo, .preguntas .titulo { color: var(--naranja); text-shadow: 0 .05em 0 var(--bosque); }
.llegar { position: relative; padding: 120px 0 80px; }
.llegar::before, .llegar::after { /* sellos de la ilustración en el fondo */
  content: ""; position: absolute; pointer-events: none; opacity: .9;
  background: url("../img/el-estrella-1.webp") center / contain no-repeat;
  width: 54px; height: 54px; top: 70px; right: 8%;
}
.llegar::after { background-image: url("../img/el-mariposa-2.webp"); width: 70px; height: 60px; top: auto; bottom: 60px; right: auto; left: 6%; transform: rotate(-12deg); }
.llegar__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.llegar__donde { position: relative; }
.llegar__lugar { font-weight: 800; font-style: italic; font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); line-height: 1.1; }
.llegar__dir { font-weight: 600; font-size: 1.1875rem; margin: 6px 0 26px; max-width: 26ch; }
.horario { display: flex; gap: 0; margin: 34px 0 0; }
.horario > div { padding-right: 34px; }
.horario > div + div { padding: 0 0 0 34px; border-left: 3px dashed rgb(6 59 33 / .32); }
.horario dt { font-weight: 700; font-size: 1rem; }
.horario dd { margin: 0; font-family: var(--display); font-size: 2.75rem; line-height: 1.05; color: var(--naranja); text-shadow: 0 .05em 0 var(--bosque); white-space: nowrap; }
.llegar__mono { display: block; width: min(320px, 100%); margin-top: 40px; filter: drop-shadow(0 6px 0 rgb(6 59 33 / .25)); }
.mapa { position: relative; margin-top: 64px; }
.mapa__lienzo { position: relative; height: clamp(380px, 34vw, 500px); border-radius: 24px; border: 3px solid var(--bosque); background: #EEF6C8; box-shadow: 0 9px 0 var(--bosque); overflow: hidden; }
.mapa.is-sin-mapa .mapa__lienzo { display: none; }
.mapa__pin { width: 116px; display: grid; justify-items: center; cursor: default; }
.mapa__pin img { width: 100%; filter: drop-shadow(0 4px 0 rgb(6 59 33 / .35)); }
.mapa__pin span { width: 18px; height: 18px; margin-top: -4px; border-radius: 50%; background: var(--naranja); border: 3px solid var(--bosque); box-shadow: 0 0 0 6px rgb(252 118 8 / .25); }
.mapa .maplibregl-ctrl-group { border-radius: 14px; border: 2.5px solid var(--bosque); box-shadow: 0 4px 0 var(--bosque); overflow: hidden; }
.mapa .maplibregl-ctrl-group button { width: 36px; height: 36px; background-color: var(--crema); }
.mapa .maplibregl-ctrl-attrib { font: 500 .75rem/1.3 var(--texto); }
.mapa .maplibregl-cooperative-gesture-screen { font: 700 1.125rem/1.3 var(--texto); background: rgb(6 59 33 / .72); }
.llegar__rutas { position: relative; z-index: 1; background: #FBFFEA; border: 3px solid var(--bosque); border-radius: 24px; padding: 18px 30px 6px; box-shadow: 0 9px 0 var(--bosque); }
.ruta { padding: 22px 0 24px; border-top: 3px dashed rgb(6 59 33 / .24); }
.ruta:first-child { border-top: 0; }
.ruta__titulo { font-weight: 800; font-style: italic; font-size: 1.75rem; line-height: 1.1; margin-bottom: 10px; }
.ruta p { max-width: 62ch; }
.ruta p + p, .ruta .fichas + p { margin-top: 14px; }
.fichas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.fichas li { padding: 5px 11px 6px; border-radius: 8px; background: var(--bosque); color: var(--crema); font-weight: 700; font-size: 1rem; line-height: 1.1; }

.llevar { padding: 40px 0 90px; }
.llevar__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.lista { padding: 30px 32px 32px; border-radius: 24px; border: 3px solid var(--bosque); box-shadow: 0 9px 0 var(--bosque); }
.lista--si { background: #D2F1BE; }
.lista--no { background: #FAD9C6; }
.lista__titulo { font-family: var(--display); font-size: 2.25rem; line-height: 1; margin-bottom: 16px; }
.lista li { position: relative; padding-left: 38px; margin: 12px 0; font-weight: 600; font-size: 1.125rem; line-height: 1.38; }
.lista li::before {
  content: ""; position: absolute; left: 0; top: .1em; width: 25px; height: 25px; border-radius: 50%;
  background: var(--pasto) no-repeat center / 15px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23F4FFCF' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5'/%3E%3C/svg%3E");
}
.lista--no li::before {
  background-color: var(--rojo);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23F4FFCF' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M4 4l8 8M12 4l-8 8'/%3E%3C/svg%3E");
}

.preguntas { padding: 50px 0 140px; }
.acordeon { display: grid; gap: 16px; }
.acordeon details { background: #FBFFEA; border: 3px solid var(--bosque); border-radius: 20px; box-shadow: 0 6px 0 var(--bosque); }
.acordeon summary { position: relative; list-style: none; cursor: pointer; padding: 20px 70px 20px 26px; border-radius: 17px; font-weight: 700; font-size: clamp(1.1875rem, 1.05rem + .4vw, 1.375rem); line-height: 1.3; -webkit-tap-highlight-color: transparent; }
.acordeon summary::-webkit-details-marker { display: none; }
.acordeon summary::after {
  content: ""; position: absolute; right: 18px; top: 50%; margin-top: -18px; width: 36px; height: 36px; border-radius: 50%;
  border: 2.5px solid var(--bosque); background: var(--naranja) no-repeat center / 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23063B21' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M8 2.5v11M2.5 8h11'/%3E%3C/svg%3E");
  transition: transform .5s var(--curva);
}
.acordeon details[open] summary::after { transform: rotate(135deg); }
.acordeon summary:hover { color: var(--pasto-hondo); }
.acordeon details > div { padding: 0 70px 24px 26px; }
.acordeon details p { max-width: 62ch; font-size: 1.1875rem; }
.acordeon details p + p { margin-top: 8px; }
.acordeon details::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--curva), content-visibility .5s allow-discrete; }
.acordeon details[open]::details-content { block-size: auto; }

/* ---------- Suscripción ---------- */
.suscribete {
  position: relative; color: var(--crema); --anillo: var(--crema); padding: 110px 0 130px;
  background: url("../img/pasto-textura.webp") 0 0 / 600px 600px repeat, var(--pasto);
}
.suscribete__caja { max-width: 900px; }
.suscribete__lead { text-align: center; font-weight: 700; font-size: 1.375rem; line-height: 1.4; max-width: 40ch; margin: -6px auto 46px; text-shadow: 0 2px 0 rgb(6 59 33 / .3); }
.forma {
  position: relative; padding: 30px 34px 22px; border-radius: 26px; border: 3px solid var(--bosque);
  background: var(--crema); color: var(--bosque); box-shadow: 0 10px 0 var(--bosque);
  --anillo: var(--bosque);
}
.suscribete__caja { position: relative; }
.suscribete__mono { position: absolute; z-index: 2; width: 230px; left: -262px; bottom: -40px; filter: drop-shadow(0 6px 0 rgb(6 59 33 / .3)); }
@media (max-width: 1420px) {
  .suscribete__mono { position: static; display: block; width: min(230px, 56vw); margin: 44px auto -30px; }
}
.forma__campos { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 16px; }
.forma__campo { display: grid; gap: 6px; }
.forma label { font-weight: 700; font-size: .9375rem; line-height: 1.2; }
.forma label span { font-weight: 600; opacity: .65; }
.forma input[type="text"], .forma input[type="email"], .forma input[type="tel"] {
  width: 100%; height: 50px; padding: 0 18px; border-radius: 999px;
  border: 2.5px solid var(--bosque); background: #FFFFF4; color: var(--bosque);
  font: 600 1.0625rem var(--texto); transition: box-shadow .3s var(--curva);
}
.forma input::placeholder { color: rgb(6 59 33 / .42); }
.forma input:focus-visible { outline: none; box-shadow: 0 0 0 4px rgb(252 118 8 / .45); }
.forma input[aria-invalid="true"] { border-color: #C2401F; background: #FFF1EA; }
.forma__pie { display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; margin-top: 22px; padding-top: 20px; border-top: 3px dashed rgb(6 59 33 / .22); }
.forma__checks { display: grid; gap: 8px; }
.forma__check { display: flex; align-items: center; gap: 10px; font-weight: 600 !important; font-size: .9375rem !important; cursor: pointer; }
.forma__check input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--pasto-hondo); }
.forma__check input[aria-invalid="true"] { outline: 2.5px solid #C2401F; outline-offset: 1px; border-radius: 4px; }
.forma__enviar { flex: none; }
.forma__estado { font-weight: 700; font-size: .9375rem; min-height: 1.4em; margin-top: 12px; }
.forma__estado:empty { margin-top: 0; min-height: 0; }
.forma__estado.is-ok { color: var(--pasto-hondo); }
.forma__estado.is-error { color: #B3341A; }

/* ---------- Pie ---------- */
.pie { position: relative; background: var(--cielo) url("../img/cielo-1920.webp") center top / 100% calc(100% - 140px) no-repeat; color: var(--crema); --anillo: var(--crema); overflow: clip; }
.pie__cielo { position: absolute; inset: 0 0 auto; height: calc(100% - 200px); pointer-events: none; }
.vuela { position: absolute; left: var(--x); top: var(--y); width: var(--w); max-width: none; }
.pie__cierre { position: relative; z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
  .vuela--nube { animation: deriva var(--d) ease-in-out infinite alternate; }
  .vuela--mariposa { animation: revolotea var(--d) ease-in-out infinite alternate, aleteo .32s ease-in-out infinite alternate; }
  .vuela--estrella { animation: brilla var(--d) ease-in-out infinite alternate; }
  @keyframes deriva { to { translate: 6vw 0; } }
  @keyframes revolotea { 0% { translate: 0 0; rotate: -8deg; } 50% { translate: 3vw -2vw; rotate: 6deg; } 100% { translate: -2vw 1.5vw; rotate: -4deg; } }
  @keyframes aleteo { from { scale: 1 1; } to { scale: .35 1; } }
  @keyframes brilla { from { scale: .75; rotate: -12deg; opacity: .7; } to { scale: 1.1; rotate: 14deg; opacity: 1; } }
}
.pie__cierre { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 110px 0 44px; text-align: center; }
.pie__logo { width: min(400px, 70vw); filter: drop-shadow(0 8px 0 rgb(6 59 33 / .16)); }
.pie__fecha { width: min(340px, 70vw); filter: drop-shadow(0 2px 0 rgb(6 59 33 / .3)); margin-bottom: 6px; }
.redes { display: flex; gap: 14px; margin-top: 8px; }
.redes a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--crema); color: var(--bosque); box-shadow: 0 4px 0 var(--bosque); transition: transform .35s var(--curva); }
.redes a:hover { transform: translateY(-3px) rotate(-6deg); }
.redes svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.redes svg .lleno { fill: currentColor; stroke: none; }
.pie__evita { width: min(190px, 46vw); margin-top: 18px; filter: drop-shadow(0 2px 0 rgb(6 59 33 / .45)); }
.pie__legal { position: relative; z-index: 1; background: var(--crema); color: var(--bosque); --anillo: var(--bosque); padding: 22px 20px 24px; }
.cintillo { position: relative; width: min(1100px, 100%); margin: 0 auto; line-height: 0; }
.cintillo img { width: 100%; }
.cintillo__liga { position: absolute; top: 0; bottom: 0; left: calc(var(--x) * 1%); width: calc(var(--w) * 1%); border-radius: 8px; }
.cintillo__liga:hover { background: rgb(6 59 33 / .06); }
.pie__bajo { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding: 30px max(20px, calc((100% - 1100px) / 2)) calc(40px + env(safe-area-inset-bottom)); background: var(--bosque); color: var(--crema); font-size: .9375rem; font-weight: 600; --anillo: var(--crema); }
.credito { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; color: inherit; }
.credito img { height: 15px; width: auto; transition: transform .35s var(--curva); position: relative; top: 1px; }
.credito:hover img { transform: translateY(-2px); }

/* ---------- CTA fijo en móvil ---------- */
.flotante {
  position: fixed; z-index: 45; right: max(22px, env(safe-area-inset-right)); bottom: calc(22px + env(safe-area-inset-bottom));
  display: flex; align-items: center; height: 66px; padding: 0 6px 0 6px; border-radius: 999px;
  border: 3px solid var(--bosque); background: var(--naranja); color: var(--bosque);
  font: 800 1.1875rem/1 var(--texto); text-decoration: none; white-space: nowrap;
  box-shadow: 0 6px 0 var(--bosque), 0 10px 26px rgb(6 59 33 / .28);
  translate: 0 calc(100% + 60px); opacity: 0;
  transition: translate .6s var(--curva), opacity .4s var(--curva), box-shadow .35s var(--curva);
  -webkit-tap-highlight-color: transparent;
}
.flotante.is-visible { translate: 0 0; opacity: 1; }
.flotante__icono { display: grid; place-items: center; width: 54px; height: 54px; flex: none; border-radius: 50%; }
.flotante__icono svg { width: 32px; height: 32px; fill: var(--crema); stroke: var(--bosque); stroke-width: 1.9; stroke-linejoin: round; rotate: -12deg; }
.flotante__icono .corte { fill: none; stroke-dasharray: 1.6 1.8; }
.flotante__texto { display: block; max-width: 0; overflow: hidden; opacity: 0; transition: max-width .55s var(--curva), opacity .35s var(--curva), padding .55s var(--curva); }
.flotante:hover .flotante__texto, .flotante:focus-visible .flotante__texto, .flotante.is-abierto .flotante__texto { max-width: 200px; opacity: 1; padding: 0 16px 0 2px; }
.flotante:hover { box-shadow: 0 9px 0 var(--bosque), 0 14px 30px rgb(6 59 33 / .3); }
.flotante:active { box-shadow: 0 2px 0 var(--bosque); }
.flotante::before { /* aro que late de vez en cuando, como los botones de chat */
  content: ""; position: absolute; inset: -3px; border-radius: inherit; border: 3px solid var(--naranja); opacity: 0; pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .flotante.is-visible::before { animation: late 4.8s var(--curva) 1.5s infinite; }
  .flotante.is-visible .flotante__icono svg { animation: tiembla 4.8s var(--curva) 1.5s infinite; }
  @keyframes late { 0%, 60% { opacity: 0; scale: 1; } 62% { opacity: .9; scale: 1; } 85%, 100% { opacity: 0; scale: 1.35 1.6; } }
  @keyframes tiembla { 0%, 58% { rotate: -12deg; } 62% { rotate: 6deg; } 66% { rotate: -20deg; } 70% { rotate: 0deg; } 74%, 100% { rotate: -12deg; } }
}

/* ---------- Hoja de artista ---------- */
.hoja {
  width: min(980px, 100% - 32px); max-height: calc(100svh - 32px);
  padding: 0; border: 0; border-radius: 28px; overflow: auto;
  background: var(--crema); color: var(--bosque);
  box-shadow: 0 14px 0 var(--bosque); --anillo: var(--bosque);
}
.hoja[open] { display: grid; grid-template-columns: minmax(0, 400px) 1fr; }
.hoja[data-formato="ancho"][open] { grid-template-columns: 1fr; width: min(820px, 100% - 32px); }
.hoja::backdrop { background: rgb(4 34 19 / .74); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.hoja__medio { background: var(--bosque); line-height: 0; }
.hoja__medio video { display: block; width: 100%; max-height: calc(100svh - 32px); object-fit: cover; aspect-ratio: 9 / 16; }
.hoja[data-formato="ancho"] .hoja__medio video { aspect-ratio: 16 / 9; max-height: 60svh; object-fit: contain; }
.hoja__info { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 12px; padding: 48px 40px 40px; }
.hoja[data-formato="ancho"] .hoja__info { padding: 28px 36px 34px; }
.hoja__pre { font-weight: 800; font-style: italic; font-size: 1.375rem; line-height: 1.1; }
.hoja__pre:empty { display: none; }
.hoja__nombre { font-family: var(--display); font-size: clamp(2.6rem, 2rem + 2.6vw, 4.5rem); line-height: 1; color: var(--naranja); text-shadow: 0 .05em 0 var(--bosque); }
.hoja__bio { font-weight: 600; font-size: 1.125rem; line-height: 1.45; max-width: 46ch; margin-bottom: 10px; }
.hoja__cerrar { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--bosque); color: var(--crema); font-size: 2rem; line-height: 1; cursor: pointer; z-index: 2; }
@media (prefers-reduced-motion: no-preference) {
  .hoja[open] { animation: hoja .55s var(--curva); }
  .hoja[open]::backdrop { animation: velo .4s ease-out; }
  @keyframes hoja { from { opacity: 0; transform: translateY(28px) scale(.97); } }
  @keyframes velo { from { opacity: 0; } }
}

/* ---------- Visor de fotos ---------- */
.visor { padding: 0; border: 0; background: none; max-width: none; max-height: none; width: 100%; height: 100%; overflow: hidden; }
.visor[open] { display: grid; place-items: center; }
.visor::backdrop { background: rgb(4 34 19 / .86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.visor__img { max-width: min(92vw, 860px); max-height: 86svh; width: auto; border-radius: 22px; border: 8px solid var(--crema); box-shadow: 0 12px 0 var(--bosque); }
.visor__btn { position: absolute; top: 50%; translate: 0 -50%; width: 56px; height: 56px; border-radius: 50%; border: 3px solid var(--bosque); background: var(--crema); color: var(--bosque); font: 800 2rem/1 var(--texto); cursor: pointer; box-shadow: 0 5px 0 var(--bosque); }
.visor__btn--ant { left: max(14px, 3vw); }
.visor__btn--sig { right: max(14px, 3vw); }
.visor .hoja__cerrar { position: fixed; }
@media (prefers-reduced-motion: no-preference) {
  .visor[open] .visor__img { animation: hoja .45s var(--curva); }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1180px) {
  .barra__nav { gap: 18px; }
  .barra__nav a[href="#zonas"] { display: none; }
}
@media (max-width: 1040px) {
  .barra__nav a[href="#experiencia"] { display: none; }
  .zonas__lista { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-inline: auto; }
  .boletos__lista { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; gap: 40px; }
  .llegar__grid { grid-template-columns: 1fr; gap: 30px; }
  .llegar__mono { position: absolute; right: 0; top: 40px; width: 230px; margin: 0; }
  .playlists__lista { grid-template-columns: repeat(2, 1fr); max-width: 560px; }
}

/* Encabezado: menú centrado en escritorio; abajo de 1180px pasa a botón de menú */
@media (max-width: 1179px) {
  .barra__cuenta { margin-left: auto; }
  .barra { gap: 12px; }
  .barra__menu {
    display: grid; place-items: center; flex: none; width: 46px; height: 46px; margin-left: 4px;
    border: 2px solid var(--crema); border-radius: 14px; background: rgb(6 59 33 / .18); cursor: pointer;
  }
  .barra__menu-icono { display: grid; gap: 4px; }
  .barra__menu-icono i { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: var(--crema); transition: transform .35s var(--curva), opacity .2s; }
  .barra__menu[aria-expanded="true"] .barra__menu-icono i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .barra__menu[aria-expanded="true"] .barra__menu-icono i:nth-child(2) { opacity: 0; }
  .barra__menu[aria-expanded="true"] .barra__menu-icono i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .barra__nav {
    position: fixed; left: auto; right: 10px; width: min(440px, calc(100vw - 20px)); top: calc(var(--barra) + 6px); bottom: auto; translate: none;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    padding: 10px 18px 20px; border-radius: 22px; border: 3px solid var(--bosque);
    background: var(--crema); color: var(--bosque); box-shadow: 0 9px 0 var(--bosque);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .3s var(--curva), transform .4s var(--curva), visibility 0s .3s;
    --anillo: var(--bosque);
  }
  .barra__nav.is-abierto { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .barra__nav a:not(.boton) { display: block !important; font-size: 1.375rem; font-weight: 800; padding: 12px 4px; border-bottom: 2px dashed rgb(6 59 33 / .2); background: none; }
  .barra__nav-cta { display: flex; margin-top: 16px; }
}

@media (max-width: 860px) {
  :root { --barra: 70px; }
  body { font-size: 1.125rem; }
  .barra__logo img { width: 78px; }
  .barra__boletos { display: none; }
  .barra:not(.is-solida) .barra__cuenta + .boton + .barra__menu { margin-left: auto; }
  .barra__cuenta { margin-left: auto; font-size: .875rem; }
  .barra__cuenta b { font-size: 1.45rem; margin-left: 4px; }
  .cuenta { font-size: 1rem; gap: 4px; }
  .cuenta__num { font-size: 2.6rem; }
  .cuenta__u { margin-right: 12px; }

  .lineup { padding: 6vh 18px 12vh; }
  .lineup__ayuda { margin-bottom: 16px; }
  .portada__marca { width: min(80vw, 54svh * 1.68); margin-top: 6vh; }
  .portada__nube { width: 40%; bottom: 18%; }
  .portada__nube--izq { left: -24%; }
  .portada__nube--der { right: -24%; }
  .portada__fecha { width: min(320px, 76vw); }
  .escena { margin-top: -10px; }
  .escena__arte { width: 172vw; max-width: none; margin-left: -36vw; }
  .escena__frente { width: 40vw; height: 22vw; bottom: -8vw; }
  .flor--a { left: 0; width: 13vw; } .flor--b { left: 28%; width: 9vw; } .flor--c { left: 50%; width: 7vw; } .flor--d { left: 64%; width: 8vw; }
  .experiencia__intro { grid-template-columns: 1fr; gap: 56px; }
  .video-lineup { padding-bottom: 100px; }
  .video-lineup__escena { grid-template-columns: 1fr; width: 100%; }
  .video-lineup .telefono { width: 62vw; }
  .video-lineup__mono { position: absolute; z-index: 2; bottom: -14px; width: 23vw; margin: 0; }
  .video-lineup__mono--izq { left: 0; }
  .video-lineup__mono--der { right: 0; width: 19vw; }
  .video-lineup__accion { margin-top: 48px; padding: 0 20px; }
  .boton--grande { min-height: 68px; }
  .telefono { width: min(320px, 74vw); }
  .telefono__sticker { width: 58%; left: -10%; bottom: -8%; }
  .zonas__lista { gap: 22px 14px; }
  .zona { padding: 7px 7px 14px; }
  .zona h3 { font-size: 1.375rem; }
  .zona p { font-size: .9375rem; }
  .galeria { padding: 70px 0 150px; }
  .galeria__pista { gap: 16px; }
  .galeria__foto img { width: 70vw; border-radius: 18px; border-width: 5px; }
  .galeria__foto { scroll-snap-align: center; }
  .galeria__flecha { width: 54px; height: 54px; top: auto; bottom: -46px; translate: none; }
  .galeria__flecha svg { width: 24px; height: 24px; }
  .galeria__flecha--ant { left: calc(50% - 64px); }
  .galeria__flecha--sig { right: calc(50% - 64px); }
  .galeria__tag { margin-top: 74px; }
  .galeria__foto:nth-child(even) { margin-top: 22px; }
  .galeria__mono { width: 130px; bottom: 18px; }
  .zonas__mono { top: -92px; right: 4%; width: 52px; }
  .boletos__mono { top: -74px; left: -4px; width: 70px; }
  .reproductor-caja { margin-top: 56px; }
  .reproductor__frame { height: 380px; }
  .llevar__mono { width: 100px; top: -96px; left: -4px; }
  .preguntas__mono { width: 100px; right: -10px; top: -78px; }
  .mapa { margin-top: 44px; }
  .mapa__lienzo { height: 340px; }
  .llegar__mono { position: static; width: 200px; margin-top: 28px; }
  .boletos { padding: 90px 0 100px; background-size: 56px 56px; }
  .boleto__papel { padding-inline: 24px; }
  .boletos__notas { grid-template-columns: 1fr; margin-top: 50px; }
  .pago + .pago { border-left: 0; border-top: 3px dashed rgb(6 59 33 / .3); }
  .playlists { padding: 90px 0 100px; }
  .playlists__lista { gap: 22px 16px; }
  .llegar { padding-top: 90px; }
  .llegar__rutas { padding: 10px 20px 4px; }
  .horario > div { padding-right: 24px; }
  .horario > div + div { padding-left: 24px; }
  .horario dd { font-size: 2.25rem; }
  .llevar__cols { grid-template-columns: 1fr; gap: 20px; }
  .lista { padding: 24px 22px 26px; }
  .acordeon summary { padding: 18px 60px 18px 18px; }
  .acordeon summary::after { right: 12px; }
  .acordeon details > div { padding: 0 18px 20px 18px; }
  .pie__cierre { padding: 90px 0 40px; }
  .pie__bajo { justify-content: center; text-align: center; }
  .suscribete { padding: 90px 0 100px; }
  .suscribete__lead { font-size: 1.1875rem; margin-bottom: 36px; }
  .forma { padding: 24px 20px 20px; }
  .forma__campos { grid-template-columns: 1fr; gap: 14px; }
  .forma__pie { flex-direction: column; align-items: stretch; }
  .forma__enviar { width: 100%; }
  .visor__btn { top: auto; bottom: 22px; translate: none; }

  .flotante { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); height: 62px; }
  .flotante__icono { width: 50px; height: 50px; }
  .cuenta { flex-wrap: wrap; justify-content: center; }
  .cuenta__faltan { flex-basis: 100%; text-align: center; margin: 0 0 2px; }

  .hoja { width: calc(100% - 20px); max-height: calc(100svh - 20px); border-radius: 22px; }
  .hoja[open] { grid-template-columns: 1fr; }
  .hoja__medio video { max-height: 58svh; }
  .hoja__info { padding: 22px 22px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .boton:hover, .playlist:hover, .redes a:hover { transform: none; }
  .mono { opacity: 1; translate: none; }
  .escena__arte, .escena__frente, .escena__brillo { transform: none !important; }
}
