* {
  box-sizing: border-box;
}
:root {
  color-scheme: light;
  --rojo: #e41f14;
  --rojo-osc: #b7170e;
  --gris-osc: #727272;
  --gris-med: #b7b7b7;
  --gris-cl: #f0f0f0;
  --texto: #515048;
  --azul: var(--rojo);
  --gris: #727272;
  --borde: #d4d4d4;
  --ok: #15803d;
  --error: #a5130b;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--gris-cl);
  color: var(--texto);
  font-family:
    Barlow,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  line-height: 1.5;
}
.container {
  width: min(100% - 32px, 760px);
  margin: 3rem auto 24px;
}
.panel {
  background: #fff;
  border: 1px solid var(--borde);
  border-top: 6px solid var(--rojo);
  border-radius: 4px;
  padding: 1.75rem;
}
.eyebrow {
  color: var(--rojo);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
h1 {
  margin: 0.35rem 0 0.25rem;
  font-size: 1.4rem;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.intro {
  color: var(--gris);
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}
.field {
  margin: 0 0 1rem;
}
.field > label {
  display: block;
  font-weight: 600;
  margin: 0.75rem 0 0.3rem;
}
.field > label span {
  color: var(--rojo);
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="file"] {
  width: 100%;
  border: 1px solid var(--gris-med);
  border-radius: 4px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  color: var(--texto);
  background: #fff;
}
input[type="file"] {
  padding: 0.55rem 0.65rem;
}
input:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--gris-osc);
  outline-offset: 1px;
}
input[aria-invalid="true"] {
  border-color: var(--error);
}
.upload-box {
  border: 1px dashed var(--gris-med);
  border-radius: 4px;
  padding: 1rem;
  background: #fafafa;
}
.hint,
.fine-print,
.muted {
  color: var(--gris);
  font-size: 0.88rem;
}
.hint {
  margin: 0.55rem 0 0.15rem;
}
.file-name {
  margin: 0.3rem 0 0;
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}
.consent {
  margin-top: 1.25rem;
}
.check-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-weight: 400 !important;
}
.check-label input {
  margin-top: 0.35rem;
  flex: 0 0 auto;
  accent-color: var(--rojo);
}
a {
  color: var(--rojo-osc);
}
button,
.button-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  border: 0;
  border-radius: 4px;
  padding: 0.8rem 1.25rem;
  background: var(--rojo);
  color: #fff;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
}
button {
  width: 100%;
  margin-top: 0.5rem;
}
button:hover:not(:disabled),
.button-link:hover {
  background: var(--rojo-osc);
}
button:disabled {
  opacity: 0.6;
  cursor: progress;
}
.fine-print {
  margin: 0.9rem 0 0;
  text-align: center;
}
.alert {
  margin: 0 0 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  background: #fdecea;
  color: var(--error);
  border: 1px solid #efc5c1;
  border-left: 4px solid var(--rojo);
}
.warning {
  margin-top: 1.1rem;
}
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
footer {
  padding: 1.4rem 0;
  text-align: center;
  color: var(--gris);
  font-size: 0.82rem;
}
.success-panel {
  text-align: center;
}
.success-mark {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #f0fdf4;
  color: var(--ok);
  font-size: 2rem;
  font-weight: 700;
}
.reference {
  margin: 1.6rem auto;
  padding: 1rem;
  border: 1px solid var(--borde);
  border-radius: 4px;
  background: var(--gris-cl);
}
.reference span,
.reference strong {
  display: block;
}
.reference span {
  color: var(--gris);
  font-size: 0.85rem;
}
.reference strong {
  font-size: 1.6rem;
  letter-spacing: 0.04em;
}
.button-link {
  margin-top: 1rem;
}
@media (max-width: 600px) {
  .container {
    width: min(100% - 20px, 760px);
    margin: 1rem auto;
  }
  .panel {
    padding: 1.4rem 1.1rem;
  }
}

.logo-container {
  text-align: center;
  margin-bottom: 1.5rem;
}

.logo {
  display: block;
  width: 100%;
  max-width: 340px;
  height: auto;
  margin: 0 auto;
}
