:root {
  --ink: #17251f;
  --muted: #617068;
  --paper: #f5f7f3;
  --white: #fff;
  --green: #176b4b;
  --green-dark: #105238;
  --lime: #d8f36a;
  --line: #dfe6df;
  --soft: #eaf0e7;
  --amber: #fff3d6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

a {
  color: inherit;
}

.wrap {
  width: min(1080px, calc(100% - 36px));
  margin: auto;
}

/* Hlavička a navigácia */

header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 850;
  letter-spacing: -0.06em;
  text-decoration: none;
}

.logo span {
  color: var(--green);
}

.navlinks {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 0.94rem;
}

.navlinks a {
  text-decoration: none;
  color: var(--muted);
}

.navlinks a:hover,
.text-link:hover {
  color: var(--green);
}

/* Tlačidlá */

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 0;
  border-radius: 10px;
  padding: 11px 16px;
  background: var(--green);
  color: white !important;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--green-dark);
}

.button.secondary {
  color: var(--green) !important;
  background: #e8f2e9;
}

/* Úvodná sekcia */

.hero {
  padding: 66px 0 48px;
  background:
    radial-gradient(
      ellipse at 85% 5%,
      #e3f1cd 0,
      transparent 37%
    ),
    var(--paper);
}

.eyebrow {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-weight: 850;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.35rem, 6vw, 4.25rem);
  line-height: 1.03;
  letter-spacing: -0.065em;
  margin: 14px 0 18px;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.12rem;
  margin: 0;
}

/* Sekcie */

.section {
  padding: 48px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.section-head p {
  max-width: 520px;
  color: var(--muted);
  margin: 0;
}

/* Karty článkov */

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 23px;
  min-height: 240px;
}

.card .num {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.card h3 {
  font-size: 1.22rem;
  line-height: 1.25;
  margin: 12px 0 9px;
  letter-spacing: -0.025em;
}

.card p {
  margin: 0 0 20px;
  color: var(--muted);
}

.text-link {
  margin-top: auto;
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

/* Kontrolný zoznam */

.soft {
  background: var(--soft);
}

.checklist {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.check {
  background: white;
  border-radius: 14px;
  padding: 20px;
}

.check h3 {
  font-size: 1.04rem;
  margin: 0 0 8px;
}

.check p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* Zvýraznená výzva */

.callout {
  padding: 28px;
  background: var(--green-dark);
  color: white;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.callout h2 {
  max-width: 650px;
}

.callout p {
  color: #d9e7de;
  margin: 10px 0 0;
  max-width: 680px;
}

.callout .button {
  background: var(--lime);
  color: var(--green-dark) !important;
  white-space: nowrap;
}

/* Navigácia v článkoch */

.breadcrumb {
  padding: 20px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--green);
  text-decoration: none;
}

/* Obsah článkov */

.article {
  max-width: 790px;
  margin: 0 auto;
}

.article h2 {
  font-size: 1.55rem;
  margin: 34px 0 12px;
}

.article h3 {
  font-size: 1.1rem;
  margin: 24px 0 8px;
}

.article p,
.article li {
  font-size: 1rem;
}

.article li {
  margin: 7px 0;
}

/* Praktické upozornenie */

.tip {
  padding: 18px 20px;
  background: #eaf0e7;
  border-left: 4px solid var(--green);
  border-radius: 0 10px 10px 0;
  margin: 24px 0;
}

.tip strong {
  display: block;
  margin-bottom: 5px;
}

.question-list {
  padding-left: 22px;
}

/* Pätička */

footer {
  padding: 27px 0;
  background: #14231c;
  color: #c9d4cd;
  font-size: 0.86rem;
  margin-top: 48px;
}

.foot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* Responzívne zobrazenie */

@media (max-width: 760px) {
  .navlinks a:not(.button) {
    display: none;
  }

  .cards,
  .checklist {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .callout {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding-top: 48px;
  }

  .card {
    min-height: 0;
  }
}