/* Evonicsoft — clean corporate. Adjust tokens to the official brand guide. */
:root {
  --primary: #0B6E4F;
  --primary-hover: #08563E;
  --accent: #14B8A6;          /* teal */
  --ink: #0F1F1A;
  --ink-muted: #4A5A55;
  --surface: #FFFFFF;
  --canvas: #F3F6F5;
  --border: #D5DEDB;
  --error: #B42318;
  --error-bg: #FEF3F2;
  --success: #0B6E4F;
  --focus: rgba(20, 184, 166, 0.35);
  --radius: 8px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--canvas);
  overflow-x: hidden;
}

.shell { max-width: 720px; margin: 0 auto; padding: 0 16px 48px; }

/* Full-bleed brand band that always matches the hero's height; the card overlaps its bottom edge. */
.hero {
  position: relative;
  color: #fff;
  padding: 40px 4px 104px;
  background: var(--primary);
  box-shadow: 0 0 0 100vmax var(--primary);
  clip-path: inset(0 -100vmax);
}
.hero + .card, .hero ~ .success { position: relative; margin-top: -72px; }
.logo { display: block; height: 40px; width: auto; margin-bottom: 24px; }
.eyebrow {
  margin: 0 0 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #A7F3D0;
}
.hero h1 { margin: 0 0 8px; font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
.lede { margin: 0; color: rgba(255, 255, 255, 0.85); max-width: 52ch; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(15, 31, 26, 0.08);
  padding: 28px;
}

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; }
.span-2 { grid-column: 1 / -1; }
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .card { padding: 20px; }
}

.field { display: flex; flex-direction: column; }
label { font-size: 0.875rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.req { color: var(--primary); }

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 11px 12px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
textarea { resize: vertical; min-height: 104px; }
input:hover, select:hover, textarea:hover { border-color: #AAB9B4; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--focus); }

.check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 10px; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--primary); flex: none; }
.check label { flex: 1; font-weight: 400; color: var(--ink-muted); margin: 0; }
.check .field-error { flex-basis: 100%; }

.field-error { min-height: 1.25rem; margin: 4px 0 8px; font-size: 0.8rem; color: var(--error); }
.has-error input, .has-error select, .has-error textarea { border-color: var(--error); }

/* Honeypot: off-screen rather than display:none so naive bots still fill it. */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%;
  font: inherit; font-weight: 600;
  color: #fff;
  background: var(--primary);
  border: 0; border-radius: 6px;
  padding: 14px 20px;
  cursor: pointer;
  transition: background 0.15s;
}
.btn:hover { background: var(--primary-hover); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--focus); }
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn-secondary { width: auto; color: var(--primary); background: transparent; border: 1px solid var(--primary); }
.btn-secondary:hover { background: #E8F3EF; }

.status { margin: 12px 0 0; font-size: 0.9rem; min-height: 1.35rem; }
.status[data-kind="error"] { color: var(--error); background: var(--error-bg); padding: 10px 12px; border-radius: 6px; }

.success { text-align: center; padding: 40px 28px; outline: none; }
.success h2 { margin: 0 0 8px; color: var(--success); font-size: 1.5rem; }
.success p { margin: 0 0 24px; color: var(--ink-muted); }

.foot { margin-top: 24px; font-size: 0.8rem; color: var(--ink-muted); text-align: center; }
[hidden] { display: none !important; }
