/* ─── Google Fonts ───────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Fjalla+One&family=Raleway:wght@300;400;500;600;700&display=swap');

/* ─── Variables ─────────────────────────────── */
:root {
  /* Colores exactos de Almorau.com */
  --bg:          #150B0F;   /* fondo principal */
  --bg-alt:      #140609;   /* variante más oscura */
  --bg-card:     #231417;   /* fondo tarjetas/secciones */
  --bg-card-mid: #3D2E32;   /* fondo elementos secundarios */
  --accent:      #DD183B;   /* rojo primario */
  --accent-dark: #CC1939;   /* rojo oscuro */
  --text:        #FFEDE6;   /* texto principal (blanco rosáceo cálido) */
  --text-muted:  #9A7A80;   /* texto secundario */
  --text-dim:    #5C3C42;   /* texto muy apagado */
  --white:       #FFFFFF;

  /* Tipografía */
  --font-head: 'Fjalla One', sans-serif;
  --font-body: 'Raleway', sans-serif;

  /* Layout */
  --max-w:    1200px;
  --header-h: 72px;
  --radius:   2px;
}

/* ─── Reset ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ─── Tipografía ──────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: 0.01em;
}

/* ─── Layout ─────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }

/* ─── Selección ──────────────────────────────── */
::selection { background: var(--accent); color: var(--white); }

/* ══════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════ */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  background: var(--bg);
  border-bottom: 1px solid rgba(221, 24, 59, 0.18);
}

.header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 53px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: brightness(1.15) contrast(1.05);
}

/* Fallback texto si la imagen no carga */
.logo-text {
  font-family: var(--font-head);
  font-size: 28px;
  text-transform: uppercase;
  color: var(--text);
  letter-spacing: 0.04em;
}
.logo-text span { color: var(--accent); }

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.2s;
}

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

.nav-logo-mobile { display: none; }

/* ── Hamburger ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  position: relative;
  z-index: 301;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.32s ease, opacity 0.22s ease;
}

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

/* ── Nav overlay ── */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 299;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.nav-overlay.open {
  opacity: 1;
}

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero {
  padding: 110px 0 90px;
  border-bottom: 1px solid var(--bg-card-mid);
  position: relative;
  overflow: hidden;
}

/* Contenedor del slideshow de fondo (mitad derecha) */
.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 72%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

/* Degradado izquierda: fondo sólido → transparente */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--bg) 0%, rgba(21,11,15,0.5) 35%, transparent 65%);
  z-index: 2;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0;
  z-index: 1;
}

.hero-bg-img.visible {
  animation: hero-img-in 1.4s ease forwards;
}

.hero-bg-img.exiting {
  animation: hero-img-out 1s ease forwards;
}

@keyframes hero-img-in {
  from { opacity: 0; }
  to   { opacity: 0.7; }
}

@keyframes hero-img-out {
  from { opacity: 0.7; transform: translateX(0);    }
  to   { opacity: 0;   transform: translateX(7%);   }
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(221,24,59,0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* El texto siempre encima de las imágenes */
.hero .container {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(54px, 9vw, 110px);
  line-height: 0.95;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  margin-top: 28px;
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 400;
  max-width: 480px;
}

/* ══════════════════════════════════════════════
   SOBRE NOSOTROS
══════════════════════════════════════════════ */
.section-sobre {
  background: var(--bg-card);
  text-align: center;
}

.sobre-titulo {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 52px;
}

.sobre-titulo-linea {
  flex: 1;
  height: 1px;
  background: var(--accent);
  opacity: 0.6;
}

.sobre-titulo-texto {
  font-family: var(--font-head);
  font-size: clamp(20px, 3vw, 32px);
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
  letter-spacing: 0.06em;
}

.sobre-body {
  max-width: 860px;
  margin: 0 auto 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sobre-body p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
}

.sobre-body strong {
  font-weight: 700;
  color: var(--white);
}

.sobre-keywords {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
}

.sobre-keywords span {
  font-family: var(--font-head);
  font-size: clamp(18px, 2.8vw, 28px);
  text-transform: uppercase;
  color: var(--text);
  letter-spacing: 0.04em;
  line-height: 1.2;
}

/* ── Flip h1: caracter a caracter por linea ── */
.h1-line-flip {
  display: inline;
  perspective: 700px;
}

.fch {
  display: inline-block;
  transform-origin: 50% 55%;
  will-change: transform, opacity;
}

.fch.fch-space {
  display: inline-block;
  width: 0.32em;
}

@keyframes fcOut {
  0%   { transform: rotateX(0deg);   opacity: 1; }
  100% { transform: rotateX(-90deg); opacity: 0; }
}

@keyframes fcIn {
  0%   { transform: rotateX(90deg);  opacity: 0; }
  100% { transform: rotateX(0deg);   opacity: 1; }
}

/* ══════════════════════════════════════════════
   SECCIONES
══════════════════════════════════════════════ */
.section {
  padding: 88px 0;
  border-bottom: 1px solid var(--bg-card-mid);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 48px;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--bg-card-mid);
}

/* ══════════════════════════════════════════════
   EVENTOS / CALENDARIO
══════════════════════════════════════════════ */
.eventos-list { display: flex; flex-direction: column; }

.evento-card-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--bg-card-mid);
}
.evento-card-wrap .evento-card {
  flex: 1;
  border-bottom: none;
  padding: 22px 0;
}

.btn-entradas {
  display: inline-block;
  padding: 8px 18px;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.18s;
  flex-shrink: 0;
}
.btn-entradas:hover { background: var(--accent-dark); }

.section-cta {
  text-align: center;
  margin-top: 32px;
}

.btn-ver-mas {
  display: inline-block;
  padding: 12px 36px;
  border: 2px solid var(--accent);
  color: var(--accent);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.18s, color 0.18s;
}
.btn-ver-mas:hover {
  background: var(--accent);
  color: var(--white);
}

/* ══════════════════════════════════════════════
   PÁGINA SOBRE NOSOTROS
══════════════════════════════════════════════ */
.snp-hero {
  padding: 90px 0 80px;
  background: var(--bg-card);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.snp-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
}
.snp-hero-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.snp-hero h1 {
  line-height: 1;
  margin-bottom: 28px;
}
.snp-hero-main {
  display: block;
  font-size: clamp(56px, 10vw, 120px);
}
.snp-hero-sub {
  display: block;
  font-size: clamp(22px, 3.5vw, 42px);
  color: var(--text-muted);
  letter-spacing: 0.12em;
}
.snp-hero-tagline {
  font-size: 15px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.snp-section {
  padding: 80px 0;
}
.snp-section--alt {
  background: var(--bg-card);
}
.snp-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.snp-h2 {
  font-size: clamp(26px, 3.5vw, 46px);
  margin-bottom: 32px;
}
.snp-body {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-muted);
  max-width: 780px;
}
.snp-body strong { color: var(--white); font-weight: 600; }

.snp-quote {
  padding: 80px 0;
  text-align: center;
}
.snp-quote blockquote {
  font-family: var(--font-head);
  font-size: clamp(22px, 3.5vw, 42px);
  color: var(--white);
  max-width: 940px;
  margin: 0 auto;
  line-height: 1.4;
  position: relative;
  padding: 40px 24px;
}
.snp-quote blockquote::before,
.snp-quote blockquote::after {
  font-family: Georgia, serif;
  font-size: 100px;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
  position: absolute;
}
.snp-quote blockquote::before { content: '\201C'; top: -10px; left: 0; }
.snp-quote blockquote::after  { content: '\201D'; bottom: -10px; right: 0; }

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 48px;
}
.servicio-item {
  background: var(--bg);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: background 0.25s;
}
.servicio-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--accent);
  transition: height 0.35s ease;
}
.servicio-item:hover { background: var(--bg-card-mid); }
.servicio-item:hover::before { height: 100%; }
.servicio-num {
  font-family: var(--font-head);
  font-size: 52px;
  color: var(--accent);
  opacity: 0.22;
  line-height: 1;
  margin-bottom: 20px;
}
.servicio-item h3 {
  font-size: 17px;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.servicio-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}

.snp-valores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 48px;
}
.snp-valor {
  background: var(--bg);
  padding: 48px 40px;
  position: relative;
}
.snp-valor::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  opacity: 0.4;
}
.snp-valor h3 {
  font-size: 20px;
  margin-bottom: 18px;
  color: var(--white);
}
.snp-valor p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
}

.snp-equipo-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.snp-equipo-aside h3 {
  font-size: clamp(52px, 7vw, 96px);
  color: var(--accent);
  opacity: 0.18;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

@media (max-width: 900px) {
  .servicios-grid { grid-template-columns: repeat(2, 1fr); }
  .snp-valores { grid-template-columns: 1fr; }
  .snp-equipo-inner { grid-template-columns: 1fr; gap: 32px; }
  .snp-equipo-aside h3 { font-size: 64px; }
}
@media (max-width: 640px) {
  .servicios-grid { grid-template-columns: 1fr; }
  .snp-hero { padding: 64px 0 56px; }
  .snp-section { padding: 56px 0; }
  .snp-valor { padding: 36px 24px; }
  .servicio-item { padding: 32px 24px; }
}

/* ══════════════════════════════════════════════
   PÁGINA VÍDEOS
══════════════════════════════════════════════ */
.video-entry {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--bg-card-mid);
}
.video-entry:last-child { border-bottom: none; }

.video-thumb-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-card);
  border-radius: var(--radius);
  flex-shrink: 0;
}
.video-thumb-link img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.video-thumb-link:hover img { transform: scale(1.05); }

.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.28);
  transition: background 0.25s;
}
.video-thumb-link:hover .video-play-overlay { background: rgba(221, 24, 59, 0.35); }

.video-play-icon {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent);
  padding-left: 4px;
  transition: transform 0.25s;
}
.video-thumb-link:hover .video-play-icon { transform: scale(1.1); }

.video-thumb-mp4 { background: #000; }
.video-thumb-mp4 video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.video-artista-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.video-titulo {
  font-family: var(--font-head);
  font-size: clamp(18px, 2vw, 26px);
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 20px;
}
.video-ver-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}
.video-ver-link:hover { color: var(--accent); }
.video-ver-link svg { width: 14px; height: 14px; flex-shrink: 0; }

@media (max-width: 768px) {
  .video-entry { grid-template-columns: 1fr; gap: 20px; }
}

/* ══════════════════════════════════════════════
   PÁGINA CONTACTO
══════════════════════════════════════════════ */
.contacto-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contacto-info-bloque {
  margin-bottom: 40px;
}
.contacto-info-bloque:last-child { margin-bottom: 0; }

.contacto-rol {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.contacto-persona {
  font-family: var(--font-head);
  font-size: 20px;
  color: var(--white);
  margin-bottom: 8px;
}
.contacto-info-bloque a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
  margin-bottom: 4px;
}
.contacto-info-bloque a:hover { color: var(--accent); }

.contacto-separador {
  width: 40px;
  height: 2px;
  background: var(--accent);
  opacity: 0.4;
  margin: 32px 0;
}

/* Formulario */
.contacto-form { display: flex; flex-direction: column; gap: 20px; }

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-group label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-mid);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 18px;
  width: 100%;
  transition: border-color 0.2s;
  outline: none;
  resize: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}
.form-group textarea { min-height: 150px; }

.btn-enviar {
  align-self: flex-start;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  padding: 14px 36px;
  cursor: pointer;
  transition: background 0.18s;
}
.btn-enviar:hover { background: var(--accent-dark); }
.btn-enviar:disabled { opacity: 0.5; cursor: not-allowed; }

.form-feedback {
  font-size: 14px;
  padding: 12px 18px;
  border-radius: var(--radius);
  display: none;
}
.form-feedback.ok  { background: rgba(76,175,130,0.12); color: #4caf82; display: block; }
.form-feedback.err { background: rgba(221,24,59,0.12);  color: var(--accent); display: block; }

/* btn-entradas en página de artista (dentro de evento-item) */
.evento-item .btn-entradas {
  margin-left: auto;
}

.evento-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(61,46,50,0.6);
  transition: padding-left 0.2s, background 0.2s;
  cursor: pointer;
}

.evento-card:hover {
  padding-left: 12px;
  background: rgba(35,20,23,0.5);
}

.evento-fecha-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-mid);
  border-top: 2px solid var(--accent);
  padding: 10px 8px 8px;
  border-radius: var(--radius);
}

.fecha-dia {
  font-family: var(--font-head);
  font-size: 28px;
  line-height: 1;
  color: var(--text);
}

.fecha-mes {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 2px;
}

.fecha-año {
  font-size: 10px;
  color: var(--text-dim);
  margin-top: 1px;
}

.evento-card-body {
  display: flex;
  align-items: center;
  gap: 18px;
}

.evento-thumb {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid var(--bg-card-mid);
  object-fit: cover;
}

.evento-artista-name {
  font-family: var(--font-head);
  font-size: 20px;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}

.evento-lugar-text {
  font-size: 13px;
  color: var(--text-muted);
}

.evento-ciudad-text {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 2px;
}

/* ══════════════════════════════════════════════
   ARTISTAS
══════════════════════════════════════════════ */
#artistas-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3px;
}

.artista-card {
  flex: 0 0 calc(25% - 3px);
}

.artista-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-card);
  display: block;
}

.artista-card-img {
  position: absolute;
  inset: 0;
}

.artista-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(.25,.46,.45,.94);
}

.artista-card:hover .artista-card-img img {
  transform: scale(1.06);
}

.artista-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg-card-mid);
}

.artista-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 20px 22px;
  background: linear-gradient(transparent, rgba(20,6,9,0.92) 50%);
}

.artista-card-info h3 {
  font-size: 22px;
  color: var(--white);
  text-transform: uppercase;
}

.artista-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 0px solid var(--accent);
  transition: border-width 0.2s;
  pointer-events: none;
}

.artista-card:hover::after {
  border-width: 2px;
}

/* ══════════════════════════════════════════════
   GALERÍA
══════════════════════════════════════════════ */
#galeria-grid,
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}

.galeria-item {
  overflow: hidden;
  background: var(--bg-card);
  cursor: pointer;
  aspect-ratio: 1 / 1;
}

.galeria-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s, transform 0.4s;
}

.galeria-item:hover img {
  opacity: 0.8;
  transform: scale(1.03);
}

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

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  display: block;
  border-radius: 2px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.7);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.65;
  padding: 6px 10px;
  transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 64px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.45;
  padding: 12px 18px;
  user-select: none;
  transition: opacity 0.2s;
}
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
.lightbox-prev:hover,
.lightbox-next:hover { opacity: 1; }

.lightbox-counter {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
}

/* ══════════════════════════════════════════════
   PÁGINA ARTISTA
══════════════════════════════════════════════ */
.artista-hero {
  min-height: 55vh;
  background: var(--bg-card) center 20% / cover no-repeat;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.artista-hero-overlay {
  width: 100%;
  padding: 80px 0 48px;
  background: linear-gradient(transparent, var(--bg-alt) 55%);
}

.artista-nombre {
  font-size: clamp(40px, 7vw, 90px);
  text-transform: uppercase;
  font-family: var(--font-head);
  color: var(--white);
  line-height: 1;
}

.artista-content { padding: 64px 0; }

.artista-bio {
  max-width: 700px;
  font-size: 17px;
  line-height: 1.78;
  color: var(--text-muted);
  margin-bottom: 72px;
}

.artista-section { margin-bottom: 72px; }

.artista-section h2 {
  font-size: 11px;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--bg-card-mid);
}

.eventos-artista { display: flex; flex-direction: column; }

.evento-item {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(61,46,50,0.5);
}

.evento-fecha {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  min-width: 200px;
}

.evento-info { display: flex; flex-direction: column; gap: 2px; }
.evento-ciudad { font-size: 15px; font-weight: 600; color: var(--text); }
.evento-lugar { font-size: 13px; color: var(--text-muted); }

.eventos-pasados .evento-item { opacity: 0.4; }

.calendario-subtitulo {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 48px 0 20px;
}
.calendario-subtitulo:first-child { margin-top: 0; }
.calendario-subtitulo--pasados { color: var(--text-muted); }

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.video-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
}

.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--bg-card);
  overflow: hidden;
}

.video-thumb img,
.video-thumb video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.video-card:hover .video-thumb img {
  transform: scale(1.04);
  opacity: 0.75;
}

.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0,0,0,0.7);
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.2s;
}

.video-card:hover .video-play-btn {
  opacity: 1;
  transform: scale(1.1);
}

.video-card-title {
  margin: 10px 0 0;
  font-size: 13px;
  font-family: var(--font-body);
  color: var(--text-muted);
  line-height: 1.4;
  text-align: center;
}

/* ─── Dossier selector (multi-dossier) ───── */
.dossier-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.dossier-tab {
  padding: 8px 22px;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.18s, color 0.18s;
}
.dossier-tab:hover,
.dossier-tab.active {
  background: var(--accent);
  color: var(--white);
}
.dossier-hidden { display: none; }

/* ─── Dossier inline ─────────────────────── */
.dossier-inline {
  width: 100%;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
}

.dossier-cargando {
  padding: 40px;
  text-align: center;
  color: #666;
  font-size: 13px;
}

/* PDF — páginas como canvas apiladas */
.dossier-page {
  display: block;
  width: 100%;
  height: auto;
}
.dossier-page + .dossier-page {
  border-top: 6px solid var(--bg);
}

/* DOCX — HTML generado por mammoth */
.dossier-doc {
  padding: 48px 56px;
  color: #1a1a1a;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 15px;
  line-height: 1.8;
}
.dossier-doc h1, .dossier-doc h2, .dossier-doc h3 {
  font-family: Arial, sans-serif;
  color: #111;
  margin: 1.4em 0 0.4em;
}
.dossier-doc p    { margin-bottom: 1em; }
.dossier-doc ul,
.dossier-doc ol   { margin: 0.5em 0 1em 1.6em; }
.dossier-doc img  { max-width: 100%; }
.dossier-doc table { border-collapse: collapse; width: 100%; margin-bottom: 1em; }
.dossier-doc td,
.dossier-doc th   { border: 1px solid #ccc; padding: 8px 12px; }
.dossier-doc strong { font-weight: 700; }
.dossier-doc em     { font-style: italic; }

/* Imagen como dossier */
.dossier-img { display: block; width: 100%; height: auto; }


/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid rgba(221, 24, 59, 0.15);
  padding: 52px 0 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.footer-logo img {
  height: auto;
  width: 160px;
  object-fit: contain;
  opacity: 0.95;
  transition: opacity 0.2s;
}
.footer-logo:hover img { opacity: 1; }

.footer-social {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.footer-social a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.2s;
}

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

.footer-legal {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 11px;
  color: var(--text-dim);
  transition: color 0.2s;
}

.footer-legal a:hover { color: var(--text-muted); }

.footer-copy {
  margin-top: 32px;
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
  border-top: 1px solid rgba(61,46,50,0.4);
  padding-top: 20px;
}

.footer-panel-link {
  color: inherit;
  text-decoration: none;
  cursor: default;
}

.footer-copy-br { display: none; }

.admin-link {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.admin-link:hover { color: var(--accent); }

/* ══════════════════════════════════════════════
   ESTADOS
══════════════════════════════════════════════ */
.empty-state {
  font-size: 14px;
  color: var(--text-dim);
  padding: 48px 0;
  font-style: italic;
}

.error-state {
  font-size: 14px;
  color: var(--accent);
  padding: 48px 0;
}

.loading {
  padding: 64px 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 12px;
  font-family: var(--font-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-overlay { display: block; left: min(72vw, 280px); }
  .header { z-index: 350; }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 72vw;
    max-width: 280px;
    height: 100vh;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: calc(var(--header-h) + 36px) 32px 40px;
    gap: 28px;
    z-index: 300;
    border-right: 1px solid rgba(221, 24, 59, 0.15);
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .nav.open { transform: translateX(0); }

  .nav a {
    font-size: 16px;
    font-weight: 700;
    color: #fff !important;
  }

  .nav-logo-mobile {
    display: block;
    margin-bottom: 12px;
  }

  .nav-logo-mobile img {
    height: auto;
    width: 160px;
    display: block;
    opacity: 1;
    filter: brightness(1.15);
    transition: filter 0.2s;
  }

  .nav-logo-mobile:hover img,
  .nav-logo-mobile:active img {
    filter: brightness(0) saturate(100%) invert(14%) sepia(90%) saturate(4000%) hue-rotate(336deg) brightness(95%);
  }
}

@media (max-width: 900px) {
  .artista-card { flex: 0 0 calc(33.333% - 2px); }
  #galeria-grid, .galeria-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-logo { grid-column: 1 / -1; justify-self: center; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .artista-card { flex: 0 0 calc(50% - 2px); }
  #galeria-grid, .galeria-grid { grid-template-columns: repeat(2, 1fr); }
  .videos-grid { grid-template-columns: 1fr; }
  .hero { padding: 72px 0 60px; }
  .hero h1 { font-size: clamp(34px, 9vw, 54px); }
  .evento-card { grid-template-columns: 68px 1fr; gap: 16px; }
  .evento-thumb { width: 38px; height: 38px; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-legal { justify-content: center; }
  .footer-social { justify-content: center; }
  .footer-copy-br { display: inline; }
}

@media (max-width: 900px) {
  .contacto-inner { grid-template-columns: 1fr; gap: 40px; }
  .contacto-separador { display: none; }
  .contacto-info-bloque {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 0;
    padding: 20px 0;
    border-bottom: 1px solid var(--bg-card-mid);
  }
  .contacto-info-bloque:last-child { border-bottom: none; padding-bottom: 0; }
  .contacto-rol { margin-bottom: 0; flex-shrink: 0; }
  .contacto-data { text-align: right; }
}

@media (max-width: 420px) {
  #artistas-grid { gap: 2px; }
  .artista-card { flex: 0 0 calc(50% - 1px); }
}

/* ─── Cookie Consent Banner ──────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #0d0608;
  border-top: 1px solid var(--bg-card-mid);
  padding: 20px 24px;
  text-align: center;
}
#cookie-banner p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto 16px;
}
#cookie-banner a.cookie-info-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.cookie-btn-reject {
  padding: 10px 28px;
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.08em;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--text-muted);
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.cookie-btn-reject:hover { border-color: var(--text); color: var(--white); }
.cookie-btn-accept {
  padding: 10px 28px;
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.08em;
  background: var(--accent);
  color: var(--white);
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: background .2s;
}
.cookie-btn-accept:hover { background: var(--accent-dark); }

/* ─── Páginas legales ────────────────────────── */
.legal-section {
  padding: 60px 0 80px;
}
.legal-body {
  max-width: 780px;
}
.legal-body h2 {
  font-size: 18px;
  margin: 40px 0 12px;
  color: var(--text);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.75;
}
.legal-body ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 12px;
}
.legal-body ul li {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 6px;
  line-height: 1.7;
}
.legal-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal-updated {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--bg-card-mid);
}
