/* Formulario del participante · pensado primero para celular (360 px) */
:root {
  --azul-noche: #1e3a6e;
  --azul: #2e6db4;
  --rosa: #d94f6b;
  --fondo: #f4f6fa;
  --tarjeta: #ffffff;
  --texto: #1b2433;
  --suave: #5b6578;
  --linea: #dfe4ee;
  --elegida: #eaf1fb;
  --radio: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; background: var(--fondo); color: var(--texto);
  font: 16px/1.5 "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.marca {
  display: flex; align-items: baseline; gap: 6px; padding: 14px 16px;
  background: var(--azul-noche); color: #fff; letter-spacing: .14em;
}
.marca-nombre { font: 600 15px "Sora", sans-serif; }
.marca-sub { font-size: 11px; opacity: .8; }
.app { width: 100%; max-width: 560px; margin: 0 auto; padding: 16px; }
.tarjeta {
  background: var(--tarjeta); border-radius: var(--radio); padding: 22px 18px;
  box-shadow: 0 1px 2px rgba(20, 30, 60, .06), 0 6px 24px rgba(20, 30, 60, .06);
}
.tarjeta.centrada { text-align: center; }
h1 { font: 600 20px/1.35 "Sora", sans-serif; margin: 6px 0 14px; color: var(--azul-noche); }
.pregunta h1 { font-size: 18px; }
p { margin: 0 0 12px; }
.antetitulo { font-size: 12px; letter-spacing: .12em; color: var(--rosa); font-weight: 600; margin-bottom: 4px; }
.instrucciones { font-size: 17px; }
.nota { font-size: 13px; color: var(--suave); margin-top: 16px; }
label { display: block; font-weight: 600; margin: 8px 0 6px; }
input, textarea {
  width: 100%; font: inherit; padding: 13px 14px; border: 1.5px solid var(--linea); border-radius: 10px;
  background: #fff; color: var(--texto); outline: none;
}
input { text-transform: uppercase; letter-spacing: .08em; }
input:focus, textarea:focus { border-color: var(--azul); box-shadow: 0 0 0 3px rgba(46, 109, 180, .15); }
textarea { min-height: 120px; resize: vertical; }
.boton {
  display: block; width: 100%; min-height: 50px; margin-top: 14px; padding: 12px 18px;
  font: 600 16px "DM Sans", sans-serif; color: #fff; background: var(--azul-noche);
  border: 0; border-radius: 12px; cursor: pointer;
}
.boton:active { transform: translateY(1px); }
.boton:disabled { opacity: .45; cursor: default; }
.boton.secundario { background: #fff; color: var(--azul-noche); border: 1.5px solid var(--linea); }
.opciones { display: flex; flex-direction: column; gap: 10px; }
.opcion {
  display: flex; align-items: flex-start; gap: 12px; width: 100%; text-align: left;
  min-height: 56px; padding: 13px 14px; font: inherit; color: var(--texto); background: #fff;
  border: 1.5px solid var(--linea); border-radius: 12px; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.opcion .letra {
  flex: 0 0 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; font-weight: 600; color: var(--azul-noche); background: var(--fondo);
}
.opcion.elegida { border-color: var(--azul); background: var(--elegida); }
.opcion.elegida .letra { background: var(--azul); color: #fff; }
.nc { margin-top: 14px; }
.opcion-nc { justify-content: center; min-height: 46px; color: var(--suave); border-style: dashed; }
.ayuda { font-size: 13px; color: var(--suave); margin: 6px 2px 0; }
.error { min-height: 20px; color: #b42318; font-size: 14px; margin: 10px 0 0; }
.error:empty { min-height: 0; margin: 0; }
.navegacion { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; margin-top: 6px; }
.navegacion .boton { margin-top: 10px; }
.progreso { font-size: 13px; color: var(--suave); margin-bottom: 4px; }
.barra { height: 5px; margin-top: 6px; background: var(--fondo); border-radius: 3px; overflow: hidden; }
.barra > div { height: 100%; background: var(--rosa); transition: width .25s ease; }
.piloto {
  font-size: 13px; padding: 8px 10px; border-radius: 8px; background: #fff4e5; color: #8a4b00; margin-bottom: 12px;
}
.check {
  width: 56px; height: 56px; margin: 4px auto 10px; border-radius: 50%; display: grid; place-items: center;
  font-size: 28px; color: #fff; background: var(--azul);
}
.aviso { padding: 16px; text-align: center; }
@media (min-width: 700px) {
  .app { padding-top: 40px; }
  .tarjeta { padding: 32px 30px; }
  h1 { font-size: 23px; }
  .pregunta h1 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) { .barra > div { transition: none; } }
