/* ========================================================
   Normální návody — normalninavody.cz
   Čisté, modulární CSS bez preprocesoru.
   Připraveno na Cloudflare Pages / Netlify.
   ======================================================== */

/* ---------- Fonty (lokální, fungují i při otevření index.html) ---------- */
@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/fonts/SpaceGrotesk-VariableFont_wght.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../assets/fonts/SourceSans3-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../assets/fonts/SourceSans3-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  --ink: #16212B;
  --ink-soft: #2A3844;
  --muted: #5C656E;
  --terracotta: #C85A32;
  --terracotta-dark: #9A3F1C;
  --terracotta-soft: #F8ECE5;
  --cream: #F7F3EC;
  --cream-deep: #EDE6DA;
  --paper: #FFFDF8;
  --white: #FFFFFF;
  --sage: #3B6E5C;
  --sage-dark: #2C5446;
  --sage-soft: #E4EFE9;
  --border: #D9D0C3;
  --border-strong: #C9BDAE;
  --shadow-sm: 0 1px 2px rgba(22, 33, 43, 0.05), 0 4px 12px rgba(22, 33, 43, 0.04);
  --shadow-md: 0 8px 24px rgba(22, 33, 43, 0.08), 0 2px 6px rgba(22, 33, 43, 0.04);
  --shadow-lg: 0 18px 50px rgba(22, 33, 43, 0.14), 0 4px 14px rgba(22, 33, 43, 0.06);
  --shadow-paper: 0 20px 50px rgba(22, 33, 43, 0.16), 0 6px 16px rgba(22, 33, 43, 0.08);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --font-display: "Space Grotesk", "Segoe UI", "Helvetica Neue", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", "Liberation Sans", "Helvetica Neue", sans-serif;
  --container: 1160px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --focus: 0 0 0 3px var(--cream), 0 0 0 6px var(--terracotta);
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.005em;
  min-height: 100vh;
}

body.is-locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

::selection {
  background: var(--terracotta);
  color: var(--cream);
}

:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 200;
  padding: 0.65rem 1rem;
  background: var(--ink);
  color: var(--cream);
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 6.25rem 0;
}

.section-alt {
  background: var(--paper);
  border-block: 1px solid var(--border);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.75rem;
}

.section-head h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
}

.section-head .lede {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 1.15rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.05rem;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease), transform 0.2s var(--ease),
              box-shadow 0.2s var(--ease);
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--terracotta);
  color: var(--cream);
  box-shadow: 0 8px 18px rgba(200, 90, 50, 0.22);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--terracotta-dark);
  box-shadow: 0 10px 22px rgba(154, 63, 28, 0.28);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--ink);
  background: var(--white);
}

.btn-ghost {
  background: var(--white);
  color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--sage);
  color: var(--sage-dark);
}

.btn-sage {
  background: var(--sage);
  color: var(--cream);
  box-shadow: 0 8px 18px rgba(59, 110, 92, 0.22);
}
.btn-sage:hover,
.btn-sage:focus-visible { background: var(--sage-dark); }

.btn-block { width: 100%; }
.btn[disabled],
.btn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* ---------- Header / navigace ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--header-h);
  background: rgba(247, 243, 236, 0.86);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(247, 243, 236, 0.94);
  box-shadow: 0 8px 24px rgba(22, 33, 43, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 11px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(22, 33, 43, 0.18);
}
.brand-mark svg { width: 100%; height: 100%; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  border-radius: 10px;
  flex-shrink: 0;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.8px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
  list-style: none;
}

.site-nav a:not(.btn) {
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 0.25rem 0;
  position: relative;
}
.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1.5px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s var(--ease);
}
.site-nav a:not(.btn):hover,
.site-nav a:not(.btn):focus-visible { color: var(--ink); }
.site-nav a:not(.btn):hover::after,
.site-nav a:not(.btn):focus-visible::after { transform: scaleX(1); }

.btn-nav { min-height: 2.65rem; padding: 0.5rem 1.15rem; font-size: 0.95rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 4.25rem 0 5.5rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  right: -8%;
  top: -20%;
  width: 58%;
  height: 120%;
  background:
    radial-gradient(ellipse at 60% 40%, rgba(200, 90, 50, 0.13), transparent 58%),
    radial-gradient(ellipse at 30% 80%, rgba(59, 110, 92, 0.12), transparent 55%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 3.5rem 4rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.35rem, 5.1vw, 3.85rem);
  letter-spacing: -0.045em;
  max-width: 13.5em;
}

.hero-copy .hero-lede {
  margin-top: 1.35rem;
  max-width: 34rem;
  font-size: 1.2rem;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.35rem;
  margin-top: 1.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.hero-meta svg {
  width: 18px;
  height: 18px;
  color: var(--sage);
  flex-shrink: 0;
}

/* A4 stack mockup */
.hero-visual {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 18px;
}

.paper-stack {
  position: relative;
  width: min(340px, 100%);
  aspect-ratio: 1 / 1.414;
  z-index: 1;
}

.sheet-back,
.sheet-mid {
  position: absolute;
  inset: 0;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 6px 14px 6px 6px;
  box-shadow: var(--shadow-md);
}
.sheet-back {
  background: #EEF4F0;
  transform: rotate(7.5deg) translate(18px, 8px);
}
.sheet-mid {
  background: #FBF3EC;
  transform: rotate(3.2deg) translate(8px, 4px);
}
.sheet-label {
  position: absolute;
  top: 18px;
  left: 18px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.sheet-front {
  position: absolute;
  inset: 0;
  background: var(--paper);
  border: 1px solid var(--border-strong);
  border-radius: 4px 16px 4px 4px;
  box-shadow: var(--shadow-paper);
  overflow: hidden;
  transform: rotate(-2.2deg);
  display: flex;
  flex-direction: column;
  padding: 18px 18px 16px;
}

.sheet-corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, transparent 49.5%, var(--terracotta) 50%);
}
.sheet-corner::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-style: solid;
  border-width: 0 28px 28px 0;
  border-color: transparent var(--cream) transparent transparent;
  /* folded flap illusion is handled by the parent being on cream;
     inner triangle: */
  display: none;
}

.sheet-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  padding-right: 20px;
}
.sheet-brand img {
  width: 22px;
  height: 22px;
  border-radius: 5px;
}
.sheet-brand span {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.sheet-front h3 {
  font-size: 1.22rem;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
  padding-right: 12px;
}
.sheet-front .sheet-sub {
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.35;
}

.piles {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  margin-bottom: 10px;
}
.pile {
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 7px 5px 6px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.2;
}
.pile small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.58rem;
  margin-top: 2px;
  color: var(--muted);
}
.pile-w { background: var(--paper); }
.pile-d { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.pile-d small { color: #C9C0B4; }
.pile-c { background: var(--terracotta-soft); border-color: #E1B197; }

.temps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}
.temp {
  background: var(--cream);
  border-radius: 7px;
  padding: 6px 4px;
  text-align: center;
}
.temp strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.88rem;
  letter-spacing: -0.03em;
}
.temp span {
  font-size: 0.58rem;
  color: var(--muted);
}

.sheet-note {
  background: var(--terracotta-soft);
  border: 1px solid #E1B197;
  border-radius: 8px;
  padding: 7px 8px;
  font-size: 0.68rem;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 8px;
}
.sheet-note strong { color: var(--terracotta-dark); }

.sheet-rows {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 4px;
}
.sheet-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.68rem;
  color: var(--ink-soft);
}
.sheet-row i {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--sage-soft);
  color: var(--sage);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-style: normal;
  font-size: 0.58rem;
  font-weight: 700;
}

.float-badge {
  position: absolute;
  left: 50%;
  bottom: -6px;
  z-index: 3;
  background: var(--sage);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  transform: translateX(-50%) rotate(-5deg);
  white-space: nowrap;
}

/* ---------- Lead magnet ---------- */
.lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 2.5rem 3.25rem;
  align-items: start;
}

.checklist {
  list-style: none;
  display: grid;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.checklist li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.8rem;
  align-items: start;
  color: var(--ink-soft);
}
.checklist li .tick {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--sage-soft);
  color: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.checklist li .tick svg { width: 16px; height: 16px; }
.checklist strong { color: var(--ink); font-weight: 650; }

.form-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 1.7rem 1.6rem 1.5rem;
}

.form-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}
.form-card .form-intro {
  color: var(--muted);
  font-size: 0.98rem;
  margin-bottom: 1.2rem;
}

.field { margin-bottom: 0.9rem; }
.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.field .hint {
  font-weight: 450;
  color: var(--muted);
}

.field input[type="email"],
.field input[type="text"] {
  width: 100%;
  min-height: 3rem;
  padding: 0.55rem 0.9rem;
  border: 1.5px solid var(--border-strong);
  border-radius: 12px;
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:hover { border-color: #b7aa9a; }
.field input:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(200, 90, 50, 0.15);
}
.field input.is-invalid {
  border-color: #B42318;
  box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.1);
}

.field-error {
  display: none;
  margin-top: 0.35rem;
  color: #B42318;
  font-size: 0.85rem;
}
.field-error.is-visible { display: block; }

.form-note {
  margin-top: 0.95rem;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
}
.form-note a {
  color: var(--terracotta-dark);
  text-underline-offset: 2px;
}

.demo-banner {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-top: 1rem;
  padding: 0.7rem 0.8rem;
  background: var(--cream);
  border: 1px dashed var(--border-strong);
  border-radius: 12px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.4;
}
.demo-banner svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--terracotta);
  margin-top: 1px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 0.5rem 0.25rem 0.25rem;
}
.form-success.is-visible { display: block; }
.form-success .ok-mark {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.9rem;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-success .ok-mark svg { width: 28px; height: 28px; }
.form-success h3 { margin-bottom: 0.45rem; }
.form-success p { color: var(--muted); font-size: 1rem; }

.form-body.is-hidden { display: none; }

/* ---------- Balíčky ---------- */
.pack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.pack-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.55rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.pack-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.pack-card.is-featured {
  border-color: #E1B197;
  background:
    linear-gradient(180deg, #FFF8F3 0%, var(--paper) 42%);
  box-shadow: var(--shadow-md);
  padding-top: 1.85rem;
}

.pack-badge {
  position: absolute;
  top: -12px;
  left: 1.3rem;
  background: var(--terracotta);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
}

.pack-status {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 0.7rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  background: var(--sage-soft);
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-pill);
}

.pack-card h3 { font-size: 1.4rem; margin-bottom: 0.45rem; }
.pack-card .pack-desc {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 1.05rem;
}

.pack-list {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.98rem;
}
.pack-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0.55rem;
  align-items: start;
  color: var(--ink-soft);
}
.pack-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 3px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M3.5 9.2l3.4 3.4 7.6-7.4' stroke='%233B6E5C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}

.pack-card .pack-list.is-soon li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Ccircle cx='9' cy='9' r='6.2' stroke='%23C85A32' stroke-width='1.6'/%3E%3Cpath d='M9 5.8V9.2L11.2 11' stroke='%23C85A32' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}

.pack-price {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin-bottom: 1rem;
  padding-top: 0.4rem;
}
.pack-price strong {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: -0.04em;
  font-weight: 700;
}
.pack-price span { color: var(--muted); font-size: 0.92rem; }

.custom-banner {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.custom-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(247, 243, 236, 0.08);
  color: #E8B39A;
  display: flex;
  align-items: center;
  justify-content: center;
}
.custom-icon svg { width: 28px; height: 28px; }

.custom-banner h3 {
  color: var(--cream);
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}
.custom-banner p {
  color: #C9C0B4;
  font-size: 0.98rem;
}
.custom-banner .btn { flex-shrink: 0; }
.custom-banner .btn-secondary {
  background: transparent;
  color: var(--cream);
  border-color: rgba(247, 243, 236, 0.35);
}
.custom-banner .btn-secondary:hover,
.custom-banner .btn-secondary:focus-visible {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}


.sheet-code {
  display: inline-block;
  margin: 0.15rem 0 0.45rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  background: var(--terracotta-soft);
  padding: 0.18rem 0.5rem;
  border-radius: var(--radius-pill);
}

.field-check {
  display: grid;
  grid-template-columns: 1.15rem 1fr;
  gap: 0.15rem 0.7rem;
  align-items: start;
  margin: 1rem 0 1.15rem;
}
.field-check input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.2rem 0 0;
  accent-color: var(--terracotta);
  flex-shrink: 0;
}
.field-check label {
  display: block;
  font-size: 0.86rem;
  font-weight: 450;
  line-height: 1.45;
  color: var(--ink-soft);
  margin: 0;
}
.field-check a {
  color: var(--terracotta-dark);
  text-underline-offset: 2px;
}
.field-check .field-error {
  grid-column: 1 / -1;
}

.form-card-featured {
  border-color: #E1B197;
  background: linear-gradient(180deg, #FFF8F3 0%, var(--paper) 42%);
  box-shadow: var(--shadow-md);
}

.js-connect-hint.is-hidden { display: none; }

.section-head-wide { max-width: 44rem; }

/* ---------- Série A ---------- */
.series-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 1.5rem 2rem;
  align-items: start;
}

.series-list {
  display: grid;
  gap: 0.75rem;
}

.series-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem 1rem;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.1rem;
  box-shadow: var(--shadow-sm);
}
.series-item.is-free {
  border-color: #E1B197;
  background: linear-gradient(180deg, #FFF8F3 0%, var(--paper) 70%);
}

.series-item .series-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.55rem;
  height: 2.55rem;
  padding: 0 0.45rem;
  border-radius: 12px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.series-item.is-free .series-code {
  background: var(--terracotta);
}

.series-body h3 {
  font-size: 1.12rem;
  margin-bottom: 0.15rem;
}
.series-body p {
  color: var(--muted);
  font-size: 0.95rem;
}
.series-link {
  display: inline-block;
  margin-top: 0.4rem;
  color: var(--terracotta-dark);
  font-weight: 650;
  font-size: 0.95rem;
  text-underline-offset: 3px;
}

.series-flag {
  justify-self: end;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 0.28rem 0.55rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.series-flag.is-free {
  color: var(--sage-dark);
  background: var(--sage-soft);
  border-color: transparent;
}


.coming-grid .pack-card .btn { margin-top: auto; }

.coming-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.legal-updated {
  margin: -1.2rem 0 1.8rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.legal-list {
  margin: 0 0 1rem 1.15rem;
  color: var(--ink-soft);
}
.legal-list li { margin-bottom: 0.4rem; }

/* ---------- Příběh ---------- */
.story {
  background: var(--ink);
  color: var(--cream);
  padding: 6.5rem 0;
  position: relative;
  overflow: hidden;
}
.story::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  right: -120px;
  top: -160px;
  background: radial-gradient(circle, rgba(200, 90, 50, 0.22), transparent 68%);
  pointer-events: none;
}

.story-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 3rem 4.5rem;
  align-items: start;
}

.story .eyebrow { color: #E8B39A; }
.story h2 { color: var(--cream); font-size: clamp(1.9rem, 3.4vw, 2.7rem); }

.story-quote {
  margin: 1.4rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.35;
  color: var(--cream);
}
.story-quote::before {
  content: "„";
  display: block;
  font-size: 3.4rem;
  line-height: 0.6;
  color: var(--terracotta);
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.story-copy { display: grid; gap: 1.05rem; padding-top: 2.1rem; }
.story-copy p { color: #D5CBBB; font-size: 1.12rem; max-width: 40rem; }
.story-copy p strong { color: var(--cream); font-weight: 650; }

/* ---------- Merch ---------- */
.merch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.merch-grid.merch-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.merch-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.merch-visual {
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 50% 70%, rgba(200, 90, 50, 0.08), transparent 60%),
    var(--cream-deep);
  position: relative;
}
.merch-visual svg { width: min(180px, 70%); height: auto; }

.merch-soon {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--paper);
  border: 1px solid var(--border);
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-pill);
}

.merch-body { padding: 1.2rem 1.25rem 1.35rem; }
.merch-body h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.merch-body p { color: var(--muted); font-size: 0.98rem; }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 800px;
  display: grid;
  gap: 0.7rem;
}

.faq-item {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.faq-item[open] { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.2rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316212B' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 20px no-repeat;
  transition: transform 0.25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item .faq-body {
  padding: 0 1.2rem 1.15rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 62ch;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #D5CBBB;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr;
  gap: 2.5rem 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(247, 243, 236, 0.1);
}

.footer-brand { display: flex; flex-direction: column; gap: 0.9rem; align-items: flex-start; }
.footer-brand .brand-mark {
  box-shadow: 0 0 0 1px rgba(247, 243, 236, 0.12), 0 4px 12px rgba(0, 0, 0, 0.25);
}
.footer-brand .brand-name { color: var(--cream); font-size: 1.15rem; }
.footer-brand p { max-width: 28rem; font-size: 1rem; }

.footer-col h3 {
  color: var(--cream);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.footer-col ul { list-style: none; display: grid; gap: 0.45rem; }
.footer-col a {
  color: #D5CBBB;
  text-decoration: none;
  font-size: 1rem;
}
.footer-col a:hover,
.footer-col a:focus-visible { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 1.4rem;
  font-size: 0.88rem;
  color: #9AA19A;
}
.footer-bottom a { color: #C9C0B4; text-decoration: none; }
.footer-bottom a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 0.4rem 1.15rem; }

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.modal.is-open { display: flex; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 33, 43, 0.58);
  backdrop-filter: blur(4px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(88vh, 720px);
  overflow: auto;
  background: var(--paper);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  padding: 1.8rem 1.6rem 1.55rem;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: var(--ink);
}
.modal-close:hover { background: var(--cream-deep); }
.modal-close svg { width: 20px; height: 20px; margin: auto; }

.modal-dialog h2 { font-size: 1.55rem; margin-bottom: 0.35rem; padding-right: 2rem; }
.modal-lead { color: var(--muted); margin-bottom: 1.2rem; }

.pay-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.2rem;
}
.pay-pills li {
  list-style: none;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.7rem;
}

.checkout-embed {
  border: 1.5px dashed var(--border-strong);
  border-radius: 16px;
  background: var(--cream);
  padding: 1.4rem 1.1rem;
  text-align: center;
}
.checkout-embed p { color: var(--muted); font-size: 0.95rem; }
.checkout-embed .embed-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.45rem;
}
.checkout-price {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin: 0.2rem 0 0.15rem;
}

/* Legal pages */
.legal-main {
  max-width: 46rem;
  margin: 0 auto;
  padding: 4rem 0 6rem;
}
.legal-main h1 { font-size: clamp(2rem, 4vw, 2.7rem); margin-bottom: 1rem; }
.legal-main .lede { color: var(--muted); margin-bottom: 2rem; }
.legal-main h2 { font-size: 1.3rem; margin: 2rem 0 0.6rem; }
.legal-main p { color: var(--ink-soft); margin-bottom: 0.9rem; }
.legal-main a { color: var(--terracotta-dark); }

/* ---------- Responsive ---------- */

@media (max-width: 1120px) {
  .merch-grid.merch-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .series-flag { white-space: normal; text-align: center; }
}

@media (max-width: 980px) {
  .hero-grid,
  .lead-grid,
  .story-grid,
  .pack-grid,
  .merch-grid,
  .merch-grid.merch-grid-4,
  .series-layout,
  .coming-grid,
  .footer-grid,
  .custom-banner {
    grid-template-columns: 1fr;
  }

  .series-item {
    grid-template-columns: auto 1fr;
  }
  .series-flag {
    grid-column: 2;
    justify-self: start;
  }

  .hero { padding: 2.5rem 0 3.5rem; }
  .hero-visual { min-height: 0; max-width: 360px; margin: 0.5rem auto 0; width: 100%; }
  .paper-stack { width: min(300px, 86%); margin-inline: auto; }
  .hero-copy h1 { max-width: none; }
  .hero::before { width: 100%; right: 0; top: auto; bottom: -10%; height: 50%; }

  .story-copy { padding-top: 0; }
  .custom-banner { justify-items: start; }
  .custom-banner .btn { width: 100%; }
  .section { padding: 4.25rem 0; }
  .story { padding: 4.5rem 0; }
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-block; }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 20px 1.25rem;
    background: rgba(247, 243, 236, 0.98);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.25rem 0 0.75rem;
  }
  .site-nav ul a {
    display: block;
    padding: 0.75rem 0.2rem;
    font-size: 1.08rem;
  }
  .site-nav ul a::after { display: none; }
  .site-nav .btn-nav { width: 100%; }
}

@media (max-width: 560px) {
  :root { --header-h: 68px; }
  body { font-size: 1.05rem; }
  .container { width: min(var(--container), calc(100% - 32px)); }
  .brand-name { font-size: 0.95rem; }
  .brand-mark { width: 38px; height: 38px; }
  .hero-copy h1 { font-size: 2.15rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .float-badge { font-size: 0.75rem; bottom: -4px; }
  .form-card { padding: 1.3rem 1.1rem 1.2rem; }
  .section-head { margin-bottom: 2rem; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
