/* === SECCIÓN RESET Y BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--color-secondary);
  color: var(--color-accent);
  line-height: 1.5;
  overflow-x: hidden;
}

/* Tipografía Básica */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  font-weight: normal; /* Para que la fuente dictamine el peso, especialmente con Bebas Neue */
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw + 1rem, 6rem); /* Responsive typography */
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 2px;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw + 1rem, 4rem);
  text-transform: uppercase;
  letter-spacing: 1px;
}

h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2vw + 1rem, 2.5rem);
  font-weight: 600;
  text-transform: uppercase;
}

h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  color: var(--color-muted-light);
  margin-bottom: 1rem;
}

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

a:hover {
  color: var(--color-primary);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  outline: none;
}

/* Utilidades */
.text-primary { color: var(--color-primary); }
.text-center { text-align: center; }
.hidden { display: none !important; }

/* Animación de entrada general al scrollear (Intersection Observer) */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: transform, opacity;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
