@font-face { font-family: "Big Shoulders"; src: url("fuentes/display.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fuentes/barlow-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fuentes/barlow-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --noche: #0a0806;
  --panel: #17130d;
  --oro: #f2b90f;
  --oro-claro: #ffd65a;
  --tinta: #120c02;
  --plata: #d8d8dc;
  --plata-suave: #a9a7a3;
  --curva: 14px;
  --muesca: 26px;
  --salida: cubic-bezier(.23, 1, .32, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--noche); color: var(--plata);
  font: 400 18px/1.5 Barlow, system-ui, sans-serif;
  -webkit-tap-highlight-color: transparent; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
h1 { margin: 0; }
h2, h3, .frase, .lista-grande, .pie__nombre {
  font-family: "Big Shoulders", Barlow, sans-serif; font-weight: 800; line-height: 1.06;
  text-transform: uppercase; margin: 0; text-wrap: balance;
}
h2 { font-size: clamp(44px, 12.5vw, 84px); color: var(--oro); margin-bottom: 24px; }
h3 { font-size: 30px; color: var(--oro); margin-bottom: 12px; }
a { color: inherit; }
::selection { background: var(--oro); color: var(--tinta); }
:focus-visible { outline: 3px solid var(--oro-claro); outline-offset: 3px; }

/* El boleto: un cuerpo y un talón separados por una línea perforada con dos muescas. */
.boleto { position: relative; border-radius: var(--curva); }
.boleto__foto { border-radius: var(--curva) var(--curva) 0 0; overflow: hidden; }
.boleto__talon {
  position: relative; color: var(--tinta); padding: 24px 20px; background: var(--oro);
  border-top: 3px dashed var(--tinta); border-radius: 0 0 var(--curva) var(--curva);
}
.boleto__talon::before, .boleto__talon::after {
  content: ""; position: absolute; top: calc(var(--muesca) / -2 - 2px); width: var(--muesca); height: var(--muesca);
  border-radius: 50%; background: var(--noche); z-index: 1;
}
.boleto__talon::before { left: calc(var(--muesca) / -2); }
.boleto__talon::after { right: calc(var(--muesca) / -2); }
.boleto__talon--noche { background: var(--panel); color: #fff; border-top-color: var(--oro); }

/* Portada */
.portada { min-height: 100svh; display: flex; flex-direction: column; padding: 12px 16px 24px; max-width: 1120px; margin: 0 auto; }
.portada__logo { margin: 0 -8px 8px; flex: none; }
.portada__logo img { width: 100%; }
.boleto--portada { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.boleto--portada .boleto__foto { flex: 1 1 26svh; min-height: 26svh; position: relative; }
.boleto--portada .boleto__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.frase { font-size: clamp(32px, 9.8vw, 56px); margin-bottom: 16px; }

/* Botones */
.boton {
  display: flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; width: 100%;
  min-height: 58px; padding: 10px 20px; border: 0; border-radius: 10px; cursor: pointer;
  font: 600 19px/1.15 Barlow, sans-serif; touch-action: manipulation;
  transition: scale 140ms var(--salida), background-color 160ms ease-out;
}
.boton:active { scale: .97; }
.boton--negro { background: var(--tinta); color: var(--oro-claro); }
.boton--oro { background: var(--oro); color: var(--tinta); }
@media (hover: hover) and (pointer: fine) {
  .boton--negro:hover { background: #000; }
  .boton--oro:hover { background: var(--oro-claro); }
}
.enlace { display: inline-flex; align-items: center; min-height: 48px; color: var(--oro-claro); font-weight: 600; text-underline-offset: 4px; }

/* Secciones */
.seccion { max-width: 1120px; margin: 0 auto; padding: 64px 16px 0; }

/* Videos */
.videos { display: grid; gap: 20px; }
.video { background: var(--panel); border-radius: var(--curva); }
.video__pantalla { position: relative; aspect-ratio: 16 / 9; border-radius: var(--curva) var(--curva) 0 0; overflow: hidden; background: #000; }
.video__pantalla img, .video__pantalla iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video__play { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; background: none; cursor: pointer; display: block; }
.video__icono {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 72px; height: 72px; border-radius: 50%;
  background: var(--oro); color: var(--tinta); display: grid; place-items: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .55); transition: scale 160ms var(--salida);
}
.video__play:active .video__icono { scale: .92; }
.video__play:focus-visible { outline-offset: -6px; }
@media (hover: hover) and (pointer: fine) { .video__play:hover .video__icono { scale: 1.06; } .video__play:active .video__icono { scale: .92; } }
.video__pie { border-top: 3px dashed var(--oro); position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; }
.video__pie::before, .video__pie::after {
  content: ""; position: absolute; top: calc(var(--muesca) / -2 - 2px); width: var(--muesca); height: var(--muesca);
  border-radius: 50%; background: var(--noche);
}
.video__pie::before { left: calc(var(--muesca) / -2); }
.video__pie::after { right: calc(var(--muesca) / -2); }
.video__titulo { display: block; font: 800 28px/1 "Big Shoulders", sans-serif; text-transform: uppercase; color: var(--plata); }
.video__nota { display: block; color: var(--plata-suave); font-size: 16px; margin-top: 2px; }
.video__enlace { flex: none; color: var(--oro-claro); font-size: 16px; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 4px; }
.seccion > .enlace { margin-top: 8px; }

/* Fechas y datos: el mismo talón con numerales de cartel */
.fechas { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.fecha { position: relative; display: grid; grid-template-columns: 104px 1fr; background: var(--panel); border-radius: var(--curva); }
.fecha__dia { background: var(--oro); color: var(--tinta); border-radius: var(--curva) 0 0 var(--curva); padding: 12px 6px; text-align: center; font-family: "Big Shoulders", sans-serif; font-weight: 800; line-height: .98; text-transform: uppercase; border-right: 3px dashed var(--tinta); display: flex; flex-direction: column; justify-content: center; }
.fecha__dia b { display: block; font-size: 46px; font-weight: 800; }
.fecha__dia span { font-size: 19px; }
.fecha__datos { padding: 14px 16px; align-self: center; min-width: 0; }
.fecha__evento { display: block; font-weight: 600; color: #fff; line-height: 1.25; }
.fecha__lugar { display: block; color: var(--plata-suave); line-height: 1.35; margin-top: 2px; }
.sin-fechas p { margin: 0 0 14px; font-size: 19px; line-height: 1.3; color: #fff; }

/* Boleto de los eventos */
.lista-grande { color: var(--tinta); font-size: clamp(60px, 18vw, 120px); line-height: 1.04; margin: 0 0 16px; }
.lista-grande span { display: block; }
.zonas { margin: 0; font-size: 20px; line-height: 1.35; max-width: 42ch; }
.boleto__foto--ancha img { width: 100%; }

/* Con quién hemos alternado */
.alternados { list-style: none; margin: -8px 0 20px; padding: 0; font: 800 clamp(28px, 8vw, 44px)/1.08 "Big Shoulders", sans-serif; text-transform: uppercase; color: #fff; }
.alternados li + li { margin-top: 6px; }

/* Fotos */
.foto-ancha, .foto-vertical { margin: 0; }
.foto-ancha img, .foto-vertical img { width: 100%; border-radius: var(--curva); }
.repertorio { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; margin-top: 16px; align-items: start; }
.canciones { list-style: none; margin: 0; padding: 0; font: 800 26px/1.04 "Big Shoulders", sans-serif; text-transform: uppercase; color: #fff; }
.canciones li { padding: 8px 0; border-bottom: 2px dashed #4a4030; }
.canciones small { display: block; font: 400 15px/1.3 Barlow, sans-serif; text-transform: none; color: var(--plata-suave); margin-top: 3px; }

/* Boleto para apartar: se imprime en oro con tinta negra */
.boleto--apartar { color-scheme: light; }
.boleto--apartar .boleto__cuerpo { background: var(--oro); color: var(--tinta); padding: 20px; border-radius: var(--curva) var(--curva) 0 0; }
.campo { display: block; margin: 0 0 20px; padding: 0; border: 0; }
.campo:last-child { margin-bottom: 8px; }
.campo > span, .campo > legend { display: block; padding: 0; margin-bottom: 8px; color: var(--tinta); font: 800 25px/1.06 "Big Shoulders", sans-serif; text-transform: uppercase; }
.campo input {
  width: 100%; min-height: 54px; padding: 10px 2px; font: 600 20px/1.2 Barlow, sans-serif; color: var(--tinta);
  background: none; border: 0; border-bottom: 3px solid var(--tinta); border-radius: 0; caret-color: var(--tinta);
}
.campo input::placeholder { color: #5c4503; opacity: 1; font-weight: 400; }
.campo input:focus-visible { outline: 3px solid var(--tinta); outline-offset: 2px; }
.chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.chip { display: block; position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 6px; text-align: center; border: 2px solid var(--tinta); border-radius: 10px; font-weight: 600; line-height: 1.1; transition: background-color 140ms ease-out, color 140ms ease-out, scale 140ms var(--salida); }
.chip input:active + span { scale: .97; }
.chip input:checked + span { background: var(--tinta); color: var(--oro-claro); }
.chip input:focus-visible + span { outline: 3px solid var(--tinta); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .chip input:not(:checked):hover + span { background: var(--oro-claro); } }
.boleto--apartar .boleto__talon { padding: 20px; transform-origin: 8% 0; }
.talon__impreso { margin: 0 0 4px; color: var(--oro); font: 800 clamp(26px, 7.4vw, 36px)/1.08 "Big Shoulders", sans-serif; text-transform: uppercase; overflow-wrap: anywhere; }
.talon__impreso span { display: inline-block; }
.talon__impreso span + span::before { content: "· "; }
.talon__serie { margin: 0 0 14px; color: var(--plata-suave); font-size: 15px; min-height: 22px; font-variant-numeric: tabular-nums; }
.boleto__enviado { background: var(--panel); border-radius: 0 0 var(--curva) var(--curva); border-top: 3px dashed var(--oro); padding: 20px; color: #fff; }
.boleto__enviado p { margin: 0; font-size: 21px; font-weight: 600; }
.enlace--boton { display: flex; padding: 0; border: 0; background: none; cursor: pointer; font: 600 18px/1.3 Barlow, sans-serif; text-decoration: underline; }
.nota { margin: 12px 0 0; color: var(--plata-suave); font-size: 16px; }

/* Estreno */
.boleto--estreno .boleto__foto img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.boleto--estreno h2 { color: var(--tinta); font-size: clamp(52px, 15vw, 88px); margin-bottom: 8px; }
.boleto--estreno p { margin: 0 0 16px; font-size: 19px; }
@media (min-width: 900px) { .boleto--estreno > :first-child { flex: 0 1 44%; } .boleto--estreno .boleto__foto img { height: 100%; } }

/* Contacto */
.boleto--contacto .boleto__foto img { width: 100%; }
.boleto--contacto h2 { color: var(--tinta); font-size: clamp(44px, 13vw, 72px); margin-bottom: 12px; }
.boleto--contacto p { margin: 0 0 16px; font-size: 19px; line-height: 1.35; }
.telefono { display: block; margin-top: 14px; color: var(--tinta); text-decoration: none; font: 800 clamp(44px, 13vw, 64px)/1 "Big Shoulders", sans-serif; }
.telefono small { display: block; font: 600 16px/1.4 Barlow, sans-serif; }
.boleto__talon :focus-visible, .boleto--apartar :focus-visible { outline-color: var(--tinta); }
.boleto__talon--noche :focus-visible, .boleto__enviado :focus-visible { outline-color: var(--oro-claro); }

/* Pie */
.pie { max-width: 1120px; margin: 64px auto 0; padding: 24px 16px calc(100px + env(safe-area-inset-bottom)); border-top: 3px dashed #3a3226; }
.pie__nombre { font-size: 30px; color: var(--oro); margin: 0 0 4px; }
.pie__redes { margin: 0; display: flex; gap: 24px; }
.pie__redes a { display: inline-flex; align-items: center; min-height: 48px; color: var(--plata); text-underline-offset: 4px; }

/* Botón fijo */
.fija {
  position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 10; margin: 0 auto; max-width: 420px;
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px;
  background: var(--oro); color: var(--tinta); border-radius: 10px; font-weight: 600; font-size: 20px; text-decoration: none;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .6);
  transition: translate 300ms cubic-bezier(.32, .72, 0, 1), opacity 180ms ease-out, scale 140ms var(--salida);
}
@starting-style { .fija { translate: 0 calc(100% + 20px); opacity: 0; } }
.fija:active { scale: .97; }
.fija:focus-visible { outline-color: var(--tinta); outline-offset: -6px; }

/* Escritorio */
@media (min-width: 760px) {
  .videos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fechas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sin-fechas { max-width: 720px; }
  .sin-fechas .boton { max-width: 420px; }
  .repertorio { grid-template-columns: minmax(0, 3fr) minmax(0, 5fr); gap: 32px; }
  .canciones { font-size: clamp(36px, 4.2vw, 56px); }
  .canciones small { font-size: 18px; }
  .chips { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fija { left: auto; right: 24px; width: 300px; }
}
@media (min-width: 900px) {
  .portada { min-height: auto; padding-top: 16px; }
  .portada__logo { width: min(62%, 720px); margin: 0 auto 8px; }
  .boleto--fila { display: flex; flex-direction: row; }
  .boleto--fila > :first-child { flex: 1 1 58%; min-width: 0; border-radius: var(--curva) 0 0 var(--curva); }
  .boleto--fila > .boleto__talon, .boleto--fila > .boleto__enviado { flex: 1 1 42%; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 40px; border-top: 0; border-left: 3px dashed var(--tinta); border-radius: 0 var(--curva) var(--curva) 0; }
  .boleto--fila > .boleto__talon--noche, .boleto--fila > .boleto__enviado { border-left-color: var(--oro); }
  .boleto--fila > .boleto__talon::before { left: calc(var(--muesca) / -2 - 2px); top: calc(var(--muesca) / -2); }
  .boleto--fila > .boleto__talon::after { left: calc(var(--muesca) / -2 - 2px); right: auto; top: auto; bottom: calc(var(--muesca) / -2); }
  .boleto--portada .boleto__foto { min-height: 62vh; }
  .boleto--contacto .boleto__foto img { height: 100%; object-fit: cover; }
  .frase { font-size: clamp(46px, 4.6vw, 66px); }
  .boleto--oro { display: grid; grid-template-columns: minmax(0, 1fr); }
}

/* Los boletos suben un poco al entrar a pantalla. Sin JavaScript donde se puede. */
@supports (animation-timeline: view()) {
  .video, .fechas .fecha, .boleto--apartar { animation: entra linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  @keyframes entra { from { translate: 0 28px; opacity: .35; } }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
