@charset "UTF-8";
/* =========================================================================
   profesionalni.info – hlavní styl
   Bez frameworku, bez webfontů, bez ikonového fontu.
   Ikony jsou CSS masky (inline SVG), takže nepřidávají jediný požadavek.
   ========================================================================= */

/* ---------- 1. Designové proměnné ---------- */
:root {
  --navy-900: #08192a;
  --navy-800: #0f273d;
  --navy-700: #163650;
  --blue-600: #0062d3;
  --blue-500: #0078ff;
  --blue-100: #e7f1ff;
  --amber:    #fbb210;
  --amber-dk: #d99400;
  --ink:      #16202c;
  --ink-soft: #4d5b6b;
  --line:     #e3e9f0;
  --bg:       #ffffff;
  --bg-soft:  #f5f8fc;

  --radius:    16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(9, 30, 66, .06), 0 2px 8px rgba(9, 30, 66, .05);
  --shadow:    0 4px 12px rgba(9, 30, 66, .07), 0 12px 32px rgba(9, 30, 66, .08);
  --shadow-lg: 0 12px 24px rgba(9, 30, 66, .09), 0 32px 64px rgba(9, 30, 66, .14);

  --container: 1200px;
  --header-h:  96px;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
          "Noto Sans", "Liberation Sans", Arial, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Reset a základ ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(16px, .95rem + .2vw, 17.5px);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.18;
  letter-spacing: -.02em;
  color: var(--navy-800);
  font-weight: 800;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.7vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-500); }

ul, ol { padding-left: 1.2em; }
li { margin-bottom: .4em; }

strong { font-weight: 700; color: var(--navy-800); }
small  { font-size: .875em; }

:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 2px;
  border-radius: 4px;
}

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container.narrow { width: min(100% - 2.5rem, 860px); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy-800); color: #fff; padding: .8rem 1.2rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.muted { color: var(--ink-soft); }
.lead  { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: var(--ink-soft); }

/* ---------- 3. Ikony (CSS masky) ---------- */
.ico {
  display: inline-block; width: 1.05em; height: 1.05em;
  vertical-align: -.15em; background-color: currentColor;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
  flex: none;
}
.ico-phone { -webkit-mask-image: var(--i-phone); mask-image: var(--i-phone); }
.ico-mail  { -webkit-mask-image: var(--i-mail);  mask-image: var(--i-mail); }
.ico-pin   { -webkit-mask-image: var(--i-pin);   mask-image: var(--i-pin); }
.ico-fb    { -webkit-mask-image: var(--i-fb);    mask-image: var(--i-fb); }
.ico-li    { -webkit-mask-image: var(--i-li);    mask-image: var(--i-li); }
.ico-wa    { -webkit-mask-image: var(--i-wa);    mask-image: var(--i-wa); }

:root {
  --i-phone: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3.65 1.33a1.2 1.2 0 0 1 1.7.15l1.5 1.9a1.2 1.2 0 0 1-.1 1.6l-.9.9a9.8 9.8 0 0 0 4.3 4.3l.9-.9a1.2 1.2 0 0 1 1.6-.1l1.9 1.5a1.2 1.2 0 0 1 .15 1.7l-.9 1a2 2 0 0 1-2.2.55C8.5 12.6 3.4 7.5 2.1 3.4a2 2 0 0 1 .55-2.2z"/></svg>');
  --i-mail:  url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M1.5 3h13A1.5 1.5 0 0 1 16 4.5v7A1.5 1.5 0 0 1 14.5 13h-13A1.5 1.5 0 0 1 0 11.5v-7A1.5 1.5 0 0 1 1.5 3zm.3 1.4L8 8.4l6.2-4z"/></svg>');
  --i-pin:   url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 0a5 5 0 0 0-5 5c0 4 5 11 5 11s5-7 5-11a5 5 0 0 0-5-5zm0 7a2 2 0 1 1 0-4 2 2 0 0 1 0 4z"/></svg>');
  --i-fb:    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M16 8a8 8 0 1 0-9.25 7.9v-5.6H4.72V8h2.03V6.24c0-2 1.2-3.11 3.02-3.11.87 0 1.79.16 1.79.16v1.97h-1.01c-.99 0-1.3.62-1.3 1.25V8h2.22l-.36 2.3H9.25v5.6A8 8 0 0 0 16 8z"/></svg>');
  --i-li:    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M0 1.6C0 .72.73 0 1.6 0h12.8c.87 0 1.6.72 1.6 1.6v12.8c0 .88-.73 1.6-1.6 1.6H1.6A1.6 1.6 0 0 1 0 14.4zM4.9 13.4V6.2H2.5v7.2zm-1.2-8.2a1.4 1.4 0 1 0 0-2.8 1.4 1.4 0 0 0 0 2.8zm3.9 8.2h2.4V9.4c0-.22.02-.43.08-.59.17-.43.56-.88 1.22-.88.86 0 1.2.66 1.2 1.62v3.85h2.4V9.27c0-2.22-1.18-3.25-2.76-3.25-1.29 0-1.86.71-2.17 1.2V6.2H7.6c.03.68 0 7.2 0 7.2z"/></svg>');
  --i-wa:    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13.6 2.33A7.86 7.86 0 0 0 8 0a7.94 7.94 0 0 0-6.88 11.9L0 16l4.2-1.1A7.93 7.93 0 0 0 16 7.94a7.9 7.9 0 0 0-2.4-5.61zM8 14.6a6.6 6.6 0 0 1-3.36-.92l-.24-.14-2.5.65.67-2.43-.16-.25A6.59 6.59 0 1 1 8 14.6zm3.62-4.93c-.2-.1-1.17-.58-1.35-.64s-.31-.1-.44.1-.51.64-.63.78-.23.15-.43.05a5.4 5.4 0 0 1-2.7-2.36c-.2-.35.2-.32.58-1.08a.36.36 0 0 0-.02-.34c-.05-.1-.44-1.07-.6-1.46s-.32-.33-.44-.34h-.38a.72.72 0 0 0-.52.24 2.2 2.2 0 0 0-.69 1.64 3.83 3.83 0 0 0 .8 2.03 8.75 8.75 0 0 0 3.35 2.96c1.24.54 1.73.58 2.36.49.38-.06 1.17-.48 1.33-.94s.17-.86.12-.94-.18-.14-.38-.24z"/></svg>');
  --i-tag:   url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 2h5.6a2 2 0 0 1 1.4.6l5.4 5.4a2 2 0 0 1 0 2.8l-4.6 4.6a2 2 0 0 1-2.8 0L1.6 10A2 2 0 0 1 1 8.6V3a1 1 0 0 1 1-1zm2.5 4.2a1.7 1.7 0 1 0 0-3.4 1.7 1.7 0 0 0 0 3.4z"/></svg>');
  --i-clock: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm.8 3.6v4.1l3 1.8-.8 1.3-3.7-2.2V3.6z"/></svg>');
  --i-admin: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M1.5 1h13A1.5 1.5 0 0 1 16 2.5v11a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 13.5v-11A1.5 1.5 0 0 1 1.5 1zM1.4 5v8.5h13.2V5zM2.6 2.4a.8.8 0 1 0 0 1.6.8.8 0 0 0 0-1.6zm2.4 0a.8.8 0 1 0 0 1.6.8.8 0 0 0 0-1.6zM3 6.8h6v1.5H3zm0 3h4.5v1.5H3z"/></svg>');
  --i-seo:   url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6.6 0a6.6 6.6 0 0 1 5.2 10.7l3.9 3.9-1.1 1.1-3.9-3.9A6.6 6.6 0 1 1 6.6 0zm0 1.6a5 5 0 1 0 0 10 5 5 0 0 0 0-10z"/></svg>');
  --i-fee:   url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 0 1.5 2.4v5.3c0 3.7 2.8 7 6.5 8.3 3.7-1.3 6.5-4.6 6.5-8.3V2.4zm3.4 5.1L7.3 11 4.4 8.4l1-1.1 1.8 1.6 3.1-3.9z"/></svg>');
  --i-star:  url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 .6l2.1 4.6 5 .6-3.7 3.4 1 4.9L8 11.7l-4.4 2.4 1-4.9L.9 5.8l5-.6z"/></svg>');
  --i-check: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13.9 3.3 6 11.2 2.1 7.3.7 8.7l5.3 5.3 9.3-9.3z"/></svg>');
}

/* ---------- 4. Tlačítka ---------- */
.btn {
  --btn-bg: var(--blue-500);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.5em;
  font: inherit; font-weight: 700; line-height: 1.2;
  color: #fff; background: var(--btn-bg);
  border: 2px solid transparent; border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
  box-shadow: 0 6px 18px rgba(0, 120, 255, .28);
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 120, 255, .36); }
.btn:active { transform: translateY(0); }

.btn-primary { --btn-bg: linear-gradient(135deg, var(--blue-500), var(--blue-600)); background-image: linear-gradient(135deg, var(--blue-500), var(--blue-600)); }
.btn-accent  { background: linear-gradient(135deg, var(--amber), var(--amber-dk)); color: var(--navy-900); box-shadow: 0 6px 18px rgba(251, 178, 16, .35); }
.btn-accent:hover { color: var(--navy-900); box-shadow: 0 10px 26px rgba(251, 178, 16, .45); }
.btn-ghost   { background: transparent; color: var(--navy-800); border-color: var(--line); box-shadow: none; }
.btn-ghost:hover { color: var(--navy-800); border-color: var(--blue-500); background: var(--blue-100); box-shadow: none; }
.btn-lg      { padding: .95em 1.9em; font-size: 1.02rem; }
.btn-block   { display: flex; width: 100%; }

/* na tmavém pozadí */
.on-dark strong, .hero strong, .page-head strong, .cta-band strong,
.contact-card strong, .site-footer strong, .stats strong { color: #fff; }
.on-dark .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.on-dark .btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }

/* ---------- 5. Hlavička a navigace ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(8, 25, 42, .82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-stuck { background: rgba(8, 25, 42, .97); box-shadow: 0 8px 30px rgba(0, 0, 0, .28); }

.header-inner { display: flex; align-items: center; gap: 1rem; height: var(--header-h); }
.logo { display: flex; align-items: center; flex: none; }
.logo img { width: auto; height: 67px; }

.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.nav-list > li { margin: 0; position: relative; }
.nav-list a, .sub-toggle {
  display: flex; align-items: center; gap: .35rem;
  padding: .55rem .8rem; border-radius: 999px;
  color: rgba(255, 255, 255, .86); font-weight: 600; font-size: .96rem;
  text-decoration: none; background: none; border: 0; font-family: inherit; cursor: pointer;
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.nav-list a:hover, .sub-toggle:hover { color: #fff; background: rgba(255, 255, 255, .1); }

/* Aktivní stránka: tenká zlatá linka pod textem, bez podbarvení. */
.nav-list a[aria-current="page"] { position: relative; color: #fff; background: none; }
.nav-list a[aria-current="page"]::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .28rem;
  height: 2px; border-radius: 2px; background: var(--amber);
}
.nav-list a[aria-current="page"]:hover { background: rgba(255, 255, 255, .1); }

.chev { width: .55em; height: .55em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s var(--ease); }
.has-sub[data-open="true"] .chev { transform: rotate(-135deg) translate(-2px, -2px); }

.sub {
  position: absolute; top: calc(100% + .4rem); left: 0; z-index: 20;
  min-width: 310px; margin: 0; padding: .5rem; list-style: none;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.has-sub:hover .sub, .has-sub[data-open="true"] .sub,
.has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.sub li { margin: 0; }
.sub a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: .6rem .8rem; border-radius: var(--radius-sm); color: var(--navy-800);
}
.sub a strong { font-weight: 700; color: inherit; }
.sub a span { font-size: .82rem; color: var(--ink-soft); font-weight: 600; white-space: nowrap; }
.sub a:hover { background: var(--blue-100); color: var(--blue-600); }
.sub a:hover span { color: var(--blue-600); }

/* Podmenu má světlé pozadí, takže bílá barva aktivní položky z hlavní
   navigace by na něm zmizela. Tady se přepisuje na modrou s podbarvením. */
.sub a[aria-current="page"] { color: var(--blue-600); background: var(--blue-100); }
.sub a[aria-current="page"] span { color: var(--blue-600); }
.sub a[aria-current="page"]::after { display: none; }

.nav-cta a { background: linear-gradient(135deg, var(--blue-500), var(--blue-600)); color: #fff; padding: .6rem 1.15rem; }
.nav-cta a:hover { color: #fff; }
.nav-phone { display: none; }

.header-call { display: none; }

.nav-toggle {
  display: none; flex: none;
  width: 46px; height: 42px; padding: 10px 9px;
  background: rgba(255, 255, 255, .1); border: 0; border-radius: 12px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; margin: 4px 0; background: #fff; border-radius: 2px; transition: transform .22s var(--ease), opacity .22s var(--ease); }
.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); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem)) 0 clamp(3rem, 6vw, 5rem);
  color: #fff;
  background:
    radial-gradient(1000px 520px at 12% -10%, rgba(0, 120, 255, .38), transparent 60%),
    radial-gradient(760px 460px at 88% 8%, rgba(251, 178, 16, .20), transparent 62%),
    linear-gradient(165deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(760px 460px at 50% 20%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(760px 460px at 50% 20%, #000, transparent 75%);
}
.hero h1 { color: #fff; max-width: 18ch; }
.hero h1 .hl {
  background: linear-gradient(120deg, var(--amber), #ffd76a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; }
.hero-sub { font-size: clamp(1.05rem, 1rem + .5vw, 1.3rem); color: rgba(255, 255, 255, .84); max-width: 46ch; }
/* Psaný text mění délku. Bez rezervované výšky by se při zalomení
   na druhý řádek posunul celý obsah hera včetně ukázky vpravo. */
.hero-typed { min-height: 3.2em; }
.typed { color: var(--amber); font-weight: 700; }
.typed::after { content: "|"; margin-left: 2px; animation: caret 1s steps(1) infinite; color: rgba(255, 255, 255, .7); }
@keyframes caret { 50% { opacity: 0; } }

.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1.5rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .5rem .6rem; margin: 0; padding: 0; list-style: none; }
.hero-trust li {
  display: flex; align-items: center; gap: .45em; margin: 0;
  padding: .4rem .85rem; border-radius: 999px; font-size: .87rem; font-weight: 600;
  color: rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .14);
}
.hero-trust li::before {
  content: ""; width: 1.05em; height: 1.05em; background-color: var(--amber);
  -webkit-mask-image: var(--chip-i, var(--i-check)); mask-image: var(--chip-i, var(--i-check));
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
}
.hero-trust .t-price { --chip-i: var(--i-tag); }
.hero-trust .t-time  { --chip-i: var(--i-clock); }
.hero-trust .t-admin { --chip-i: var(--i-admin); }
.hero-trust .t-seo   { --chip-i: var(--i-seo); }
.hero-trust .t-fee   { --chip-i: var(--i-fee); }

/* ukázka realizace v heru */
.hero-visual { display: flex; flex-direction: column; }

/* Vlastní obal kvůli odznaku – ten se pozicuje k ukázce, ne k celému
   sloupci, jinak by se propadl pod odrážky s výhodami. */
.hero-shot { position: relative; }

.hero-visual .hero-trust { margin-top: 3.2rem; }

.mockup {
  margin: 0; overflow: hidden;
  background: #0b1c2e;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45), 0 4px 12px rgba(0, 0, 0, .3);
  transform: perspective(1400px) rotateY(-5deg) rotateX(2deg);
  transition: transform .5s var(--ease);
}
.hero-visual:hover .mockup { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }

.mockup-bar {
  display: flex; align-items: center; gap: .4rem;
  padding: .6rem .8rem;
  background: rgba(255, 255, 255, .07);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.mockup-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.mockup-bar span:first-child { background: #ff5f57; }
.mockup-bar span:nth-child(2) { background: #febc2e; }
.mockup-bar span:nth-child(3) { background: #28c840; }
.mockup-bar em {
  flex: 1; margin-left: .6rem; padding: .18rem .7rem;
  font-style: normal; font-size: .76rem; font-weight: 600;
  color: rgba(255, 255, 255, .62);
  background: rgba(0, 0, 0, .28); border-radius: 999px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mockup a { display: block; }
.mockup img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }

.mockup-badge {
  position: absolute; left: -14px; bottom: -22px;
  display: flex; align-items: center; gap: .7rem;
  padding: .85rem 1.15rem;
  background: linear-gradient(135deg, var(--amber), var(--amber-dk));
  color: var(--navy-900); border-radius: 14px;
  box-shadow: 0 14px 32px rgba(251, 178, 16, .34);
}
.mockup-badge b { font-size: 1.9rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.mockup-badge span { font-size: .8rem; font-weight: 700; line-height: 1.25; }

/* dlaždice služeb v heru */
.hero-tiles {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem;
  margin-top: clamp(3rem, 5vw, 4.5rem);
}
.tile {
  display: flex; flex-direction: column; gap: .55rem;
  padding: 1.25rem 1.15rem; border-radius: var(--radius);
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  color: #fff; text-decoration: none;
  transition: transform .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease);
}
.tile:hover { color: #fff; transform: translateY(-4px); background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .3); }
.tile img { width: 46px; height: 46px; object-fit: contain; }
.tile b { font-size: 1.02rem; font-weight: 700; letter-spacing: -.01em; }
.tile span { font-size: .84rem; color: rgba(255, 255, 255, .68); font-weight: 600; }

/* ---------- 7. Sekce ---------- */
.section { padding: clamp(3.2rem, 6vw, 5.5rem) 0; }
.section-alt { background: var(--bg-soft); }
.section-title { text-align: center; margin-bottom: .35em; }
.section-sub { text-align: center; max-width: 62ch; margin: 0 auto 2.6rem; color: var(--ink-soft); font-size: 1.05rem; }
/* Podnadpis bývá posledním odstavcem svého bloku a pravidlo
   p:last-child { margin-bottom: 0 } má vyšší specificitu než .section-sub.
   Mezera pod ním se tím rušila a obsah se lepil na text. */
p.section-sub, p.section-sub:last-child { margin-bottom: 2.6rem; }
.section-title.left, .section-sub.left { text-align: left; margin-inline: 0; }

.eyebrow {
  display: inline-block; margin-bottom: .9rem; padding: .35rem .9rem;
  font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  color: var(--blue-600); background: var(--blue-100); border-radius: 999px;
}
.on-dark .eyebrow { color: var(--amber); background: rgba(251, 178, 16, .14); }

/* ---------- 8. Karty služeb ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }

.card {
  display: flex; flex-direction: column;
  padding: 1.8rem 1.6rem; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfe0f5; }
/* Ikona a nadpis vedle sebe, ne pod sebou. */
.card-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.1rem; }
.card-head .card-ico { margin-bottom: 0; }
.card-head h3 { margin-bottom: 0; }

.card-ico {
  display: grid; place-items: center; flex: none;
  width: 84px; height: 84px; margin-bottom: 1.1rem;
  background: linear-gradient(135deg, var(--blue-100), #fff);
  border: 1px solid var(--line); border-radius: 20px;
}
.card-ico img { width: 60px; height: 60px; object-fit: contain; }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--ink-soft); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1.2rem; }
.card-price { font-weight: 800; color: var(--navy-800); font-size: .95rem; }
.card-more { font-weight: 700; text-decoration: none; white-space: nowrap; }
.card-more::after { content: " →"; }

/* seznam s fajfkami */
.ticks { list-style: none; margin: 0 0 1.2em; padding: 0; }
.ticks li { position: relative; padding-left: 1.85em; margin-bottom: .5em; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 1.05em; height: 1.05em; background-color: var(--blue-500);
  -webkit-mask-image: var(--i-check); mask-image: var(--i-check);
  -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.on-dark .ticks li::before { background-color: var(--amber); }

/* ---------- 9. Čísla ---------- */
.stats { padding: clamp(2.2rem, 4vw, 3rem) 0; color: #fff; background: linear-gradient(135deg, var(--navy-800), var(--navy-700)); }
.stats-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); text-align: center; }
.stat .num { display: block; font-size: clamp(2.1rem, 1.4rem + 2.4vw, 3.2rem); font-weight: 800; line-height: 1; color: var(--amber); letter-spacing: -.03em; }
.stat .lbl { display: block; margin-top: .5rem; font-size: .9rem; font-weight: 600; color: rgba(255, 255, 255, .78); text-transform: uppercase; letter-spacing: .05em; }

/* ---------- 10. O mně ---------- */
.about-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; }
.about-photo { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.about-facts { margin: 1.4rem 0 0; padding: 1.2rem 1.3rem; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); }
.about-facts dl { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1rem; margin: 0; font-size: .95rem; }
.about-facts dt { font-weight: 700; color: var(--navy-800); }
.about-facts dd { margin: 0; color: var(--ink-soft); }

/* ---------- 11. Postup ---------- */
.steps { counter-reset: step; display: grid; gap: 2.6rem 1.2rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.step { position: relative; padding: 2.4rem 1.4rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -18px; left: 1.4rem;
  display: grid; place-items: center; width: 44px; height: 44px;
  font-size: 1.1rem; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  border-radius: 14px; box-shadow: 0 6px 16px rgba(0, 120, 255, .35);
}
.step h3 { font-size: 1.08rem; margin-bottom: .35em; }
.step p { margin: 0; font-size: .95rem; color: var(--ink-soft); }

/* ---------- 12. Reference ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2.2rem; }
.filter {
  padding: .5rem 1.1rem; font: inherit; font-size: .9rem; font-weight: 700;
  color: var(--navy-800); background: #fff; border: 1px solid var(--line);
  border-radius: 999px; cursor: pointer; transition: all .18s var(--ease);
}
.filter:hover { border-color: var(--blue-500); color: var(--blue-600); }
.filter[aria-pressed="true"] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

.works { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); }
.work {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.work:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.work[hidden] { display: none; }
.work-media { position: relative; display: block; overflow: hidden; background: var(--bg-soft); aspect-ratio: 16 / 10; }
.work-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s var(--ease); }
.work:hover .work-media img { transform: scale(1.045); }
.work-zoom {
  position: absolute; inset: auto 0 0 0; padding: .6rem .9rem;
  font-size: .82rem; font-weight: 700; color: #fff;
  background: linear-gradient(transparent, rgba(8, 25, 42, .85));
  opacity: 0; transition: opacity .2s var(--ease);
}
.work:hover .work-zoom { opacity: 1; }
.badge {
  position: absolute; top: .8rem; left: .8rem; z-index: 2;
  padding: .3rem .75rem; border-radius: 999px;
  font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
}
.badge-new  { background: var(--amber); color: var(--navy-900); }
.badge-soon { background: rgba(8, 25, 42, .85); color: #fff; }

.work-body { display: flex; flex-direction: column; flex: 1; padding: 1.35rem 1.4rem 1.5rem; }
.work-cat { font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-600); }
.work-body h3 { margin: .35em 0 .3em; font-size: 1.15rem; }
.work-claim { color: var(--ink-soft); font-size: .95rem; }
.work-body .ticks { font-size: .9rem; }
.work-more { padding-left: 1.85em; }
.work-more::before { display: none; }
.work-more a { font-weight: 700; }

/* Náhled nesmí za žádných okolností přetéct kartu. */
.work-media img { max-width: 100%; }
.work-body .ticks li::before { top: .35em; }
.work-link { margin: auto 0 0; padding-top: .9rem; border-top: 1px solid var(--line); font-size: .92rem; font-weight: 700; }

/* nadpis karty vede na případovou studii */
.work-body h3 a { color: inherit; text-decoration: none; }
.work-body h3 a:hover { color: var(--blue-600); }
.work-link { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .9rem; }
.work-link .work-live { font-weight: 600; color: var(--ink-soft); }
.work-link .work-live:hover { color: var(--blue-600); }

/* ---------- 12b. Případová studie ---------- */
.case-shot { margin: 0; }
.case-shot img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center;
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.case-shot figcaption { margin-top: 1rem; text-align: center; font-weight: 700; }

.case-facts { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.2rem; margin: 0; font-size: .95rem; }
.case-facts dt { font-weight: 700; color: var(--navy-800); }
.case-facts dd { margin: 0; color: var(--ink-soft); }

.case-quote {
  margin: 1.8rem 0; padding: 1.4rem 1.6rem;
  background: var(--bg-soft); border-left: 3px solid var(--blue-500);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.case-quote p { font-size: 1.08rem; font-style: italic; color: var(--navy-800); }
.case-quote cite { display: block; margin-top: .7rem; font-size: .9rem; font-style: normal; color: var(--ink-soft); }

/* ---------- 12b2. Záruka ---------- */
.promise { background: var(--bg-soft); }
.promise-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); }

.promise-item {
  position: relative;
  padding: 1.7rem 1.6rem 1.6rem 3.6rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.promise-item::before {
  content: ""; position: absolute; top: 1.85rem; left: 1.4rem;
  width: 1.4rem; height: 1.4rem; background-color: var(--blue-500);
  -webkit-mask-image: var(--i-check); mask-image: var(--i-check);
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.promise-item h3 { font-size: 1.08rem; margin-bottom: .4em; }
.promise-item p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

.promise-sign {
  display: flex; align-items: flex-start; gap: .6rem;
  max-width: 62ch; margin: 2.2rem auto 0;
  padding: 1rem 1.3rem;
  background: #fff; border: 1px dashed var(--line); border-radius: var(--radius);
  font-size: .95rem; color: var(--ink-soft);
}
.promise-sign .ico { margin-top: .28em; color: var(--blue-500); }

@media (max-width: 620px) {
  .promise-item { padding: 1.4rem 1.3rem 1.3rem 3.2rem; }
  .promise-item::before { left: 1.15rem; top: 1.55rem; }
}

/* ---------- 12c. Hodnocení zákazníků ---------- */
.review-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.review {
  display: flex; flex-direction: column; gap: 1rem; margin: 0;
  padding: 1.7rem 1.6rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.review blockquote { margin: 0; }
.review blockquote p { color: var(--ink); font-size: 1.02rem; line-height: 1.6; }
.review blockquote p::before { content: "\201E"; }
.review blockquote p::after  { content: "\201C"; }

.review figcaption { display: flex; flex-direction: column; gap: .15rem; margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line); font-size: .92rem; }
.review figcaption strong { color: var(--navy-800); }
.review figcaption span { color: var(--ink-soft); font-size: .88rem; }
.review-ref { margin-top: .35rem; font-size: .86rem; font-weight: 700; }

.stars { display: flex; gap: .18rem; }
.star {
  width: 1.05rem; height: 1.05rem; background-color: var(--line);
  -webkit-mask-image: var(--i-star); mask-image: var(--i-star);
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.star.on { background-color: var(--amber); }

.review-cta { margin-top: 2.2rem; text-align: center; color: var(--ink-soft); font-size: .95rem; }

/* ---------- 13. Ceník ---------- */
.pricing { max-width: 720px; }
.price-table { width: 100%; border-collapse: collapse; margin: 0 0 2rem; font-size: .98rem; }
.price-table th, .price-table td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
.price-table thead th { font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); background: var(--bg-soft); }
.price-table tbody th { font-weight: 600; color: var(--ink); }
.price-table td { text-align: right; font-weight: 800; color: var(--navy-800); white-space: nowrap; }
.price-table tbody tr:hover { background: var(--blue-100); }
.price-note { font-size: .9rem; color: var(--ink-soft); }

/* ---------- 14. FAQ ---------- */
.faq-list { display: grid; gap: .8rem; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq details[open] { border-color: #cfe0f5; box-shadow: var(--shadow); }
.faq summary {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.3rem; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 1.05rem; flex: 1; }
.faq summary::after {
  content: ""; flex: none; width: .6em; height: .6em;
  border-right: 2px solid var(--blue-500); border-bottom: 2px solid var(--blue-500);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq-answer { padding: 0 1.3rem 1.25rem; color: var(--ink-soft); }

/* ---------- 15. CTA pás ---------- */
.cta-band {
  color: #fff;
  background:
    radial-gradient(700px 340px at 15% 0%, rgba(0, 120, 255, .35), transparent 60%),
    linear-gradient(135deg, var(--navy-900), var(--navy-700));
  padding: clamp(2.6rem, 5vw, 4rem) 0;
}
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.8rem; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: rgba(255, 255, 255, .82); max-width: 58ch; margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }

/* ---------- 16. Stránka podstránky ---------- */
.page-head {
  padding: calc(var(--header-h) + clamp(2.4rem, 5vw, 4rem)) 0 clamp(2.2rem, 4vw, 3.2rem);
  color: #fff;
  background:
    radial-gradient(760px 400px at 10% -20%, rgba(0, 120, 255, .34), transparent 62%),
    linear-gradient(150deg, var(--navy-900), var(--navy-700));
}
.page-head h1 { color: #fff; max-width: 20ch; }
.page-head .lead { color: rgba(255, 255, 255, .84); max-width: 62ch; }
.page-head-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.page-head-actions .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.page-head-actions .btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }

.page-head-grid {
  display: grid; gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
}

/* Čísla vedle titulku podstránky – mřížka 2×2 s tenkými předěly. */
.stats-box {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-lg); overflow: hidden;
}
.stats-box .stat { padding: 1.5rem 1.2rem; text-align: center; background: rgba(255, 255, 255, .06); }
.stats-box .num { font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.5rem); }
.stats-box .lbl { font-size: .82rem; }

.breadcrumbs { background: var(--bg-soft); border-bottom: 1px solid var(--line); font-size: .88rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: .8rem 0; list-style: none; }
.breadcrumbs li { margin: 0; color: var(--ink-soft); }
.breadcrumbs li + li::before { content: "/"; margin-right: .4rem; color: #b6c2d0; }

.content-grid { display: grid; gap: clamp(2rem, 4vw, 3.2rem); grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; }
.prose h2 { margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { margin-bottom: 1.2em; }
.prose li { color: var(--ink-soft); }
.prose li strong { color: var(--navy-800); }

.aside-card { padding: 1.6rem 1.5rem; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.aside-card + .aside-card { margin-top: 1.4rem; }
.aside-card h3 { margin-bottom: .6em; }
.aside-card figure { margin: 0 0 1.2rem; }
.aside-card figure:last-child { margin-bottom: 0; }
.aside-card img { width: 100%; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.aside-card figcaption { margin-top: .55rem; font-size: .86rem; color: var(--ink-soft); text-align: center; }

.contact-card { padding: 1.3rem 1.4rem; background: linear-gradient(135deg, var(--navy-800), var(--navy-700)); color: #fff; border-radius: var(--radius); }
.contact-card h3 { color: #fff; margin-bottom: .3em; }
.contact-card a { color: var(--amber); font-weight: 700; }
.contact-card p { color: rgba(255, 255, 255, .82); margin-bottom: .6em; }

/* ---------- 17. Formulář ---------- */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field-row { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.field label { font-size: .92rem; font-weight: 700; color: var(--navy-800); }
.field input, .field textarea {
  width: 100%; padding: .8rem 1rem; font: inherit; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(0, 120, 255, .14);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #d64545; }
.field-check { display: flex; align-items: flex-start; gap: .65rem; }
.field-check input { width: 1.15rem; height: 1.15rem; margin-top: .22rem; flex: none; accent-color: var(--blue-500); }
.field-check label { font-weight: 500; font-size: .88rem; color: var(--ink-soft); }
.form-note { margin: 0; font-size: .86rem; color: var(--ink-soft); text-align: center; }
.g-recaptcha { min-height: 78px; }

.form-panel { padding: clamp(1.6rem, 3vw, 2.4rem); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* ---------- 18. Patička ---------- */
.site-footer { padding: clamp(3rem, 5vw, 4.5rem) 0 1.5rem; color: rgba(255, 255, 255, .74); background: var(--navy-900); }
.footer-grid { display: grid; gap: 2.4rem; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); }
.site-footer h2 { font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem; }
.site-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.site-footer a:hover { color: var(--amber); text-decoration: underline; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: .55em; font-size: .95rem; }
.footer-brand img { height: 62px; width: auto; margin-bottom: 1.2rem; }
.footer-brand p { font-size: .95rem; }
.footer-contact { margin-top: 1.2rem !important; }
.footer-contact li { display: flex; align-items: flex-start; gap: .6rem; }
.footer-areas { font-size: .93rem; margin-bottom: 1.2rem; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer-social a {
  display: grid; place-items: center; width: 42px; height: 42px; font-size: 1.05rem;
  color: #fff; background: rgba(255, 255, 255, .1); border-radius: 12px;
  transition: background-color .18s var(--ease), transform .18s var(--ease);
}
.footer-social a:hover { background: var(--blue-500); transform: translateY(-2px); }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem;
  margin-top: 2.8rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .87rem;
}
.footer-bottom p { margin: 0; }

/* ---------- 19. Mobilní lišta, zpět nahoru ---------- */
.mobile-bar { display: none; }
/* Vlevo dole schválně: vpravo sedí chatovací bublina Smartsuppu
   a tlačítka by se překrývala. */
.to-top {
  position: fixed; left: 1rem; bottom: 1.2rem; z-index: 90;
  width: 46px; height: 46px; font-size: 1.2rem; color: #fff;
  background: var(--navy-800); border: 0; border-radius: 50%; cursor: pointer;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease), visibility .25s, transform .25s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { transform: translateY(-3px); background: var(--blue-500); }

/* ---------- 20. Lightbox ---------- */
.lb {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  padding: 1.5rem; background: rgba(8, 25, 42, .93);
  opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), visibility .2s;
}
.lb.open { opacity: 1; visibility: visible; }
.lb img { max-width: min(100%, 1400px); max-height: 82vh; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.lb figcaption { margin-top: 1rem; color: rgba(255, 255, 255, .82); font-size: .92rem; text-align: center; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; display: grid; place-items: center;
  width: 48px; height: 48px; font-size: 1.5rem; color: #fff;
  background: rgba(255, 255, 255, .12); border: 0; border-radius: 50%; cursor: pointer;
}
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255, 255, 255, .26); }

/* ---------- 21. Animace při scrollu ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 21b. Tlačítka si drží barvu i v barevných blocích ----------
   Bloky jako .contact-card nebo .site-footer si přebarvují odkazy.
   Tlačítko uvnitř nich pak dědilo barvu textu a mizelo v pozadí,
   proto se jeho barva potvrzuje tady, po nich. */
.contact-card a.btn,
.site-footer a.btn,
.aside-card a.btn,
.prose a.btn { color: #fff; }

.contact-card a.btn-accent,
.site-footer a.btn-accent,
.aside-card a.btn-accent,
.prose a.btn-accent,
.contact-card a.btn-accent:hover,
.site-footer a.btn-accent:hover,
.aside-card a.btn-accent:hover,
.prose a.btn-accent:hover { color: var(--navy-900); }

.aside-card a.btn-ghost,
.prose a.btn-ghost { color: var(--navy-800); }

/* ---------- 22. Responzivita ---------- */
@media (max-width: 1100px) {
  .page-head-grid { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 100%; }
  .mockup { transform: none; }
  .hero-visual:hover .mockup { transform: none; }
  .mockup-badge { left: auto; right: -6px; bottom: -18px; }
  .hero-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 3.2rem; }
  .content-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .logo img { height: 46px; }

  /* Pozor: backdrop-filter na hlavičce z ní dělá containing block pro
     potomky s position:fixed – vysouvací panel navigace by se pak smrskl
     na výšku hlavičky. Na mobilu proto plná barva bez rozostření. */
  .site-header, .site-header.is-stuck {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(8, 25, 42, .97);
  }

  .nav-toggle { display: block; }
  .header-call { display: inline-flex; align-items: center; gap: .4rem; margin-left: auto; padding: .5rem .9rem;
    color: #fff; background: rgba(255, 255, 255, .12); border-radius: 999px; font-weight: 700; font-size: .9rem; text-decoration: none; }
  .header-call-text { display: none; }

  .nav {
    position: fixed; inset: var(--header-h) 0 0 auto; width: min(90vw, 380px);
    margin: 0; padding: 1.2rem; overflow-y: auto;
    background: var(--navy-900); border-left: 1px solid rgba(255, 255, 255, .1);
    transform: translateX(100%); transition: transform .28s var(--ease);
  }
  .nav.open { transform: translateX(0); box-shadow: -20px 0 60px rgba(0, 0, 0, .45); }
  .nav-list { flex-direction: column; align-items: stretch; gap: .2rem; }
  .nav-list a, .sub-toggle { width: 100%; justify-content: space-between; padding: .8rem 1rem; font-size: 1rem; }
  .nav-list a[aria-current="page"]::after { left: 1rem; right: 1rem; bottom: .45rem; }
  .sub {
    position: static; min-width: 0; margin: .2rem 0 .6rem; padding: .3rem;
    background: rgba(255, 255, 255, .06); box-shadow: none;
    opacity: 1; visibility: visible; transform: none;
    display: none;
  }
  .has-sub[data-open="true"] .sub { display: block; }
  .sub a { color: rgba(255, 255, 255, .84); }
  .sub a strong { font-weight: 600; }
  .sub a span { color: rgba(255, 255, 255, .55); }
  .sub a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
  .sub a:hover span { color: var(--amber); }
  .sub a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .14); }
  .sub a[aria-current="page"] span { color: var(--amber); }
  .nav-cta { margin-top: .8rem; }
  .nav-cta a { justify-content: center; }
  .nav-phone { display: block; }
  .nav-phone a { justify-content: center; color: var(--amber); }

  body.nav-open { overflow: hidden; }

  .mobile-bar {
    position: fixed; inset: auto 0 0 0; z-index: 95;
    display: grid; grid-template-columns: repeat(3, 1fr);
    background: rgba(8, 25, 42, .97); border-top: 1px solid rgba(255, 255, 255, .1);
    padding-bottom: env(safe-area-inset-bottom);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
  .mobile-bar a {
    display: flex; flex-direction: column; align-items: center; gap: .2rem;
    padding: .65rem .4rem; font-size: .78rem; font-weight: 700;
    color: rgba(255, 255, 255, .86); text-decoration: none;
  }
  .mobile-bar a.primary { color: var(--navy-900); background: var(--amber); }

  /* Pojistka: chatovací bublina nesmí dosednout na spodní lištu.
     Smartsupp odsazení řídí přes _smartsupp.offsetY, tohle je záloha,
     kdyby ho nějaká verze widgetu nectila. */
  #smartsupp-widget-container > div,
  #chat-application-iframe-wrapper { bottom: 84px !important; }
  .mobile-bar .ico { width: 1.25em; height: 1.25em; }
  body { padding-bottom: 64px; }
  .to-top { bottom: 78px; }
}

@media (max-width: 620px) {
  .hero-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .mockup-badge { padding: .7rem .9rem; }
  .mockup-badge b { font-size: 1.5rem; }
  .mockup-badge span { font-size: .74rem; }
  .tile { padding: 1rem .9rem; }
  .tile img { width: 38px; height: 38px; }
  .tile b { font-size: .95rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .works { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero-actions .btn, .page-head-actions .btn, .cta-actions .btn { flex: 1 1 100%; }
  .price-table th, .price-table td { padding: .7rem .6rem; font-size: .93rem; }
}

/* ---------- 23. Tisk a přístupnost ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .mobile-bar, .to-top, .cta-band, .nav, .lb { display: none !important; }
  body { color: #000; padding: 0; }
  a::after { content: " (" attr(href) ")"; font-size: .85em; }
}
