/* ===============================
   Reset básico de estilos
==================================*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%; /* Evita zoom raro en móviles */
}

/* Oculta las barras pero mantiene el scroll funcional */
html {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE y Edge antiguos */
}

html::-webkit-scrollbar {
  display: none; /* Chrome, Safari y Opera */
}

body {
  font-family: var(--font-base);
  background-color: var(--color-bg);
  color: var(--color-text);
  /* line-height: 1.5; */

  /* Mejoras de tipografía nítida */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Quitar estilos de listas */
ul,
ol {
  list-style: none;
}

/* Quitar estilos de enlaces */
a {
  text-decoration: none;
  color: inherit;
}

/* Quitar estilos de botones */
button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* ===============================
   Variables globales
==================================*/
:root {
  /* Colores */
  --color-black: #161616;     
  --color-blue: #0367FD;  
  --color-grey: #f5f5f5;       
  --color-yellow: #F8F801;   
  --color-white: #ffffff;    
  --color-error: #e91414;    
  --color-error-background: #fef2f2;    
  --color-success: #10c734;    
  --color-success-background: #f2fcf3;    

  /* Tipografía */
  --font-base: "Red Hat Display", system-ui, sans-serif;
  --font-size-sm: 0.875rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.25rem;
  --font-size-xs: 1.5rem;
  --font-size-xl: 1.75rem;
  --font-size-xxl: 2rem;
  --font-size-xxxl: 2.5rem;

  /* Espaciado */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;

  /* Bordes */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xs: 32px;
}
