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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(160deg, #0f172a, #1e293b);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.card {
  background: #fff;
  width: 100%;
  max-width: 440px;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}

h1 { font-size: 1.35rem; margin-bottom: 6px; color: #0f172a; }
.subtitle { color: #64748b; font-size: .9rem; margin-bottom: 20px; }

.field { margin-bottom: 14px; }

label { display: block; font-size: .85rem; font-weight: 600; color: #334155; margin-bottom: 5px; }

input, textarea {
  width: 100%;
  padding: 12px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 1rem; /* evita zoom en iOS */
  font-family: inherit;
  transition: border-color .15s;
}

input:focus, textarea:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.15); }

textarea { resize: vertical; }

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

.cf-turnstile { margin: 8px 0 16px; }

button {
  width: 100%;
  padding: 14px;
  background: #2563eb;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background .15s;
}
button:hover { background: #1d4ed8; }
button:disabled { background: #94a3b8; cursor: wait; }

.estado { margin-top: 14px; text-align: center; font-size: .9rem; font-weight: 600; }
.estado.ok { color: #16a34a; }
.estado.error { color: #dc2626; }
