:root {
  --bg: #ffffff;
  --bg-alt: #f4f5f7;
  --text: #1c1f24;
  --muted: #5b6270;
  --accent: #c8102e;
  --accent-dark: #9e0c24;
  --border: #d9dce1;
  --radius: 8px;
  --max: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a { color: var(--accent); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.container.narrow { max-width: 680px; }

.site-header { border-bottom: 1px solid var(--border); background: var(--bg); position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.logo { font-weight: 700; font-size: 1.4rem; color: var(--text); text-decoration: none; letter-spacing: .05em; }
.site-header nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-header nav a { color: var(--text); text-decoration: none; }
.site-header nav a:hover { color: var(--accent); }

.hero { padding: 96px 0 80px; background: var(--bg-alt); }
.hero h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); margin: 0 0 12px; line-height: 1.1; }
.lead { font-size: 1.2rem; color: var(--muted); margin: 0 0 28px; }

.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section h2 { font-size: 1.8rem; margin: 0 0 24px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; background: var(--bg); }
.card h3 { margin-top: 0; }

.button {
  display: inline-block; background: var(--accent); color: #fff; border: 0; border-radius: var(--radius);
  padding: 12px 24px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
}
.button:hover { background: var(--accent-dark); }
.button:disabled { opacity: .6; cursor: wait; }

.contact-form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; }
.field input, .field textarea {
  font: inherit; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius); width: 100%;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.field.checkbox { grid-template-columns: auto 1fr; align-items: start; gap: 10px; }
.field.checkbox label { font-weight: 400; }
.field.checkbox input { width: auto; margin-top: 5px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; min-height: 1.6em; }
.form-status.ok { color: #1a7f37; }
.form-status.error { color: var(--accent); }

.legal h1 { margin-top: 48px; }
.legal h2 { margin-top: 36px; font-size: 1.3rem; }
.legal { padding-bottom: 64px; }

.site-footer { border-top: 1px solid var(--border); padding: 32px 0; color: var(--muted); font-size: .95rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; }
.footer-inner p { margin: 0; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { color: var(--muted); }
.cookie-note { flex-basis: 100%; font-size: .85rem; }
