:root {
  --cream: #F3EEE3;
  --ink: #0A0A0A;
  --red: #C8102E;
  --muted-light: #625C55;   /* texto secundario sobre crema */
  --muted-dark: #8A8A8A;    /* texto secundario sobre negro */
  --line-light: rgba(10, 10, 10, 0.15);
  --line-dark: rgba(243, 238, 227, 0.18);

  --font-display: 'Archivo Black', 'Arial Black', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --max-w: 1400px;
  --pad-x: clamp(1.25rem, 4vw, 4rem);
  /* Alto del nav: el más alto entre el logo y el botón hamburguesa (32px), + padding vertical */
  --logo-h: 36px;
  --nav-h: calc(max(var(--logo-h), 32px) + 2.5rem);
  /* Margen lateral de las bandas a ancho completo (el % se calcula donde se usa) */
  --band-pad: max(var(--pad-x), calc((100% - var(--max-w)) / 2 + var(--pad-x)));

  /* Alias viejos — se eliminan al terminar la migración */
  --bg: var(--ink);
  --fg: var(--cream);
  --muted: var(--muted-dark);
  --accent: var(--red);
  --line: var(--line-dark);
}

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

/* ============ UTILIDADES ============ */
/* El atributo hidden siempre oculta, aunque la clase defina display */
[hidden] { display: none !important; }

/* Solo para lectores de pantalla */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Fondos de sección */
.s-dark  { background: var(--ink);   color: var(--cream); }
.s-light { background: var(--cream); color: var(--ink); }

/* El fondo va de borde a borde; el contenido se queda dentro de --max-w */
section.s-dark,
section.s-light {
  max-width: none;
  padding-inline: var(--band-pad);
}

/* Tipografía */
.t-display { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: -0.01em; line-height: 0.95; }
.t-serif   { font-family: var(--font-serif); }
.t-italic  { font-family: var(--font-serif); font-style: italic; }

/* Botón píldora */
.pill {
  display: inline-block;
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  /* Para que también sirva en <button> y <label> */
  border: 0;
  background: none;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
}
.pill:hover { transform: translateY(-2px); }
.pill:disabled { opacity: 0.5; cursor: default; transform: none; }
.pill--solid-dark  { background: var(--ink);   color: var(--cream); }
.pill--solid-light { background: var(--cream); color: var(--ink); }
.pill--outline-dark  { border: 1.5px solid var(--ink);   color: var(--ink); }
.pill--outline-light { border: 1.5px solid var(--cream); color: var(--cream); }
.pill--red {
  padding: 16px 34px;
  background: var(--red);
  color: var(--cream);
  font-size: 0.9rem;
  transition: transform 0.2s, background 0.2s;
}
.pill--red:hover { background: #E0142F; }

/* ============ FOCO — TECLADO ============ */
:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--ink);
}

.logo {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  height: var(--logo-h);
}

@media (min-width: 768px) {
  :root {
    --logo-h: 44px;
  }
}

.logo img {
  height: 100%;
  width: auto;
  display: block;
}

/* ============ HAMBURGUESA ============ */
.nav-toggle {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--cream);
  transition: transform 0.25s, opacity 0.25s;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============ MENÚ A PANTALLA COMPLETA ============ */
body.nav-open {
  overflow: hidden;
}

.menu {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 8.5rem var(--pad-x) 1.5rem;
  background: var(--red);
  color: var(--cream);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0s linear 0.3s;
}

body.nav-open .menu {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s, visibility 0s;
}

.menu a {
  color: inherit;
  text-decoration: none;
}

body.nav-open .site-nav :focus-visible {
  outline-color: var(--ink);
}

.menu-links {
  list-style: none;
  margin: auto 0;
  padding-block: 1.5rem;
}

.menu-links a {
  display: block;
  padding: 0.35rem 0;
  transition: color 0.2s;
}

.menu-label {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  /* En celulares de menos de 390px, achica para que "CONCIERTOS" entre */
  font-size: min(clamp(2.5rem, 7vw, 5.5rem), 10.5vw);
  line-height: 1;
  text-align: left;
}

.menu-links a:hover,
.menu-links a:focus-visible {
  color: var(--ink);
}

.menu-foot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(243, 238, 227, 0.35);
  font-size: 0.75rem;
}

.menu-socials {
  display: flex;
  gap: 1.5rem;
}

.menu-foot a:hover {
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  .menu,
  body.nav-open .menu,
  .nav-toggle span {
    transition: none;
  }
}

main {
  padding-top: var(--nav-h);
}

/* Que los saltos a #ancla no queden tapados por el nav fijo */
section[id] {
  scroll-margin-top: var(--nav-h);
}

section {
  padding: 6rem var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 0.75rem;
}

.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 8rem;
  padding-bottom: 4rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(3.5rem, 12vw, 10rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}

.hero h1 .accent {
  color: var(--accent);
}

.hero-sub {
  max-width: 50ch;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--muted);
}

.upcoming {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.upcoming-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.event-card {
  display: flex;
  flex-direction: column;
}

.event-img {
  aspect-ratio: 4/5;
  background: #181818;
  border: 1px solid var(--line);
  overflow: hidden;
  margin-bottom: 2rem;
}

.event-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-card h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.event-meta {
  margin-bottom: 2rem;
}

.event-meta-row {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.event-meta-row:first-child {
  border-top: 1px solid var(--line);
}

.event-meta-row span:first-child {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  min-width: 5rem;
  padding-top: 0.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.75rem;
  background: var(--accent);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
  align-self: flex-start;
}

.btn:hover {
  transform: translateY(-2px);
  background: #E0142F;
}

.identity-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.identity-grid h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.identity-grid p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 55ch;
  line-height: 1.7;
}

.identity-grid p + p {
  margin-top: 1.25rem;
}

.cta {
  text-align: center;
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.cta p {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.75rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 20ch;
  margin: 0 auto 2.5rem;
}

.cta a.email {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  font-size: 1.1rem;
  text-decoration: none;
}

footer {
  border-top: 1px solid var(--line-dark);
  padding: 2rem var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  background: var(--ink);
  font-size: 0.75rem;
  color: var(--muted-dark);
  letter-spacing: 0.05em;
}

footer .socials {
  display: flex;
  gap: 1.5rem;
}

footer a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: var(--accent);
}

/* ============ PÁGINA DE EVENTO ============ */
.event-page {
  padding-top: 9rem;
  padding-bottom: 3rem;
}

.back-link {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 3rem;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--accent);
}

.event-page h1 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(3rem, 10vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}

.event-page h1 .accent {
  color: var(--accent);
}

.event-page-sub {
  max-width: 55ch;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--muted);
  line-height: 1.7;
}

/* ============ GALERÍA ============ */
.gallery {
  border-top: 1px solid var(--line);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  display: block;
  overflow: hidden;
  background: #181818;
  aspect-ratio: 3/4;
  cursor: pointer;
  border: none;
  padding: 0;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.95);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  display: block;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0 0 0.15rem;
  border: 1.5px solid var(--cream);
  border-radius: 50%;
  background: transparent;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--cream);
  color: var(--ink);
}

.lightbox :focus-visible {
  outline-color: var(--cream);
}

.lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
}

.lightbox-prev {
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1rem;
  font-variant-numeric: lining-nums;
  color: var(--muted-dark);
}

/* ============ GALERÍA — PRÓXIMAMENTE ============ */
.gallery-soon {
  border-top: 1px solid var(--line);
  text-align: center;
}

.gallery-soon p {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============ HECHO EN CR — ARTISTAS ============ */
.artist-section {
  border-top: 1px solid var(--line);
}

.artist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 3rem;
}

.artist-card {
  padding: 3rem 0;
  border-bottom: 1px solid var(--line);
}

.artist-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
}

.artist-info {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  flex: 1;
  min-width: 0;
}

.artist-photo {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.artist-name {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.artist-bio {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 50ch;
  line-height: 1.6;
}

.artist-socials {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
  padding-top: 0.25rem;
}

.social-link {
  color: var(--fg);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-link:hover {
  color: var(--accent);
}

.artist-show-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.show-photo {
  aspect-ratio: 1;
}

.artist-embeds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.placeholder-img {
  background: rgba(245, 242, 237, 0.04);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.placeholder-embed {
  background: rgba(245, 242, 237, 0.04);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============ NOSOTROS ============ */
.nos-block {
  border-top: 1px solid var(--line);
}

.nos-block h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.02em;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.nos-media {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.nos-img {
  aspect-ratio: 3/4;
}

.nos-body p {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 55ch;
  line-height: 1.75;
}

.nos-block > .nos-body {
  max-width: 800px;
  margin: 0 auto;
}

.nos-block > .nos-body p {
  max-width: none;
}

.nos-block > .stats-grid {
  max-width: 800px;
  margin: 0 auto 3rem;
}

.nos-block > .nos-countries {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.nos-body p + p {
  margin-top: 1.25rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 3rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 2rem 2rem 2rem 0;
  border-top: 1px solid var(--line);
}

.stat-number {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(3.5rem, 8vw, 6rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  line-height: 1.5;
  max-width: 18ch;
}

.nos-countries {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 60ch;
}

.nos-cierre {
  border-top: 1px solid var(--line);
  text-align: center;
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.nos-cierre p {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.25rem, 3vw, 2.25rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  max-width: 36ch;
  margin: 0 auto 2.5rem;
  color: var(--muted);
}

/* ============ CLUB ============ */
.club-layers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 3rem; }
.club-layer { padding: 2rem 0; border-top: 1px solid var(--line); }
.club-layer h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.25rem; letter-spacing: -0.01em; margin-bottom: 1rem; }
.club-layer ul { list-style: none; }
.club-layer li { font-size: 0.9rem; padding: 0.65rem 0; border-bottom: 1px solid var(--line); }
.club-layer li:last-child { border-bottom: none; }
.club-quote { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.2; letter-spacing: -0.02em; max-width: 24ch; margin-bottom: 1.25rem; }
.club-text { font-size: 1rem; color: var(--muted); max-width: 52ch; line-height: 1.7; }
.club-price { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.5rem, 8vw, 4rem); line-height: 1; letter-spacing: -0.03em; margin-bottom: 1.5rem; }
.club-price span { font-family: var(--font-body); font-weight: 400; text-transform: none; font-size: 1rem; color: var(--muted); letter-spacing: 0; }
.club-entrar { max-width: 620px; }

/* ============ ENCABEZADO DE SECCIÓN ============ */
.sec-head {
  margin-bottom: 3rem;
}

.sec-head h1,
.sec-head h2 {
  font-size: clamp(2.75rem, 8vw, 6rem);
  /* En celulares de menos de 390px, achica para que "CONCIERTOS" entre */
  font-size: min(clamp(2.75rem, 8vw, 6rem), 11.3vw);
}

.sec-head p {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  margin-top: 0.75rem;
}

.sec-head--split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.sec-more {
  text-align: center;
  margin-top: 3.5rem;
}

/* ============ CINTA (MARQUEE) ============ */
.marquee {
  overflow: hidden;
  background: var(--red);
  color: var(--cream);
  padding: 1.1rem 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.marquee-group {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: clamp(1.25rem, 3vw, 2rem);
  line-height: 1;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ============ HOME ============ */
/* Portada con carrusel: sube detrás del nav para ocupar toda la pantalla.
   Celular: una columna centrada. Escritorio (≥ 900px): flyer | información. */
.carousel {
  min-height: 100vh;
  min-height: 100svh;
  margin-top: calc(-1 * var(--nav-h));
  padding-top: calc(var(--nav-h) + 1.5rem);
  padding-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Todas las slides ocupan la misma celda y se cruzan con fundido */
.carousel-slides {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
}

.carousel-slide {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s;
}

.carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.carousel-flyer {
  flex: none;
  width: 66%;
  height: auto;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.55);
}

/* container-type permite que el título se achique según el ancho de esta columna */
.carousel-info {
  width: 100%;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
}

.carousel-info p {
  font-size: 1.05rem;
}

.carousel-info .carousel-muted {
  color: var(--muted-dark);
}

.carousel-info .carousel-series {
  font-size: 1.3rem;
  margin-top: 0.3rem;
}

/* El tope en cqi hace que "MOTHERFLOWERS" (una sola palabra) siempre entre en su columna */
.carousel-title {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-size: min(clamp(2.4rem, 6vw, 4.5rem), 9.5cqi);
  margin: 0.1rem 0 0.25rem;
}

.nowrap {
  white-space: nowrap;
}

.carousel-date {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 100%;
  margin-top: 1rem;
  padding: 10px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  text-align: left;
}

.carousel-day {
  font-weight: 700;
  font-variant-numeric: lining-nums;
  font-size: clamp(2.6rem, 5vw, 3.5rem);
  line-height: 1;
}

.carousel-month {
  font-size: 1.4rem;
  line-height: 1;
}

.carousel-place {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin-left: 0.25rem;
  padding-left: 1rem;
  border-left: 1px solid var(--line-dark);
}

.carousel-place .t-italic {
  font-size: 1.1rem;
  line-height: 1.3;
}

.carousel-zone {
  font-size: 0.8rem;
  color: var(--muted-dark);
}

.carousel-info .pill {
  display: block;
  width: 100%;
  margin-top: 1.25rem;
  text-align: center;
}

.carousel-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.carousel-controls[hidden] {
  display: none;
}

.carousel-progress {
  width: 160px;
  height: 2px;
  background: var(--line-dark);
  overflow: hidden;
}

.carousel-progress span {
  display: block;
  height: 100%;
  background: var(--cream);
  transform: scaleX(0);
  transform-origin: left;
  animation: carousel-progress 6s linear forwards;
}

.carousel.is-paused .carousel-progress span {
  animation-play-state: paused;
}

@keyframes carousel-progress {
  to { transform: scaleX(1); }
}

.carousel-buttons {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Área táctil de 24px; el punto visible es el ::before */
.carousel-dot {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.carousel-dot::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--cream);
}

.carousel-dot[aria-current="true"]::before {
  background: var(--cream);
}

.carousel-arrow {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin: 0 0.5rem;
  padding: 0 0 0.15rem;
  border: 1px solid var(--cream);
  border-radius: 50%;
  background: transparent;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.carousel-arrow:hover {
  background: var(--cream);
  color: var(--ink);
}

/* Escritorio: flyer | información, y las flechas salen de la fila a los costados.
   carousel.js calcula --stage-mid (centro vertical de las slides). */
@media (min-width: 900px) {
  .carousel {
    position: relative;
  }

  .carousel-slides {
    padding-inline: calc(44px + 1.5rem);
  }

  .carousel-slide {
    flex-direction: row;
    justify-content: center;
    gap: 3rem;
  }

  .carousel-flyer {
    width: auto;
    max-width: 45%;
    /* 70vh, salvo en pantallas bajas donde los controles quedarían afuera */
    max-height: min(70vh, calc(100vh - 260px));
    max-height: min(70svh, calc(100svh - 260px));
  }

  .carousel-info {
    flex: 0 1 40rem;
    width: auto;
    align-items: flex-start;
    text-align: left;
  }

  .carousel-info .pill {
    display: inline-block;
    width: auto;
  }

  .carousel-controls {
    margin-top: 1.25rem;
  }

  .carousel-arrow {
    position: absolute;
    z-index: 1;
    top: var(--stage-mid, 50%);
    margin: 0;
    transform: translateY(-50%);
  }

  .carousel-prev {
    left: var(--band-pad);
  }

  .carousel-next {
    right: var(--band-pad);
  }
}

.carousel-pause {
  margin-left: 0.5rem;
  padding: 0.4rem 0.5rem;
  background: none;
  border: none;
  color: var(--muted-dark);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s;
}

.carousel-pause:hover {
  color: var(--cream);
}

@media (prefers-reduced-motion: reduce) {
  .carousel-slide { transition: none; }
}

.scroll-down {
  display: block;
  width: fit-content;
  margin: 1.25rem auto 0;
  padding: 0.25rem 0.5rem;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--cream);
  text-decoration: none;
  transition: transform 0.2s, color 0.2s;
}

.scroll-down:hover {
  color: var(--red);
  transform: translateY(3px);
}

.playlists-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.playlists-grid iframe {
  display: block;
  width: 100%;
  height: 452px;
}

.playlists {
  padding-bottom: 3rem;
}

/* Tarjeta de playlist: portada arriba y reproductor pegado abajo */
.playlist-cover {
  height: 160px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 12px 12px 0 0;
  color: var(--cream);
  container-type: inline-size;
}

.playlist-cover .t-italic {
  font-size: 1rem;
}

.playlist-cover--old {
  background: radial-gradient(circle at 40% 35%, #c47a2c 0%, #5a2e12 35%, #1a0d06 75%);
}

.playlist-cover--fresco {
  background: radial-gradient(circle at 55% 35%, #2fa7a0 0%, #0f4d52 40%, #071d20 80%);
}

.playlist-cover-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

/* El tope en cqi deja lugar al botón ▶ en tarjetas muy angostas (celulares de 320px) */
.playlist-name {
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  font-size: min(clamp(2.5rem, 4.5vw, 3.5rem), calc((100cqi - 60px) / 5));
  line-height: 0.85;
}

.playlist-play {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding-left: 3px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.2s;
}

.playlist-play:hover {
  transform: scale(1.08);
}

/* Solo redondea las esquinas de abajo; el alto lo da el iframe */
.playlist-player {
  overflow: hidden;
  border-radius: 0 0 12px 12px;
}

/* Dos secciones negras seguidas: línea fina para separarlas */
.s-dark + .s-dark {
  border-top: 1px solid var(--line-dark);
}

.access-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line-dark);
  color: var(--cream);
  text-decoration: none;
}

.access-row:first-child {
  border-top: 1px solid var(--line-dark);
}

.access-name {
  min-width: 0;
  font-size: clamp(2.25rem, 8vw, 6rem);
  transition: color 0.2s;
}

.access-arrow {
  flex: none;
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  line-height: 1;
  color: var(--muted-dark);
  transition: color 0.2s;
}

.access-row:hover .access-name {
  color: var(--red);
}

.access-row:hover .access-arrow {
  color: var(--cream);
}

.show-list {
  list-style: none;
  border-top: 1px solid var(--line-light);
}

.show-row {
  display: grid;
  grid-template-columns: 6rem 1.4fr 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line-light);
}

.show-date {
  display: flex;
  flex-direction: column;
}

.show-day {
  font-weight: 700;
  font-variant-numeric: lining-nums;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1;
}

.show-month {
  font-size: 0.8rem;
  margin-top: 0.35rem;
}

/* Solo en shows de otro año */
.show-year {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--muted-light);
  margin-top: 0.15rem;
}

.show-sub {
  font-size: 1rem;
  color: var(--muted-light);
  margin-top: 0.3rem;
}

.show-artist {
  font-size: clamp(1.25rem, 3vw, 2.25rem);
  font-size: min(clamp(1.25rem, 3vw, 2.25rem), 5.8vw);
}

.show-venue {
  display: flex;
  flex-direction: column;
}

.show-venue .t-italic {
  font-size: 1.15rem;
}

.show-city {
  font-size: 0.85rem;
  color: var(--muted-light);
}

.cr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.cr-card {
  position: relative;
  aspect-ratio: 4/5;
  background: #262626;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.5rem 1rem;
  color: var(--cream);
  text-decoration: none;
  text-align: center;
  overflow: hidden;
}

.cr-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.7) 0%, rgba(10, 10, 10, 0) 50%);
}

.cr-card span {
  position: relative;
  z-index: 1;
  font-size: clamp(1.1rem, 2.5vw, 1.75rem);
  transition: color 0.2s;
}

.cr-card:hover span {
  color: var(--red);
}

.home-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.home-stat {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-light);
  padding-top: 1.25rem;
}

.home-stat-num {
  font-weight: 700;
  font-variant-numeric: lining-nums;
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  line-height: 1;
}

.home-stat-label {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: var(--muted-light);
  margin-top: 0.5rem;
}

.home-about {
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 52ch;
  margin-bottom: 2rem;
}

.home-contact {
  text-align: center;
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.home-contact p {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: var(--muted-dark);
  margin-bottom: 1.25rem;
}

.home-contact a {
  font-size: clamp(1.1rem, 5vw, 4rem);
  color: var(--cream);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.2s;
}

.home-contact a:hover {
  color: var(--red);
}

/* ============ ARCHIVO (fila de flyers) ============ */
/* Sin JavaScript: tira horizontal con scroll. Con JS (.is-ready): fila animada.
   Todos los flyers miden --fy; el activo crece con scale(--fy-scale) y sus
   vecinos se corren con translateX para dejarle lugar. Solo se anima transform.
   js/archive.js mide --fy en px para centrar el activo. */
.archive-page {
  --fy: 240px;
  --fy-scale: calc(380 / 240);
  --fy-gap: 24px;
  --fy-h: calc(var(--fy) * 4 / 3);
  /* Lo que el activo agranda hacia cada lado y hacia arriba */
  --fy-side: calc(var(--fy) * (var(--fy-scale) - 1) / 2);
  --fy-rise: calc(var(--fy-h) * (var(--fy-scale) - 1));
  --date-h: 1.75rem;
  --ease-move: cubic-bezier(.16, 1, .3, 1);
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
  padding-top: 1rem;
  padding-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.archive-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--cream);
}

.archive-head h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.archive-count {
  white-space: nowrap;
}

.archive-count-now {
  font-size: clamp(2rem, 4vw, 3rem);
  font-variant-numeric: lining-nums;
  line-height: 1;
}

.archive-count-total {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-variant-numeric: lining-nums;
  color: var(--muted-dark);
}

.archive-hint {
  margin: 0 auto;
  font-size: 0.9rem;
  color: var(--muted-dark);
  transition: opacity 0.4s;
}

.archive-hint.is-gone {
  opacity: 0;
}

.archive-strip {
  display: flex;
  gap: var(--fy-gap);
  overflow-x: auto;
  list-style: none;
  padding-bottom: 0.5rem;
}

.strip-item {
  position: relative;
  flex: none;
  width: var(--fy);
}

.strip-item a {
  display: block;
  color: var(--cream);
  text-decoration: none;
}

.strip-item img {
  display: block;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: #1e1e1e;
}

.strip-num {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(var(--date-h) + var(--fy-h) + 0.35rem);
  font-size: 0.85rem;
  color: var(--red);
  text-align: center;
}

.strip-date {
  display: block;
  height: var(--date-h);
  padding-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted-dark);
  white-space: nowrap;
}

/* --- Con JavaScript --- */
.archive-page.is-ready .archive-viewport {
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}

.archive-page.is-ready .archive-viewport:active {
  cursor: grabbing;
}

/* Línea base: a la altura del borde inferior de los flyers */
.archive-page.is-ready .archive-viewport::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--date-h);
  height: 1px;
  background: var(--cream);
}

.archive-page.is-ready .archive-strip {
  align-items: flex-end;
  width: max-content;
  overflow: visible;
  /* Lugar para lo que el activo crece hacia arriba + el "N.º" */
  padding: calc(var(--fy-rise) + 2rem) 0 0;
  will-change: transform;
}

.archive-page.is-ready .archive-strip:focus-visible {
  outline-offset: 6px;
}

.archive-page.is-ready .strip-item {
  will-change: transform;
}

.archive-page.is-ready .strip-item.is-before {
  transform: translateX(calc(var(--fy-side) * -1));
}

.archive-page.is-ready .strip-item.is-after {
  transform: translateX(var(--fy-side));
}

.archive-page.is-ready .strip-item a {
  user-select: none;
  -webkit-user-drag: none;
}

/* Crece desde abajo al centro: sigue apoyado en la línea base */
.archive-page.is-ready .strip-item img {
  opacity: 0.4;
  filter: grayscale(0.7);
  transform-origin: 50% 100%;
  -webkit-user-drag: none;
}

.archive-page.is-ready .strip-item:not(.is-active):hover img,
.archive-page.is-ready .strip-item.is-active img {
  opacity: 1;
  filter: none;
}

.archive-page.is-ready .strip-item.is-active img {
  transform: scale(var(--fy-scale));
}

.archive-page.is-ready .strip-num {
  display: block;
  opacity: 0;
}

.archive-page.is-ready .strip-item.is-active .strip-num {
  opacity: 1;
  transform: translateY(calc(var(--fy-rise) * -1));
}

.archive-page.is-animated .archive-strip,
.archive-page.is-animated .strip-item,
.archive-page.is-animated .strip-num {
  transition: transform 0.9s var(--ease-move), opacity 0.6s;
}

.archive-page.is-animated .strip-item img {
  transition: transform 0.9s var(--ease-move), opacity 0.6s, filter 0.6s;
}

/* Mientras se arrastra, la tira sigue al dedo sin demora */
.archive-page.is-dragging .archive-strip {
  transition: none;
}

/* Ficha del show activo */
.archive-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem 2rem;
  padding: 0.6rem 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.archive-card-date {
  display: flex;
  flex-direction: column;
  padding-right: 2rem;
  border-right: 1px solid var(--line-dark);
}

.archive-card-month {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
}

.archive-card-year {
  font-size: 1rem;
  margin-top: 0.2rem;
}

.archive-card-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
}

.archive-card-name {
  font-size: 1.6rem;
}

.archive-tag {
  padding: 0.2rem 0.65rem;
  border: 1px solid var(--red);
  border-radius: 999px;
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-card-detail {
  margin-top: 0.3rem;
  color: var(--muted-dark);
}

.archive-card-detail:empty {
  display: none;
}

/* Navegación inferior */
.archive-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.archive-arrow {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0 0 0.15rem;
  border: 1.5px solid var(--cream);
  border-radius: 50%;
  background: transparent;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
}

.archive-arrow:hover:not(:disabled) {
  background: var(--cream);
  color: var(--ink);
}

.archive-arrow:disabled {
  opacity: 0.25;
  cursor: default;
}

/* Centrados con márgenes automáticos: si no entran, el scroll llega a todos */
.archive-years {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.archive-year:first-child {
  margin-left: auto;
}

.archive-year:last-child {
  margin-right: auto;
}

.archive-year {
  padding: 0;
  border: none;
  background: none;
  color: #3a3a3a;
  font-family: var(--font-display);
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s;
}

.archive-year:hover,
.archive-year.is-current {
  color: var(--cream);
}

@media (max-width: 767px) {
  .archive-page {
    --fy: 36vw;
    --fy-scale: calc(62 / 36);
  }

  .archive-card {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem 1.25rem;
  }

  .archive-card-date {
    padding-right: 1.25rem;
  }

  .archive-card-link {
    grid-column: 1 / -1;
    text-align: center;
  }

  .archive-year {
    flex: none;
    font-size: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .archive-page.is-animated .archive-strip,
  .archive-page.is-animated .strip-item,
  .archive-page.is-animated .strip-item img,
  .archive-page.is-animated .strip-num,
  .archive-hint {
    transition: none;
  }
}

/* ============ CALENDARIO DE MEDIA PARTNERS ============ */
.nav-logout {
  margin-left: auto;
  margin-right: 1.25rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(243, 238, 227, 0.4);
  border-radius: 999px;
  background: none;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.nav-logout:hover {
  background: var(--cream);
  color: var(--ink);
}

.partners {
  min-height: calc(100svh - var(--nav-h));
  padding-top: 3rem;
}

.partners-loading {
  color: var(--muted-light);
}

.partners-title {
  font-size: clamp(2.75rem, 8vw, 6rem);
}

.partners-lead {
  max-width: 40ch;
  margin: 0.75rem 0 2rem;
  font-size: 1.15rem;
}

.partners-lead a,
.sheet-text a,
.sheet-details a {
  color: inherit;
}

.partners-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: 560px;
}

.partners-form .form-label {
  width: 100%;
}

.partners-form .form-input {
  flex: 1 1 260px;
}

.partners-msg {
  min-height: 1.6em;
  margin-top: 1rem;
  font-family: var(--font-serif);
  font-style: italic;
}

.form-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
}

textarea.form-input {
  resize: vertical;
}

/* Encabezado del mes */
.cal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--ink);
}

.cal-who {
  margin-bottom: 0.4rem;
  color: var(--muted-light);
}

.cal-title {
  font-weight: 400;
  line-height: 0.95;
}

.cal-month {
  font-size: clamp(2.75rem, 8vw, 5.5rem);
}

.cal-year {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  color: var(--muted-light);
}

.cal-arrows {
  display: flex;
  gap: 0.5rem;
}

.cal-arrow {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0 0 0.15rem;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
}

.cal-arrow:hover:not(:disabled) {
  background: var(--ink);
  color: var(--cream);
}

.cal-arrow:disabled {
  opacity: 0.25;
  cursor: default;
}

/* Grilla */
.cal-weekdays,
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.cal-weekdays {
  padding: 0.75rem 0 0.5rem;
  color: var(--muted-light);
  font-size: 0.95rem;
}

.cal-weekdays span {
  padding-left: 0.7rem;
}

.cal-grid {
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}

.cal-day {
  min-height: 6.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.6rem 0.7rem;
  border: 0;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
}

button.cal-day {
  cursor: pointer;
}

button.cal-day:disabled {
  cursor: default;
}

.cal-num {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.6rem;
  font-variant-numeric: lining-nums;
  line-height: 1;
}

.cal-tag {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.8rem;
  line-height: 1.2;
}

/* Estados (la celda entera cambia) */
.cal-day.is-out {
  color: #ddd6c9;
}

.cal-day.is-past,
.cal-day.is-taken {
  color: #bdb5a6;
}

.cal-day.is-taken .cal-tag {
  color: var(--muted-light);
}

.cal-day.is-of {
  background: var(--ink);
  color: var(--cream);
}

.cal-day.is-pending {
  box-shadow: inset 0 0 0 1.5px var(--red);
  color: var(--red);
}

.cal-day.is-confirmed {
  background: var(--red);
  color: var(--cream);
}

.cal-day.is-free:hover {
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.cal-day.is-selected {
  box-shadow: inset 0 0 0 2.5px var(--ink);
}

.cal-day.is-pending.is-selected {
  box-shadow: inset 0 0 0 2.5px var(--red);
}

.cal-day.is-confirmed.is-selected {
  box-shadow: inset 0 0 0 2.5px var(--ink);
}

.cal-day:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: -6px;
}

.cal-day.is-confirmed:focus-visible {
  outline-color: var(--cream);
}

.cal-msg {
  min-height: 1.6em;
  margin-top: 0.75rem;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--muted-light);
}

/* Leyenda */
.cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  list-style: none;
  color: var(--muted-light);
  font-size: 0.95rem;
}

.cal-legend li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cal-swatch {
  width: 14px;
  height: 14px;
  flex: none;
}

.cal-swatch.is-free { box-shadow: inset 0 0 0 1px var(--line-light); }
.cal-swatch.is-of { background: var(--ink); }
.cal-swatch.is-taken { background: #bdb5a6; }
.cal-swatch.is-pending { box-shadow: inset 0 0 0 1.5px var(--red); }
.cal-swatch.is-confirmed { background: var(--red); }

/* Ficha del día */
.cal-sheet {
  max-width: 720px;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--ink);
}

.sheet-date {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.sheet-day {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  font-variant-numeric: lining-nums;
  line-height: 1;
}

.sheet-month {
  font-size: 1.5rem;
}

.sheet-sub {
  margin: 0.3rem 0 1.25rem;
  color: var(--muted-light);
}

.sheet-title {
  margin-bottom: 1.25rem;
  font-size: 1.6rem;
}

.sheet-title:focus {
  outline: none;
}

.sheet-form {
  display: grid;
  gap: 1.1rem;
}

.format-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.format-pills legend {
  width: 100%;
}

.format-pills input:checked + label {
  background: var(--ink);
  color: var(--cream);
}

.format-pills input:focus-visible + label {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.sheet-error {
  min-height: 1.2em;
  color: var(--red);
}

.sheet-error:empty {
  display: none;
}

.sheet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.sheet-text {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.sheet-details {
  margin-bottom: 1.5rem;
}

.sheet-details dd {
  margin: 0 0 1rem;
  overflow-wrap: anywhere;
}

.sheet-confirm {
  margin-top: 1.25rem;
}

/* Celular: celdas cuadradas, solo número y color */
@media (max-width: 767px) {
  .cal-day {
    min-height: 0;
    aspect-ratio: 1;
    padding: 0.3rem 0.35rem;
  }

  .cal-num {
    font-size: 1.1rem;
  }

  .cal-tag {
    display: none;
  }

  .cal-weekdays {
    font-size: 0.8rem;
  }

  .cal-weekdays span {
    padding-left: 0.35rem;
  }
}

/* ---- Panel del equipo ---- */
.panel-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.9rem 0 0.25rem;
}

.panel-pending {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--red);
  font-weight: 500;
}

.panel-pending.is-clear {
  color: var(--muted-light);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.panel-count {
  min-width: 1.75rem;
  height: 1.75rem;
  padding: 0 0.5rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--red);
  color: var(--cream);
  font-size: 0.85rem;
  font-variant-numeric: lining-nums;
}

.cal-grid--team .cal-day {
  min-height: 7.5rem;
  gap: 0.4rem;
}

.cal-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  width: 100%;
  min-width: 0;
}

.cal-name {
  overflow: hidden;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cal-text {
  display: -webkit-box;
  overflow: hidden;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.85rem;
  line-height: 1.25;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow-wrap: anywhere;
}

.cal-day.is-collab {
  background: #e6dfd1;
  color: var(--ink);
}

.cal-day.is-past-day:not(.is-past) {
  opacity: 0.55;
}

.cal-swatch.is-collab { background: #e6dfd1; }

/* Medios */
.panel-medios {
  max-width: 720px;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--ink);
}

.panel-medios-title {
  font-size: clamp(2rem, 5vw, 3rem);
}

.medios-list {
  list-style: none;
  border-top: 1px solid var(--line-light);
}

.medio {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line-light);
}

.medio-who {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.medio-name {
  font-weight: 500;
  overflow-wrap: anywhere;
}

.medio-email {
  color: var(--muted-light);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.medio.is-inactive .medio-name {
  color: var(--muted-light);
}

.switch {
  flex: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.25rem;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

.switch-track {
  position: relative;
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: #bdb5a6;
  transition: background 0.2s;
}

.switch-track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cream);
  transition: transform 0.2s;
}

.switch[aria-checked="true"] .switch-track {
  background: var(--ink);
}

.switch[aria-checked="true"] .switch-track::after {
  transform: translateX(20px);
}

.switch-label {
  min-width: 4.5rem;
  text-align: left;
}

.medios-form {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.medios-form-title {
  font-size: 1.4rem;
}

.medios-msg {
  font-family: var(--font-serif);
  font-style: italic;
}

.medios-note {
  margin-top: 2rem;
  font-size: 1.1rem;
}

@media (max-width: 767px) {
  .cal-grid--team .cal-day {
    min-height: 0;
  }

  .cal-info {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .switch-track,
  .switch-track::after {
    transition: none;
  }
}

/* ============ PÁGINAS DE SHOW (archivo/) ============ */
.show-hero {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.show-back {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--muted-dark);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}

.show-back:hover {
  color: var(--cream);
}

.show-hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.show-flyer {
  display: block;
  width: 78%;
  height: auto;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.55);
}

.show-info {
  width: 100%;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

.show-detail {
  color: var(--muted-dark);
  font-size: 1.1rem;
}

/* Tope en cqi: nombres largos de una palabra entran en su columna */
.show-title {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-size: min(clamp(2.4rem, 6vw, 4.5rem), 11cqi);
  margin: 0.1rem 0 0.4rem;
  overflow-wrap: anywhere;
}

.show-date {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 100%;
  margin-top: 0.5rem;
  padding: 10px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.show-date-month {
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1;
}

.show-date-year {
  font-size: 1.4rem;
  line-height: 1;
}

.show-date-place {
  margin-left: 0.25rem;
  padding-left: 1rem;
  border-left: 1px solid var(--line-dark);
  font-size: 1.1rem;
}

.show-gallery-pill {
  margin-top: 1.5rem;
}

.show-gallery h2 {
  margin-bottom: 2rem;
  font-size: clamp(2.5rem, 7vw, 5rem);
}

.show-gallery-soon {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

/* Cinta que lleva a los próximos shows */
.marquee--link {
  display: block;
  text-decoration: none;
}

.marquee-place {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.marquee--link:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: -4px;
}

/* Show anterior / siguiente */
.show-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.show-nav-link {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
  color: var(--cream);
  text-decoration: none;
}

.show-nav-next {
  align-items: flex-end;
  text-align: right;
}

.show-nav-label {
  color: var(--muted-dark);
}

.show-nav-name {
  font-size: clamp(1.4rem, 3vw, 2.25rem);
  overflow-wrap: anywhere;
  transition: color 0.2s;
}

.show-nav-link:hover .show-nav-name {
  color: var(--red);
}

@media (min-width: 900px) {
  .show-hero-grid {
    flex-direction: row;
    justify-content: center;
    gap: 3.5rem;
  }

  .show-flyer {
    flex: none;
    width: auto;
    max-width: 45%;
    max-height: 70vh;
  }

  .show-info {
    flex: 0 1 36rem;
    width: auto;
  }
}

@media (max-width: 767px) {
  .show-nav {
    grid-template-columns: 1fr;
  }

  .show-nav-next {
    align-items: flex-start;
    text-align: left;
  }

  .show-nav-link.is-empty {
    display: none;
  }
}

/* ============ 404 ============ */
.notfound {
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.25rem;
}

.notfound-title {
  font-size: clamp(3rem, 12vw, 9rem);
}

.notfound-text {
  max-width: 32ch;
  margin-bottom: 1rem;
  font-size: clamp(1.15rem, 2.5vw, 1.6rem);
}

/* ============ PRÓXIMAMENTE (páginas temporales) ============ */
.soon {
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
  container-type: inline-size;
}

/* El tope en cqi hace que "PRÓXIMAMENTE" entre completo en celulares de 320px */
.soon-title {
  font-size: min(clamp(3rem, 12vw, 9rem), 10cqi);
}

.soon-text {
  max-width: 32ch;
  margin-bottom: 1rem;
  font-size: clamp(1.15rem, 2.5vw, 1.6rem);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 767px) {
  .show-row {
    grid-template-columns: 4.5rem minmax(0, 1fr);
    gap: 0.75rem 1rem;
  }

  .show-date {
    grid-row: span 2;
  }

  .show-row .pill {
    justify-self: start;
  }

  .show-venue {
    display: none;
  }

  .access-row {
    padding: 1.5rem 0;
  }

  .playlists-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .playlist-cover {
    height: 140px;
  }

  .playlists-grid iframe {
    height: 380px;
  }

  .sec-head--split {
    flex-direction: column;
    align-items: flex-start;
  }

  .cr-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .artist-grid {
    grid-template-columns: 1fr;
  }

  .artist-card-header {
    flex-direction: column;
    gap: 1.25rem;
  }

  .artist-embeds {
    grid-template-columns: 1fr;
  }

  .nos-media {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .club-layers {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .upcoming-grid,
  .identity-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 700px) {
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
}

/* Galerías: 3 columnas, 2 en celular */
@media (max-width: 767px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
}