/**
 * Base y reset - Lautaro Diesel
 */

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  font-family: var(--font-archivo);
  font-size: 16px;
  color: var(--color-dark);
  background: linear-gradient(to bottom, #FFFFFF 0%, #FFFFFF 78%, #9f9f9f 92%, #1e1d1d 100%);
  min-height: 100vh;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

input, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Clases de tipografía según anatomía */
.titulo-1 {
  font-family: var(--font-archivo);
  font-weight: 700;
  font-style: italic;
  font-size: var(--fs-titulo-1);
  color: var(--color-dark);
  margin: 0;
}

.titulo-2 {
  font-family: var(--font-archivo);
  font-weight: 700;
  font-style: italic;
  font-size: var(--fs-titulo-2);
  color: var(--color-dark);
  margin: 0;
}

.titulo-3 {
  font-family: var(--font-archivo);
  font-weight: 400;
  font-size: var(--fs-titulo-3);
  color: var(--color-dark);
  margin: 0;
}

.subtitulo-1 {
  font-family: var(--font-archivo);
  font-weight: 700;
  font-size: var(--fs-subtitulo-1);
  color: var(--color-dark);
  margin: 0;
}

.subtitulo-2 {
  font-family: var(--font-archivo);
  font-weight: 500;
  font-size: var(--fs-subtitulo-2);
  color: var(--color-dark);
  margin: 0;
}

.texto-1 {
  font-family: var(--font-archivo);
  font-weight: 500;
  font-size: var(--fs-text-1);
  text-transform: uppercase;
}

.texto-2 {
  font-family: var(--font-archivo);
  font-weight: 400;
  font-size: var(--fs-text-2);
}

/* Título con línea roja debajo */
.titulo-with-line {
  position: relative;
  display: inline-block;
  padding-bottom: 0.25em;
}

.titulo-with-line::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: var(--color-red);
  border-radius: 2px;
}

.titulo-with-line.titulo-line-extend::after {
  width: 120%;
  left: 50%;
  transform: translateX(-50%);
}
