@font-face {
  font-family: 'Riga';
  src: url('../fonts/Riga-Regular.woff2') format('woff2'),
    url('../fonts/Riga-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Riga';
  src: url('../fonts/Riga-Italic.woff2') format('woff2'),
    url('../fonts/Riga-Italic.woff') format('woff');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Riga';
  src: url('../fonts/Riga-LightItalic.woff2') format('woff2'),
    url('../fonts/Riga-LightItalic.woff') format('woff');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Riga';
  src: url('../fonts/Riga-Light.woff2') format('woff2'),
    url('../fonts/Riga-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Riga';
  src: url('../fonts/Riga-BlackItalic.woff2') format('woff2'),
    url('../fonts/Riga-BlackItalic.woff') format('woff');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Riga';
  src: url('../fonts/Riga-Black.woff2') format('woff2'),
    url('../fonts/Riga-Black.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Riga';
  src: url('../fonts/Riga-BoldItalic.woff2') format('woff2'),
    url('../fonts/Riga-BoldItalic.woff') format('woff');
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Riga ExtLt';
  src: url('../fonts/Riga-ExtraLight.woff2') format('woff2'),
    url('../fonts/Riga-ExtraLight.woff') format('woff');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Riga';
  src: url('../fonts/Riga-Bold.woff2') format('woff2'),
    url('../fonts/Riga-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Riga ExtLt';
  src: url('../fonts/Riga-ExtraLightItalic.woff2') format('woff2'),
    url('../fonts/Riga-ExtraLightItalic.woff') format('woff');
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Riga Med';
  src: url('../fonts/Riga-Medium.woff2') format('woff2'),
    url('../fonts/Riga-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Riga Med';
  src: url('../fonts/Riga-MediumItalic.woff2') format('woff2'),
    url('../fonts/Riga-MediumItalic.woff') format('woff');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

body {
  font-family: var(--font-base);
  font-size: var(--font-size-base);
  color: var(--color-text);
  background-color: var(--color-bg);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-titles);
  font-weight: 600;
  line-height: 1.07;
  /* color: var(--color-text); */
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2.25rem;
  font-weight: 500;
}

h3 {
  font-size: 1.95rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.1rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1.5rem;
  line-height: 1.4;
  /* color: var(--color-text); */
}

a {
  transition: color var(--transition-base);
}

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

strong {
  font-weight: 600;
}

button {
  font-family: inherit;
}

main {
  display: block;
}

/* === Utilidades básicas === */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--section-padding) 0;
}

.text-center {
  text-align: center;
}

.hidden {
  display: none;
}

/* === Responsive base === */

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  h4 {
    font-size: 1.38rem;
  }
}