:root {
  --ink: #17202a;
  --muted: #55606b;
  --brand: #0b3d5c;
  --brand-2: #0f6a8a;
  --accent: #e8a33d;
  --bg: #ffffff;
  --alt: #f3f6f8;
  --line: #d9e0e6;
  --err: #a3271f;
  --ok: #1f6e43;
}
* { box-sizing: border-box; }
html { font-size: 17px; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.55; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 760px; }
a { color: var(--brand-2); }
h1 { font-size: 2.1rem; line-height: 1.2; margin: 0 0 16px; letter-spacing: -0.01em; }
h2 { font-size: 1.5rem; margin: 0 0 12px; }
h3 { font-size: 1.2rem; margin: 0 0 8px; }
p { margin: 0 0 14px; }
.top { border-bottom: 1px solid var(--line); background: var(--bg); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { font-weight: 700; color: var(--brand); text-decoration: none; font-size: 1.1rem; }
.brand span { font-weight: 400; color: var(--muted); }
nav a { margin-left: 18px; text-decoration: none; color: var(--ink); font-size: 0.95rem; }
.hero { padding: 56px 0 40px; background: linear-gradient(180deg, #f7fafc 0%, #ffffff 100%); }
.lead { font-size: 1.15rem; max-width: 760px; }
.lead.small { color: var(--muted); font-size: 1rem; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.btn { display: inline-block; padding: 12px 18px; border: 1.5px solid var(--brand); border-radius: 8px; color: var(--brand); text-decoration: none; font-weight: 600; background: #fff; cursor: pointer; font-size: 1rem; font-family: inherit; }
.btn.primary { background: var(--brand); color: #fff; }
.btn:disabled { opacity: 0.6; cursor: default; }
.block { padding: 44px 0; }
.block.alt { background: var(--alt); }
form { margin-top: 20px; }
.field { margin-bottom: 18px; position: relative; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-weight: 600; margin-bottom: 6px; }
label .opt { font-weight: 400; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], select { width: 100%; padding: 12px 12px; font-size: 1rem; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; font-family: inherit; color: var(--ink); }
input:focus, select:focus, button:focus { outline: 3px solid #bfe0ee; outline-offset: 1px; }
.hint { color: var(--muted); font-size: 0.9rem; margin: 6px 0 0; }
.hits { list-style: none; margin: 0; padding: 4px 0; position: absolute; left: 0; right: 0; top: 100%; z-index: 5; background: #fff; border: 1.5px solid var(--line); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); max-height: 280px; overflow: auto; }
.hits button { width: 100%; text-align: left; padding: 10px 12px; border: 0; background: transparent; font: inherit; color: var(--ink); cursor: pointer; }
.hits button:hover, .hits button:focus { background: var(--alt); }
.consent label { font-weight: 400; display: flex; gap: 10px; align-items: flex-start; }
.consent input { margin-top: 5px; width: 18px; height: 18px; flex: 0 0 auto; }
.error { color: var(--err); font-weight: 600; margin-top: 12px; }
.done { border: 1.5px solid var(--ok); border-radius: 10px; padding: 18px 20px; margin-top: 20px; background: #f2faf5; }
ul.plain { padding-left: 20px; }
ul.plain li { margin-bottom: 8px; }
footer { border-top: 1px solid var(--line); padding: 24px 0; color: var(--muted); font-size: 0.95rem; }
@media (max-width: 640px) {
  html { font-size: 16px; }
  h1 { font-size: 1.6rem; }
  .row { grid-template-columns: 1fr; }
  nav a { margin-left: 12px; font-size: 0.9rem; }
  .brand span { display: none; }
}
