/* U.A Auto Tallers: base, accesibilidad y "reducir movimiento" */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-color: var(--color-rule-2) var(--color-paper); scroll-padding-top: var(--space-lg); }
body { margin: 0; min-height: 100svh; background: var(--color-paper); color: var(--color-ink-2); font-family: var(--font-body); font-size: var(--text-md); font-weight: 400; line-height: 1.55; font-synthesis: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; caret-color: var(--color-accent-text); -webkit-tap-highlight-color: transparent; }
::selection { background: var(--color-accent); color: var(--color-accent-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--tracking-display); text-transform: uppercase; line-height: 1; color: var(--color-ink); overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { max-width: 20ch; font-size: var(--text-display); line-height: var(--lh-display); }
h2 { max-width: 22ch; font-size: var(--text-section); line-height: 0.95; }
h3 { max-width: 30ch; font-size: var(--text-title); line-height: 1.02; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 62ch; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
figure { margin: 0; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
strong, b { font-weight: 600; color: var(--color-ink); }
.num { font-variant-numeric: tabular-nums lining-nums; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; fill: currentColor; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Fotos y vídeos del taller: siempre con su tamaño, nunca un hueco */
[data-slot] { position: relative; overflow: hidden; background: var(--color-paper-2); }
[data-slot] > img, [data-slot] > picture > img, [data-slot] > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

@media (prefers-reduced-motion: reduce) {
  *:not(.keep-motion), *:not(.keep-motion)::before, *:not(.keep-motion)::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}
