/* ====================
   BASE.CSS - Tipografía fundamental
   ==================== */

/* Importación de fuentes (Google Fonts) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Reset básico */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Configuración base del documento */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #333333;
  background-color: #F5EFE6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Jerarquía tipográfica */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.5em;
  color: #222222;
}

h1 {
  font-size: 2.5rem;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 2rem;
  letter-spacing: -0.3px;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1.1rem;
}

p {
  margin-bottom: 1rem;
}

/* Enlaces */
a {
  color: #ff7a7a;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #ff6666;
  text-decoration: underline;
}

/* Texto pequeño */
small, .text-small {
  font-size: 0.875rem;
}

/* Texto en negrita */
strong, .text-bold {
  font-weight: 600;
}

/* Citas */
blockquote {
  font-style: italic;
  border-left: 3px solid #ff7a7a;
  padding-left: 1rem;
  margin-left: 0;
  margin-right: 0;
  color: #555555;
}

/* Responsivo */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
}