/* ========================================
   GUDIÑO DEV — Base Styles
   Reset + Tipografía + Estilos Globales
   ======================================== */

/* === RESET === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* === TIPOGRAFÍA === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); }

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

a {
  color: var(--color-orange);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-orange-dark);
}

/* === IMÁGENES === */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* === LISTAS === */
ul, ol {
  list-style: none;
}

/* === BOTONES BASE === */
button {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* === INPUTS BASE === */
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

/* === UTILIDADES === */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center {
  text-align: center;
}

.text-orange {
  color: var(--color-orange);
}

/* === SELECCIÓN DE TEXTO === */
::selection {
  background-color: var(--color-orange);
  color: #fff;
}

::-moz-selection {
  background-color: var(--color-orange);
  color: #fff;
}

/* === SCROLLBAR PERSONALIZADO === */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--color-orange);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-orange-dark);
}
