/* Tour Jardines — experiencia 2026 (enhancements; no libs) */

/* --- Logo en nube --- */
.tour-logo-cloud {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: min(100%, 520px);
  margin: 0 auto .85rem;
  padding: 1.1rem 1.35rem 1.25rem;
  isolation: isolate;
}
.tour-logo-cloud__puff {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #f4f8ff 62%, #e8f0fa 100%);
  box-shadow:
    0 8px 22px rgba(4, 48, 100, .08),
    inset 0 -6px 12px rgba(4, 48, 100, .04);
  z-index: 0;
  pointer-events: none;
}
.tour-logo-cloud__puff--a {
  width: 72%;
  height: 58%;
  left: 14%;
  top: 22%;
}
.tour-logo-cloud__puff--b {
  width: 42%;
  height: 48%;
  left: 2%;
  top: 28%;
}
.tour-logo-cloud__puff--c {
  width: 40%;
  height: 46%;
  right: 2%;
  top: 30%;
}
.tour-logo-cloud .tour-main-logo {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(4, 48, 100, .12));
}
@media (prefers-reduced-motion: no-preference) {
  .tour-logo-cloud {
    animation: tour-cloud-float 6.5s ease-in-out infinite;
  }
}
@keyframes tour-cloud-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* --- Reloj personaje --- */
.tour-countdown-panel--character {
  overflow: visible !important;
}
.tour-countdown--clockface {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .65rem;
}
.tour-clock-character {
  width: 112px;
  height: 112px;
  margin: 0 auto .15rem;
}
.tour-clock-face {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #fffef5 0%, #ffe566 42%, #fad029 78%, #e6bc1a 100%);
  border: 4px solid #043064;
  box-shadow:
    0 8px 0 rgba(4, 48, 100, .14),
    0 14px 24px rgba(4, 48, 100, .16),
    inset 0 -8px 16px rgba(0, 0, 0, .06);
}
.tour-clock-rim {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 2px dashed rgba(4, 48, 100, .18);
  pointer-events: none;
}
.tour-clock-eyes {
  position: absolute;
  top: 34%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 18px;
}
.tour-clock-eye {
  width: 18px;
  height: 22px;
  background: #fff;
  border: 2px solid #043064;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.tour-clock-eye i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #043064;
  transform: translate(0, 1px);
}
.tour-clock-mouth {
  position: absolute;
  bottom: 26%;
  left: 50%;
  width: 28px;
  height: 14px;
  margin-left: -14px;
  border: 2.5px solid #043064;
  border-top: 0;
  border-radius: 0 0 16px 16px;
  background: transparent;
}
.tour-clock-hands {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 28px;
  margin-left: -1px;
  margin-top: -22px;
  background: #043064;
  border-radius: 2px;
  transform-origin: 50% 85%;
  opacity: .35;
}
@media (prefers-reduced-motion: no-preference) {
  .tour-clock-eye {
    animation: tour-blink 4.8s ease-in-out infinite;
  }
  .tour-clock-eye--r {
    animation-delay: .15s;
  }
  .tour-clock-eye i {
    animation: tour-eye-look 5.5s ease-in-out infinite;
  }
  .tour-clock-hands {
    animation: tour-hand-tick 2s steps(2) infinite;
  }
  .tour-countdown--clockface .cd-val {
    transition: transform .2s ease;
  }
  .tour-countdown--clockface .cd-unit.is-tick .cd-val {
    transform: scale(1.08);
  }
}
@keyframes tour-blink {
  0%, 42%, 48%, 100% { transform: scaleY(1); }
  45% { transform: scaleY(0.12); }
}
@keyframes tour-eye-look {
  0%, 40%, 100% { transform: translate(0, 1px); }
  55% { transform: translate(2px, 1px); }
  70% { transform: translate(-2px, 2px); }
}
@keyframes tour-hand-tick {
  0% { transform: rotate(-12deg); }
  50% { transform: rotate(12deg); }
  100% { transform: rotate(-12deg); }
}

/* --- Tally ranking numbers (puestos 1..N) — left only, yellow, minimal --- */
.tour-page .tour-tally__rank {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 1.35rem !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 .1rem 0 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  font-weight: 800 !important;
  font-size: 1.05rem !important;
  line-height: 1 !important;
  letter-spacing: -0.02em !important;
  color: #FAD029 !important;
  text-shadow: 0 1px 0 rgba(4, 48, 100, .08) !important;
  user-select: none;
}
.tour-page .tour-tally__rank-num {
  display: block;
  color: inherit !important;
}
/* Todos los puestos mismo amarillo Dapinty (sin acentos 1º/2º/3º) */
.tour-page .tour-tally__item[data-rank] .tour-tally__rank {
  color: #FAD029 !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}
.tour-page .tour-tally__rank--right {
  display: none !important; /* v2: solo izquierda */
}
.tour-page .tour-tally__item.is-rank-move {
  border-color: #fad029 !important;
  box-shadow: 0 0 0 2px rgba(250, 208, 41, .35), 0 6px 18px rgba(4, 48, 100, .12) !important;
}
@media (max-width: 700px) {
  .tour-page .tour-tally__rank {
    font-size: .95rem !important;
    min-width: 1.15rem !important;
  }
}
@media (min-width: 701px) {
  .tour-page .tour-tally__rank {
    font-size: 1.15rem !important;
    min-width: 1.45rem !important;
  }
}

/* --- Tally compact vertical rows + circle applause --- */
.tour-page .tour-tally {
  max-width: 720px !important;
  margin-inline: auto !important;
  margin-block: 2rem 1.5rem !important;
  padding: 1.15rem .85rem 1.25rem !important;
  overflow-x: hidden !important;
  text-align: center !important;
}
.tour-page .tour-tally__title,
.tour-page .tour-tally__sub {
  text-align: center !important;
}
.tour-page .tour-tally__list {
  list-style: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: .55rem !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: 640px !important;
}
.tour-page .tour-tally__item {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: left !important;
  gap: .65rem .75rem !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: .55rem .7rem !important;
  min-height: 0 !important;
  background: #fff !important;
  border: 2px solid #e8eef5 !important;
  border-radius: .95rem !important;
  box-shadow: 0 3px 12px rgba(4, 48, 100, .06) !important;
  grid-template-columns: none !important;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity .4s ease,
    transform .4s cubic-bezier(.2, .8, .2, 1),
    box-shadow .2s ease,
    border-color .2s ease;
  position: relative;
  overflow: visible !important;
}
.tour-page .tour-tally__item.is-in {
  opacity: 1;
  transform: translateY(0);
}
.tour-page .tour-tally__item:hover {
  box-shadow: 0 6px 18px rgba(4, 48, 100, .1) !important;
  border-color: #fad029 !important;
}
.tour-page .tour-tally__item--last-voted {
  border-color: #f79ac0 !important;
  background: linear-gradient(90deg, #fff8e8 0%, #fff 55%) !important;
}
.tour-page .tour-tally__logo-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto;
  width: auto;
}
.tour-page .tour-tally__logo-link,
.tour-page .tour-tally__logo {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  object-fit: cover !important;
  background: #f7fafc !important;
  display: block !important;
  margin-inline: 0 !important;
  transform: none !important;
  flex-shrink: 0;
}
.tour-page .tour-tally__logo-link:hover,
.tour-page .tour-tally__logo-link:active {
  transform: scale(0.94) !important;
}
.tour-page .tour-tally__logo--placeholder {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.35rem !important;
  border-radius: 50% !important;
}
.tour-page .tour-tally__main {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: .2rem !important;
  align-items: flex-start !important;
}
.tour-page .tour-tally__name {
  margin: 0 !important;
  font-weight: 800 !important;
  font-size: .9rem !important;
  color: #043064 !important;
  line-height: 1.25 !important;
  text-align: left !important;
  max-width: 100%;
}
.tour-page .tour-tally__ig { display: none !important; }
.tour-page .tour-tally__votes {
  text-align: center !important;
  min-width: 3.2rem !important;
  flex: 0 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: .05rem !important;
}
.tour-page .tour-tally__votes-label {
  display: block !important;
  order: 0 !important;
  font-size: .58rem !important;
  font-weight: 800 !important;
  color: #043064 !important;
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
  margin: 0 !important;
}
.tour-page .tour-tally__votes-num {
  display: block !important;
  order: 1 !important;
  font-size: 1.35rem !important;
  font-weight: 900 !important;
  color: #e85d04 !important;
  font-variant-numeric: tabular-nums !important;
  line-height: 1 !important;
  margin: 0 !important;
}
.tour-page .tour-tally__plus-vote {
  position: absolute;
  top: -0.4rem;
  right: -0.55rem;
  font-size: .62rem;
  font-weight: 900;
  color: #e85d04;
  background: #fff8e8;
  border: 2px solid #fad029;
  border-radius: 999px;
  padding: .1rem .35rem;
  opacity: 0;
  transform: translateY(4px) scale(.9);
  pointer-events: none;
  white-space: nowrap;
  z-index: 2;
}
.tour-page .tour-tally__item.is-last-play .tour-tally__plus-vote,
.tour-page .tour-tally__item.is-last-played .tour-tally__plus-vote {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity .45s ease, transform .45s cubic-bezier(.2,.8,.2,1);
}
.tour-page .tour-tally__last-chip {
  display: inline-block;
  font-size: .58rem;
  font-weight: 800;
  color: #043064;
  background: #ffe9f3;
  border: 1.5px solid #f79ac0;
  border-radius: 999px;
  padding: .12rem .4rem;
  max-width: 100%;
  line-height: 1.2;
}

/* Circle applause */
.tour-tally__applause-wrap {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: .4rem !important;
  flex: 0 0 auto !important;
  margin-left: auto !important;
}
.tour-applause-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  -webkit-appearance: none;
  appearance: none;
  font: inherit;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease, background .2s ease, border-color .2s ease !important;
}
.tour-applause-btn--circle {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  border: 2px solid #7ec8e3 !important;
  background: linear-gradient(180deg, #e8f7ff 0%, #cfefff 100%) !important;
  color: #043064 !important;
  font-size: 1.25rem !important;
  line-height: 1 !important;
  box-shadow: 0 3px 0 #5bb0d0 !important;
}
.tour-applause-btn--circle:hover:not(:disabled):not(.is-done) {
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 0 #5bb0d0 !important;
}
.tour-applause-btn--circle:active:not(:disabled):not(.is-done) {
  transform: translateY(2px) !important;
  box-shadow: 0 1px 0 #5bb0d0 !important;
}
.tour-applause-btn--circle.is-done,
.tour-applause-btn--circle:disabled {
  background: #f0f4f8 !important;
  border-color: #d0dae6 !important;
  color: #5a6b7d !important;
  box-shadow: none !important;
  cursor: default !important;
  opacity: .9 !important;
}
.tour-applause-btn.is-clap {
  animation: tour-clap-pop .45s ease;
}
.tour-applause-btn.is-busy {
  opacity: .7 !important;
  pointer-events: none !important;
}
.tour-tally__applause-count {
  margin: 0 !important;
  font-size: .82rem !important;
  color: #3B5787 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: .2rem !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}
.tour-tally__applause-num {
  color: #0a7ea4 !important;
  font-weight: 900 !important;
  font-variant-numeric: tabular-nums;
}
.tour-tally__applause-total {
  color: #0a7ea4;
  font-weight: 800;
}
.tour-applause-float {
  position: absolute;
  top: 30%;
  right: 3.5rem;
  transform: translate(0, 0);
  font-size: .95rem;
  font-weight: 900;
  color: #0a7ea4;
  pointer-events: none;
  animation: tour-applause-float .85s ease forwards;
  z-index: 3;
  text-shadow: 0 1px 0 #fff;
}
@keyframes tour-clap-pop {
  0% { transform: scale(1) rotate(0); }
  40% { transform: scale(1.28) rotate(-12deg); }
  100% { transform: scale(1) rotate(0); }
}
@keyframes tour-applause-float {
  0% { opacity: 0; transform: translate(0, 8px) scale(.85); }
  25% { opacity: 1; }
  100% { opacity: 0; transform: translate(0, -28px) scale(1.05); }
}
.tour-applause-toast {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%) translateY(12px);
  z-index: 9999;
  max-width: min(92vw, 360px);
  padding: .7rem 1rem;
  border-radius: 999px;
  background: #043064;
  color: #fff;
  font-weight: 800;
  font-size: .9rem;
  text-align: center;
  box-shadow: 0 10px 28px rgba(4,48,100,.28);
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}
.tour-applause-toast.is-in {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.tour-applause-toast--ok { background: #0a7ea4; }
.tour-applause-toast--info { background: #3B5787; }
.tour-applause-toast--err { background: #c0392b; }

@media (min-width: 701px) {
  .tour-page .tour-tally__logo-link,
  .tour-page .tour-tally__logo {
    width: 56px !important;
    height: 56px !important;
  }
  .tour-page .tour-tally__votes-num { font-size: 1.45rem !important; }
  .tour-page .tour-tally__name { font-size: .95rem !important; }
  .tour-applause-btn--circle {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    font-size: 1.35rem !important;
  }
}
@media (max-width: 700px) {
  .tour-page .tour-tally {
    padding: 1rem .55rem 1.1rem !important;
  }
  .tour-page .tour-tally__list {
    max-width: 100% !important;
    gap: .45rem !important;
  }
  .tour-page .tour-tally__item {
    padding: .45rem .55rem !important;
    gap: .45rem .5rem !important;
  }
  .tour-page .tour-tally__logo-link,
  .tour-page .tour-tally__logo {
    width: 44px !important;
    height: 44px !important;
  }
  .tour-page .tour-tally__name { font-size: .82rem !important; }
  .tour-page .tour-tally__votes { min-width: 2.6rem !important; }
  .tour-page .tour-tally__votes-num { font-size: 1.2rem !important; }
  .tour-applause-btn--circle {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    font-size: 1.1rem !important;
  }
  .tour-tally__applause-count { font-size: .75rem !important; }
}
@media (prefers-reduced-motion: reduce) {
  .tour-page .tour-tally__item,
  .tour-applause-btn,
  .tour-applause-float,
  .tour-applause-toast {
    transition: none !important;
    animation: none !important;
  }
}

/* --- Último voto +1 --- */
.tour-last-vote {
  margin: 1.75rem 0 1.5rem;
  padding: 1.25rem 1.1rem 1.35rem;
  background: linear-gradient(165deg, #fff8e8 0%, #eef7ff 55%, #ffe9f3 100%);
  border: 3px solid #f79ac0;
  border-radius: 1.25rem;
  box-shadow: 0 10px 28px rgba(4, 48, 100, .08);
  text-align: center;
  overflow: hidden;
}
.tour-last-vote--empty {
  background: #f7fafc;
  border-color: #e8eef5;
  padding: 1rem;
}
.tour-last-vote__title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 900;
  color: #043064;
}
.tour-last-vote__card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.35rem;
}
.tour-last-vote__logo-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  opacity: 0;
  transform: scale(.86);
}
.tour-last-vote.is-play .tour-last-vote__logo-wrap {
  animation: tour-lv-logo .55s cubic-bezier(.2, .9, .3, 1.15) forwards;
}
.tour-last-vote__logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(4, 48, 100, .12);
  display: block;
}
.tour-last-vote__logo--ph {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 20px rgba(4, 48, 100, .1);
}
.tour-last-vote__plus {
  position: absolute;
  right: -18px;
  top: -10px;
  min-width: 44px;
  height: 44px;
  padding: 0 .35rem;
  border-radius: 999px;
  background: linear-gradient(160deg, #ffe566, #fad029);
  color: #043064;
  font-weight: 900;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #043064;
  box-shadow: 0 6px 16px rgba(250, 208, 41, .45);
  opacity: 0;
  transform: scale(.4);
  pointer-events: none;
  z-index: 2;
}
.tour-last-vote.is-play .tour-last-vote__plus {
  animation: tour-lv-plus 1.35s cubic-bezier(.2, .9, .25, 1.2) .35s forwards;
}
.tour-last-vote__text {
  text-align: left;
  min-width: 160px;
  opacity: 0;
  transform: translateY(10px);
}
.tour-last-vote.is-play .tour-last-vote__text {
  animation: tour-lv-text .5s ease .85s forwards;
}
.tour-last-vote__user {
  margin: 0 0 .25rem;
  font-size: 1.35rem;
  font-weight: 900;
  color: #043064;
}
.tour-last-vote__inst {
  margin: 0;
  font-size: 1rem;
  color: #3b5787;
}
@keyframes tour-lv-logo {
  to { opacity: 1; transform: scale(1); }
}
@keyframes tour-lv-plus {
  0% { opacity: 0; transform: scale(.4) rotate(-12deg); filter: brightness(1); }
  35% { opacity: 1; transform: scale(1.22) rotate(0deg); filter: brightness(1.25); }
  55% { opacity: 1; transform: scale(.96); filter: brightness(1.05); }
  75% { opacity: 1; transform: scale(1.06); }
  100% { opacity: .92; transform: scale(1); filter: brightness(1); }
}
@keyframes tour-lv-text {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .tour-last-vote__logo-wrap,
  .tour-last-vote__plus,
  .tour-last-vote__text {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* --- Premio protagonista (CTA Instagram directo) --- */
.tour-prize-hero {
  margin: 2rem 0 1.75rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s ease, transform .55s ease;
}
.tour-prize-hero.is-in {
  opacity: 1;
  transform: none;
}
.tour-prize-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .55rem;
  padding: 1.35rem 1.25rem 1.5rem;
  border: 3px solid #043064;
  border-radius: 1.4rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .55), transparent 45%),
    linear-gradient(135deg, #fff3cc 0%, #fad029 45%, #ff9f1c 100%);
  box-shadow: 0 14px 32px rgba(4, 48, 100, .16);
}
.tour-prize-hero.is-in .tour-prize-hero__inner {
  animation: tour-prize-glow 2.8s ease-in-out infinite;
}
.tour-prize-hero__gift {
  font-size: 2.5rem;
  line-height: 1;
  filter: drop-shadow(0 4px 8px rgba(4, 48, 100, .15));
}
.tour-prize-hero__q {
  margin: 0;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 900;
  color: #043064;
  letter-spacing: .01em;
}
.tour-prize-hero__lead {
  margin: 0;
  max-width: 28rem;
  color: #7a3e00;
  font-weight: 700;
  line-height: 1.4;
}
.tour-prize-hero__cta-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: .35rem;
  padding: .75rem 1.45rem;
  border-radius: 999px;
  border: 3px solid #043064;
  background: #fff;
  color: #043064;
  font-weight: 900;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 4px 0 #043064;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.tour-prize-hero__cta-link::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
}
.tour-prize-hero.is-in .tour-prize-hero__cta-link::after {
  animation: tour-prize-shine 3.2s ease-in-out infinite;
}
.tour-prize-hero__cta-link:hover,
.tour-prize-hero__cta-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #043064;
  outline: none;
}
.tour-prize-hero__cta-link:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #043064;
}
@keyframes tour-prize-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(250, 208, 41, .35), 0 14px 32px rgba(4, 48, 100, .16); }
  50% { box-shadow: 0 0 22px 4px rgba(250, 208, 41, .5), 0 14px 32px rgba(4, 48, 100, .16); }
}
@keyframes tour-prize-shine {
  0%, 35% { left: -120%; }
  55% { left: 130%; }
  100% { left: 130%; }
}

/* --- Mejores momentos --- */
.tour-moments {
  margin: 2.25rem 0 2rem;
  padding: 1.5rem 1.15rem 1.75rem;
  background: linear-gradient(180deg, #fff 0%, #f5f9ff 100%);
  border: 3px solid #167ebc;
  border-radius: 1.35rem;
  box-shadow: 0 12px 30px rgba(4, 48, 100, .08);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.tour-moments.is-in {
  opacity: 1;
  transform: none;
}
.tour-moments__intro {
  text-align: center;
  margin-bottom: 1.35rem;
}
.tour-moments__title {
  margin: 0 0 .55rem;
  font-size: clamp(1.2rem, 3.2vw, 1.65rem);
  font-weight: 900;
  color: #043064;
  line-height: 1.25;
}
.tour-moments__lead {
  margin: 0 auto;
  max-width: 36rem;
  color: #3b5787;
  line-height: 1.45;
}
.tour-moments__sub {
  margin: 0 0 .85rem;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 900;
  color: #043064;
}
.tour-moments__featured {
  margin-bottom: 1.75rem;
  padding: 1rem;
  background: #fff;
  border-radius: 1.1rem;
  border: 2px solid #e8eef5;
  box-shadow: 0 6px 18px rgba(4, 48, 100, .06);
}
.tour-moments__featured-title {
  margin: 0 0 .4rem;
  text-align: center;
  font-size: 1.2rem;
  color: #043064;
}
.tour-moments__featured-desc,
.tour-moments__featured-meta {
  text-align: center;
  margin: 0 0 .65rem;
}
.tour-moments__featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  justify-content: center;
  font-size: .9rem;
}
.tour-moments__video {
  max-width: 720px;
  margin: 0 auto;
}
.tour-moments__thumb-link {
  position: relative;
  display: block;
  border-radius: .85rem;
  overflow: hidden;
}
.tour-moments__thumb-link img {
  width: 100%;
  height: auto;
  display: block;
}
.tour-moments__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(4, 48, 100, .85);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.tour-moments__gallery {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
}
@media (min-width: 700px) {
  .tour-moments__gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .85rem;
  }
}
.tour-moments__shot {
  position: relative;
  margin: 0;
  border-radius: .85rem;
  overflow: hidden;
  background: #eef3f8;
  aspect-ratio: 4 / 3;
  box-shadow: 0 4px 14px rgba(4, 48, 100, .08);
}
.tour-moments__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tour-moments__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: .4rem .55rem;
  font-size: .78rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(transparent, rgba(4, 48, 100, .75));
}
.tour-moments__more-wrap {
  text-align: center;
  margin: 0 0 1.5rem;
}
.tour-moments__empty {
  text-align: center;
  margin: 0 0 1rem;
}
.tour-moments__inst-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: .85rem;
}
.tour-moments__inst-card {
  background: #fff;
  border: 2px solid #e8eef5;
  border-radius: 1rem;
  padding: 1rem .85rem;
  text-align: center;
  box-shadow: 0 4px 14px rgba(4, 48, 100, .06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
}
.tour-moments__inst-card h4 {
  margin: 0;
  font-size: .95rem;
  color: #043064;
  line-height: 1.25;
}
.tour-moments__inst-thumb {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 16px;
  background: #f7fafc;
}

/* Prevent horizontal overflow on tour page */
.tour-page {
  overflow-x: clip;
  max-width: 100%;
}
.tour-page img {
  max-width: 100%;
  height: auto;
}

@media (prefers-reduced-motion: reduce) {
  .tour-logo-cloud,
  .tour-prize-hero.is-in .tour-prize-hero__inner,
  .tour-prize-hero.is-in .tour-prize-hero__cta-link::after {
    animation: none !important;
  }
  .tour-tally__item,
  .tour-prize-hero,
  .tour-moments {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* --- Tarjetas de video interactivas (grid votación) --- */
.tour-page .card-grid .tour-vote-card {
  border: 2px solid #e8eef5;
  border-radius: 1.15rem;
  background: #fff;
  box-shadow: 0 4px 14px rgba(4, 48, 100, .07);
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease;
  overflow: hidden;
}
.tour-page .card-grid .tour-vote-card .tour-vote-card__frame,
.tour-page .card-grid .tour-vote-card .video-frame {
  border-radius: .95rem .95rem .35rem .35rem;
  border: 2px solid #e8eef5;
  border-bottom: 3px solid #ffb07a;
  background: linear-gradient(180deg, #fff8f2 0%, #fff1e8 100%);
  transition: box-shadow .22s ease, border-color .22s ease;
}
.tour-page .card-grid .tour-vote-card:hover,
.tour-page .card-grid .tour-vote-card:focus-within,
.tour-page .card-grid .tour-vote-card.is-touch {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(4, 48, 100, .14);
  border-color: #fad029;
}
.tour-page .card-grid .tour-vote-card:active {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(4, 48, 100, .12);
}
.tour-page .card-grid .tour-vote-card:hover .video-frame,
.tour-page .card-grid .tour-vote-card:focus-within .video-frame,
.tour-page .card-grid .tour-vote-card.is-touch .video-frame,
.tour-page .card-grid .tour-vote-card:active .video-frame {
  border-color: #fad029;
  box-shadow: inset 0 0 0 1px rgba(250, 208, 41, .35);
}
@media (hover: none) {
  .tour-page .card-grid .tour-vote-card:active,
  .tour-page .card-grid .tour-vote-card.is-touch {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(4, 48, 100, .14);
    border-color: #fad029;
  }
}

/* Moments by institution — published / soon */
.tour-moments__by-inst-lead {
  text-align: center;
  margin: 0 auto 1.1rem;
  max-width: 34rem;
  line-height: 1.45;
}
.tour-moments__inst-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: .9rem;
}
.tour-moments__inst-card {
  background: #fff;
  border: 2px solid #e8eef5;
  border-radius: 1.05rem;
  padding: .9rem .8rem 1rem;
  text-align: center;
  box-shadow: 0 4px 14px rgba(4, 48, 100, .06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .45rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tour-moments__inst-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(4, 48, 100, .1);
  border-color: #7ec8e3;
}
.tour-moments__inst-card h4 {
  margin: 0;
  font-size: .95rem;
  color: #043064;
  line-height: 1.25;
}
.tour-moments__inst-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: .75rem;
  overflow: hidden;
  background: #eef3f8;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tour-moments__inst-media--soon {
  background: linear-gradient(145deg, #fff8e8 0%, #e8f7ff 55%, #ffe9f3 100%);
  border: 2px dashed #7ec8e3;
}
.tour-moments__inst-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  background: #f7fafc;
}
.tour-moments__inst-thumb--logo {
  width: 64px !important;
  height: 64px !important;
  object-fit: contain;
  border-radius: 14px !important;
}
.tour-moments__inst-thumb--ph {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  width: 100%;
  height: 100%;
}
.tour-moments__inst-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(4, 48, 100, .82);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  pointer-events: none;
}
.tour-moments__soon-badge {
  font-size: 1.75rem;
  line-height: 1;
}
.tour-moments__soon-label {
  margin: 0;
  font-size: .82rem;
  font-weight: 900;
  color: #0a7ea4;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.tour-moments__inst-desc {
  margin: 0;
  font-size: .8rem;
  line-height: 1.35;
}
.tour-moments__inst-cta {
  margin-top: .15rem;
}
.tour-moments__inst-card--soon {
  background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
}
.tour-moments__inst-card--published {
  border-color: #7ec8e3;
}

@media (max-width: 480px) {
  .tour-moments__inst-grid {
    grid-template-columns: 1fr 1fr;
    gap: .65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tour-page .card-grid .tour-vote-card,
  .tour-prize-hero.is-in .tour-prize-hero__inner,
  .tour-prize-hero.is-in .tour-prize-hero__cta-link::after {
    animation: none !important;
    transition: none !important;
  }
  .tour-page .card-grid .tour-vote-card:hover,
  .tour-page .card-grid .tour-vote-card:active,
  .tour-page .card-grid .tour-vote-card.is-touch {
    transform: none;
  }
}
