/* =================================================================== */
/* ===    FASTALK - SOLUTIONS PAGE STYLES (solutions.css)          === */
/* ===    Estilos específicos para la página de Industrias         === */
/* =================================================================== */

/* ---------------------------------------------------- */
/* 1. BARRA DE NAVEGACIÓN SECUNDARIA (Sticky Sub-Nav)   */
/* ---------------------------------------------------- */

.solutions-nav-container {
  position: -webkit-sticky;
  /* Safari */
  position: sticky;
  top: 79px;
  /* Ajustado para quedar justo debajo del Navbar Premium */
  z-index: 900;
  /* Menor que el navbar principal (1000) pero mayor al contenido */
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  padding: 0.75rem 0;
  transition: all 0.3s ease;
}

.solutions-nav-scroll {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  white-space: nowrap;
  /* Ocultar scrollbar pero permitir scroll */
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
  padding-bottom: 2px;
  /* Espacio para focus rings */
}

/* Ocultar scrollbar en Chrome/Safari/Opera */
.solutions-nav-scroll::-webkit-scrollbar {
  display: none;
}

.sol-nav-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: all 0.2s cubic-bezier(0.2, 0, 0.1, 1);
  border: 1px solid transparent;
  background-color: transparent;
}

.sol-nav-item .material-icons {
  font-size: 18px;
  color: var(--color-text-tertiary);
  transition: color 0.2s ease;
}

/* Estado Hover */
.sol-nav-item:hover {
  background-color: var(--color-bg-light);
  color: var(--color-text-primary);
}

.sol-nav-item:hover .material-icons {
  color: var(--color-accent-primary);
}

/* Estado Activo (Cuando estás en la sección) */
.sol-nav-item.active {
  background-color: var(--color-accent-subtle-bg);
  color: var(--color-accent-primary);
  border-color: rgba(74, 58, 255, 0.2);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(74, 58, 255, 0.15);
}

.sol-nav-item.active .material-icons {
  color: var(--color-accent-primary);
}

/* Ajuste para móviles */
@media (max-width: 768px) {
  .solutions-nav-container {
    top: 65px;
    /* Navbar móvil suele ser más pequeño */
    padding: 0.5rem 0;
  }

  .sol-nav-item {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
}

/* ---------------------------------------------------- */
/* 2. COMPONENTE: CAJA PROBLEMA / SOLUCIÓN              */
/* ---------------------------------------------------- */

.problem-solution-box {
  background-color: #fff;
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-left: 4px solid var(--color-accent-primary);
  box-shadow: var(--shadow-light-md);
  position: relative;
  overflow: hidden;
}

/* Variante Oscura (para secciones con fondo negro) */
.problem-solution-box.dark-mode {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--color-accent-secondary);
  box-shadow: none;
}

.problem-solution-box p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.problem-solution-box p:last-child {
  margin-bottom: 0;
}

/* Estilos para las etiquetas "El Problema:" y "Solución:" */
.problem-solution-box strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--color-text-primary);
}

/* Ajustes de texto para modo oscuro */
.problem-solution-box.dark-mode p {
  color: var(--color-text-medium);
}

.problem-solution-box.dark-mode strong {
  color: #fff;
}

/* Icono decorativo de fondo (opcional) */
.problem-solution-box::before {
  content: 'lightbulb';
  font-family: 'Material Icons';
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 80px;
  color: rgba(74, 58, 255, 0.03);
  transform: rotate(15deg);
  pointer-events: none;
}

.problem-solution-box.dark-mode::before {
  color: rgba(255, 255, 255, 0.03);
}

/* ---------------------------------------------------- */
/* 3. AJUSTES DE SCROLL PARA SECCIONES                  */
/* ---------------------------------------------------- */

/* Esto asegura que cuando haces clic en el menú, el título no quede tapado por el header */
section[id] {
  scroll-margin-top: 160px;
  /* Navbar (80px) + Sticky Nav (60px) + Espacio (20px) */
}

@media (max-width: 768px) {
  section[id] {
    scroll-margin-top: 140px;
  }
}

/* ---------------------------------------------------- */
/* 4. REFINAMIENTOS DE TIPOGRAFÍA E IMÁGENES            */
/* ---------------------------------------------------- */

/* Ajuste específico para las listas en modo oscuro dentro de Solutions */
.section--dark-gradient .feature-list li {
  color: var(--color-text-medium);
}

.section--dark-gradient .feature-list li strong {
  color: #fff;
}

/* Efecto hover sutil para las imágenes de casos de uso */
.column-visual .feature-image {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.column-visual:hover .feature-image {
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Ajuste para imágenes en secciones oscuras para que brillen un poco */
.section--dark-gradient .feature-image {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

/* =================================================================== */
/* ===    FASTALK - SOLUTIONS NAV & HERO (MEJORADO)                === */
/* =================================================================== */

/* 1. HERO REFINADO */
.hero-center-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.badge-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* 2. CONTENEDOR STICKY (GLASSMORPHISM) */
.solutions-nav-container {
  position: -webkit-sticky;
  position: sticky;
  top: 79px;
  /* Ajustar según altura de tu navbar */
  z-index: 900;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(74, 58, 255, 0.1);
  padding: 1rem 0;
  transition: all 0.4s ease;
}

/* Sombra más profunda cuando se hace scroll */
.solutions-nav-container.scrolled-nav {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.solutions-nav-wrapper {
  position: relative;
  width: 100%;
}

.solutions-nav-scroll {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px;
}

.solutions-nav-scroll::-webkit-scrollbar {
  display: none;
}

/* 3. ITEMS DE NAVEGACIÓN (PILLS) */
.sol-nav-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.75rem 1.4rem;
  border-radius: 100px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  background-color: #fff;
  border: 1px solid var(--color-border-light);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.sol-nav-item .material-icons {
  font-size: 18px;
  color: var(--color-text-tertiary);
  transition: transform 0.3s ease;
}

/* Hover State */
.sol-nav-item:hover {
  background-color: var(--color-bg-light);
  color: var(--color-accent-primary);
  border-color: var(--color-accent-primary);
  transform: translateY(-2px);
}

.sol-nav-item:hover .material-icons {
  transform: scale(1.15);
  color: var(--color-accent-primary);
}

/* Active State (Cuando el scroll llega a la sección) */
.sol-nav-item.active {
  background: var(--gradient-accent);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(74, 58, 255, 0.25);
}

.sol-nav-item.active .material-icons {
  color: #fff;
}

/* Fade out effect para scroll móvil */
.scroll-fade-right {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 40px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.8));
  pointer-events: none;
  display: none;
  /* Se activa solo en pantallas pequeñas */
}

@media (max-width: 992px) {
  .scroll-fade-right {
    display: block;
  }
}

@media (max-width: 768px) {
  .solutions-nav-container {
    top: 65px;
    padding: 0.75rem 0;
  }

  .sol-nav-item {
    padding: 0.6rem 1.1rem;
    font-size: 0.85rem;
  }
}

/* =================================================================== */
/* ===    ESTILOS SOLUCIONES: INMOBILIARIA (MODERNO)               === */
/* =================================================================== */

/* 1. COMPARATIVA RÁPIDA */
.industry-comparison {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.comp-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 16px;
  font-size: 0.95rem;
}

.comp-item.problem {
  background: #fff;
  border: 1px solid var(--color-border-light);
  color: var(--color-text-secondary);
}

.comp-item.problem .material-icons {
  color: #ff6b6b;
}

.comp-item.solution {
  background: var(--color-accent-subtle-bg);
  border: 1px solid rgba(74, 58, 255, 0.2);
  color: var(--color-text-primary);
}

.comp-item.solution .material-icons {
  color: var(--color-accent-primary);
}

.comp-item p {
  margin: 0 !important;
  line-height: 1.4 !important;
}

/* 2. LISTA DE FEATURES MEJORADA */
.feature-list-modern {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-list-modern li {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.list-icon {
  width: 40px;
  height: 40px;
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.list-icon .material-icons {
  font-size: 20px;
  color: var(--color-accent-primary);
}

.list-text strong {
  display: block;
  font-size: 1rem;
  color: var(--color-text-primary);
  margin-bottom: 2px;
}

.list-text p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* 3. VISUAL DE LA INDUSTRIA (COMPOSICIÓN) */
.industry-visual-container {
  position: relative;
  width: 100%;
  padding: 20px;
}

.main-industry-img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.15);
  display: block;
}

/* UI FLOTANTE */
.floating-ui {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border: 1px solid #fff;
  z-index: 2;
}

/* Notificación */
.notification-ui {
  top: 10%;
  right: -5%;
  min-width: 200px;
}

.notif-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #2ed573;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 5px;
}

.notification-ui p {
  font-size: 0.85rem;
  margin: 0;
  color: var(--color-text-primary);
}

/* Specs */
.specs-ui {
  bottom: 10%;
  left: -5%;
  min-width: 180px;
  background: #111522;
  /* Variante oscura */
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.specs-row {
  display: flex;
  gap: 12px;
  font-size: 0.75rem;
  margin-bottom: 8px;
}

.specs-row span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.specs-price {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
}

/* ANIMACIONES DE FLOTACIÓN */
.animate-float {
  animation: float-y 4s ease-in-out infinite;
}

.animate-float-slow {
  animation: float-y 6s ease-in-out infinite reverse;
}

@keyframes float-y {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

/* Ajustes Responsive */
@media (max-width: 992px) {

  .notification-ui,
  .specs-ui {
    position: static;
    margin-top: 1rem;
    width: 100%;
  }

  .industry-visual-container {
    padding: 0;
  }
}

/* =================================================================== */
/* ===    ESTILOS SOLUCIONES: RESTAURANTES (DARK PREMIUM)          === */
/* =================================================================== */

/* 1. VARIANTES PARA MODO OSCURO (COMPARTIDAS) */
.comp-item.dark-mode {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}

.comp-item.problem.dark-mode .material-icons {
  color: #ff6b6b;
}

.comp-item.solution.dark-mode .material-icons {
  color: #7a70ff;
}

.comp-item.dark-mode strong {
  color: #fff;
}

.comp-item.dark-mode p {
  color: #a0a8b7;
}

/* 2. LISTA EN MODO OSCURO */
.feature-list-modern.dark-version .list-icon {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.feature-list-modern.dark-version .list-icon .material-icons {
  color: #7a70ff;
}

.feature-list-modern.dark-version .list-text strong {
  color: #fff;
}

.feature-list-modern.dark-version .list-text p {
  color: #a0a8b7;
}

/* 3. UI DE PEDIDOS FLOTANTE */
.order-ui {
  top: 15%;
  left: -10%;
  min-width: 220px;
  background: rgba(17, 21, 34, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}

.order-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
  color: #2ed573;
}

.order-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.order-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1rem;
}

/* Sugerencia Upsell */
.upsell-ui {
  bottom: 15%;
  right: -5%;
  max-width: 200px;
  background: #fff;
  color: var(--color-text-primary);
}

.upsell-header {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-accent-primary);
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 8px;
}

.upsell-ui p {
  font-size: 0.85rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.btn-mini {
  display: inline-block;
  padding: 6px 12px;
  background: var(--gradient-accent);
  color: #fff;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

/* Ajuste de brillo para imágenes en modo oscuro */
.section--dark-gradient .main-industry-img {
  filter: brightness(0.9);
}

@media (max-width: 992px) {

  .order-ui,
  .upsell-ui {
    position: static;
    margin-top: 1rem;
    max-width: 100%;
  }
}

/* =================================================================== */
/* ===    ESTILOS SOLUCIONES: HOTELES (PREMIUM SERVICE)           === */
/* =================================================================== */

/* 1. TARJETA DE VOZ DEL HUÉSPED */
.service-ui {
  top: 10%;
  left: -5%;
  min-width: 240px;
  background: #fff;
  border-left: 4px solid #ff4757;
  /* Color de acción/voz */
}

.service-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #ff4757;
  margin-bottom: 8px;
}

.voice-bubble {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--color-text-primary);
  margin: 0;
}

/* 2. TARJETA DEL CONSERJE IA */
.concierge-ui {
  bottom: 12%;
  right: -5%;
  min-width: 220px;
  background: rgba(17, 21, 34, 0.95);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.concierge-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #7a70ff;
  margin-bottom: 10px;
}

.concierge-info p {
  font-size: 0.85rem;
  margin-bottom: 5px !important;
  color: #eef0f4;
}

.concierge-info strong {
  color: #fff;
}

/* Ajustes adicionales para consistencia de badges */
#hoteles .badge-premium {
  background: rgba(230, 126, 34, 0.1);
  /* Color ámbar/oro para hoteles */
  color: #d35400;
  border-color: rgba(230, 126, 34, 0.2);
}

@media (max-width: 992px) {

  .service-ui,
  .concierge-ui {
    position: static;
    margin-top: 1rem;
    width: 100%;
  }
}

.list-icon {
  width: 40px;
  height: 40px;
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);

  /* AÑADE ESTO PARA ASEGURAR QUE NADA SE SALGA */
  overflow: hidden;
}

.list-icon .material-icons {
  font-size: 20px;
  color: var(--color-accent-primary);
  /* AÑADE ESTO PARA EVITAR QUE EL ICONO SE DESPLACE */
  display: block;
}

/* =================================================================== */
/* ===    ESTILOS E-COMMERCE (DARK MODE UI)                        === */
/* =================================================================== */

/* 1. Tarjeta de Rastreo */
.tracking-ui {
  top: 15%;
  left: -8%;
  min-width: 240px;
  background: rgba(17, 21, 34, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}

.track-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #2ed573;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.track-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  margin-bottom: 8px;
  overflow: hidden;
}

.track-fill {
  width: 75%;
  height: 100%;
  background: #2ed573;
  border-radius: 3px;
  animation: load-bar 2s ease-out forwards;
}

.track-eta {
  font-size: 0.8rem;
  color: #a0a8b7;
  margin: 0;
}

@keyframes load-bar {
  from {
    width: 0;
  }

  to {
    width: 75%;
  }
}

/* 2. Tarjeta de Producto (Visual Search) */
.product-ui {
  bottom: 15%;
  right: -5%;
  background: #fff;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  padding-right: 16px;
  border-radius: 12px;
}

.product-thumb {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
}

.product-info {
  display: flex;
  flex-direction: column;
}

.product-info span {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
}

.product-info strong {
  font-size: 0.95rem;
  color: var(--color-text-primary);
}

.product-action {
  width: 32px;
  height: 32px;
  background: var(--color-accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-left: auto;
}

.product-action .material-icons {
  font-size: 18px;
}


/* =================================================================== */
/* ===    ESTILOS SALUD (CLEAN MEDICAL UI)                         === */
/* =================================================================== */

/* 1. Tarjeta de Cita */
.appt-ui {
  top: 12%;
  right: -5%;
  min-width: 220px;
  background: #fff;
  border-left: 4px solid #00cec9;
  /* Medical Teal */
}

.appt-header {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #00cec9;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.appt-details {
  display: flex;
  gap: 12px;
  align-items: center;
}

.appt-date {
  background: #f0fdfd;
  padding: 6px 10px;
  border-radius: 8px;
  text-align: center;
  color: #00cec9;
  border: 1px solid rgba(0, 206, 201, 0.2);
}

.appt-date .day {
  display: block;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
}

.appt-date .month {
  font-size: 0.7rem;
  text-transform: uppercase;
}

.appt-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-text-primary);
}

.appt-info small {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
}

/* 2. Tarjeta Recordatorio */
.reminder-ui {
  bottom: 12%;
  left: -8%;
  min-width: 240px;
  background: #fff;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.reminder-icon {
  width: 36px;
  height: 36px;
  background: #fff3cd;
  color: #f1c40f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reminder-icon .material-icons {
  font-size: 20px;
}

.reminder-text p {
  font-size: 0.85rem;
  margin: 0 0 10px 0;
  color: var(--color-text-primary);
  line-height: 1.4;
}

.reminder-actions {
  display: flex;
  gap: 8px;
}

.btn-confirm,
.btn-cancel {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.btn-confirm {
  background: #00cec9;
  color: #fff;
}

.btn-cancel {
  background: #f1f2f6;
  color: var(--color-text-secondary);
}

/* Ajuste Responsive compartido */
@media (max-width: 992px) {

  .tracking-ui,
  .product-ui,
  .appt-ui,
  .reminder-ui {
    position: static;
    width: 100%;
    margin-top: 1rem;
  }
}

/* =================================================================== */
/* ===    ESTILOS TURISMO (DARK UI)                                === */
/* =================================================================== */

/* 1. Tarjeta Audio Guía */
.audio-ui {
  top: 15%;
  right: -5%;
  min-width: 240px;
  background: rgba(17, 21, 34, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}

.audio-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  margin-bottom: 12px;
  color: #7a70ff;
}

.audio-wave-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 20px;
  margin-bottom: 12px;
}

.audio-wave-visual span {
  display: block;
  width: 4px;
  background: #fff;
  border-radius: 2px;
  animation: wave-mini 1s ease-in-out infinite;
}

.audio-wave-visual span:nth-child(2) {
  height: 15px;
  animation-delay: 0.1s;
}

.audio-wave-visual span:nth-child(3) {
  height: 20px;
  animation-delay: 0.2s;
}

.audio-wave-visual span:nth-child(4) {
  height: 15px;
  animation-delay: 0.3s;
}

.audio-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  color: #a0a8b7;
}

.play-btn {
  font-size: 32px;
  color: #fff;
}

@keyframes wave-mini {

  0%,
  100% {
    height: 8px;
  }

  50% {
    height: 100%;
  }
}

/* 2. Tarjeta Traducción */
.translate-ui {
  bottom: 15%;
  left: -8%;
  background: #fff;
  color: var(--color-text-primary);
  min-width: 200px;
}

.trans-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
}

.lang {
  font-weight: 700;
  font-size: 0.7rem;
  color: #a0a8b7;
  border: 1px solid #eee;
  padding: 2px 4px;
  border-radius: 4px;
}

.lang.active {
  background: var(--color-accent-primary);
  color: #fff;
  border-color: transparent;
}

.trans-row p {
  margin: 0;
}

.trans-divider {
  height: 1px;
  background: #eee;
  margin: 8px 0;
}


/* =================================================================== */
/* ===    ESTILOS FINTECH (CLEAN TRUST UI)                         === */
/* =================================================================== */

/* 1. Tarjeta Face ID */
.security-ui {
  top: 15%;
  left: -8%;
  min-width: 240px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 50px;
  /* Pill shape */
}

.sec-icon {
  width: 40px;
  height: 40px;
  background: #e8f5e9;
  color: #2ed573;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sec-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.sec-text strong {
  font-size: 0.9rem;
  color: var(--color-text-primary);
}

.sec-text span {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
}

.check {
  color: #2ed573;
  margin-left: auto;
}

/* 2. Tarjeta Transacción */
.transaction-ui {
  bottom: 15%;
  right: -5%;
  min-width: 240px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
}

.tx-icon {
  width: 36px;
  height: 36px;
  background: #f1f2f6;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
}

.tx-details {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.tx-details strong {
  font-size: 0.85rem;
  color: var(--color-text-primary);
}

.tx-details small {
  font-size: 0.7rem;
  color: var(--color-text-tertiary);
}

.tx-amount {
  font-weight: 600;
  font-size: 0.9rem;
  margin-left: auto;
  color: var(--color-text-primary);
}


/* =================================================================== */
/* ===    ESTILOS EDUCACIÓN (LMS UI)                               === */
/* =================================================================== */

/* 1. Tarjeta Tutor */
.tutor-ui {
  top: 12%;
  right: -5%;
  min-width: 240px;
  background: #fff;
  padding: 0;
  overflow: hidden;
}

.tutor-header {
  background: #7a70ff;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

.tutor-avatar {
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tutor-avatar span {
  font-size: 14px;
}

.tutor-msg {
  padding: 15px;
}

.tutor-msg p {
  font-size: 0.85rem;
  margin: 0;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* 2. Tarjeta Alerta */
.alert-ui {
  bottom: 12%;
  left: -8%;
  background: rgba(17, 21, 34, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
}

.alert-icon {
  color: #ffbd2e;
}

.alert-text {
  display: flex;
  flex-direction: column;
}

.alert-text strong {
  font-size: 0.9rem;
}

.alert-text span {
  font-size: 0.75rem;
  color: #ffbd2e;
}

.alert-btn {
  background: #ff4757;
  border: none;
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  margin-left: auto;
}

/* Responsive adjustment */
@media (max-width: 992px) {

  .audio-ui,
  .translate-ui,
  .security-ui,
  .transaction-ui,
  .tutor-ui,
  .alert-ui {
    position: static;
    margin-top: 1rem;
    width: 100%;
  }
}