/* Tišnov podniká – styly webu */

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("fonts/newsreader-latin-ext-opsz-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("fonts/newsreader-latin-opsz-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 300 800;
  src: url("fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 300 800;
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #142621;
  --green: #1f5c4a;
  --green-deep: #173f34;
  --river: #2f7f8a;
  --sage: #a9c9b8;
  --mist: #dbe8e0;
  --paper: #f7f4ec;
  --card: #fffdf8;
  --amber: #e0a43a;
  --amber-deep: #b97f1c;
  --amber-light: #f3c46e;
  --muted: #55665f;
  --line: #e2ddd0;
  --radius: 14px;
  --wrap: 1120px;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-deep); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--card); padding: 8px 14px; z-index: 100; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 620; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase;
  color: var(--river); margin-bottom: .9rem;
}

/* Tlačítka */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  background: var(--amber); color: var(--ink);
  font-weight: 650; font-size: 1.02rem; text-decoration: none;
  padding: .85em 1.4em; border-radius: 999px; border: 0;
  box-shadow: 0 2px 0 var(--amber-deep);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { color: var(--ink); background: #e8b14f; transform: translateY(-1px); box-shadow: 0 3px 0 var(--amber-deep); }
.btn svg { width: 18px; height: 18px; }
.btn--small { font-size: .92rem; padding: .6em 1.1em; }
.btn--ghost { background: transparent; box-shadow: inset 0 0 0 2px var(--green); color: var(--green); }
.btn--ghost:hover { background: var(--green); color: var(--paper); box-shadow: inset 0 0 0 2px var(--green); }

/* Hlavička */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 236, .92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand svg { width: 36px; height: 36px; flex: none; }
.brand span { font-family: var(--serif); font-weight: 650; font-size: 1.22rem; letter-spacing: -.01em; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { color: var(--muted); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--ink); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 64px 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: end; }
.hero h1 em { font-style: normal; color: var(--green); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 1.6rem; }
.counter {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .98rem; color: var(--muted);
}
.counter strong { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); font-weight: 650; }
.counter .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--river); box-shadow: 0 0 0 4px rgba(47,127,138,.18); }

.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.facts li {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 18px; display: flex; align-items: baseline; gap: 12px;
}
.facts b { font-family: var(--serif); font-size: 1.6rem; font-weight: 650; color: var(--green); min-width: 2.4em; }
.facts span { color: var(--muted); font-size: .95rem; line-height: 1.35; }

.landscape {
  margin-top: 40px;
  width: 100%;
  height: auto;
  min-height: 170px;
}

/* Sekce */
section { padding: 88px 0; }
.section--tint { background: var(--mist); }
.section--dark { background: var(--green-deep); color: var(--paper); }
.section--dark .eyebrow { color: var(--amber); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section--dark .section-head p { color: #c9d9d1; }

.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.why p { font-size: 1.12rem; }
.why .quote {
  font-family: var(--serif); font-size: clamp(1.45rem, 2.6vw, 1.9rem); line-height: 1.3;
  color: var(--green-deep); border-left: 4px solid var(--amber); padding-left: 22px; margin: 0;
}

/* Karty přínosů */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px 24px; display: flex; flex-direction: column; gap: 10px;
}
.card .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--mist); display: grid; place-items: center; color: var(--green); }
.card .icon svg { width: 24px; height: 24px; }
.card .when { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--river); margin-top: 6px; }
.card h3 { margin: 0; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); font-size: .97rem; }

/* Časová osa */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.steps li { position: relative; padding: 0 18px 0 0; counter-increment: s; }
.steps li::before {
  content: counter(s); display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--amber); color: var(--ink); font-family: var(--serif); font-weight: 700; font-size: 1.15rem;
  position: relative; z-index: 1; margin-bottom: 16px;
}
.steps li::after { content: ""; position: absolute; top: 21px; left: 42px; right: 0; height: 2px; background: rgba(247,244,236,.25); }
.steps li:last-child::after { display: none; }
.steps .t { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.steps h3 { margin: 4px 0 6px; color: var(--paper); }
.steps p { color: #c9d9d1; font-size: .96rem; margin: 0; }

/* Pro koho */
.who { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 16px; font-weight: 550; font-size: .97rem;
}
.chips li svg { width: 18px; height: 18px; color: var(--river); }

/* Formulář */
.form-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 18px 40px -24px rgba(20, 38, 33, .35);
  padding: 12px; max-width: 820px; margin: 0 auto;
}
.form-card iframe { width: 100%; height: 1650px; border: 0; border-radius: 12px; }
.form-placeholder {
  border: 2px dashed var(--sage); border-radius: 12px; padding: 56px 24px; text-align: center; color: var(--muted);
}
.form-placeholder h3 { color: var(--ink); }
.form-open { text-align: center; margin: 14px 0 0; font-size: .95rem; }
.form-note { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 16px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--serif); font-size: 1.2rem; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px;
  border-right: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--muted); padding-right: 44px; margin: -6px 0 22px; }

/* Tým */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.people { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.people li { display: flex; align-items: center; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
.people .avatar-img {
  width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none;
  box-shadow: 0 0 0 3px var(--card), 0 0 0 5px var(--sage);
}
.people li:nth-child(1) .avatar-img { box-shadow: 0 0 0 3px var(--card), 0 0 0 5px var(--amber); }
.avatar {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--green); color: var(--paper); font-family: var(--serif); font-weight: 650; font-size: 1.15rem;
}
.people li:nth-child(2) .avatar { background: var(--river); }
.people li:nth-child(3) .avatar { background: var(--amber); color: var(--ink); }
.people b { display: block; font-size: 1.05rem; }
.people small { color: var(--muted); font-size: .9rem; }

/* CTA pás */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 18em; margin-left: auto; margin-right: auto; }
.cta-band p { color: #c9d9d1; max-width: 34em; margin: 0 auto 1.6em; }

/* Patička */
.site-footer { background: var(--ink); color: #b8c6bf; padding: 44px 0; font-size: .93rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 40px; }
.site-footer a { color: var(--paper); }
.site-footer .brand span { color: var(--paper); font-size: 1.1rem; }
.site-footer p { margin: .4em 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }

/* Textová podstránka */
.prose { max-width: 760px; margin: 0 auto; padding: 56px 20px 88px; }
.prose h1 { font-size: clamp(2rem, 4.5vw, 2.9rem); }
.prose h2 { font-size: 1.45rem; margin-top: 2em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose .meta { color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: .95rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 650; background: var(--mist); }
.todo { background: #fff3d6; border: 1px solid #f0d28f; border-radius: 6px; padding: 0 6px; }

/* Responzivita */
@media (max-width: 960px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .steps li:nth-child(2)::after { display: none; }
}
@media (max-width: 800px) {
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .hero { padding-top: 40px; }
  .hero-grid, .why, .who, .team { grid-template-columns: 1fr; gap: 32px; }
  .nav a:not(.btn) { display: none; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .facts li { flex-direction: column; gap: 2px; padding: 12px 14px; }
  .facts b { font-size: 1.35rem; min-width: 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li::after { display: none; }
  .facts { grid-template-columns: 1fr; }
  .facts li { flex-direction: row; align-items: baseline; gap: 12px; }
  .brand span { font-size: 1.08rem; }
  .form-card { padding: 6px; border-radius: 14px; }
  .form-card iframe { height: 1900px; }
  .faq summary { font-size: 1.08rem; }
  .prose table { display: block; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}