/* ============================================
   11-LANG-SUGGEST.CSS — Banner de sugerencia de idioma
   Toast inferior, descartable, no intrusivo.
   ============================================ */

.lang-suggest {
  position: fixed;
  z-index: 900;
  left: 50%;
  bottom: var(--sp-5);
  transform: translateX(-50%) translateY(160%);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  max-width: min(92vw, 470px);
  padding: var(--sp-3) var(--sp-3) var(--sp-3) var(--sp-4);
  background: linear-gradient(180deg, var(--c-surface) 0%, var(--c-bg-soft) 100%);
  border: 1px solid var(--c-border-soft);
  border-radius: var(--r-pill);
  box-shadow: 0 12px 48px -12px rgba(0, 0, 0, 0.7);
  color: var(--c-white-soft);
  opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.4s var(--ease-out);
}

.lang-suggest.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.lang-suggest__icon {
  width: 20px;
  height: 20px;
  color: var(--c-purple-glow);
  flex-shrink: 0;
}

.lang-suggest__msg {
  font-size: var(--fs-base);
  line-height: 1.3;
}

.lang-suggest__cta {
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--tracking-wide);
  font-weight: 600;
  white-space: nowrap;
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-pill);
  background: var(--c-purple-glow);
  color: #0a0612;
  text-decoration: none;
  transition: filter var(--dur-base) var(--ease-out);
}

.lang-suggest__cta:hover {
  filter: brightness(1.15);
}

.lang-suggest__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  background: transparent;
  border: none;
  border-radius: var(--r-md);
  color: var(--c-muted);
  cursor: pointer;
  transition: color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}

.lang-suggest__close:hover {
  color: var(--c-white);
  background: rgba(255, 255, 255, 0.06);
}

.lang-suggest__close svg {
  width: 16px;
  height: 16px;
}

/* === MOBILE === */
@media (max-width: 480px) {
  .lang-suggest {
    left: var(--sp-3);
    right: var(--sp-3);
    transform: translateY(160%);
    max-width: none;
    border-radius: var(--r-xl);
  }

  .lang-suggest.is-visible {
    transform: translateY(0);
  }
}

/* Respeta la preferencia de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  .lang-suggest {
    transition: opacity 0.2s linear;
  }
}
