@font-face {
  font-family: "Big Shoulders Display";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/big-shoulders-display-latin-700-normal.woff2") format("woff2")
}

@font-face {
  font-family: "Big Shoulders Display";
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/big-shoulders-display-latin-800-normal.woff2") format("woff2")
}

@font-face {
  font-family: "Big Shoulders Display";
  font-weight: 900;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/big-shoulders-display-latin-900-normal.woff2") format("woff2")
}

@font-face {
  font-family: "Hanken Grotesk";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2")
}

@font-face {
  font-family: "Hanken Grotesk";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2")
}

@font-face {
  font-family: "Hanken Grotesk";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/hanken-grotesk-latin-700-normal.woff2") format("woff2")
}

:root {
  --ink: #0a0a0a;
  /* fondo de página */
  --coal: #131313;
  /* superficies */
  --graphite: #1c1c1c;
  /* superficies elevadas */
  --line: #2b2b2b;
  /* bordes */
  --gold: #f5b800;
  --gold-bright: #ffd23f;
  --gold-deep: #b98200;
  --silver: #d9dce1;
  --silver-soft: #eceef1;
  --text: #f4f4f2;
  --muted: #a3a6ad;
  --ok: #38d27c;
  --danger: #ff5a5f;

  --font-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step--1: clamp(.82rem, .8rem + .1vw, .9rem);
  --step-0: clamp(1rem, .96rem + .2vw, 1.1rem);
  --step-1: clamp(1.25rem, 1.1rem + .7vw, 1.6rem);
  --step-2: clamp(1.7rem, 1.3rem + 1.8vw, 2.6rem);
  --step-3: clamp(2.4rem, 1.6rem + 3.6vw, 4.4rem);
  --step-4: clamp(3.2rem, 1.8rem + 6vw, 7rem);

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-gold: 0 10px 40px rgba(245, 184, 0, .18);
  --maxw: 1180px;
  --gutter: clamp(1rem, 4vw, 2rem);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 var(--step-0)/1.6 var(--font-body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: .98;
  letter-spacing: .005em;
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 {
  font-size: var(--step-4);
}

h2 {
  font-size: var(--step-3);
}

h3 {
  font-size: var(--step-1);
  line-height: 1.1;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
  max-width: 68ch;
}

.muted {
  color: var(--muted);
}

:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: #000;
  padding: .6rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 8px;
  top: 8px;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .7rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #120d00;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background: linear-gradient(180deg, #ffe07a, var(--gold-bright));
}

.btn-ghost {
  border-color: var(--silver);
  color: var(--silver);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}

.btn-sm {
  min-height: 40px;
  padding: .45rem 1.1rem;
  font-size: .92rem;
}

.btn[disabled] {
  opacity: .5;
  cursor: not-allowed;
}

/* Formularios */
.field {
  display: grid;
  gap: .35rem;
  font-size: var(--step--1);
  color: var(--muted);
}

.field input,
.field select,
.field textarea,
.lookup input {
  width: 100%;
  min-height: 48px;
  padding: .65rem .9rem;
  border-radius: var(--radius-sm);
  background: var(--coal);
  border: 1.5px solid var(--line);
  color: var(--text);
  font-size: 1rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.lookup input:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(245, 184, 0, .25);
}

.check {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 48px;
  font-size: var(--step--1);
  color: var(--silver);
  cursor: pointer;
}

.check input {
  width: 20px;
  height: 20px;
  accent-color: var(--gold);
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}