/* =====================================================================
   Memoria y Resistencia — Diseño sobrio (17 nov 2026, pedido de Daniel)
   «Minimalista, elegante, limpio. Los únicos efectos sutiles son los HERO; que no lastime la vista y sea cómodo
   para leer desde un teléfono, una tableta y una computadora.»
   Se carga al final (después de vida.css). No quita nada del contenido ni de las funciones:
   1) lectura cómoda (tamaño, contraste, enlaces, foco y toque);
   2) sin movimiento decorativo fuera de los encabezados (HERO): las tarjetas no se levantan, el corazón de Donar no late,
      el menú lateral no brilla, la ventana de Donar no pulsa, «Hoy recordamos» no respira;
   3) quien pide menos movimiento en su aparato tampoco ve el lienzo animado de los HERO.
   Para apagarlo todo: quitar la línea de sobrio.css en vistas/layouts/publico.php.
   ===================================================================== */

/* 1. Lectura cómoda ------------------------------------------------------ */
html body { font-size: 1.0625rem; }                 /* 17 px: el texto base nunca baja de lo cómodo en el celular */
html body small, html body .small { font-size: max(.875em, .875rem); }
html body .contenedor p.lead, html body .lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); line-height: 1.55; }
/* Texto secundario con contraste suficiente (más de 7:1 sobre blanco). */
html body .text-muted, html body .text-piedra { color: #4f475d !important; }
/* Enlaces dentro de párrafos: siempre subrayados, para no depender solo del color. */
html body main p a:not([class]), html body main li a:not([class]), html body main dd a:not([class]) {
  text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px;
}
/* Foco visible para quien navega con teclado. */
html body :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid #5b3fa8; outline-offset: 3px; border-radius: 4px;
}
/* Zonas de toque cómodas (44 px) en el celular. */
@media (max-width: 767.98px) {
  html body .btn, html body .nav-menu-boton, html body .ms-sec-boton, html body .ms-sec-enlace { min-height: 44px; }
  html body .nav-servicio-lista a { display: inline-block; padding-block: .5rem; }
}

/* 2. Sin movimiento decorativo fuera del HERO ---------------------------- */
/* 2a. Las tarjetas no se levantan: el aviso de que son tocables es el borde y el color, no el salto. */
html body :where(
  .nc-puerta, .camino, .memoria, .pp-perfil, .pt-tarjeta, .nac-tarjeta, .nv-tarjeta, .it-tarjeta, .mh-tarjeta,
  .dor-item, .da-tema, .datos-linea-tarjeta, .ciu-ficha-enlace, a.ciu-persona-tarjeta, .aniv-tarjeta, .pg-equipos a,
  .nt-seguir a, .obs-senales a, .bq-relacionados a, .btn-primary, .btn-vela, .btn-youtube, .pv-canal-tarjeta, .dona-usos li
):hover { transform: none !important; }
html body :where(.nc-puerta, .camino, .memoria, .pp-perfil, .pt-tarjeta, .nv-tarjeta, .it-tarjeta, .mh-tarjeta, .dor-item,
  .datos-linea-tarjeta, .aniv-tarjeta):hover { box-shadow: none !important; }
html body :where(.enlace-flecha, .nc-puerta-ir, .it-tarjeta-ir, .camino-ir, .nav-sec-accion, .bq-entidad-principal) :where(i, .fa-solid):hover { transform: none; }
/* 2b. El latido y el brillo del corazón de Donar (barra de arriba y menú «Todo el sitio»). */
html body .nav-donar > .fa-solid, html body .mapa-sitio-donar > .fa-solid, html body a.btn-vela[href="/dona"] > .fa-solid,
html body .nav-donar::before, html body .nav-donar::after, html body .mapa-sitio-donar::before, html body .mapa-sitio-donar::after { animation: none !important; }
/* 2c. La ventanita de Donar no pulsa. */
html body .aviso-dona .aviso-dona-icono i, html body .aviso-dona .aviso-dona-icono::after,
html body .aviso-dona .aviso-dona-corazon i, html body .aviso-dona .aviso-dona-corazon::after { animation: none !important; }
/* 2d. El menú lateral no brilla ni hace «ola» al cargar. */
html body .ml-brilla .ml-fijo::before, html body .ml-brilla .ml-icono, html body .ml-brilla .ml-fijar .ml-icono { animation: none !important; }
/* 2e. «Hoy recordamos»: sin respiración. */
html body .aniv-item.hoy .aniv-tarjeta { animation: none !important; }

/* 3. Menos movimiento si la persona lo pide: tampoco el lienzo animado del HERO. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  html body .hero-lienzo, html body canvas.hero-lienzo { display: none !important; }
}
