/* SVR poradce – čistý profesionální design s důrazem na nezávislost a ochranu investora */
:root {
  --max: 1120px;
  --narrow: 760px;
  --gap: 24px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 4px 14px rgba(15, 33, 60, .06);
  --shadow: 0 12px 36px rgba(15, 33, 60, .08);
  --ink: #0f213c;
  --ink-soft: #3a4a66;
  --muted: #6b7a92;
  --line: #e5ebf2;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --brand: #0b5ed7;
  --brand-dark: #08458f;
  --warn: #b45309;
  --warn-bg: #fff8ec;
  --ok: #047857;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; letter-spacing: -0.01em; }
h2 { font-size: clamp(24px, 3.2vw, 34px); margin: 0 0 14px; }
h3 { font-size: 19px; margin: 0 0 8px; }
p { margin: 0 0 12px; color: var(--ink-soft); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gap); }
.wrap.narrow { max-width: var(--narrow); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  z-index: 20;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: .2px;
  color: var(--ink);
}
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; }
.nav a,
.nav-dropdown-toggle {
  padding: 8px 12px;
  font-size: 15px;
  color: var(--ink-soft);
  border-radius: 8px;
}
.nav a:hover,
.nav-dropdown-toggle:hover,
.nav-dropdown:focus-within .nav-dropdown-toggle { color: var(--ink); background: var(--bg-alt); }
.nav a.btn { color: #fff; }
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.nav-dropdown-toggle::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 250px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: none;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 15px;
  transition: transform .08s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  box-shadow: 0 6px 18px rgba(11, 94, 215, .25);
}
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: #cdd5e0;
}
.btn-ghost:hover { background: var(--bg-alt); }

/* Hero */
.hero {
  padding: 88px 0 64px;
  background:
    radial-gradient(900px 480px at 90% -10%, #e6efff 0%, transparent 60%),
    radial-gradient(700px 420px at 0% 0%, #eef6ff 0%, transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #fafcff 100%);
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  display: inline-block;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.hero-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.hero h1 {
  font-size: clamp(30px, 5vw, 50px);
  margin: 0 0 16px;
  max-width: 920px;
  line-height: 1.1;
}
.hero .accent { color: var(--brand); }
.lead {
  font-size: clamp(16px, 1.7vw, 19px);
  color: var(--ink-soft);
  max-width: 820px;
  margin: 0 0 8px;
}
.section-lead {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 800px;
  margin-bottom: 18px;
}
.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 26px 0 18px;
}
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}
.trust li {
  position: relative;
  padding-left: 18px;
}
.trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

/* Sections */
.section { padding: 72px 0; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Bullets / lists */
.bullets {
  display: grid;
  gap: 6px;
  padding-left: 22px;
  color: var(--ink-soft);
  margin: 6px 0 18px;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.check-list li {
  position: relative;
  padding: 10px 14px 10px 40px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e6f4ee;
  color: var(--ok);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

/* Callout */
.callout {
  margin-top: 24px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  color: var(--ink-soft);
}
.callout strong { color: var(--ink); }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--gap);
  margin-top: 22px;
}
.card {
  position: relative;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .12s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card ul { padding-left: 20px; margin: 8px 0 0; color: var(--ink-soft); }
.card ul li { margin: 4px 0; }
.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: #e6efff;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

/* Warning cards (na co pozor) */
.warn-cards .card.warn {
  border-color: #f1d9b8;
  background: var(--warn-bg);
  padding-left: 64px;
}
.card.warn .card-mark {
  position: absolute;
  left: 22px;
  top: 24px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--warn);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
}
.card.warn h3 { color: #6b3a06; }
.card.warn p { color: #5d4622; }

/* Audience grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--gap);
  margin-top: 18px;
}
.audience {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* FAQ */
details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 4px 16px;
  margin: 10px 0;
  box-shadow: var(--shadow-sm);
}
details summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 0;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "+";
  font-size: 22px;
  color: var(--brand);
  transition: transform .15s ease;
  line-height: 1;
}
details[open] summary::after { content: "−"; }
details p { padding: 0 0 14px; margin: 0; }

/* Form */
form {
  display: grid;
  gap: 14px;
  margin-top: 14px;
  background: #fff;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.form-field { display: grid; gap: 6px; }
.form-field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
input, textarea, select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid #cfd7e3;
  font: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color .12s ease, box-shadow .12s ease;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(11, 94, 215, .15);
}
textarea { resize: vertical; }
.hp { position: absolute; left: -10000px; top: -10000px; height: 0; overflow: hidden; }

.success-note {
  background: #e6f4ee;
  border: 1px solid #b6dfcb;
  color: #0f5132;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-weight: 600;
}

/* Footer */
.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 14px;
}
.tiny { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* Responsive tweaks */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-media { order: -1; }
}

.nav .nav-sim {
  color: var(--brand);
  font-weight: 600;
  border: 1px solid var(--brand);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 14px;
}
.nav .nav-sim:hover { background: #e6efff; }

/* Mobile hamburger navigation – opt-in via .site-header.has-burger.
   Desktop appearance is unchanged; the toggle button is hidden above 720px. */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .18s ease, opacity .18s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Kdo za projektem stojí – autorská karta */
.author-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  margin-top: 26px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.author-media svg {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.author-name { margin-bottom: 2px; }
.author-role {
  font-weight: 600;
  color: var(--brand-dark);
  margin-bottom: 14px;
}
.author-points {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.author-points li {
  position: relative;
  padding-left: 26px;
  margin: 8px 0;
  color: var(--ink-soft);
}
.author-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand);
}
.author-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .author-card {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 22px;
  }
  .author-media {
    max-width: 200px;
    margin: 0 auto;
  }
}

/* BESS Cyber Readiness Checklist – dvousloupcový layout */
.cyber-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--gap);
  margin-top: 22px;
}
.cyber-col {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.cyber-col h3 { color: var(--brand-dark); margin-bottom: 12px; }
.cyber-col .bullets { margin-bottom: 0; }

/* BESS Readiness Assessment */
.section-heading {
  max-width: 820px;
  margin-bottom: 26px;
}
.assessment-grid,
.audience-grid {
  display: grid;
  gap: var(--gap);
}
.assessment-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.assessment-card,
.audience-card,
.final-cta {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.assessment-card {
  position: relative;
  padding: 24px;
  transition: transform .12s ease, box-shadow .2s ease;
}
.assessment-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.assessment-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #e6efff;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}
.assessment-card h3 {
  color: var(--brand-dark);
}
.assessment-card p {
  margin-bottom: 0;
}
.audience-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.audience-card {
  position: relative;
  min-height: 190px;
  padding: 24px 22px 22px;
  color: var(--ink);
  transition: transform .12s ease, box-shadow .2s ease, border-color .2s ease;
}
.audience-card:hover {
  transform: translateY(-2px);
  border-color: rgba(4, 120, 87, .28);
  box-shadow: var(--shadow);
}
.audience-card::before {
  content: "";
  width: 38px;
  height: 4px;
  display: block;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--ok);
}
.audience-card h3 {
  margin-bottom: 10px;
  color: var(--brand-dark);
}
.audience-card p {
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .audience-grid {
    grid-template-columns: 1fr;
  }
  .audience-card {
    min-height: auto;
  }
}
.final-cta {
  padding: 34px;
  text-align: center;
}
.final-cta p {
  max-width: 660px;
  margin: 0 auto 22px;
  font-size: 17px;
}
.form-section {
  padding-top: 0;
}

@media (max-width: 720px) {
  .nav a:not(.btn):not(.nav-sim),
  .nav-dropdown { display: none; }
  .nav a.btn { padding: 8px 14px; }
  .hero { padding: 64px 0 48px; }
  .section { padding: 56px 0; }
  form { padding: 20px; }

  /* Burger mode: hide the inline nav behind a toggle, reveal full list on tap */
  .site-header.has-burger .nav-toggle { display: flex; }
  .site-header.has-burger .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px var(--gap) 16px;
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .site-header.has-burger .nav.open { display: flex; }
  .site-header.has-burger .nav a { display: block; width: 100%; padding: 12px 14px; font-size: 16px; }
  .site-header.has-burger .nav.open .nav-dropdown { display: block; }
  .site-header.has-burger .nav-dropdown-toggle {
    width: 100%;
    padding: 12px 14px;
    text-align: left;
    font-size: 16px;
  }
  .site-header.has-burger .nav-dropdown-menu {
    position: static;
    display: block;
    min-width: 0;
    margin-top: 2px;
    padding: 4px 0 0 10px;
    border: 0;
    box-shadow: none;
    background: transparent;
  }
  .site-header.has-burger .nav-dropdown-menu a { white-space: normal; }
  .site-header.has-burger .nav a.nav-sim,
  .site-header.has-burger .nav a.btn { text-align: center; margin-top: 2px; }
}

/* Checklist zdarma – modal (samostatná logika, neovlivňuje ostatní formuláře) */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
  background: rgba(15, 33, 60, .55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.modal-overlay[hidden] { display: none; }
.modal-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: auto;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 28px 28px;
}
.modal-card h2 { margin-bottom: 8px; }
.modal-card form { padding: 0; margin-top: 8px; box-shadow: none; border: 0; background: transparent; }
.modal-card .btn-lg { width: 100%; margin-top: 6px; }
.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background .12s ease, color .12s ease;
}
.modal-close:hover { background: var(--bg-alt); color: var(--ink); }
.muted-inline { color: var(--muted); font-weight: 400; font-size: 13px; }
.modal-error {
  color: #b42318;
  font-weight: 600;
}
