:root {
  --main: #20474c;
  --accent: #9b7c38;
  --bg: #f3f8ed;
  --border: #dce3d7;
  --text: #4f4f4f;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
h1, h2 { font-family: Georgia, serif; color: var(--main); font-weight: normal; line-height: 1.2; }
h1 { font-size: 1.75rem; margin: 0 0 1rem; }
h2 { font-size: 1.35rem; margin: 2rem 0 1rem; }
.wrap { max-width: 720px; margin: 0 auto; padding: 24px 16px; }
.lead { margin: 0 0 1.5rem; }
.langs { display: flex; gap: 8px; justify-content: flex-end; margin-bottom: 12px; }
.langs a {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px;
  padding: 0 12px; color: var(--main); background: #fff; border: 1px solid var(--border);
  border-radius: 6px; text-decoration: none;
}
.langs a[aria-current="page"] { color: #fff; background: var(--main); border-color: var(--main); }
.banner { background: var(--accent); color: #fff; text-align: center; padding: 8px 16px; font-weight: 600; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 600; color: var(--main); padding: 0; margin-bottom: 0.75rem; }
.cards { display: grid; grid-template-columns: 1fr; gap: 12px; }
.card { display: block; position: relative; cursor: pointer; font-weight: normal; color: var(--text); margin: 0; }
.card input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.card-body {
  display: block; min-height: 44px; height: 100%; padding: 14px 52px 14px 16px; background: #fff;
  border: 1px solid var(--border); border-top: 3px solid var(--accent); border-radius: 6px;
}
.card-body strong { display: block; font-family: Georgia, serif; color: var(--main); font-size: 1.1rem; }
.card input:checked + .card-body { border-color: var(--main); box-shadow: inset 0 0 0 2px var(--main); }
.card-body::after {
  content: ""; position: absolute; top: 14px; right: 14px; width: 24px; height: 24px;
  border: 2px solid var(--main); border-radius: 4px; background: #fff;
  color: #fff; font-weight: 700; line-height: 20px; text-align: center;
}
.card input:checked + .card-body::after { content: "\2713"; background: var(--main); }
.card input:focus-visible + .card-body { outline: 3px solid var(--accent); outline-offset: 2px; }
.field { margin-bottom: 1rem; }
label { display: block; font-weight: 600; color: var(--main); margin-bottom: 4px; }
.hint { margin: 0 0 4px; font-size: 0.9rem; }
input[type="text"], input[type="tel"], input[type="email"], select {
  width: 100%; min-height: 44px; padding: 10px 12px; font: inherit; color: #222;
  background: #fff; border: 1px solid var(--border); border-radius: 6px;
}
input:focus-visible, select:focus-visible, button:focus-visible, a:focus-visible, #thanks:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px;
}
[aria-invalid="true"] { border-color: #a12626; }
.error { color: #a12626; margin: 4px 0 0; font-size: 0.95rem; }
.error:empty { display: none; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: normal; color: var(--text); min-height: 44px; cursor: pointer; }
.check input { width: 24px; height: 24px; flex: none; margin: 2px 0 0; }
.privacy { margin: 4px 0 0 36px; font-size: 0.95rem; }
.privacy a { color: var(--main); display: inline-block; min-height: 44px; line-height: 44px; }
button {
  width: 100%; min-height: 48px; padding: 12px 20px; font: inherit; font-weight: 600; color: #fff;
  background: var(--main); border: 0; border-radius: 6px; cursor: pointer;
}
button:disabled { opacity: 0.6; cursor: wait; }
.thanks { background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--accent); border-radius: 6px; padding: 16px; }
.thanks[hidden], #form-area[hidden] { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
footer { text-align: center; padding: 24px 16px; font-size: 0.9rem; }
@media (min-width: 641px) {
  .cards { grid-template-columns: 1fr 1fr; }
  button { width: auto; min-width: 240px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
