/* Base Styles & Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans-body);
  background-color: var(--rh-white);
  color: var(--rh-black-editorial);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography Defaults */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif-headline);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5em;
}

p {
  margin-bottom: 1em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease, opacity 0.2s ease;
}

/* Accesibilidad: focus visible para navegación por teclado (5.33) */
a:focus-visible,
button:focus-visible,
[type="button"]:focus-visible,
[type="submit"]:focus-visible {
  outline: 2px solid var(--rh-orange-official);
  outline-offset: 2px;
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utility Classes for Typography */
.font-mono {
  font-family: var(--font-mono-data);
  font-weight: 400;
}

.font-accent {
  font-family: var(--font-serif-accent);
}

.text-editorial {
  color: var(--rh-black-editorial);
}

.text-gray {
  color: var(--rh-gray-texto);
}

.text-white {
  color: var(--rh-white);
}

.text-orange {
  color: var(--rh-orange-official);
}

.text-green {
  color: var(--rh-green-official);
}

.uppercase {
  text-transform: uppercase;
}

.font-bold {
  font-weight: 700;
}

.font-black {
  font-weight: 900;
}