:root {
  --brand: #e2711d;
  --brand-dark: #b9560f;
  --ink: #1d1d1f;
  --muted: #6b6b70;
  --line: #e6e3de;
  --bg: #faf8f5;
  --card: #ffffff;
  --serif: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--brand-dark); }
a:hover { color: var(--brand); }
img { border: 0; max-width: 100%; height: auto; display: block; }

.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* Hlavička */
.site-head {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-head::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), #f3a35f);
}
.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  flex-wrap: wrap;
}
.logo {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.logo span { color: var(--brand); }
.logo small {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 10px;
}
.nav { display: flex; gap: 6px; flex-wrap: wrap; }
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 999px;
  transition: background .15s, color .15s;
}
.nav a:hover { background: #f6eee6; color: var(--brand-dark); }
.nav a.active { background: var(--brand); color: #fff; }

/* Obsah */
main { flex: 1; padding: 56px 0 80px; }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin: 0 0 12px;
}
h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(32px, 4.6vw, 48px);
  line-height: 1.1;
  letter-spacing: -.015em;
  margin: 0 0 28px;
}
h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: -.01em;
  margin: 0 0 20px;
}
p { margin: 0 0 16px; }

.hero {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(60, 40, 20, .06);
}
.hero img { width: 100%; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px 40px;
  box-shadow: 0 10px 30px rgba(60, 40, 20, .05);
}
.card + .card { margin-top: 28px; }

.lead { font-size: 18px; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }

.companies {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.company {
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: 12px;
  padding: 20px 22px;
  background: #fffdfb;
}
.company h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -.005em;
  margin: 0 0 8px;
}
.company p { margin: 0; color: var(--muted); font-size: 15px; }

.date { white-space: nowrap; }

.pdf-frame {
  width: 100%;
  height: 720px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f1efeb;
  display: block;
  margin-bottom: 24px;
}

.docs { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.docs a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
  background: #fff;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.docs a:hover {
  border-color: var(--brand);
  box-shadow: 0 6px 18px rgba(226, 113, 29, .12);
  transform: translateY(-1px);
}
.docs .ext {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  color: #fff;
  background: var(--brand);
}
.docs .ext.docx { background: #2f5c9e; }
.docs .name { font-weight: 600; }
.docs .hint { display: block; font-size: 13px; color: var(--muted); font-weight: normal; }

.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}
.contact dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.contact dd { margin: 0 0 22px; font-size: 17px; }

/* Patička */
.site-foot {
  border-top: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
  font-size: 13px;
}
.site-foot .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  padding-bottom: 22px;
}
.site-foot::after {
  content: "";
  display: block;
  height: 6px;
  background: var(--brand);
}

.muted { color: var(--muted); }
.btn {
  display: inline-block;
  font: 600 15px var(--sans);
  color: #fff;
  background: var(--brand);
  border: 0;
  border-radius: 999px;
  padding: 12px 26px;
  cursor: pointer;
}
.btn:hover { background: var(--brand-dark); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-sm { font-size: 14px; padding: 9px 20px; }
details.upload { margin-top: 20px; font-size: 14px; }
details.upload summary {
  display: inline-block;
  cursor: pointer;
  color: var(--muted);
  list-style: none;
  border-bottom: 1px dashed var(--line);
}
details.upload summary::-webkit-details-marker { display: none; }
details.upload summary::before { content: "+ "; color: var(--brand); font-weight: 600; }
details.upload[open] summary::before { content: "\2212  "; }
details.upload summary:hover { color: var(--ink); }
.up-form {
  display: grid;
  gap: 12px;
  max-width: 420px;
  margin-top: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffdfb;
}
.up-form label { display: grid; gap: 5px; font-size: 13px; font-weight: 500; color: var(--muted); }
.up-form input[type=password],
.up-form input[type=text],
.up-form textarea {
  font: 14px var(--sans);
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.up-form input[type=file] { font: 13px var(--sans); }
.up-form .btn { justify-self: start; }
.up-msg { margin: 0; font-size: 14px; }
.up-msg:empty { display: none; }
.up-msg.ok { color: #1f7a3a; }
.up-msg.err { color: #b42318; }

@media (max-width: 640px) {
  .companies { grid-template-columns: 1fr; }
  main { padding: 32px 0 56px; }
  .wrap { padding: 0 16px; }
  .card { padding: 24px 20px; }
  .logo small { display: none; }
  .site-head .wrap { padding-top: 12px; padding-bottom: 12px; }
  .pdf-frame { height: 480px; }
}
