/* contact / onboarding */
.contact { display: grid; gap: var(--s-12); padding: clamp(var(--s-8), 6vw, var(--s-16)); border-radius: var(--r-xl); background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; left: -12rem; bottom: -14rem; width: 32rem; height: 32rem; border-radius: 50%; background: radial-gradient(circle, rgb(57 85 254 / 0.7), transparent 65%); filter: blur(10px); }
.contact::after { content: ""; position: absolute; right: -8rem; top: -10rem; width: 24rem; height: 24rem; border-radius: 50%; background: radial-gradient(circle, rgb(254 174 3 / 0.35), transparent 65%); }
.contact > * { position: relative; z-index: 1; }
.contact h2 { color: var(--white); }
.contact > div > p { margin-top: var(--s-4); font-size: var(--fs-lead); color: rgb(255 255 255 / 0.75); }
.next { display: grid; gap: var(--s-4); margin-top: var(--s-8); counter-reset: n; }
.next li { counter-increment: n; display: grid; grid-template-columns: 2rem 1fr; gap: var(--s-3); font-size: var(--fs-sm); color: rgb(255 255 255 / 0.7); }
.next li::before { content: counter(n); display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--amber); font-weight: 700; color: var(--ink); }
.next strong { display: block; color: var(--white); }
.wizard { padding: clamp(var(--s-6), 3vw, var(--s-8)); border-radius: var(--r-lg); background: var(--white); color: var(--text); box-shadow: 0 2rem 4rem -2rem rgb(0 0 0 / 0.5); }
.wiz-top { display: flex; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-3); font-size: var(--fs-xs); font-weight: 600; color: var(--muted); }
.wiz-bar { height: 0.375rem; margin-bottom: var(--s-8); border-radius: var(--pill); background: var(--paper); overflow: hidden; }
.wiz-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--sky)); transform: scaleX(0.333); transform-origin: 0 50%; transition: transform var(--slow); }
.wiz-step { display: none; gap: var(--s-6); }
.wiz-step.on { display: grid; animation: up 450ms cubic-bezier(.16, 1, .3, 1) both; }
.wiz-step legend { padding: 0; margin-bottom: var(--s-3); font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.opts { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.opts label { position: relative; cursor: pointer; }
.opts input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.opts span { display: block; padding: var(--s-2) var(--s-4); border: 1px solid var(--line-2); border-radius: var(--pill); font-size: var(--fs-sm); font-weight: 500; transition: background var(--fast), border-color var(--fast), color var(--fast); }
.opts label:hover span { border-color: var(--ink); }
.opts input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.opts input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.form-row { display: grid; gap: var(--s-4); }
.field { display: grid; gap: var(--s-2); }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.field input, .field textarea { width: 100%; padding: var(--s-3) var(--s-4); border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--paper); transition: border-color var(--fast), background var(--fast), box-shadow var(--fast); }
.field textarea { resize: vertical; min-height: 6rem; }
.field input:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus-visible, .field textarea:focus-visible { outline: 0; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 3px rgb(57 85 254 / 0.18); }
.wiz-nav { display: flex; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-8); }
.wiz-done { display: none; gap: var(--s-4); padding-block: var(--s-6); text-align: center; }
.wiz-done.on { display: grid; animation: up 450ms both; }
.wiz-done .ok { justify-self: center; display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%; background: var(--amber); font-size: 1.75rem; font-weight: 800; color: var(--ink); }
.wiz-done ul { justify-self: center; text-align: left; font-size: var(--fs-sm); color: var(--muted); }
.note { font-size: var(--fs-xs); color: var(--muted); }
@media (min-width: 40rem) { .form-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .contact { grid-template-columns: 5fr 6fr; align-items: start; } }
.contact-email { margin-top: var(--s-4); color: rgb(255 255 255 / 0.8); }
.contact-email a { color: var(--white); font-weight: 600; text-underline-offset: 3px; }
.wiz-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wiz-error { margin-top: var(--s-4); padding: var(--s-3) var(--s-4); border-radius: var(--r-sm); background: #fdecec; color: #8a1c1c; font-size: var(--fs-sm); }
.wiz-error a { color: inherit; font-weight: 600; }
.wizard .note a { color: inherit; text-underline-offset: 2px; }
.btn[disabled] { opacity: 0.7; cursor: progress; }
