/* DESTINO -- estilos compartidos (landing y chat). Sin framework ni build. */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: #06130e;
}

body {
  margin: 0;
  background: #06130e;
  color: #f4e9cf;
  font-family: 'Manrope', system-ui, sans-serif;
}

a {
  text-decoration: none;
}

/* Foco visible en todo lo interactivo */
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #ffd978;
  outline-offset: 2px;
}

input::placeholder {
  color: #8c9a8f;
}

/* Texto solo para lectores de pantalla */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

[hidden] {
  display: none !important;
}

/* ---- Botón dorado (CTA) con brillo ---- */
@keyframes shine {
  0% {
    transform: translateX(-120%);
  }
  60%,
  100% {
    transform: translateX(220%);
  }
}

.cta {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  background: linear-gradient(180deg, #ffe58a, #e2a62c 55%, #b9791a);
  color: #2a1600;
  font-weight: 800;
}

.cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  animation: shine 3.6s ease-in-out infinite;
  pointer-events: none;
}

.cta:hover {
  filter: brightness(1.08);
}

/* ---- Estado "en línea" ---- */
.status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #8fe0b4;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3fd98a;
}

/* ---- Burbuja del bot (verde) ---- */
.bubble-bot {
  background: rgba(14, 59, 44, 0.9);
  border: 1px solid rgba(232, 185, 80, 0.25);
  border-radius: 4px 18px 18px 18px;
  padding: 11px 14px;
  font-size: 14px;
  line-height: 1.4;
}

@media (prefers-reduced-motion: reduce) {
  .cta::after {
    animation: none !important;
  }
}
