/* ===========================================================
   ForagerCo — rodinné financie
   Paleta: hlboký les, prírodná zelená, jantárová lampáš-akcent
   =========================================================== */

:root {
  --ink: #061109;
  --forest: #0B1D13;
  --forest-2: #102A1B;
  --moss: #173A25;
  --bark: #2A4632;
  --lichen: #7FB069;
  --fern: #A9D08A;
  --sap: #D7E8C4;
  --birch: #ECF3E8;
  --stone: #9DB09E;
  --lantern: #E0A458;
  --line: rgba(169, 208, 138, 0.18);
  --line-soft: rgba(169, 208, 138, 0.10);

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --wrap: 1180px;
  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;
  --shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.85);
  --pad-section: clamp(64px, 9vw, 128px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background-color: var(--forest);
  background-image:
    radial-gradient(1100px 620px at 82% -8%, rgba(127, 176, 105, 0.16), transparent 62%),
    radial-gradient(900px 520px at 4% 20%, rgba(23, 58, 37, 0.75), transparent 70%);
  color: var(--birch);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--fern); text-decoration: none; }
a:hover { color: var(--sap); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 5.6vw, 4.15rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.85rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { margin: 0 0 1.1em; color: #D3E2D2; }

ul { margin: 0 0 1.1em; padding-left: 1.15rem; }
li { margin-bottom: 0.45em; color: #D3E2D2; }

:focus-visible {
  outline: 2px solid var(--lantern);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

.section { padding: var(--pad-section) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--rule { border-top: 1px solid var(--line-soft); }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lichen);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--lichen);
  flex: none;
}

.lead { font-size: clamp(1.02rem, 1.5vw, 1.16rem); color: #C9DCC8; max-width: 62ch; }

.head-block { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--lichen);
  color: var(--ink);
  padding: 10px 18px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Tlačidlá ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  text-align: center;
}
.btn--primary { background: var(--lichen); color: #05130B; }
.btn--primary:hover { background: var(--fern); color: #05130B; transform: translateY(-2px); }
.btn--ghost { border-color: var(--line); color: var(--birch); background: rgba(255, 255, 255, 0.02); }
.btn--ghost:hover { border-color: var(--lichen); color: var(--sap); transform: translateY(-2px); }
.btn--lantern { background: var(--lantern); color: #241503; }
.btn--lantern:hover { background: #EDB771; transform: translateY(-2px); }
.btn--wide { width: 100%; }
.btn--sm { padding: 11px 20px; font-size: 0.88rem; }

/* ---------- Hlavička ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(6, 17, 9, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--birch); }
.brand:hover { color: var(--birch); }
.brand svg { flex: none; }
.brand-name {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.05;
}
.brand-sub {
  display: block;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lichen);
}

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  color: #CBDCC9;
  font-size: 0.93rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--lichen);
  transition: width 0.25s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone {
  font-family: var(--mono);
  font-size: 0.86rem;
  color: var(--sap);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--birch);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { top: -6px; left: 0; transform: none; }
.nav-toggle span::after { top: 6px; left: 0; transform: none; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg) translate(4px, 4px); }
.nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg) translate(4px, -4px); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero-contours {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.42;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(32px, 5vw, 66px);
  align-items: center;
}
.hero h1 span { color: var(--fern); font-style: italic; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 34px; }

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.fact-value {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  color: var(--birch);
  line-height: 1;
}
.fact-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 8px;
  display: block;
}

.hero-visual { position: relative; }
.hero-photo {
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute;
  left: -18px;
  bottom: 32px;
  background: rgba(6, 17, 9, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 18px 22px;
  max-width: 250px;
  backdrop-filter: blur(6px);
}
.hero-badge strong {
  font-family: var(--display);
  font-size: 1.55rem;
  color: var(--lantern);
  display: block;
  line-height: 1;
}
.hero-badge span {
  font-size: 0.82rem;
  color: var(--stone);
  display: block;
  margin-top: 8px;
  line-height: 1.45;
}

/* ---------- Karty ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
}
.card {
  background: linear-gradient(170deg, rgba(23, 58, 37, 0.55), rgba(11, 29, 19, 0.55));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  padding: 30px 28px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.card:hover { border-color: var(--line); transform: translateY(-4px); }
.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 0; font-size: 0.95rem; }
.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(127, 176, 105, 0.12);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.card-list { margin: 16px 0 0; padding-left: 1.05rem; }
.card-list li { font-size: 0.92rem; }

/* ---------- Trasa (signature) ---------- */
.trail { position: relative; }
.trail-track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.trail-stops {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.stop {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  position: relative;
}
.stop::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--forest);
  border: 2px solid var(--lichen);
}
.stop:nth-child(even) { margin-top: 54px; }
.stop-no {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--lantern);
  display: block;
  margin-bottom: 12px;
}
.stop h3 { font-size: 1.22rem; }
.stop p { font-size: 0.93rem; margin-bottom: 0; }
.stop-meta {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--stone);
  margin-top: 14px;
  display: block;
}

/* ---------- Split blok ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}
.split-media {
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 5 / 4;
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }

.check-list { list-style: none; padding: 0; margin: 22px 0 0; }
.check-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 14px;
  font-size: 0.97rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--lichen);
  background:
    linear-gradient(45deg, transparent 46%, var(--lichen) 46%, var(--lichen) 54%, transparent 54%),
    linear-gradient(-45deg, transparent 46%, var(--lichen) 46%, var(--lichen) 54%, transparent 54%);
  background-size: 11px 11px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---------- Cenník ---------- */
.price-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(6, 17, 9, 0.5);
  margin-bottom: 34px;
}
.price-switch button {
  font-family: var(--body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--stone);
  background: transparent;
  border: 0;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.price-switch button[aria-pressed="true"] { background: var(--lichen); color: #05130B; }

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}
.plan {
  background: linear-gradient(170deg, rgba(23, 58, 37, 0.5), rgba(11, 29, 19, 0.6));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.plan--featured {
  border-color: rgba(224, 164, 88, 0.5);
  background: linear-gradient(170deg, rgba(35, 72, 44, 0.7), rgba(11, 29, 19, 0.7));
  position: relative;
}
.plan-tag {
  position: absolute;
  top: -13px;
  left: 28px;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--lantern);
  color: #241503;
  padding: 5px 12px;
  border-radius: 999px;
}
.plan h3 { margin-bottom: 4px; }
.plan-for { font-family: var(--mono); font-size: 0.74rem; color: var(--lichen); letter-spacing: 0.1em; text-transform: uppercase; }
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 22px 0 4px;
  font-family: var(--display);
}
.plan-amount { font-size: 2.85rem; line-height: 1; color: var(--birch); }
.plan-period { font-family: var(--mono); font-size: 0.8rem; color: var(--stone); }
.plan-note { font-size: 0.83rem; color: var(--stone); margin-bottom: 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; }
.plan ul li {
  font-size: 0.93rem;
  padding: 11px 0 11px 26px;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
}
.plan ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 9px;
  height: 9px;
  border-radius: 2px 9px 2px 9px;
  background: var(--lichen);
}
.plan .btn { margin-top: auto; }

.price-table-wrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--radius-m); }
table.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  font-size: 0.94rem;
}
.price-table th,
.price-table td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.price-table th {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lichen);
  background: rgba(23, 58, 37, 0.4);
}
.price-table td:last-child { font-family: var(--mono); color: var(--sap); white-space: nowrap; }
.price-table tr:last-child td { border-bottom: 0; }

.price-notes {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.price-note {
  border-left: 2px solid var(--lichen);
  padding-left: 16px;
  font-size: 0.9rem;
  color: #C4D6C3;
}

/* ---------- Príbehy ---------- */
.story {
  background: rgba(11, 29, 19, 0.55);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
}
.story blockquote { margin: 0 0 22px; font-size: 0.98rem; color: #D6E5D4; }
.story blockquote::before { content: "„"; font-family: var(--display); font-size: 2.2rem; color: var(--lichen); display: block; line-height: 0.6; margin-bottom: 12px; }
.story-person { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.story-person img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.story-person strong { display: block; font-size: 0.95rem; }
.story-person span { font-family: var(--mono); font-size: 0.72rem; color: var(--stone); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--birch);
  font-family: var(--display);
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
  text-align: left;
  padding: 24px 44px 24px 0;
  cursor: pointer;
  position: relative;
}
.faq-q::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--lichen);
  border-bottom: 2px solid var(--lichen);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s ease;
}
.faq-q[aria-expanded="true"]::after { transform: translateY(-30%) rotate(-135deg); }
.faq-a { display: none; padding: 0 0 24px; }
.faq-a p { margin-bottom: 0; font-size: 0.96rem; }
.faq-item.is-open .faq-a { display: block; }

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.form-card {
  background: linear-gradient(170deg, rgba(23, 58, 37, 0.5), rgba(11, 29, 19, 0.65));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  padding: clamp(26px, 3.5vw, 38px);
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lichen);
  margin-bottom: 9px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(6, 17, 9, 0.6);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  color: var(--birch);
  font-family: var(--body);
  font-size: 0.97rem;
  padding: 14px 16px;
  transition: border-color 0.2s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--lichen); outline: none; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--lichen) 50%), linear-gradient(135deg, var(--lichen) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.field select option { background: var(--forest); color: var(--birch); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-error { display: none; color: #F0A9A0; font-size: 0.82rem; margin-top: 7px; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #C97C72; }
.field.has-error .field-error { display: block; }

.consent { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 24px; }
.consent input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--lichen); }
.consent label { font-size: 0.85rem; color: #C4D6C3; font-family: var(--body); letter-spacing: 0; text-transform: none; }

.form-status {
  display: none;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: var(--radius-s);
  border: 1px solid var(--lichen);
  background: rgba(127, 176, 105, 0.12);
  font-size: 0.93rem;
  color: var(--sap);
}
.form-status.is-visible { display: block; }

.contact-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  overflow: hidden;
}
.contact-card img { width: 100%; height: 210px; object-fit: cover; }
.contact-body { padding: 28px; }
.contact-item { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line-soft); }
.contact-item:last-child { border-bottom: 0; }
.contact-item svg { flex: none; margin-top: 3px; }
.contact-item span { display: block; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); margin-bottom: 4px; }
.contact-item strong { font-weight: 500; font-size: 0.98rem; color: var(--birch); }
.contact-item a { color: var(--birch); }
.contact-item a:hover { color: var(--fern); }

/* ---------- Pás s CTA ---------- */
.band {
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(30px, 4vw, 48px);
  background: linear-gradient(120deg, rgba(23, 58, 37, 0.85), rgba(6, 17, 9, 0.6));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.band h2 { margin-bottom: 8px; }
.band p { margin-bottom: 0; max-width: 52ch; }

/* ---------- Pätička ---------- */
.site-footer {
  border-top: 1px solid var(--line-soft);
  background: rgba(4, 12, 7, 0.6);
  padding: clamp(48px, 6vw, 76px) 0 34px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 34px;
  margin-bottom: 44px;
}
.footer-grid h4 {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lichen);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #C4D6C3; font-size: 0.92rem; }
.footer-links a:hover { color: var(--sap); }
.footer-about p { font-size: 0.92rem; color: #B6C9B6; }
.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--stone);
}
.footer-disclaimer {
  font-size: 0.82rem;
  color: var(--stone);
  border-left: 2px solid var(--bark);
  padding-left: 16px;
  margin-bottom: 30px;
  max-width: 78ch;
}

/* ---------- Cookie lišta ---------- */
.cookie-bar {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 120;
  max-width: 940px;
  margin-inline: auto;
  background: rgba(6, 17, 9, 0.97);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 24px 26px;
  box-shadow: var(--shadow);
  display: none;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-bar.is-visible { display: flex; }
.cookie-text { flex: 1 1 340px; }
.cookie-text h3 { font-size: 1.1rem; margin-bottom: 6px; }
.cookie-text p { font-size: 0.88rem; margin-bottom: 0; }
.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Právne stránky ---------- */
.page-hero {
  padding: clamp(52px, 7vw, 92px) 0 clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero p { max-width: 66ch; }
.doc { max-width: 820px; padding: clamp(40px, 5vw, 66px) 0 clamp(60px, 8vw, 96px); }
.doc h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin-top: 46px; }
.doc h2:first-of-type { margin-top: 0; }
.doc h3 { font-size: 1.1rem; margin-top: 28px; }
.doc p, .doc li { font-size: 0.98rem; }
.doc-meta {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--stone);
  letter-spacing: 0.08em;
  margin-bottom: 34px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
}
.doc-box {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 24px 26px;
  background: rgba(23, 58, 37, 0.35);
  margin: 28px 0;
}
.doc-box p:last-child { margin-bottom: 0; }
.doc-toc { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.doc-toc li { margin: 0; }
.doc-toc a {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.78rem;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #C4D6C3;
}
.doc-toc a:hover { border-color: var(--lichen); color: var(--sap); }

/* ---------- Odhalenie pri scrollovaní ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Späť hore ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(6, 17, 9, 0.9);
  color: var(--fern);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 80;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ---------- Responzivita ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; }
  .hero-badge { left: auto; right: 18px; }
  .trail-stops { grid-template-columns: repeat(2, 1fr); gap: 30px 26px; }
  .stop:nth-child(even) { margin-top: 0; }
  .trail-track { display: none; }
  .plans { grid-template-columns: 1fr; max-width: 560px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-phone { display: none; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 76px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(6, 17, 9, 0.985);
    border-bottom: 1px solid var(--line);
    padding: 10px 20px 26px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line-soft); font-size: 1rem; }
  .nav a::after { display: none; }
  .header-cta .btn { display: none; }
  .split { grid-template-columns: 1fr; }
  .split-media { order: -1; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .hero-facts { grid-template-columns: 1fr; gap: 14px; }
  .trail-stops { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-badge { position: static; margin-top: 16px; max-width: none; }
  .cookie-bar { left: 12px; right: 12px; bottom: 12px; padding: 20px; }
  .cookie-actions .btn { flex: 1 1 100%; }
  .band { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
