:root {
  color-scheme: light;
  --tinta: #203c31;
  --verde: #315745;
  --borde: #bdc4b8;
  font:
    16px/1.48 system-ui,
    -apple-system,
    sans-serif;
  color: var(--tinta);
  background: #f8f6ed;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
}
header {
  padding: 14px clamp(20px, 5vw, 76px);
  border-bottom: 1px solid #d5d0be;
  display: flex;
  align-items: center;
  gap: 12px;
  font:
    1.35rem Georgia,
    serif;
}
.marca {
  font:
    italic 1.15rem Georgia,
    serif;
  color: #8b4e30;
  width: 35px;
  height: 35px;
  border: 1px solid #9a6a4e;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.idioma {
  margin-left: auto;
}
select {
  font: 0.9rem system-ui;
  padding: 0.45rem;
  background: transparent;
  color: inherit;
  border: 1px solid var(--borde);
  border-radius: 4px;
}
main {
  display: grid;
  justify-items: center;
  padding: clamp(55px, 12vh, 135px) 20px 4rem;
}
section {
  width: min(100%, 400px);
}
h1 {
  font:
    normal clamp(2.4rem, 8vw, 3.35rem)/1.07 Georgia,
    serif;
  letter-spacing: -0.04em;
  margin: 0 0 2rem;
}
form {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
label {
  font-weight: 550;
  font-size: 0.95rem;
}
input,
button {
  font: inherit;
  border-radius: 5px;
}
input {
  width: 100%;
  border: 1px solid var(--borde);
  padding: 0.7rem 0.8rem;
  background: #fffefa;
  color: #183025;
  margin-bottom: 0.75rem;
}
button {
  border: 1px solid var(--verde);
  background: var(--verde);
  color: white;
  min-height: 43px;
  padding: 0.6rem;
  cursor: pointer;
  font-weight: 600;
}
button:disabled {
  opacity: 0.55;
  cursor: default;
}
:focus-visible {
  outline: 2px solid #975e31;
  outline-offset: 3px;
}
#codigo {
  letter-spacing: 0.3em;
}
#estado {
  min-height: 1.4em;
  font-size: 0.92rem;
  color: #704429;
}
.enlaces {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.texto {
  background: transparent;
  color: var(--verde);
  border: 0;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  padding: 0.35rem 0;
  font-size: 0.9rem;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
[hidden] {
  display: none !important;
}
