/*
 * Pantalla de arranque de Familia Cerca: se pinta antes que el CSS y el JS de la app (evita la pantalla vacía de iOS).
 * Mismo azul institucional en claro y oscuro, para que coincida con las imágenes de arranque de iPhone
 * (tools/pwa-arranque/generar.mjs): el escudo queda exactamente en el centro y el texto aparece debajo.
 * Diseño sobrio: escudo, nombre en serif, leyenda en versalitas y una línea fina de carga.
 */
html, body { margin: 0; background: #031836; }
.boot {
  position: relative; min-height: 100vh; min-height: 100dvh; overflow: hidden;
  background: linear-gradient(180deg, #0a2d65 0%, #031836 100%);
  color: #fff; font-family: Georgia, "Times New Roman", serif;
}
.boot img {
  position: absolute; left: 50%; top: 50%; width: 104px; height: auto;
  transform: translate(-50%, -50%); filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.3));
}
.boot-text { position: absolute; left: 0; right: 0; top: calc(50% + 86px); padding: 0 24px; text-align: center; animation: boot-in 0.6s ease 0.2s both; }
.boot-text strong { display: block; font-size: 21px; font-weight: 400; letter-spacing: 0.06em; }
.boot-text span { display: block; margin-top: 10px; font: 500 10px/1.5 system-ui, -apple-system, sans-serif; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.boot-rule { display: block; position: relative; width: 56px; height: 1px; margin: 22px auto 0; overflow: hidden; background: rgba(255, 255, 255, 0.18); }
.boot-rule::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 40%; background: rgba(255, 255, 255, 0.9); animation: boot-rule 1.3s ease-in-out infinite; }
@keyframes boot-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes boot-rule { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
@media (prefers-reduced-motion: reduce) {
  .boot-text { animation: none; }
  .boot-rule::after { animation: none; width: 100%; opacity: 0.5; }
}
