/* Variables */
:root {
  /* Colores */
  --light-blue: #e6f1fb;
  --dark-blue: #192733;
  --gray-blue: #7691ad;
  --gray-medium: #ddd;
  --gray-light: #eee;
  --primary: #0071e3;
  --gray-dark: #777;
  --green: #28a745;
  --red: #dc3545;
}

/* Reset y base */
html {
  font-size: 16px;
  line-height: 1.4;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1;
  font-size: inherit;
}

a {
  color: var(--primary);
}

/* Estructura general */
body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

header,
footer {
  padding-inline: 20px;
}

main {
  padding: 20px;
}

header > .wrap,
main > .wrap,
footer > .wrap {
  max-width: 1200px;
  margin-inline: auto;
}

footer {
  margin-top: auto;
}

/* Encabezado */
header {
  top: 0;
  z-index: 10;
  position: sticky;
  background-color: #fff;
  border-bottom: 1px solid var(--gray-light);
}

header > .wrap {
  display: flex;
  gap: 40px;
  padding-block: 10px;
  justify-content: space-between;
}

/* Enlaces */
header > .wrap a {
  gap: 8px;
  height: 40px;
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* Logo */
header .logo > :first-child {
  height: 100%;
}

header .logo > :last-child {
  height: 30px;
}

/* Botón de descarga */
header .download {
  color: #fff;
  background: var(--primary);
  padding: 0 15px;
  font-weight: 600;
  border-radius: 10px;
}

header .download img {
  display: none;
}

/* Ajustes para móvil */
@media screen and (max-width: 340px) {
  /* Botón de descarga */
  header .download {
    padding: 5px;
    border-radius: 50%;
  }

  header .download span {
    display: none;
  }

  header .download img {
    height: 100%;
    display: block;
  }
}
