/* Adflow — společný styl webu (v3, 10/2026) — Apple design language
   Střídání celoplošných pásů (tmavá / bílá / šedá), jeden modrý akcent, SF Pro (Inter jako záloha),
   obří nadpisy s úzkým prokladem, pilulková tlačítka, žádné rámečky, gradienty ani stíny
   (kromě jediného měkkého stínu pod "produktem"). */

:root {
  --navy: #14213D;           /* tmavé pásy (značková navy) */
  --black: #000;
  --blue: #2563EB;           /* jediný akcent: tlačítka a odkazy na světlém */
  --blue-dark: #1D4FD0;
  --blue-on-dark: #7FB2FF;   /* odkazy na tmavém */
  --teal: #14B8A6;           /* jen v logu */
  --white: #fff;
  --parch: #F5F5F7;         /* šedý pás */
  --ink: #1D1D1F;
  --muted: #6E6E73;
  --hairline: rgba(0,0,0,.12);
  --on-dark: #fff;
  --on-dark-muted: rgba(255,255,255,.72);
  --hairline-dark: rgba(255,255,255,.18);

  --m: clamp(1.25rem, 5vw, 2.75rem);               /* okraj stránky */
  --pad-tile: clamp(4.5rem, 9vw, 8.5rem);          /* svislý vzduch pásu */
  --shadow-product: 3px 5px 30px rgba(0,0,0,.22);  /* jediný stín v systému */

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 56px; }
body {
  font-family: var(--font);
  font-size: 1.0625rem;           /* 17 px — Apple čte, nelistuje */
  line-height: 1.47;
  letter-spacing: -0.022em;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* --- Typografie (váhy 400 / 600; 500 se nepoužívá) --- */
.display, .h2 { font-weight: 600; text-wrap: balance; hyphens: none; }
.display { font-size: clamp(2.75rem, 1.2rem + 6.4vw, 6.25rem); line-height: 1.03; letter-spacing: -0.035em; }
.h2 { font-size: clamp(2.125rem, 1.25rem + 3.4vw, 4rem); line-height: 1.07; letter-spacing: -0.03em; }
.h3 { font-size: clamp(1.3125rem, 1.15rem + .5vw, 1.5rem); line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; }
.lead { font-size: clamp(1.25rem, 1.1rem + .75vw, 1.75rem); line-height: 1.28; letter-spacing: -0.015em; font-weight: 400; text-wrap: pretty; }
.small { font-size: .875rem; line-height: 1.43; letter-spacing: -0.016em; }
.num { font-variant-numeric: tabular-nums; }
p { max-width: 62ch; text-wrap: pretty; }

/* --- Pásy --- */
.tile { padding-block: var(--pad-tile); text-align: center; }
.tile > .inner { max-width: 980px; margin-inline: auto; padding-inline: var(--m); }
.tile > .inner.wide { max-width: 1240px; }
.tile .lead { margin: 1.4rem auto 0; max-width: 34ch; }
.tile p.sub { margin: 1.4rem auto 0; max-width: 56ch; }
.t-white { background: var(--white); color: var(--ink); }
.t-parch { background: var(--parch); color: var(--ink); }
.t-navy  { background: var(--navy);  color: var(--on-dark); }
.t-white .lead, .t-parch .lead, .t-white p.sub, .t-parch p.sub { color: var(--muted); }
.t-navy .lead, .t-navy p.sub { color: var(--on-dark-muted); }

/* --- Logo (typografické ad + flow) --- */
.wordmark {
  font-family: 'Archivo', var(--font); font-stretch: 78%; font-weight: 900;
  letter-spacing: -0.03em; font-size: 1.6rem; line-height: 1; text-decoration: none;
  color: var(--white);
}
.wordmark .f { color: var(--teal); }
.t-parch .wordmark, .t-white .wordmark, .foot .wordmark { color: var(--navy); }

/* --- Navigace: tenká černá lišta, zamlžená --- */
.gnav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 48px; background: rgba(0,0,0,.78); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.gnav .in { max-width: 1240px; height: 100%; margin-inline: auto; padding-inline: var(--m); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.gnav .wordmark { font-size: 1.5rem; color: #fff; }
.gnav ul { display: flex; align-items: center; gap: clamp(1.1rem, 2.6vw, 2.4rem); list-style: none; }
.gnav a:not(.wordmark):not(.btn) { text-decoration: none; font-size: .8125rem; letter-spacing: -0.01em; color: rgba(255,255,255,.82); }
.gnav a:not(.wordmark):not(.btn):hover { color: #fff; }

/* --- Tlačítka --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: inherit; font-size: 1.0625rem; font-weight: 400; letter-spacing: -0.022em; line-height: 1.1;
  text-decoration: none; cursor: pointer; border: 1px solid transparent; border-radius: 980px;
  padding: .7rem 1.35rem; background: var(--blue); color: #fff;
  transition: background-color .2s ease, transform .12s ease;
}
.btn:hover { background: var(--blue-dark); }
.btn:active { transform: scale(.95); }
.btn-lg { padding: .9rem 1.8rem; font-size: 1.1875rem; }
.btn-sm { padding: .42rem .95rem; font-size: .8125rem; }
.btn-ghost { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-ghost:hover { background: var(--blue); color: #fff; }
.on-dark .btn-ghost { color: var(--blue-on-dark); border-color: var(--blue-on-dark); }
.on-dark .btn-ghost:hover { background: var(--blue-on-dark); color: #001B44; }

/* Textový odkaz se šipkou: „Zjistit více ›" */
.more { text-decoration: none; color: var(--blue); font-size: 1.0625rem; letter-spacing: -0.022em; }
.more::after { content: " ›"; }
.more:hover { text-decoration: underline; text-underline-offset: .2em; }
.on-dark .more, .t-navy .more { color: var(--blue-on-dark); }

.cta-row { display: flex; flex-wrap: wrap; gap: .9rem 1.8rem; justify-content: center; align-items: center; margin-top: 2rem; }

/* --- Patička: šedá, hustá, drobná --- */
.foot { background: var(--parch); color: #424245; padding-block: 3.5rem 2.25rem; }
.foot .inner { max-width: 1240px; margin-inline: auto; padding-inline: var(--m); }
.foot-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem 4rem; flex-wrap: wrap; padding-bottom: 2rem; border-bottom: 1px solid var(--hairline); }
.foot-claim { margin-top: .9rem; font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.foot-links { display: flex; gap: .5rem 2.4rem; flex-wrap: wrap; list-style: none; }
.foot-links a { text-decoration: none; font-size: .875rem; color: #424245; }
.foot-links a:hover { text-decoration: underline; text-underline-offset: .2em; }
.foot-bottom { display: flex; justify-content: space-between; gap: .6rem 1rem; flex-wrap: wrap; margin-top: 1.5rem; font-size: .75rem; color: var(--muted); }
.foot-bottom a { text-decoration: none; }

/* --- Drobné: nenápadné objevení při scrollu (jen s JS) --- */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.32,.72,0,1), transform .9s cubic-bezier(.32,.72,0,1); }
.js .rv.in { opacity: 1; transform: none; }

@media (max-width: 734px) {
  .gnav ul li:not(:last-child) { display: none; }
  .tile .lead { max-width: 28ch; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .rv { opacity: 1; transform: none; }
}
