/* =========================================================
   Estilos base y tipografía
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--pcm-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--pcm-black);
}

p {
  margin-bottom: 1rem;
}

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

a:hover,
a:focus {
  color: var(--pcm-blue-dark);
}

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--pcm-blue);
  color: var(--pcm-white);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-weight: 500;
}

.skip-link:focus {
  top: 1rem;
}

/* Utilidades de texto */
.text-white-80 {
  color: rgba(255, 255, 255, 0.85);
}

.text-secondary {
  color: var(--pcm-gray) !important;
}

.letter-spacing {
  letter-spacing: 0.1em;
}

.gradient-text {
  background: linear-gradient(90deg, var(--pcm-blue) 0%, var(--pcm-blue-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Z-index helpers */
.z-1 {
  z-index: var(--z-content);
}
