:root{--bg: #FBF8F4;--card: #ffffff;--ink: #1A2433;--muted: #6B7280;--line: #E8E2D8;--input-line: #C8C2B5;--accent: #5A3A6E;--accent-hover: #7A5B8F;--accent-ink: #ffffff;--pill: #bca0c3;--sky: #5B7FA6;--sky-soft: #EAF1F8;--sage: #6B8E5A;--beige: #F3EDE3;--submit: #34C759;--submit-hover: #2DB84D;--err: #b42318;--err-bg: #fdecea;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--ink);background:var(--bg);line-height:1.45}*{box-sizing:border-box}body{margin:0;background:var(--bg)}.page{max-width:880px;margin:0 auto;padding:24px 16px 48px}.head{margin-bottom:16px}.brand{font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--accent);font-weight:600}.head{text-align:center}.logo{display:block;height:120px;width:auto;margin:0 auto 4px}@media(min-width:640px){.logo{height:160px}}.head h1{margin:4px 0 0;font-size:28px;color:var(--accent)}.card{background:var(--card);border:1px solid var(--line);border-radius:10px;padding:24px}.section{display:grid;gap:14px 18px;margin-bottom:14px}.section.cols-1{grid-template-columns:1fr}.section.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.section.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:640px){.section.cols-2,.section.cols-3{grid-template-columns:1fr}.card{padding:16px}}.htmlblock h2{font-size:17px;font-weight:600;line-height:1.3;margin:22px 0 4px;background:var(--pill);color:#fff;border-radius:8px;padding:8px 14px}.htmlblock h2 label{color:inherit}.htmlblock h3,.htmlblock h4{margin:10px 0 4px}.htmlblock p{margin:6px 0}.field{display:flex;flex-direction:column;gap:4px;min-width:0}.field.wide{grid-column:1 / -1}.lbl{font-weight:600;font-size:14px}.lbl.confirm{margin-top:8px;font-weight:500;color:var(--muted)}.req{color:var(--err)}input[type=text],input[type=email],input[type=tel],input[type=date],input:not([type]),select,textarea{font:inherit;font-size:16px;color:var(--ink);border:1px solid var(--input-line);border-radius:6px;padding:9px 10px;background:#fff;width:100%}textarea{resize:vertical}input:focus,select:focus,textarea:focus,fieldset:focus-within{outline:2px solid var(--accent);outline-offset:1px}input.readonly{background:var(--bg);color:var(--muted)}.has-err input,.has-err select,.has-err textarea,input[aria-invalid=true]{border-color:var(--err)}.err{color:var(--err);font-size:13px}fieldset.radios{border:0;padding:0;margin:0}fieldset.radios legend{padding:0;margin-bottom:4px}.choices{display:flex;flex-wrap:wrap;gap:6px 18px}.choice{display:inline-flex;align-items:flex-start;gap:8px;font-size:15px;cursor:pointer}.choice input{margin-top:3px;width:18px;height:18px;flex:none;accent-color:var(--accent)}.field.check{justify-content:center}.banner{border-radius:8px;padding:12px 14px;margin:12px 0}.banner.error{background:var(--err-bg);color:var(--err);border:1px solid #f5c2bd}.actions{margin-top:20px}button[type=submit]{font:inherit;font-size:16px;font-weight:600;border:0;border-radius:8px;background:var(--submit);color:#fff;padding:12px 22px;box-shadow:0 1px 2px #00000014;cursor:pointer;min-width:200px}button[type=submit]:hover:not(:disabled){background:var(--submit-hover)}button[type=submit]:disabled{opacity:.6;cursor:default}@media(max-width:640px){button[type=submit]{width:100%}}.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.thanks{margin-top:8px}.foot{margin-top:18px;color:var(--muted);font-size:14px;text-align:center}.choice .rich h3{font-size:15px;margin:0 0 2px}.choice .rich p{margin:0;font-size:13px;color:var(--muted)}.field.check:has(.rich){justify-content:flex-start}.human:empty{display:none}.human{margin-bottom:12px}.thanks-page{min-height:100vh;display:flex;align-items:center;justify-content:center}.thanks-card{position:relative;overflow:hidden;width:100%;max-width:620px;text-align:center;background:var(--card);border:1px solid var(--line);border-radius:16px;padding:40px 32px 28px;box-shadow:0 10px 30px #5a3a6e1a}.thanks-band{position:absolute;inset:0 0 auto 0;height:8px;background:linear-gradient(90deg,var(--pill),var(--sky),var(--submit))}.thanks-logo{display:block;height:96px;width:auto;margin:0 auto 8px}.thanks-check{width:64px;height:64px;margin:4px auto 14px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--submit);color:#fff;box-shadow:0 0 0 8px #34c75926}.thanks-title{margin:0 0 6px;font-size:30px;color:var(--accent)}.thanks-lead{margin:0 0 14px;font-size:18px;font-weight:600;color:var(--sage)}.thanks-text{margin:0 auto 20px;max-width:470px;font-size:16px;color:var(--ink)}.thanks-contacts{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:12px;margin-bottom:8px}.contact{display:flex;flex-direction:column;gap:2px;padding:12px 14px;border-radius:10px;background:var(--sky-soft);border:1px solid #D3E0EE;text-decoration:none;color:var(--ink)}.contact-label{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--sky)}.contact-value{font-size:15px;font-weight:600;overflow-wrap:anywhere}.thanks-welcome{padding:14px 16px;border-radius:10px;background:var(--beige);border-left:4px solid var(--pill);color:var(--ink);font-size:15px;text-align:left}.thanks-welcome strong{color:var(--accent)}@media(max-width:640px){.thanks-card{padding:32px 18px 20px}.thanks-contacts{grid-template-columns:1fr}.thanks-title{font-size:26px}}
