@font-face {
  font-family: "Jerovende Display";
  src: url("/fuentes/display.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/fuentes/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --hueso: #f4ede1;
  --hueso-claro: #fbf7ef;
  --carton: #c9a67a;
  --carton-oscuro: #8d6a42;
  --tinta: #1c1510;
  --suave: #6a5c4e;
  --senal: #c4126b;
  --senal-oscura: #980d53;
  --sombra: rgb(62 40 18 / 0.22);
  --display: "Jerovende Display", "Arial Black", sans-serif;
  --texto: "Figtree", system-ui, sans-serif;
  --suela: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--hueso);
  color: var(--tinta);
  font-family: var(--texto);
  font-size: 17px;
  line-height: 1.4;
}

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

button, input, select { font: inherit; color: inherit; }

button { cursor: pointer; }

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

.oculto {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: var(--senal);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.18s, transform 0.18s var(--suela);
}
.boton:hover { background: var(--senal-oscura); }
.boton:active { transform: scale(0.97); }
.boton-claro { background: var(--hueso); color: var(--tinta); }
.boton-claro:hover { background: #fff; }

dialog:modal { overscroll-behavior: contain; }
dialog::backdrop { overflow: hidden; overscroll-behavior: contain; background: rgb(28 21 16 / 0.62); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
