/* Vera, la asistente con IA de neopro.com */
.vera { position: fixed; right: 18px; bottom: 18px; z-index: 80; font-family: var(--f-txt, Inter, sans-serif); }
.vera-lanzador { position: relative; display: flex; align-items: center; gap: 10px; border: 0; background: none; padding: 0; cursor: pointer; }
.vera-lanzador img { width: 64px; height: 64px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 8px 26px rgba(15, 34, 54, .3); transition: transform .2s; }
.vera-lanzador:hover img { transform: scale(1.06); }
.vera-burbuja { background: #fff; color: var(--navy, #16324f); font-weight: 600; font-size: 15px; padding: 10px 16px; border-radius: 18px 18px 4px 18px; box-shadow: 0 8px 26px rgba(15, 34, 54, .18); white-space: nowrap; animation: vera-entra .5s ease 1.2s both; }
.vera-punto { position: absolute; right: 4px; bottom: 4px; width: 14px; height: 14px; border-radius: 50%; background: #2ecc71; border: 2px solid #fff; }
.vera-vista .vera-burbuja, .vera-abierta .vera-burbuja { display: none; }
.vera-abierta .vera-lanzador { display: none; }
@keyframes vera-entra { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }

.vera-panel { position: fixed; right: 18px; bottom: 18px; width: 390px; height: min(640px, calc(100vh - 36px)); background: #fff; border-radius: 20px; box-shadow: 0 20px 60px rgba(15, 34, 54, .32); display: flex; flex-direction: column; overflow: hidden; }
.vera-panel[hidden] { display: none; }
.vera-cab { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: linear-gradient(120deg, var(--navy-2, #0f2236), var(--navy, #16324f)); color: #fff; }
.vera-foto { width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); }
.vera-cab div { flex: 1; min-width: 0; line-height: 1.25; }
.vera-cab b { font-family: var(--f-tit, Poppins, sans-serif); font-size: 17px; display: block; }
.vera-cab small { color: #b9c9d7; font-size: 12.5px; }
.vera-cab button { background: rgba(255, 255, 255, .12); border: 0; color: #fff; width: 34px; height: 34px; border-radius: 10px; cursor: pointer; font-size: 16px; }
.vera-cab button:hover { background: rgba(255, 255, 255, .24); }

.vera-mensajes { flex: 1; overflow-y: auto; padding: 16px 14px; background: #f4f7f9; display: flex; flex-direction: column; gap: 10px; }
.vera-msg { display: flex; gap: 8px; align-items: flex-end; max-width: 92%; }
.vera-msg img { width: 30px; height: 30px; border-radius: 50%; flex: none; }
.vera-texto { position: relative; padding: 10px 13px; border-radius: 16px; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.vera-texto p { margin: 0 0 .45em; } .vera-texto p:last-child { margin: 0; }
.vera-texto ul { margin: .2em 0 .45em; padding-left: 1.2em; }
.vera-texto a { color: var(--teal-2, #17705f); font-weight: 600; }
.vera-v .vera-texto { background: #fff; color: var(--texto, #1d2b3a); border-bottom-left-radius: 4px; box-shadow: 0 1px 3px rgba(15, 34, 54, .08); padding-right: 30px; }
.vera-u { align-self: flex-end; }
.vera-u .vera-texto { background: var(--teal, #1f8a7a); color: #fff; border-bottom-right-radius: 4px; }
.vera-saludo .vera-texto, .vera-pensando .vera-texto { padding-right: 13px; }
.vera-pensando .vera-texto { color: var(--gris, #5b6e80); font-style: italic; }
.vera-oir { position: absolute; right: 4px; bottom: 4px; border: 0; background: none; cursor: pointer; font-size: 14px; opacity: .55; padding: 2px; }
.vera-oir:hover { opacity: 1; }
.vera-sugerencias { display: flex; flex-direction: column; gap: 7px; align-items: flex-start; padding-left: 38px; }
.vera-sugerencias button { text-align: left; border: 1.5px solid var(--teal, #1f8a7a); background: #fff; color: var(--teal-2, #17705f); border-radius: 14px; padding: 7px 12px; font: inherit; font-size: 14px; cursor: pointer; }
.vera-sugerencias button:hover { background: var(--teal, #1f8a7a); color: #fff; }
.vera-demo { align-self: center; margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--navy-2, #0f2236); background: var(--ambar, #f2a93b); padding: 8px 16px; border-radius: 999px; text-decoration: none; }
.vera-demo:hover { background: var(--ambar-2, #e0952a); }

.vera-avisos { padding: 16px 18px; border-top: 1px solid #e3e9ee; background: #fff; }
.vera-avisos[hidden] { display: none; }
.vera-avisos h3 { font-size: 16px; margin: 0 0 8px; }
.vera-avisos ul { margin: 0 0 12px; padding-left: 1.1em; font-size: 14px; color: #3c4c5c; }
.vera-avisos li { margin-bottom: 4px; }
.vera-avisos label { display: flex; gap: 9px; align-items: flex-start; font-size: 14.5px; font-weight: 600; color: var(--navy, #16324f); cursor: pointer; }
.vera-avisos input { width: 19px; height: 19px; margin-top: 1px; accent-color: var(--teal, #1f8a7a); flex: none; }
.vera-empezar { margin-top: 12px; width: 100%; border: 0; border-radius: 999px; padding: 11px; background: var(--teal, #1f8a7a); color: #fff; font: 600 15px var(--f-tit, Poppins, sans-serif); cursor: pointer; }
.vera-empezar:disabled { opacity: .45; cursor: not-allowed; }

.vera-form { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; border-top: 1px solid #e3e9ee; background: #fff; }
.vera-form[hidden] { display: none; }
.vera-form textarea { flex: 1; resize: none; border: 1.5px solid #dde5ec; border-radius: 14px; padding: 10px 12px; font: inherit; font-size: 15px; max-height: 120px; background: #fbfcfd; }
.vera-form textarea:focus { outline: none; border-color: var(--teal, #1f8a7a); background: #fff; }
.vera-form button { flex: none; width: 42px; height: 42px; border: 0; border-radius: 50%; cursor: pointer; font-size: 17px; }
.vera-enviar { background: var(--teal, #1f8a7a); color: #fff; }
.vera-enviar:hover { background: var(--teal-2, #17705f); }
.vera-mic { background: #eef3f6; }
.vera-mic[hidden] { display: none; }
.vera-mic.vera-oyendo { background: #e74c3c; color: #fff; animation: vera-late 1s infinite; }
@keyframes vera-late { 50% { box-shadow: 0 0 0 7px rgba(231, 76, 60, .2); } }
.vera-pie { margin: 0; padding: 0 12px 9px; background: #fff; font-size: 11.5px; color: var(--gris, #5b6e80); text-align: center; }
.vera-pie a { color: inherit; }

@media (max-width: 560px) {
  .vera { right: 12px; bottom: 12px; }
  .vera-burbuja { font-size: 14px; padding: 8px 13px; }
  .vera-lanzador img { width: 56px; height: 56px; }
  .vera-panel { right: 0; bottom: 0; width: 100%; height: 100%; height: 100dvh; border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) { .vera-burbuja { animation: none; } .vera-mic.vera-oyendo { animation: none; } }
