/* ==========================================================================
   UPSELO · hlavní styly webu
   Verze 2026-11 · ručně psané CSS bez frameworku, upravujte přímo tady.

   Obsah:
   0. Stav produktů (přepínač dostupnosti doplňků)
   1. Fonty
   2. Design tokeny (barvy, písmo, rozestupy, stíny)
   3. Základ
   4. Rozvržení a sekce
   5. Typografie
   6. Tlačítka a odkazy
   7. Hlavička a navigace
   8. Hero
   9. Komponenty (karty, kroky, FAQ, štítky, citace…)
   10. Formuláře
   11. Patička a raketa
   12. Pomocné třídy, animace, tisk
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. STAV PRODUKTŮ
   Upselo Pulse (Instagram widget) má dvě varianty obsahu v HTML:
   .jen-pulse-dostupny  = text a tlačítka pro spuštěný doplněk (Marketplace)
   .jen-pulse-brzy      = text a tlačítka pro čekací listinu
   Až bude Pulse schválený a v Marketplace, prohoďte dvě pravidla níže
   (display:none dejte na .jen-pulse-brzy). Nic dalšího měnit nemusíte.
   -------------------------------------------------------------------------- */
.jen-pulse-dostupny { display: none !important; }
/* .jen-pulse-brzy { display: none !important; } */


/* --------------------------------------------------------------------------
   1. FONTY (hostované lokálně, bez Google Fonts kvůli rychlosti a GDPR)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/plus-jakarta-sans-latin-ext.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: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/plus-jakarta-sans-latin.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: "Nunito Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url("../fonts/nunito-sans-latin-ext.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: "Nunito Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url("../fonts/nunito-sans-latin.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;
}


/* --------------------------------------------------------------------------
   2. DESIGN TOKENY
   Barvy jsou z dokumentu „Barevná paleta“ (logo Upselo, únor 2026).
   -------------------------------------------------------------------------- */
:root {
  /* Značka */
  --navy: #003C63;        /* hlavní barva, logo, nadpisy */
  --ink: #00101D;         /* nejtmavší, konec tmavého gradientu */
  --blue: #0077B9;        /* akcent, odkazy, raketa */
  --sky: #B4DBF7;         /* světle modrá */
  --blue-text: #005A8C;   /* tmavší odstín #0077B9 pro drobný modrý text, kontrast min. 4,7 : 1 i na světle modrém pozadí */
  --sky-deep: #5694CB;    /* konec světlého gradientu */
  --yellow: #FFDD77;      /* CTA tlačítka */

  /* Odvozené (namíchané z barev značky) */
  --mist: #EBF1FA;        /* pozadí světlých sekcí, barva z vizuálu se schody */
  --mist-2: #D6E4F5;
  --line: #D3DEEA;        /* linky a rámečky */
  --text: var(--ink);
  --text-soft: var(--ink);   /* jedna barva pro všechny texty, hierarchii dělá velikost a řez písma */
  --yellow-hover: #FFD254;
  --success: #12795A;
  --error: #B42318;

  /* Gradienty značky */
  --grad-light: linear-gradient(135deg, #FFFFFF 0%, #E9F1FA 45%, #B8D3EE 100%);
  --grad-dark: linear-gradient(135deg, var(--navy) 0%, var(--ink) 100%);

  /* Písmo */
  --font-head: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Nunito Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-body: 1.0625rem;                               /* 17 px */
  --fs-lead: clamp(1.125rem, 1.02rem + 0.45vw, 1.3125rem);
  --fs-h1: clamp(2.25rem, 1.6rem + 2.9vw, 3.75rem);
  --fs-h2: clamp(1.75rem, 1.35rem + 1.7vw, 2.625rem);
  --fs-h3: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem);
  --fs-small: 0.9375rem;                              /* 15 px, nic menšího než 13 px */

  /* Rozestupy (základ 8 px) */
  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2rem;
  --s-5: 3rem;
  --s-6: 4rem;
  --s-7: 6rem;
  --section-y: clamp(3.5rem, 2.4rem + 4.5vw, 6.5rem);
  --wrap: 72rem;

  /* Tvary a stíny */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --shadow-1: 0 1px 2px rgba(0, 32, 56, .06), 0 2px 8px rgba(0, 32, 56, .05);
  --shadow-2: 0 2px 4px rgba(0, 32, 56, .05), 0 12px 32px rgba(0, 32, 56, .09);
  --shadow-3: 0 4px 10px rgba(0, 32, 56, .06), 0 30px 60px rgba(0, 32, 56, .14);

  /* Pohyb */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: 140ms;
  --t-mid: 260ms;
}


/* --------------------------------------------------------------------------
   3. ZÁKLAD
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: inherit; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--yellow); color: var(--ink); }
[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--navy); color: #fff; padding: .75rem 1rem; border-radius: var(--r-sm);
  font-weight: 700; text-decoration: none; transition: top var(--t-fast);
}
.skip-link:focus { top: 1rem; }


/* --------------------------------------------------------------------------
   4. ROZVRŽENÍ A SEKCE
   Podpisový prvek webu: sekce jako zaoblené „karty“ na 95 % šířky.
   -------------------------------------------------------------------------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap--narrow { max-width: 48rem; }
.wrap--mid { max-width: 60rem; }

.section { padding-block: var(--section-y); }
.section--card {
  width: min(100% - 1.25rem, 96rem);
  margin: 0 auto .625rem;
  border-radius: var(--r-lg);
}
@media (min-width: 768px) { .section--card { width: 96%; } }
.section--mist { background: var(--mist); }
.section--light { background: var(--grad-light); }
.section--navy { background: var(--grad-dark); color: #fff; }
.section--blue { background: var(--blue); color: #fff; }
.section--tight { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }

.section-head { max-width: 46rem; margin: 0 auto var(--s-5); text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.section-head p { color: var(--text-soft); font-size: var(--fs-lead); margin: var(--s-2) 0 0; }
.section--navy .section-head p { color: rgba(255,255,255,.86); }
.section--blue .section-head p { color: #fff; }

.grid { display: grid; gap: var(--s-3); }
@media (min-width: 720px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 720px) and (max-width: 979px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
.split { display: grid; gap: var(--s-5); align-items: center; }
.split > *, .grid > *, .hero__inner > * { min-width: 0; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1.1fr .9fr; gap: var(--s-6); }
  .split--rev > :first-child { order: 2; }
  .split--even { grid-template-columns: 1fr 1fr; }
}


/* --------------------------------------------------------------------------
   5. TYPOGRAFIE
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s-2);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; }
h2 { font-size: var(--fs-h2); font-weight: 800; }
h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.3; }
.section--navy :is(h1, h2, h3), .section--blue :is(h1, h2, h3) { color: #fff; }
p { margin: 0 0 var(--s-2); text-wrap: pretty; }
.lead { font-size: var(--fs-lead); color: var(--text-soft); line-height: 1.6; }
.small { font-size: var(--fs-small); }
strong, b { font-weight: 800; }

/* Nadtitulek: široce prostrkané verzálky jako v identitě značky */
.eyebrow {
  display: block;
  font-family: var(--font-head);
  font-size: .8125rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-text);
  margin: 0 0 var(--s-2);
}
.eyebrow::before, .section-head .eyebrow::after {
  content: ""; display: inline-block; vertical-align: middle;
  width: 1.5rem; height: 2px; margin: -.15em .6rem 0 0; border-radius: 2px; background: currentColor;
}
.section-head .eyebrow::after { margin: -.15em 0 0 .6rem; }
.section-head--left .eyebrow::after { display: none; }
.section--navy .eyebrow { color: var(--yellow); }
.section--blue .eyebrow { color: #fff; }   /* žlutá na modré má jen 3,5 : 1 */

/* Zvýraznění klíčového slova žlutou linkou (z původního webu, zjemněné) */
.mark {
  background-image: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 92%, transparent 92%);
  background-repeat: no-repeat;
  padding-inline: .06em;
}

.prose { max-width: 44rem; }
.prose h2 { font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem); margin-top: var(--s-5); }
.prose h3 { margin-top: var(--s-4); }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 var(--s-3); }
.prose li { margin-bottom: .4rem; }
.prose a { color: var(--blue-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--navy); text-decoration-thickness: 2px; }


/* --------------------------------------------------------------------------
   6. TLAČÍTKA A ODKAZY
   Hlavní CTA = žlutá „pilulka“ se šipkou ›, stejně jako ve vizuální identitě.
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--yellow);
  --btn-fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3.25rem;
  padding: .85rem 1.6rem;
  border: 0; border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem; line-height: 1.2;
  text-decoration: none; text-align: center;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 6px 18px rgba(0, 60, 99, .12);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.btn::after {
  content: "›"; font-size: 1.35em; line-height: .8; margin-top: -.08em;
  transition: transform var(--t-fast) var(--ease);
}
.btn--no-arrow::after { content: none; }
.btn:hover { background: var(--yellow-hover); box-shadow: 0 2px 0 rgba(0,0,0,.04), 0 12px 26px rgba(0, 60, 99, .18); }
.btn:hover::after { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.98); box-shadow: 0 1px 4px rgba(0, 60, 99, .16); }
.btn--navy { --btn-bg: var(--navy); --btn-fg: #fff; }
.btn--navy:hover { background: #00507F; }
.btn--ghost {
  --btn-bg: #fff; --btn-fg: var(--navy);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn--ghost:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--navy), 0 8px 20px rgba(0, 60, 99, .1); }
.btn--sm { min-height: 2.75rem; padding: .6rem 1.15rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .7; pointer-events: none; }
.btn .ext { width: 1em; height: 1em; }

.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); }

/* Textový odkaz se šipkou */
.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  padding-block: .65rem; margin-block: -.65rem;      /* dotyková plocha 44 px bez změny rozvržení */
  font-family: var(--font-head); font-weight: 700; color: var(--blue-text);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px;
  text-decoration-color: rgba(0, 119, 185, .3);
  transition: color var(--t-fast), text-decoration-color var(--t-fast);
}
.link-arrow::after { content: "→"; transition: transform var(--t-fast) var(--ease); }
.link-arrow:hover { color: var(--navy); text-decoration-color: var(--navy); }
.link-arrow:hover::after { transform: translateX(3px); }
.section--navy .link-arrow, .section--blue .link-arrow { color: #fff; text-decoration-color: rgba(255,255,255,.5); }

.text-link { color: var(--blue-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--t-fast); }
.text-link:hover { color: var(--navy); text-decoration-thickness: 2px; }


/* --------------------------------------------------------------------------
   7. HLAVIČKA A NAVIGACE
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-mid), box-shadow var(--t-mid);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(0, 32, 56, .06); }
.site-header__bar { display: flex; align-items: center; gap: var(--s-3); min-height: 4.5rem; }
.nav { margin-left: auto; }
.site-header__logo { display: inline-flex; align-items: center; min-height: 2.75rem; flex-shrink: 0; border-radius: 8px; transition: opacity var(--t-fast); }
.site-header__logo:hover { opacity: .8; }
.site-header__logo img { width: 128px; height: auto; }

.nav { display: none; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; min-height: 2.75rem;
  padding: .5rem .9rem; border-radius: var(--r-pill);
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--navy);
  text-decoration: none;
  transition: background-color var(--t-fast), color var(--t-fast);
}
.nav__link:hover { background: var(--mist); }
.nav__link[aria-current="page"] { background: var(--mist); }
.nav__link[aria-current="page"]::after {   /* půlkolečko jako pod „S“ v logu */
  content: ""; position: absolute; left: 50%; bottom: .28rem; width: 18px; height: 5px; margin-left: -9px;
  background: var(--navy);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1874700 477700'%3E%3Cpath d='M1874700 477700c-151200-296200-486100-477700-948500-477700-437100 0-787400 191200-926200 477700z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1874700 477700'%3E%3Cpath d='M1874700 477700c-151200-296200-486100-477700-948500-477700-437100 0-787400 191200-926200 477700z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
/* Přihlášení Moje Upselo (ikona + text, jako na původním webu) */
.login-link {
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 2.75rem; padding: .4rem .75rem; border-radius: var(--r-pill);
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--navy);
  text-decoration: none; white-space: nowrap;
  transition: background-color var(--t-fast), color var(--t-fast);
}
.login-link:hover { background: var(--mist); }
.login-link:active { transform: scale(.98); }
.login-link__icon { width: 1.4rem; height: 1.4rem; flex-shrink: 0; }
.site-header__login { margin-left: auto; }
@media (max-width: 899px) {
  .site-header__login { padding: .4rem; }
  .site-header__login .login-link__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .site-header__bar { gap: .5rem; }
}

.menu-toggle {
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 2.75rem; padding: .5rem .9rem;
  border: 1.5px solid var(--line); border-radius: var(--r-pill); background: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: .9375rem; color: var(--navy);
  cursor: pointer; transition: border-color var(--t-fast), background-color var(--t-fast);
}
.menu-toggle:hover { border-color: var(--navy); }
.menu-toggle__icon { position: relative; width: 18px; height: 12px; }
.menu-toggle__icon span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform var(--t-mid) var(--ease), opacity var(--t-fast); }
.menu-toggle__icon span:nth-child(1) { top: 0; }
.menu-toggle__icon span:nth-child(2) { top: 5px; }
.menu-toggle__icon span:nth-child(3) { top: 10px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-nav {
  position: absolute; left: 0; right: 0; top: 100%;
  max-height: calc(100dvh - 100%); overflow-y: auto; overscroll-behavior: contain;
  background: var(--grad-dark); color: #fff;
  padding: var(--s-2) 0 var(--s-4);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  box-shadow: 0 100vmax 0 100vmax rgba(0, 16, 29, .45);   /* ztlumí stránku pod menu, hlavičku ne */
}
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li a {
  display: flex; align-items: center; min-height: 3.5rem; padding: .5rem 0;
  border-bottom: 1px solid rgba(255,255,255,.18);
  font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; letter-spacing: -.01em; color: #fff; text-decoration: none;
}
.mobile-nav li a:active { color: var(--yellow); }
.mobile-nav li a[aria-current="page"] { color: var(--yellow); }
.mobile-nav a.login-link--mobile {
  justify-content: center; gap: .6rem; margin-top: var(--s-3); min-height: 3.25rem; width: 100%; padding: .6rem 1rem;
  border: 1.5px solid rgba(255,255,255,.6); border-radius: var(--r-pill); background: transparent; color: #fff; font-size: 1.0625rem;
}
.mobile-nav a.login-link--mobile:active { background: rgba(255,255,255,.1); }
html.menu-open { overflow: hidden; }
html.menu-open .site-header { background: #fff; }

@media (min-width: 900px) {
  .nav { display: block; }
  .menu-toggle, .mobile-nav { display: none !important; }
}


/* --------------------------------------------------------------------------
   8. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--grad-light);
  padding-block: clamp(3rem, 2rem + 5vw, 6.5rem) clamp(3rem, 2rem + 4vw, 5.5rem);
}
.hero__inner { position: relative; z-index: 2; display: grid; gap: var(--s-5); align-items: center; }
@media (min-width: 980px) { .hero__inner { grid-template-columns: 1.25fr .75fr; gap: var(--s-4); } }
.hero h1 { margin-bottom: var(--s-3); font-size: clamp(2.125rem, 1.55rem + 2vw, 3.25rem); max-width: 22ch; }
.hero .lead { max-width: 36rem; margin-bottom: var(--s-4); color: var(--text-soft); }
.hero .btn-row { margin-bottom: var(--s-4); }

/* Autorita hned pod CTA: fotka + jméno */
.hero-proof { display: flex; align-items: center; gap: .9rem; max-width: 30rem; }
.hero-proof img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: var(--shadow-1); flex-shrink: 0; }
.hero-proof p { margin: 0; font-size: var(--fs-small); line-height: 1.45; color: var(--text-soft); }
.hero-proof strong { color: var(--navy); }

/* Vizuál: schody růstu, zarovnané k pravému a spodnímu okraji hero */
.stairs-visual { pointer-events: none; user-select: none; }
.stairs-visual__img {
  display: block; height: auto;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 35%), linear-gradient(to bottom, transparent 0, #000 28%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 35%), linear-gradient(to bottom, transparent 0, #000 28%);
  mask-composite: intersect;
}
@media (min-width: 980px) {
  .hero__inner { position: static; }
  .hero__inner > :first-child { position: relative; z-index: 2; }
  .stairs-visual__img { position: absolute; z-index: 1; right: 0; bottom: 0; width: min(46vw, 640px); }
}
@media (max-width: 979px) { .stairs-visual { display: none; } }   /* na mobilu by schody zabraly celou obrazovku */

/* Hero podstránek */
.page-hero { background: var(--grad-light); padding-block: clamp(2.75rem, 2rem + 3.5vw, 5rem); position: relative; overflow: hidden; }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { max-width: 40rem; }
.page-hero--center { text-align: center; }
.page-hero--center :is(h1, .lead) { margin-inline: auto; }
.page-hero__deco {
  position: absolute; right: -4rem; bottom: -5rem; width: 22rem; opacity: .9; pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 50%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 50%, transparent 100%);
}
@media (max-width: 760px) { .page-hero__deco { display: none; } }

.breadcrumbs { margin: -.5rem 0 var(--s-2); font-size: var(--fs-small); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; color: var(--text-soft); }
.breadcrumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--blue-text); text-decoration: none; }
.breadcrumbs li { display: inline-flex; align-items: center; min-height: 2.75rem; }
.breadcrumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }


/* --------------------------------------------------------------------------
   9. KOMPONENTY
   -------------------------------------------------------------------------- */

/* 9.1 Karta */
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  box-shadow: var(--shadow-1);
}
.card h3 { margin-bottom: .5rem; }
.card p:last-child { margin-bottom: 0; }
.card--hover { transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease), border-color var(--t-mid); }
.card--hover:hover { box-shadow: var(--shadow-2); border-color: #BCD0E3; }

/* 9.2 Ikona v kroužku (motiv „S“ z loga = podpis značky) */
.icon-badge {
  display: grid; place-items: center;
  width: 3.25rem; height: 3.25rem; border-radius: 16px;
  background: var(--mist); color: var(--navy);
  margin-bottom: var(--s-2);
}
.icon-badge svg { width: 1.6rem; height: 1.6rem; }
.icon-badge--yellow { background: var(--yellow); }
.icon-badge--navy { background: var(--navy); color: var(--yellow); }

/* 9.3 Bolesti (problémy) */
.pain-list { display: grid; gap: var(--s-2); }
@media (min-width: 760px) { .pain-list { grid-template-columns: repeat(2, 1fr); } }
.pain {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start;
  padding: 1.35rem 1.5rem; border-radius: var(--r-md);
  background: #fff; border: 1px solid var(--line);
}
.pain__num {
  font-family: var(--font-head); font-weight: 800; font-size: .875rem; color: var(--blue-text);
  width: 2.25rem; height: 2.25rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--mist);
}
.pain h3 { font-size: 1.125rem; margin: .1rem 0 .3rem; }
.pain p { margin: 0; color: var(--text-soft); }
@media (min-width: 760px) { .pain--highlight { grid-column: 1 / -1; } }
.pain--highlight { background: var(--navy); border-color: var(--navy); }
.pain--highlight h3 { color: #fff; }
.pain--highlight p { color: rgba(255,255,255,.88); }
.pain--highlight .pain__num { background: var(--yellow); color: var(--navy); }
.bridge {
  margin: var(--s-5) auto 0; max-width: 40rem; text-align: center;
  font-family: var(--font-head); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); font-weight: 700; color: var(--navy); line-height: 1.4;
}
.bridge span { display: block; font-family: var(--font-body); font-weight: 400; font-size: var(--fs-lead); color: var(--text-soft); margin-top: .4rem; }

/* 9.4 Kroky „Jak to funguje“ jako schody */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); counter-reset: step; }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .steps > li:nth-child(1) { margin-top: 5rem; }
  .steps > li:nth-child(2) { margin-top: 2.5rem; }
}
.step {
  position: relative; counter-increment: step;
  background: #fff; color: var(--text);
  border-radius: var(--r-lg); padding: 2rem 1.75rem 1.75rem;
  box-shadow: var(--shadow-2);
}
.step::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  margin-bottom: 1rem;
  background: var(--yellow); color: var(--navy);
  font-family: var(--font-head); font-weight: 800; font-size: 1.125rem;
}
.step h3 { color: var(--navy); }
.step p { color: var(--text-soft); margin: 0; }
.steps-note { margin: var(--s-4) auto 0; text-align: center; color: #fff; max-width: 40rem; }

/* 9.5 Produktové karty */
.product-grid { display: grid; gap: var(--s-3); }
@media (min-width: 900px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 899px) {
  .product-grid--scroll {
    grid-auto-flow: column; grid-auto-columns: min(86%, 22rem);
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: -1.25rem; padding: .25rem 1.25rem 1rem; scrollbar-width: none;
  }
  .product-grid--scroll::-webkit-scrollbar { display: none; }
  .product-grid--scroll > * { scroll-snap-align: center; }
}
.product {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-1);
  transition: box-shadow var(--t-mid) var(--ease);
}
.product:hover { box-shadow: var(--shadow-3); }   /* jen stín, karta se nehýbe */
.product__visual { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; padding: 1.25rem; overflow: hidden; }
.product__visual .mock { max-width: 14.5rem; }
.product__visual .mock__grid i { aspect-ratio: 4 / 3; }
.product__visual--pulse { background: linear-gradient(135deg, #E3EEF9, #B4DBF7); }
.product__visual--story { background: linear-gradient(135deg, #F4F8FC, #D6E4F5); }
.product__visual--impuls { background: linear-gradient(135deg, #FFF6DA, #FFE7A3); }
.product__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.5rem 1.75rem; }
.product__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .25rem; }
.product__name { margin: 0; font-size: 1.375rem; }
.product__name a { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; color: inherit; }
.product__name a:hover { color: var(--blue-text); }
.product__claim { font-family: var(--font-head); font-weight: 600; color: var(--blue-text); margin: 0 0 .75rem; font-size: 1rem; }
.product__body > p { color: var(--text-soft); }
.product__body .checklist { margin-bottom: 1.5rem; }
.product__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.product__price { font-size: var(--fs-small); color: var(--text-soft); }
.product__price strong { color: var(--navy); font-size: 1.0625rem; }

/* 9.6 Štítky stavu */
.tag {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .25rem .65rem; border-radius: var(--r-pill);
  font-family: var(--font-head); font-size: .8125rem; font-weight: 700; line-height: 1.3; white-space: nowrap;
}
.tag::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: currentColor; }
.tag--live { background: #E3F4EC; color: var(--success); }
.tag--soon { background: var(--mist); color: var(--navy); }
.tag--plain::before { display: none; }

/* 9.7 Seznam s fajfkami */
.checklist { list-style: none; margin: 0 0 var(--s-3); padding: 0; display: grid; gap: .55rem; }
.checklist li { position: relative; padding-left: 1.85rem; line-height: 1.5; }
.checklist li::before {   /* čistá fajfka bez kolečka, ostrá i v malé velikosti */
  content: ""; position: absolute; left: 0; top: .2rem;
  width: 1.25rem; height: 1.25rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003C63' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5.5 5.5L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.checklist--cross li::before {
  background: #E9EEF3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F4D66' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / 55% no-repeat;
}
.section--navy .checklist li::before, .section--blue .checklist li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFDD77' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5.5 5.5L20 6.5'/%3E%3C/svg%3E"); }
.section--navy .card .checklist li::before, .section--blue .card .checklist li::before, .section--navy .form-card .checklist li::before, .section--blue .form-card .checklist li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003C63' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5.5 5.5L20 6.5'/%3E%3C/svg%3E"); }

/* 9.8 Mini ilustrace produktů (schematické, ne fotky) */
.mock { width: 100%; max-width: 19rem; background: #fff; border-radius: 14px; box-shadow: var(--shadow-2); padding: .8rem; }
.mock__bar { display: flex; gap: 4px; margin-bottom: .6rem; }
.mock__bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.mock__title { height: 8px; width: 55%; border-radius: 4px; background: var(--mist-2); margin: 0 auto .6rem; }
.mock__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.mock__grid i { aspect-ratio: 1; border-radius: 6px; background: linear-gradient(135deg, var(--sky), var(--sky-deep)); }
.mock__grid i:nth-child(2n) { background: linear-gradient(135deg, #FFE7A3, #FFC94D); }
.mock__grid i:nth-child(3n) { background: linear-gradient(135deg, #5694CB, #003C63); }
.mock__btn { height: 18px; width: 58%; margin: .65rem auto 0; border-radius: 999px; background: var(--navy); }
.mock__row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .55rem .6rem; border-radius: 8px; background: var(--mist); margin-bottom: 5px; }
.mock__row b { display: block; height: 7px; width: 70%; border-radius: 4px; background: #9FB7CD; }
.mock__row span { font-weight: 800; color: var(--navy); line-height: 1; }
.mock__row--open { background: #fff; border: 1.5px solid var(--sky); flex-wrap: wrap; }
.mock__row--open em { flex-basis: 100%; height: 6px; border-radius: 4px; background: var(--line); }
.mock__row--open em + em { width: 60%; flex-basis: auto; }
.mock__cart { display: flex; gap: .6rem; align-items: center; padding: .5rem; border-radius: 10px; border: 1px solid var(--line); margin-bottom: .6rem; }
.mock__thumb { width: 2.4rem; height: 2.4rem; border-radius: 8px; background: linear-gradient(135deg, var(--sky), var(--sky-deep)); flex-shrink: 0; }
.mock__lines { flex: 1; display: grid; gap: 5px; }
.mock__lines i { height: 7px; border-radius: 4px; background: var(--line); }
.mock__lines i:first-child { width: 80%; background: #9FB7CD; }
.mock__lines i:last-child { width: 40%; }
.mock__offer { display: flex; gap: .6rem; align-items: center; padding: .55rem; border-radius: 10px; background: #FFF6DA; border: 1.5px dashed #F2C14E; }
.mock__offer .mock__thumb { background: linear-gradient(135deg, #FFE7A3, #FFC94D); }
.mock__plus { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--navy); color: var(--yellow); font-weight: 800; flex-shrink: 0; }

/* Velká ukázka widgetu na stránce Pulse */
.widget-demo { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-3); padding: 1.25rem; max-width: 30rem; margin-inline: auto; }
.widget-demo__head { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.widget-demo__avatar { width: 2.75rem; height: 2.75rem; border-radius: 50%; background: conic-gradient(from 200deg, #FFDD77, #0077B9, #5694CB, #FFDD77); padding: 3px; }
.widget-demo__avatar::after { content: ""; display: block; width: 100%; height: 100%; border-radius: 50%; background: #fff url("../../favicon-96x96.png") center / cover no-repeat; }
.widget-demo__head strong { display: block; font-family: var(--font-head); color: var(--navy); line-height: 1.2; }
.widget-demo__head span { font-size: .875rem; color: var(--text-soft); }
.widget-demo .mock__grid { gap: 6px; }
.widget-demo .mock__grid i { border-radius: 10px; }
.widget-demo__btn { display: flex; justify-content: center; margin-top: 1rem; }
.widget-demo__btn span { display: inline-flex; align-items: center; min-height: 2.5rem; padding: .5rem 1.1rem; border-radius: 999px; background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .9375rem; }
.figure-note { text-align: center; font-size: .875rem; color: var(--text-soft); margin-top: .85rem; }

/* 9.9 Citace / autorita */
.quote-card {
  position: relative; background: #fff; border-radius: var(--r-lg);
  padding: clamp(2rem, 1.5rem + 2vw, 3rem);
  box-shadow: var(--shadow-2);
}
.quote-card::before {
  content: "“"; position: absolute; top: -.2em; right: 1.5rem;
  font-family: var(--font-head); font-weight: 800; font-size: 6rem; line-height: 1; color: var(--yellow);
}
.quote-card blockquote { margin: 0; }
.quote-card blockquote p { font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); line-height: 1.65; }
.quote-card blockquote p:first-child { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); line-height: 1.4; color: var(--navy); }
.person { display: flex; align-items: center; gap: 1rem; margin-top: var(--s-3); padding-top: var(--s-3); border-top: 1px solid var(--line); }
.person img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.person > span { min-width: 0; overflow-wrap: anywhere; }
.person__name { display: block; font-family: var(--font-head); font-weight: 800; color: var(--navy); }
.person__role { display: block; font-size: var(--fs-small); color: var(--text-soft); }

.photo-frame { position: relative; }
.photo-frame img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-3); aspect-ratio: 5 / 4; object-fit: cover; background: var(--mist); }
.photo-frame__badge {
  position: absolute; left: -.75rem; bottom: -1.25rem;
  background: var(--navy); color: #fff; border-radius: var(--r-md); padding: .9rem 1.2rem;
  box-shadow: var(--shadow-3); line-height: 1.2;
}
.photo-frame__badge strong { display: block; font-family: var(--font-head); font-size: 1.75rem; color: var(--yellow); }
.photo-frame__badge span { font-size: .875rem; color: rgba(255,255,255,.88); }
@media (min-width: 960px) { .photo-frame__badge { left: -1.5rem; } }

/* 9.10 Výhody (pilíře) */
.pillar h3 { margin-top: .25rem; }
/* Ručně kreslené ikony: obrys navy, žluté kolečko za ikonou (styl Designable) */
.doodle { display: block; width: 84px; height: 84px; margin: 0 0 .5rem -4px; overflow: visible;
  fill: none; stroke: var(--navy); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.doodle .doodle__dot { fill: var(--yellow); stroke: none; }
.section--blue .card h3 { color: var(--navy); }   /* nadpisy v bílých kartách na modré byly bílé, tedy neviditelné */
.pillar p { color: var(--text-soft); }

/* 9.11 FAQ (nativní <details>, funguje i bez JavaScriptu) */
.faq { display: grid; gap: .75rem; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.faq details:hover { border-color: #BCD0E3; }
.faq details[open] { border-color: var(--sky-deep); box-shadow: var(--shadow-1); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 3.5rem; padding: 1rem 1.25rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem; color: var(--navy);
  cursor: pointer; list-style: none; border-radius: var(--r-md);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex-shrink: 0;   /* plus kreslený, ne znak písma: je přesně na středu */
  width: 1.9rem; height: 1.9rem; border-radius: 50%;
  background-color: var(--mist);
  background-image: linear-gradient(var(--navy), var(--navy)), linear-gradient(var(--navy), var(--navy));
  background-size: 12px 2.4px, 2.4px 12px; background-position: center; background-repeat: no-repeat;
  transition: transform var(--t-mid) var(--ease), background-color var(--t-fast);
}
.faq summary:hover::after { background-color: var(--yellow); }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--yellow); }
.faq__answer { padding: 0 1.25rem 1.25rem; color: var(--text-soft); }
.faq__answer p:last-child { margin-bottom: 0; }
.faq__answer a { color: var(--blue-text); }
.faq-group + .faq-group { margin-top: var(--s-5); }
.faq-group > h2 { font-size: clamp(1.375rem, 1.2rem + .7vw, 1.75rem); margin-bottom: var(--s-3); }

/* 9.12 Vyhledávání v FAQ */
.faq-search { position: relative; max-width: 36rem; margin: var(--s-4) 0 0; }
.faq-search input { padding-left: 3rem; }
.faq-search svg { position: absolute; left: 1rem; top: 50%; width: 1.25rem; height: 1.25rem; transform: translateY(-50%); color: var(--text-soft); pointer-events: none; }
.faq-empty { padding: 1.25rem; border-radius: var(--r-md); background: var(--mist); }

/* 9.13 Reference */
.testimonials { position: relative; }
.testimonials__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: var(--s-3);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: .25rem .25rem 1rem; margin: 0 -.25rem; scrollbar-width: none;
}
.testimonials__track::-webkit-scrollbar { display: none; }
@media (min-width: 720px) { .testimonials__track { grid-auto-columns: calc((100% - var(--s-3)) / 2); } }
@media (min-width: 1080px) { .testimonials__track { grid-auto-columns: calc((100% - 2 * var(--s-3)) / 3); } }
@media (prefers-reduced-motion: reduce) { .testimonials__track { scroll-behavior: auto; } }
.testimonial {
  scroll-snap-align: start; margin: 0; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.9rem 1.9rem 1.6rem;
}
.testimonial blockquote { margin: 0 0 1.5rem; flex: 1; }
.testimonial__title {
  margin: 0 0 1rem; font-family: var(--font-head); font-weight: 800; color: var(--navy);
  font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); line-height: 1.25; letter-spacing: -.01em; text-wrap: pretty;
}
.testimonial__title .q { color: var(--blue); }
.testimonial blockquote p:not(.testimonial__title) { margin: 0; color: var(--text-soft); }
.testimonial figcaption { display: flex; align-items: center; gap: .85rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.testimonial img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--mist); flex-shrink: 0; }
.testimonial figcaption strong { display: block; font-family: var(--font-head); color: var(--navy); line-height: 1.3; }
.testimonial figcaption span { font-size: .9375rem; color: var(--text-soft); }
.testimonial figcaption span span { display: block; line-height: 1.4; }
.testimonial figcaption a { font-size: .9375rem; color: var(--blue-text); text-underline-offset: 3px; }
.testimonials__nav { display: flex; align-items: center; gap: 1rem; margin-top: var(--s-2); }
.testimonials__arrow {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: #fff; border: 1.5px solid var(--navy); color: var(--navy);
  transition: background-color var(--t-fast), color var(--t-fast), opacity var(--t-fast);
}
.testimonials__arrow svg { width: 20px; height: 20px; }
@media (hover: hover) { .testimonials__arrow:hover:not(:disabled) { background: var(--navy); color: #fff; } }
.testimonials__arrow:disabled { opacity: .35; cursor: default; }
.testimonials__arrow:focus-visible, .testimonials__dot:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.testimonials__dots { display: flex; gap: .15rem; }
.testimonials__dot { width: 24px; height: 44px; display: grid; place-items: center; background: none; border: 0; padding: 0; cursor: pointer; }
.testimonials__dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--navy); transition: background-color var(--t-fast); }
.testimonials__dot[aria-current="true"]::before { background: var(--navy); }
.testimonials__count { min-width: 4.5rem; text-align: center; font-family: var(--font-head); font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }

/* 9.14 Loga klientů */
.logo-wall { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 640px) { .logo-wall { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .logo-wall { grid-template-columns: repeat(6, 1fr); } }
.logo-wall a {
  display: grid; place-items: center; height: 5.5rem; padding: 1rem 1.25rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  transition: border-color var(--t-fast), transform var(--t-fast) var(--ease), box-shadow var(--t-fast);
}
.logo-wall a:hover { border-color: #BCD0E3; box-shadow: var(--shadow-1); }
.logo-wall img { max-height: 2.6rem; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter var(--t-fast), opacity var(--t-fast); }
.logo-wall a:hover img { filter: none; opacity: 1; }

/* 9.15 Čísla (metriky) */
.metrics { display: flex; flex-wrap: wrap; gap: var(--s-4); margin: var(--s-3) 0; }
.metric strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 1.6rem + 1.5vw, 2.75rem); color: var(--navy); line-height: 1; letter-spacing: -.02em; }
.metric span { font-size: var(--fs-small); color: var(--text-soft); }
.section--navy .metric strong { color: var(--yellow); }
.section--navy .metric span { color: rgba(255,255,255,.85); }

/* 9.16 Tým */
.team-card { display: grid; gap: 1.25rem; align-content: start; }
.team-card__photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 12%; border-radius: var(--r-md); background: var(--mist); }   /* hlava nahoře, neořezat čelo */
.team-card__placeholder {
  display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: var(--r-md);
  background: var(--grad-light); color: var(--navy);
  font-family: var(--font-head); font-weight: 800; font-size: 3rem; letter-spacing: -.02em;
}
.team-card__role { font-family: var(--font-head); font-weight: 600; color: var(--blue-text); margin: -.25rem 0 .75rem; }

/* 9.17 Pro koho ano a ne */
.fit { border-radius: var(--r-lg); padding: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.fit--yes { background: #fff; border: 2px solid var(--navy); }
.fit--no { background: var(--mist); }
.fit h3 { margin-bottom: 1rem; }

/* 9.18 Zvýrazněný blok „Tip od Upselo“ / „Věděli jste“ */
.tip {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start;
  padding: 1.25rem 1.5rem; border-radius: var(--r-md);
  background: #FFF8E1; border: 1px solid #FBE3A1;
}
.tip__icon { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 12px; background: var(--yellow); color: var(--navy); }
.tip__icon svg { width: 1.3rem; height: 1.3rem; }
.tip__label { display: block; font-family: var(--font-head); font-size: .8125rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); margin-bottom: .2rem; }
.tip p { margin: 0; }

/* 9.19 Cena */
.price-box {
  display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: .35rem 1rem;
  padding: 1rem 1.25rem; margin: 0 0 var(--s-3); border-radius: var(--r-md);
  background: rgba(255,255,255,.75); border: 1px solid #fff; box-shadow: var(--shadow-1);
}
.price-box strong { font-family: var(--font-head); font-size: 1.75rem; font-weight: 800; color: var(--navy); line-height: 1; }
.price-box span { color: var(--text-soft); font-size: var(--fs-small); }

/* 9.20 Kontaktní karta s fotkou (osobní kontakt) */
.contact-card { display: grid; gap: 1.25rem; align-items: center; background: #fff; border-radius: var(--r-lg); padding: 1.5rem; box-shadow: var(--shadow-2); }
@media (min-width: 560px) { .contact-card { grid-template-columns: auto 1fr; } }
.contact-card img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; }
.contact-card__icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--navy); }
.contact-card__icon svg { width: 32px; height: 32px; }
/* Blok E-shop na klíč (Designable) */
.eshop-band__head { display: grid; gap: var(--s-4); align-items: center; }
@media (min-width: 900px) { .eshop-band__head { grid-template-columns: 1fr 300px; gap: 4rem; } }
.eshop-band__head h2 { margin-top: 0; }
.eshop-band__logo { display: block; max-width: 220px; margin-inline: auto; }
@media (min-width: 900px) { .eshop-band__logo { max-width: 300px; } }
.eshop-band__logo img { width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(0, 32, 56, .25)); }
.eshop-band__stats { display: grid; gap: 1rem; margin: var(--s-5) 0 0; padding: 1.5rem 0; border-block: 1px solid rgba(255,255,255,.35); text-align: center; }
@media (min-width: 720px) { .eshop-band__stats { grid-template-columns: repeat(3, 1fr); } .eshop-band__stats div + div { border-left: 1px solid rgba(255,255,255,.35); } }
.eshop-band__stats dt { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem); line-height: 1.1; color: var(--yellow); }
.eshop-band__stats dd { margin: .35rem 0 0; color: #fff; font-size: 1.0625rem; }
.eshop-band__card { display: flex; flex-direction: column; }
.eshop-band__card .checklist { margin-bottom: 1.5rem; flex: 1; }
.eshop-band__card .btn { align-self: flex-start; }
.contact-card h3 { margin: 0 0 .15rem; }
.contact-card p { margin: 0 0 .5rem; color: var(--text-soft); }
.contact-card .email { display: inline-flex; align-items: center; padding-block: .55rem; margin-block: -.55rem; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--blue-text); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: rgba(0,119,185,.3); }
.contact-card .email:hover { color: var(--navy); text-decoration-color: var(--navy); }

.company { font-style: normal; line-height: 1.75; }
.company dt { font-weight: 800; color: var(--navy); }
.company dd { margin: 0 0 .5rem; }

/* 9.21 Tabulka platforem */
.table-wrap:focus-visible { outline-offset: 2px; }
.table-wrap { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; }
.table { width: 100%; border-collapse: collapse; min-width: 34rem; }
.table th, .table td { text-align: left; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table thead th { font-family: var(--font-head); font-size: .875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-soft); background: var(--mist); }
.table tbody th { font-family: var(--font-head); color: var(--navy); }
.table tr:last-child > * { border-bottom: 0; }


/* --------------------------------------------------------------------------
   10. FORMULÁŘE
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; }
.field label, .field .label { font-family: var(--font-head); font-weight: 700; font-size: .9375rem; color: var(--navy); }
.field .opt { font-family: var(--font-body); font-weight: 400; color: var(--text-soft); }
.input, .field input, .field select, .field textarea {
  width: 100%; min-height: 3.25rem; padding: .8rem 1.35rem;
  font: inherit; font-size: 1rem; /* 16 px a víc = iPhone nezoomuje */
  color: var(--text); background: #fff;
  border: 1.5px solid #BFCFDE; border-radius: 999px;   /* pilulka jako tlačítka */
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003C63' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1.25rem center; background-size: 1.1rem; padding-right: 3rem;
}
.field textarea { min-height: 8.5rem; resize: vertical; border-radius: 22px; }
.input:hover, .field :is(input, select, textarea):hover { border-color: var(--sky-deep); }
.input:focus, .field :is(input, select, textarea):focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 119, 185, .15); }
.field .hint { font-size: .875rem; color: var(--text-soft); }
.field.is-invalid :is(input, select, textarea) { border-color: var(--error); }
.field-error { font-size: .875rem; color: var(--error); font-weight: 700; }
.form-note { font-size: .875rem; color: var(--text-soft); margin: 0; }
.form-note a { color: var(--blue-text); }
.form-status { padding: 1rem 1.25rem; border-radius: 12px; font-weight: 700; }
.form-status--ok { background: #E3F4EC; color: var(--success); }
.form-status--err { background: #FDECEA; color: var(--error); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-card { background: #fff; border-radius: var(--r-lg); padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem); box-shadow: var(--shadow-2); }
.section--navy .form-card, .section--blue .form-card { color: var(--text); }

/* Newsletter nad patičkou (na všech stránkách) */
.newsletter { padding-block: clamp(3rem, 2.4rem + 3vw, 5rem); }
.newsletter .lead { margin-inline: auto; max-width: 36rem; color: #fff; }
.newsletter__icon { width: 88px; height: 88px; margin: 0 auto 1rem; }
.newsletter__form { max-width: 34rem; margin: var(--s-4) auto 0; text-align: left; }
.newsletter__row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: .75rem; }
.newsletter__row .field { flex: 1 1 16rem; }
.newsletter__row .btn { flex: 0 0 auto; }
.newsletter .form-note { margin-top: .9rem; text-align: center; color: rgba(255,255,255,.85); }
.newsletter .form-note a { color: #fff; }
.newsletter .field-error { color: #FFC9C4; }
.newsletter .form-status--ok { background: #E3F4EC; }
.newsletter + .site-footer { padding-top: var(--s-5); }

/* Inline formulář (e-mail + tlačítko) */
.inline-form { display: flex; flex-wrap: wrap; gap: .75rem; }
.inline-form .input { flex: 1 1 16rem; }


/* --------------------------------------------------------------------------
   11. PATIČKA A RAKETA
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  background: var(--blue); color: #fff;
  padding: clamp(3.5rem, 2.5rem + 4vw, 6rem) 0 0;
}
.cta-band h2 { color: #fff; max-width: 22ch; margin-inline: auto; }
.cta-band p { color: #fff; font-size: var(--fs-lead); max-width: 38rem; margin: 0 auto var(--s-4); }
.cta-band .btn-row { justify-content: center; }
.cta-band__perks { list-style: none; padding: 0; margin: var(--s-4) auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 1.75rem; }
.cta-band__perks li { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; }
.cta-band__perks li::before { content: ""; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003C63' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 62% no-repeat; }
.cta-band__rocket { width: min(100%, 44rem); margin: var(--s-4) auto 0; transform: translateY(2px); }
@media (prefers-reduced-motion: no-preference) {
  .cta-band__rocket.is-visible { animation: rocket-in 1.1s var(--ease) both; }
  @keyframes rocket-in { from { transform: translate(-6%, 8%); opacity: .4; } to { transform: translateY(2px); opacity: 1; } }
}

.site-footer { background: #fff; padding: var(--s-6) 0 var(--s-4); }
.footer-grid { display: grid; gap: var(--s-5); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: var(--s-4); } }

.footer-brand a { display: inline-flex; align-items: center; min-height: 2.75rem; margin-bottom: .75rem; }
.footer-brand img { width: 132px; }
.footer-brand p { color: var(--text-soft); max-width: 22rem; }
.footer-col h2 { font-family: var(--font-head); font-size: 1.125rem; font-weight: 800; letter-spacing: 0; text-transform: none; color: var(--navy); margin: 0 0 .5rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.footer-col a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 2.75rem;
  color: var(--navy); text-decoration: none; font-weight: 400; font-size: .9375rem;
  background-image: linear-gradient(currentColor, currentColor); background-size: 0 1.5px; background-position: 0 85%; background-repeat: no-repeat;
  transition: background-size var(--t-mid) var(--ease), color var(--t-fast);
}
.footer-col a:not(.btn):hover { background-size: 100% 1.5px; color: var(--blue-text); }
.footer-col .soon { font-size: .8125rem; color: var(--text-soft); margin-left: .35rem; }
.footer-contact { display: flex; gap: .9rem; align-items: center; }
.footer-contact img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.footer-contact strong { display: block; font-family: var(--font-head); color: var(--navy); line-height: 1.2; }
.footer-contact span { display: block; font-size: .875rem; color: var(--text-soft); }
.footer-contact a { font-weight: 800; color: var(--blue-text) !important; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .25rem 2rem;
  margin-top: var(--s-5); padding-top: var(--s-3); border-top: 1px solid var(--line);
  font-size: .875rem; color: var(--text-soft);
}
.footer-bottom p { margin: 0; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--text-soft); }
.footer-bottom a:hover { color: var(--navy); }


/* --------------------------------------------------------------------------
   12. POMOCNÉ TŘÍDY, ANIMACE, TISK
   -------------------------------------------------------------------------- */
.center { text-align: center; }
.nw { white-space: nowrap; display: inline !important; }
.btn-row--center { justify-content: center; }
.split--top { align-items: start; }
.h-md { font-size: clamp(1.375rem, 1.2rem + .7vw, 1.75rem); }
.h-lg { font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem); }
.h-sm { font-size: var(--fs-h3); }
.section--navy .lead { color: rgba(255,255,255,.88); }
.section--blue .lead { color: #fff; }   /* na modré jen plně bílá: 4,84 : 1 */
.mt-0 { margin-top: 0 !important; }
.mt-3 { margin-top: var(--s-3); }
.mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); }
.mb-0 { margin-bottom: 0 !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Jemné vyjetí sekcí při scrollu. Bez JavaScriptu je vše vidět hned. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .reveal-d1 { transition-delay: .08s; }
  .js .reveal-d2 { transition-delay: .16s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Hover jen pro zařízení s myší, na mobilu nezůstává „zaseknutý“ */
@media (hover: none) {
}

@media print {
  .site-header, .cta-band, .site-footer, .menu-toggle, .btn { display: none !important; }
  .section--card { width: 100%; border-radius: 0; }
  body { font-size: 12pt; }
}
.section--blue .card { color: var(--text); }   /* text v bílých kartách na modré nesmí dědit bílou */
.eshop-band__card .btn { font-size: .9375rem; padding-inline: 1rem; }
.eshop-band__card .checklist { align-content: start; }

/* Odznaky důvěry v hero (Upselo Pulse) */
.trust-badges { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.trust-badges li { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .85rem .45rem .6rem; border-radius: 999px; background: #fff; box-shadow: var(--shadow-1); font-family: var(--font-head); font-weight: 700; font-size: .9375rem; color: var(--navy); }
.trust-badges svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--blue); }
/* Kontrolní seznam */
.check-box { margin-top: var(--s-4); padding: 1.75rem 2rem; border-radius: var(--r-lg); background: #fff; border: 2px dashed #BCD0E3; }
.check-box h3 { margin-top: 0; }
.check-box ol { margin: 0 0 1rem; padding-left: 1.25rem; display: grid; gap: .4rem; }
.check-box p { margin: 0; color: var(--navy); }


/* ==========================================================================
   Vizualizace doplňku na e-shopu (.eshop-mock)
   Znovupoužitelné pro všechny doplňky: okno prohlížeče, náznak obsahu stránky,
   zvýrazněný blok doplňku (.eshop-mock__addon se štítkem) a kontext pod ním.
   Šedé bloky = obsah e-shopu, barevné = doplněk Upselo.
   ========================================================================== */
.eshop-mock { position: relative; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-3); overflow: hidden; max-width: 34rem; margin-inline: auto; font-family: var(--font-head); }
.eshop-mock__bar { display: flex; align-items: center; gap: .35rem; padding: .6rem .8rem; background: #EEF3F8; border-bottom: 1px solid var(--line); }
.eshop-mock__bar i { width: 9px; height: 9px; border-radius: 50%; background: #C9D6E3; }
.eshop-mock__bar span { margin-left: .6rem; flex: 1; max-width: 13rem; padding: .2rem .7rem; border-radius: 999px; background: #fff; font-size: .8125rem; color: var(--text-soft); }
.eshop-mock__page { padding: .9rem; display: grid; gap: .9rem; }
.eshop-mock__products { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; height: 2.4rem; overflow: hidden; -webkit-mask: linear-gradient(transparent, #000 80%); mask: linear-gradient(transparent, #000 80%); }
.eshop-mock__products span { border-radius: 8px; background: #EEF2F6; }
.eshop-mock__addon { position: relative; padding: 1.1rem .85rem .85rem; border-radius: 14px; outline: 2.5px solid var(--yellow); outline-offset: 2px; background: #fff; }
.eshop-mock__label { position: absolute; top: -.7rem; left: .75rem; padding: .1rem .6rem; border-radius: 999px; background: var(--yellow); color: var(--navy); font-size: .8125rem; font-weight: 800; letter-spacing: .02em; }
.ig-head { display: flex; align-items: center; gap: .55rem; margin-bottom: .7rem; }
.ig-head__avatar { width: 30px; height: 30px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--blue); color: var(--navy); font-weight: 800; font-size: .875rem; }
.ig-head__text { flex: 1; min-width: 0; line-height: 1.2; }
.ig-head__text strong { display: block; font-size: .875rem; color: var(--navy); }
.ig-head__text span { font-family: var(--font-body); font-size: .8125rem; color: var(--text-soft); }
.ig-head__btn { padding: .35rem .85rem; border-radius: 999px; background: var(--navy); color: #fff; font-size: .8125rem; font-weight: 700; }
.ig-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .35rem; }
.ig-post { aspect-ratio: 1; border-radius: 8px; display: grid; place-items: center; }
.ig-post--a { background: linear-gradient(135deg, #FFE9A8, #FFD15C); }
.ig-post--b { background: linear-gradient(135deg, #D6ECFB, #8CC3EA); }
.ig-post--c { background: linear-gradient(135deg, #B4DBF7, #5FA4D6); }
.ig-post--d { background: linear-gradient(135deg, #FFF3CC, #FFDD77); }
.ig-post--e { background: linear-gradient(135deg, #2F7FBF, #003C63); }
.eshop-mock__newsletter { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; padding: .75rem .85rem; border-radius: 12px; background: var(--navy); }
.eshop-mock__newsletter strong { flex: 1 1 100%; color: #fff; font-size: .875rem; }
.eshop-mock__input { flex: 1; padding: .35rem .7rem; border-radius: 999px; background: #fff; font-family: var(--font-body); font-size: .8125rem; color: #5E7184; }
.eshop-mock__btn { padding: .35rem .9rem; border-radius: 999px; background: var(--yellow); color: var(--navy); font-size: .8125rem; font-weight: 800; }
.eshop-mock__footer { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; padding: .35rem .15rem .3rem; }
.eshop-mock__footer span { height: 3.4rem; border-radius: 4px; background: linear-gradient(#DCE4EC 0 9px, transparent 9px 18px, #EEF2F6 18px 24px, transparent 24px 32px, #EEF2F6 32px 38px, transparent 38px); }
@media (max-width: 420px) { .ig-grid { grid-template-columns: repeat(4, 1fr); } .ig-post:nth-child(5) { display: none; } }

.pulse-visual { position: relative; }
.official-pill { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1rem; padding: .5rem 1.1rem .5rem .8rem; border-radius: 999px; background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1rem; }
.official-pill svg { width: 22px; height: 22px; color: var(--yellow); }

/* Úvod: problém → poznání → řešení (kompaktní příběh na střed) */
.story { text-align: center; }
.story h2 { margin: 0 auto .5rem; }
.story .lead { margin: 0 auto var(--s-3); }
.story__pains { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .story__pains { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .story__pains { grid-template-columns: repeat(5, 1fr); } }
.story__pains li { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: .7rem; padding: 1.4rem 1rem 1.5rem; border-radius: var(--r-md); background: var(--mist); font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem; line-height: 1.35; color: var(--navy); text-align: center; text-wrap: balance; }
.story__pains svg { width: 30px; height: 30px; flex-shrink: 0; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 599px) { .story__pains li { flex-direction: row; text-align: left; padding: .9rem 1rem; } .story__pains svg { width: 26px; height: 26px; } }
.story__arrow { display: block; width: 28px; height: 52px; margin: 1.25rem auto .75rem; fill: none; stroke: var(--navy); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.story__answer h3 { margin: 0 0 .4rem; font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); }
.story__answer p { max-width: 34rem; margin: 0 auto var(--s-3); font-size: var(--fs-lead); }

/* Mobil: přihlášení jen v rozbaleném menu, ne vedle hamburgeru */
@media (max-width: 899px) {
  .site-header__login { display: none; }
  .menu-toggle { margin-left: auto; }
}
@media (max-width: 759px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-4) var(--s-3); } .footer-brand { grid-column: 1 / -1; } }


/* Hero: druhý řádek nadpisu se píše jako na psacím stroji (čtečky čtou jen první větu) */
.rotator { display: grid; }
.rotator > span { grid-area: 1 / 1; }
.rotator__sizer { visibility: hidden; }   /* drží výšku podle nejdelší varianty, nic neposkakuje */
.rotator__sizer:first-child { visibility: visible; }   /* bez JS a s omezeným pohybem je vidět první věta */
.rotator.is-live .rotator__sizer { visibility: hidden; }
.rotator__typed.is-typing::after { content: ""; display: inline-block; width: .08em; height: .9em; margin-left: .06em; vertical-align: -.08em; background: var(--blue); animation: caret-blink 1s steps(1) infinite; }
@keyframes caret-blink { 50% { opacity: 0; } }

/* 404: schody s chybějícím schodem */
.schody-404 { display: block; width: clamp(180px, 40vw, 248px); height: auto; margin: 0 auto var(--s-3); }
