/* Balance IKIGAI – sdílený styl pro všechny stránky. Čisté CSS, bez frameworku. */

:root {
  /* Barvy ze zadání klienta */
  --c-ink: #261f5a;        /* texty, tmavé plochy – tmavá indigová místo černé (zpětná vazba grafika) */
  --c-violet: #7734c1;     /* akcenty, odkazy */
  --c-lavender: #cebcfb;   /* podklady, dekor */
  --c-yellow: #f7be49;     /* buttony */
  --c-bg: #f5f5fc;         /* pozadí webu */
  --c-slate: #858da9;      /* sekundární – jen dekor/velký text (3:1) */
  --c-logo: #584898;       /* fialová z loga */

  /* Odvozené */
  --c-muted: #5b627e;      /* sekundární text, AA 5.5:1 na --c-bg */
  --c-white: #fff;
  --c-lavender-soft: #ebe4fd;
  --c-line: rgb(38 31 90 / 0.1);
  --c-line-strong: rgb(38 31 90 / 0.22);
  --c-error: #b3261e;
  --c-plate: #003399;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 136px);
  --r-s: 12px;
  --r-m: 20px;
  --r-l: 32px;
  --shadow: 0 1px 2px rgb(38 31 90 / 0.04), 0 18px 40px -18px rgb(38 31 90 / 0.18);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

/* ---------- 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;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; line-height: 1.18; letter-spacing: -0.012em; font-weight: 800; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--c-violet); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
strong { font-weight: 700; }
button, input, select, textarea { font: inherit; color: inherit; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--c-violet);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--c-ink); color: var(--c-white); padding: 12px 18px; border-radius: var(--r-s);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }

/* ---------- Typografie ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--c-muted);
}
.eyebrow::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: var(--c-violet); box-shadow: 6px 0 0 var(--c-lavender);
  margin-right: 6px;
}
.h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
.h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); letter-spacing: -0.015em; line-height: 1.25; }
.lead { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--c-muted); max-width: 52ch; }
.muted { color: var(--c-muted); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { text-align: center; justify-items: center; }
.mark {
  color: var(--c-violet);
  background: linear-gradient(transparent 68%, var(--c-lavender) 68%, var(--c-lavender) 92%, transparent 92%);
  padding-inline: 0.04em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- Buttony (vždy žluté, tmavý text) ---------- */
.btn {
  --arrow-x: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 48px; padding: 11.5px 22px 12.5px; /* o 0,5 px výš: Plus Jakarta má vyšší ascender, text jinak opticky padá */
  border: 0; border-radius: 999px; cursor: pointer;
  /* Vodorovný gradient tmavší → světlá žlutá, bez spodní linky; hover jen zesvětlí. */
  background: linear-gradient(90deg, #ec9d1c 0%, #ffdb7d 100%);
  color: var(--c-ink);
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  box-shadow: 0 8px 18px -10px rgb(236 157 28 / 0.75);
  transition: filter .25s var(--ease), box-shadow .35s var(--ease), transform .2s var(--ease);
}
.btn:hover { filter: brightness(1.07) saturate(1.05); box-shadow: 0 12px 24px -10px rgb(236 157 28 / 0.9); --arrow-x: 4px; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn .i-arrow { transform: translateX(var(--arrow-x)); transition: transform .2s var(--ease); }
.btn:has(> svg:last-child) { padding-inline: 26px 20px; } /* ikona vpravo opticky táhne střed doprava */
.btn-lg { min-height: 56px; padding: 15.5px 28px 16.5px; font-size: 1.0625rem; }
.btn-lg:has(> svg:last-child) { padding-inline: 32px 24px; }
.btn-block { width: 100%; }

/* Zelená tečka „online“ u všech odkazů na online schůzku (vzor z wealthstrategy.cz, navíc jemně pulzuje) */
.online-dot {
  display: inline-block; flex: none; width: 10px; height: 10px; margin-right: 0.55em; vertical-align: 0.05em;
  border-radius: 50%; background: #3ee21b;
  box-shadow: 0 0 0 3px rgb(62 226 27 / 0.22), 0 0 12px 3px rgb(62 226 27 / 0.45);
  animation: online-glow 2.4s ease-in-out infinite;
}
.btn .online-dot { margin-right: 0; }
.icon-online { display: inline-grid; place-items: center; }
.icon-online .online-dot { margin: 0; }
@keyframes online-glow {
  50% { box-shadow: 0 0 0 5px rgb(62 226 27 / 0.12), 0 0 16px 5px rgb(62 226 27 / 0.3); }
}

.icon { width: 24px; height: 24px; flex: none; }

/* ---------- Hlavička ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(245 245 252 / 0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--c-line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: block; flex: none; margin-right: auto; padding: 6px 0; }
.brand img { width: clamp(150px, 16vw, 190px); }

.nav-toggle { display: none; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border: 0; border-radius: 999px; background: none; cursor: pointer;
  color: var(--c-ink); font-weight: 600; font-size: 0.975rem; text-decoration: none;
}
.nav-link:hover { background: var(--c-lavender-soft); }
.nav-link .i-chevron { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.nav-sub-toggle[aria-expanded="true"] .i-chevron { transform: rotate(180deg); }
.has-sub { position: relative; }
.nav-sub {
  position: absolute; top: calc(100% + 10px); left: -8px; min-width: 300px;
  list-style: none; padding: 10px; border-radius: var(--r-m);
  background: var(--c-white); box-shadow: var(--shadow); border: 1px solid var(--c-line);
}
.js .nav-sub-toggle[aria-expanded="false"] + .nav-sub { display: none; }
.nav-sub a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-s);
  color: var(--c-ink); font-weight: 600; text-decoration: none;
}
.nav-sub a:hover, .nav-sub a[aria-current="page"] { background: var(--c-lavender-soft); }
.nav-sub .icon { width: 20px; height: 20px; color: var(--c-violet); }

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .nav-toggle {
    display: inline-grid; place-items: center; width: 48px; height: 48px; margin-right: -8px;
    border: 0; background: none; cursor: pointer; border-radius: 999px;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--c-ink);
    transition: transform .25s var(--ease), opacity .2s;
  }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -7px; }
  .nav-toggle-bars::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

  .header-inner { flex-wrap: wrap; gap: 0; }
  .site-nav {
    flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 16px;
    padding: 8px 0 24px; max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .js .nav-toggle[aria-expanded="false"] ~ .site-nav { display: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1.0625rem; border-radius: var(--r-s); }
  .nav-sub { position: static; min-width: 0; box-shadow: none; border: 0; padding: 0 0 8px 8px; background: none; }
  .nav-cta { width: 100%; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow-x: clip; padding-top: clamp(24px, 4vw, 56px); padding-bottom: var(--section); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero-copy { display: grid; gap: 28px; align-content: center; }
.hero-title {
  font-size: clamp(2.5rem, 6.4vw, 5.25rem);
  line-height: 1.14; letter-spacing: -0.015em;
}
.hero-title .mark { white-space: nowrap; }
.hero-copy .perks { margin-top: 20px; }
.perks { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; font-weight: 600; }
.perks li { display: inline-flex; align-items: center; gap: 8px; }
.perks .icon { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--c-lavender); color: var(--c-ink); }

.hero-media { position: relative; justify-self: end; width: min(100%, 460px); }
.hero-video {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: var(--r-l);
  background: var(--c-lavender-soft);
  box-shadow: 0 40px 80px -40px rgb(88 72 152 / 0.45);
}
/* Video 9:16 v obdélníku 4:5: ořez shora/zdola, hlava i notebook zůstávají v záběru. */
.hero-video video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 40%;
}
.hero-badge {
  position: absolute; z-index: 2; left: -28px; bottom: 36px;
  display: grid; gap: 2px; padding: 14px 18px; border-radius: var(--r-m);
  background: rgb(255 255 255 / 0.9); box-shadow: var(--shadow); max-width: 240px; text-align: center;
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .hero-badge { background: rgb(255 255 255 / 0.62); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
}
.hero-badge strong { font-size: 1.05rem; }
.hero-badge span { font-size: 0.875rem; color: var(--c-muted); line-height: 1.4; }

/* ---------- Výběr pojištění (picker) ---------- */
.picker-wrap { margin-top: clamp(64px, 8vw, 112px); }
.picker-label { font-size: clamp(1.75rem, 3vw, 2.5rem); text-align: center; margin-bottom: clamp(28px, 3.5vw, 44px); }
.picker {
  display: grid; gap: 16px;
  grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto;
}
.picker-car {
  grid-row: span 2;
  display: grid; gap: 18px; align-content: start;
  padding: clamp(24px, 3vw, 36px); border-radius: var(--r-l);
  background: var(--c-ink); color: var(--c-white);
  position: relative; overflow: hidden; isolation: isolate;
}
.picker-car .picker-head { display: flex; align-items: center; gap: 12px; }
.picker-car .picker-head .icon { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--c-yellow); color: var(--c-ink); }
.picker-car h3 { font-size: 1.6rem; }
.picker-car p { color: #c9cbe0; font-size: 0.95rem; }

.plate {
  display: flex; align-items: stretch; height: 64px; overflow: hidden;
  border-radius: 10px; background: var(--c-white);
  border: 2px solid var(--c-white); box-shadow: 0 0 0 1px rgb(255 255 255 / 0.1);
}
.plate:focus-within { outline: 3px solid var(--c-yellow); outline-offset: 3px; }
.plate-eu {
  display: grid; align-content: center; justify-items: center; gap: 2px; width: 40px; flex: none;
  background: var(--c-plate); color: var(--c-white); font-size: 0.8rem; font-weight: 800;
}
.plate-eu svg { width: 22px; height: 22px; }
.plate input {
  flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 16px; background: transparent;
  color: var(--c-ink); font-size: 1.6rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
}
.plate input::placeholder { color: #8b90a6; font-weight: 600; letter-spacing: 0.02em; text-transform: none; font-size: 1.15rem; }

.picker-cards { display: contents; list-style: none; }
.picker-card {
  position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px;
  padding: 24px; border-radius: var(--r-l);
  background: var(--c-white); border: 1px solid var(--c-line);
  color: var(--c-ink); text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.picker-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--c-lavender); }
.picker-card .icon { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--c-lavender-soft); color: var(--c-violet); }
.picker-card h3 { font-size: 1.15rem; letter-spacing: -0.015em; line-height: 1.25; }
.picker-card p { font-size: 0.875rem; color: var(--c-muted); line-height: 1.5; }
.picker-go { display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 6px 12px; border-radius: 999px; font-weight: 700; color: var(--c-violet); background: var(--c-lavender-soft); font-size: 0.95rem; transition: background-color .2s var(--ease), color .2s var(--ease); }
.picker-card:hover .picker-go, .picker-card:focus-within .picker-go { background: var(--c-violet); color: #fff; }
.picker-go svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.picker-card:hover .picker-go svg { transform: translateX(4px); }
.picker-card a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.picker-card a { color: inherit; text-decoration: none; }
.picker-card:focus-within { outline: 3px solid var(--c-violet); outline-offset: 3px; }
.picker-card a:focus-visible { outline: 0; }

/* ---------- Checkbox / rádio ---------- */
.check { display: inline-flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 0.95rem; line-height: 1.45; }
.check input {
  appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 0;
  border-radius: 6px; border: 2px solid var(--c-line-strong); background: var(--c-white);
  display: grid; place-items: center; cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.check input::after {
  content: ""; width: 10px; height: 6px; margin-top: -3px;
  border: solid var(--c-white); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg) scale(0);
  transition: transform .15s var(--ease);
}
.check input:checked { background: var(--c-violet); border-color: var(--c-violet); }
.check input:checked::after { transform: rotate(-45deg) scale(1); }
.check input:focus-visible { outline: 3px solid var(--c-violet); outline-offset: 2px; }
.check input:user-invalid { border-color: var(--c-error); }
.picker-car .check input { border-color: rgb(255 255 255 / 0.5); background: transparent; }
.picker-car .check input:checked { background: var(--c-yellow); border-color: var(--c-yellow); }
.picker-car .check input:checked::after { border-color: var(--c-ink); }
.picker-car .check input:focus-visible { outline-color: var(--c-yellow); }

/* ---------- Partneři (marquee) ---------- */
.partners { padding-block: clamp(56px, 7vw, 96px); border-block: 1px solid var(--c-line); background: var(--c-white); }
.partners h2 { text-align: center; font-size: 1rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 36px; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; align-items: center; gap: clamp(48px, 6vw, 88px); padding-right: clamp(48px, 6vw, 88px); list-style: none; }
.marquee img { height: clamp(40px, 4.5vw, 56px); width: auto; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Kontaktní pás ---------- */
.contact-band {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-radius: var(--r-l); background: var(--c-white); border: 1px solid var(--c-line);
  overflow: hidden;
}
.contact-cell { display: grid; gap: 10px; align-content: center; padding: clamp(24px, 3vw, 40px); }
.contact-cell + .contact-cell { border-left: 1px solid var(--c-line); }
.contact-cell .label { display: inline-flex; align-items: center; gap: 10px; color: var(--c-muted); font-weight: 600; font-size: 0.95rem; }
.contact-cell .label .icon { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--c-lavender-soft); color: var(--c-violet); }
.contact-cell .big {
  font-size: clamp(1.25rem, 2.1vw, 1.75rem); font-weight: 800; letter-spacing: -0.02em;
  color: var(--c-ink); text-decoration: none; overflow-wrap: anywhere;
}
.contact-cell .big:hover { color: var(--c-violet); }
.contact-cell h3 { font-size: clamp(1.25rem, 2.1vw, 1.75rem); }
.contact-cell .btn { justify-self: start; }
.contact-cell.accent { background: var(--c-lavender-soft); }
.contact-band:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- Kdo jsem ---------- */
.about { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-media { position: relative; }
.about-photo {
  aspect-ratio: 1000 / 1277; width: 100%; object-fit: cover; object-position: 50% 30%;
  border-radius: var(--r-l);
}
.about-copy { display: grid; gap: 22px; }
.about-copy > p { color: var(--c-muted); font-size: 1.125rem; }
.insia { display: flex; align-items: center; gap: 14px; font-weight: 600; color: var(--c-muted); font-size: 0.95rem; }
.insia img { width: 110px; }
.can-do { padding: 24px; border-radius: var(--r-m); background: var(--c-white); border: 1px solid var(--c-line); display: grid; gap: 14px; }
.can-do h3 { font-size: 1.15rem; }
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.ticks .icon { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--c-lavender); color: var(--c-ink); margin-top: 1px; }

/* ---------- Co mám za sebou + Proč ---------- */
.why { background: var(--c-white); border-block: 1px solid var(--c-line); }
.stats-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px; align-items: center; margin-bottom: clamp(48px, 6vw, 80px); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; list-style: none; }
.stat { display: grid; gap: 6px; padding: clamp(20px, 2.5vw, 32px); border-radius: var(--r-m); background: var(--c-lavender-soft); }
.stat-num {
  font-size: clamp(2.75rem, 5vw, 4.5rem); white-space: nowrap; font-weight: 800; letter-spacing: -0.02em; line-height: 1;
  color: var(--c-violet); font-variant-numeric: tabular-nums;
}
.stat-label { font-weight: 600; color: var(--c-muted); font-size: 1.0625rem; }
.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); list-style: none; counter-reset: r; }
.reason { display: grid; gap: 14px; align-content: start; padding: clamp(24px, 2.5vw, 32px); border-radius: var(--r-m); background: rgb(235 228 253 / 0.5); counter-increment: r; }
.reason::before { content: counter(r, decimal-leading-zero); font-weight: 800; color: var(--c-violet); font-size: 0.95rem; letter-spacing: 0.08em; }
.reason p { color: var(--c-muted); }

/* ---------- CTA pás ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
  padding: clamp(36px, 6vw, 80px); border-radius: var(--r-l);
  background: var(--c-ink);
}
.cta h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); max-width: 16ch; color: var(--c-white); }

/* ---------- Jak to funguje ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); list-style: none; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 32px; right: 32px; top: 31px; z-index: 0;
  border-top: 2px dashed var(--c-lavender);
}
.step { position: relative; z-index: 1; display: grid; gap: 14px; align-content: start; }
.step-num {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--c-lavender-soft); color: var(--c-violet); font-weight: 800; font-size: 1.25rem;
  box-shadow: 0 0 0 8px var(--c-bg);
}
.step p { color: var(--c-muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-aside { display: grid; gap: 18px; position: sticky; top: calc(var(--header-h) + 32px); }
.faq-contact { display: grid; gap: 4px; justify-items: start; font-size: clamp(1.5rem, 2.1vw, 2.5rem); }
.faq-contact a:first-child { white-space: nowrap; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border-radius: var(--r-m); background: var(--c-white); border: 1px solid var(--c-line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 24px; cursor: pointer; list-style: none; border-radius: var(--r-m);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 1.1rem; letter-spacing: -0.01em; line-height: 1.35; }
.faq-plus { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--c-lavender-soft); }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--c-violet); border-radius: 2px; transition: transform .25s var(--ease); }
.faq-plus::after { transform: rotate(90deg); }
.faq-item[open] .faq-plus::after { transform: rotate(0); }
.faq-item[open] { border-color: var(--c-lavender); }
.faq-body { padding: 0 24px 24px; color: var(--c-muted); max-width: 62ch; }

/* ---------- Pojďme na to ---------- */
.final .section-head { margin-bottom: 32px; }
.final .contact-band { margin-top: clamp(48px, 6vw, 88px); }

/* ---------- Patička ---------- */
.site-footer { background: var(--c-white); border-top: 1px solid var(--c-line); padding-top: clamp(48px, 6vw, 72px); font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); gap: 40px; padding-bottom: 40px; }
.footer-brand { display: grid; gap: 16px; align-content: start; }
.footer-brand img { width: 200px; }
.footer-brand p { color: var(--c-muted); max-width: 36ch; }
.footer-col h2 { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: grid; gap: 8px; }
.footer-col a { color: var(--c-ink); text-decoration: none; font-weight: 600; }
.footer-col a:hover { color: var(--c-violet); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 20px 28px; border-top: 1px solid var(--c-line); color: var(--c-muted); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; }
.footer-bottom a { color: var(--c-muted); font-weight: 600; text-decoration: none; }
.footer-bottom a:hover, .footer-bottom a[aria-current="page"] { color: var(--c-violet); text-decoration: underline; }

/* ---------- Podstránky s formulářem ---------- */
.page { padding-block: clamp(32px, 5vw, 72px) var(--section); }
.calc { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.calc-aside { display: grid; gap: 24px; position: sticky; top: calc(var(--header-h) + 32px); }
.calc-aside h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.015em; line-height: 1.12; }
.calc-aside .perks { flex-direction: column; gap: 12px; }
.calc-help { display: grid; gap: 6px; padding: 20px 22px; border-radius: var(--r-m); background: var(--c-lavender-soft); }
.calc-help a { font-weight: 800; font-size: 1.25rem; color: var(--c-ink); text-decoration: none; }
.calc-help a:hover { color: var(--c-violet); }

.form-card { padding: clamp(24px, 4vw, 48px); border-radius: var(--r-l); background: var(--c-white); border: 1px solid var(--c-line); box-shadow: var(--shadow); }
.form { display: grid; gap: 36px; }
.fs { display: grid; gap: 16px; }
.fs + .fs { padding-top: 32px; border-top: 1px solid var(--c-line); }
.fs-title, .fs > legend { float: left; width: 100%; padding: 0; margin: 0; font-size: 1.2rem; font-weight: 800; letter-spacing: -0.015em; }
.fs > legend + * { clear: left; }
.fs-note { font-size: 0.9rem; color: var(--c-muted); }
.subset { display: grid; gap: 16px; }

.fields { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fields.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fields .full { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; align-content: start; }
.field > label, .field-label { font-size: 0.9rem; font-weight: 700; }
.field .opt { font-weight: 500; color: var(--c-muted); }
.input, .field input:not([type="checkbox"], [type="radio"], [type="range"]), .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px;
  border: 1.5px solid var(--c-line-strong); border-radius: var(--r-s); background: var(--c-white);
  font-size: 1rem; color: var(--c-ink);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 128px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23261f5a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field input::placeholder, .field textarea::placeholder { color: #80869e; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--c-slate); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--c-violet); box-shadow: 0 0 0 4px rgb(119 52 193 / 0.18); }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: var(--c-error); }
.with-unit { position: relative; }
.with-unit input { padding-right: 52px !important; }
.with-unit .unit { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--c-muted); font-weight: 600; pointer-events: none; }

.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span {
  display: inline-flex; align-items: center; min-height: 46px; padding: 10px 18px;
  border-radius: 999px; border: 1.5px solid var(--c-line-strong); background: var(--c-white);
  font-weight: 600; font-size: 0.95rem; transition: background-color .15s, border-color .15s, color .15s;
}
.pill:hover span { border-color: var(--c-violet); }
.pill input:checked + span { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-white); }
.pill input:focus-visible + span { outline: 3px solid var(--c-violet); outline-offset: 2px; }

.option-cards { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.option-card { display: grid; grid-template-columns: 22px 1fr; gap: 4px 12px; padding: 18px; border-radius: var(--r-m); border: 1.5px solid var(--c-line-strong); cursor: pointer; }
.option-card:has(input:checked) { border-color: var(--c-violet); background: var(--c-lavender-soft); }
.option-card input { grid-row: span 2; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--c-violet); }
.option-card strong { font-size: 1rem; }
.option-card span { grid-column: 2; font-size: 0.875rem; color: var(--c-muted); }

.range { display: grid; gap: 10px; }
.range-top { display: flex; justify-content: space-between; align-items: baseline; }
.range output { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; color: var(--c-violet); }
.range input[type="range"] { width: 100%; accent-color: var(--c-violet); height: 28px; cursor: pointer; }
.range-scale { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--c-muted); }

.form-foot { display: grid; gap: 20px; }
fieldset:has(> .check) + .form-foot { margin-top: -20px; }
.form-foot .btn { justify-self: start; }
.hp { display: none !important; }

/* ---------- Textové stránky (GDPR, cookies) ---------- */
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -0.015em; margin-bottom: 32px; }
.prose h2 { font-size: 1.4rem; margin: 40px 0 12px; letter-spacing: -0.015em; }
.prose p, .prose ul { margin-bottom: 16px; color: #33374f; }
.prose ul { padding-left: 1.25em; }
.prose li { margin-bottom: 6px; }
.prose a { overflow-wrap: anywhere; }

/* ---------- Děkujeme / 404 ---------- */
.notice { display: grid; justify-items: center; text-align: center; gap: 20px; max-width: 720px; margin-inline: auto; padding-block: clamp(24px, 5vw, 64px) clamp(48px, 6vw, 80px); }
.notice-icon { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; background: var(--c-lavender); color: var(--c-ink); }
.notice-icon svg { width: 40px; height: 40px; }
.notice h1 { font-size: clamp(2.6rem, 7vw, 4.5rem); letter-spacing: -0.015em; }
.notice .lead { margin-inline: auto; }
.notice-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 20px; list-style: none; font-weight: 600; }

/* ---------- Responzivita ---------- */
@media (max-width: 1080px) {
  .picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .picker-car { grid-row: auto; grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .hero-grid, .about, .faq, .calc, .stats-row { grid-template-columns: minmax(0, 1fr); }
  .hero-media { justify-self: center; width: min(100%, 400px); }
  .about-media { max-width: 520px; }
  .faq-aside, .calc-aside { position: static; }
  .reasons, .steps { grid-template-columns: minmax(0, 1fr); }
  .steps::before { left: 31px; right: auto; top: 32px; bottom: 32px; border-top: 0; border-left: 2px dashed var(--c-lavender); }
  .step { grid-template-columns: 64px 1fr; column-gap: 20px; }
  .step-num { grid-row: span 2; }
  .contact-band, .contact-band:has(> :nth-child(2):last-child) { grid-template-columns: minmax(0, 1fr); }
  .contact-cell + .contact-cell { border-left: 0; border-top: 1px solid var(--c-line); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .picker { grid-template-columns: minmax(0, 1fr); }
  .picker-card { grid-template-columns: 44px 1fr; grid-template-rows: auto; align-items: center; gap: 4px 14px; padding: 18px; }
  .picker-card .icon { grid-row: span 3; align-self: start; }
  .hero-badge { left: 12px; bottom: 16px; }
  .fields, .fields.three, .option-cards { grid-template-columns: minmax(0, 1fr); }
  .form-foot .btn { justify-self: stretch; }
  .btn { white-space: normal; text-align: center; }
  .hero-title .mark { white-space: normal; }
}

/* ---------- Pohyb ---------- */
/* Hero se před nástupem GSAP schová jen když JS běží a uživatel nepreferuje omezení pohybu (viz třída .anim v <head>). */
.anim [data-hero-in] { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; width: auto; justify-content: center; }
  .marquee ul { flex-wrap: wrap; justify-content: center; padding-right: 0; row-gap: 32px; }
  .marquee ul[aria-hidden="true"] { display: none; }
}
