/* ROZLOŽENIE (nemení sa medzi projektmi). Paleta a písma sú v brand.css, ktorý sa načíta pred týmto súborom:
   tmavý blok so značkou hore (na desktope vľavo, 42 %), otázka na bielom hárku pod ním (vpravo). */

:root {
  --slide: 320ms;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  color-scheme: light;
  background: linear-gradient(var(--ink) 50%, var(--sheet) 50%);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.45;
  -webkit-text-size-adjust: 100%;
}
h1, h2, h3, p, ol { margin: 0; }
button, input { font: inherit; color: inherit; }
button, label { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.app {
  min-height: calc(100vh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  min-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
}

/* Značkový blok */
.brand {
  flex: 0 0 auto;
  min-width: 0;
  padding-block: 20px 26px;
  padding-inline: 22px;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
}
.brand-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wordmark { font-family: var(--display); font-size: 23px; font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.wordmark span { color: var(--accent); }
.dashes { display: flex; align-items: center; gap: 4px; }
.dashes span { width: 8px; height: 4px; border-radius: 2px; background: var(--ink-soft); transition: width var(--slide) var(--ease), background var(--slide) var(--ease); }
.dashes span.done { background: var(--accent); }
.dashes span.current { width: 22px; background: var(--accent); }

/* Úvodný text sa na mobile po prvej otázke plynulo zbalí, hárok sa neposunie skokom */
.hero-slot { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--slide) var(--ease); }
.hero-clip { min-height: 0; overflow: hidden; opacity: 0; transition: opacity 0.2s ease; }
.app[data-hero-open="true"] .hero-slot { grid-template-rows: 1fr; }
.app[data-hero-open="true"] .hero-clip { opacity: 1; }
.hero { display: none; flex-direction: column; gap: 12px; max-width: 480px; padding-top: 30px; }
.hero h1 { font-family: var(--display); font-size: 37px; font-weight: 700; line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance; }
.hero p { font-size: 16px; color: var(--mist); }
.hero strong { color: #FFFFFF; white-space: nowrap; }
.app[data-hero="intro"] .hero-intro,
.app[data-hero="success"] .hero-success,
.app[data-hero="error"] .hero-error { display: flex; }
.hero-success, .hero-error { animation: hero-in var(--slide) var(--ease) both; }
@keyframes hero-in { from { opacity: 0; transform: translateY(6px); } }

/* Biely hárok */
.sheet {
  flex: 1 1 auto;
  min-width: 0;
  background: var(--sheet);
  border-radius: 28px 28px 0 0;
  overflow-x: hidden;
  overflow-x: clip;
  padding-block: 28px 22px;
  padding-inline: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sheet-inner { width: 100%; max-width: 520px; flex: 1 1 auto; display: flex; flex-direction: column; gap: 18px; }
.stage { position: relative; }
.stage.animating { overflow-y: clip; }
.screen { display: flex; flex-direction: column; gap: 18px; }
.screen.ghost { position: absolute; top: 0; left: 0; right: 0; pointer-events: none; }

/* Striedanie obrazoviek: stará odchádza do strany a súčasne z opačnej strany prichádza nová */
.screen.leave-next { animation: out-left var(--slide) var(--ease) both; }
.screen.leave-prev { animation: out-right var(--slide) var(--ease) both; }
.screen.enter-next { animation: in-right var(--slide) var(--ease) both; }
.screen.enter-prev { animation: in-left var(--slide) var(--ease) both; }
/* Posun o celú šírku: obrazovky idú vedľa seba ako v karuseli, takže sa neprekrývajú a nevznikne prázdny okamih */
@keyframes out-left { 70%, 100% { opacity: 0; } 100% { transform: translateX(calc(-100% - 24px)); } }
@keyframes out-right { 70%, 100% { opacity: 0; } 100% { transform: translateX(calc(100% + 24px)); } }
@keyframes in-right { 0% { opacity: 0; transform: translateX(calc(100% + 24px)); } 50%, 100% { opacity: 1; } }
@keyframes in-left { 0% { opacity: 0; transform: translateX(calc(-100% - 24px)); } 50%, 100% { opacity: 1; } }

.head { display: flex; flex-direction: column; gap: 6px; }
.kicker { font-size: 14px; font-weight: 600; color: var(--muted); }
h2 { font-family: var(--display); font-size: 26px; font-weight: 700; line-height: 1.14; letter-spacing: -0.025em; text-wrap: balance; }
h2:focus { outline: none; }
.lead { font-size: 16px; color: var(--muted); }

.options { display: flex; flex-direction: column; gap: 8px; }
.options.few { gap: 10px; }
.option {
  width: 100%;
  min-height: 58px;
  margin: 0;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--tile);
  border: none;
  border-radius: 16px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  transition: background 0.15s ease, color 0.15s ease;
}
.options.few .option { min-height: 66px; }
.option .radio {
  width: 24px; height: 24px; flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid var(--ring);
  display: flex; align-items: center; justify-content: center;
}
.option .radio svg { opacity: 0; }
.option[aria-pressed="true"] { background: var(--ink); color: #FFFFFF; }
.option[aria-pressed="true"] .radio { border-color: var(--accent); background: var(--accent); }
.option[aria-pressed="true"] .radio svg { opacity: 1; }
@media (hover: hover) { .option[aria-pressed="false"]:hover { background: var(--tile-hover); } }
/* Odpoveď s ikonou (voliteľné `icons` v konfigurácii kroku): ikona vľavo, text vpravo, krúžok ostáva vpravo */
/* Výber vozidla: mriežky dlaždíc. Roky a logá 3 v riadku (desktop 4), textové značky a modely 2 v riadku. */
.vehicle { gap: 14px; }
.tiles { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 8px; }
.tiles.years, .tiles.logos { --cols: 3; }
.tile {
  min-width: 0; min-height: 56px; margin: 0; padding: 8px 14px;
  display: flex; align-items: center; justify-content: flex-start;
  background: var(--tile); border: none; border-radius: 14px;
  font-size: 16px; font-weight: 600; line-height: 1.2; color: var(--ink); text-align: left; overflow-wrap: anywhere;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.tiles.years .tile { justify-content: center; font-size: 18px; font-variant-numeric: tabular-nums; }
.tiles.logos .tile { min-height: 88px; padding: 10px 6px 8px; flex-direction: column; justify-content: center; gap: 8px; font-size: 14px; text-align: center; }
.tile img { display: block; width: auto; height: 30px; max-width: 78%; object-fit: contain; }
.tile[aria-pressed="true"] { background: var(--ink); color: #FFFFFF; }
/* Logo na tmavej by nebolo vidieť: zvolená značka s logom ostáva svetlá a dostane tmavý rámik. */
.tiles.logos .tile[aria-pressed="true"] { background: #FFFFFF; color: var(--ink); box-shadow: inset 0 0 0 3px var(--ink); }
@media (hover: hover) { .tile[aria-pressed="false"]:hover { background: var(--tile-hover); } }
.more-btn {
  min-height: 48px; margin: 0; padding: 0 4px; align-self: center;
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: none; font-size: 17px; font-weight: 700; color: var(--ink);
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px;
}
.more-btn::after { content: '+'; display: inline-block; font-size: 22px; line-height: 1; }
.other-field { gap: 8px; }
.load-error { display: flex; flex-direction: column; gap: 12px; }
.other-field .pill { margin-top: 6px; }
.tiles.nudge .tile { animation: nudge 0.7s ease-in-out both; }
.tiles.nudge .tile:nth-child(2) { animation-delay: 0.07s; }
.tiles.nudge .tile:nth-child(3) { animation-delay: 0.14s; }
@media (min-width: 900px) {
  .tiles.years, .tiles.logos { --cols: 4; }
}

.option .icon { width: 64px; height: 28px; flex-shrink: 0; display: flex; align-items: center; }
.option .icon svg { width: 100%; height: 100%; }
.option .with-icon { display: flex; align-items: center; gap: 14px; min-width: 0; }

/* Kroky s poľom (odkaz, voľný text, sumy): pole, tlačidlo, pod ním späť a vedľajšia voľba */
.entry { gap: 16px; }
.entry .nav { padding-top: 2px; }
/* Vedľajšia voľba kroku („Nemám odkaz“, „Ešte nemám vybrané“) je výraznejšia než Späť */
.entry .nav .link-btn:last-child { padding: 0 0 0 12px; text-align: right; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.hint { font-size: 14px; line-height: 1.45; color: var(--muted); }
.euro-input { position: relative; }
.euro-input input { padding-right: 44px; font-variant-numeric: tabular-nums; }
.euro-input span { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 18px; font-weight: 600; color: var(--muted); pointer-events: none; }
.field.euro { gap: 8px; }
.money-fields { display: flex; flex-direction: column; gap: 16px; }
/* Chipy vždy v jednom riadku: rovnako široké stĺpce podľa počtu, text sa nezalamuje */
.chips { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; }
.chip {
  min-height: 40px; margin: 0; padding: 0 4px; min-width: 0;
  background: var(--tile); border: 1.5px solid transparent; border-radius: 20px;
  font-size: 14px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; text-align: center;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.chip[aria-pressed="true"] { background: var(--ink); color: #FFFFFF; }
@media (hover: hover) { .chip[aria-pressed="false"]:hover { background: var(--tile-hover); } }
/* Pôžička: riadky na celú šírku, vľavo „Celá suma“ / „90 %“, vpravo suma. */
.amount-rows { margin-bottom: 6px; }
.option.amount .sum { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.money .aside { font-size: 13px; line-height: 1.4; color: var(--muted); text-align: right; }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.link-btn { min-height: 48px; margin: 0; padding: 0 12px 0 0; background: none; border: none; font-size: 17px; font-weight: 600; color: var(--muted); }
.link-btn.center { padding: 0; align-self: center; }
.pill {
  min-height: 60px; margin: 0; padding: 0 24px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--accent); border: none; border-radius: 30px;
  font-size: 19px; font-weight: 700; color: var(--ink);
}
.pill.small { min-height: 54px; padding: 0 26px; font-size: 18px; }
.pill:disabled { opacity: 0.7; cursor: default; }
.is-invisible { visibility: hidden; }
.spinner { animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Kontakt */
.contact { gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 15px; font-weight: 600; }
.field input {
  height: 58px; width: 100%; margin: 0; padding: 0 16px;
  font-size: 18px; font-weight: 500; color: var(--ink);
  background: var(--sheet); border: 1.5px solid var(--field); border-radius: 14px;
}
.field input::placeholder { color: var(--ring); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.err { font-size: 14px; line-height: 1.4; font-weight: 500; color: var(--error); }
.consent-wrap { display: flex; flex-direction: column; gap: 6px; }
.consent {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px; background: var(--tile);
  border: 1.5px dashed var(--ring); border-radius: 14px; cursor: pointer;
  font-size: 14px; color: var(--muted);
}
.consent.invalid { border-color: var(--error); }
.consent input { width: 24px; height: 24px; flex-shrink: 0; margin: 0; accent-color: var(--ink); }
.under { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.under span { font-size: 13px; line-height: 1.4; color: var(--muted); text-align: right; }

/* Úspech */
.steps { padding: 0; list-style: none; display: flex; flex-direction: column; }
.steps li { padding-block: 16px; display: flex; align-items: flex-start; gap: 16px; border-bottom: 1px solid var(--line); }
.steps li:last-child { border-bottom: none; }
.steps .num { width: 22px; flex-shrink: 0; font-family: var(--display); font-size: 26px; font-weight: 700; line-height: 1; }
.steps .txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.steps .txt b { font-size: 18px; font-weight: 600; line-height: 1.3; }
.steps .txt span { font-size: 15px; color: var(--muted); }
.big { font-size: 18px; line-height: 1.5; }
.big:focus { outline: none; }

.quiz-view { display: flex; flex-direction: column; gap: 18px; }
.foot { margin-top: auto; padding-top: 8px; }
.foot p.legal { font-size: 12.5px; line-height: 1.5; color: var(--muted); }

/* Sekcia dôvery: len pri prvej otázke, pod ňou */
.below { display: flex; flex-direction: column; gap: 10px; transition: opacity 0.18s ease; }
.below.fading { opacity: 0; }
/* Po návrate hore tlačidlom zo sekcie dôvery odpovede raz krátko zapulzujú, jedna po druhej */
.options.nudge .option { animation: nudge 0.7s ease-in-out both; }
.options.nudge .option:nth-child(2) { animation-delay: 0.14s; }
@keyframes nudge {
  0%, 100% { box-shadow: 0 0 0 0 transparent; transform: scale(1); }
  45% { box-shadow: 0 0 0 3px var(--accent); transform: scale(1.02); }
}
.trust { border-top: 1px solid var(--line); padding-top: 28px; display: flex; flex-direction: column; gap: 34px; scroll-margin-top: 16px; }
.trust h3 { font-size: 14px; font-weight: 600; color: var(--muted); }
.block { display: flex; flex-direction: column; gap: 10px; }
.figures.key + .facts { padding-top: 16px; }
.figures.key .n { font-size: clamp(22px, 7vw, 30px); }
.figures.key .c { font-size: 15px; font-weight: 600; color: var(--ink); }
.figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 6px; }
.figures > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.figures > div + div { border-left: 1px solid var(--line); padding-left: 20px; }
.figures .n { font-family: var(--display); font-size: 40px; font-weight: 700; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.figures .c { font-size: 14px; color: var(--muted); }
.source { font-size: 12.5px; color: var(--muted); }
.rows, .facts { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.rows li { padding-block: 13px; display: flex; flex-direction: column; gap: 2px; border-bottom: 1px solid var(--line); }
.rows li:last-child { border-bottom: none; padding-bottom: 0; }
.rows b { font-size: 17px; font-weight: 600; line-height: 1.3; }
.rows span { font-size: 15px; color: var(--muted); }
.facts { gap: 12px; padding-top: 4px; }
.facts li { display: flex; align-items: flex-start; gap: 12px; font-size: 17px; font-weight: 600; line-height: 1.35; }
.facts .tick { width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; }
.closer { padding: 24px 20px; border-radius: 22px; background: var(--ink); color: #FFFFFF; display: flex; flex-direction: column; gap: 8px; text-align: center; }
.closer strong { font-family: var(--display); font-size: 26px; font-weight: 700; line-height: 1.12; letter-spacing: -0.025em; text-wrap: balance; }
.closer p { font-size: 16px; color: var(--mist); }
.closer .pill { margin-top: 12px; }

/* Stránka zásad ochrany osobných údajov */
.legal a { color: inherit; text-underline-offset: 3px; }
.doc { background: var(--ink); min-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; }
.doc-top { padding-block: 20px 26px; padding-inline: 22px; color: #FFFFFF; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.doc-back { min-height: 44px; margin: 0; padding: 0 16px; background: none; border: 1.5px solid var(--ink-soft); border-radius: 22px; font-size: 15px; font-weight: 600; color: #FFFFFF; }
.doc-sheet { flex: 1 1 auto; background: var(--sheet); border-radius: 28px 28px 0 0; padding-block: 30px 40px; padding-inline: 22px; display: flex; justify-content: center; }
.doc-body { width: 100%; max-width: 680px; min-width: 0; display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.doc-body h1 { font-family: var(--display); font-size: 32px; font-weight: 700; line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; }
.doc-body h2 { margin-top: 18px; font-family: var(--display); font-size: 23px; font-weight: 700; line-height: 1.18; letter-spacing: -0.02em; text-wrap: balance; }
.doc-body h2:focus, .doc-body h1:focus { outline: none; }
.doc-body h3 { margin-top: 6px; font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.doc-body p, .doc-body li { color: #23484E; }
.doc-body ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.doc-body b { color: var(--ink); font-weight: 700; }
.doc-meta { font-size: 14px; color: var(--muted); }
.doc-body a { color: var(--ink); text-underline-offset: 3px; }
.doc-body mark { background: var(--tile); color: var(--muted); border-bottom: 1.5px dashed var(--ring); padding: 0 2px; }
.doc-end { margin-top: 22px; align-self: flex-start; }
@media (min-width: 900px) {
  .doc-top { padding-block: 28px 30px; padding-inline: 48px; }
  .doc-sheet { padding-block: 48px 64px; padding-inline: 48px; }
  .doc-body h1 { font-size: 42px; }
}

@media (min-width: 900px) {
  .app { flex-direction: row; }
  .brand { flex: 0 0 42%; position: sticky; top: 0; align-self: flex-start; height: 100vh; height: 100dvh; padding-block: 40px 44px; padding-inline: 48px; }
  .hero-slot { flex: 1 1 auto; grid-template-rows: 1fr; }
  .hero-clip { opacity: 1; display: flex; flex-direction: column; justify-content: center; }
  .hero { padding-top: 0; }
  .hero h1 { font-size: 50px; }
  .hero p { font-size: 18px; }
  .sheet { border-radius: 32px 0 0 32px; padding-block: 0; padding-inline: 48px; }
  /* Otázka ostáva v strede prvej obrazovky; sekcia dôvery začína tesne pod ňou */
  .quiz-view { min-height: calc(100vh - 76px); min-height: calc(100dvh - 76px); justify-content: center; padding-block: 48px 24px; }
  h2 { font-size: 30px; }
  .trust { padding-top: 36px; }
  .foot { margin-top: 0; padding-top: 0; min-height: 76px; display: flex; align-items: center; }
  .below { padding-bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .screen, .spinner, .hero, .options.nudge .option, .tiles.nudge .tile { animation: none !important; }
  .dashes span, .option, .chip, .tile, .hero-slot, .hero-clip { transition: none; }
}

/* Odkazy, ktoré vyzerajú ako tlačidlá alebo značka */
a.wordmark { color: #FFFFFF; text-decoration: none; }
a.pill { text-decoration: none; }
a.doc-back { display: inline-flex; align-items: center; text-decoration: none; }
.text-link { margin: 0; padding: 0; background: none; border: none; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.consent a { color: var(--ink); text-underline-offset: 3px; }
/* Znenie súhlasu je doplnené, čiarkovaný rámček (značka nedoplneného textu) už netreba */
.consent { border-style: solid; border-color: transparent; }

/* Overenie Turnstile: zobrazí sa len vtedy, keď Cloudflare potrebuje, aby človek niečo potvrdil */
.submit-wrap { display: flex; flex-direction: column; }
.turnstile iframe { margin-bottom: 12px; }

.noscript { position: fixed; left: 0; right: 0; bottom: 0; margin: 0; padding: 14px 22px; background: var(--bar); color: #FFFFFF; font-size: 15px; text-align: center; }

/* Pätička na stred */
.foot p.legal { width: 100%; text-align: center; text-wrap: balance; }


/* Cookie lišta v podobe, akú ľudia poznajú z bežných webov: biely box, nadpis, pár riadkov a tri voľby.
   Odmietnutie je v prvej vrstve, na jedno kliknutie a rovnako veľké ako prijatie. Lišta neblokuje obsah. */
.cookie {
  position: fixed; z-index: 20;
  left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  max-height: calc(100dvh - 20px); overflow-y: auto;
  padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
  background: #FFFFFF; color: var(--muted);
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 12px 36px rgba(8, 39, 45, 0.24);
  font-size: 13.5px; line-height: 1.45;
}
.cookie p { margin: 0; }
.cookie-title { font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.cookie b { color: var(--ink); font-weight: 600; }
.cookie a { color: var(--ink); text-underline-offset: 3px; }
.cookie-prefs { display: flex; flex-direction: column; gap: 10px; }
.cookie-prefs label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.cookie-prefs input { width: 20px; height: 20px; flex-shrink: 0; margin: 0; accent-color: var(--ink); }
.cookie-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding-top: 2px; }
.ck-btn { min-height: 44px; margin: 0; padding: 0 12px; background: #FFFFFF; border: 1.5px solid var(--ink); border-radius: 22px; font-size: 15px; font-weight: 700; color: var(--ink); }
.ck-btn.ck-primary { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.ck-btn.wide { grid-column: 1 / -1; order: 3; }
/* „Prispôsobiť“: na mobile nenápadný odkaz pod tlačidlami, na širokej obrazovke tretie tlačidlo */
.ck-btn.ck-plain { grid-column: 1 / -1; order: 3; min-height: 30px; border: none; font-size: 13.5px; font-weight: 600; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 899px) {
  /* Kým je lišta zobrazená, pätička dostane miesto navyše, aby sa dalo doscrollovať na všetko */
  .foot { padding-bottom: var(--cookie-h, 0px); }
}
@media (min-width: 900px) {
  /* vpravo dole, aby lišta nezakrývala blok značky v ľavom stĺpci */
  .cookie { left: auto; right: 24px; bottom: 24px; width: 460px; padding: 20px; gap: 12px; font-size: 14px; }
  .cookie-title { font-size: 17px; }
  .cookie-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cookie.open .cookie-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ck-btn.ck-plain { grid-column: auto; order: 0; min-height: 44px; border: 1.5px solid var(--ink); font-size: 15px; font-weight: 700; color: var(--ink); text-decoration: none; }
}

/* Obrazovka po odoslaní: partner a jeho ponuka. Ak má tlačidlo dostať farbu značky kupcu, zmeňte ju len tu
   a overte kontrast textu na nej. */
.partner { padding: 6px 0 4px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.partner-logo { width: min(224px, 72%); height: auto; display: block; }
/* Dve verzie obrazovky po odoslaní (cesta cez CRM a cesta e-mailom); skript ukáže tú, ktorou lead išiel */
.partner-name { font-family: var(--display); font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.screen-part { display: flex; flex-direction: column; gap: 18px; }
/* Biele logo partnera patrí na tmavú plochu */
.partner-tile { display: flex; align-items: center; justify-content: center; width: min(280px, 84%); padding: 22px 28px; background: var(--ink); border-radius: 18px; }
.partner-logo-inverse { width: min(150px, 100%); }
.steps a { color: var(--ink); text-underline-offset: 3px; }
.partner-cta { padding: 26px 22px 22px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; background: var(--tile); border-radius: 20px; color: var(--muted); }
.partner-cta h3 { font-family: var(--display); font-size: 26px; font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.partner-cta p { font-size: 15.5px; line-height: 1.45; }
.partner-cta .pill { align-self: stretch; margin-top: 8px; min-height: 56px; font-size: 19px; text-decoration: none; }
/* Čo sa v ponuke prednastavilo podľa odpovedí (funnel.config.js, partnerLink) */
.partner-cta .cta-filters { font-size: 13.5px; line-height: 1.4; color: var(--muted); }

/* Viditeľná poznámka pri testovacom režime servera (CRM_DRY_RUN) */
.test-note { padding: 12px 14px; border: 1.5px dashed var(--error); border-radius: 12px; color: var(--error); font-size: 14px; font-weight: 600; }
