/* Recorrido de la interfaz: botón de arranque + spotlight + diálogo */

.cp-btn-tour {
  background: #2458F5;
  color: #fff;
  border-color: #1d4ed8;
  box-shadow: 0 0 0 0 rgba(36, 88, 245, 0.55);
  animation: cp-tour-pulse 1.7s ease-out infinite;
}

.cp-btn-tour:hover,
.cp-btn-tour:focus-visible {
  background: #1d4ed8;
  color: #fff;
}

.cp-btn-tour.is-seen {
  animation: none;
  background: #2458F5;
}

.cp-btn-tour-alt {
  background: #0F9F8A;
  color: #fff;
  border-color: #0B7F6E;
  box-shadow: 0 0 0 0 rgba(15, 159, 138, 0.5);
  animation: cp-tour-pulse-alt 1.7s ease-out infinite;
}

.cp-btn-tour-alt:hover,
.cp-btn-tour-alt:focus-visible {
  background: #0B7F6E;
  color: #fff;
}

.cp-btn-tour-alt.is-seen {
  animation: none;
  background: #0F9F8A;
}

.cp-btn-tour svg {
  flex: 0 0 auto;
}

@keyframes cp-tour-pulse {
  0% { box-shadow: 0 0 0 0 rgba(36, 88, 245, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(36, 88, 245, 0); }
  100% { box-shadow: 0 0 0 0 rgba(36, 88, 245, 0); }
}

@keyframes cp-tour-pulse-alt {
  0% { box-shadow: 0 0 0 0 rgba(15, 159, 138, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(15, 159, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(15, 159, 138, 0); }
}

.cp-dock-item-tour {
  color: #2458F5;
}

body.is-touring {
  overflow: hidden;
}

.cp-tour-root {
  position: fixed;
  inset: 0;
  z-index: 14000;
  pointer-events: none;
}

.cp-tour-root.is-on {
  pointer-events: auto;
}

.cp-tour-scrim {
  position: absolute;
  inset: 0;
  background: transparent;
}

.cp-tour-hole {
  position: absolute;
  border-radius: 12px;
  box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.58);
  outline: 2px solid rgba(36, 88, 245, 0.85);
  outline-offset: 3px;
  pointer-events: none;
  transition: top 160ms ease, left 160ms ease, width 160ms ease, height 160ms ease;
}

.cp-tour-hole.is-center {
  outline: none;
  box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.62);
}

.cp-tour-card {
  position: absolute;
  width: min(22.5rem, calc(100vw - 1.4rem));
  padding: 0.95rem 1rem 0.85rem;
  border-radius: 14px;
  background: #FFFCF8;
  color: #1C2430;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
  border: 1px solid rgba(28, 36, 48, 0.08);
  pointer-events: auto;
  z-index: 1;
}

.cp-tour-kicker {
  margin: 0 0 0.2rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2458F5;
}

.cp-tour-card h2 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  line-height: 1.25;
  font-weight: 750;
}

.cp-tour-card p {
  margin: 0 0 0.85rem;
  font-size: 0.86rem;
  line-height: 1.45;
  color: #3A4454;
}

.cp-tour-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.cp-tour-nav .cp-btn {
  min-height: 34px;
}

.cp-tour-skip {
  margin-left: auto;
}

.cp-tour-progress {
  font-size: 0.72rem;
  font-weight: 650;
  color: #64748B;
}

.cp-collage-tour-btn {
  margin-top: 0.55rem;
  min-height: 34px;
}

@media (max-width: 860px) {
  .cp-tour-root {
    z-index: 16000;
  }

  .cp-tour-card {
    width: min(22.5rem, calc(100vw - 1rem));
    max-height: min(42vh, 20rem);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.8rem 0.85rem 0.75rem;
  }

  .cp-tour-card h2 {
    font-size: 0.98rem;
  }

  .cp-tour-card p {
    font-size: 0.8rem;
    margin-bottom: 0.7rem;
  }

  .cp-tour-nav .cp-btn {
    min-height: 40px;
  }

  body.is-touring-mobile {
    overflow: hidden;
  }
}