/* ==========================================================
   Irene Francolí — estilos (diseño collage)
   Recortes de papel, cinta adhesiva, polaroids y billetes.
   Colores de siempre: marrón, rosa y crema.
   ========================================================== */

@font-face {
  font-family: 'Abril Fatface';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fuentes/abril-fatface-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Abril Fatface';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fuentes/abril-fatface-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --papel: #f4e7cf;
  --papel-claro: #fbf3e3;
  --tinta: #221b1b;
  --marron: #473839;
  --rosa: #fe8587;
  --rosa-fuerte: #dc4a60;   /* ≥3:1 sobre papel: solo textos grandes y detalles */
  --rosa-texto: #b83149;    /* ≥4,5:1 sobre papel: enlaces y texto normal */
  --rojo: #e2282b;
  --rojo-texto: #c81f24;    /* ≥4,5:1 sobre papel: texto rojo pequeño */
  --amarillo: #f5ab14;
  --cinta: rgba(233, 214, 160, .78);
  --cinta-roja: rgba(226, 40, 43, .72);
  --cinta-amarilla: rgba(245, 171, 20, .72);
  --gris: #6f6260;

  --f-display: 'Abril Fatface', 'Bodoni Moda', Georgia, serif;
  --f-maquina: 'Special Elite', 'Courier New', monospace;
  --f-mano: 'Caveat', 'Comic Sans MS', cursive;
  --f-texto: 'Karla', 'Helvetica Neue', Arial, sans-serif;

  --ancho: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --ruido: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2  0 0 0 0 .13  0 0 0 0 .1  0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --rasgon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 24' preserveAspectRatio='none'%3E%3Cpath d='M0 24V10l9 3 7-6 11 5 6-7 12 8 8-4 10 5 7-9 13 7 9-3 6 6 12-8 8 4 11-2 5 7 13-6 7 3 9-8 10 9 8-5 12 4 6-6 11 7 9-3 8 5 12-9 6 6 13-3 7 5 10-7 9 6 11-4 6 5 12-7 8 6 10-5 9 4 7-6 11 8 6-4 9 3V24z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--papel) var(--ruido);
  color: var(--tinta);
  font-family: var(--f-texto);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
main { flex: 1 0 auto; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
/* Que el atributo hidden gane siempre a los display de las clases (filtros, fechas…). */
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--tinta); outline-offset: 3px; }
.show :focus-visible, .pie :focus-visible { outline-color: var(--amarillo); }
h1, h2, h3 { text-wrap: balance; margin: 0; font-weight: 400; }
p { margin: 0; }

.envoltorio { max-width: var(--ancho); margin-inline: auto; padding-inline: var(--gutter); }

.visualmente-oculto {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.saltar {
  position: absolute; left: 10px; top: -60px; z-index: 100;
  background: var(--tinta); color: var(--papel-claro); padding: 10px 16px;
}
.saltar:focus { top: 10px; }

/* ---------- Piezas de collage ---------- */
.cinta { position: relative; }
.cinta::before {
  content: "";
  position: absolute;
  z-index: 3;
  width: 110px; height: 30px;
  top: -14px; left: 50%;
  translate: -50% 0;
  rotate: var(--giro-cinta, -4deg);
  background: var(--cinta) var(--ruido);
  clip-path: polygon(3% 0, 97% 4%, 100% 22%, 96% 45%, 100% 70%, 97% 100%, 2% 96%, 0 74%, 4% 50%, 0 24%);
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
}
.cinta--roja::before, .collage-fotos .f2::before { background-color: var(--cinta-roja); }
.cinta--amarilla::before, .video-pieza--par::before, .portada__collage .foto-secundaria::before { background-color: var(--cinta-amarilla); }

.polaroid {
  margin: 0;
  background: var(--papel-claro);
  padding: 10px 10px 34px;
  box-shadow: 0 1px 1px rgba(0,0,0,.08), 0 10px 24px -8px rgba(34,27,27,.35);
  rotate: var(--giro, 2deg);
}
.polaroid img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05) saturate(.92); }
.polaroid figcaption { font-family: var(--f-mano); font-size: 1.35rem; line-height: 1; position: absolute; bottom: 7px; left: 14px; color: var(--marron); }

.trama { position: relative; isolation: isolate; }
.collage-fotos--vertical .trama::after { background-image: radial-gradient(circle, rgba(226,40,43,.45) 1.2px, transparent 1.6px); }
.trama::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(circle, rgba(254,133,135,.55) 1.2px, transparent 1.6px) 0 0 / 7px 7px;
  mix-blend-mode: multiply;
  mask: linear-gradient(135deg, #000 0 30%, transparent 65%);
}

.etiqueta {
  display: inline-block;
  justify-self: start;
  font-family: var(--f-maquina);
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--papel-claro);
  color: var(--tinta);
  padding: 4px 10px 3px;
  box-shadow: 1px 1px 0 rgba(0,0,0,.15);
  rotate: -1.5deg;
}
.etiqueta--oscura { background: var(--tinta); color: var(--papel-claro); }
.etiqueta--rosa { background: var(--rosa); color: var(--tinta); }
.etiqueta--amarilla { background: var(--amarillo); color: var(--tinta); }
.etiqueta--roja { background: var(--rojo); color: #fff; }

.nota { font-family: var(--f-mano); font-weight: 700; color: var(--rojo); font-size: 1.6rem; line-height: 1.05; }
.enlace-mano { font-family: var(--f-mano); font-weight: 700; font-size: 1.5rem; color: var(--rosa-fuerte); text-decoration: none; }
.enlace-mano:hover { text-decoration: underline; text-underline-offset: 4px; }

.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--f-maquina);
  font-size: .95rem; text-transform: uppercase; letter-spacing: .04em;
  text-decoration: none;
  background: var(--rosa);
  color: var(--tinta);
  border: 2px solid var(--tinta);
  border-radius: 0;
  padding: 12px 20px 10px;
  box-shadow: 4px 4px 0 var(--tinta);
  transition: translate .15s, box-shadow .15s, background .15s;
  cursor: pointer;
}
.boton:hover { translate: -2px -2px; box-shadow: 6px 6px 0 var(--tinta); background: #ff9c9e; }
.boton:active { translate: 2px 2px; box-shadow: 1px 1px 0 var(--tinta); }
.boton[disabled] { opacity: .6; cursor: wait; }
.boton--papel { background: var(--papel-claro); }
.boton--papel:hover { background: #fff; }
.boton--pequeno { padding: 8px 14px 6px; font-size: .82rem; box-shadow: 3px 3px 0 var(--tinta); }
.boton--agotado { background: var(--papel); color: var(--gris); box-shadow: none; border-style: dashed; cursor: default; text-decoration: line-through; }
.boton--agotado:hover { translate: none; box-shadow: none; background: var(--papel); }
.boton svg { width: 1.1em; height: 1.1em; }
.acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }

/* Bordes rasgados entre secciones */
.rasgado-arriba, .rasgado-abajo { position: relative; }
.rasgado-arriba::before, .rasgado-abajo::after {
  content: ""; position: absolute; left: 0; right: 0; height: 22px;
  background: var(--fondo-seccion);
  -webkit-mask: var(--rasgon) 0 0 / 400px 100% repeat-x;
          mask: var(--rasgon) 0 0 / 400px 100% repeat-x;
  pointer-events: none;
}
.rasgado-arriba::before { bottom: 100%; }
.rasgado-abajo::after { top: 100%; rotate: 180deg; z-index: 1; }

.titulo-seccion { font-family: var(--f-display); font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.04; }
.titulo-seccion em { font-family: var(--f-mano); font-style: normal; color: var(--rosa-fuerte); font-size: 1.1em; }
.bloque__cabeza { display: grid; gap: 12px; justify-items: start; margin-bottom: 34px; }
.bloque__cabeza p { color: var(--gris); max-width: 52ch; }

.texto > * + * { margin-top: 1em; }
.texto h2, .texto h3 { font-family: var(--f-display); font-size: 1.45rem; line-height: 1.15; margin-top: 1.4em; }
.texto a { color: var(--rosa-texto); }
.texto ul, .texto ol { padding-left: 1.2em; }

/* ---------- Cabecera ---------- */
.cabecera {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  --fondo-seccion: var(--papel-claro);
  background: var(--papel-claro) var(--ruido);
}
.cabecera__fila { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.marca { font-family: var(--f-display); font-size: 1.35rem; text-decoration: none; white-space: nowrap; }
.marca span { font-family: var(--f-maquina); font-size: .66rem; background: var(--tinta); color: var(--papel-claro); padding: 2px 6px 1px; margin-left: 6px; vertical-align: 4px; letter-spacing: .08em; text-transform: uppercase; }
.nav { display: flex; gap: 20px; margin-inline: auto; }
.nav a { text-decoration: none; font-size: .95rem; font-weight: 500; position: relative; }
.nav a:hover::after, .nav a[aria-current]::after { content: ""; position: absolute; left: -4px; right: -4px; bottom: 1px; height: 8px; background: var(--amarillo); opacity: .75; z-index: -1; rotate: -1deg; }
.idiomas { display: flex; border: 2px solid var(--tinta); font-family: var(--f-maquina); font-size: .8rem; }
.idiomas a { padding: 4px 9px 3px; text-decoration: none; color: var(--tinta); }
.idiomas a[aria-current] { background: var(--tinta); color: var(--papel-claro); }

/* ---------- Portada ---------- */
.portada { padding-block: clamp(40px, 7vw, 90px) clamp(70px, 9vw, 120px); position: relative; isolation: isolate; }
.portada::before {
  content: ""; position: absolute; inset: 0 0 0 55%; z-index: -1;
  background: url(/imagenes/fondos/papeles-rosas.webp) center / cover;
  opacity: .9;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%, 5% 62%, 0 40%, 6% 18%);
}
.portada__rejilla { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.portada__texto { display: grid; gap: 22px; justify-items: start; }

.logo-show { position: relative; margin: 4px 0 0; width: min(100%, 620px); }
.logo-show img { width: 100%; height: auto; filter: drop-shadow(2px 4px 0 rgba(34,27,27,.12)); }
.logo-show .nota { position: absolute; right: 2%; bottom: -.35em; font-size: clamp(1.8rem, 4vw, 2.8rem); rotate: -8deg; color: var(--rojo); }
.hoja .logo-show { width: min(100%, 520px); margin-bottom: 10px; }

.portada__entradilla { font-size: 1.12rem; max-width: 36ch; }
.portada__entradilla strong { font-family: var(--f-display); font-weight: 400; font-size: 1.28em; line-height: 1.2; display: block; margin-bottom: .4em; }

.portada__collage { position: relative; aspect-ratio: 1 / 1.16; }
.portada__collage .polaroid { position: absolute; }
.portada__collage .foto-principal { width: 64%; aspect-ratio: 2 / 3; top: 0; right: 6%; --giro: 3deg; }
.portada__collage .foto-secundaria { width: 44%; aspect-ratio: 3 / 2; bottom: 22px; left: 0; --giro: -6deg; --giro-cinta: 8deg; z-index: 2; }
.portada__collage .nota--flecha { position: absolute; top: 34%; left: -6%; z-index: 4; rotate: -8deg; max-width: 9ch; }
/* Recorte de papel detrás del texto para que se lea sobre el collage. */
.portada__collage .nota--flecha span { background: var(--papel-claro); padding: 0 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.portada__collage .nota--flecha svg { display: block; width: 70px; height: 50px; margin: 2px 0 0 38px; }

.billete {
  --muesca: radial-gradient(circle at 0 50%, transparent 9px, #000 9.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 9px, #000 9.5px) right / 51% 100% no-repeat;
  -webkit-mask: var(--muesca); mask: var(--muesca);
  background: var(--tinta) var(--ruido);
  color: var(--papel-claro);
  display: grid; grid-template-columns: auto 1fr;
  text-decoration: none;
}
.billete__talon { background: var(--rojo-texto); padding: 12px 16px; border-right: 2px dashed rgba(251,243,227,.45); display: grid; place-items: center; text-align: center; font-family: var(--f-maquina); line-height: 1.05; }
.billete__talon b { font-family: var(--f-display); font-weight: 400; font-size: 2.1rem; line-height: 1; display: block; }
.billete__cuerpo { padding: 12px 22px 12px 16px; display: grid; align-content: center; gap: 2px; }
.billete__cuerpo small { font-family: var(--f-maquina); color: var(--amarillo); text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }
.billete__cuerpo span { font-family: var(--f-display); font-size: 1.3rem; line-height: 1.1; }
.portada__collage .billete { position: absolute; right: 0; bottom: 0; z-index: 3; rotate: -3deg; width: min(310px, 80%); filter: drop-shadow(0 8px 14px rgba(0,0,0,.28)); transition: rotate .2s; }
.portada__collage .billete:hover { rotate: 0deg; }
/* La máscara de las muescas recorta el contorno de foco: se dibuja por dentro. */
.billete:focus-visible { outline: none; }
.billete:focus-visible .billete__cuerpo { outline: 3px solid var(--amarillo); outline-offset: -6px; }

/* ---------- Fechas ---------- */
.fechas { --fondo-seccion: var(--papel-claro); background: var(--papel-claro) var(--ruido); padding-block: clamp(56px, 7vw, 90px); }
.fechas--pagina { background: transparent; }
.fechas .bloque__cabeza { margin-bottom: 20px; }
.filtros { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filtros button {
  font-family: var(--f-maquina); font-size: .85rem; text-transform: uppercase; letter-spacing: .04em;
  border: 2px solid var(--tinta); background: transparent; color: var(--tinta);
  padding: 6px 12px 4px; cursor: pointer; rotate: var(--g, 0deg);
}
.filtros button:nth-child(2n) { --g: 1.5deg; }
.filtros button:nth-child(3n) { --g: -1.5deg; }
.filtros button[aria-pressed="true"] { background: var(--tinta); color: var(--papel-claro); }

.lista-fechas { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.fecha {
  display: grid;
  grid-template-columns: 110px 96px 1fr auto;
  align-items: center;
  gap: 24px;
  background: #fffaf0 var(--ruido);
  padding: 16px 26px 16px 16px;
  box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 8px 18px -12px rgba(34,27,27,.5);
  rotate: var(--g, 0deg);
  border-left: 2px dashed rgba(34,27,27,.28);
  transition: rotate .2s, translate .2s;
}
.fecha:nth-child(2n) { --g: .5deg; }
.fecha:nth-child(3n) { --g: -.6deg; }
.fecha:hover { rotate: 0deg; translate: 0 -3px; }
.fecha__dia { box-shadow: inset 0 6px 0 var(--amarillo); text-align: center; font-family: var(--f-maquina); text-transform: uppercase; font-size: .78rem; line-height: 1.15; background: var(--papel); padding: 8px 6px; border: 2px solid var(--tinta); display: grid; }
.fecha__dia b { font-family: var(--f-display); font-weight: 400; font-size: 2.6rem; line-height: .95; color: var(--rojo); }
.fecha__cartel { width: 96px; height: auto; aspect-ratio: 5 / 7; object-fit: cover; rotate: -3deg; box-shadow: 0 4px 10px -4px rgba(0,0,0,.45); border: 4px solid #fff; }
.fecha__cartel--vacio { display: block; background: var(--rosa) var(--ruido); }
.fecha__info { display: grid; gap: 4px; min-width: 0; }
.fecha__ciudad { font-family: var(--f-display); font-size: 1.75rem; line-height: 1.05; }
.fecha__lugar { color: var(--gris); font-size: .98rem; }
.fecha__hora { font-family: var(--f-maquina); font-size: .88rem; }
.fecha .boton { white-space: nowrap; }
.fecha--agotada .fecha__cartel { filter: grayscale(1); opacity: .7; }
.fechas__vacio { font-family: var(--f-mano); font-size: 1.8rem; }

/* ---------- Show ---------- */
.show { --fondo-seccion: var(--tinta); background: var(--tinta) var(--ruido); color: var(--papel-claro); padding-block: clamp(70px, 8vw, 110px); margin-block: 22px; }
.show__rejilla { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.show__texto { display: grid; gap: 22px; justify-items: start; }
.show__texto .titulo-seccion em { color: var(--amarillo); }
.show__texto > p { color: #eadfcd; max-width: 58ch; }
.cita {
  margin: 0;
  background: var(--rosa) var(--ruido);
  color: var(--tinta);
  font-family: 'Bodoni Moda', Georgia, serif; font-style: italic; font-weight: 700;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.3;
  padding: 22px 26px 20px;
  rotate: -1.5deg;
  max-width: 34ch;
  clip-path: polygon(0 3%, 3% 0, 30% 2%, 55% 0, 80% 3%, 100% 0, 99% 40%, 100% 100%, 70% 98%, 40% 100%, 12% 97%, 0 100%, 1% 60%);
}
.cita cite { display: block; margin-top: 10px; font-family: var(--f-maquina); font-style: normal; font-weight: 400; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.boton--claro { background: var(--amarillo); border-color: var(--tinta); box-shadow: 4px 4px 0 var(--rosa); }
.boton--claro:hover { background: #ffc043; box-shadow: 6px 6px 0 var(--rosa); }
.show .enlace-mano { color: var(--amarillo); }

/* Fotos pegadas (dos polaroids que se solapan) */
.collage-fotos { position: relative; }
.collage-fotos .polaroid { position: absolute; }
.collage-fotos .nota { position: absolute; z-index: 4; }
.collage-fotos--apaisado { aspect-ratio: 1 / .9; }
.collage-fotos--apaisado .f1 { width: 78%; aspect-ratio: 3 / 2; top: 0; left: 0; --giro: -3deg; }
.collage-fotos--apaisado .f2 { width: 62%; aspect-ratio: 3 / 2; bottom: 0; right: 0; --giro: 4deg; --giro-cinta: 6deg; }
.collage-fotos--apaisado .nota { left: 4%; bottom: 36px; color: var(--amarillo); rotate: -5deg; max-width: 11ch; font-size: 1.8rem; }
.collage-fotos--vertical { aspect-ratio: 1 / 1.12; margin-block: 16px; }
.collage-fotos--vertical .f1 { width: 56%; aspect-ratio: 2 / 3; top: 0; right: 2%; --giro: 4deg; }
.collage-fotos--vertical .f2 { width: 58%; aspect-ratio: 3 / 2; bottom: 0; left: 0; --giro: -5deg; --giro-cinta: -8deg; }

/* ---------- Vídeos ---------- */
.videos { padding-block: clamp(60px, 7vw, 96px); }
.videos__rejilla { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 34px; align-items: start; }
.video-pieza { --giro: -1.5deg; padding-bottom: 60px; }
.video-pieza--par { --giro: 2deg; --giro-cinta: 6deg; }
.video-pieza video { aspect-ratio: 9 / 16; width: 100%; object-fit: cover; background: #000; max-height: 540px; }
.video-pieza figcaption { left: 14px; right: 14px; bottom: 10px; display: grid; }
.video-pieza figcaption b { font-family: var(--f-display); font-weight: 400; font-size: 1.25rem; color: var(--tinta); }
.video-pieza figcaption span { font-family: var(--f-texto); font-size: .9rem; color: var(--gris); }
.videos__columna { display: grid; gap: 30px; }
.videos__pareja { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tarjeta {
  display: grid; gap: 10px; text-decoration: none;
  padding: 24px 22px 22px;
  background: var(--papel-claro) var(--ruido);
  box-shadow: 0 8px 18px -12px rgba(34,27,27,.5);
  rotate: var(--g, 1deg);
  transition: rotate .2s, translate .2s;
}
.tarjeta:hover { rotate: 0deg; translate: 0 -3px; }
.tarjeta--rosa { background: var(--rosa) var(--ruido); --g: -1.2deg; }
.tarjeta--amarilla { background: var(--amarillo) var(--ruido); --g: -1.2deg; }
.tarjeta--oscura { background: var(--tinta) var(--ruido); color: var(--papel-claro); --g: 1.6deg; }
.tarjeta h3 { font-family: var(--f-display); font-size: 1.55rem; line-height: 1.1; }
.tarjeta p { font-size: .98rem; }
.tarjeta .ir { font-family: var(--f-maquina); text-transform: uppercase; font-size: .85rem; letter-spacing: .05em; text-decoration: underline; text-underline-offset: 4px; }
.videos__pareja .tarjeta { padding: 18px 14px 16px; }
.videos__pareja .tarjeta h3 { font-size: 1.05rem; word-break: break-word; }

/* ---------- Sobre mí (portada) ---------- */
.sobre { --fondo-seccion: var(--rosa); background: var(--rosa) var(--ruido); padding-block: clamp(70px, 8vw, 110px); margin-block: 22px; }
.sobre__rejilla { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.sobre__texto { display: grid; gap: 20px; justify-items: start; }
.sobre__texto .texto { max-width: 56ch; }
.sobre .enlace-mano { color: var(--tinta); }
.creditos { display: flex; flex-wrap: wrap; gap: 10px 12px; list-style: none; margin: 4px 0 0; padding: 0; }
.creditos li { rotate: var(--g, -1deg); }
.creditos li:nth-child(2n) { --g: 1.5deg; }
.creditos li:nth-child(3n) { --g: -2deg; }
.creditos .etiqueta { rotate: 0deg; font-size: .8rem; }
.galas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; width: 100%; margin-top: 8px; }
.gala { background: var(--papel-claro) var(--ruido); padding: 16px 18px 14px; rotate: var(--g, -1deg); box-shadow: 0 6px 14px -10px rgba(0,0,0,.6); }
.gala:nth-child(2n) { --g: 1.2deg; }
.gala small { font-family: var(--f-maquina); text-transform: uppercase; font-size: .75rem; letter-spacing: .06em; color: var(--rojo-texto); }
.gala h3 { font-family: var(--f-display); font-size: 1.2rem; line-height: 1.15; margin: 2px 0 4px; }
.gala p { font-size: .92rem; color: var(--marron); }
.galas--pagina { grid-template-columns: 1fr; gap: 24px; margin-top: 10px; }
.galas--pagina .gala { background: var(--papel) var(--ruido); padding: 20px 22px 18px; }
.galas--pagina .gala p { font-size: 1rem; }

/* ---------- Libreta (contacto) ---------- */
.contacto-cta { padding-block: clamp(70px, 8vw, 110px) clamp(40px, 6vw, 70px); }
.hoja-libreta {
  max-width: 820px; margin-inline: auto;
  background:
    linear-gradient(90deg, transparent 58px, rgba(226,40,43,.6) 58px 60px, transparent 60px),
    repeating-linear-gradient(#fffdf6 0 33px, #b9cbe0 33px 34px);
  padding: 46px clamp(22px, 5vw, 60px) 40px clamp(76px, 10vw, 96px);
  box-shadow: 0 16px 34px -18px rgba(34,27,27,.55);
  rotate: -.8deg;
  display: grid; gap: 16px; justify-items: start;
}
.hoja-libreta .titulo-seccion { font-size: clamp(1.9rem, 4.2vw, 2.8rem); }
.hoja-libreta > p { font-size: 1.08rem; max-width: 48ch; line-height: 34px; }
.hoja-libreta--formulario { rotate: -.5deg; margin: 0; }

/* ---------- Páginas interiores ---------- */
.pagina { padding-block: clamp(40px, 6vw, 80px) clamp(40px, 6vw, 70px); }
.pagina__rejilla { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.pagina__rejilla > * { min-width: 0; }
.pagina__rejilla > .collage-fotos { position: sticky; top: 110px; }
.hoja {
  margin: 0;
  background: var(--papel-claro) var(--ruido);
  padding: clamp(28px, 5vw, 56px);
  box-shadow: 0 16px 34px -18px rgba(34,27,27,.55);
  rotate: -.5deg;
  display: grid; gap: 20px; justify-items: start;
  clip-path: polygon(0 1%, 4% 0, 30% .6%, 60% 0, 88% .8%, 100% 0, 99.4% 30%, 100% 70%, 99.5% 100%, 70% 99.3%, 40% 100%, 10% 99.4%, 0 100%, .5% 60%);
}
.hoja .texto { max-width: 62ch; }
.hoja--legal { max-width: 860px; margin-inline: auto; rotate: 0deg; font-size: .95rem; }
.hoja--legal .titulo-seccion { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.hoja--legal .texto { max-width: none; overflow-wrap: anywhere; }
.pagina__404 { display: grid; gap: 30px; }

/* ---------- Formulario ---------- */
.formulario { width: 100%; display: grid; gap: 6px; margin-top: 8px; }
.formulario p { margin: 0; }
.formulario input[type=text], .formulario input[type=tel], .formulario input[type=email], .formulario textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--gris);
  border-radius: 0;
  padding: 14px 4px 6px;
  font: inherit;
  font-size: 1rem;
  color: var(--tinta);
}
.formulario textarea { resize: vertical; min-height: 90px; }
.formulario ::placeholder { color: var(--gris); opacity: 1; }
.formulario input:focus, .formulario textarea:focus { border-bottom-color: var(--tinta); }
.formulario [aria-invalid="true"] { border-bottom-color: var(--rosa-texto); border-bottom-style: dashed; }
.formulario__nota { font-size: .9rem; color: var(--gris); }
.consentimiento { padding-block: 16px 8px; }
.consentimiento label { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; }
.consentimiento input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--tinta); flex: none; }
.consentimiento a { color: var(--rosa-texto); }
.campo-trampa { position: absolute; left: -9999px; }
.cf-turnstile { min-height: 65px; margin-block: 6px 12px; max-width: 100%; }
.formulario__estado:empty { display: none; }
.formulario__estado { padding: 10px 12px; border: 2px solid var(--tinta); background: var(--papel-claro); font-size: .95rem; }
.formulario__estado.ok { border-color: #2f8a44; }
.formulario__estado.error { border-color: var(--rosa-texto); }
.formulario__estado ul { margin: 6px 0 0; padding-left: 1.2em; }

/* ---------- Pie ---------- */
.pie { --fondo-seccion: var(--tinta); background: var(--tinta) var(--ruido); color: #d9ccb8; padding-block: 64px 30px; margin-top: 40px; font-size: .95rem; }
.pie__rejilla { display: grid; grid-template-columns: 1.2fr .8fr 1.2fr; gap: 40px; }
.pie .marca { color: var(--papel-claro); font-size: 1.6rem; }
.pie__texto { margin-top: 10px; max-width: 34ch; }
.pie__titulo { margin: 0 0 12px; font-family: var(--f-maquina); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--amarillo); }
.pie ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pie a { text-decoration: none; }
.pie a:hover { color: var(--rosa); }
.redes { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 14px; }
.redes a { font-family: var(--f-maquina); font-size: .82rem; text-transform: uppercase; border-bottom: 1px solid currentColor; }
.fondos-ue { align-self: start; background: var(--papel-claro); color: var(--tinta); padding: 14px 16px; display: grid; gap: 10px; rotate: 1deg; }
.fondos-ue img { width: 100%; max-width: 330px; }
.fondos-ue p { font-size: .82rem; line-height: 1.4; }
.pie__legal { margin-top: 44px; padding-top: 18px; border-top: 1px dashed rgba(217,204,184,.35); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .82rem; }
.pie__legal nav { display: flex; flex-wrap: wrap; gap: 18px; }

/* ---------- Tableta ---------- */
@media (max-width: 980px) {
  .cabecera__fila { justify-content: space-between; flex-wrap: wrap; row-gap: 0; }
  .nav { order: 3; width: 100%; margin: 0; overflow-x: auto; gap: 18px; padding-bottom: 10px; scrollbar-width: none; }
  .nav a { white-space: nowrap; font-size: .9rem; }
  .portada::before { display: none; }
  .portada__collage { isolation: isolate; margin-top: 20px; }
  .portada__collage::after {
    content: ""; position: absolute; z-index: -1;
    top: -30px; bottom: -40px; left: 50%; width: 100vw; translate: -50% 0;
    background: url(/imagenes/fondos/papeles-rosas.webp) center / cover;
    opacity: .9;
    clip-path: polygon(0 4%, 20% 0, 50% 5%, 80% 0, 100% 4%, 100% 100%, 0 100%);
  }
  .portada__rejilla, .show__rejilla, .sobre__rejilla, .pagina__rejilla { grid-template-columns: 1fr; }
  .portada__collage { max-width: 520px; width: 100%; margin-inline: auto; }
  .collage-fotos { max-width: 560px; width: 100%; margin-inline: auto; }
  .pagina__rejilla > .collage-fotos { position: relative; top: 0; order: -1; max-width: 460px; }
  .sobre__rejilla > .collage-fotos { order: -1; }
  .videos__rejilla { grid-template-columns: 1fr 1fr; }
  .videos__columna { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .videos__pareja { grid-column: 1 / -1; }
  .pie__rejilla { grid-template-columns: 1fr 1fr; }
  .fondos-ue { grid-column: 1 / -1; }
}

/* ---------- Móvil ---------- */
@media (max-width: 680px) {
  body { font-size: 16px; }
  /* Solo el icono a la vista, pero el texto sigue siendo el nombre del enlace. */
  .cabecera .boton span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .marca span { display: none; }
  .portada__collage .nota--flecha { display: none; }
  .fecha { grid-template-columns: 82px 1fr; gap: 14px 16px; padding: 14px; }
  .fecha__cartel { display: none; }
  .fecha .boton { grid-column: 1 / -1; }
  .fecha__dia b { font-size: 2.1rem; }
  .fecha__ciudad { font-size: 1.45rem; }
  .videos__rejilla { grid-template-columns: 1fr; }
  .video-pieza { max-width: 360px; margin-inline: auto; width: 100%; }
  .videos__columna { grid-template-columns: 1fr; }
  .galas { grid-template-columns: 1fr; }
  .pie__rejilla { grid-template-columns: 1fr; }
  .hoja-libreta { background: linear-gradient(90deg, transparent 34px, rgba(226,40,43,.6) 34px 36px, transparent 36px), repeating-linear-gradient(#fffdf6 0 33px, #b9cbe0 33px 34px); padding-left: 50px; }
  .hoja { rotate: 0deg; }
}

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