/* ===========================================
   SAMBA DESERT — STYLE.CSS
   Para cambiar colores: modifica las variables en :root
   =========================================== */

:root {
  --primary:      #d4570a;
  --primary-dark: #b04507;
  --secondary:    #f0a500;
  --dark:         #1a1208;
  --dark-card:    rgba(255,255,255,0.06);
  --dark-border:  rgba(255,255,255,0.12);
  --text:         #2c2c2c;
  --text-muted:   #666;
  --bg-alt:       #f7f3ee;
  --white:        #ffffff;
  --nav-h:        70px;
  --nav-h-top:    210px;
  --radius:       6px;
  --shadow:       0 4px 24px rgba(0,0,0,0.10);
  --font-head:    'Montserrat', sans-serif;
  --font-body:    'Open Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ===== FUENTES AUTO-ALOJADAS ===== */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('fonts/montserrat-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400 600;
  font-stretch: 100%;
  font-display: swap;
  src: url('fonts/opensans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400 600;
  font-stretch: 100%;
  font-display: swap;
  src: url('fonts/opensans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Patua One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/patuaone.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===== CONTAINER ===== */
.container { margin: 0 auto; padding: 0 10rem; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h-top);
  background: transparent;
  transition: height 0.35s, background 0.35s, box-shadow 0.35s;
}
.navbar.scrolled {
  height: var(--nav-h);
  background: var(--dark);
  box-shadow: 0 2px 16px rgba(0,0,0,0.5);
}
.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-left: 0;
}
.nav-cta {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem 1.4rem;
  font-size: 0.78rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
  white-space: nowrap;
}
.navbar.cta-visible .nav-cta {
  opacity: 1;
  pointer-events: auto;
  padding: 0.85rem 1.2rem;
  font-size: 0.6rem;
}
@media (min-width: 1101px) {
  .nav-cta {
    position: static;
    transform: none;
    order: 3;
  }
}
@media (max-width: 1100px) {
  .nav-cta { padding: 0.45rem 1.1rem; font-size: 0.7rem; }
}
.logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; margin-left: 3rem; }

/* Logo: dos imágenes superpuestas con crossfade al hacer scroll */
.logo-img-wrap {
  position: relative;
  height: 150px;
  transition: height 0.35s;
}
.navbar.scrolled .logo-img-wrap { height: 62px; }
.logo-img-default {
  display: block;
  height: 100%;
  width: auto;
  max-width: none;
  transition: opacity 0.35s;
}
.logo-img-scrolled {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: auto;
  max-width: none;
  opacity: 0;
  transition: opacity 0.35s;
}
.navbar.scrolled .logo-img-default { opacity: 0; }
.navbar.scrolled .logo-img-scrolled { opacity: 1; }

.logo-fallback {
  display: none;
  font-family: var(--font-head);
  font-weight: 900;
  color: var(--white);
  font-size: 1.15rem;
  letter-spacing: 3px;
}
.logo img.broken { display: none; }
.logo img.broken + .logo-fallback { display: block; }

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.nav-links li {
  background: #d4570a;
  margin-right: 0.3rem;
}
.nav-links a {
  display: block;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--secondary); }
.nav-link-special { color: var(--secondary) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: #000;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.navbar.scrolled .nav-toggle span { background: var(--white); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    url('img/hero.webp') center / cover no-repeat,
    linear-gradient(150deg, #0d0400 0%, #4a1a00 45%, #8b3a0a 75%, #d4570a 100%);
  background-size: cover;
  animation: hero-zoom 8s ease-out forwards;
  transform-origin: center center;
}
@keyframes hero-zoom {
  from { transform: scale(1.12); }
  to   { transform: scale(1.0);  }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgb(255 255 255 / 35%) 0%, rgba(10, 4, 0, 0.72) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  width: 100%;
  padding: calc(var(--nav-h-top) + 1rem) 5vw 5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-pre {
  font-family: var(--font-head);
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: "Patua One", var(--font-head);
  font-size: clamp(4rem, 13vw, 11rem);
  font-weight: 900;
  line-height: 0.88;
  text-transform: uppercase;
  margin-bottom: 2rem;
  max-width: 100%;
  letter-spacing: 10px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.2);
}
.hero-title .edition {
  display: block;
  font-size: 0.3em;
  letter-spacing: 10px;
  color: var(--secondary);
  margin-bottom: 0.3em;
  letter-spacing: 8px;
}
.hero-divider {
  width: 60px; height: 3px;
  background: var(--secondary);
  border-radius: 2px;
  margin: 0 auto 1.5rem;
}
.hero-dates {
  font-family: var(--font-head);
  font-size: clamp(1rem, 2.5vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 0.4rem;
  letter-spacing: 1px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.2);
}
.hero-location {
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  color: #fff;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 3rem;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

.scroll-down {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.4);
  font-size: 1.4rem;
  text-decoration: none;
  z-index: 1;
  animation: bounce 2.2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(9px); }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

/* ===== SECTIONS ===== */
.section { padding: 5rem 0; }
.bg-white { background: var(--white); }
.bg-alt   { background: var(--bg-alt); }
.bg-dark  { background: var(--dark); color: var(--white); }

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  position: relative;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 56px; height: 4px;
  background: var(--primary);
  border-radius: 2px;
}
.bg-dark .section-title::after { background: var(--secondary); }

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  line-height: 1.75;
}
.bg-dark .section-desc { color: rgba(255,255,255,0.65); }

/* ===== SOBRE EL EVENTO ===== */
.sobre-objetivo {
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  font-weight: 600;
  font-style: italic;
  color: var(--primary);
  border-left: 4px solid var(--primary);
  padding: 1rem 1.5rem;
  margin: 2.5rem 0;
  background: var(--bg-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
  max-width: 800px;
}
.sobre-cols {
  display: grid;
  /* grid-template-columns: 1fr 1fr; */
  gap: 3rem;
  margin-top: 2rem;
}
.sobre-subtitle {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  margin-bottom: 1rem;
}
.sobre-col p { color: var(--text-muted); line-height: 1.75; margin-bottom: 1rem; }
.sobre-ubicacion { font-size: 0.875rem !important; }
.sobre-actividades {
  list-style: none;
  margin-top: 0.5rem;
}
.sobre-actividades li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--bg-alt);
  display: flex;
  gap: 0.5rem;
}
.sobre-actividades li::before { content: "→"; color: var(--primary); font-weight: 700; }

.kalima-card {
  background: var(--dark);
  color: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  height: 100%;
}
.kalima-card .sobre-subtitle { color: var(--secondary); }
.kalima-card p { color: rgba(255,255,255,0.7); margin-bottom: 1rem; }
.kalima-tagline {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary) !important;
  letter-spacing: 1px;
  margin-bottom: 1rem !important;
}
.kalima-ritmos { font-size: 0.875rem !important; }
.btn-outline-dark {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.65rem 1.5rem;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline-dark:hover { border-color: var(--secondary); color: var(--secondary); }

.entorno-plano { text-align: right; margin-top: 2rem; }

@media (max-width: 700px) {
  .sobre-cols { grid-template-columns: 1fr; gap: 2rem; }
}

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}
.feature-card {
  text-align: center;
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius);
  background: var(--bg-alt);
  border: 1px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}
.feature-icon { font-size: 3rem; margin-bottom: 1rem; text-align: center;}
.feature-icon img { margin: 0 auto; width: 80px;}
.feature-card h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

/* ===== PROGRAMACIÓN ===== */
.tabs-nav {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 0.6rem 1.6rem;
  background: transparent;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.2s, color 0.2s;
}
.tab-btn:hover,
.tab-btn.active {
  background: var(--primary);
  color: var(--white);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.actividad {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.actividad:last-child { border-bottom: none; }
.act-hora {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
  padding-top: 2px;
}
.act-nombre {
  font-weight: 600;
  margin-bottom: 0.2rem;
  font-size: 1.35rem;
  text-transform: uppercase;
}
.act-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0.25rem 0 0.35rem;
  line-height: 1.5;
}
.act-lugar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.act-lugar {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.act-toggle {
  display: none;
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--primary);
  background: none;
  color: var(--primary);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.act-toggle:hover { background: var(--primary); color: var(--white); }
.act-lugar a {
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: color 0.2s, text-decoration-color 0.2s;
}
.act-lugar a:hover {
  color: var(--primary);
  text-decoration-color: currentColor;
}
.act-lugar-link {
  font-size: 0.75rem;
  opacity: 0.7;
}
.badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.1rem 0.5rem;
  border-radius: 20px;
  margin-left: 0.4rem;
  vertical-align: middle;
}
.badge-inscrito { background: var(--secondary); color: var(--dark); }
.badge-publico  { background: #4caf50; color: var(--white); }

/* ===== CONCIERTOS Y MESTRES (index) ===== */
.artistas-subtitle {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.artistas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(242px, 1fr));
  gap: 1.5rem;
}
#maestros-grid {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  #maestros-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  #maestros-grid {
    grid-template-columns: 1fr;
  }
}

#grupos-grid {
  grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 1024px) {
  #grupos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  #grupos-grid {
    grid-template-columns: 1fr;
  }
}
.artista-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  transition: transform 0.2s, box-shadow 0.2s;
}
.artista-card:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(0,0,0,0.15); }
.artista-card-img {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-alt);
}
.artista-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.artista-card:hover .artista-card-img img { transform: scale(1.06); }
.artista-card-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
}
.artista-card-tipo {
  position: absolute;
  top: 0.6rem; left: 0.6rem;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
}
.artista-card-info { padding: 1rem 1.25rem; }
.artista-card-nombre {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.artista-card-subtitulo {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== PÁGINA ARTISTA ===== */
.artista-page .navbar { position: sticky; }
.artista-page .logo img { height: 55px; width: auto; max-width: none; }
.btn-back {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.btn-back:hover { color: var(--secondary); }

.a-hero {
  min-height: 55vh;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}
.a-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(150deg, #0d0400 0%, #4a1a00 45%, #8b3a0a 100%);
  background-size: cover;
  background-position: center center;
}
.a-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,2,0,0.9) 0%, rgba(5,2,0,0.3) 100%);
}
.a-hero-content {
  position: relative; z-index: 1;
  color: var(--white);
  padding: 3rem 1.5rem;
}
.a-tipo {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}
.a-nombre {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.a-subtitulo {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--secondary);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.a-main { padding: 3.5rem 1.5rem; background: rgba(255,255,255,0.92); }
.a-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3.5rem;
  align-items: start;
}
.a-foto {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
  margin-bottom: 1.5rem;
}
.a-aside-title {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.a-sesion {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--bg-alt);
  align-items: start;
  font-size: 0.875rem;
}
.a-sesion:last-child { border-bottom: none; }
.as-dia { font-family: var(--font-head); font-weight: 700; color: var(--primary); font-size: 0.78rem; }
.as-detail { display: flex; flex-direction: column; gap: 0.2rem; }
.as-hora { font-weight: 600; }
.as-nombre { color: var(--text-muted); }
.as-lugar { font-size: 0.78rem; color: var(--text-muted); }
.a-links-wrap { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; }
.a-links-wrap .btn { text-align: center; display: block; }

.a-bio-title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary);
}
.a-article p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-muted);
}
.a-back-bar {
  padding: 2rem 0 3rem;
  background: rgba(245, 240, 233, 0.92);
}
.a-back-bar .container { display: flex; gap: 1rem; flex-wrap: wrap; }

@media (max-width: 700px) {
  .a-layout { grid-template-columns: 1fr; }
  .a-foto {  }
}

/* ===== ENTORNO ===== */
.espacios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

@media (max-width: 1024px) {
  .espacios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .espacios-grid {
    grid-template-columns: 1fr;
  }
}




.espacio-card {
  padding: 1.5rem;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
}
.espacio-card h3 {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.6rem;
}
.espacio-card p { font-size: 0.875rem; color: rgba(255,255,255,0.65); flex: 1; }
.espacio-link {
  display: inline-block;
  align-self: flex-end;
  margin-top: 1rem;
  font-size: 0.78rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--secondary);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: opacity 0.2s;
}
.espacio-link:hover { opacity: 0.75; }

/* ===== FONDO GLOBAL PARALLAX ===== */
/* background-attachment:fixed mantiene la imagen fija mientras el contenido scrollea */
html {
  background: url('img/bg-samba-desert.webp') center center / 60vw fixed no-repeat;
  background-color: var(--dark);
}

/* Secciones: semi-transparentes para dejar ver el fondo */
.bg-white { background: rgba(255, 255, 255, 0.91); }
.bg-alt   { background: rgba(245, 240, 233, 0.91); }
.bg-dark  { background: rgba(20,  12,  4,   0.90); }

/* Galería: blanco sólido — las fotos necesitan fondo limpio */
#ediciones { background: rgba(255, 255, 255, 1.0); }

/* ===== GALERÍA ===== */
#ediciones { padding-bottom: 0; }
#ediciones .container { padding-bottom: 2rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  width: 100%;
  margin-top: 1rem;
}
.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-alt);
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.3s;
  display: block;
}
.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(1.1);
}
.gallery-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #e0d0c0 0%, #c8a880 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(0,0,0,0.2);
  cursor: pointer;
}

/* ===== AFTERMOVIES ===== */
.aftermovies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.aftermovie-card {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dark);
  text-decoration: none;
}
.aftermovie-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.75);
  transition: transform 0.4s, filter 0.3s;
}
.aftermovie-card:hover img {
  transform: scale(1.05);
  filter: brightness(0.55);
}
.aftermovie-thumb-fallback {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
}
.aftermovie-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--dark);
  transition: transform 0.2s, background 0.2s, color 0.2s;
}
.aftermovie-card:hover .aftermovie-play {
  transform: translate(-50%, -60%) scale(1.12);
  background: var(--primary);
  color: var(--white);
}
.aftermovie-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.93);
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }

.lb-img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lb-img-wrap img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 8px 60px rgba(0,0,0,0.7);
  transition: opacity 0.2s;
}
.lb-img-wrap img.loading { opacity: 0; }

.lb-counter {
  color: rgba(255,255,255,0.5);
  font-family: var(--font-head);
  font-size: 0.8rem;
  margin-top: 0.75rem;
  letter-spacing: 2px;
}

.lb-close, .lb-prev, .lb-next {
  position: fixed;
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--white);
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.15s;
  line-height: 1;
}
.lb-close, .lb-prev, .lb-next { backdrop-filter: blur(4px); }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.22); }
.lb-prev:hover  { transform: translateX(-3px); }
.lb-next:hover  { transform: translateX(3px); }

.lb-close {
  top: 1.25rem; right: 1.25rem;
  width: 44px; height: 44px;
  font-size: 1.1rem;
}
.lb-prev, .lb-next {
  top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  font-size: 2rem;
  padding-bottom: 2px;
}
.lb-prev { left: 1.25rem; }
.lb-next { right: 1.25rem; }
.lb-prev:hover { transform: translateY(-50%) translateX(-3px); }
.lb-next:hover { transform: translateY(-50%) translateX(3px); }

/* ===== ENTRADAS ===== */
.entradas-intro {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--primary);
}
.entradas-precio-wrap { display: flex; align-items: baseline; gap: 0.5rem; }
.entradas-precio {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.entradas-nota {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.qi-recepcion {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===== QUÉ INCLUYE ===== */
.qi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1024px) {
  .qi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .qi-grid {
    grid-template-columns: 1fr;
  }
}
.qi-categoria {
  display: flex;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.qi-icon { font-size: 1.75rem; flex-shrink: 0; line-height: 1; margin-top: 0.1rem; }
.qi-titulo {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.qi-list { list-style: none; }
.qi-list li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 0.2rem 0;
  display: flex;
  gap: 0.4rem;
}
.qi-list li::before { content: "·"; color: var(--primary); font-weight: 700; flex-shrink: 0; }

.entrada-nota {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: -1rem;
  margin-bottom: 1.25rem;
}

/* ===== ALQUILER ===== */


/* ===== CONTACTO ===== */
.contacto-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}
.contacto-info h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 1rem;
}
.contacto-info p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}
.contacto-info a { color: var(--secondary); text-decoration: none; }
.contacto-info a:hover { text-decoration: underline; }

.form-group { margin-bottom: 1rem; }
.contacto-form input,
.contacto-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.2s;
  resize: vertical;
}
.contacto-form input::placeholder,
.contacto-form textarea::placeholder { color: rgba(255,255,255,0.35); }
.contacto-form input:focus,
.contacto-form textarea:focus {
  outline: none;
  border-color: var(--secondary);
}
.form-check-group { margin-bottom: 1.25rem; }
.form-check-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  cursor: pointer;
  line-height: 1.5;
}
.form-check-label input[type="checkbox"] {
  width: auto;
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: var(--secondary);
}
.form-check-label a { color: var(--secondary); text-decoration: underline; }
.form-check-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.4rem;
  line-height: 1.5;
}

.form-ok {
  display: none;
  color: var(--secondary);
  font-size: 0.875rem;
  margin-top: 0.75rem;
}
.form-ok.visible { display: block; }

/* ===== FOOTER ===== */
.footer {
  background: #0a0500;
  color: rgba(255,255,255,0.45);
  padding: 2rem 0;
  font-size: 0.85rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-social { display: flex; gap: 1.25rem; }
.footer-social a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.2s;
}
.footer-social a:hover { color: var(--secondary); }

.que-es-title {
  font-weight: bold;
  font-size: 1.6rem;
}

@media (max-width: 1300px) {
  .container {
    padding: 1rem 3rem;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {

  html {
    background-size: 100%;
  }
  .que-es-title {
    font-size:1rem;
  }
  :root { --nav-h-top: 120px; }

  /* Logo centrado en móvil, se desplaza a la izquierda al hacer scroll */
  .logo {
    position: absolute;
    top: 120%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-left: 0;
    transition: left 0.35s, top 0.35s, transform 0.35s;
  }
  .hero-content {
    padding:calc(var(--nav-h-top) + 3rem) 5vw 0rem;
  }
  .navbar.scrolled .logo {
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
  }
  .logo-img-wrap { height: 140px; }
  .navbar.scrolled .logo-img-wrap { height: 50px; }

  /* Hamburger siempre a la derecha */
  .nav-toggle { display: flex; margin-left: auto; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.25rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.6);
  }
  .nav-links li {background: none;}
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.8rem 1rem; font-size: 0.9rem; }
  .contacto-layout { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .hero-pre { font-size: 1.4rem; }
  .hidden-mobile { display: none !important; }
  .section { padding: 2rem 0; }
  .gallery-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 4px;
    padding: 0 1rem 4px;
  }
  .gallery-grid::-webkit-scrollbar { display: none; }
  .gallery-item {
    flex: 0 0 76vw;
    scroll-snap-align: start;
  }
  .hero-btns { flex-direction: column; }
  .btn { text-align: center; }
  .hero-title { letter-spacing: 2px; }
  .actividad {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
  .act-hora { padding-top: 0; }
  .act-toggle { display: flex; align-items: center; justify-content: center; }
  .act-toggle-solo { margin-top: 0.25rem; }
  .act-desc {
    max-height: 0;
    overflow: hidden;
    margin: 0;
    transition: max-height 0.35s ease;
  }
  .actividad.expanded .act-desc { max-height: 600px; }
}

br {
  display: block;
  margin: 20px 0;
}

/* ===== AVISO CARTEL EN CONSTRUCCIÓN ===== */
.cartel-reveal-notice {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: linear-gradient(135deg, var(--dark) 0%, #2e1400 100%);
  border-left: 4px solid var(--secondary);
  border-radius: var(--radius);
  padding: 1.1rem 1.5rem;
  margin-bottom: 2.5rem;
  color: var(--white);
}
.crn-icon {
  font-size: 2rem;
  flex-shrink: 0;
  animation: crn-pulse 2s ease-in-out infinite;
}
@keyframes crn-pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.18); }
}
.crn-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.9rem;
  line-height: 1.45;
}
.crn-text strong {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.crn-text span {
  color: rgba(255,255,255,0.7);
}
.crn-text a {
  color: var(--secondary);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.2s;
}
.crn-text a:hover {
  text-decoration-color: var(--secondary);
}

/* ===== ARTISTA PENDIENTE (revelar poco a poco) ===== */
.artista-card.artista-pendiente {
  pointer-events: none;
  cursor: default;
}
.artista-card.artista-pendiente:hover {
  transform: none;
  box-shadow: var(--shadow);
}
/* El canvas ocupa todo el contenedor */
.artista-card.artista-pendiente .artista-card-img canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.artista-card.artista-pendiente .artista-card-nombre,
.artista-card.artista-pendiente .artista-card-subtitulo {
  color: transparent;
  background: rgba(0,0,0,0.12);
  border-radius: 3px;
  user-select: none;
  min-height: 1em;
}

/* ── DISCO MODE ───────────────────────────────────────── */


/* Cursor sparkles */
.disco-sparkle {
  position: fixed;
  pointer-events: none;
  user-select: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  animation: sparkle-fly 0.7s ease-out forwards;
}

@keyframes sparkle-fly {
  0%   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(0.3); }
}

/* ──────────────────────────────────────────────────────── */