:root {
  --bg: #f7f7f8;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --brand: #2563eb;
  --radius: 16px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container { max-width: 980px; margin: 0 auto; padding: 16px; }
header.container {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 24px; padding-bottom: 8px;
}
.brand { display: flex; gap: 12px; align-items: center; }
.logo { font-size: 32px; }
.titles h1 { margin: 0; font-size: 1.4rem; }
.titles .tagline { margin: 2px 0 0 0; color: var(--muted); font-size: .95rem; }

nav a { color: var(--text); text-decoration: none; margin-left: 12px; }
nav a:hover { color: var(--brand); }

.hero { text-align: left; padding-top: 40px; padding-bottom: 8px; }
.hero h2 { font-size: 1.8rem; margin-bottom: 8px; }
.hero .note { color: var(--muted); font-size: .9rem; }

.card {
  background: var(--card); border-radius: var(--radius);
  padding: 20px; margin: 16px 0; box-shadow: 0 1px 6px rgba(0,0,0,.05);
}

.facts { list-style: none; padding: 0; margin: 8px 0 0 0; }
.facts li { padding: 6px 0; aborder-bottom: 1px solid #eee; }
.facts li:last-child { aborder-bottom: 0; }

form.contact { display: grid; gap: 12px; }
.row { display: grid; gap: 6px; }
input, textarea, button {
  font: inherit;
  padding: 10px 12px; border: 1px solid #ddd; border-radius: 10px; width: 100%;
}
textarea { resize: vertical; }
button { background: var(--brand); color: #fff; border: none; cursor: pointer; }
button:hover { filter: brightness(0.95); }
.form-note { color: var(--muted); font-size: .9rem; }

.hp { position: absolute; left: -9999px; visibility: hidden; } /* honeypot */

footer.container {
  display: flex; justify-content: space-between; align-items: center;
  color: var(--muted); padding-top: 24px; padding-bottom: 32px;
  flex-wrap: wrap; gap: 8px;
}

/* Cookie bar */
.cookiebar {
  position: fixed; left: 16px; right: 16px; bottom: 16px;
  background: var(--card); color: var(--text);
  border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
  display: none; /* JS zobrazí pokud chybí souhlas */
  padding: 14px; z-index: 9999;
}
.cookiebar p { margin: 0 0 8px 0; }
.cookiebar button {
  width: auto; background: var(--brand); color: white; border: none;
  padding: 8px 12px; border-radius: 10px;
}

/* Mobile tweaks */
@media (max-width: 640px) {
  .titles h1 { font-size: 1.2rem; }
  .hero h2 { font-size: 1.5rem; }
}
