.page-form .top { position: sticky; }
.wizard-wrap { max-width: 860px; margin: 0 auto; padding: 40px 16px 80px; }
.wizard-head h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 4px; }
.wizard-head .eyebrow { color: var(--sea); margin: 0 0 10px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; text-align: center; margin-top: 24px; }

.wizard { background: #fff; border-radius: 20px; padding: clamp(20px, 4vw, 44px); margin-top: 24px; box-shadow: 0 20px 50px -35px rgba(15, 50, 50, .4); }
.progress { height: 6px; background: var(--sand); border-radius: 999px; overflow: hidden; }
#progress-bar { height: 100%; width: 0; background: var(--sea); transition: width .3s; }
.progress-text { color: var(--muted); font-size: .85rem; margin: 8px 0 24px; }

#step h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
#step .sub { font: 600 1.05rem var(--sans); margin: 28px 0 10px; color: var(--sea-dark); }
#step .intro { color: var(--muted); }
.field { display: grid; gap: 8px; margin: 0 0 20px; border: 0; padding: 0; min-width: 0; }
.field legend { padding: 0; margin-bottom: 8px; }
.label { font-weight: 600; }
.req { color: #c0392b; }
.hint { font-size: .85rem; color: var(--muted); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=number], .field textarea {
  width: 100%; border: 1px solid var(--line); background: var(--sand); border-radius: 10px; padding: 12px 14px; font: inherit; color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--sea); border-color: transparent; }
.suffix { display: flex; align-items: center; gap: 8px; max-width: 220px; }
.opt { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; cursor: pointer; line-height: 1.45; }
.opt:hover { background: var(--sand); }
.opt input { margin-top: 4px; accent-color: var(--sea); flex: none; width: 18px; height: 18px; }
.opt:has(input:checked) { border-color: var(--sea); background: #eef6f6; }
.opt.other { align-items: center; flex-wrap: wrap; }
.opt.other input[type=text] { flex: 1 1 200px; width: auto; padding: 8px 10px; }

.notice { background: var(--sand); border-left: 4px solid var(--sea); border-radius: 8px; padding: 14px 18px; margin: 0 0 20px; font-size: .92rem; color: #354242; }
.notice.warn { border-left-color: #d68910; background: #fdf6ea; }
.notice p { margin: 6px 0 0; white-space: pre-line; }

.drop { display: grid; place-items: center; gap: 4px; text-align: center; border: 2px dashed var(--line); border-radius: 14px; padding: 28px 16px; cursor: pointer; color: var(--muted); }
.drop:hover { border-color: var(--sea); color: var(--sea); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.files { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; }
.files li { display: grid; grid-template-columns: 48px 1fr auto 32px; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 6px 8px; font-size: .9rem; }
.files img, .ficon { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; background: var(--sand); display: grid; place-items: center; font-size: .7rem; font-weight: 600; color: var(--muted); }
.files li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.files em { font-style: normal; font-size: .8rem; color: var(--muted); }
.files li.done em { color: var(--sea); }
.files li.error em { color: #c0392b; }
.files button { border: 0; background: none; font-size: 1.3rem; cursor: pointer; color: var(--muted); }

.review section { border-top: 1px solid var(--line); padding: 12px 0; }
.review h3 { font: 600 1rem var(--sans); margin: 0 0 8px; color: var(--sea-dark); }
.review dl { margin: 0; display: grid; gap: 8px; }
.review dt { font-size: .82rem; color: var(--muted); }
.review dd { margin: 0; white-space: pre-line; }

.error { color: #c0392b; min-height: 1.4em; margin: 8px 0 0; }
.nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; }
.nav #next, .nav #send { margin-left: auto; }
.btn.ghost { background: transparent; color: var(--sea); border: 1px solid var(--sea); }
.btn.ghost:hover { background: var(--sand); }
.done { text-align: center; padding: 30px 0; }
.done p { color: var(--muted); max-width: 560px; margin: 0 auto 24px; }
