@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@600;700;800;900&display=swap');

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

body {
  font-family: var(--cth-font-sans);
  color: var(--cth-gray-700);
  background-color: var(--cth-gray-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--cth-gray-900);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.375rem, 3vw, 2rem); }
h3 { font-size: clamp(1.125rem, 2.5vw, 1.5rem); }

a {
  color: var(--cth-green-700);
  text-decoration: none;
  transition: color var(--cth-transition-fast);
}

a:hover {
  color: var(--cth-green-500);
}

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

/* Scrollbar personalizado */
::-webkit-scrollbar       { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--cth-gray-100); }
::-webkit-scrollbar-thumb {
  background: var(--cth-gray-400);
  border-radius: var(--cth-radius-full);
}
::-webkit-scrollbar-thumb:hover { background: var(--cth-green-700); }

/* Selección de texto */
::selection {
  background: var(--cth-green-100);
  color: var(--cth-green-900);
}

/* Focus visible global */
:focus-visible {
  outline: 2px solid var(--cth-green-500);
  outline-offset: 2px;
}
