:root {
  --bg: #0e0e10;
  --surface: #17171a;
  --text: #ececec;
  --muted: #9a9aa2;
  --accent: #c8102e;
  --radius: 10px;
  --max: 760px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; }

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem clamp(1rem, 4vw, 2.5rem);
  border-bottom: 1px solid #222;
}

.logo { font-weight: 800; font-size: 1.25rem; text-decoration: none; letter-spacing: -0.02em; }
.logo span, h1 span { color: var(--accent); }

nav a { margin-left: 1.25rem; text-decoration: none; color: var(--muted); }
nav a:hover { color: var(--text); }

main { max-width: var(--max); margin: 0 auto; padding: 0 1rem; }

.hero { text-align: center; padding: 6rem 0 4rem; }
.tag {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
h1 { font-size: clamp(2.5rem, 9vw, 4.5rem); line-height: 1.05; letter-spacing: -0.03em; }
.lead { color: var(--muted); font-size: 1.15rem; margin: 1rem 0 2rem; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border: 0;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { filter: brightness(1.1); }
.btn:disabled { opacity: 0.6; cursor: wait; }

.block {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
}
.block h2 { margin-bottom: 1rem; }

form { display: grid; gap: 1rem; }
label { display: grid; gap: 0.35rem; font-size: 0.9rem; color: var(--muted); }
input, textarea {
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid #2a2a2e;
  border-radius: 8px;
  padding: 0.7rem 0.8rem;
}
input:focus, textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }

.hp { position: absolute; left: -9999px; }

#form-estado { font-size: 0.9rem; min-height: 1.2em; }
#form-estado.ok { color: #4ade80; }
#form-estado.error { color: #f87171; }

.foot { text-align: center; color: var(--muted); padding: 2rem 1rem; font-size: 0.85rem; }

code { background: #222; padding: 0.1rem 0.35rem; border-radius: 4px; }
