:root {
  --ink: #14202e;
  --muted: #5a6776;
  --line: #dde3ea;
  --bg: #f6f8fa;
  --brand: #12395f;
  --accent: #c8102e;
  --white: #ffffff;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
}
a { color: var(--brand); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--white); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; padding-bottom: 16px; }
.brand { font-weight: 800; letter-spacing: .02em; color: var(--brand); text-decoration: none; font-size: 18px; line-height: 1.25; }
.brand small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; letter-spacing: .04em; }
.nav { display: flex; flex-wrap: wrap; gap: 18px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--ink); }
.nav a:hover { color: var(--brand); text-decoration: underline; }

/* Hero */
.hero { background: var(--brand); color: var(--white); padding: 64px 0; }
.hero h1 { margin: 0 0 12px; font-size: clamp(28px, 5vw, 44px); line-height: 1.15; }
.hero p { margin: 0 0 24px; max-width: 640px; font-size: 18px; opacity: .92; }
.btn { display: inline-block; background: var(--accent); color: var(--white); text-decoration: none; padding: 12px 22px; border-radius: 6px; font-weight: 700; border: 0; cursor: pointer; font-size: 16px; }
.btn:hover { filter: brightness(1.08); }
.btn.alt { background: transparent; border: 1px solid rgba(255,255,255,.6); margin-left: 8px; }

/* Sections */
section { padding: 52px 0; }
section.tint { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: 26px; margin: 0 0 16px; color: var(--brand); }
h3 { font-size: 18px; margin: 24px 0 6px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 20px; }
.card h3 { margin-top: 0; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.facts li { border-left: 3px solid var(--accent); padding: 4px 0 4px 12px; }
.facts span { display: block; font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

/* Form */
form { max-width: 640px; }
label { display: block; font-weight: 600; margin: 16px 0 6px; font-size: 15px; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; padding: 11px 12px; border: 1px solid #b9c3ce; border-radius: 6px; font: inherit; background: var(--white);
}
textarea { min-height: 120px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.consent input { margin-top: 5px; width: 18px; height: 18px; flex: 0 0 auto; }
.consent label { margin: 0; font-weight: 400; font-size: 14.5px; line-height: 1.5; }
.note { font-size: 14px; color: var(--muted); }

/* Legal pages */
.legal { max-width: 800px; }
.legal h1 { font-size: 32px; color: var(--brand); margin: 0 0 4px; }
.legal h2 { font-size: 21px; margin-top: 32px; }
.legal .box { border: 1px solid var(--line); border-left: 4px solid var(--accent); background: var(--bg); padding: 14px 16px; border-radius: 6px; }

/* Footer */
.site-footer { background: var(--ink); color: #c9d2dc; padding: 32px 0; font-size: 14.5px; }
.site-footer a { color: var(--white); }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; }
.site-footer p { margin: 0 0 6px; }
