:root {
  --vm-primary: #16d484;
  --vm-primary-2: #22d3ee;
  --vm-gradient: linear-gradient(100deg, var(--vm-primary), var(--vm-primary-2));
  --vm-primary-dark: #0a8f5c;
  --vm-bg: #090d12;
  --vm-bg-alt: #0c131b;
  --vm-bg-deep: #05070a;
  --vm-blanco: #ffffff;
  --vm-surface: rgba(255,255,255,.045);
  --vm-surface-strong: rgba(255,255,255,.07);
  --vm-text: #eef2f4;
  --vm-muted: #93a1ab;
  --vm-border: rgba(255,255,255,.09);
  --vm-bubble-user: linear-gradient(100deg, var(--vm-primary), var(--vm-primary-2));
  --vm-bubble-ia: rgba(255,255,255,.06);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--vm-bg);
  color: var(--vm-text);
  line-height: 1.6;
}

h1, h2, h3 { font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 700; letter-spacing: -.01em; }

/* --- Nav --- */
.vm-nav {
  background: rgba(9, 13, 18, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--vm-border);
  position: sticky;
  top: 0;
  z-index: 10;
}
.vm-nav__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.vm-nav__brand { font-family: 'Space Grotesk', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--vm-text); }

/* --- Botones --- */
.vm-btn {
  display: inline-block;
  border: none;
  padding: 12px 22px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, opacity .15s ease, box-shadow .2s ease, filter .2s ease;
}
.vm-btn--pill { border-radius: 999px; }
.vm-btn:disabled { opacity: .5; cursor: not-allowed; }
.vm-btn--primary {
  background: var(--vm-gradient);
  color: #04140d;
  box-shadow: 0 4px 18px rgba(22,212,132,.25);
}
.vm-btn--primary:hover:not(:disabled) { filter: brightness(1.08); box-shadow: 0 6px 26px rgba(22,212,132,.4); transform: translateY(-1px); }
.vm-btn--secondary {
  background: rgba(255,255,255,.04);
  color: var(--vm-text);
  border: 1.5px solid var(--vm-border);
}
.vm-btn--secondary:hover:not(:disabled) { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); }

/* --- Hero --- */
.vm-hero {
  position: relative;
  overflow: hidden;
  background: var(--vm-bg);
  padding: 56px 24px 72px;
}
.vm-hero__bg { position: absolute; inset: 0; }
.vm-hero__bgslide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 58%;
  opacity: 0;
  transition: opacity .9s ease;
}
.vm-hero__bgslide--activa { opacity: 1; }
/* Tiñe las 8 fotos hacia la paleta verde/cian de la marca (mix-blend-mode:
   color conserva el detalle/luminancia de la foto, solo le cambia el
   matiz) — sin esto cada foto trae su propio color (atardecer dorado,
   cielo azul, guacamaya roja...) y desentona con el resto del sitio. */
.vm-hero__tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(22,212,132,.55), rgba(34,211,238,.5));
  mix-blend-mode: color;
}
.vm-hero__overlay {
  position: absolute;
  inset: 0;
  /* Solo oscurece lo justo detrás del texto (para que siga siendo
     legible) — el resto de la foto (donde está la esfera) queda con el
     tinte de arriba, sin oscurecer más. */
  background: linear-gradient(100deg, rgba(6,10,9,.6) 0%, rgba(6,10,9,.32) 28%, rgba(6,10,9,0) 52%);
}
.vm-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.vm-hero__text { flex: 1 1 420px; max-width: 560px; }
.vm-hero__text h1 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.12;
  margin: 0 0 18px;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,.4);
}
.vm-hero__text p {
  color: #ded9ea;
  font-size: 1.08rem;
  margin: 0 0 28px;
  text-shadow: 0 1px 10px rgba(0,0,0,.35);
}

.vm-hero__visual { position: relative; flex: 0 0 auto; width: min(360px, 90vw); }
.vm-hero__circle {
  position: relative;
  width: min(360px, 90vw);
  height: min(360px, 90vw);
  border: 2px solid rgba(255,255,255,.4);
  animation: vm-orb-morph 6.5s ease-in-out infinite;
  /* Ahora es un <button> (se puede hacer click para abrir el modal) —
     reset de los estilos por defecto del navegador. */
  background: none;
  padding: 0;
  cursor: pointer;
  display: block;
}

.vm-orb-tooltip {
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translate(-50%, -100%);
  background: #1a1c1e;
  color: #fff;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 2;
}
.vm-hero__circle:hover .vm-orb-tooltip,
.vm-hero__circle:focus-visible .vm-orb-tooltip {
  opacity: 1;
  transform: translate(-50%, -130%);
}

/* El contorno también respira/deforma un poco (no es un círculo estático)
   — mismo keyframe en el aro (.vm-hero__circle) y en la esfera (.vm-orb)
   para que se muevan pegados, como si el aro fuera el borde de la misma
   masa líquida. Sutil (42-58%) para que siga leyéndose como esfera, no
   un blob genérico. */
@keyframes vm-orb-morph {
  0%, 100% { border-radius: 38% 62% 65% 35% / 40% 38% 62% 60%; }
  25%      { border-radius: 63% 37% 33% 67% / 58% 68% 32% 42%; }
  50%      { border-radius: 68% 32% 42% 58% / 32% 60% 40% 68%; }
  75%      { border-radius: 35% 65% 60% 40% / 66% 35% 65% 34%; }
}

/* Anillos de pulso alrededor de la esfera (efecto "IA escuchando/hablando",
   tipo Siri/Gemini) — viven en el contenedor exterior, no en la esfera
   misma, porque la esfera necesita overflow:hidden para recortar su
   textura y eso cortaría los anillos si estuvieran ahí adentro. */
.vm-orb-ping::before, .vm-orb-ping::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .55);
  animation: vm-orb-ping 1.8s cubic-bezier(.2,.6,.4,1) infinite;
}
.vm-orb-ping::after {
  border-color: rgba(160, 165, 172, .5);
  animation-delay: 1.4s;
}
@keyframes vm-orb-ping {
  0% { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* --- Esfera de IA, CSS puro (gradiente cálido + partículas + animación) ---
   Se usa en dos tamaños: el hero (.vm-orb--hero) y el avatar del chat
   (.vm-orb--avatar, ver app.js). Paleta inspirada en el atardecer del
   puente de Montería (banner-2) para que se sienta "de aquí", no un
   cliché genérico de IA. */
.vm-orb {
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  /* Paleta fija (no cambia según la foto de fondo) pero ahora alineada a
     la marca: núcleo blanco brillante (para que siga haciendo contraste
     y se note como esfera) degradando a cian y verde — combina con el
     tinte de las fotos del hero en vez de ser un gris neutro suelto. */
  background: radial-gradient(circle at 36% 30%,
    #ffffff 0%, #d9f9ef 12%, #7fe8cc 27%, #22d3ee 44%,
    #12b76a 62%, #0a4635 80%, #071410 100%);
  /* Sombreado tipo esfera: sombra en el borde opuesto a la luz (da la
     curvatura), rebote de luz cerca del highlight, y el resplandor
     exterior — sin esto se ve como un círculo plano con un degradado. */
  box-shadow:
    inset -22px -26px 60px rgba(0, 0, 0, .55),
    inset 14px 16px 34px rgba(255, 255, 255, .35),
    inset 0 0 0 1px rgba(255,255,255,.1);
  animation: vm-orb-breathe 4.5s ease-in-out infinite;
}

/* Barniz metálico ambiental de fondo — suave, cubre huecos entre las
   manchas independientes de abajo y es lo único que ve el avatar chico
   del chat (no le agregamos los 4 blobs ahí, no se notarían a 34px). */
.vm-orb::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: conic-gradient(from 0deg, rgba(255,255,255,.32), rgba(200,204,209,.2), rgba(255,255,255,.32), rgba(160,165,171,.18), rgba(255,255,255,.32));
  mix-blend-mode: overlay;
  opacity: .5;
  animation: vm-orb-swirl 6s linear infinite;
}
@keyframes vm-orb-swirl { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Manchas independientes (solo en el hero) — cada una con su propia forma
   orgánica (border-radius irregular tipo blob, no círculo) y su propia
   animación (duración/trayectoria distintas), para que NO se muevan
   sincronizadas como una sola pieza rígida — así se ve como el vaivén
   asimétrico de una burbuja real, no un giro mecánico. Cada una trae su
   reborde claro→oscuro (simula luz de un lado, sombra del otro de un
   bulto real) y ese reborde también se reacomoda con la forma. Todas en
   tonos blanco/gris/plata (con variación leve fría/cálida entre ellas
   para que se sienta a metal cepillado, no un solo gris plano). */
.vm-orb__blob {
  position: absolute;
  width: 68%;
  height: 68%;
  mix-blend-mode: overlay;
  filter: blur(5px);
  pointer-events: none;
}
.vm-orb__blob--1 {
  top: -6%; left: -8%;
  background: radial-gradient(circle at 38% 38%, rgba(255,255,255,.9) 0%, rgba(255,255,255,.5) 30%, rgba(255,255,255,.35) 48%, rgba(0,0,0,.3) 62%, transparent 78%);
  animation: vm-blob-1 4s ease-in-out infinite;
}
.vm-orb__blob--2 {
  top: -12%; right: -10%;
  background: radial-gradient(circle at 62% 35%, rgba(140,235,255,.85) 0%, rgba(140,235,255,.5) 28%, rgba(255,255,255,.4) 46%, rgba(0,0,0,.28) 60%, transparent 76%);
  animation: vm-blob-2 5.5s ease-in-out infinite;
}
.vm-orb__blob--3 {
  bottom: -14%; right: -6%;
  background: radial-gradient(circle at 55% 60%, rgba(140,240,200,.8) 0%, rgba(140,240,200,.45) 29%, rgba(255,255,255,.38) 47%, rgba(0,0,0,.28) 61%, transparent 77%);
  animation: vm-blob-3 4.5s ease-in-out infinite;
}
.vm-orb__blob--4 {
  bottom: -10%; left: -12%;
  background: radial-gradient(circle at 40% 62%, rgba(90,210,150,.8) 0%, rgba(90,210,150,.45) 27%, rgba(255,255,255,.35) 45%, rgba(0,0,0,.26) 59%, transparent 75%);
  animation: vm-blob-4 6.5s ease-in-out infinite;
}
@keyframes vm-blob-1 {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); border-radius: 46% 54% 62% 38% / 40% 48% 52% 60%; }
  35%      { transform: translate(22%, 14%) scale(1.4) rotate(45deg); border-radius: 60% 40% 38% 62% / 55% 42% 58% 45%; }
  70%      { transform: translate(-14%, 20%) scale(0.72) rotate(-32deg); border-radius: 40% 60% 55% 45% / 62% 55% 45% 38%; }
}
@keyframes vm-blob-2 {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); border-radius: 55% 45% 40% 60% / 45% 60% 40% 55%; }
  40%      { transform: translate(-20%, 18%) scale(0.68) rotate(-52deg); border-radius: 42% 58% 63% 37% / 58% 40% 60% 42%; }
  75%      { transform: translate(13%, -16%) scale(1.35) rotate(38deg); border-radius: 63% 37% 45% 55% / 40% 55% 45% 60%; }
}
@keyframes vm-blob-3 {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); border-radius: 40% 60% 55% 45% / 60% 45% 55% 40%; }
  45%      { transform: translate(18%, -19%) scale(1.38) rotate(48deg); border-radius: 58% 42% 40% 60% / 42% 60% 40% 58%; }
  80%      { transform: translate(-17%, -9%) scale(0.7) rotate(-36deg); border-radius: 45% 55% 60% 40% / 55% 40% 60% 45%; }
}
@keyframes vm-blob-4 {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); border-radius: 58% 42% 45% 55% / 42% 55% 45% 58%; }
  30%      { transform: translate(16%, 17%) scale(0.7) rotate(40deg); border-radius: 40% 60% 58% 42% / 60% 42% 58% 40%; }
  65%      { transform: translate(-20%, -12%) scale(1.4) rotate(-44deg); border-radius: 55% 45% 42% 58% / 45% 58% 42% 55%; }
}

/* Esfera del hero: translúcida (se ve la foto detrás, sin que la tiña de
   color — sin mix-blend-mode, solo opacidad, para que el blanco/gris se
   vea siempre igual sin importar qué foto esté activa). Sigue habiendo
   un aro sutil (.vm-hero__circle, borde traslúcido) para marcar que hay
   algo ahí. */
.vm-orb--hero {
  width: 100%;
  height: 100%;
  opacity: .82;
  animation: vm-orb-breathe 4.5s ease-in-out infinite, vm-orb-morph 6.5s ease-in-out infinite;
  box-shadow:
    inset -22px -26px 60px rgba(0, 0, 0, .55),
    inset 14px 16px 34px rgba(255, 255, 255, .35),
    inset 0 0 22px 4px rgba(0,0,0,.35),
    inset 0 0 0 1px rgba(255,255,255,.1),
    0 0 55px 10px rgba(34, 211, 238, .22),
    0 0 100px 30px rgba(22, 212, 132, .18);
}
.vm-orb__dots {
  position: absolute;
  inset: -25%;
  background-image: radial-gradient(circle, rgba(30,10,20,.5) 1.4px, transparent 1.6px);
  background-size: 16px 16px;
  mix-blend-mode: multiply;
  opacity: .35;
  animation: vm-orb-rotate 40s linear infinite;
  /* la textura se apaga cerca del highlight y del borde en sombra, para
     que no compita con el volumen que dan los box-shadow de arriba */
  mask-image: radial-gradient(circle at 36% 30%, transparent 8%, #000 32%, #000 70%, transparent 92%);
}
.vm-orb__glow {
  position: absolute;
  inset: 0;
  /* Brillo especular chico y definido (como un punto de luz real
     reflejándose) en vez de un manchón grande difuso — eso es lo que
     hacía ver la esfera "de mentira". */
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.95) 0%, rgba(255,255,255,.6) 3%, rgba(255,255,255,.15) 9%, transparent 22%);
  mix-blend-mode: overlay;
  animation: vm-orb-shift 5.5s ease-in-out infinite alternate;
}

/* Reflejo secundario, tenue, del lado opuesto a la luz principal — el
   detalle que más vende el efecto "esfera de verdad" en vez de un
   círculo con degradado. */
.vm-orb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 74% 78%, rgba(255,255,255,.35) 0%, transparent 6%);
  pointer-events: none;
}
@keyframes vm-orb-rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes vm-orb-shift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(5%, 4%) scale(1.06); }
}
@keyframes vm-orb-breathe {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.08); }
}

.vm-orb--avatar {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  box-shadow: 0 0 10px 2px rgba(34, 211, 238, .4);
}


/* --- Secciones genéricas --- */
.vm-seccion { position: relative; padding: 88px 24px; overflow: hidden; }
.vm-seccion--blanca { background: var(--vm-bg); }
.vm-seccion--crema { background: var(--vm-bg-alt); }
/* Línea de acento arriba de cada sección + resplandor difuso de fondo —
   en vez de un corte plano de color a color, da la sensación de
   transición suave entre secciones ("aurora" tech, no bloques planos). */
.vm-seccion::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(22,212,132,.5), transparent);
}
.vm-seccion::after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .12;
  pointer-events: none;
  z-index: 0;
}
.vm-seccion--blanca::after { background: var(--vm-primary); top: -160px; right: -120px; }
.vm-seccion--crema::after { background: var(--vm-primary-2); bottom: -160px; left: -120px; }
.vm-seccion__header,
.vm-cards,
.vm-accesos,
.vm-stats-grid { position: relative; z-index: 1; }
.vm-seccion__header { max-width: 1160px; margin: 0 auto 32px; }
.vm-seccion__header h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0; color: var(--vm-text); }

/* Aparición suave al hacer scroll — ver reveal.js */
.vm-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.vm-reveal--visible { opacity: 1; transform: translateY(0); }

/* --- Cards --- */
.vm-cards { max-width: 1160px; margin: 0 auto; display: grid; gap: 24px; }
.vm-cards--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.vm-cards--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.vm-card {
  background: var(--vm-surface);
  border: 1px solid var(--vm-border);
  border-radius: 18px;
  padding: 26px;
  backdrop-filter: blur(8px);
  transition: transform .2s ease, border-color .2s ease;
}
.vm-card:hover { transform: translateY(-3px); border-color: rgba(22,212,132,.35); }
.vm-card--proximo { background: var(--vm-surface); }
.vm-card h3 { font-size: 1.15rem; margin: 12px 0 10px; color: var(--vm-text); }
.vm-card p { margin: 0; color: var(--vm-muted); font-size: .95rem; }
.vm-card__tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 5px 12px;
  border-radius: 999px;
  color: #04140d;
  background: var(--vm-gradient);
}
.vm-card__tag--proximo { background: none; color: var(--vm-primary); border: 1.5px solid rgba(22,212,132,.5); }

/* --- Accesos rápidos --- */
.vm-accesos {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
}
.vm-acceso {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--vm-text);
  font-size: .9rem;
  font-weight: 600;
  width: 130px;
  text-align: center;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
}
.vm-acceso__icono {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--vm-surface-strong);
  border: 1px solid var(--vm-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.vm-acceso:hover .vm-acceso__icono {
  transform: translateY(-3px);
  border-color: rgba(22,212,132,.5);
  box-shadow: 0 8px 24px rgba(22,212,132,.2);
}

/* --- Chat --- */
.vm-chat-section { position: relative; padding: 88px 24px; background: var(--vm-bg); overflow: hidden; }
.vm-chat-card {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  background: var(--vm-surface);
  border: 1px solid var(--vm-border);
  border-radius: 22px;
  padding: 28px;
  backdrop-filter: blur(8px);
}

.vm-gate h3 { margin-top: 0; color: var(--vm-text); }
.vm-gate__aviso {
  font-size: .92rem;
  color: var(--vm-muted);
  max-height: 3em;
  overflow: hidden;
  transition: max-height .25s ease;
}
.vm-gate__aviso--expandido { max-height: 20em; }
.vm-gate__aviso a { color: var(--vm-primary); }
.vm-aviso-toggle {
  background: none;
  border: none;
  padding: 4px 0 12px;
  color: var(--vm-primary);
  font-weight: 700;
  font-size: .85rem;
  cursor: pointer;
}
.vm-checkbox { display: flex; align-items: center; gap: 8px; font-size: .95rem; margin: 16px 0; }
.vm-gate__opciones { display: flex; gap: 12px; flex-wrap: wrap; }

.vm-form-identidad { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.vm-form-identidad[hidden] { display: none; }
.vm-form-identidad label { display: flex; flex-direction: column; gap: 4px; font-size: .9rem; color: var(--vm-muted); }
.vm-form-identidad input {
  padding: 10px 12px;
  border: 1px solid var(--vm-border);
  border-radius: 10px;
  font-size: 1rem;
  background: #fff;
  color: #14181c;
}
.vm-form-identidad input:disabled { opacity: .5; }

.vm-mensajes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 420px;
  overflow-y: auto;
  padding: 4px;
  margin-bottom: 14px;
}
.vm-bubble {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: .95rem;
  white-space: pre-wrap;
}
.vm-bubble--ia {
  background: var(--vm-bubble-ia);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 8px;
}
.vm-bubble--ciudadano { background: var(--vm-bubble-user); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.vm-bubble--escribiendo .vm-bubble__texto { opacity: .6; font-style: italic; }

.vm-form-mensaje { display: flex; gap: 8px; }
.vm-form-mensaje input {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid var(--vm-border);
  border-radius: 999px;
  font-size: 1rem;
  background: #fff;
  color: #14181c;
}

/* --- Estadísticas --- */
.vm-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  max-width: 1160px;
  margin: 0 auto;
}
.vm-stat {
  background: var(--vm-surface);
  border: 1px solid var(--vm-border);
  border-radius: 16px;
  padding: 20px 10px;
  text-align: center;
  backdrop-filter: blur(8px);
}
.vm-stat span {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  background: var(--vm-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.vm-stat small { color: var(--vm-muted); }

/* --- Footer --- */
.vm-footer { background: var(--vm-bg-deep); color: #ece7db; padding: 48px 24px 28px; border-top: 1px solid var(--vm-border); }
.vm-footer__inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: center;
}
.vm-footer .vm-nav__brand { color: #fff; }
.vm-footer__brand p { color: #b8b2a1; margin: 6px 0 0; font-size: .9rem; }
.vm-footer__card {
  background: rgba(255,255,255,.06);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .88rem;
}
.vm-footer__card p { color: #ece7db; }
.vm-footer__card a { color: #ece7db; text-decoration: underline; }
.vm-footer__card a:hover { color: var(--vm-primary); }
.vm-footer__logo { height: 34px; }
.vm-footer__links { display: flex; flex-direction: column; gap: 8px; font-size: .9rem; }
.vm-footer__links a { color: #ece7db; text-decoration: none; }
.vm-footer__links a:hover { color: var(--vm-primary); }

@media (max-width: 640px) {
  .vm-hero__visual { margin-top: 24px; }
}

/* --- Tarjeta CTA de la sección "Este es tu espacio" (el chat de verdad
   vive en /chat, pestaña nueva) --- */
.vm-chat-card--cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.vm-chat-card--cta p { margin: 0; color: var(--vm-muted); max-width: 46ch; }

/* --- Modal "Antes de empezar" --- */
.vm-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 9, .72);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 50;
}
.vm-modal-overlay[hidden] { display: none; }
.vm-modal {
  position: relative;
  background: #10161e;
  border: 1px solid var(--vm-border);
  border-radius: 22px;
  padding: 32px;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.vm-modal h2 { margin-top: 0; color: var(--vm-text); }
.vm-modal__cerrar {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--vm-muted);
  line-height: 1;
  padding: 6px;
}
.vm-modal__cerrar:hover { color: var(--vm-text); }
.vm-modal__o { text-align: center; color: var(--vm-muted); margin: 14px 0; font-size: .85rem; }
.vm-modal #vm-modal-btn-anonimo { width: 100%; }
