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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-family: var(--font-family);
}

body {
  font-family: inherit;
  font-size: var(--text-body);
  line-height: 1.5;
  color: var(--color-gray-600);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
  color: var(--color-gray-800);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: var(--text-h1); line-height: var(--text-h1-lh); }
h2 { font-size: var(--text-h2); line-height: var(--text-h2-lh); }
h3 { font-size: var(--text-h3); line-height: var(--text-h3-lh); }
h4 { font-size: var(--text-h4); line-height: var(--text-h4-lh); }

p + p {
  margin-top: var(--space-4);
}

ul, ol {
  list-style: none;
}

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

input, select, textarea, optgroup {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.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;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

@media (min-width: 641px) {
  .container {
    padding-inline: var(--space-8);
  }
}

.section {
  padding-block: var(--space-12);
}

.section--alt {
  background: var(--color-off-white);
}

.section--tint {
  background: var(--color-primary-pale);
}

.section--discover {
  background: var(--color-off-white);
}

.section--discover .section__header {
  margin-bottom: var(--space-8);
}

.section__header {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
  margin-bottom: var(--space-12);
}

.section__header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.section__subtitle {
  font-size: var(--text-body-lg);
  color: var(--color-gray-400);
  margin-top: var(--space-3);
}

.section__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  font-size: var(--text-body-sm);
  margin-top: var(--space-4);
}

.section__link svg {
  transition: transform var(--transition-base);
}

.section__link:hover svg {
  transform: translateX(4px);
}
