:root {
  --green: #1f5f3a;
  --green-dark: #164a2c;
  --red: #b3261e;
  --bg: #f4f1ea;
  --text: #222;
  --muted: #666;
  --border: #ccc;
  --radius: 10px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
}

.hero {
  background: var(--green);
  color: #fff;
  text-align: center;
  padding: 2rem 1rem 3.5rem;
}

.hero h1 { margin: 0; font-size: 2rem; }
.subtitle { margin: 0.25rem 0 0; opacity: 0.9; }

.card {
  max-width: 600px;
  margin: -2rem auto 2rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
}

.intro { margin-top: 0; }

.field { margin-bottom: 1rem; }

.row { display: flex; gap: 1rem; }
.row .field:first-child { flex: 2; }
.row .field:last-child { flex: 1; }

label, legend { display: block; font-weight: 600; margin-bottom: 0.3rem; }
.optional { font-weight: 400; color: var(--muted); }

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  font: inherit;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
}

input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--green);
  outline-offset: 1px;
  border-color: var(--green);
}

.invalid { border-color: var(--red) !important; }

fieldset { border: none; padding: 0; margin: 0 0 1rem; }

.choice {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 0.5rem;
  cursor: pointer;
}

.choice:has(input:checked) { border-color: var(--green); background: #eef6f0; }

.choice-info, .callout {
  background: #fff8e6;
  border-left: 4px solid #e0a800;
  padding: 0.6rem 0.8rem;
  margin: -0.25rem 0 0.75rem;
  border-radius: 4px;
}

.callout { margin: 1rem 0; font-size: 1.1rem; }

.choice-other { margin: -0.25rem 0 0.75rem; }
.choice-other input:focus::placeholder { color: transparent; }

.price {
  font-size: 1.15rem;
  font-weight: 600;
  padding: 0.75rem;
  background: #eef6f0;
  border-radius: 6px;
  text-align: center;
  margin-bottom: 1rem;
}

.error { color: var(--red); font-size: 0.9rem; margin: 0.25rem 0 0; min-height: 0; }
.error:empty { display: none; }
.form-error { margin-bottom: 1rem; text-align: center; }

button, .button {
  display: block;
  width: 100%;
  padding: 0.85rem;
  font: inherit;
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff;
  background: var(--red);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

button:hover, .button:hover { filter: brightness(1.1); }
button:disabled { opacity: 0.6; cursor: wait; }

.panel h2 { color: var(--green); margin-top: 0; }
.countdown { font-weight: 600; }
.small { font-size: 0.9rem; color: var(--muted); margin-top: 1rem; }

footer { text-align: center; color: var(--muted); font-size: 0.9rem; padding-bottom: 2rem; }

@media (max-width: 480px) {
  .row { flex-direction: column; gap: 0; }
  .card { margin: -2rem 0.5rem 1.5rem; padding: 1.1rem; }
}
