@import url('../brand/tokens.css');

:root {
  --superficie: #FBF9F5;
  --sombra-suave: 0 1px 2px rgba(32, 32, 29, 0.04), 0 6px 18px rgba(32, 32, 29, 0.06);
  --sombra-alta: 0 2px 4px rgba(32, 32, 29, 0.05), 0 14px 32px rgba(32, 32, 29, 0.10);
  --aura-1: #C9962E;
  --aura-2: #949A8C;
  --aura-3: #C97A72;
  --ease-suave: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--porcelana);
  color: var(--tinta);
  font-family: var(--font-body);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
}

/* Fondo vivo: auras de color que respiran despacio */
.aura {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.aura span {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.32;
  transition: background 1.6s ease;
}

.aura span:nth-child(1) { width: 380px; height: 380px; background: var(--aura-1); top: -120px; left: -140px; animation: flotar1 18s ease-in-out infinite; }
.aura span:nth-child(2) { width: 320px; height: 320px; background: var(--aura-2); bottom: -100px; right: -120px; animation: flotar2 22s ease-in-out infinite; }
.aura span:nth-child(3) { width: 260px; height: 260px; background: var(--aura-3); top: 40%; left: 55%; opacity: 0.22; animation: flotar3 26s ease-in-out infinite; }

@keyframes flotar1 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(60px, 80px) scale(1.12); } }
@keyframes flotar2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-70px, -50px) scale(1.08); } }
@keyframes flotar3 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-90px, 60px) scale(0.9); } }

#app {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* Encabezado con logo y barra de avance */
#encabezado {
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 14px 20px 10px;
  background: linear-gradient(to bottom, var(--porcelana) 70%, rgba(245, 242, 235, 0));
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.logo img {
  width: 38px;
  height: 38px;
  mix-blend-mode: multiply;
  animation: girarLento 40s linear infinite;
}

@keyframes girarLento { to { transform: rotate(360deg); } }

.logo span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--tinta);
  padding-left: 0.32em;
}

#progreso-wrap { margin-top: 12px; display: none; }
#progreso-wrap.visible { display: block; }

#progreso-barra-fondo {
  height: 3px;
  border-radius: 3px;
  background: var(--piedra);
  overflow: hidden;
}

#progreso-barra {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--oro), #D9BC6E);
  border-radius: 3px;
  transition: width 600ms var(--ease-suave);
}

#progreso-mensaje {
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-align: center;
  color: var(--tinta-70);
  min-height: 14px;
}

/* Pantallas */
.pantalla {
  display: none;
  flex: 1;
  flex-direction: column;
  padding: 8px 20px 36px;
  text-align: center;
}

.pantalla.activa {
  display: flex;
  animation: entrar 520ms var(--ease-suave);
}

@keyframes entrar {
  from { opacity: 0; transform: translateY(14px); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.pantalla-contenido {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}

/* Aparición escalonada de los elementos */
.escalonado > * { opacity: 0; animation: subir 600ms var(--ease-suave) forwards; }
.escalonado > *:nth-child(1) { animation-delay: 60ms; }
.escalonado > *:nth-child(2) { animation-delay: 140ms; }
.escalonado > *:nth-child(3) { animation-delay: 220ms; }
.escalonado > *:nth-child(4) { animation-delay: 300ms; }
.escalonado > *:nth-child(5) { animation-delay: 380ms; }
.escalonado > *:nth-child(6) { animation-delay: 460ms; }
.escalonado > *:nth-child(7) { animation-delay: 540ms; }
.escalonado > *:nth-child(n+8) { animation-delay: 620ms; }

@keyframes subir {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

h1.titulo-grande {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 31px;
  line-height: 1.2;
  margin: 0 0 12px;
}

p.subtitulo {
  font-size: 16px;
  line-height: 1.5;
  color: var(--tinta-70);
  margin: 0 0 26px;
}

.pregunta-texto {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 25px;
  line-height: 1.25;
  margin: 0 0 22px;
}

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--eyebrow-tracking);
  color: var(--tinta-70);
  margin: 0 0 8px;
}

/* Etiqueta de portada que late */
.badge-latido {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: #FFFFFF;
  box-shadow: var(--sombra-suave), 0 0 0 1px rgba(183, 149, 63, 0.25);
  font-size: 13px;
  font-weight: 500;
  color: var(--tinta);
  animation: latido 2.4s ease-in-out infinite;
}

.badge-latido svg { color: var(--oro); flex-shrink: 0; }

@keyframes latido {
  0%, 100% { transform: scale(1); }
  12% { transform: scale(1.06); }
  24% { transform: scale(1); }
  36% { transform: scale(1.04); }
  50% { transform: scale(1); }
}

/* Botones */
.boton {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  padding: 15px 22px;
  border-radius: 999px;
  border: none;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 260ms var(--ease-suave), box-shadow 260ms var(--ease-suave), background 260ms;
}

.boton-primario {
  background: var(--tinta);
  color: var(--porcelana);
  box-shadow: 0 8px 22px rgba(32, 32, 29, 0.22);
  position: relative;
  overflow: hidden;
}

.boton-primario::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  animation: brillo 3.6s ease-in-out infinite;
}

@keyframes brillo { 0%, 60% { left: -60%; } 100% { left: 130%; } }

.boton-primario:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(32, 32, 29, 0.28); }
.boton-primario:active { transform: scale(0.98); }

.boton-secundario {
  background: var(--superficie);
  color: var(--tinta);
  box-shadow: var(--sombra-suave), inset 0 0 0 1px var(--piedra);
}

.boton-secundario:hover { transform: translateY(-2px); box-shadow: var(--sombra-alta), inset 0 0 0 1px var(--oro); }

.boton-link {
  background: none;
  border: none;
  color: var(--tinta-70);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 12px;
  cursor: pointer;
  font-family: var(--font-body);
}

.boton-atras {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--tinta-70);
  font-size: 13px;
  font-family: var(--font-body);
  padding: 4px 0 10px;
  cursor: pointer;
  transition: transform 200ms;
}

.boton-atras:hover { transform: translateX(-3px); }

/* Opciones de pregunta */
.opciones { display: flex; flex-direction: column; gap: 11px; }

.opcion {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 60px;
  padding: 12px 18px 12px 12px;
  border-radius: var(--radius-xl);
  border: none;
  background: var(--superficie);
  box-shadow: var(--sombra-suave), inset 0 0 0 1px rgba(216, 209, 197, 0.8);
  color: var(--tinta);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition: transform 300ms var(--ease-suave), box-shadow 300ms var(--ease-suave), background 300ms, color 300ms;
}

.opcion-icono {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(183, 149, 63, 0.12);
  color: #8C7130;
  transition: transform 400ms var(--ease-suave), background 300ms, color 300ms;
}

.opcion-texto { flex: 1; text-align: center; padding-right: 26px; }

@media (hover: hover) {
  .opcion:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: var(--sombra-alta), inset 0 0 0 1px var(--oro);
  }
  .opcion:hover:not(:disabled) .opcion-icono { transform: rotate(-8deg) scale(1.08); }
}

.opcion:active:not(:disabled) { transform: scale(0.98); }

.opcion.elegida {
  background: var(--tinta);
  color: var(--porcelana);
  box-shadow: 0 10px 26px rgba(32, 32, 29, 0.25);
  animation: pulsoElegida 700ms var(--ease-suave);
}

.opcion.elegida .opcion-icono { background: rgba(183, 149, 63, 0.3); color: #E4CB86; }
.opciones.con-eleccion .opcion:not(.elegida) { opacity: 0.45; }

@keyframes pulsoElegida {
  0% { transform: scale(1); }
  40% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

/* Género: tarjetas con foto */
.opciones-genero { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.tarjeta-foto {
  position: relative;
  aspect-ratio: 3 / 4.3;
  border-radius: 22px;
  overflow: hidden;
  border: none;
  padding: 0;
  cursor: pointer;
  background: var(--porcelana-2);
  box-shadow: var(--sombra-alta);
  transition: transform 400ms var(--ease-suave), box-shadow 400ms var(--ease-suave);
}

.tarjeta-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 900ms var(--ease-suave);
}

.tarjeta-foto .etiqueta {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--tinta);
}

.tarjeta-foto .etiqueta svg { color: var(--oro); transition: transform 300ms var(--ease-suave); }

@media (hover: hover) {
  .tarjeta-foto:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(32, 32, 29, 0.16); }
  .tarjeta-foto:hover img { transform: scale(1.05); }
  .tarjeta-foto:hover .etiqueta svg { transform: translateX(4px); }
}

.tarjeta-foto:active { transform: scale(0.98); }
.tarjeta-foto.elegida { box-shadow: 0 0 0 3px var(--oro), var(--sombra-alta); }

/* Edad: grilla de pastillas */
.opciones-edad { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.opciones-edad .opcion { justify-content: center; padding: 12px; min-height: 56px; }
.opciones-edad .opcion-texto { padding-right: 0; }

/* Colores */
.opciones-color {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 22px;
  padding: 6px 0;
}

.opcion-color {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  font-family: var(--font-body);
  width: 76px;
}

.opcion-color-circulo {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(32, 32, 29, 0.14), inset 0 -6px 14px rgba(0, 0, 0, 0.12), inset 0 6px 12px rgba(255, 255, 255, 0.25);
  animation: respirar 4s ease-in-out infinite;
  transition: transform 400ms var(--ease-suave), box-shadow 400ms;
}

.opcion-color:nth-child(2) .opcion-color-circulo { animation-delay: 0.6s; }
.opcion-color:nth-child(3) .opcion-color-circulo { animation-delay: 1.2s; }
.opcion-color:nth-child(4) .opcion-color-circulo { animation-delay: 1.8s; }
.opcion-color:nth-child(5) .opcion-color-circulo { animation-delay: 2.4s; }

@keyframes respirar { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

.opcion-color span { font-size: 13px; color: var(--tinta-70); }

@media (hover: hover) {
  .opcion-color:hover .opcion-color-circulo { transform: scale(1.12) translateY(-3px); animation-play-state: paused; }
}

.opcion-color.elegida .opcion-color-circulo { box-shadow: 0 0 0 4px var(--porcelana), 0 0 0 6px var(--tinta), 0 10px 24px rgba(32, 32, 29, 0.2); }
.opciones.con-eleccion .opcion-color:not(.elegida) { opacity: 0.4; }

/* Cuarzos */
.opciones-cuarzo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.opcion-cuarzo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 10px 14px;
  border-radius: 20px;
  border: none;
  background: var(--superficie);
  box-shadow: var(--sombra-suave), inset 0 0 0 1px rgba(216, 209, 197, 0.8);
  cursor: pointer;
  font-family: var(--font-body);
  color: var(--tinta);
  transition: transform 300ms var(--ease-suave), box-shadow 300ms;
}

.opcion-cuarzo:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 6px); justify-self: center; }

.opcion-cuarzo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 6px;
  transition: transform 700ms var(--ease-suave);
}

.opcion-cuarzo strong { font-size: 15px; font-weight: 600; }
.opcion-cuarzo small { font-size: 12px; line-height: 1.35; color: var(--tinta-70); }

@media (hover: hover) {
  .opcion-cuarzo:hover { transform: translateY(-4px); box-shadow: var(--sombra-alta), inset 0 0 0 1px var(--oro); }
  .opcion-cuarzo:hover img { transform: scale(1.04) rotate(-1.5deg); }
}

.opcion-cuarzo:active { transform: scale(0.98); }
.opcion-cuarzo.elegida { box-shadow: 0 0 0 2px var(--tinta), var(--sombra-alta); }
.opciones.con-eleccion .opcion-cuarzo:not(.elegida) { opacity: 0.45; }

/* Línea de perfil revelada (pregunta 1) */
.perfil-revelado {
  margin-top: 22px;
  padding: 22px 20px;
  border-radius: 20px;
  background: var(--superficie);
  box-shadow: var(--sombra-alta), inset 0 0 0 1px rgba(183, 149, 63, 0.4);
  animation: revelar 900ms var(--ease-suave);
}

.perfil-revelado .eyebrow { color: #8C7130; }

.perfil-revelado p:not(.eyebrow) {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.3;
  margin: 0;
}

@keyframes revelar {
  from { opacity: 0; transform: translateY(16px) scale(0.96); filter: blur(6px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

/* Premio 1: signo */
.signo-imagen-wrap {
  position: relative;
  width: 210px;
  height: 210px;
  margin: 0 auto 22px;
}

.signo-imagen-wrap::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(183, 149, 63, 0.5);
  animation: girarLento 30s linear infinite;
  border-style: dashed;
}

.signo-imagen {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--sombra-alta);
  animation: flotarSuave 6s ease-in-out infinite;
}

@keyframes flotarSuave { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.signo-nombre {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 500;
  margin: 0 0 4px;
}

.signo-frase { font-size: 15px; color: var(--tinta-70); margin: 0 0 22px; line-height: 1.5; }

.anio-tarjeta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  background: var(--superficie);
  box-shadow: var(--sombra-suave), inset 0 0 0 1px rgba(216, 209, 197, 0.8);
  text-align: left;
  margin-bottom: 10px;
}

.anio-numero {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--porcelana);
  background: radial-gradient(circle at 30% 30%, #D9BC6E, var(--oro) 60%, #8C7130);
  box-shadow: 0 8px 20px rgba(183, 149, 63, 0.35);
}

.anio-tarjeta .eyebrow { margin-bottom: 4px; }
.anio-tarjeta p:not(.eyebrow) { margin: 0; font-size: 15px; line-height: 1.4; }

.anio-explicacion { font-size: 12px; line-height: 1.5; color: var(--tinta-70); margin: 0 0 24px; }

/* Intro: lo que te llevás */
.intro-lista { display: flex; flex-direction: column; gap: 12px; margin: 6px 0 20px; }

.intro-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  background: var(--superficie);
  box-shadow: var(--sombra-suave);
  text-align: left;
  font-size: 15px;
  line-height: 1.4;
}

.intro-item .opcion-icono { width: 42px; height: 42px; }

.intro-cierre {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  line-height: 1.4;
  color: var(--tinta-70);
  margin: 0 0 24px;
}

/* Pensando en tiempo real */
.pensando { display: flex; flex-direction: column; align-items: center; gap: 26px; }

.orbe {
  position: relative;
  width: 130px;
  height: 130px;
}

.orbe span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--aura-1), var(--aura-3), var(--aura-2), var(--aura-1));
  filter: blur(16px);
  animation: girarLento 4s linear infinite, respirar 2.4s ease-in-out infinite;
}

.orbe span:nth-child(2) { inset: 18px; filter: blur(4px); opacity: 0.85; animation-duration: 6s, 3s; animation-direction: reverse, normal; }

.orbe::after {
  content: '';
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  background: var(--porcelana);
  box-shadow: inset 0 2px 8px rgba(32, 32, 29, 0.08);
}

.pensando-pasos { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 300px; }

.pensando-pasos li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--tinta-50);
  text-align: left;
  transition: color 400ms;
}

.pensando-pasos .marca {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--piedra);
  display: grid;
  place-items: center;
  transition: background 400ms, border-color 400ms;
}

.pensando-pasos .marca svg { opacity: 0; transform: scale(0.5); transition: opacity 300ms, transform 400ms var(--ease-suave); color: var(--porcelana); }

.pensando-pasos li.activo { color: var(--tinta); }
.pensando-pasos li.activo .marca { border-color: var(--oro); border-top-color: transparent; animation: girarLento 0.9s linear infinite; }
.pensando-pasos li.hecho { color: var(--tinta); }
.pensando-pasos li.hecho .marca { background: var(--oro); border-color: var(--oro); animation: none; }
.pensando-pasos li.hecho .marca svg { opacity: 1; transform: scale(1); }

.pensando-porcentaje { font-size: 13px; color: var(--tinta-70); font-variant-numeric: tabular-nums; }

.premio-revelado { animation: revelar 900ms var(--ease-suave); }

.color-revelandose {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 20px;
  filter: blur(14px);
  animation: respirar 3s ease-in-out infinite;
}

/* Reseña */
.resena {
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--superficie);
  box-shadow: var(--sombra-suave);
  margin-bottom: 22px;
}

.resena .estrellas { color: var(--oro); letter-spacing: 3px; font-size: 13px; margin-bottom: 6px; }
.resena p { font-family: var(--font-display); font-style: italic; font-size: 18px; line-height: 1.4; margin: 0 0 6px; }
.resena small { font-size: 12px; color: var(--tinta-70); }

/* Campos de texto */
.campo-texto {
  width: 100%;
  min-height: 54px;
  padding: 14px 18px;
  border-radius: 16px;
  border: none;
  background: var(--superficie);
  box-shadow: var(--sombra-suave), inset 0 0 0 1px var(--piedra);
  color: var(--tinta);
  font-family: var(--font-body);
  font-size: 16px;
  text-align: center;
  transition: box-shadow 250ms;
  -webkit-appearance: none;
  appearance: none;
}

.campo-texto:focus { outline: none; box-shadow: var(--sombra-alta), inset 0 0 0 1.5px var(--oro); }

select.campo-texto {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2320201D' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

.fila-campos { display: flex; gap: 10px; margin-bottom: 16px; }
.fila-campos > * { flex: 1; }
.fila-campos > *:last-child { flex: 1.5; }

.prefijo-telefono {
  display: grid;
  place-items: center;
  flex: 0 0 auto !important;
  padding: 0 14px;
  border-radius: 16px;
  background: var(--porcelana-2);
  font-size: 16px;
  color: var(--tinta-70);
}

.checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 20px;
  text-align: left;
}

.checkbox-wrap input { margin-top: 2px; width: 20px; height: 20px; accent-color: var(--tinta); flex-shrink: 0; }
.checkbox-wrap label { font-size: 13px; color: var(--tinta-70); line-height: 1.45; }

.error-campo { color: var(--estado-error); font-size: 13px; margin: -8px 0 14px; min-height: 0; }

/* Resultado */
.resultado { display: flex; flex-direction: column; gap: 16px; padding-top: 4px; }

.resultado-encabezado { font-size: 13px; color: var(--tinta-70); letter-spacing: 0.04em; margin: 0; }

.resultado-hero {
  position: relative;
  overflow: hidden;
  padding: 30px 22px 26px;
  border-radius: 26px;
  color: var(--tinta);
  box-shadow: var(--sombra-alta);
}

.resultado-hero::before {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  top: -80px;
  right: -60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  filter: blur(30px);
  animation: flotar2 14s ease-in-out infinite;
}

.resultado-hero > * { position: relative; }

.resultado-hero .perfil { font-family: var(--font-display); font-style: italic; font-size: 20px; line-height: 1.35; margin: 0 0 14px; }
.resultado-hero .intencion-nombre { font-family: var(--font-display); font-size: 44px; font-weight: 500; line-height: 1; margin: 2px 0 0; }

.bloque {
  padding: 20px;
  border-radius: 20px;
  background: var(--superficie);
  box-shadow: var(--sombra-suave);
}

.bloque .eyebrow { display: flex; align-items: center; justify-content: center; gap: 6px; color: #8C7130; }
.bloque p:not(.eyebrow) { margin: 0; font-size: 15px; line-height: 1.55; }

.bloque-piedra { display: flex; align-items: center; gap: 14px; text-align: left; }
.bloque-piedra img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: var(--sombra-suave); }

.tarjeta-preview {
  width: 72%;
  margin: 4px auto 0;
  border-radius: 18px;
  box-shadow: var(--sombra-alta);
  display: block;
}

.tarjeta-ayuda { font-size: 12px; color: var(--tinta-70); margin: 0; }

.combo-caja { padding: 22px; border-radius: 22px; background: var(--superficie); box-shadow: var(--sombra-alta); }
.combo-caja h3 { font-family: var(--font-display); font-weight: 500; font-size: 22px; margin: 0; }
.combo-foto { display: block; width: calc(100% + 44px); max-width: none; height: auto; aspect-ratio: 1 / 1; object-fit: cover; margin: -22px -22px 18px; border-radius: 22px 22px 0 0; }
.combo-bajada { font-size: 14px; color: var(--tinta-70); margin: 4px 0 14px; }
.combo-items { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.combo-items li { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 14px; background: var(--porcelana, #F5F2EB); font-size: 13.5px; line-height: 1.45; color: var(--tinta-70); }
.combo-items strong { display: block; font-size: 14px; font-weight: 600; color: var(--tinta, #20201D); margin-bottom: 2px; }
.combo-item-icono { flex: 0 0 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--superficie); color: var(--oro, #B7953F); box-shadow: 0 2px 8px rgba(32, 32, 29, .08); }
.combo-ficha { display: inline-flex; align-items: center; gap: 5px; margin-top: 14px; font-size: 13.5px; color: var(--tinta-70); text-decoration: underline; text-underline-offset: 3px; }
.combo-ficha:hover { color: var(--tinta, #20201D); }
.combo-aromas { display: flex; align-items: flex-start; gap: 5px; margin-top: 6px; font-size: 12px; line-height: 1.4; font-style: italic; color: var(--oro-oscuro, #8A6F2C); }
.combo-aromas svg { flex: 0 0 auto; margin-top: 2px; }
.combo-confianza { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(183, 149, 63, .35); background: rgba(183, 149, 63, .07); font-size: 13px; font-weight: 500; color: var(--tinta, #20201D); }
.combo-confianza span { display: inline-flex; align-items: center; gap: 7px; }
.combo-confianza svg { color: var(--oro, #B7953F); }
.combo-precios { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin: 10px 0 6px; }
.precio-tachado { text-decoration: line-through; color: var(--tinta-50); font-size: 15px; }
.precio-combo { font-size: 30px; font-weight: 600; }
.combo-corte { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--estado-aviso); margin: 4px 0 18px; }

.aviso-whatsapp-enviado { font-size: 12px; color: var(--tinta-70); margin: 0; }

#canvas-tarjeta { display: none; }

.oculto { display: none !important; }

@media (max-width: 360px) {
  h1.titulo-grande { font-size: 26px; }
  .pregunta-texto { font-size: 21px; }
  .pantalla { padding-left: 16px; padding-right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
