:root {
  --fondo: #e9eef2;
  --fila: #f7f9fb;
  --tinta: #14202b;
  --cuerpo: #2c3a48;
  --pino: #1f4b3a;
  --linea: #d5dee5;
  --display: "Familjen Grotesk", "Segoe UI", sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
  --ancho: 74rem;
  --barra: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--fondo);
  color: var(--tinta);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body :focus-visible {
  outline: 2px solid var(--pino);
  outline-offset: 3px;
}

a {
  color: inherit;
  touch-action: manipulation;
}

.saltar {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 20;
  transform: translateY(-160%);
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: var(--tinta);
  color: var(--fila);
  font-family: var(--display);
  font-weight: 600;
  text-decoration: none;
}

.saltar:focus {
  transform: none;
}

.contenedor {
  width: min(var(--ancho), calc(100% - 2.5rem));
  margin-inline: auto;
}

.barra {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgb(233 238 242 / 92%);
  border-bottom: 1px solid var(--linea);
  backdrop-filter: blur(14px);
}

.barra__interno {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--barra);
}

.marca {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 2.75rem;
  color: var(--pino);
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
  cursor: pointer;
}

.marca__sello {
  width: 1.85rem;
  height: 1.85rem;
  display: block;
}

.barra__dominio {
  margin: 0;
  color: var(--cuerpo);
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 600;
}

.entrada {
  padding: 3.5rem 0 1.75rem;
}

.entrada h1 {
  margin: 0;
  max-width: 16em;
  font-family: var(--display);
  font-size: clamp(2.45rem, 5vw, 3.7rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.94;
}

.entrada__texto {
  margin: 1.35rem 0 0;
  max-width: 34rem;
  color: var(--cuerpo);
  font-size: 1.35rem;
  line-height: 1.45;
}

.saltos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.35rem;
  margin-top: 1.5rem;
}

.saltos a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-family: var(--display);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}

.saltos a:hover {
  color: var(--pino);
  border-bottom-color: var(--pino);
}

.suite {
  display: grid;
  gap: 0.75rem;
  padding-bottom: 4.5rem;
}

.producto {
  display: grid;
  gap: 0.85rem;
  padding: 1.45rem 1.25rem 1.5rem;
  border-radius: 1.15rem;
  background: var(--fila);
  scroll-margin-top: calc(var(--barra) + 0.75rem);
  transition: background-color 220ms ease;
}

.producto h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.05rem, 4vw, 3.15rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.95;
  transition: color 220ms ease;
}

.producto p {
  margin: 0;
  max-width: 38rem;
  color: var(--cuerpo);
  font-size: 1.15rem;
  line-height: 1.55;
  transition: color 220ms ease;
}

.pie {
  border-top: 1px solid var(--linea);
}

.pie__interno {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0 1.6rem;
  color: var(--cuerpo);
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 600;
}

.pie p {
  margin: 0;
}

@media (min-width: 860px) {
  .entrada {
    padding-top: 4.75rem;
  }

  .producto {
    grid-template-columns: minmax(16rem, 22rem) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
    padding: 2.15rem 2.25rem;
  }
}

@media (hover: hover) and (pointer: fine) {
  .producto:hover {
    background: var(--tinta);
  }

  .producto:hover h2 {
    color: #f4f7f5;
  }

  .producto:hover p {
    color: #d5dee6;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .producto,
  .producto h2,
  .producto p,
  .saltos a {
    transition: none;
  }
}
