/* ============================================
   EXPL-AI-N CHALLENGE — convocatoria + exposición interactiva
   ============================================ */

/* ---------- Hero (sin cambios: es el "header" de la página) ---------- */
.gallery-hero {
  padding-top: clamp(120px, 14vw, 180px);
  padding-bottom: clamp(40px, 5vw, 70px);
  text-align: center;
}
.gallery-hero__head { max-width: 820px; margin: 0 auto; }
.gallery-hero__title {
  font-family: var(--f-display);
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 18px 0 22px;
}
.gallery-hero__lede {
  color: var(--c-muted);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.gallery-hero__ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   EXPOSICIÓN INTERACTIVA
   ============================================ */
/* padding-bottom generoso: los widgets flotantes fijos (chat + "Habla con un
   experto", .floating-ctas, ~90px de alto abajo) NO deben tapar el botón "Votar"
   de cada slide, que cae en la zona baja. Reserva ese espacio. */
.exhibit { padding: clamp(40px, 5vw, 70px) 0 clamp(110px, 14vw, 140px); }

.exhibit__intro {
  max-width: 720px;
  margin: 0 auto clamp(28px, 4vw, 48px);
  text-align: center;
}
.exhibit__title {
  font-family: var(--f-display);
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 16px 0 14px;
}
.exhibit__lede {
  color: var(--c-muted);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.6;
}

.exhibit__empty {
  text-align: center;
  color: var(--c-muted-2);
  font-size: 15px;
  padding: 40px 0;
}

/* ---------- Tabs horizontales (una por propuesta) ---------- */
.exhibit__tabs-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(16px, 2.2vw, 26px);
}
.exhibit__tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  flex: 1;
  padding: 6px 2px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x proximity;
}
.exhibit__tabs::-webkit-scrollbar { display: none; }

.exhibit__tab {
  flex: 0 0 auto;
  scroll-snap-align: center;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  border: 1px solid var(--c-line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--c-muted);
  max-width: 260px;
  transition:
    color 0.25s var(--ease-out),
    border-color 0.25s var(--ease-out),
    background 0.25s var(--ease-out),
    transform 0.25s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
}
.exhibit__tab-thumb {
  position: relative;
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--c-base-deep), var(--c-dark));
  border: 1px solid var(--c-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.exhibit__tab-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}
.exhibit__tab-play { font-size: 12px; color: var(--c-cyan); }
.exhibit__tab-label {
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.exhibit__tab:hover {
  color: var(--c-white);
  border-color: var(--c-line-strong);
  transform: translateY(-2px);
}
.exhibit__tab:hover .exhibit__tab-thumb img { transform: scale(1.08); }
.exhibit__tab.is-active {
  color: var(--c-white);
  border-color: var(--c-cyan);
  background: var(--c-cyan-soft);
  box-shadow: 0 10px 26px -14px rgba(0, 229, 255, 0.55);
}
.exhibit__tab.is-active .exhibit__tab-thumb {
  border-color: var(--c-cyan);
  box-shadow: 0 0 0 2px rgba(0, 229, 255, 0.4);
}
.exhibit__tab:focus-visible {
  outline: none;
  border-color: var(--c-cyan);
  box-shadow: 0 0 0 3px var(--c-cyan-soft);
}

.exhibit__nav {
  flex-shrink: 0;
  width: 42px; height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--c-line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--c-muted);
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), background 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.exhibit__nav:hover {
  color: var(--c-white);
  border-color: var(--c-cyan);
  transform: translateY(-2px);
}
.exhibit__nav:focus-visible { outline: none; border-color: var(--c-cyan); box-shadow: 0 0 0 3px var(--c-cyan-soft); }

/* ---------- Stage deslizante ---------- */
/* Contenedor que el JS llena (tabs + stage). Confina el ancho para que el
   carrusel calcule bien el 100% de cada slide (sin esto el track se ensancha
   con el contenido y el translateX se desfasa progresivamente). */
.exhibit__viewer {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.exhibit__stage {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--c-line);
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 229, 255, 0.10), transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(234, 64, 118, 0.10), transparent 55%),
    rgba(18, 18, 18, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.exhibit__stage::before {
  content: "";
  position: absolute;
  top: 0; left: 8%; right: 8%;
  height: 1px;
  z-index: 3;
  background: linear-gradient(90deg, transparent, var(--c-cyan), var(--c-pink), transparent);
}
.exhibit__track {
  display: flex;
  width: 100%;
  will-change: transform;
  transition: transform 0.6s var(--ease-out);
}
.exhibit__slide {
  /* El ANCHO exacto de cada slide lo fija galeria.js inline (width y flex =
     (100/N)% del track), para que el translateX del carrusel sea exacto y no
     dependa del flex-basis. Aquí solo el fallback + el layout interno. */
  flex: 0 0 100%;
  box-sizing: border-box;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
  padding: clamp(20px, 3vw, 40px);
}

/* Media grande */
.exhibit__media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--c-line);
  background: linear-gradient(135deg, var(--c-base-deep), var(--c-dark));
  cursor: zoom-in;
}
.exhibit__media img,
.exhibit__media video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), filter 0.4s var(--ease-out);
}
.exhibit__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.35) 100%);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
  pointer-events: none;
}
.exhibit__media:hover img,
.exhibit__media:hover video { transform: scale(1.04); filter: saturate(1.05) brightness(1.03); }
.exhibit__media:hover::after { opacity: 1; }
.exhibit__media:focus-visible { outline: 2px solid var(--c-cyan); outline-offset: 3px; }

.exhibit__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 62px; height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--c-dark);
  background: var(--c-cyan);
  box-shadow: 0 12px 30px -8px rgba(0, 229, 255, 0.6);
  pointer-events: none;
  z-index: 2;
  transition: transform 0.3s var(--ease-out);
}
.exhibit__media:hover .exhibit__play { transform: translate(-50%, -50%) scale(1.08); }

.exhibit__zoom-hint {
  position: absolute;
  right: 12px; bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--c-white);
  background: rgba(10, 12, 14, 0.6);
  border: 1px solid var(--c-line-strong);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  pointer-events: none;
}
.exhibit__media:hover .exhibit__zoom-hint,
.exhibit__media:focus-visible .exhibit__zoom-hint { opacity: 1; transform: translateY(0); }

.exhibit__badge {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 3;
  font-family: var(--f-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-white);
  background: var(--c-pink);
  padding: 5px 11px;
  border-radius: 999px;
  box-shadow: 0 6px 16px -6px rgba(234, 64, 118, 0.6);
}
.exhibit__badge--sample {
  background: rgba(10, 12, 14, 0.6);
  border: 1px solid var(--c-line-strong);
  color: var(--c-cyan);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: none;
}

/* Panel de info */
.exhibit__info { min-width: 0; }
.exhibit__cat {
  display: inline-block;
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-cyan);
  padding: 5px 12px;
  border: 1px solid var(--c-line-strong);
  border-radius: 999px;
  background: var(--c-cyan-soft);
  margin-bottom: 14px;
}
.exhibit__slide-title {
  font-family: var(--f-display);
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.14;
  margin-bottom: 8px;
}
.exhibit__author {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted-2);
  margin-bottom: 16px;
}
.exhibit__author-link { color: var(--c-muted); transition: color 0.2s var(--ease-out); }
.exhibit__author-link:hover { color: var(--c-cyan); }
.exhibit__desc {
  color: var(--c-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 14px;
}
.exhibit__prompt {
  color: var(--c-muted-2);
  font-size: 13px;
  font-style: italic;
  line-height: 1.5;
  padding-left: 14px;
  border-left: 2px solid var(--c-line-strong);
  margin-bottom: 22px;
}

/* Voto integrado */
.exhibit__vote {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.exhibit__vote-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  color: var(--c-dark);
  background: var(--c-cyan);
  box-shadow: 0 10px 28px -10px rgba(0, 229, 255, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  transition: transform 0.25s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.25s var(--ease-out), color 0.25s var(--ease-out);
  overflow: visible;
}
.exhibit__vote-icon { transition: transform 0.25s var(--ease-out); }
.exhibit__vote-btn:hover {
  transform: translateY(-2px);
  background: var(--c-white);
  box-shadow: 0 16px 38px -12px rgba(0, 229, 255, 0.7), inset 0 0 0 1px rgba(0, 229, 255, 0.5);
}
.exhibit__vote-btn:hover .exhibit__vote-icon { transform: scale(1.12); }
.exhibit__vote-btn:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--c-cyan-soft), 0 10px 28px -10px rgba(0, 229, 255, 0.6); }

.exhibit__vote-btn.is-voted {
  background: rgba(234, 64, 118, 0.14);
  color: var(--c-pink);
  box-shadow: inset 0 0 0 1px rgba(234, 64, 118, 0.5);
  cursor: default;
}
.exhibit__vote-btn.is-voted .exhibit__vote-icon { fill: var(--c-pink); stroke: var(--c-pink); }
.exhibit__vote-btn.is-burst .exhibit__vote-icon { animation: vote-pop 0.5s var(--ease-out); }

.exhibit__vote-count {
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--c-muted);
}
.exhibit__vote-count.is-bump { animation: count-bump 0.4s var(--ease-out); }

/* Dots (posición — visibles sobre todo en móvil) */
.exhibit__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: clamp(18px, 2.4vw, 26px);
}
.exhibit__dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--c-line-strong);
  transition: width 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.exhibit__dot.is-active { width: 26px; background: var(--c-cyan); }
.exhibit__dot:hover { background: var(--c-muted); }

@keyframes vote-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.4) rotate(-8deg); }
  100% { transform: scale(1); }
}
@keyframes count-bump {
  0% { transform: translateY(0); color: var(--c-cyan); }
  40% { transform: translateY(-4px); color: var(--c-cyan); }
  100% { transform: translateY(0); }
}

@media (max-width: 860px) {
  /* Tablet/móvil: una sola columna (media arriba, info + botón abajo).
     El botón "Votar" cae abajo-izquierda, donde está el chat 💬 flotante (fixed),
     y no se podía clickear. Solución: en esta vista el bloque de voto va a lo
     ancho y el botón se separa del borde inferior con un margen, para no quedar
     bajo los widgets flotantes (chat abajo-izq, "Habla con un experto" abajo-der). */
  .exhibit__slide {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: clamp(18px, 3vw, 30px);
  }
  .exhibit__media { aspect-ratio: 16 / 11; }
  .exhibit__vote {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 72px;   /* despeja la franja inferior de los flotantes */
  }
  .exhibit__vote-btn { width: 100%; justify-content: center; }
  .exhibit__vote-count { text-align: center; }
}
@media (max-width: 560px) {
  /* Móvil: sin flechas (se navega por swipe/tabs), padding ajustado para que la
     obra + info entren completas sin desbordar. El slide mantiene min-width:100%
     (heredado) así que el carrusel no se desfasa en pantallas chicas. */
  .exhibit__nav { display: none; }
  .exhibit__tabs { gap: 8px; }
  .exhibit__tab-label { max-width: 108px; }
  .exhibit__slide { padding: 14px; gap: 14px; }
  .exhibit__media { aspect-ratio: 4 / 3; }
  .exhibit__slide-title { font-size: clamp(19px, 5.5vw, 24px); }
  .exhibit__tabs-wrap { gap: 6px; margin-bottom: 16px; }
  .exhibit__vote { gap: 10px; }
  .exhibit__vote-btn { padding: 11px 18px; font-size: 14px; }
  .exhibit__prompt { font-size: 13px; }
}
/* (El bloque de voto ya va full-width + separado de los flotantes desde 860px.) */

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0s linear 0.4s;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s var(--ease-out), visibility 0s;
}
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 12, 0.86);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  cursor: zoom-out;
}
.lightbox__stage {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: min(1100px, 92vw);
  max-height: 82vh;
}
.lightbox__media {
  max-width: 92vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.06);
  cursor: zoom-in;
  will-change: transform;
}
.lightbox__media.is-zoomed {
  cursor: zoom-out;
  transform: scale(1.6);
  transition: transform 0.4s var(--ease-out);
}
.lightbox__caption {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lightbox__title {
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--c-white);
}
.lightbox__author {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted-2);
}
.lightbox__close {
  position: absolute;
  top: clamp(14px, 3vw, 28px);
  right: clamp(14px, 3vw, 28px);
  z-index: 2;
  width: 46px; height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--c-line-strong);
  background: rgba(18, 18, 18, 0.6);
  color: var(--c-white);
  font-size: 24px;
  line-height: 1;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), background 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.lightbox__close:hover { border-color: var(--c-pink); color: var(--c-pink); transform: rotate(90deg); }
.lightbox__close:focus-visible { outline: none; border-color: var(--c-cyan); box-shadow: 0 0 0 3px var(--c-cyan-soft); }

@media (prefers-reduced-motion: reduce) {
  .exhibit__track { transition: none; }
  .lightbox__media.is-zoomed { transition: none; }
}

/* ---------- Bases ---------- */
.gallery-bases { padding: clamp(40px, 5vw, 70px) 0; }
.gallery-bases__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.gallery-bases__card {
  padding: 28px 24px;
  background: rgba(18, 18, 18, 0.6);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  position: relative;
  transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.gallery-bases__card:hover { transform: translateY(-3px); border-color: var(--c-pink); }
.gallery-bases__num {
  display: block;
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--c-pink);
  margin-bottom: 14px;
}
.gallery-bases__card h3 {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.gallery-bases__card p {
  color: var(--c-muted);
  font-size: 14px;
  line-height: 1.55;
}
@media (max-width: 880px) {
  .gallery-bases__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .gallery-bases__grid { grid-template-columns: 1fr; }
}

/* ---------- Exposición física ---------- */
.gallery-physical { padding: clamp(40px, 5vw, 70px) 0; }
.gallery-physical__card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
  padding: clamp(36px, 5vw, 60px);
  background:
    radial-gradient(circle at 100% 0%, rgba(234, 64, 118, 0.12), transparent 50%),
    rgba(18, 18, 18, 0.72);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  position: relative;
  overflow: hidden;
}
.gallery-physical__card::before {
  content: "";
  position: absolute;
  top: 0; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-pink), var(--c-cyan), transparent);
}
.gallery-physical__body h2 {
  font-family: var(--f-display);
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 14px 0 18px;
}
.gallery-physical__body p {
  color: var(--c-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 22px;
}
.gallery-physical__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gallery-physical__list li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.55;
}
.gallery-physical__list li strong { color: var(--c-white); font-weight: 600; }
.gallery-physical__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 12px; height: 12px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--c-cyan), var(--c-pink));
}

.gallery-physical__visual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  min-height: 320px;
}
.gallery-physical__frame {
  position: relative;
  grid-column: span 1;
  grid-row: span 2;
  background: linear-gradient(135deg, #0e0e0e, #1a1a1a);
  border: 8px solid #1f1f1f;
  border-radius: 6px;
  box-shadow:
    0 30px 60px -25px rgba(0,0,0,0.7),
    inset 0 0 0 1px rgba(255,255,255,0.06);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.gallery-physical__frame--sm {
  grid-row: span 1;
  border-width: 6px;
}
.gallery-physical__plate {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--f-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--c-dark);
  background: var(--c-cyan);
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 2;
  box-shadow: 0 4px 14px -4px rgba(0,229,255,0.6);
}
.gallery-physical__art {
  flex: 1;
  border-radius: 3px;
  background:
    radial-gradient(circle at 30% 30%, rgba(234,64,118,0.35), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(0,229,255,0.35), transparent 55%),
    linear-gradient(135deg, var(--c-base-deep), var(--c-dark));
}

@media (max-width: 880px) {
  .gallery-physical__card { grid-template-columns: 1fr; }
  .gallery-physical__visual { min-height: 280px; }
}

/* ---------- CTA final ---------- */
.gallery-cta { padding: clamp(40px, 5vw, 70px) 0 clamp(60px, 7vw, 100px); }

/* Aviso del tope de votos (3 por persona). No intrusivo, abajo centrado. */
.vote-limit-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(12px);
  background: rgba(20, 20, 28, 0.96);
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.4;
  max-width: min(90vw, 380px);
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 9999;
}
.vote-limit-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Contador "Te quedan N votos" bajo la intro de la galería. */
.exhibit__votes-left {
  margin-top: 14px;
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--c-cyan);
}
.exhibit__votes-left:empty { display: none; }

/* CAPTCHA de votación: centrado, justo debajo del carrusel, separado con aire.
   Cerca de la acción de votar (UX) sin competir con el botón de cada slide. */
.exhibit__captcha {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: clamp(22px, 3vw, 34px);
}
.exhibit__captcha-hint {
  font-size: 13px;
  color: var(--c-muted);
  letter-spacing: 0.01em;
}
