/* Fuentes alojadas en la propia web (sin Google Fonts: sin peticiones a terceros) */
@font-face { font-family: "Bodoni Moda"; src: url(../fonts/bodoni-moda-latin.woff2) format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url(../fonts/instrument-sans-latin.woff2) format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }

/* Pablo Romón · El Mago Torero
   Dirección: teatral y elegante. Un escenario a oscuras, el telón de terciopelo rojo,
   Pablo bajo el foco y el dorado de las estrellas de su firma. Bodoni para los títulos,
   como los carteles clásicos de magia; Instrument Sans para leer. */

:root {
  --black: #0a0a0c;
  --stage: #121014;
  --stage-2: #1b181d;
  --stage-3: #241f26;
  --velvet: #5b0d10;
  --red: #c8221b;
  --gold: #d4a24c;
  --gold-2: #e2b768;
  --ivory: #eeece8;
  --ivory-2: #e2dfd9;
  --ivory-3: #cfcbc3;
  --ink: #eeece8;

  --serif: "Bodoni Moda", "Didot", Georgia, serif;
  --sans: "Instrument Sans", system-ui, sans-serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.5rem, 1.4rem + 3.6vw, 5rem);
  --step-display: clamp(4rem, 1.2rem + 7.6vw, 8.5rem);

  --margin: clamp(1rem, 3vw, 3rem);
  --gutter: clamp(0.75rem, 1.8vw, 1.75rem);
  --pad: clamp(5.5rem, 10vw, 10rem);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
  --t-reveal: 900ms;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--black); color: var(--ink); font-family: var(--sans); font-size: var(--step-body); line-height: 1.55; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; overflow-x: clip; }
h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
img, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 0.95; text-wrap: balance; }
h3 { font-family: var(--sans); font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
p { text-wrap: pretty; }
::selection { background: var(--gold); color: var(--black); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.nums { font-variant-numeric: tabular-nums lining-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--margin); top: -4rem; z-index: 60; background: var(--ivory); color: var(--black); padding: 0.6rem 1rem; }
.skip:focus { top: 1rem; }
.only-wide { display: none; }
@media (min-width: 60em) { .only-wide { display: inline-flex; } }
.line { display: block; }

.head { font-size: var(--step-head); }
.lead { font-size: var(--step-lead); line-height: 1.4; max-width: 34ch; }
.small { font-size: var(--step-small); line-height: 1.45; }
.statement { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 0.9rem + 1.3vw, 2.25rem); line-height: 1.25; letter-spacing: -0.01em; max-width: 30ch; }

/* Capítulos: el escenario cambia de luz, no de plantilla */
.ch { position: relative; padding: var(--pad) var(--margin); }
.ch--black { background: var(--black); color: var(--ink); }
.ch--stage { background: var(--stage); color: var(--ink); }
.ch--velvet { background: var(--velvet); color: var(--ink); }
.ch--ivory { background: var(--ivory); color: var(--black); }

/* Botones: una forma, píldora; dorado sobre oscuro, negro sobre marfil */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; min-height: 3.25rem; padding: 0.8rem 1.75rem; border-radius: 999px; background: var(--gold); color: var(--black); font-weight: 600; letter-spacing: 0.01em; text-decoration: none; white-space: nowrap; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease; }
.button:active { transform: scale(0.97); }
.button--small { min-height: 2.75rem; padding: 0.5rem 1.3rem; }
.button--dark { background: var(--black); color: var(--ivory); }
.textlink { color: inherit; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em; transition: color var(--t-hover) ease, text-decoration-color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--gold-2); }
  .button--dark:hover { background: var(--velvet); }
  .textlink:hover { color: var(--gold); }
  .ch--ivory .textlink:hover { color: var(--velvet); }
}

/* Cabecera */
.top { position: absolute; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem var(--margin); }
.top__brand img { width: clamp(130px, 12vw, 180px); height: auto; }
.top__nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.25rem); }
.top__link { color: var(--ivory); text-decoration: none; font-weight: 500; transition: color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .top__link:hover { color: var(--gold); } }

/* 1 · Portada: Pablo delante del telón, bajo el foco */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; padding: 8rem var(--margin) 6rem; background: var(--black); isolation: isolate; }
.hero__stage { position: absolute; inset: 0; z-index: -2; }
.hero__curtain, .hero__spot { position: absolute; inset: 0; background: var(--velvet) url(../assets/img/telon.webp) center top / cover no-repeat; }
.hero__curtain { filter: brightness(0.32) saturate(0.9); }
/* el foco: el mismo telón, más encendido, recortado por un círculo de luz */
.hero__spot { filter: brightness(1.05) saturate(1.05); -webkit-mask-image: radial-gradient(ellipse 34% 58% at var(--sx, 70%) var(--sy, 52%), #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 34% 58% at var(--sx, 70%) var(--sy, 52%), #000 30%, transparent 75%); } /* taste-skill-ignore: máscara del foco, no es un fondo degradado */
.hero__pablo { position: absolute; z-index: -1; right: max(2vw, calc(50% - 46rem)); bottom: 0; height: min(92svh, 62vw); width: auto; max-width: none; }
.hero__text { position: relative; max-width: min(46%, 40rem); }
.hero__title { font-size: var(--step-display); line-height: 0.86; letter-spacing: -0.03em; }
.hero__sub { margin-top: 2rem; max-width: 32ch; font-size: var(--step-lead); line-height: 1.4; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 2.25rem; }
.hero__seen { position: absolute; left: var(--margin); bottom: 1.75rem; font-size: var(--step-small); color: var(--ivory); }

/* El telón: dos paños que se abren al llegar */
.curtain { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .curtain { display: block; position: absolute; inset: 0; z-index: 10; pointer-events: none; }
  .js .curtain span { position: absolute; top: 0; bottom: 0; width: 50.5%; background: var(--velvet) url(../assets/img/telon.webp) center / cover no-repeat; filter: brightness(0.8); transition: transform 1600ms var(--ease-in-out) 250ms; }
  .js .curtain__l { left: 0; transform-origin: left; }
  .js .curtain__r { right: 0; transform-origin: right; }
  .js .hero.is-in .curtain__l { transform: translateX(-102%) scaleX(0.7); }
  .js .hero.is-in .curtain__r { transform: translateX(102%) scaleX(0.7); }
  .js .hero__pablo { transform: translateY(3%) scale(0.98); opacity: 0; transition: transform 1400ms var(--ease-expo) 900ms, opacity 900ms ease 900ms; transform-origin: bottom center; }
  .js .hero__spot { opacity: 0; transition: opacity 1200ms ease 700ms; }
  .js .hero__title .line, .js .hero__sub, .js .hero__actions, .js .hero__seen { opacity: 0; transform: translateY(24px); transition: transform var(--t-reveal) var(--ease-expo), opacity 700ms ease; }
  .js .hero__title .line:nth-child(1) { transition-delay: 1100ms; } .js .hero__title .line:nth-child(2) { transition-delay: 1190ms; }
  .js .hero__sub { transition-delay: 1300ms; } .js .hero__actions { transition-delay: 1380ms; } .js .hero__seen { transition-delay: 1500ms; }
  .js .hero.is-in .hero__pablo, .js .hero.is-in .hero__spot, .js .hero.is-in .hero__title .line, .js .hero.is-in .hero__sub, .js .hero.is-in .hero__actions, .js .hero.is-in .hero__seen { opacity: 1; transform: none; }
}

/* 2 · Presentación */
.intro { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); column-gap: clamp(2rem, 6vw, 7rem); align-items: center; }
.intro .statement { margin-top: 2.5rem; }
.figures { display: grid; margin-top: 3rem; max-width: 34rem; border-top: 1px solid rgb(212 162 76 / 0.35); }
.figures div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1.25rem; align-items: baseline; padding: 1.15rem 0; border-bottom: 1px solid rgb(238 236 232 / 0.1); }
/* tamaño óptico bajo: a cuerpo grande la Bodoni pierde los trazos finos y el «11» se rompe */
.figures dt { font-family: var(--serif); font-weight: 500; font-variation-settings: "opsz" 28; font-size: clamp(2rem, 1.6rem + 1vw, 2.6rem); line-height: 1; color: var(--gold); letter-spacing: -0.01em; font-variant-numeric: lining-nums; }
.figures dd { margin: 0; font-size: var(--step-body); line-height: 1.45; color: var(--ivory-2); max-width: 34ch; }
.intro__pics { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: auto auto; }
.intro__pic img { width: 100%; object-fit: cover; }
.intro__pic figcaption { margin-top: 0.6rem; font-size: var(--step-small); }
.intro__pic--a figcaption { max-width: 34%; }
.intro__pic--b figcaption { text-align: right; }
.intro__pic--a { grid-column: 1 / 6; grid-row: 1; }
.intro__pic--a img { aspect-ratio: 4 / 3; }
.intro__pic--b { grid-column: 3 / 7; grid-row: 2; margin-top: -3rem; position: relative; }
.intro__pic--b img { aspect-ratio: 3 / 2; outline: 10px solid var(--stage); }

/* 3 · El truco, sobre terciopelo */
.trick { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--gutter); align-items: center; background: var(--velvet) url(../assets/img/telon.webp) center / cover; }
.trick::before { content: ""; position: absolute; inset: 0; background: rgb(32 4 6 / 0.82); }
.trick > * { position: relative; }
.trick__intro .lead { margin-top: 1.5rem; max-width: 28ch; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.75rem, 1.5vw, 1.25rem); max-width: 36rem; margin-left: auto; perspective: 900px; }
.card { aspect-ratio: 5 / 7; background: var(--ivory); color: var(--black); border-radius: 8px; position: relative; display: grid; place-items: center; transition: transform 500ms var(--ease-out), opacity 400ms ease; }
.card--red { color: var(--red); }
.card__corner { position: absolute; left: 0.55rem; top: 0.45rem; display: grid; justify-items: center; gap: 0.15rem; font-family: var(--serif); font-size: clamp(1.1rem, 1.6vw, 1.5rem); line-height: 0.95; }
.card__corner svg { width: 0.75em; height: 0.75em; }
.card__corner--b { left: auto; top: auto; right: 0.55rem; bottom: 0.45rem; transform: rotate(180deg); }
.card__face { width: 40%; height: auto; }
.card.is-flip { transform: rotateY(90deg); opacity: 0; }
@media (hover: hover) and (pointer: fine) { .card:hover { transform: translateY(-6px) rotate(-1.5deg); } }
.trick__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; max-width: 36rem; margin-left: auto; }
.trick__msg { flex-basis: 100%; color: var(--gold-2); max-width: none; font-family: var(--serif); font-size: var(--step-lead); }
.trick__msg:empty { display: none; }

/* 4 · Vídeos: uno protagonista y cuatro alrededor */
.work__head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); column-gap: var(--gutter); align-items: end; }
.work__head .lead { justify-self: end; }
.reel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: auto auto; gap: clamp(1.5rem, 3vw, 2.5rem) var(--gutter); margin-top: 4rem; }
.tile { display: block; text-align: left; color: var(--ivory); position: relative; }
.tile--feature { grid-column: 1 / 3; grid-row: 1 / 3; }
.tile__img { display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--stage-2); }
.tile--feature { display: flex; flex-direction: column; }
.tile--feature .tile__img { aspect-ratio: auto; flex: 1; min-height: 0; }
.tile__img img, .tile__img video { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease-soft), filter 400ms ease; }
.tile:not(.tile--feature) .tile__img img { filter: brightness(0.86); }
.tile__cap { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 0.85rem; font-size: var(--step-small); }
.tile__cap span:first-child { font-family: var(--serif); font-size: clamp(1.15rem, 1rem + 0.5vw, 1.5rem); line-height: 1.15; }
.tile__cap span:last-child { white-space: nowrap; color: var(--gold); }
.tile__play { position: absolute; left: 1rem; top: 1rem; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--ivory); transition: transform var(--t-ui) var(--ease-out), background-color var(--t-hover) ease; }
.tile__play::after { content: ""; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%); border-left: 14px solid var(--black); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.tile--feature .tile__play { width: 4.5rem; height: 4.5rem; left: 1.5rem; top: 1.5rem; background: var(--gold); }
.tile:active .tile__play { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .tile:hover .tile__img img, .tile:hover .tile__img video { transform: scale(1.04); filter: brightness(1); } .tile:hover .tile__play { background: var(--gold); transform: scale(1.08); } }

/* 5 · Programa: cartelera de teatro */
.program__head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); column-gap: var(--gutter); align-items: end; }
.program__head .lead { justify-self: end; }
.bill { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); margin-top: 3.5rem; }
.poster { position: relative; display: block; text-align: left; color: var(--ivory); border-radius: 999px 999px 18px 18px; overflow: hidden; aspect-ratio: 3 / 4.2; background: var(--stage-2); isolation: isolate; transition: transform 500ms var(--ease-out); }
.poster__img { position: absolute; inset: 0; z-index: -2; }
.poster__img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.62) saturate(0.95); transition: transform 900ms var(--ease-soft), filter 500ms ease; }
.poster::after { content: ""; position: absolute; inset: auto 0 0; height: 55%; z-index: -1; background: linear-gradient(transparent, rgb(10 10 12 / 0.85)); } /* taste-skill-ignore: velo bajo el texto sobre la foto */
.poster__text { position: absolute; left: 1.4rem; right: 1.4rem; bottom: 4.25rem; display: grid; gap: 0.35rem; }
.poster__name { font-family: var(--serif); font-size: clamp(1.6rem, 1rem + 1.4vw, 2.4rem); line-height: 1; letter-spacing: -0.01em; }
.poster__tag { font-size: var(--step-small); }
.poster__open { position: absolute; left: 1.4rem; bottom: 1.4rem; display: inline-flex; align-items: center; min-height: 2.25rem; padding: 0.3rem 0.95rem; border-radius: 999px; background: rgb(238 236 232 / 0.14); font-size: var(--step-small); font-weight: 600; transition: background-color var(--t-hover) ease, color var(--t-hover) ease; }
.poster.is-on { transform: translateY(-10px); outline: 3px solid var(--gold); outline-offset: 5px; }
.poster.is-on .poster__img img { filter: brightness(0.82); }
.poster.is-on .poster__open { background: var(--gold); color: var(--black); }
.poster:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .poster:hover .poster__img img { transform: scale(1.05); filter: brightness(0.8); } .poster:not(.is-on):hover .poster__open { background: rgb(238 236 232 / 0.26); } }
.ficha { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(1.5rem, 6vw, 7rem); margin-top: clamp(3rem, 5vw, 4.5rem); padding-top: clamp(2rem, 3.5vw, 3rem); border-top: 1px solid rgb(212 162 76 / 0.35); animation: ficha-in 600ms var(--ease-out); }
@keyframes ficha-in { from { opacity: 0; transform: translateY(16px); } }
.ficha[hidden] { display: none; }
.ficha__head h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 1.2rem + 2vw, 3.25rem); line-height: 1; }
.ficha__head p { margin-top: 1.1rem; max-width: 34ch; color: var(--ivory-2); }
.ficha__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.75rem; }
.formats { display: grid; }
.formats > li { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1.5rem; align-items: baseline; padding: 1.6rem 0; border-bottom: 1px solid rgb(238 236 232 / 0.1); animation: band-in 500ms var(--ease-out) both; }
.formats > li:first-child { padding-top: 0.25rem; }
.formats > li:last-child { border-bottom: 0; padding-bottom: 0; }
.formats > li:nth-child(2) { animation-delay: 70ms; } .formats > li:nth-child(3) { animation-delay: 140ms; } .formats > li:nth-child(4) { animation-delay: 210ms; }
.formats b { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1; color: var(--gold); }
.formats strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(1.3rem, 1.1rem + 0.5vw, 1.6rem); line-height: 1.15; letter-spacing: -0.005em; }
.formats span { display: block; font-size: var(--step-small); line-height: 1.55; margin-top: 0.45rem; color: var(--ivory-2); max-width: 52ch; }
/* los datos de cada formato, como una línea fina separada por los rombos dorados de la web */
.formats .chips { gap: 0.35rem 0; margin-top: 0.7rem; }
.formats .chips li { display: inline-flex; align-items: center; padding: 0; border-radius: 0; background: none; font-size: var(--step-small); color: var(--ivory-3); }
.formats .chips li + li::before { content: ""; width: 0.32em; height: 0.32em; margin: 0 0.75em; transform: rotate(45deg); background: var(--gold); opacity: 0.8; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 0.75rem; }
.chips li { padding: 0.25rem 0.7rem; border-radius: 999px; background: var(--stage); font-size: var(--step-small); }
@keyframes band-in { from { opacity: 0; transform: translateY(12px); } }

/* Barra fija al bajar */
.bar { position: fixed; inset: 0 0 auto; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.6rem var(--margin); background: var(--black); transform: translateY(-100%); transition: transform 400ms var(--ease-out); }
.bar.is-on { transform: none; }
.bar__brand img { width: 112px; height: auto; }
.bar__nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.25rem); }

/* Logos de televisión en la portada */
.hero__seen { display: flex; align-items: center; gap: 1.25rem; }
.hero__seen p { font-size: var(--step-small); white-space: nowrap; }
.tv { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.75rem); }
.tv img { height: 26px; width: auto; opacity: 0.9; }
.tv .tv__rtve { height: 34px; }
.towns__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }

/* 6 · Ayuntamientos */
.towns { padding-top: 0; padding-inline: 0; }
.marquee { position: relative; overflow: hidden; height: 36vh; min-height: 14rem; display: flex; align-items: center; background: var(--velvet) url(../assets/img/telon.webp) center / cover; }
.marquee::before { content: ""; position: absolute; inset: 0; background: rgb(40 5 8 / 0.55); }
.marquee__track { position: relative; margin-left: -2vw; display: flex; width: max-content; font-family: var(--serif); font-size: 8vw; letter-spacing: -0.02em; white-space: nowrap; line-height: 1; color: var(--ivory); animation: marquee 70s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; }
.marquee__track span::after { content: ""; width: 0.14em; height: 0.14em; transform: rotate(45deg); background: var(--gold); margin: 0 0.5em; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (hover: hover) and (pointer: fine) { .marquee:hover .marquee__track { animation-play-state: paused; } }
.towns__line { padding: 1.5rem var(--margin) 0; max-width: 72ch; }
.towns__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); padding: var(--pad) var(--margin) 0; align-items: start; }
.towns__lead .lead { margin: 1.75rem 0 2.25rem; }
.towns__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.75rem var(--gutter); }
.towns__list li { display: grid; gap: 0.5rem; align-content: start; }
.towns__list li:first-child { grid-column: 1 / -1; padding: 1.75rem 2rem; background: var(--gold); color: var(--black); }
.towns__list h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 1.1rem + 0.9vw, 2rem); line-height: 1.1; letter-spacing: -0.01em; }

/* 7 · Sobre Pablo, en marfil */
.about__panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 1fr) minmax(0, 6fr); grid-template-rows: auto 1fr; column-gap: var(--gutter); }
.about__pic { grid-column: 1; grid-row: 1 / 3; }
.about__pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.about__h { grid-column: 3; grid-row: 1; color: var(--black); }
.about__text { grid-column: 3; grid-row: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem var(--gutter); align-content: start; margin-top: 3rem; }
.about__text h3 { font-size: var(--step-lead); margin-bottom: 0.75rem; font-family: var(--serif); font-weight: 400; }
.about__text .button { grid-column: 1 / -1; justify-self: start; background: var(--black); color: var(--ivory); }
@media (hover: hover) and (pointer: fine) { .about__text .button:hover { background: var(--velvet); } }

/* 8 · Cómo se contrata */
.steps__intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 1fr) minmax(0, 6fr); column-gap: var(--gutter); align-items: end; }
.steps__intro .lead { grid-column: 3; }
.accordion { display: flex; height: 520px; margin-top: 4rem; }
.acc { position: relative; flex: 0 0 9%; background: var(--bg); color: var(--ivory); overflow: hidden; transition: flex-basis 450ms var(--ease-in-out); }
.acc.is-open { flex: 1 1 auto; }
.acc__tab { position: absolute; inset: 0; width: 100%; display: flex; align-items: flex-end; padding: 1.25rem; }
.acc__tab span { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--serif); font-size: 1.6rem; }
.acc.is-open .acc__tab { pointer-events: none; visibility: hidden; }
.acc__body { position: absolute; inset: 0; padding: 2.25rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr auto; column-gap: 2rem; opacity: 0; visibility: hidden; transition: opacity 300ms ease; }
.acc.is-open .acc__body { opacity: 1; visibility: visible; transition-delay: 220ms; }
/* barra de progreso del paso abierto */
.acc__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.accordion.is-auto .acc.is-open .acc__bar { animation: acc-progress 5200ms linear forwards; }
.accordion.is-paused .acc__bar, .accordion.is-off .acc__bar { animation-play-state: paused !important; }
@keyframes acc-progress { to { transform: scaleX(1); } }
/* lo que entra en cada paso: título, texto y foto, escalonados */
.acc__body h3, .acc__body p, .acc__body img { opacity: 0; transform: translateY(18px); transition: opacity 500ms ease, transform 700ms var(--ease-expo); }
.acc__body img { transform: scale(1.06); transition: opacity 700ms ease, transform 1400ms var(--ease-soft); }
.acc.is-open .acc__body h3 { opacity: 1; transform: none; transition-delay: 300ms; }
.acc.is-open .acc__body p { opacity: 1; transform: none; transition-delay: 420ms; }
.acc.is-open .acc__body img { opacity: 1; transform: none; transition-delay: 260ms; }
.steps__ctrl { display: flex; justify-content: flex-end; margin-top: 1rem; }
.steps__pause { min-height: 2.75rem; padding: 0.4rem 1.1rem; border-radius: 999px; background: var(--stage-2); color: var(--ivory); font-size: var(--step-small); font-weight: 500; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.steps__pause:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .steps__pause:hover { background: var(--stage-3); } }
.acc__body h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.25rem, 1.2rem + 2.6vw, 3.75rem); line-height: 0.95; grid-column: 1; }
.acc__body p { grid-column: 1; grid-row: 3; max-width: 36ch; }
.acc__body img { grid-column: 2; grid-row: 1 / 4; height: 100%; width: auto; aspect-ratio: 9 / 16; object-fit: cover; }
@media (hover: hover) and (pointer: fine) { .acc:not(.is-open):hover { filter: brightness(1.25); } }

/* 9 · Reservar: la invitación en marfil */
.book { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.book__head { position: sticky; top: 2rem; }
.book__head .head { color: var(--black); }
.book__head .lead { margin-top: 1.5rem; }
.book__wa { margin-top: 1.5rem; }
.book__form { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--gutter); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cal { background: var(--ivory-2); padding: 1.4rem; align-self: start; }
.cal__bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.cal__month { font-family: var(--serif); font-size: var(--step-lead); }
.cal__nav { width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--black); color: var(--ivory); font-size: 1.05rem; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.cal__nav:active { transform: scale(0.92); }
@media (hover: hover) and (pointer: fine) { .cal__nav:not(:disabled):hover { background: var(--velvet); } }
.cal__nav:disabled { opacity: 0.3; cursor: default; }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal__dow { text-align: center; font-size: var(--step-small); padding-bottom: 0.25rem; }
.cal__day { aspect-ratio: 1; display: grid; place-items: center; font-size: var(--step-small); font-weight: 500; background: var(--ivory); color: var(--black); transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.cal__day:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .cal__day:not(:disabled):hover { background: #fff; } }
.cal__day:disabled { background: transparent; color: #8d8475; cursor: default; }
.cal__day.is-busy { background: var(--velvet); color: #d9a5a2; text-decoration: line-through; }
.cal__day.is-pick { background: var(--gold); color: var(--black); }
.cal__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1rem; margin-top: 1rem; }
.dot { display: inline-block; width: 0.8rem; height: 0.8rem; margin-right: -0.5rem; vertical-align: -0.05em; }
.dot--free { background: var(--ivory); } .dot--busy { background: var(--velvet); } .dot--pick { background: var(--gold); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-content: start; }
.field { display: grid; gap: 0.35rem; }
.field > span { font-size: var(--step-small); font-weight: 500; }
.field--full { grid-column: 1 / -1; }
.field[hidden] { display: none; }
.field input, .field select, .field textarea { width: 100%; min-height: 3rem; padding: 0.7rem 0.9rem; background: #fbf8f2; color: var(--black); border: 2px solid var(--ivory-3); border-radius: 0; font-size: 1rem; transition: border-color var(--t-hover) ease; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--black); }
.field input::placeholder, .field textarea::placeholder { color: #8d8475; }
.field.is-bad input, .field.is-bad select { border-color: var(--red); }
.field__err { display: none; font-style: normal; font-size: var(--step-small); color: #a3150f; }
.is-bad .field__err, .field__err.is-on { display: block; }
.check { display: flex; gap: 0.75rem; align-items: flex-start; font-size: var(--step-small); }
.check input { width: 1.4rem; height: 1.4rem; flex: none; accent-color: var(--velvet); margin: 0.1rem 0 0; }
.book__send { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 0.5rem; }
.book__done { grid-column: 1 / -1; background: var(--black); color: var(--ivory); padding: clamp(1.5rem, 4vw, 3rem); }
.book__done .lead { margin: 1rem 0 1.75rem; max-width: 46ch; }
.book__done .button--dark { background: var(--gold); color: var(--black); }

/* 10 · Contacto: tarjeta de presentación sobre el escenario */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(2rem, 6vw, 7rem); align-items: center; }
.contact__intro .lead { margin-top: 1.5rem; max-width: 30ch; }
.contact__who { display: flex; align-items: center; gap: 1rem; margin-top: 2.25rem; }
.contact__who img { width: 3.5rem; height: 3.5rem; border-radius: 50%; object-fit: cover; object-position: 50% 22%; flex: none; }
.contact__who p { display: grid; line-height: 1.3; }
.contact__who strong { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; }
.contact__who span { font-size: var(--step-small); color: var(--gold); }
.contact__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 2.25rem; }
.contact__list { display: grid; gap: 6px; }
.contact__list a, .contact__list li > div { display: grid; grid-template-columns: 8rem minmax(0, 1fr) 2.5rem; align-items: center; gap: 1.5rem; min-height: 6.5rem; padding: 1.25rem 1.75rem; background: var(--stage-2); text-decoration: none; transition: background-color var(--t-hover) ease; }
.contact__label { font-size: var(--step-small); color: var(--gold); }
.contact__value { font-family: var(--serif); font-size: clamp(1.5rem, 1rem + 1.5vw, 2.5rem); line-height: 1.05; letter-spacing: -0.01em; transition: color var(--t-hover) ease; }
.contact__go { justify-self: end; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--stage-3); color: var(--ivory); transition: transform var(--t-ui) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease; }
.contact__list a:active .contact__go { transform: scale(0.92); }
@media (hover: hover) and (pointer: fine) {
  .contact__list a:hover { background: var(--stage-3); }
  .contact__list a:hover .contact__value { color: var(--gold); }
  .contact__list a:hover .contact__go { background: var(--gold); color: var(--black); transform: translateX(4px); }
}

/* 11 · Preguntas */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: var(--gutter); align-items: start; }
.faq__h { position: sticky; top: 96px; }
.faq__list { display: grid; gap: 6px; }
.faq details { background: var(--stage-2); transition: background-color var(--t-ui) ease; }
.faq summary { position: relative; list-style: none; display: flex; align-items: center; min-height: 4.75rem; padding: 1rem 4rem 1rem 1.6rem; font-family: var(--serif); font-size: clamp(1.2rem, 1.05rem + 0.4vw, 1.45rem); cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 1.75rem; top: 50%; width: 16px; height: 2px; margin-top: -1px; background: var(--gold); transition: transform var(--t-ui) var(--ease-out); }
.faq summary::before { transform: rotate(90deg); }
.faq details[open] { background: var(--velvet); }
.faq details[open] summary::before { transform: rotate(0deg); }
.faq details p { padding: 0 1.6rem 1.6rem; max-width: 54ch; }
@media (hover: hover) and (pointer: fine) { .faq details:not([open]):hover { background: var(--stage-3); } }

/* 12 · Pie */
.foot { padding-top: 5rem; overflow: hidden; }
.foot__name { font-family: var(--serif); font-size: clamp(3.5rem, 15vw, 15rem); letter-spacing: -0.04em; line-height: 0.9; white-space: nowrap; }
.foot__row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gutter); margin-top: 4.5rem; }
.foot__places { display: grid; gap: 0.4rem; font-family: var(--serif); font-size: var(--step-lead); }
.foot__places a, .foot__cols a { text-decoration: none; transition: color var(--t-hover) ease; }
.foot__places a { color: var(--gold); }
.foot__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.foot__cols ul { display: grid; gap: 0.6rem; font-size: var(--step-small); align-content: start; }
@media (hover: hover) and (pointer: fine) { .foot__places a:hover { color: var(--ivory); } .foot__cols a:hover { color: var(--gold); } }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 6rem; }
.foot__legal a { color: var(--ivory); }

/* Chat: lo único que flota */
.chat { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 40; }
.chat__open { display: flex; align-items: center; gap: 0.6rem; min-height: 3.5rem; padding: 0.5rem 1.3rem 0.5rem 1rem; border-radius: 999px; background: var(--gold); color: var(--black); font-weight: 600; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.chat__open:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .chat__open:hover { background: var(--gold-2); } }
.chat__open[aria-expanded="true"] { display: none; }
.chat__panel { width: min(24rem, calc(100vw - 2rem)); height: min(36rem, calc(100svh - 2rem)); display: flex; flex-direction: column; background: var(--ivory); color: var(--black); border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgb(0 0 0 / 0.45); /* taste-skill-ignore: panel flotante */ transform-origin: bottom right; animation: chat-in 260ms var(--ease-out); }
.chat__panel[hidden] { display: none; }
@keyframes chat-in { from { opacity: 0; transform: scale(0.94) translateY(8px); } }
.chat__head { display: flex; align-items: center; gap: 0.75rem; padding: 0.9rem 1rem; background: var(--black); color: var(--ivory); }
.chat__head img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; }
.chat__head div { display: grid; line-height: 1.2; flex: 1; }
.chat__head strong { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; }
.chat__head span { font-size: var(--step-small); color: var(--gold); }
.chat__close { width: 2.75rem; height: 2.75rem; font-size: 1.75rem; line-height: 1; border-radius: 50%; }
@media (hover: hover) and (pointer: fine) { .chat__close:hover { background: var(--stage-3); } }
.chat__log { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 1rem; display: flex; flex-direction: column; gap: 0.6rem; }
.msg { max-width: 85%; padding: 0.65rem 0.9rem; border-radius: 16px; font-size: 0.975rem; line-height: 1.4; animation: msg-in 260ms var(--ease-out); }
.msg--bot { background: var(--ivory-2); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg--me { background: var(--black); color: var(--ivory); align-self: flex-end; border-bottom-right-radius: 4px; }
.msg a { font-weight: 600; }
.msg--typing { display: flex; gap: 4px; }
.msg--typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--black); opacity: 0.4; animation: dot 900ms infinite; }
.msg--typing i:nth-child(2) { animation-delay: 150ms; } .msg--typing i:nth-child(3) { animation-delay: 300ms; }
@keyframes dot { 50% { opacity: 1; transform: translateY(-3px); } }
@keyframes msg-in { from { opacity: 0; transform: translateY(6px); } }
.chat__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 1rem 0.75rem; }
.chat__chips button { padding: 0.45rem 0.85rem; border-radius: 999px; background: var(--black); color: var(--ivory); font-size: var(--step-small); transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.chat__chips button:active { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) { .chat__chips button:hover { background: var(--velvet); } }
.chat__form { display: flex; gap: 0.5rem; padding: 0.75rem; background: var(--ivory-2); }
.chat__form input { flex: 1; min-width: 0; min-height: 2.9rem; padding: 0.6rem 0.9rem; border: 0; border-radius: 999px; background: #fff; font-size: 1rem; }
.chat__form input:focus { outline: 2px solid var(--black); }
.chat__form button { width: 2.9rem; height: 2.9rem; border-radius: 50%; background: var(--velvet); color: var(--ivory); font-size: 1.2rem; flex: none; }

/* Reproductor */
.player { width: min(26rem, 92vw); padding: 0; border: 0; background: var(--black); color: var(--ivory); overflow: visible; }
.player::backdrop { background: rgb(10 10 12 / 0.9); }
.player video { width: 100%; max-height: 80svh; background: #000; }
.player__title { padding: 0.75rem 0; font-family: var(--serif); font-size: 1.2rem; }
.player__close { position: absolute; top: -3.25rem; right: 0; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--ivory); color: var(--black); font-size: 1.6rem; line-height: 1; }
.player[open] { animation: chat-in 260ms var(--ease-out); }

/* Entradas por sección */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 800ms ease, transform var(--t-reveal) var(--ease-expo); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .intro .statement[data-reveal] { transition-delay: 90ms; } .js .figures[data-reveal] { transition-delay: 180ms; }
  .js .intro__pic--b[data-reveal] { transition-delay: 160ms; }
  .js .work__head .lead[data-reveal], .js .about__text[data-reveal], .js .towns__list[data-reveal] { transition-delay: 120ms; }
  .js .intro__pic[data-reveal] img { transform: scale(1.08); transition: transform 1400ms var(--ease-soft); }
  .js .intro__pic[data-reveal].is-in img { transform: none; }
  .js .work .tile { opacity: 0; transform: translateY(28px); transition: opacity 800ms ease, transform var(--t-reveal) var(--ease-expo); }
  .js .work .tile.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; }
}

/* Tableta */
@media (max-width: 64em) {
  .bill { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .poster { aspect-ratio: 4 / 4.4; }
  .ficha { grid-template-columns: minmax(0, 1fr); }
  .hero__seen p { display: none; }
  .contact { grid-template-columns: minmax(0, 1fr); row-gap: 3rem; }
  .hero__text { max-width: 50%; }
  .hero__pablo { right: -8vw; height: min(80svh, 58vw); }
  .about__panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .about__h, .about__text { grid-column: 2; }
  .about__text { grid-template-columns: minmax(0, 1fr); }
  .book { grid-template-columns: minmax(0, 1fr); row-gap: 2.5rem; }
  .book__head { position: static; }
  .reel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--feature { grid-column: 1 / -1; grid-row: auto; }
  .tile--feature .tile__img { flex: none; aspect-ratio: 4 / 5; }
}

/* Móvil: composición propia */
@media (max-width: 47.99em) {
  :root { --pad: 4.5rem; }
  .top { padding-top: 0.9rem; }
  .hero { align-items: start; padding-top: 7.5rem; padding-bottom: 0; min-height: 100svh; }
  .hero__text { max-width: none; }
  .hero__title { font-size: 17vw; }
  .hero__sub { margin-top: 1.25rem; font-size: 1.125rem; max-width: 28ch; }
  .hero__actions { margin-top: 1.5rem; }
  .hero__pablo { height: auto; width: 108vw; right: -22vw; bottom: 0; }
  .hero__spot { -webkit-mask-image: radial-gradient(ellipse 60% 40% at 60% 80%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 60% 40% at 60% 80%, #000 30%, transparent 75%); } /* taste-skill-ignore: máscara del foco */
  .hero__seen { display: none; }
  .program__head { grid-template-columns: minmax(0, 1fr); row-gap: 1.25rem; }
  .program__head .lead { justify-self: start; }
  .bill { gap: 10px; margin-top: 2rem; }
  .poster { aspect-ratio: 3 / 4; border-radius: 999px 999px 14px 14px; }
  .poster__text { left: 0.9rem; right: 0.9rem; bottom: 3.4rem; }
  .poster__name { font-size: 1.35rem; }
  .poster__tag { display: none; }
  .poster__open { left: 0.9rem; bottom: 0.9rem; min-height: 2rem; font-size: var(--step-small); padding: 0.25rem 0.8rem; }
  .poster.is-on { transform: translateY(-4px); outline-offset: 3px; }
  .formats > li { grid-template-columns: minmax(0, 1fr); gap: 0.5rem; padding: 1.35rem 0; }
  .formats b { font-size: 1.35rem; }
  .bar__brand img { width: 96px; }
  .intro { grid-template-columns: minmax(0, 1fr); row-gap: 3rem; }
  .figures div { grid-template-columns: 5rem minmax(0, 1fr); gap: 1rem; padding: 1rem 0; }
  .figures dt { font-size: 1.9rem; }
  .figures dd { font-size: 1rem; }
  .intro__pic--b { margin-top: -2rem; }
  .intro__pic--b img { outline-width: 6px; }
  .trick { grid-template-columns: minmax(0, 1fr); row-gap: 2rem; }
  .cards { margin-left: 0; gap: 0.6rem; }
  .trick__controls { margin-left: 0; }
  .work__head { grid-template-columns: minmax(0, 1fr); row-gap: 1.25rem; }
  .work__head .lead { justify-self: start; }
  .reel { gap: 1.75rem 10px; margin-top: 2.5rem; }
  .tile__cap { flex-direction: column; gap: 0.2rem; }
  .tile__cap span:first-child { font-size: 1.1rem; }
  .marquee { height: 24vh; min-height: 10rem; }
  .marquee__track { font-size: 15vw; }
  .towns__line { padding-inline: 20px; }
  .towns__grid { grid-template-columns: minmax(0, 1fr); row-gap: 2.5rem; }
  .towns__list { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .towns__list li:first-child { padding: 1.25rem; }
  .about__panel { grid-template-columns: minmax(0, 1fr); }
  .about__h { grid-column: 1; grid-row: 1; }
  .about__pic { grid-column: 1; grid-row: 2; margin-top: 2rem; }
  .about__text { grid-column: 1; grid-row: 3; gap: 2rem; }
  .steps__intro { grid-template-columns: minmax(0, 1fr); row-gap: 1.25rem; }
  .steps__intro .lead { grid-column: 1; }
  .accordion { flex-direction: column; height: auto; margin-top: 2.5rem; }
  .acc { flex: none; min-height: 4rem; }
  .acc.is-open { flex: none; }
  .acc__tab { position: relative; inset: auto; min-height: 4rem; align-items: center; }
  .acc__tab span { writing-mode: horizontal-tb; transform: none; font-size: 1.3rem; }
  .acc.is-open .acc__tab { display: none; }
  .acc__body { position: relative; inset: auto; min-width: 0; display: none; grid-template-columns: minmax(0, 1fr); padding: 1.25rem; row-gap: 0.75rem; }
  .acc.is-open .acc__body { display: grid; }
  .acc__body h3 { font-size: 2rem; }
  .acc__body p { grid-row: auto; }
  .acc__body img { grid-column: 1; grid-row: auto; width: 100%; height: 14rem; aspect-ratio: auto; }
  .book__form { grid-template-columns: minmax(0, 1fr); }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .contact { grid-template-columns: minmax(0, 1fr); row-gap: 3rem; }
  .contact__list a, .contact__list li > div { grid-template-columns: minmax(0, 1fr) 2.5rem; gap: 0.25rem 1rem; min-height: 5.5rem; padding: 1rem 1.1rem; }
  .contact__label { grid-column: 1; grid-row: 1; }
  .contact__value { grid-column: 1; grid-row: 2; font-size: 1.6rem; }
  .contact__go { grid-column: 2; grid-row: 1 / 3; }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .faq__h { position: static; margin-bottom: 2rem; }
  .faq summary { min-height: 4rem; padding: 1rem 3.5rem 1rem 1.1rem; }
  .faq summary::before, .faq summary::after { right: 1.25rem; }
  .faq details p { padding: 0 1.1rem 1.25rem; font-size: 1rem; }
  .foot__name { font-size: 18vw; }
  .foot__row { grid-template-columns: minmax(0, 1fr); row-gap: 2.5rem; }
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.5rem; }
  .foot__legal { margin-top: 3.5rem; padding-bottom: 5rem; }
  .chat__open span { display: none; }
  .chat__open { padding: 0; width: 3.5rem; justify-content: center; }
}

/* Curvas: las fotos y los paneles dejan de ser cajas rectas.
   Fotos y vídeos con esquinas amplias; los dos retratos principales en arco de teatro. */
:root { --r-media: 20px; --r-panel: 14px; --r-small: 10px; --arch: 999px 999px var(--r-media) var(--r-media); }
.intro__pic img, .tile__img, .player video { border-radius: var(--r-media); }
.intro__pic--b img { border-radius: var(--r-media); }
.tile--feature .tile__img, .about__pic img { border-radius: var(--arch); }
.accordion { border-radius: var(--r-panel); overflow: hidden; }
.acc__body img { border-radius: var(--r-small); }
.card { border-radius: 12px; }
.towns__list li:first-child, .contact__list a, .contact__list li > div, .faq details { border-radius: var(--r-small); }
.cal, .book__done { border-radius: var(--r-panel); }
.cal__day { border-radius: 8px; }
.field input, .field select, .field textarea { border-radius: var(--r-small); }
.tile__play { transition: transform var(--t-ui) var(--ease-out), background-color var(--t-hover) ease; }
@media (max-width: 47.99em) {
  :root { --r-media: 16px; --r-panel: 12px; }
  .tile--feature .tile__img { border-radius: 999px 999px var(--r-media) var(--r-media) / 220px 220px var(--r-media) var(--r-media); }
}
/* el botón del vídeo protagonista baja para no quedar fuera del arco */
.tile--feature .tile__play { top: auto; bottom: 4.75rem; }
/* los botones centran su contenido en vertical: las fotos pequeñas se alinean arriba */
.reel { align-items: start; }
.tile--feature { align-self: stretch; }
/* el vídeo protagonista ocupa el alto de las dos filas, sin estirarlas */
@media (min-width: 64.01em) {
  .tile--feature .tile__img { position: relative; }
  .tile--feature .tile__img video { position: absolute; inset: 0; }
}
/* cada logo de televisión a su tamaño óptico */
.tv img { height: 30px; }
.tv img[alt="Got Talent España"] { height: 34px; }
.tv .tv__rtve { height: 30px; }
/* con la barra fija, los enlaces internos no dejan el título debajo de ella */
section[id], .ficha { scroll-margin-top: 84px; }
:root { --pad: clamp(4.5rem, 8vw, 8rem); }
@media (max-width: 47.99em) { :root { --pad: 4rem; } }
/* fotos de «Cómo se contrata»: cada una con su encuadre, y en el móvil en vertical para que no se corten */
.acc__body img { object-position: var(--pos, 50% 50%); }
@media (max-width: 47.99em) {
  .acc__body img { height: auto; aspect-ratio: 4 / 5; }
  /* el botón del chat ocupa la esquina derecha: el de pausa va a la izquierda */
  .steps__ctrl { justify-content: flex-start; }
}
/* iPhone: la página no se desplaza de lado, no amplía el texto al girar y no hace zoom con un doble toque */
html { overflow-x: clip; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; touch-action: manipulation; }

/* El chat se aparta mientras el formulario de reserva está en pantalla, para no tapar campos */
.chat { transition: opacity var(--t-ui) ease, transform var(--t-ui) var(--ease-out); }
.chat.is-away { opacity: 0; transform: translateY(1rem); pointer-events: none; }

/* ===================== Rediseño para vender (20 nov 2026) ===================== */

/* Aviso de temporada en la portada */
.hero__season { display: inline-flex; align-items: center; gap: 0.5em; margin-bottom: 1.5rem; padding: 0.45rem 1rem; border: 1px solid rgb(212 162 76 / 0.6); border-radius: 999px; background: rgb(10 10 12 / 0.55); color: var(--gold-2); font-size: var(--step-small); font-weight: 600; text-decoration: none; backdrop-filter: blur(6px); transition: background-color var(--t-hover) ease, color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .hero__season:hover { background: var(--gold); color: var(--black); } }

/* «Visto en»: la prueba social se tiene que ver */
.hero__seen p { text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; color: var(--gold-2); }
.tv img { height: 34px; opacity: 1; }
.tv img[alt="Got Talent España"] { height: 40px; }
.tv .tv__rtve { height: 36px; }

/* Cartelera de funciones */
.billboard__head, .shows__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem var(--gutter); align-items: end; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.dates { display: grid; gap: 8px; padding: 0; list-style: none; }
.date { display: grid; grid-template-columns: 6rem 4.5rem minmax(0, 1fr) auto; align-items: center; gap: clamp(1rem, 2.5vw, 2rem); padding: 1rem clamp(1rem, 2.5vw, 1.75rem); background: var(--stage-2); border-left: 3px solid var(--gold); border-radius: 0 14px 14px 0; }
.date__day { display: grid; justify-items: center; line-height: 1; color: var(--gold); text-transform: uppercase; font-size: var(--step-small); font-weight: 600; letter-spacing: 0.08em; }
.date__day b { font-family: var(--serif); font-weight: 400; font-size: 3rem; letter-spacing: -0.02em; color: var(--ivory); margin: 0.15rem 0; }
.date__img { width: 4.5rem; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border-radius: 6px; }
.date__info h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 1rem + 1vw, 2rem); line-height: 1.05; }
.date__info p { margin-top: 0.35rem; color: var(--ivory-3); }
.date__demo { display: inline-block; margin-top: 0.5rem; padding: 0.1rem 0.55rem; border-radius: 999px; background: #f6d98f; color: var(--black); font-size: 0.75rem; font-weight: 600; }
.date__soon { color: var(--ivory-3); font-size: var(--step-small); font-weight: 600; }

/* Espectáculos para contratar */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 2rem; }
.filter { min-height: 2.75rem; padding: 0.5rem 1.1rem; border-radius: 999px; border: 1px solid var(--stage-3); background: var(--stage-2); font-weight: 500; transition: background-color var(--t-hover) ease, color var(--t-hover) ease, border-color var(--t-hover) ease; }
.filter.is-on { background: var(--ivory); color: var(--black); border-color: var(--ivory); }
@media (hover: hover) and (pointer: fine) { .filter:not(.is-on):hover { border-color: var(--gold); } }
.showgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: var(--gutter); padding: 0; list-style: none; }
.show { display: flex; flex-direction: column; background: var(--stage-2); border-radius: 18px; overflow: hidden; }
.show__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--black); }
.show__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 600ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .show:hover .show__img img { transform: scale(1.04); } }
.show__dura { position: absolute; top: 0.75rem; right: 0.75rem; padding: 0.2rem 0.65rem; border-radius: 999px; background: rgb(10 10 12 / 0.75); color: var(--gold-2); font-weight: 600; font-size: var(--step-small); }
.show__body { display: flex; flex-direction: column; flex: 1; gap: 0.6rem; padding: 1.25rem 1.25rem 1.4rem; }
.show__body h3 { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; line-height: 1.05; }
.show__body > p:not(.show__price) { color: var(--ivory-3); font-size: 1rem; }
.show__body .chips { margin-top: 0; }
.show__price { margin-top: auto; padding-top: 0.5rem; color: var(--gold-2); font-weight: 600; }
.show__price b { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; color: var(--ivory); }
.show__body .button { align-self: stretch; }
.shows__note { margin-top: 2rem; max-width: 60ch; color: var(--ivory-3); }

/* Reserva: pasos, detalles opcionales y señal */
.book__steps { display: grid; gap: 0.5rem; margin-top: 1.5rem; padding: 0; list-style: none; counter-reset: paso; }
.book__steps li { display: flex; align-items: center; gap: 0.75rem; counter-increment: paso; }
.book__steps li::before { content: counter(paso); display: grid; place-items: center; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--black); color: var(--ivory); font-weight: 600; font-size: var(--step-small); }
.more { border-top: 1px solid var(--ivory-3); border-bottom: 1px solid var(--ivory-3); }
.more summary { cursor: pointer; padding: 0.9rem 0; font-weight: 600; list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: "+"; display: inline-block; width: 1.25rem; font-weight: 400; }
.more[open] summary::before { content: "−"; }
.more__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding-bottom: 1.25rem; }
.more__fields .field--full { grid-column: 1 / -1; }
.book__send .small { max-width: 30ch; color: #5a564f; }
.deposit { margin: 0 0 1.5rem; padding: 1.25rem 1.4rem; border: 1px solid var(--gold); border-radius: 14px; background: rgb(212 162 76 / 0.08); }
.deposit__title { font-family: var(--serif); font-size: 1.6rem; line-height: 1.1; color: var(--gold-2); margin-bottom: 0.5rem; }
.deposit .button { margin-top: 1rem; white-space: normal; text-align: center; }
.deposit__fine { margin-top: 0.75rem; color: var(--ivory-3); }

/* Barra fija en móvil: WhatsApp + Reservar */
.dock { display: none; }
@media (max-width: 47.99em) {
  .dock { position: fixed; z-index: 35; left: 0.75rem; right: 0.75rem; bottom: max(0.75rem, env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 6px; border-radius: 999px; background: rgb(10 10 12 / 0.92); box-shadow: 0 12px 32px rgb(0 0 0 / 0.45); backdrop-filter: blur(8px); transform: translateY(160%); transition: transform var(--t-ui) var(--ease-out); }
  .dock.is-on { transform: none; }
  .dock.is-away { transform: translateY(160%); }
  .dock a { display: flex; align-items: center; justify-content: center; gap: 0.45rem; min-height: 3rem; border-radius: 999px; font-weight: 600; text-decoration: none; }
  .dock__wa { background: #25d366; color: #06301a; }
  .dock__book { background: var(--gold); color: var(--black); }
  .chat { bottom: calc(max(0.75rem, env(safe-area-inset-bottom)) + 4.5rem); }
  .billboard__head, .shows__head { grid-template-columns: 1fr; }
  .date { grid-template-columns: 4.25rem minmax(0, 1fr); grid-template-areas: "day info" "cta cta"; }
  .date__day { grid-area: day; } .date__info { grid-area: info; } .date__cta { grid-area: cta; } .date__img { display: none; }
  .date__cta .button { width: 100%; }
  .more__fields { grid-template-columns: 1fr; }
  .tv img { height: 26px; } .tv img[alt="Got Talent España"] { height: 30px; } .tv .tv__rtve { height: 28px; }
}
.book__done .head { font-family: var(--serif); font-weight: 400; font-size: clamp(2.25rem, 1.6rem + 2vw, 3.25rem); }
.dock__chat { display: none; }
@media (max-width: 47.99em) {
  .dock { grid-template-columns: 3rem 1fr 1.3fr; }
  .dock__chat { display: grid; place-items: center; min-height: 3rem; border-radius: 999px; background: var(--stage-3); color: var(--ivory); }
  .chat { bottom: max(0.75rem, env(safe-area-inset-bottom)); }
  .chat__open { display: none; }
  /* los filtros bajan a otra línea en vez de cortarse en el borde */
  .filters { gap: 8px; }
  .ch { padding-bottom: calc(var(--pad) + 3rem); }
}
@media (max-width: 47.99em) {
  .dock__chat { order: -1; }
  .dock.is-chat { transform: translateY(160%); }
}

/* redes sociales en el pie: dos iconos finos, a juego con el dorado de la web */
.foot__reach { display: grid; gap: 1.75rem; align-content: start; }
.foot__social { display: flex; gap: 0.75rem; }
.foot__social a { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid rgb(212 162 76 / 0.55); color: var(--gold); transition: background-color var(--t-hover) ease, color var(--t-hover) ease, border-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.foot__social a:active { transform: scale(0.94); }
.foot__social svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.foot__social .dot { fill: currentColor; stroke: none; }
@media (hover: hover) and (pointer: fine) { .foot__social a:hover { background: var(--gold); border-color: var(--gold); color: var(--black); } }

/* Got Talent: franja destacada al final de «En escena», sin reproductor insertado (Vimeo no lo permite) */
.gt { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(1.25rem, 3vw, 3rem); margin-top: clamp(3rem, 6vw, 5rem); padding: clamp(1.5rem, 3vw, 2.25rem) 0; border-block: 1px solid rgb(212 162 76 / 0.35); color: var(--ivory); text-decoration: none; }
.gt__logo { width: auto; height: clamp(2.25rem, 1.6rem + 1.6vw, 3.25rem); }
.gt__text { display: grid; gap: 0.4rem; }
.gt__text strong { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.4rem); line-height: 1.08; letter-spacing: -0.01em; transition: color var(--t-hover) ease; }
.gt__text span { font-size: var(--step-small); color: var(--ivory-3); }
.gt__play { position: relative; display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%; background: var(--gold); color: var(--black); transition: transform var(--t-ui) var(--ease-out); }
.gt__play svg { width: 1.5rem; height: 1.5rem; margin-left: 0.2rem; fill: currentColor; }
/* el único movimiento: un halo dorado que late despacio para que se vea que hay vídeo */
.gt__play::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid var(--gold); opacity: 0; }
@media (prefers-reduced-motion: no-preference) { .gt__play::before { animation: gt-halo 2.8s var(--ease-out) infinite; } }
@keyframes gt-halo { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.6); opacity: 0; } }
.gt:active .gt__play { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .gt:hover .gt__text strong { color: var(--gold); } .gt:hover .gt__play { transform: scale(1.06); } }
.gt:focus-visible { outline-offset: 6px; }
.tv__link { display: block; transition: opacity var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .tv__link:hover { opacity: 0.75; } }
@media (max-width: 47.99em) {
  .gt { grid-template-columns: minmax(0, 1fr) auto; row-gap: 1rem; }
  .gt__logo { grid-column: 1 / -1; height: 2rem; }
  .gt__play { width: 3.25rem; height: 3.25rem; }
}

/* ---------- Movimiento (20 nov 2026): títulos, preguntas y reserva enviada ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* los títulos suben desde el borde del escenario: el recorte hace de suelo */
  .js .rise { clip-path: inset(100% -0.1em -0.25em -0.1em); transform: translateY(0.45em); transition: clip-path 1000ms var(--ease-expo), transform 1000ms var(--ease-expo); }
  .js .rise.is-in { clip-path: inset(-0.2em -0.1em -0.25em -0.1em); transform: none; }
  /* preguntas frecuentes: se abren y cierran deslizando (en navegadores sin soporte, al instante) */
  .faq { interpolate-size: allow-keywords; }
  .faq details { transition: background-color 280ms ease; }
  .faq details::details-content { height: 0; overflow: clip; transition: height 320ms var(--ease-out), content-visibility 320ms allow-discrete; }
  .faq details[open]::details-content { height: auto; }
  /* reserva enviada */
  .book__done:not([hidden]) { animation: done-in 560ms var(--ease-out) both; }
}
@keyframes done-in { from { opacity: 0; transform: translateY(14px) scale(0.98); } }
.book__done { position: relative; }
.spark { position: absolute; width: 7px; height: 7px; background: var(--gold); pointer-events: none; transform: translate(-50%, -50%) rotate(45deg); }

/* ===================== Limpieza de lo que sonaba a plantilla (20 nov 2026) ===================== */
/* «Visto en» en frase normal, no en mayúsculas espaciadas */
.hero__seen p { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--ivory); font-size: 1rem; }
/* tarjetas de contacto: sin flecha, la tarjeta entera ya es el enlace */
.contact__list a, .contact__list li > div { grid-template-columns: 8rem minmax(0, 1fr); }
/* el asistente: un botón redondo con la chistera */
.chat__open { width: 3.5rem; height: 3.5rem; padding: 0; justify-content: center; }
/* espectáculos: el cartel de cada uno, sin caja alrededor */
.show { background: none; border-radius: 0; overflow: visible; }
.show__img { border-radius: var(--r-media); }
.show__body { padding: 1rem 0 0; gap: 0.5rem; }
.show__body h3 { font-size: clamp(1.4rem, 1.2rem + 0.5vw, 1.7rem); }
.show__body .textlink { margin-top: auto; padding-top: 0.5rem; align-self: start; color: var(--gold-2); }
@media (max-width: 47.99em) {
  .contact__list a, .contact__list li > div { grid-template-columns: minmax(0, 1fr); }
}
.towns__list p { margin: 0; }

/* ---------- Pautas de interfaz (20 nov 2026) ---------- */
/* la página es oscura: barras de desplazamiento y controles nativos a juego; la reserva es clara */
html { color-scheme: dark; }
.book, .about, .chat__panel { color-scheme: light; }
/* la franja de pueblos la mueve el scroll (main.js), no una animación infinita */
.marquee__track { will-change: transform; }

/* ---------- Datos que faltan (prueba con datos extremos, 20 nov 2026) ---------- */
/* sin cartel: la firma de Pablo sobre el terciopelo, en el mismo hueco que ocuparía la imagen */
.noposter { display: grid; place-items: center; width: 100%; height: 100%; background: var(--velvet); }
.noposter img { width: 62%; height: auto; opacity: 0.9; }
@media (min-width: 48em) { .date__img:has(.noposter) { display: block; aspect-ratio: 3 / 4; overflow: hidden; } }
.show__img .noposter img { width: 46%; }
/* la línea del lugar y la de la hora y el precio, por separado */
.date__info p + p { margin-top: 0.1rem; }

/* ---------- Sensación de app en el móvil (21 nov 2026) ---------- */
/* mantener el dedo sobre un control no selecciona su texto ni abre el menú de copiar; el contenido sigue siendo seleccionable */
button, .button, .filter, .poster, .tile, .cal__day, .cal__nav, .dock a, .dock button, .chat__open, .chat__chips button, .steps__pause, .gt, .foot__social a {
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}

/* ---------- Pulido de diseño (21 nov 2026) ---------- */
/* títulos sin una palabra sola en la última línea */
h3 { text-wrap: balance; }
/* separadores de los formatos: el rombo de inicio de línea queda fuera de la caja y no se ve */
.formats .chips { font-size: var(--step-small); margin-left: -1.82em; clip-path: inset(-0.5em -0.5em -0.5em 1.82em); }
.formats .chips li::before, .formats .chips li + li::before { content: ""; flex: none; width: 0.32em; height: 0.32em; margin: 0 0.75em; transform: rotate(45deg); background: var(--gold); opacity: 0.8; }
/* pies de los vídeos: título arriba y lugar debajo, igual en todos */
.tile__cap { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
/* la factura al ayuntamiento, destacada solo con el título en dorado: sin bloque macizo ni recuadro */
.towns__list li:first-child { background: none; color: inherit; padding: 0; }
.towns__list li:first-child h3 { color: var(--gold-2); }
/* desplegables del formulario: en el iPhone, con la misma altura y forma que los demás campos */
.field select { -webkit-appearance: none; appearance: none; padding-right: 2.6rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230a0a0c' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.95rem center; background-size: 12px 8px; }
@media (max-width: 47.99em) {
  /* portada: el texto se lee aunque pase por delante de la chistera */
  .hero__sub, .hero__actions .textlink { text-shadow: 0 1px 2px rgb(10 10 12 / 0.75), 0 0 22px rgb(10 10 12 / 0.7); }
  /* el nombre del pie cabe entero en el ancho del móvil */
  .foot__name { font-size: 16vw; }
}

/* ---------- Estados al usar la web (21 nov 2026) ---------- */
/* tras enviar la reserva, el primer paso queda marcado como hecho */
.book__steps li.is-done::before { content: "✓"; background: var(--gold); color: var(--black); }
/* vídeo en grande: deja sitio arriba para la X y abajo para el título */
.player video { max-height: calc(100svh - 14rem); }
@media (max-width: 47.99em) {
  /* la barra fija no repite «Reservar»: ya está abajo, en el dock */
  .bar .button { display: none; }
  /* el chat se abre como una hoja desde abajo, con la página en penumbra detrás */
  .chat:has(.chat__panel:not([hidden]))::before { content: ""; position: fixed; inset: 0; background: rgb(10 10 12 / 0.6); animation: velo-in 260ms ease both; }
  .chat__panel { position: fixed; left: 0; right: 0; bottom: 0; width: auto; height: min(40rem, calc(100svh - 3.5rem)); padding-bottom: env(safe-area-inset-bottom); border-radius: 20px 20px 0 0; transform-origin: bottom center; animation: hoja-in 320ms var(--ease-out); }
}
@keyframes velo-in { from { opacity: 0; } }
@keyframes hoja-in { from { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) { .chat__panel, .chat::before { animation: none; } }

/* ---------- Anchos intermedios: iPhone pequeño, iPad y portátil (21 nov 2026) ---------- */
/* leyenda del calendario: cuadradito y texto juntos */
.cal__key { display: inline-flex; align-items: baseline; gap: 0.45rem; }
.cal__key .dot { flex: none; margin-right: 0; }
/* el mes del calendario cabe en una línea entre las dos flechas, también cuando el calendario es estrecho */
.cal__month { white-space: nowrap; }
@supports (font-size: 1cqi) {
  .cal { container-type: inline-size; }
  .cal__month { font-size: min(var(--step-lead), 6.6cqi); }
}
/* iPad y portátil pequeño: «Para ayuntamientos» no cabía al lado de la lista; el texto va arriba y la lista debajo */
@media (min-width: 48em) and (max-width: 63.99em) {
  .towns__grid { grid-template-columns: minmax(0, 1fr); row-gap: 3rem; }
  .towns__lead { max-width: 38rem; }
}
/* iPad en vertical: Pablo más grande y el texto arriba, para que la portada no quede vacía */
@media (min-width: 48em) and (max-width: 74.99em) and (orientation: portrait) {
  .hero { align-items: start; padding-top: 9.5rem; }
  .hero__text { max-width: 58%; }
  .hero__pablo { height: min(64svh, 86vw); right: -22vw; }
  .hero__sub, .hero__actions .textlink { text-shadow: 0 1px 2px rgb(10 10 12 / 0.75), 0 0 22px rgb(10 10 12 / 0.7); }
}
@media (max-width: 47.99em) {
  /* iPhone pequeño: el nombre de cada tipo de fiesta cabe en su arco */
  .poster__name { font-size: clamp(1rem, 5.2vw, 1.35rem); }
}

/* ---------- Teclado (21 nov 2026) ---------- */
/* al moverse con el tabulador, lo que recibe el foco no queda debajo de la barra fija */
a, button, input, select, textarea, summary, [tabindex] { scroll-margin-top: 84px; scroll-margin-bottom: 1.5rem; }

/* ---------- Móvil en horizontal (21 nov 2026) ---------- */
/* pantallas bajas y anchas: la portada cabe entera, con el título a la medida de la altura y Pablo de pie a la derecha */
@media (orientation: landscape) and (max-height: 32em) {
  .hero { min-height: 100svh; align-items: center; padding-top: 4.5rem; padding-bottom: 1.25rem; }
  .hero__text { max-width: min(58%, 36rem); }
  .hero__title { font-size: min(var(--step-display), 18svh); }
  .hero__sub { margin-top: 0.8rem; font-size: 0.9375rem; line-height: 1.35; max-width: 46ch; }
  .hero__actions { margin-top: 0.9rem; }
  .hero__actions .button { min-height: 2.75rem; padding-block: 0.55rem; }
  .hero__pablo { width: auto; height: 94svh; right: max(2vw, env(safe-area-inset-right)); }
  .hero__seen { display: none; }
}
@media (max-width: 47.99em) and (orientation: landscape) {
  /* la barra de arriba sobra (el dock ya tiene todo) y el dock se recoge a la derecha: no tapa media pantalla */
  .bar { display: none; }
  .dock { left: auto; right: max(0.75rem, env(safe-area-inset-right)); grid-template-columns: 3rem auto auto; }
  .dock a { padding: 0 1.25rem; }
  /* el chat ocupa el alto entero y no se estira de lado a lado */
  .chat__panel { left: max(0px, calc(50% - 18rem)); right: max(0px, calc(50% - 18rem)); height: calc(100svh - 0.75rem); }
}

/* ---------- Hover y detalles de escritorio (21 nov 2026) ---------- */
/* cada espectáculo se pulsa entero (cartel incluido), no solo el enlace de abajo; el título se enciende al pasar el ratón */
.show { position: relative; }
.show .textlink::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.show h3 { transition: color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .show:hover h3 { color: var(--gold-2); } }

/* ---------- Zonas táctiles de 44 px (21 nov 2026) ---------- */
@media (pointer: coarse) {
  /* enlaces sueltos («Ver espectáculos», «Ficha técnica»…): más zona para el dedo sin mover nada de sitio */
  .textlink { padding-block: 0.6rem; margin-block: -0.6rem; }
  /* pie: cada enlace con su fila de 44 px */
  .foot__places, .foot__cols ul { gap: 0; }
  .foot__places a, .foot__cols a, .foot__legal > a { display: inline-flex; align-items: center; min-height: 44px; }
  .check { min-height: 44px; }
}
@media (max-width: 47.99em) {
  /* calendario: los días llegan a 44 px en un móvil normal */
  .cal { padding: 0.9rem; }
  .cal__grid { gap: 3px; }
}

/* ---------- Franja de pueblos en movimiento continuo (21 nov 2026) ---------- */
/* se mueve sola sin parar; el scroll le da un empujón extra (main.js, propiedad translate) y fuera de la pantalla se pausa */
.marquee.is-off .marquee__track { animation-play-state: paused; }

/* ---------- Vídeo en grande: la X junto al título en pantallas táctiles (21 nov 2026) ---------- */
/* en el iPhone la barra de estado y la de la dirección tapan la parte de arriba de la pantalla:
   la X va abajo, en la fila del título, que siempre se ve y queda a mano del pulgar */
@media (pointer: coarse) {
  .player__title { min-height: 3.6rem; padding: 0.85rem 3.75rem 0.85rem 0; }
  .player__close { top: auto; bottom: 0.45rem; right: 0; width: 2.75rem; height: 2.75rem; }
}
/* móvil en horizontal: el vídeo aprovecha el alto y deja sitio a la fila del título */
@media (orientation: landscape) and (max-height: 32em) {
  .player video { max-height: calc(100svh - 6rem); }
  .player__title { font-size: 1rem; }
}

/* ---------- Fotos reales en «Para ayuntamientos» (23 nov 2026) ---------- */
/* tres fotos de funciones de Pablo (las mandó él): una grande y dos apiladas. Sin cajas ni marcos: la foto sola, con su pie encima */
.towns__photos { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: 1fr 1fr; gap: var(--gutter); padding: clamp(3.5rem, 6vw, 6rem) var(--margin) 0; }
.towns__photo { position: relative; margin: 0; min-height: 0; overflow: hidden; border-radius: var(--r-media); background: var(--stage-2); }
.towns__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.towns__photo--a { grid-row: 1 / span 2; aspect-ratio: 4 / 3; }
.towns__photo--a img { object-position: 40% 50%; }
.towns__photo--b img, .towns__photo--c img { position: absolute; inset: 0; }
.towns__photo--b img { object-position: 50% 45%; }
.towns__photo--c img { object-position: 50% 100%; }
.towns__photo figcaption { position: absolute; inset: auto 0 0 0; padding: 3rem 1.1rem 0.85rem; font-size: var(--step-small); line-height: 1.3; color: var(--ivory); background: linear-gradient(to top, rgb(10 10 12 / 0.82), rgb(10 10 12 / 0)); pointer-events: none; }
@media (max-width: 47.99em) {
  /* en el móvil el pie va debajo de cada foto: encima taparía a Pablo en las fotos pequeñas */
  .towns__photos { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; gap: 1.25rem var(--gutter); padding-inline: 20px; padding-top: 3rem; }
  .towns__photo { overflow: visible; background: none; border-radius: 0; }
  .towns__photo--a { grid-column: 1 / -1; grid-row: auto; aspect-ratio: auto; }
  .towns__photo img, .towns__photo--b img, .towns__photo--c img { position: static; height: auto; border-radius: var(--r-media); }
  .towns__photo--a img { aspect-ratio: 4 / 3; }
  .towns__photo--b img, .towns__photo--c img { aspect-ratio: 1 / 1; }
  .towns__photo figcaption { position: static; padding: 0.6rem 0.15rem 0; background: none; color: var(--ivory-3); }
}
