/* styles.css — funnel alma gemela · mobile-first (probado en 390×844) */

:root {
  --bg1: #3b1c6b;
  --bg2: #1d0e38;
  --bg3: #0b0619;
  --texto: #f6f1ff;
  --texto-claro: #fcfaff;
  --texto-suave: #cbb9f0;
  --texto-tenue: #b9a6e3;
  --oro: #f1c97b;
  --oro-claro: #f8dc9c;
  --oro-oscuro: #d39a3c;
  --lila: #c9a8ff;
  --lila2: #a77bff;
  --card: #2a1652aa;
  --card-sel: #4a2a86;
  --borde: #6b4bb0aa;
  --cta-texto: #2a1600;
  --serif: 'Cormorant Garamond', 'Merriweather', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radio: 14px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font: 16px/1.5 var(--sans);
  color: var(--texto);
  background: var(--bg3);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--lila); outline-offset: 3px; border-radius: 6px; }
[tabindex="-1"]:focus { outline: none; }
[hidden] { display: none !important; }

/* Fondo: degradé radial + estrellas */
.fondo {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1.5px 1.5px at 12% 18%, #ffffffb0, transparent),
    radial-gradient(1px 1px at 78% 12%, #e9dbff, transparent),
    radial-gradient(1.5px 1.5px at 88% 44%, #ffffff90, transparent),
    radial-gradient(1px 1px at 22% 62%, #e9dbffb0, transparent),
    radial-gradient(1px 1px at 64% 78%, #ffffffa0, transparent),
    radial-gradient(1.5px 1.5px at 8% 90%, #e9dbff80, transparent),
    radial-gradient(1px 1px at 46% 34%, #ffffff70, transparent),
    radial-gradient(1px 1px at 94% 86%, #ffffff90, transparent),
    radial-gradient(ellipse at 50% -10%, var(--bg1) 0%, var(--bg2) 48%, var(--bg3) 100%);
  animation: titilar 4s ease-in-out infinite alternate;
}

.contenedor { max-width: 440px; margin: 0 auto; padding: 0 18px 40px; }

/* Encabezado de marca */
.logo { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 0 4px; min-height: 56px; }
.logo-txt { display: flex; flex-direction: column; line-height: 1.15; }
.logo-nombre { font: 600 15px var(--serif); letter-spacing: .14em; text-transform: uppercase; }
.logo-sub { font: 600 9px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #c4b0ee; margin-top: 3px; }
.avatar { border-radius: 50%; object-fit: cover; display: inline-block; flex: 0 0 auto; }
.avatar-inicial {
  display: inline-grid; place-items: center; border-radius: 50%; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--oro-claro), var(--lila2));
  color: var(--cta-texto); font: 700 15px var(--serif);
}
.logo-av { width: 34px; height: 34px; border: 1.5px solid #e6d3ff88; }
body[data-pantalla="chat"] .logo { display: none; }
body[data-pantalla="chat"] .contenedor { padding-bottom: 0; }

.pantalla { animation: entrar .45s ease both; }

/* ---------- Portada ---------- */
.portada { text-align: center; padding-top: 6px; }
.titulo-portada { font: 600 clamp(30px, 8.8vw, 36px)/1.1 var(--serif); margin: 8px 0 2px; }
.flecha { color: var(--oro); font-size: 20px; animation: flecha 1.6s ease-in-out infinite; }

.bola-wrap {
  position: relative; display: block; width: 260px; height: 292px; margin: 2px auto 0;
  background: none; border: 0; padding: 0; cursor: pointer; border-radius: 50%;
}
.halo {
  position: absolute; left: 50%; top: 122px; width: 320px; height: 320px; margin: -160px 0 0 -160px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, #c9a8ff50 0%, #a77bff20 38%, transparent 68%);
  animation: halo 3.2s ease-in-out infinite;
}
.bola {
  position: absolute; left: 10px; top: 0; width: 240px; height: 240px; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 36% 30%, #fbf8ff 0%, #e2d8f0 24%, #b3a4cc 54%, #6e5a92 82%, #3e2a63 100%);
  box-shadow: inset 0 -22px 44px #2a160099, inset 0 10px 30px #ffffff66, 0 0 42px #c9a8ff40, 0 22px 40px #00000070;
  animation: flotar 4s ease-in-out infinite alternate;
  transition: transform .6s ease, box-shadow .6s ease;
  isolation: isolate;
}
.bola-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: blur(9px) saturate(.75); opacity: .72; mix-blend-mode: multiply; transform: scale(1.18);
  transition: filter .9s ease, opacity .9s ease, transform .9s ease;
}
.niebla {
  position: absolute; inset: -25%; mix-blend-mode: screen; filter: blur(18px);
  background: conic-gradient(from 0deg, transparent 0 18%, #ffffff70 28%, transparent 42% 58%, #c9a8ff60 70%, transparent 84%);
  animation: girar 9s linear infinite;
}
.niebla.n2 { animation-duration: 15s; animation-direction: reverse; opacity: .65; }
.brillo {
  position: absolute; left: 17%; top: 8%; width: 44%; height: 27%; border-radius: 50%;
  background: radial-gradient(ellipse, #ffffffee 0%, #ffffff00 70%); transform: rotate(-24deg);
}
.brillo.b2 { left: 60%; top: 71%; width: 24%; height: 12%; opacity: .45; }
.chispa {
  position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 8px 2px #ffffffcc; opacity: 0; animation: chispa 2.8s ease-in-out infinite;
}
.chispa.c1 { left: 30%; top: 46%; }
.chispa.c2 { left: 66%; top: 32%; animation-delay: .9s; }
.chispa.c3 { left: 52%; top: 66%; animation-delay: 1.8s; }
.pedestal {
  position: absolute; left: 50%; top: 222px; z-index: 2; width: 176px; height: 44px; margin-left: -88px;
  border-radius: 50%; background: linear-gradient(#5a3d99, #26124d 70%, #1b0d36);
  box-shadow: 0 -5px 20px #c9a8ff55, inset 0 2px 0 #c9a8ff66;
}
.pedestal::after {
  content: ''; position: absolute; left: -14%; right: -14%; bottom: -12px; height: 16px; border-radius: 50%;
  background: linear-gradient(#4a2d86, #130828); box-shadow: 0 14px 22px #000000a0; z-index: -1;
}
.particulas { position: absolute; inset: 0; pointer-events: none; }
.particula {
  position: absolute; bottom: 70px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%;
  background: #f1e8ff; box-shadow: 0 0 6px #c9a8ff; opacity: 0;
  animation: subir var(--d) linear var(--delay) infinite;
}
.bola-wrap:active .bola { transform: scale(.98); }
.bola-wrap.activa .bola { animation: none; transform: scale(1.07); box-shadow: inset 0 -22px 44px #2a160066, inset 0 10px 30px #ffffffaa, 0 0 90px #ffffffb0, 0 22px 40px #00000070; }
.bola-wrap.activa .bola-img { filter: blur(3px); opacity: .95; transform: scale(1.3); }
.bola-wrap.activa .halo { animation: destello .9s ease-out forwards; }
.bola-wrap.activa .chispa { animation-duration: .7s; }

.insignias { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px 0 10px; padding: 0; }
.insignias li {
  font-size: 12.5px; font-weight: 600; color: #e3d8fa; padding: 6px 11px; border-radius: 99px;
  background: #ffffff0d; border: 1px solid #6b4bb066;
}
.legal { font-size: 11.5px; line-height: 1.5; color: var(--texto-tenue); margin: 6px 12px 0; }

/* ---------- Quiz ---------- */
.barra { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 4px 0 10px; }
.atras {
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: #ffffff10; color: #d2c2f5;
  font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding-bottom: 3px;
}
.atras-vacio { width: 44px; }
.seccion { font: 700 10.5px var(--sans); letter-spacing: .2em; color: var(--texto-tenue); text-transform: uppercase; text-align: center; }
.contador { font: 700 11.5px var(--sans); background: #ffffff14; border-radius: 99px; padding: 6px 10px; color: #d2c2f5; min-width: 44px; text-align: center; }
.progreso { height: 4px; background: #ffffff14; border-radius: 4px; overflow: hidden; }
.progreso-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--oro), var(--lila2)); transition: width .6s ease; }
.progreso-texto { margin: 8px 0 0; font-size: 12.5px; font-weight: 700; color: var(--texto-suave); text-align: center; letter-spacing: .02em; }
.titulo-pregunta { font: 600 clamp(27px, 7.8vw, 31px)/1.15 var(--serif); text-align: center; margin: 18px 0 6px; }
.subtitulo { text-align: center; color: var(--texto-suave); font-size: 14.5px; margin: 0 0 4px; }

.opciones { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.opcion {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 12px 14px;
  border-radius: var(--radio); border: 1px solid var(--borde); background: var(--card); color: var(--texto-claro);
  font: 600 15.5px/1.3 var(--sans); text-align: left; cursor: pointer;
  transition: background .2s, border-color .2s, transform .15s, box-shadow .2s;
}
.opcion:active { transform: scale(.985); }
.opcion.sel { background: var(--card-sel); border-color: var(--oro); box-shadow: inset 0 0 0 1px var(--oro), 0 0 18px #f1c97b22; }
.emoji {
  flex: 0 0 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: #170b2e; border: 1px solid #5a3d99; font-size: 19px; line-height: 1;
}
.opcion-texto { flex: 1; }
.marca {
  flex: 0 0 22px; height: 22px; border-radius: 50%; border: 1.5px solid #9d86d6; display: grid; place-items: center;
  font-size: 12px; font-weight: 800; color: transparent; transition: all .2s;
}
.opcion[aria-pressed="true"] .marca { background: var(--oro); border-color: var(--oro); color: var(--cta-texto); }
@media (hover: hover) { .opcion:hover { border-color: var(--lila2); } }
.cta-fija { position: sticky; bottom: 0; padding: 4px 0 12px; background: linear-gradient(transparent, var(--bg3) 40%); margin: 0 -2px; }

.cta {
  display: block; width: 100%; min-height: 56px; margin: 20px 0 0; padding: 14px 18px; border: 0; border-radius: var(--radio);
  background: linear-gradient(135deg, var(--oro-claro), var(--oro-oscuro)); color: var(--cta-texto);
  font: 800 16px/1.25 var(--sans); cursor: pointer; box-shadow: 0 8px 22px #d39a3c44;
  transition: transform .15s, opacity .2s;
}
.cta:active { transform: scale(.98); }
.cta:disabled { opacity: .38; cursor: not-allowed; box-shadow: none; }
.cta-sec { background: transparent; color: var(--oro); border: 1.5px solid var(--oro); box-shadow: none; }
.cta.pulso { animation: pulso 2.4s ease-in-out infinite; }

/* Fecha */
.fecha-grid { display: grid; grid-template-columns: 1fr 1.55fr 1.2fr; gap: 8px; margin-top: 20px; }
.campo-fecha { display: flex; flex-direction: column; gap: 6px; }
.campo-etiqueta { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--texto-suave); padding-left: 2px; }
.select, .campo {
  width: 100%; min-height: 56px; border-radius: 12px; border: 1px solid var(--borde); background-color: #170b2e;
  color: var(--texto-claro); font: 600 16px var(--sans); padding: 0 12px;
}
.select {
  appearance: none; -webkit-appearance: none; padding-right: 28px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23f4b79b' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
}
.select option { background: #1d0e38; }
.campo::placeholder { color: #9785c4; }
.campo[aria-invalid="true"] { border-color: #ff9b8a; }
.signo-resultado {
  display: none; align-items: center; gap: 14px; margin-top: 16px; padding: 14px 16px; border-radius: var(--radio);
  background: linear-gradient(135deg, #4a2a8699, #2a1652aa); border: 1px solid var(--oro);
}
.signo-resultado.visible { display: flex; animation: entrar .4s ease both; }
.signo-simbolo {
  flex: 0 0 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: #170b2e; border: 1px solid #f1c97b88; color: var(--oro); font: 600 30px var(--serif);
}
.signo-texto { display: flex; flex-direction: column; font-size: 16px; }
.signo-texto strong { font-family: var(--serif); font-size: 21px; color: #fff; }
.signo-texto small { color: var(--texto-suave); font-size: 13px; margin-top: 2px; }

.form-campo { margin-top: 20px; }
.error { color: #ffb3a6; font-size: 14px; font-weight: 600; margin: 8px 2px 0; min-height: 0; }
.error:empty { display: none; }
.nota-campo { text-align: center; color: var(--texto-tenue); font-size: 13px; margin: 12px 0 0; }

/* Microrrespuesta */
.micro-tarjeta { text-align: center; padding: 30px 4px 0; }
.micro-firma {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--texto-suave);
  background: #ffffff0d; border: 1px solid #6b4bb066; border-radius: 99px; padding: 4px 13px 4px 4px;
}
.micro-av { width: 28px; height: 28px; font-size: 13px; }
.micro-emoji { font-size: 48px; line-height: 1; margin: 24px 0 10px; }
.micro-titulo { font: 600 32px/1.12 var(--serif); margin: 0 0 14px; }
.micro-texto { color: #e3d8fa; font-size: 16.5px; line-height: 1.65; margin: 0; }
.micro-texto strong, .carta strong, .retrato-texto strong { color: var(--oro-claro); }

/* ---------- Carga ---------- */
.carga { text-align: center; padding-top: 22px; }
.carga h1 { font: 600 30px/1.15 var(--serif); margin: 0 0 24px; }
.anillo { position: relative; width: 132px; height: 132px; margin: 0 auto 28px; }
.anillo svg { transform: rotate(-90deg); display: block; }
.anillo .pct { position: absolute; inset: 0; display: grid; place-items: center; font: 600 27px var(--serif); }
.pasos-carga { list-style: none; padding: 0; margin: 0; text-align: left; display: flex; flex-direction: column; gap: 8px; }
.pasos-carga li {
  display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 12px;
  color: #a796d4; opacity: .6; font-weight: 600; font-size: 15px; transition: all .35s;
}
.pasos-carga .check {
  flex: 0 0 24px; height: 24px; border-radius: 50%; border: 1.5px solid #6a54a8; display: grid; place-items: center;
  font-size: 13px; font-weight: 800; color: transparent; transition: background .3s, border-color .3s;
}
.pasos-carga li.act { opacity: 1; color: #fff; background: #4a2a86cc; }
.pasos-carga li.act .check { border-color: #fff; border-top-color: transparent; animation: girar .9s linear infinite; }
.pasos-carga li.hecho { opacity: .95; color: #e3d8fa; background: none; }
.pasos-carga li.hecho .check { background: var(--lila); border-color: var(--lila); color: var(--cta-texto); animation: none; }

/* ---------- Revelación ---------- */
.revelacion { text-align: center; }
.titulo-revelacion { font: italic 600 clamp(29px, 8.4vw, 34px)/1.12 var(--serif); color: var(--oro); margin: 8px 0 22px; }
.ovalo {
  position: relative; width: 292px; height: 202px; margin: 0 auto; border-radius: 50%; padding: 7px;
  background: linear-gradient(135deg, var(--oro-claro), #9c6d24 38%, var(--oro) 62%, #7a5218);
  box-shadow: 0 0 0 1px #f1c97b55, 0 0 46px #c9a8ff30, 0 18px 40px #00000090;
  animation: aparecer 1s ease both;
}
.ovalo::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; border: 1px solid #ffffff38; pointer-events: none; }
.ovalo-papel {
  width: 100%; height: 100%; border-radius: 50%; overflow: hidden;
  background: radial-gradient(ellipse at 50% 45%, #f6f1e8 0%, #e6ddd0 70%, #cfc3b2 100%);
  box-shadow: inset 0 0 22px #6b5a4855;
}
.ojo-media { width: 100%; height: 100%; object-fit: cover; display: block; animation: dibujar 2.8s ease-out .3s both; }
.etiqueta-rev { font: 600 19px var(--serif); letter-spacing: .18em; color: var(--oro); margin: 16px 0 6px; text-transform: uppercase; }
.carta { text-align: left; font: 500 20px/1.5 var(--serif); color: #ebe3fb; margin-top: 10px; }
.carta p { margin: 0 0 14px; }
.carta p:first-child { font-weight: 600; color: #fff; }

.retrato-bloque { margin-top: 36px; padding-top: 26px; border-top: 1px solid #6b4bb055; }
.retrato-bloque.entra { animation: entrar .6s ease both; }
.retrato-bloque h2 { font: 600 29px/1.15 var(--serif); margin: 0 0 10px; }
.retrato-texto { color: #e3d8fa; font-size: 16px; line-height: 1.6; margin: 0; }
.retrato-bloqueado {
  position: relative; width: 236px; aspect-ratio: 3 / 4; margin: 20px auto 0; border-radius: 18px; overflow: hidden;
  border: 1.5px solid #f1c97b99; background: #e9e3d8;
  box-shadow: 0 0 40px #c9a8ff26, 0 20px 44px #000000a0;
}
.retrato-media { width: 100%; height: 100%; object-fit: cover; display: block; filter: blur(var(--blur, 9px)) grayscale(.15); transform: scale(1.14); }
.candado {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: radial-gradient(circle, #0b061933 0%, #0b0619a0 100%); color: #fff;
}
.candado-ico {
  width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; color: var(--oro);
  background: #0b0619d0; border: 1.5px solid var(--oro); box-shadow: 0 0 0 7px #f1c97b26;
  animation: latido 2.4s ease-in-out infinite;
}
.candado-ico svg { width: 30px; height: 30px; }
.candado-txt { font: 800 11.5px var(--sans); letter-spacing: .2em; text-transform: uppercase; background: #0b0619b0; padding: 4px 10px; border-radius: 99px; }
.retrato-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 10px; font-size: 12px; font-weight: 700; color: #f6f1ff; background: linear-gradient(transparent, #0b0619ee); }

/* ---------- Chat ---------- */
.pantalla-chat { margin: 0 -18px; }
.chat {
  min-height: 100vh; min-height: 100dvh;
  background:
    radial-gradient(#ffffff07 1px, transparent 1.2px) 0 0 / 18px 18px,
    linear-gradient(#170a2ff0, #0e0620e6 70%, #0e062000);
}
.chat-header {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 12px; padding: 10px 16px;
  background: #241048; border-bottom: 1px solid #6b4bb055; box-shadow: 0 4px 14px #00000040;
}
.chat-avatar { position: relative; flex: 0 0 auto; }
.chat-header-av { width: 46px; height: 46px; border: 2px solid #f1c97b99; font-size: 19px; }
.punto-online { position: absolute; right: 1px; bottom: 1px; width: 12px; height: 12px; border-radius: 50%; background: #3ddc84; border: 2px solid #241048; }
.chat-info { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.chat-nombre { font: 600 19px var(--serif); color: #fff; }
.chat-cred { font-size: 11px; font-weight: 700; color: var(--oro); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-estado { font-size: 12px; color: #9ff0c0; font-weight: 600; }
.chat-estado.activo { color: var(--lila); font-style: italic; }

.chat-cuerpo { display: flex; flex-direction: column; gap: 4px; padding: 14px 12px 28px; }
.chat-dia {
  align-self: center; font-size: 11.5px; font-weight: 700; color: #d2c2f5; background: #2a1652cc;
  padding: 4px 12px; border-radius: 8px; margin: 2px 0 6px;
}
.chat-aviso {
  align-self: center; max-width: 88%; text-align: center; font-size: 12px; color: #e9d6b0; background: #3a3420cc;
  padding: 6px 12px; border-radius: 8px; margin-bottom: 10px;
}

.fila { display: flex; align-items: flex-end; gap: 8px; animation: burbuja .32s ease both; }
.fila.primera { margin-top: 8px; }
.fila-vidente { justify-content: flex-start; padding-right: 34px; }
.fila-usuario { justify-content: flex-end; padding-left: 50px; }
.chat-av, .chat-av-esp { width: 30px; height: 30px; flex: 0 0 30px; align-self: flex-start; font-size: 13px; }
.chat-av { border: 1px solid #f1c97b66; }

.burbuja {
  position: relative; max-width: 100%; padding: 8px 12px 6px; border-radius: 16px; font-size: 15.5px; line-height: 1.45;
  box-shadow: 0 1px 2px #00000040; word-wrap: break-word;
}
.fila-vidente .burbuja { background: #35196b; color: var(--texto-claro); }
.fila-vidente.primera .burbuja { border-top-left-radius: 4px; }
.fila-usuario .burbuja { background: linear-gradient(135deg, var(--oro-claro), #e6b45c); color: var(--cta-texto); font-weight: 600; }
.fila-usuario.primera .burbuja { border-top-right-radius: 4px; }
.burbuja strong { color: var(--oro-claro); }
.fila-usuario .burbuja strong { color: inherit; }
.burbuja-meta { display: block; text-align: right; font-size: 10.5px; opacity: .7; margin-top: 2px; font-weight: 500; }
.ticks { color: #6b3fc0; font-weight: 800; letter-spacing: -2px; }

.burbuja-escribiendo { display: inline-flex; gap: 5px; padding: 13px 16px; }
.burbuja-escribiendo span { width: 8px; height: 8px; border-radius: 50%; background: var(--lila); animation: rebote 1.1s infinite ease-in-out; }
.burbuja-escribiendo span:nth-child(2) { animation-delay: .15s; }
.burbuja-escribiendo span:nth-child(3) { animation-delay: .3s; }

.chat-respuestas { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; margin: 12px 0 6px 50px; animation: entrar .35s ease both; }
.chat-boton {
  min-height: 50px; width: 100%; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--oro);
  background: #f1c97b1a; color: #fff1d1; font-weight: 700; font-size: 15.5px; text-align: center; cursor: pointer;
  transition: background .2s, transform .15s;
}
.chat-boton:active { transform: scale(.98); background: #f1c97b40; }
@media (hover: hover) { .chat-boton:hover { background: #f1c97b33; } }

.fila-tarjeta { padding-right: 20px; }
.tarjeta-signo {
  width: 100%; max-width: 270px; padding: 18px 16px 14px; border-radius: 16px; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(160deg, #3b1c6b, #1b0d36); border: 1px solid #f1c97b88; box-shadow: 0 0 24px #c9a8ff22;
}
.tarjeta-signo::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--oro), var(--lila2)); }
.ts-simbolo {
  width: 56px; height: 56px; margin: 0 auto 8px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--oro-claro), var(--oro-oscuro)); color: var(--cta-texto); font: 600 32px var(--serif);
}
.ts-nombre { font: 600 27px/1.1 var(--serif); color: #fff; }
.ts-sub { font-size: 12px; color: var(--texto-suave); margin: 3px 0 12px; }
.res-barra { height: 7px; border-radius: 7px; background: #ffffff1a; overflow: hidden; }
.res-relleno { height: 100%; width: 0; border-radius: 7px; background: linear-gradient(90deg, var(--lila2), var(--oro)); }
.res-pie { display: flex; flex-direction: column; align-items: flex-end; margin-top: 6px; }
.res-pct { font: 600 30px/1 var(--serif); color: var(--oro); }
.res-txt { font-size: 11.5px; color: var(--texto-suave); }

.tarjeta-retrato { width: 100%; max-width: 230px; border-radius: 16px; overflow: hidden; background: #35196b; box-shadow: 0 1px 2px #00000040; }
.retrato-bloqueado.mini { width: 100%; margin: 0; border-radius: 0; border: 0; box-shadow: none; }
.retrato-bloqueado.mini .candado-ico { width: 54px; height: 54px; }
.tr-info { display: flex; flex-direction: column; padding: 9px 12px 11px; font-size: 12.5px; color: var(--texto-suave); }
.tr-info strong { color: #fff; font-size: 14.5px; }

/* Oferta dentro del chat */
.chat-oferta { margin: 18px 4px 0; animation: entrar .5s ease both; }
.plan-nombre { font: 600 26px/1.15 var(--serif); margin: 4px 0 10px; color: #fff; }
.plan-items { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-direction: column; gap: 7px; }
.plan-items li { display: flex; gap: 8px; font-size: 15px; line-height: 1.4; color: #efe8fd; }
.plan-items li.no { color: #a99bd0; }
.plan-items li.bonus { color: #fff1d1; font-weight: 700; background: #f1c97b1a; border: 1px dashed #f1c97b88; border-radius: 10px; padding: 8px 10px; }
.plan-ico { color: var(--oro); flex: 0 0 auto; }
.plan-items li.no .plan-ico { color: #a99bd0; }
.plan-items strong { color: #fff; }
.plan-precio { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 0; flex-wrap: wrap; }
.plan-precio strong { font: 600 42px/1 var(--serif); color: var(--oro); }
.plan-antes { color: #a99bd0; font-size: 18px; }
.plan-unico { font-size: 13px; color: var(--texto-tenue); }
.confianza { text-align: center; font-size: 13px; color: var(--texto-suave); margin: 0 10px; line-height: 1.6; }

/* Página de oferta */
.oferta-pagina { padding: 0 18px; }
.oferta-pagina:empty { display: none; }
.of-sec { margin-top: 46px; }
.of-titulo { font: 600 29px/1.15 var(--serif); text-align: center; margin: 0 0 8px; color: #fff; }
.of-sub { text-align: center; color: var(--texto-suave); margin: 0 0 18px; font-size: 15px; }
.pasos { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 14px; }
.pasos li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--radio); background: #ffffff0a; border: 1px solid #6b4bb055; }
.paso-num {
  flex: 0 0 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--oro-claro), var(--oro-oscuro)); color: var(--cta-texto); font-weight: 800;
}
.pasos strong { font-size: 16px; color: #fff; }
.pasos p { margin: 3px 0 0; color: #e3d8fa; font-size: 14.5px; line-height: 1.5; }
.muestra { position: relative; margin: 0; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; border: 1px solid #6b4bb088; background: #ebe5da; }
.muestra-media { width: 100%; height: 100%; object-fit: cover; display: block; }
.verificada { color: #7ee0a6; font-weight: 600; }
.of-aviso { text-align: center; font-size: 12px; color: var(--texto-tenue); margin: 14px 8px 0; line-height: 1.5; }

.vidente-card { text-align: center; padding: 22px 18px; border-radius: 18px; background: #ffffff0a; border: 1px solid #6b4bb055; margin-top: 16px; }
.vidente-foto { width: 92px; height: 92px; border: 2px solid var(--oro); font-size: 34px; }
.vidente-nombre { display: block; font: 600 23px var(--serif); margin-top: 10px; color: #fff; }
.vidente-cred { display: block; font-size: 12.5px; color: var(--oro); font-weight: 700; margin-bottom: 8px; }
.vidente-card p { margin: 0; color: #e3d8fa; font-size: 15px; line-height: 1.6; }

.of-garantia { text-align: center; padding: 26px 18px; border-radius: 18px; background: linear-gradient(160deg, #3b1c6b, #1b0d36); border: 1px solid #c9a8ff66; }
.of-garantia p { margin: 0; color: #e3d8fa; line-height: 1.6; font-size: 15px; }
.sello {
  width: 88px; height: 88px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; padding: 6px;
  background: conic-gradient(var(--oro-claro), var(--oro-oscuro), var(--oro-claro), var(--oro-oscuro), var(--oro-claro));
}
.sello span {
  width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; background: #1b0d36;
  color: var(--oro); font: 800 13px/1.1 var(--sans); letter-spacing: .06em; text-align: center; padding: 6px;
}

.faq { border-radius: 12px; background: #ffffff0a; border: 1px solid #6b4bb055; margin-bottom: 10px; overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 44px 16px 16px; font-weight: 700; font-size: 15.5px; position: relative; min-height: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--oro); font-weight: 400; transition: transform .2s; }
.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-r { padding: 0 16px 16px; color: #e3d8fa; font-size: 15px; line-height: 1.6; }
.plan-final .plan-precio { justify-content: center; }
.final-texto { color: #e3d8fa; margin: 0 0 10px; }
.link-boceto {
  display: block; width: 100%; min-height: 48px; margin-top: 8px; background: none; border: 0; cursor: pointer;
  color: var(--oro); font-weight: 700; font-size: 15px; text-decoration: underline; text-underline-offset: 3px;
}

.pie { text-align: center; margin: 34px 0 0; padding-bottom: 96px; font-size: 12px; color: var(--texto-tenue); }
.pie-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 8px; }
.pie-links a { color: var(--texto-suave); padding: 6px 2px; }
.pie p { margin: 0 12px; line-height: 1.5; }

.barra-fija {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(#0b061900, #0b0619f0 30%); transform: translateY(110%); visibility: hidden;
  transition: transform .3s ease, visibility .3s;
}
.barra-fija.visible { transform: none; visibility: visible; }
.barra-fija .cta { max-width: 440px; margin: 0 auto; }

.error-config { margin: 40px 0; padding: 16px; border-radius: 12px; background: #5a1f1f; color: #fff; text-align: center; }

/* ---------- Animaciones ---------- */
@keyframes entrar { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes aparecer { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes burbuja { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes titilar { from { opacity: .85; } to { opacity: 1; } }
@keyframes flecha { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@keyframes halo { 0%, 100% { transform: scale(.92); opacity: .8; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes flotar { from { transform: translateY(0); } to { transform: translateY(-7px); } }
@keyframes girar { to { transform: rotate(360deg); } }
@keyframes chispa { 0%, 100% { opacity: 0; transform: scale(.4); } 50% { opacity: 1; transform: scale(1.2); } }
@keyframes subir { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .9; } 100% { transform: translateY(-250px); opacity: 0; } }
@keyframes destello { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes dibujar { from { opacity: 0; filter: blur(14px) contrast(.5); } to { opacity: 1; filter: none; } }
@keyframes pulso { 0%, 100% { box-shadow: 0 8px 22px #d39a3c44, 0 0 0 0 #f1c97b55; } 50% { box-shadow: 0 8px 22px #d39a3c44, 0 0 0 9px #f1c97b00; } }
@keyframes latido { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@keyframes rebote { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .particula { display: none; }
}

@media (min-width: 480px) {
  .pantalla-chat { margin: 16px -18px 0; }
  .chat { border-radius: 22px; min-height: 80vh; border: 1px solid #6b4bb055; }
}

/* =====================================================================
   v2 · Oferta estilo EE. UU. + prueba social (WhatsApp, Facebook, reseñas)
   ===================================================================== */

/* Encabezado del chat: ubicación + pastilla EN LÍNEA */
.chat-header { padding-right: 12px; }
.chat-info { flex: 1; }
.chat-pill {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px;
  background: #3ddc8414; border: 1px solid #3ddc8455; color: #9ff0c0; font: 800 10.5px var(--sans); letter-spacing: .08em;
}
.chat-pill-punto { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 #3ddc8488; animation: latidoVerde 1.8s infinite; }
@keyframes latidoVerde { 0% { box-shadow: 0 0 0 0 #3ddc8488; } 70% { box-shadow: 0 0 0 7px #3ddc8400; } 100% { box-shadow: 0 0 0 0 #3ddc8400; } }

/* Tarjeta "Abriendo tu sesión privada…" */
.chat-conectando {
  margin: 26px auto 10px; width: 100%; max-width: 300px; padding: 24px 20px 20px; border-radius: 20px; text-align: center;
  background: linear-gradient(160deg, #2d1658, #1b0d36); border: 1px solid #c9a8ff55; box-shadow: 0 0 40px #a77bff33;
  display: flex; flex-direction: column; align-items: center; animation: entrar .4s ease both; transition: opacity .3s, transform .3s;
}
.chat-conectando.sale { opacity: 0; transform: scale(.96); }
.conectando-av { width: 74px; height: 74px; border: 2px solid var(--oro); box-shadow: 0 0 0 6px #c9a8ff22; font-size: 28px; }
.conectando-nombre { font: 600 22px var(--serif); margin-top: 10px; color: #fff; }
.conectando-cred { font-size: 11.5px; font-weight: 700; color: var(--oro); }
.conectando-titulo { margin: 14px 0 4px; font-weight: 700; color: #f6f1ff; }
.conectando-texto { margin: 0; font-size: 13.5px; font-style: italic; color: var(--texto-suave); }
.conectando-puntos { display: flex; gap: 6px; margin-top: 14px; }
.conectando-puntos span { width: 8px; height: 8px; border-radius: 50%; background: var(--lila); animation: rebote 1.1s infinite ease-in-out; }
.conectando-puntos span:nth-child(2) { animation-delay: .15s; }
.conectando-puntos span:nth-child(3) { animation-delay: .3s; }

/* Temporizador de sesión reservada */
.temporizador {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: max-content; max-width: 100%; margin: 4px auto 18px;
  padding: 8px 16px; border-radius: 99px; background: #f1c97b1f; border: 1px solid #f1c97b77; color: var(--oro-claro);
  font-weight: 800; font-size: 14px; font-variant-numeric: tabular-nums;
}

/* Planes con banner superior (como EE. UU.) */
.plan {
  position: relative; border-radius: 18px; margin-bottom: 16px; overflow: hidden;
  background: linear-gradient(#2d1658, #1b0d36); border: 1px solid #6b4bb0aa;
}
.plan.destacado { border: 1.5px solid var(--oro); box-shadow: 0 0 34px #a77bff40; }
.plan-banner {
  text-align: center; padding: 8px 12px; font: 800 11.5px var(--sans); letter-spacing: .14em; color: var(--cta-texto);
  background: linear-gradient(135deg, var(--oro-claro), var(--oro-oscuro));
}
.plan-cuerpo { padding: 18px 18px 18px; }
.plan-cuerpo .cta { margin-top: 14px; }
.plan-final { text-align: center; }
.plan-final .plan-precio { justify-content: center; }
.plan-final .confianza { margin-top: 12px; }
.of-final { margin-top: 52px; }

/* Grillas de imágenes */
.grilla-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.muestra { margin: 0; aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 1px solid #6b4bb088; background: #ece8f2; }
.muestra-media { width: 100%; height: 100%; object-fit: cover; display: block; }
.resultados { display: flex; flex-direction: column; gap: 12px; }
.resultado { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid #6b4bb088; box-shadow: 0 10px 26px #00000055; background: #ece8f2; aspect-ratio: 8 / 5; }
.resultado-media { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Recordatorio personalizado a mitad de página */
.of-recordatorio { padding: 24px 18px 18px; border-radius: 20px; background: linear-gradient(160deg, #35196b, #1b0d36); border: 1px solid #c9a8ff55; text-align: center; }
.of-recordatorio .of-titulo { font-size: 26px; }
.recordatorio-caja { display: flex; align-items: center; gap: 12px; text-align: left; margin: 14px 0 4px; padding: 12px 14px; border-radius: 14px; background: #ffffff0d; border: 1px dashed #f1c97b77; }
.recordatorio-caja p { margin: 0; font-size: 15px; color: #f6f1ff; line-height: 1.5; }
.recordatorio-av { width: 46px; height: 46px; flex: 0 0 46px; border: 1.5px solid var(--oro); font-size: 18px; }

/* Reseñas */
.etiqueta-destacado { text-align: center; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--oro); margin: 6px 0 8px; }
.es-destacado { outline: 2px solid var(--oro); outline-offset: 3px; }
.resena { margin: 0 0 12px; padding: 16px; border-radius: var(--radio); background: #ffffff0d; border: 1px solid #6b4bb066; }
.resena.resaltada { background: linear-gradient(160deg, #f1c97b14, #ffffff08); }
.resena-cab { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; }
.resena-foto { grid-row: 1 / 3; width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 1.5px solid #c9a8ff88; }
.resena-quien { font-size: 14px; color: var(--texto-suave); }
.resena-quien strong { color: #fff; }
.resena-meta { display: flex; gap: 8px; align-items: center; font-size: 12px; }
.estrellas { color: #ffcf6e; letter-spacing: 1px; }
.verificada { color: #9ff0c0; font-weight: 700; }
.resena blockquote { margin: 12px 0 0; font: 500 18.5px/1.45 var(--serif); color: #fcfaff; }

/* WhatsApp (recreado, claro como en el celular) */
.wa-lista { display: flex; flex-direction: column; gap: 18px; }
.wa {
  border-radius: 18px; overflow: hidden; background: #efeae2; box-shadow: 0 14px 34px #00000070;
  font: 400 14.5px/1.38 -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif; color: #111b21;
}
.wa-cab { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: #075e54; color: #fff; }
.wa-atras { font-size: 18px; opacity: .9; }
.wa-foto { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.wa-quien { display: flex; flex-direction: column; line-height: 1.15; flex: 1; }
.wa-quien strong { font-size: 15.5px; }
.wa-quien span { font-size: 12px; opacity: .85; }
.wa-iconos { font-size: 13px; letter-spacing: 2px; opacity: .9; }
.wa-cuerpo {
  display: flex; flex-direction: column; gap: 5px; padding: 12px 10px 14px;
  background: radial-gradient(#00000009 1px, transparent 1.3px) 0 0 / 16px 16px, #efeae2;
}
.wa-dia { align-self: center; font-size: 11.5px; font-weight: 600; color: #54656f; background: #ffffffd9; padding: 4px 10px; border-radius: 7px; margin-bottom: 4px; box-shadow: 0 1px 1px #0000001a; }
.wa-msj { position: relative; max-width: 84%; padding: 6px 9px 6px; border-radius: 9px; box-shadow: 0 1px 1px #00000022; }
.wa-entra { align-self: flex-start; background: #fff; border-top-left-radius: 2px; }
.wa-sale { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 2px; }
.wa-media { padding: 3px; max-width: 88%; }
.wa-img { display: block; width: 100%; border-radius: 7px; }
.wa-media .wa-texto { display: block; padding: 4px 6px 0; }
.wa-hora { display: block; text-align: right; font-size: 10.5px; color: #667781; margin-top: 2px; }
.wa-media .wa-hora { position: absolute; right: 9px; bottom: 7px; color: #fff; text-shadow: 0 1px 2px #0009; }
.wa-ticks { color: #53bdeb; letter-spacing: -2px; }
.wa-pie { display: flex; align-items: center; gap: 8px; padding: 7px 8px; background: #f0f2f5; }
.wa-input { flex: 1; background: #fff; border-radius: 20px; padding: 8px 14px; color: #8696a0; font-size: 14px; }
.wa-mic { width: 38px; height: 38px; border-radius: 50%; background: #00a884; display: grid; place-items: center; font-size: 16px; }

/* Facebook (publicaciones y comentarios, claros como en la app) */
.fb {
  margin: 0 0 16px; border-radius: 14px; overflow: hidden; background: #fff; color: #050505;
  font: 400 14.5px/1.38 Helvetica, Arial, sans-serif; box-shadow: 0 14px 34px #00000070;
}
.fb-cab { display: flex; gap: 10px; align-items: center; padding: 12px 14px 6px; }
.fb-foto { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.fb-quien { display: flex; flex-direction: column; line-height: 1.25; font-size: 14px; }
.fb-quien strong { font-weight: 700; }
.fb-fecha { font-size: 12.5px; color: #65676b; }
.fb-texto { margin: 4px 14px 10px; }
.fb-img { display: block; width: 100%; }
.fb-stats { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; padding: 8px 14px; font-size: 12.5px; color: #65676b; border-bottom: 1px solid #e4e6eb; }
.fb-reac { letter-spacing: -3px; margin-right: 4px; }
.fb-acciones { display: flex; justify-content: space-around; padding: 6px 8px; font-size: 13.5px; font-weight: 600; color: #65676b; border-bottom: 1px solid #e4e6eb; }
.fb-respuesta { display: flex; gap: 8px; padding: 10px 12px 12px; }
.fb-av { width: 32px; height: 32px; flex: 0 0 32px; font-size: 13px; }
.fb-burbuja { background: #f0f2f5; border-radius: 16px; padding: 8px 12px; font-size: 14px; }
.fb-check { color: #1877f2; font-size: 12px; }
.fb-mini { display: block; font-size: 12px; color: #65676b; font-weight: 600; margin: 3px 0 0 12px; }

.fbc-lista { display: flex; flex-direction: column; gap: 12px; padding: 14px 12px; border-radius: 14px; background: #fff; box-shadow: 0 14px 34px #00000070; }
.fbc { display: flex; gap: 8px; color: #050505; font: 400 14px/1.4 Helvetica, Arial, sans-serif; background: #fff; border-radius: 14px; }
.of-resenas .fbc { padding: 12px; box-shadow: 0 10px 26px #00000055; margin-bottom: 12px; }
.fbc-foto { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 50%; object-fit: cover; }
.fbc-col { flex: 1; min-width: 0; }
.fbc-burbuja { background: #f0f2f5; border-radius: 16px; padding: 8px 12px; }
.fbc-burbuja strong { font-size: 13.5px; }
.fbc-burbuja p { margin: 2px 0 0; }
.fbc-mini { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; font-weight: 700; color: #65676b; margin: 4px 0 0 12px; }
.fbc-encanta { color: #e41e3f; }
.fbc-reac { margin-left: auto; font-weight: 600; }
.fbc-respondio { display: flex; align-items: center; gap: 6px; margin: 8px 0 0 12px; font-size: 13px; font-weight: 600; color: #65676b; }
.fbc-av { width: 22px; height: 22px; font-size: 10px; }

/* Mensajes reales (citas) */
.mensajes { display: flex; flex-direction: column; gap: 10px; }
.mensaje { margin: 0; padding: 12px 14px; border-radius: 16px 16px 16px 4px; background: #35196b; border: 1px solid #6b4bb066; max-width: 92%; }
.mensaje:nth-child(even) { align-self: flex-end; border-radius: 16px 16px 4px 16px; background: #2a1652; }
.mensaje blockquote { margin: 0; font-size: 15px; line-height: 1.5; color: #fcfaff; }
.mensaje figcaption { margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--oro); }
.portada-mensajes { margin-top: 56px; text-align: left; }
.portada-mensajes .of-titulo { font-size: 26px; }

.garantia-link { display: inline-block; margin-top: 10px; color: var(--oro); font-weight: 700; font-size: 14px; }
.anillo-arco { stroke: var(--lila); }

/* reseña de WhatsApp dentro del chat (17-nov-2026) */
.chat-resena { width: 100%; max-width: 330px; }
.chat-resena .wa { margin: 0; box-shadow: 0 6px 22px rgba(0,0,0,.35); border-radius: 14px; overflow: hidden; }
