/* Moderní Truhlárna — landing „revize projektu zdarma"
   Brand: jantarová #c1862f (blok „Kuchyně všemi smysly"), zlatá z loga #c7943b,
   černý wordmark. Nadpisy Montserrat 600/700, tělo Inter 400/600.
   Layoutové myšlení podle reference (fluid škála, jeden rytmus sekcí),
   identita Moderní Truhlárna: akcentní tečka, hranaté tlačítka, diagonální řezy. */

/* =========================================================
   1. FONTY (self-hosted)
   ========================================================= */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-latin-ext-400.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, 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-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-latin-ext-600.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-latin-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/montserrat-latin-ext-600.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/montserrat-latin-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/montserrat-latin-ext-700.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/montserrat-latin-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================================
   2. TOKENY
   ========================================================= */

:root {
  /* barvy — vzorkováno: blok „KUCHYNĚ VŠEMI SMYSLY" #c1862f, vykřičník loga #c7943b */
  --ink: #1e1c18;
  --ink-soft: #4a453c;
  --ink-faint: #8b8477;
  --bg: #ffffff;
  --bg-alt: #f6f3ed;
  --bg-dark: #1e1c18;
  --line: #e5e0d6;
  --line-dark: #38342c;
  --accent: #c1862f;
  --accent-hover: #a97526;
  --accent-deep: #8f6320;
  --accent-soft: #f6ecda;
  --chip-bg: #ffe66d;

  /* text na tmavém panelu */
  --paper: #f4f1ea;
  --paper-faint: #b3ada0;

  /* písma */
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Montserrat', 'Inter', system-ui, sans-serif;

  /* rozměry a rytmus */
  --container: 1120px;
  --container-narrow: 720px;
  --prose: 680px;
  --gap-section: clamp(4.5rem, 9vw, 8rem);
  --radius: 4px;
  --radius-lg: 10px;
  --shadow: 0 14px 40px rgba(30, 28, 24, 0.10);
  --shadow-soft: 0 6px 22px rgba(30, 28, 24, 0.07);

  /* výška sticky hlavičky (offset pro kotvy) */
  --header-h: 4.25rem;
}

/* =========================================================
   3. ZÁKLAD
   ========================================================= */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--accent-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

::selection { background: var(--accent-soft); color: var(--ink); }

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

/* programově fokusované nadpisy (kroky formuláře) nemají vypadat jako pole */
h1[tabindex='-1']:focus-visible,
h2[tabindex='-1']:focus-visible,
h3[tabindex='-1']:focus-visible { outline: none; }

/* =========================================================
   4. TYPOGRAFIE
   ========================================================= */

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.16;
  margin: 0 0 0.6em;
  text-wrap: balance;
  letter-spacing: -0.005em;
}

h1 { font-size: clamp(2.3rem, 5.5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 600; }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 600; line-height: 1.3; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

/* značková tečka na konci nadpisu */
.dot { color: var(--accent); }

/* zvýraznění klíčové fráze v hero nadpisu */
.hl { color: var(--accent); }

/* zvýrazněná pointa (samostatná řádka nebo věta uvnitř odstavce) */
.emphasis { font-weight: 600; color: var(--ink); }
.section--dark .emphasis { color: #ffffff; }

/* eyebrow — malý uppercase popisek nad nadpisem sekce.
   Připraveno pro další fázi; prázdný eyebrow nedělá díru v layoutu. */
.eyebrow {
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-deep);
  margin: 0 0 1rem;
}
.eyebrow:empty { display: none; }
.section--dark .eyebrow { color: var(--accent); }

.microtext {
  color: var(--ink-faint);
  font-size: 0.86rem;
  margin-top: 0.75rem;
}

/* =========================================================
   5. LAYOUT A RYTMUS SEKCÍ
   ========================================================= */

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2rem);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--gap-section); }
.section--tight { padding-block: calc(var(--gap-section) * 0.55); }
.section--alt { background: var(--bg-alt); }

.section--dark {
  background: var(--bg-dark);
  color: var(--paper);
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: #ffffff; }
.section--dark .microtext { color: var(--paper-faint); }
.section--dark a { color: var(--accent); }
.section--dark a:hover { color: #ffffff; }

/* textový blok: jedna věta na odstavec je záměr copy — dej tomu rytmus */
.prose { max-width: var(--prose); }
.prose p {
  margin: 0 0 1.15em;
  color: var(--ink-soft);
}
.prose > p:first-of-type {
  font-size: 1.15rem;
  color: var(--ink);
  line-height: 1.6;
}
.section--dark .prose p { color: var(--paper); }

/* nadpisová hlava sekce (eyebrow + h2), centrovaná varianta */
.section-head { margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.section-head--center { text-align: center; }
.section-head--center .prose,
.section-head--center.prose { margin-inline: auto; }

/* =========================================================
   6. CHYBĚJÍCÍ HODNOTY (chipy)
   ========================================================= */

.chip-missing {
  display: inline-block;
  background: var(--chip-bg);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 0 0.45em;
  font-size: 0.82em;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  vertical-align: baseline;
}

/* =========================================================
   7. TLAČÍTKA
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--ink);
  background: var(--accent);
  border-radius: var(--radius);
  min-height: 3.4rem;
  padding: 1rem 2.4rem;
  transition: background 0.16s ease, transform 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.btn:hover { background: var(--accent-hover); color: var(--ink); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--secondary {
  background: transparent;
  border: 1px solid var(--accent-deep);
  color: var(--accent-deep);
}
.btn--secondary:hover { background: var(--accent-soft); color: var(--accent-deep); }
.section--dark .btn--secondary { border-color: var(--accent); color: var(--accent); }
.section--dark .btn--secondary:hover { background: rgba(193, 134, 47, 0.14); color: var(--accent); }

.btn--sm { min-height: 2.7rem; padding: 0.6rem 1.5rem; font-size: 0.82rem; }

.btn--text {
  background: none;
  border: 0;
  min-height: 0;
  padding: 0;
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.btn--text:hover { background: none; color: var(--ink); transform: none; }

.cta-wrap { text-align: center; margin-top: clamp(1.6rem, 4vw, 2.4rem); }

/* =========================================================
   8. IKONY
   ========================================================= */

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  flex-shrink: 0;
}
.icon-badge .icon { width: 1.35rem; height: 1.35rem; }
.section--dark .icon-badge { background: rgba(193, 134, 47, 0.16); color: var(--accent); }

/* =========================================================
   9. KARTY A MŘÍŽKY
   ========================================================= */

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2rem);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-soft); }

/* karty s pořadovým číslem: horní akcentní linka + číslo přes counter */
.num-cards { counter-reset: numcard; list-style: none; margin: 0; padding: 0; }
.num-card { counter-increment: numcard; border-top: 2px solid var(--accent); }
.num-card::before {
  content: counter(numcard, decimal-leading-zero);
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.grid-2 {
  display: grid;
  gap: clamp(0.9rem, 2vw, 1.4rem);
  align-items: stretch;
}
@media (min-width: 700px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

/* řada krátkých položek vedle sebe (výčet rolí, částí interiéru) */
.tag-row {
  list-style: none;
  margin: 0 0 1.4em;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tag {
  display: inline-flex;
  align-items: center;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.5rem 0.95rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.section--alt .tag { background: var(--bg); }

/* krátký strukturovaný výčet uvnitř odstavce (konkrétní příklady) */
.example-list {
  list-style: none;
  margin: 0 0 1.4em;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.example-list li {
  position: relative;
  padding-left: 1.1em;
  color: var(--ink-soft);
}
.example-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* tři krátká tvrzení odlišná od karet: akcentní linka místo rámečku */
.question-row {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.6rem);
  margin: 0 0 1.4em;
}
@media (min-width: 700px) { .question-row { grid-template-columns: repeat(3, 1fr); } }
.question {
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  margin: 0;
}

/* =========================================================
   10. HLAVIČKA, TOPBAR, PATIČKA
   ========================================================= */

.topbar {
  background: var(--bg-dark);
  color: var(--paper);
  text-align: center;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.6rem 1rem;
}
.topbar p { margin: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
}
.site-header .container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-header img { width: clamp(110px, 14vw, 138px); height: auto; }
@media (max-width: 599px) { .header-cta { display: none; } }

/* sticky CTA lišta na mobilu (skrývá se u patičky, řídí app.js) */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: none;
  padding: 0.65rem 0.9rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.sticky-cta .btn { width: 100%; }
.sticky-cta.is-hidden { transform: translateY(110%); opacity: 0; pointer-events: none; }
@media (max-width: 599px) {
  .sticky-cta { display: block; }
  body { padding-bottom: 4.6rem; }
}

.site-footer {
  background: var(--bg-dark);
  color: var(--paper-faint);
  font-size: 0.9rem;
  padding: clamp(2.4rem, 5vw, 3.4rem) 1rem;
  margin-top: var(--gap-section);
}
.site-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  text-align: center;
}
.site-footer img { width: 128px; height: auto; }
.site-footer p { margin: 0; }
.site-footer a { color: var(--paper); }
.site-footer a:hover { color: var(--accent); }

/* =========================================================
   11. FOTKY, RÁMY, PLACEHOLDERY
   ========================================================= */

.frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
}
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.frame:hover img { transform: scale(1.03); }

/* diagonální řez — použít max. 2x na stránce (hero, fotoband Celý dům) */
.cut-bottom { clip-path: polygon(0 0, 100% 0, 100% calc(100% - clamp(1.2rem, 3.5vw, 3rem)), 0 100%); }
.cut-top { clip-path: polygon(0 clamp(1.2rem, 3.5vw, 3rem), 100% 0, 100% 100%, 0 100%); }

/* značkový placeholder chybějící fotky: akcentní rám + diagonální šrafa */
.ph {
  position: relative;
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  background:
    repeating-linear-gradient(-45deg,
      rgba(193, 134, 47, 0.10) 0 10px,
      rgba(193, 134, 47, 0.02) 10px 20px),
    var(--bg);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.2rem;
  margin: 0;
}
.ph figcaption {
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-deep);
  background: var(--bg);
  border: 1px solid var(--accent-soft);
  border-radius: var(--radius);
  padding: 0.45rem 0.8rem;
  max-width: 88%;
}
.ph--portrait { aspect-ratio: 3 / 4; }
.ph--landscape { aspect-ratio: 3 / 2; margin-top: 1.6rem; }

/* =========================================================
   12. VIDEO
   ========================================================= */

.video-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin-bottom: 1.1rem;
}
.video-caption .icon { color: var(--accent-deep); }

.video-box {
  position: relative;
  aspect-ratio: 16 / 9;
  background: radial-gradient(120% 90% at 50% 8%, #33302a 0%, var(--bg-dark) 62%);
  border: 1px solid var(--line-dark);
  outline: 1px solid rgba(193, 134, 47, 0.35);
  outline-offset: -10px;
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}

.video-play {
  width: clamp(66px, 9vw, 86px);
  height: clamp(66px, 9vw, 86px);
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(193, 134, 47, 0.4);
  transition: transform 0.2s ease, background 0.2s ease;
}
.video-box:hover .video-play { transform: scale(1.06); background: var(--accent-hover); }
.video-play::after {
  content: '';
  border-style: solid;
  border-width: 13px 0 13px 22px;
  border-color: transparent transparent transparent var(--ink);
  margin-left: 5px;
}

.video-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.video-frame iframe, .video-frame video { width: 100%; aspect-ratio: 16 / 9; display: block; border: 0; }

/* =========================================================
   13. CITACE
   ========================================================= */

.quote {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 1.9rem);
  overflow: hidden;
}
.quote::before {
  content: '„';
  position: absolute;
  top: -1.4rem;
  right: 0.6rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 7rem;
  line-height: 1;
  color: var(--accent-soft);
  pointer-events: none;
}
.quote p { position: relative; font-size: 1.02rem; color: var(--ink-soft); }
.quote footer {
  position: relative;
  color: var(--ink-faint);
  font-size: 0.9rem;
  margin-top: 0.9rem;
}

/* =========================================================
   14. SCROLL REVEAL (respektuje prefers-reduced-motion)
   ========================================================= */

/* skrývání aktivuje až třída js-reveal na <html> (přidá ji app.js);
   bez JS je všechen obsah normálně viditelný */
html.js-reveal .reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.55s ease, transform 0.55s ease; }
html.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  .frame img, .btn, .video-play { transition: none; }
}

/* =========================================================
   15. HERO
   ========================================================= */

.hero { padding-block: clamp(2.6rem, 6vw, 4.5rem) 0; }
.hero__inner { text-align: center; max-width: 860px; }
.hero h1 { max-width: 820px; margin-inline: auto; }
.hero-sub {
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 640px;
  margin-inline: auto;
}
.hero-sub + .hero-sub { margin-top: 0.35em; }

.hero-media {
  margin-top: clamp(2rem, 5vw, 3.4rem);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}
.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
@media (max-width: 639px) {
  .hero-media img { aspect-ratio: 3 / 2; }
}

/* =========================================================
   16. PROOF — pásmo statistik (3+2)
   ========================================================= */

.stat-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(0.8rem, 1.6vw, 1.2rem);
  align-items: stretch;
}
.stat-card {
  grid-column: span 2;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 2.6vw, 1.8rem);
}
.stat-card:nth-child(4) { grid-column: span 3; }
.stat-card:nth-child(5) { grid-column: span 3; }
.stat-card strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--accent);
  margin-bottom: 0.45rem;
  text-wrap: balance;
}
.stat-card strong .chip-missing { font-size: 0.55em; vertical-align: 0.14em; }
.stat-card p { color: var(--ink-soft); font-size: 0.93rem; margin: 0; }
@media (max-width: 899px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat-card, .stat-card:nth-child(4), .stat-card:nth-child(5) { grid-column: span 1; }
  .stat-card:nth-child(5) { grid-column: span 2; }
}
@media (max-width: 519px) {
  .stat-grid { grid-template-columns: 1fr; }
  .stat-card, .stat-card:nth-child(4), .stat-card:nth-child(5) { grid-column: span 1; }
}

/* =========================================================
   17. BLOK PROBLÉMU
   ========================================================= */

.problem-list { display: grid; gap: clamp(1.1rem, 2.5vw, 1.6rem); }
.problem-list .card { background: var(--bg); }
.problem-list p { color: var(--ink-soft); margin-bottom: 0.9em; }
.problem-list h3 { margin-bottom: 0.8em; }
.problem-outro { margin-top: clamp(1.8rem, 4vw, 2.6rem); }

/* =========================================================
   18. KDO JSEM
   ========================================================= */

.about-split {
  display: grid;
  gap: clamp(1.6rem, 4vw, 3rem);
  margin-bottom: clamp(1.8rem, 4vw, 2.8rem);
  max-width: var(--container-narrow);
}
@media (min-width: 800px) {
  .about-split {
    max-width: none;
    grid-template-columns: minmax(240px, 320px) 1fr;
    align-items: start;
  }
}
/* sloupec textu vpravo od portrétu: prose, mřížka faktů a otázky poskládané pod sebe */
.about-split__text { display: grid; gap: clamp(1.4rem, 3vw, 2rem); }

.img-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.7rem, 1.5vw, 1rem);
}
.img-strip .frame img { aspect-ratio: 4 / 3; }
@media (max-width: 599px) {
  .img-strip { grid-template-columns: 1fr; }
}

/* =========================================================
   19. CO PROJDU
   ========================================================= */

.check-grid { counter-reset: numcard; }
.check-grid .num-card p { color: var(--ink-soft); margin: 0; }

/* =========================================================
   20. CELÝ DŮM — galerie + fotoband
   ========================================================= */

.home-gallery {
  display: grid;
  gap: clamp(0.7rem, 1.5vw, 1rem);
  margin-top: clamp(1.8rem, 4vw, 2.6rem);
}
.home-gallery .frame img { aspect-ratio: 4 / 3; }
@media (min-width: 700px) {
  .home-gallery { grid-template-columns: 2fr 1fr; }
  .home-gallery__main { grid-row: span 2; }
  .home-gallery__main img { height: 100%; aspect-ratio: auto; }
}

.band {
  margin-top: clamp(1.8rem, 4vw, 2.8rem);
  overflow: hidden;
}
.band .frame, .band img {
  width: 100%;
  height: clamp(220px, 34vw, 420px);
  object-fit: cover;
  border-radius: 0;
}
.band .frame { display: block; }

.band--zaver { margin: 0 0 clamp(2.2rem, 5vw, 3.4rem); }
.band--zaver img { height: clamp(180px, 26vw, 320px); width: 100%; object-fit: cover; }

/* =========================================================
   21. ŽELEZNÁ RUDA — case study
   ========================================================= */

.case-hero { display: block; }
.case-hero img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}
@media (max-width: 639px) {
  .case-hero img { aspect-ratio: 3 / 2; }
}
.case-prose { margin-top: clamp(1.8rem, 4vw, 2.6rem); }
#zelezna-ruda .quote { margin-top: clamp(1.4rem, 3vw, 2rem); }
.case-strip { margin-top: clamp(1.4rem, 3vw, 2rem); }

/* =========================================================
   22. JAK PROBÍHÁ — kroky s čísly v kroužku
   ========================================================= */

.steps-flow {
  counter-reset: step;
  list-style: none;
  margin: 0 0 clamp(1.4rem, 3vw, 2rem);
  padding: 0;
  display: grid;
  gap: clamp(1rem, 2vw, 1.4rem);
  position: relative;
}
@media (min-width: 800px) {
  .steps-flow { grid-template-columns: repeat(3, 1fr); }
  /* tenká spojovací linka za kroužky */
  .steps-flow::before {
    content: '';
    position: absolute;
    top: 3.35rem;
    left: 12%;
    right: 12%;
    height: 1px;
    background: var(--line);
  }
}
.step-card {
  counter-increment: step;
  position: relative;
  padding-top: clamp(1.6rem, 3vw, 2rem);
}
.step-card::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--bg);
}
.step-card p { color: var(--ink-soft); }

.prep-card { background: var(--bg-alt); border-color: var(--line); }
.prep-card h3 { margin-bottom: 1rem; }
.prep-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
@media (min-width: 700px) { .prep-list { grid-template-columns: 1fr 1fr; } }
.prep-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.prep-list .icon-badge { width: 2.5rem; height: 2.5rem; background: var(--bg); border: 1px solid var(--line); }

/* =========================================================
   23. TMAVÉ PANELY (háček, CTA)
   ========================================================= */

.dark-panel { text-align: center; }
.dark-panel .prose { margin-inline: auto; }
.section--dark .hl { color: var(--accent); font-weight: 600; }
.section--dark .chip-missing { box-shadow: 0 0 0 3px rgba(255, 230, 109, 0.18); }
.section-cta .btn { min-width: min(100%, 22rem); }

/* =========================================================
   24. ROZPOČET — benefity
   ========================================================= */

.benefit-grid {
  list-style: none;
  margin: clamp(1.6rem, 3vw, 2.2rem) 0 0;
  padding: 0;
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.6rem);
}
@media (min-width: 700px) { .benefit-grid { grid-template-columns: 1fr 1fr; } }
.benefit-grid li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  color: var(--ink-soft);
}
@media (max-width: 699px) {
  .benefit-grid li { padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
  .benefit-grid li:last-child { border-bottom: 0; padding-bottom: 0; }
}

/* =========================================================
   25. REFERENCE
   ========================================================= */

.ref-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.4rem);
  align-items: stretch;
}
@media (min-width: 800px) { .ref-grid { grid-template-columns: 1fr 1fr; } }
.ref-grid .quote { margin: 0; display: flex; flex-direction: column; }
.ref-grid .quote footer { margin-top: auto; padding-top: 0.9rem; }

/* volitelný obrázkový pruh v kartě reference — prázdný se nevykresluje */
.quote-media { margin: -1.6rem -1.6rem 1.2rem; }
.quote-media:empty { display: none; margin: 0; }
.quote-media img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* =========================================================
   26. FAQ
   ========================================================= */

.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1.02rem;
  padding: 1.15rem 2.6rem 1.15rem 0.4rem;
  position: relative;
  transition: color 0.15s ease;
}
.faq-list summary:hover { color: var(--accent-deep); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-mark {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  translate: 0 -50%;
  width: 1.15rem;
  height: 1.15rem;
  color: var(--accent);
  transition: rotate 0.2s ease;
}
.faq-list details[open] > summary .faq-mark { rotate: 45deg; }
.faq-list details[open] {
  background: linear-gradient(0deg, transparent, var(--accent-soft) 160%);
}
.faq-list details p {
  color: var(--ink-soft);
  padding: 0 0.4rem 1.2rem;
  max-width: 62ch;
}

/* =========================================================
   27. ZÁVĚR
   ========================================================= */

.zaver { padding-top: 0; }
.zaver__inner { text-align: center; }
.prose--center { margin-inline: auto; }
.prose--center p { text-align: center; }

/* =========================================================
   28. PŘEPÍNAČ HERO VARIANT (jen mockup)
   ========================================================= */

.variant-switcher {
  position: fixed;
  left: 0.9rem;
  bottom: 0.9rem;
  z-index: 50;
  display: flex;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.28rem;
  box-shadow: var(--shadow-soft);
}
@media (max-width: 599px) {
  .variant-switcher { bottom: 5.1rem; }
}
.variant-switcher a {
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: calc(var(--radius) - 1px);
  text-decoration: none;
  color: var(--ink-soft);
  text-transform: uppercase;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
}
.variant-switcher a.active { background: var(--ink); color: #fff; }

/* =========================================================
   29. LIGHTBOX
   ========================================================= */

.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(94vw, 1200px);
  max-height: 92dvh;
}
.lightbox::backdrop { background: rgba(20, 18, 15, 0.86); }
.lightbox img {
  max-width: min(94vw, 1200px);
  max-height: 84dvh;
  width: auto;
  height: auto;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.lightbox__btn {
  position: fixed;
  appearance: none;
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transition: background 0.15s ease;
}
.lightbox__btn:hover { background: var(--accent); color: var(--ink); }
.lightbox__btn .icon { width: 1.3rem; height: 1.3rem; }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 1rem; top: 50%; translate: 0 -50%; }
@media (max-width: 639px) {
  .lightbox__prev { left: 0.4rem; }
  .lightbox__next { right: 0.4rem; }
}

/* =========================================================
   30. FORMULÁŘOVÝ MODÁL
   ========================================================= */

#lead-modal {
  border: 0;
  padding: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: min(580px, 94vw);
  max-height: min(92dvh, 48rem);
  color: var(--ink);
  background: var(--bg);
}
#lead-modal::backdrop { background: rgba(24, 22, 18, 0.6); }

body:has(#lead-modal[open]) { overflow: hidden; }

.modal-inner { display: flex; flex-direction: column; max-height: inherit; }

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.1rem 0.95rem 1.5rem;
  border-bottom: 1px solid var(--line);
  min-height: 3.5rem;
}

.progress-area { flex: 1; display: flex; align-items: center; gap: 1rem; }
.progress-label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
  color: var(--ink-soft);
}
.progress-track {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}
.progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.modal-close {
  appearance: none;
  border: 0;
  background: transparent;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--ink-faint);
  cursor: pointer;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius);
  margin-left: auto;
}
.modal-close:hover { color: var(--ink); background: var(--bg-alt); }

.modal-body {
  overflow-y: auto;
  padding: clamp(1.4rem, 4vw, 2rem);
}

.form-screen { display: none; }
.form-screen.is-active { display: block; animation: step-in 0.28s ease; }
.form-screen h2 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
.form-screen > p { color: var(--ink-soft); }

@keyframes step-in {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: none; }
}
.form-screen.is-active.going-back { animation-name: step-back; }
@keyframes step-back {
  from { opacity: 0; transform: translateX(-14px); }
  to { opacity: 1; transform: none; }
}

.form-eyebrow {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-deep);
  margin-bottom: 0.55rem;
}

/* volby jako klikací karty */
.options { display: grid; gap: 0.6rem; margin: 1.1rem 0 0.4rem; }

.option {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 0.9rem 1.05rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.option:hover { border-color: var(--ink-faint); }
.option:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.option:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.option-body { flex: 1; }
.option-title { display: block; font-weight: 600; line-height: 1.4; }
.option-desc { display: block; color: var(--ink-soft); font-size: 0.9rem; margin-top: 0.15rem; }

.option-check {
  width: 1.3rem;
  height: 1.3rem;
  color: var(--accent-deep);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.option:has(input:checked) .option-check { opacity: 1; transform: none; }

.options.invalid .option { border-color: var(--accent-deep); background: var(--accent-soft); }

.mini-fieldset {
  border: 0;
  padding: 0;
  margin: 1.6rem 0 0;
}
.mini-fieldset legend { font-weight: 600; padding: 0; margin-bottom: 0.2rem; line-height: 1.45; }

.form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.8rem;
}
.form-nav .btn { margin-left: auto; }

.btn-back {
  appearance: none;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 600;
  color: var(--ink-faint);
  cursor: pointer;
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius);
}
.btn-back:hover { color: var(--ink); background: var(--bg-alt); }

/* pole kontaktu */
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-weight: 600; font-size: 0.94rem; margin-bottom: 0.35rem; }
.field-hint { color: var(--ink-faint); font-size: 0.86rem; margin: -0.2rem 0 0.45rem; }
.field input[type='text'],
.field input[type='tel'],
.field input[type='email'],
.field textarea {
  width: 100%;
  min-height: 3rem;
  font: inherit;
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 0.7rem 0.9rem;
  background: var(--bg);
}
.field input:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 0;
  border-color: var(--accent);
}
.field input[type='file'] { font-size: 0.9rem; color: var(--ink-soft); width: 100%; }
.field input[type='file']::file-selector-button {
  font: inherit;
  font-weight: 600;
  color: var(--accent-deep);
  background: var(--bg);
  border: 1px solid var(--accent-deep);
  border-radius: var(--radius);
  padding: 0.5rem 1rem;
  margin-right: 0.8rem;
  cursor: pointer;
}

.consent-note { font-size: 0.84rem; color: var(--ink-faint); margin-top: 1.2rem; }

.checkbox-row {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.84rem;
  color: var(--ink-soft);
  cursor: pointer;
  margin-top: 0.7rem;
}
.checkbox-row input { accent-color: var(--accent-deep); margin-top: 0.2rem; flex-shrink: 0; }

.form-error { color: #9c4a30; font-size: 0.92rem; margin-top: 0.9rem; }

/* diskvalifikační obrazovky: klidné, důstojné, bez varovné červené */
.form-screen-disq { text-align: center; padding-top: 0.6rem; }
.form-screen-disq .disq-badge { margin-bottom: 1.1rem; }
.form-screen-disq p { text-align: center; max-width: 44ch; margin-inline: auto; }
.form-screen-disq p:not(:last-of-type) { margin-bottom: 0.9em; }
.form-screen-disq .form-nav { justify-content: center; }
.form-screen-disq .form-nav .btn { margin-left: 0; }

/* mobil: modál přes celou obrazovku, navigace sticky dole */
@media (max-width: 639px) {
  #lead-modal {
    width: 100vw;
    height: 100dvh;
    max-height: none;
    max-width: none;
    margin: 0;
    border-radius: 0;
  }
  .modal-inner { height: 100dvh; max-height: none; }
  .modal-body { flex: 1; padding-bottom: 0; }
  .form-nav {
    position: sticky;
    bottom: 0;
    background: var(--bg);
    padding: 0.8rem 0 calc(0.8rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    margin-top: 1.4rem;
  }
}

/* =========================================================
   31. DĚKOVACÍ STRÁNKA A ZÁSADY
   ========================================================= */

.site-header--center { justify-content: center; }

.dekujeme-inner { text-align: center; }
.dekujeme-inner h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); }
.dekujeme-inner > p { color: var(--ink-soft); }
.page-dekujeme .video-box,
.page-dekujeme .video-frame { margin-top: clamp(1.6rem, 4vw, 2.4rem); }

/* telefonní číslo jako značkový prvek */
.phone-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  background: var(--accent-soft);
  padding: clamp(1.4rem, 3.5vw, 2rem);
  margin-top: clamp(1.6rem, 4vw, 2.4rem);
}
.phone-panel .icon-badge { background: var(--bg); }
.phone-big {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 4.5vw, 2.1rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0;
}
.phone-big .tel-link { color: var(--ink); text-decoration: none; }
.phone-big .tel-link:hover { color: var(--accent-deep); }
.phone-big .chip-missing { font-size: 0.6em; vertical-align: 0.2em; }

.page-dekujeme .prep-card { text-align: left; margin-top: clamp(1.6rem, 4vw, 2.4rem); }
.prep-title { font-size: 1.1rem; margin-bottom: 1rem; }
.page-dekujeme .site-footer { margin-top: calc(var(--gap-section) * 0.5); }

/* zásady */
.legal h1 { font-size: clamp(1.7rem, 3.8vw, 2.3rem); }
.legal h2 { font-size: 1.12rem; margin-top: 2.2rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 1.3rem; }
