/* Ruta: src/web/sites/ctremote/assets/css/arte/foundations.css
   Descripción: fundamentos de estructura del sitio público CTremote.
   Depende de: tokens.css cargado antes y tema-publico.js. */
:root { --sombra: 0 8px 24px #0e172014; }
:root[data-tema='oscuro'] { --sombra: 0 8px 28px #00000052; }
* { box-sizing: border-box; }
html { font: 16px/1.5 var(--fuente); scroll-behavior: smooth; }
body { margin: 0; background: var(--fondo); color: var(--texto); }
button, input, select, textarea { font: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: var(--acento); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
img, svg { vertical-align: middle; }
img { max-width: 100%; }
h1,h2,h3,p { margin: 0; }
h1,h2,h3 { line-height: 1.2; font-weight: 600; letter-spacing: -.025em; }
h1 { font-size: 30px; } h2 { font-size: 24px; } h3 { font-size: 18px; }
p + p { margin-top: 12px; }
small, .auxiliar { font-size: 13px; color: var(--secundario); }
strong { font-weight: 600; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--acento); outline-offset: 3px; }
.solo-lector { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.salto { position:fixed; left:16px; top:-100px; background:var(--superficie); padding:12px; z-index:100; }
.salto:focus { top:12px; }
.muted { color:var(--secundario); }
.mono { font-family:var(--mono); font-variant-numeric:tabular-nums; }
.acento { color:var(--acento); }
.fila { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.pila { display:grid; gap:16px; }
.icono { width:var(--icono); height:var(--icono); fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; flex-shrink:0; }
@media(max-width:600px), (pointer:coarse) { :root { --altura:44px; --control-barra:44px; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*::before,*::after { animation:none!important; transition:none!important; } }
