/* Base reset — Eventos Cantabria */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100%;
  font-family: var(--font-body, system-ui, -apple-system, sans-serif);
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--color-ink, #182321);
  background: var(--color-bg, #f7f3e9);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video, canvas { display: block; max-width: 100%; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button { background: none; border: 0; cursor: pointer; }

a { color: inherit; }

ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4 { font-size: inherit; font-weight: inherit; line-height: 1.15; }

p { text-wrap: pretty; }

[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--color-accent, #ad4529);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: #182321;
  color: #fcf9f2;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  font-size: 14px;
}
.skip:focus { left: 0; }

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