/* ============================================================
   RESET — PISCIOTTI GÓMEZ ABOGADOS
   reset.css — Normalización de estilos cross-browser
   ============================================================ */

/* Box model universal */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Raíz del documento */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
  overflow-x: hidden;
}

/* Cuerpo base */
body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--color-text-dark);
  background-color: var(--color-bg-white);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  line-height: var(--leading-tight);
  font-weight: var(--font-bold);
  color: var(--color-navy);
}

/* Links */
a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

/* Imágenes */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* Inputs heredan tipografía */
input, button, textarea, select {
  font: inherit;
}

/* Párrafos */
p {
  line-height: var(--leading-loose);
  color: var(--color-text-mid);
}

/* Listas sin estilos por defecto */
ul, ol {
  list-style: none;
}

/* Tablas */
table {
  border-collapse: collapse;
}

/* Focus outline accesible */
:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Selección de texto */
::selection {
  background-color: var(--color-gold-muted);
  color: var(--color-navy);
}

/* Scroll bar personalizado (Chrome/Edge) */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-soft);
}
::-webkit-scrollbar-thumb {
  background: var(--color-navy);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold);
}
