/* BARNAS.sk – hlavné štýly (mobile-first). Farby a písmo sa menia v :root. */

@font-face{
  font-family:'Outfit';
  src:url(../fonts/outfit-var-sk.woff2) format('woff2');
  font-weight:300 800;
  font-style:normal;
  font-display:swap;
}

:root{
  --bg:#FBF6EE;
  --bg-alt:#F3EADB;
  --surface:#fff;
  --ink:#1D2433;
  --muted:#424958;
  --line:#EDE3D2;
  --field:#D8CCB8;
  --accent:#B5441A;
  --accent-light:#E0A28B;
  --dark:#1D2433;
  --dark-muted:#B9BFCB;
  --dark-line:#3A4254;
  --ok:#2E9E5B;
  --pass:#0CCE6B;
  --pass-ink:#018642;
  --err:#B3261E;
  --font:'Outfit',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --radius:18px;
  --gutter:24px;
  --header-h:64px;
}

/* Základ */
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:var(--header-h)}
html,body{overflow-x:clip}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:18px;line-height:1.6;letter-spacing:.008em}
img,svg{display:block;max-width:100%}
a{color:var(--ink)}
:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
h1,h2,h3,p{margin:0}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip{position:absolute;left:12px;top:-60px;z-index:100;background:var(--ink);color:#fff;padding:10px 16px;border-radius:8px;text-decoration:none}
.skip:focus{top:12px}

.wrap{max-width:1080px;margin:0 auto;padding:0 var(--gutter)}
.accent{color:var(--accent)}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:14px 24px;border:0;border-radius:8px;background:var(--accent);color:#fff;font:inherit;font-weight:600;line-height:1.2;text-decoration:none;cursor:pointer;transition:transform .15s,filter .15s,box-shadow .15s}
.btn:hover{transform:translateY(-2px);filter:brightness(1.08);box-shadow:0 10px 22px rgba(29,36,51,.18)}
.btn:disabled{opacity:.6;cursor:wait;transform:none}
.btn-lg{font-size:20px;padding:18px 30px}

/* Hlavička */
.header{position:sticky;top:0;z-index:10;background:rgba(251,246,238,.92);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 1px 0 var(--line)}
.header .in{max-width:1280px;height:var(--header-h);margin:0 auto;padding:0 var(--gutter);display:flex;align-items:center;justify-content:space-between;gap:16px}
.logo{font-weight:700;font-size:22px;letter-spacing:-.02em;text-decoration:none;white-space:nowrap}
.nav{display:flex;align-items:center;gap:28px;font-size:17px}
.nav a:not(.btn){display:none;text-decoration:none;color:var(--muted)}
.nav a:not(.btn):hover{color:var(--ink)}
.nav .btn{min-height:44px;padding:10px 16px;font-size:16px}

/* Sekcie na celú obrazovku, ktoré pri scrollovaní zapadnú na miesto */
/* Na mobile sa scrolluje voľne a sekcie majú prirodzenú výšku; obrazovkové sekcie a zapadanie len na počítači (nižšie) */
.snap{display:flex;flex-direction:column;justify-content:center}
.snap > .wrap{width:100%}

/* Navigácia guličkami vpravo (len na širokých obrazovkách, inak by zakrývala text) */
.dots-nav{display:none}
.dots-nav a{position:relative;display:block;width:14px;height:14px;border-radius:999px;border:2px solid var(--ink);box-shadow:0 0 0 2px rgba(251,246,238,.7);transition:transform .2s,background-color .2s}
.dots-nav a::before{content:'';position:absolute;inset:-9px}
.dots-nav a:hover,.dots-nav a[aria-current="true"]{background:var(--ink)}
.dots-nav a[aria-current="true"]{transform:scale(1.3)}
.dots-nav span{position:absolute;right:26px;top:50%;transform:translateY(-50%);white-space:nowrap;background:var(--ink);color:#fff;font-size:14px;font-weight:600;line-height:1;padding:7px 10px;border-radius:6px;opacity:0;pointer-events:none;transition:opacity .2s}
.dots-nav a:hover span,.dots-nav a:focus-visible span{opacity:1}

/* Úvod */
.hero-in{flex:1;width:100%;max-width:1120px;margin:0 auto;padding:28px var(--gutter) 40px;display:flex;flex-wrap:wrap;align-items:center;align-content:center;gap:32px}
.hero-text{flex:999 1 480px;min-width:0;display:flex;flex-direction:column;gap:24px}
h1{font-weight:800;font-size:clamp(48px,13vw,112px);line-height:1;letter-spacing:-.025em}
.sub{font-weight:400;font-size:clamp(26px,3.2vw,42px);line-height:1.2;color:var(--muted)}
.rotator{display:inline-block;height:1.25em;overflow:hidden;vertical-align:bottom;font-weight:700;color:var(--accent)}
.rotator span{display:flex;flex-direction:column;transition:transform .55s cubic-bezier(.7,0,.2,1)}
.rotator b{display:block;height:1.25em;line-height:1.25em;margin-bottom:.6em;font-weight:700}
.hero-cta{display:flex;flex-wrap:wrap;gap:20px;align-items:center;margin-top:8px}
.hero-cta a:not(.btn){font-weight:600;text-underline-offset:6px}

.portrait-box{flex:1 1 300px;min-width:0;display:flex;justify-content:center;padding:24px 0}
.portrait{width:380px;max-width:100%;aspect-ratio:1;position:relative}
.ring{position:absolute;inset:-6%;width:112%;height:112%;max-width:none;color:var(--accent);animation:spin 40s linear infinite}
.circle{position:absolute;inset:0;border-radius:999px;background:var(--accent)}
/* Fotka: hore presahuje nad kruh, dole je orezaná oblúkom kruhu. Na mobile by jej priehľadná časť prekrývala tlačidlá nad ňou, preto na klik nereaguje. */
.ring,.circle,.photo{pointer-events:none}
.photo{position:absolute;left:0;right:0;bottom:0;top:-30%;overflow:hidden;border-radius:0 0 999px 999px}
.photo img{position:absolute;top:-3%;left:50%;width:131%;max-width:none;height:auto;transform:translateX(-50%)}
.chip{position:absolute;background:var(--surface);box-shadow:0 16px 34px rgba(29,36,51,.14);line-height:1.2}
.chip-speed{left:-8px;bottom:36px;border-radius:14px;padding:12px 16px;display:flex;flex-direction:column;animation:floaty 5s ease-in-out infinite}
.chip-speed small{font-size:13px;color:var(--muted)}
.chip-speed strong{font-weight:800;font-size:24px}
.chip-ok{right:-4px;top:46%;border-radius:999px;padding:10px 16px;display:flex;align-items:center;gap:8px;font-size:15px;font-weight:600;animation:floaty 6s ease-in-out -2s infinite}
.chip-pay{left:-8px;top:38%;border-radius:999px;padding:10px 16px;display:flex;align-items:center;gap:8px;font-size:15px;font-weight:600;animation:floaty 5.8s ease-in-out -4s infinite}
/* Malé štítky, aby nezakrývali tvár */
.chip-ok,.chip-pay{padding:7px 11px 7px 8px;gap:6px;font-size:13px}
.chip-ok i,.chip-pay i{width:18px;height:18px;border-radius:999px;background:var(--ok);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-style:normal;font-size:13px}
.chip-dark{right:-8px;bottom:-6px;background:var(--dark);color:#fff;border-radius:12px;padding:10px 14px;font-size:15px;font-weight:600;animation:floaty 5.5s ease-in-out -3.5s infinite}

/* Bežiaci pás */
.marquee-strip{background:var(--accent);color:#fff;overflow:hidden;padding:18px 0}
.marquee{display:flex;width:max-content;animation:marquee 60s linear infinite;font-weight:600;font-size:22px;white-space:nowrap}
.marquee span{display:flex}
.marquee i{display:flex;align-items:center;font-style:normal}
.marquee i::after{content:'';width:.3em;height:.3em;margin:0 1.1em;border-radius:999px;background:currentColor;opacity:.55}

/* Sekcie */
.alt{background:var(--bg-alt)}
.sec{padding-top:56px;padding-bottom:56px}
.sec-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px}
.eyebrow{margin-bottom:8px;font-size:14px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--accent)}
h2{font-weight:800;font-size:clamp(38px,5.4vw,64px);line-height:1.08;letter-spacing:-.018em}
.sec-icon{width:52px;height:52px;flex:0 0 auto;color:var(--accent)}
.dots{height:8px;margin:28px 0 40px;background-image:radial-gradient(circle,var(--accent) 3px,transparent 3.6px);background-size:22px 8px;background-repeat:repeat-x}
.intro{max-width:760px;margin-bottom:36px;font-size:20px}

/* O mne */
.about{display:flex;flex-wrap:wrap;gap:40px}
.about .lead{flex:1 1 300px;font-weight:600;font-size:clamp(24px,2.6vw,34px);line-height:1.25}
.about .body{flex:1 1 420px;display:flex;flex-direction:column;gap:18px}

/* Ktorá veta je vaša: na počítači zoznam viet a vedľa text, na mobile sa text rozbalí pod vetou. Bez JS je všetko otvorené. */
.fix-q{margin:0;font-size:inherit;font-weight:inherit;line-height:inherit;letter-spacing:0}
.fix-q button{position:relative;display:block;width:100%;min-height:52px;padding:13px 36px 13px 0;border:0;border-bottom:1px solid var(--field);background:none;color:var(--ink);font:inherit;font-size:18px;font-weight:500;line-height:1.35;letter-spacing:.008em;text-align:left;cursor:pointer;transition:color .2s}
.fix-q button::after{content:'+';position:absolute;right:4px;top:50%;transform:translateY(-50%);color:var(--accent);font-size:26px;font-weight:400;line-height:1}
.fix-q button:hover,.fix-q button[aria-expanded="true"]{color:var(--accent)}
.fix-q button[aria-expanded="true"]::after{content:'−'}
.fix-panel{padding:18px 0 26px}
.fix-panel p + p{margin-top:12px}
.fix-answer{font-weight:700;font-size:1.3em;line-height:1.25;color:var(--accent)}
.fix-cta{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin-top:18px}
.fix-link{font-weight:600;text-underline-offset:5px}
.js .fix-panel:not(.on){display:none}

/* Cenník: bez JS sú všetky ponuky pod sebou, súčet a prepínanie zapína JS */
.price{display:grid;gap:24px;margin:0}
.price-goals{display:none;margin:0 0 12px;padding:0;border:0;border-bottom:1px solid var(--field);gap:18px}
.js .price-goals{display:flex}
.price-goals label{cursor:pointer}
.price-goals span{display:block;padding:8px 0 10px;margin-bottom:-1px;border-bottom:3px solid transparent;font-weight:600;line-height:1.25;color:var(--muted)}
.price-goals i{display:none;font-style:normal}
.price-goals input:checked + span{color:var(--accent);border-bottom-color:var(--accent)}
.price-goals input:focus-visible + span{outline:3px solid var(--ink);outline-offset:2px}
.js .price-panel:not(.on){display:none}
.opt{display:flex;align-items:flex-start;gap:12px;padding:11px 0;border-bottom:1px solid var(--field);cursor:pointer}
.opt input[type="radio"],.opt input[type="checkbox"],.opt-s input{flex:0 0 auto;width:20px;height:20px;margin:3px 0 0;accent-color:var(--accent)}
.opt-t{flex:1 1 auto;min-width:0;display:block;line-height:1.3}
.opt-t b{display:block;font-weight:700}
.opt-t small{display:block;margin-top:2px;font-size:15px;color:var(--muted);line-height:1.35}
.opt-p{flex:0 0 auto;font-weight:700;white-space:nowrap}
.opt-hours{display:block;cursor:default}
.opt-hours-t{display:flex;align-items:flex-start;gap:12px;cursor:pointer}
.opt-hours input[type="range"]{display:block;width:100%;height:24px;margin:8px 0 0;accent-color:var(--accent);cursor:pointer}
.opt-hours input[type="range"]:disabled{opacity:.4;cursor:not-allowed}
.opt-hours output{font-weight:700;color:var(--ink)}
.price-intro{font-weight:600}
.price-infos{margin-top:8px}
.js .price-infos{display:grid}
.price-info{margin:0 0 8px;padding:9px 13px;border-radius:10px;background:var(--bg-alt);font-size:15px;line-height:1.38}
.js .price-info{grid-area:1/1;margin:0;visibility:hidden}
.js .price-panel.on .price-info.on{visibility:visible}
.price-info strong{font-weight:700}
.price-extras{display:grid;gap:0 32px;margin-top:6px}
.opt-s,.step{display:flex;align-items:center;gap:10px;min-height:44px;padding:5px 0;border-bottom:1px solid var(--line);font-size:16px;line-height:1.25}
.opt-s{cursor:pointer}
.opt-s input{margin:0}
.opt-s span{flex:1 1 auto;min-width:0}
.opt-note{display:block;font-size:13px;line-height:1.25;color:var(--muted)}
.opt-s em{flex:0 0 auto;font-style:normal;font-weight:700;white-space:nowrap}
.step{justify-content:space-between}
.step-t small{font-size:14px;color:var(--muted)}
.step-c{display:none;align-items:center;gap:4px}
.js .step-c{display:flex}
.step-c button{width:34px;height:34px;border:1px solid var(--field);border-radius:8px;background:var(--surface);color:var(--ink);font:inherit;font-weight:700;line-height:1;cursor:pointer}
.step-c button:hover{border-color:var(--ink)}
.step-c output{min-width:30px;text-align:center;font-weight:700;font-variant-numeric:tabular-nums}
.plans{display:grid;gap:16px;margin-top:6px}
.plan{position:relative;display:block;padding:16px 18px 16px 44px;border:1px solid var(--field);border-radius:var(--radius);background:var(--surface);cursor:pointer}
.plan:has(input:checked){border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}
.plan input{position:absolute;left:16px;top:18px;width:20px;height:20px;margin:0;accent-color:var(--accent)}
.plan-h{display:flex;flex-wrap:wrap;justify-content:space-between;gap:2px 12px;font-weight:700}
.plan ul{margin:8px 0 0;padding-left:1.1em;font-size:16px;line-height:1.35;color:var(--muted)}
.plan li + li{margin-top:2px}
.pay{margin:10px 0 0;padding:0;border:0;display:flex;flex-direction:column;gap:3px;font-size:16px;line-height:1.3}
.pay legend{padding:0;margin-bottom:3px;font-weight:700}
.pay label{display:flex;align-items:flex-start;gap:9px;padding:2px 0;cursor:pointer}
.pay input{flex:0 0 auto;width:18px;height:18px;margin:2px 0 0;accent-color:var(--accent)}
.care-note{color:var(--muted);font-size:13px;line-height:1.3}
.price-note{margin-top:8px;font-size:14px;line-height:1.4;color:var(--muted)}
.price-bar{display:none}
.js .price-bar{position:sticky;bottom:10px;z-index:4;display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-top:-12px;padding:9px 16px;border-radius:10px;background:var(--ink);color:#fff;font-size:15px;box-shadow:0 8px 20px rgba(29,36,51,.25)}
.price-bar b{font-size:20px;font-weight:800;white-space:nowrap}
.price-sum{display:none;flex-direction:column;gap:6px;padding:20px;border-radius:var(--radius);background:var(--surface)}
.js .price-sum{display:flex}
.price-care{display:flex;flex-direction:column;gap:4px;margin-bottom:10px;padding-bottom:12px;border-bottom:1px solid var(--line);font-size:15px}
.price-care select{min-height:44px;padding:6px 10px;border:1px solid var(--field);border-radius:8px;background:var(--surface);color:var(--ink);font:inherit;width:100%}
.price-lab{font-size:14px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.price-total{font-weight:800;font-size:38px;line-height:1.1;color:var(--accent);font-variant-numeric:tabular-nums}
.price-month{font-weight:700}
.price-list{margin:6px 0;padding:0;list-style:none;font-size:15px;line-height:1.3}
.price-list:empty{display:none}
@media (min-width:960px){
  .price-list{max-height:clamp(64px,13vh,170px);overflow:auto}
  .js .price-bar{display:none}
}
.price-list li{display:flex;justify-content:space-between;gap:12px;padding:4px 0}
.price-list span{min-width:0;color:var(--muted)}
.price-list b{flex:0 0 auto;font-weight:600;white-space:nowrap}
.price-sum .btn{margin-top:4px;font-size:17px;padding-left:14px;padding-right:14px}

/* Služby */
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px}
.card{text-decoration:none;color:var(--ink);background:var(--surface);border-radius:var(--radius);padding:32px 28px;display:flex;flex-direction:column;gap:14px;transition:transform .25s,box-shadow .25s}
.card:hover{transform:translateY(-8px);box-shadow:0 22px 40px rgba(29,36,51,.12)}
.card:hover .card-ic{animation:bob .6s ease}
.card-ic{width:64px;height:64px;border-radius:16px;background:var(--bg);color:var(--accent);display:inline-flex;align-items:center;justify-content:center}
.card h3{font-weight:700;font-size:26px;line-height:1.15}
.card p{color:var(--muted)}
.card .more{margin-top:auto;font-weight:600;color:var(--accent)}

.ask{max-width:820px;margin-top:clamp(12px,2.4vh,28px);line-height:1.45}
.ask b{font-weight:700}
.ask a{font-weight:600;color:var(--accent);text-underline-offset:4px}

/* Výsledky */
.results{background:var(--accent);color:#fff}
.results .eyebrow{color:#fff;opacity:.85}
.results .sec-icon{color:#fff}
.results .dots{background-image:radial-gradient(circle,#fff 3px,transparent 3.6px);opacity:.7}
.race{background:var(--surface);color:var(--ink);border-radius:var(--radius);padding:24px;display:flex;flex-direction:column;gap:30px;box-shadow:0 30px 60px rgba(0,0,0,.18)}
.race-pairs{display:grid;gap:28px}
.race-pair{display:flex;flex-direction:column;gap:16px;min-width:0}
.race-pair h3{font-size:22px;font-weight:800;line-height:1.2}
.race-pair h3 small{display:block;font-size:15px;font-weight:400;color:var(--muted)}
.lane-top{display:flex;justify-content:space-between;align-items:baseline;gap:16px;font-weight:600}
.lane-top strong{font-weight:800;font-size:32px;font-variant-numeric:tabular-nums}
.bar{height:20px;border-radius:999px;background:#EFE8DC;overflow:hidden;margin:10px 0}
.bar div{height:100%;width:100%;border-radius:999px;background:#8A8F99}
.lane-after .bar div{background:var(--pass)}
.lane-after strong{color:var(--pass-ink)}
.pass{color:var(--pass-ink)}
.lane small{font-size:16px;color:var(--muted)}
.race-foot{display:flex;flex-wrap:wrap;align-items:center;gap:20px}
.race-foot span{font-size:15px;color:var(--muted)}
.btn-outline{background:transparent;color:var(--accent);box-shadow:inset 0 0 0 2px var(--accent)}
.btn-outline:hover{background:var(--accent);color:#fff;filter:none}

/* Otočenie segmentu Výsledky: predná strana porovnanie, zadná test webu */
.flip{perspective:1800px}
.flip-in{display:grid;transform-style:preserve-3d;transition:transform .8s cubic-bezier(.6,0,.2,1)}
.flip.is-back .flip-in{transform:rotateY(180deg)}
.flip-face{grid-area:1/1;min-width:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}
.flip-back{transform:rotateY(180deg)}
.flip-return{display:inline-block;margin-top:16px;padding:8px 0;border:0;background:none;color:#fff;font:inherit;font-weight:600;text-decoration:underline;text-underline-offset:5px;cursor:pointer}
.results :focus-visible{outline-color:#fff}
.results .race :focus-visible{outline-color:var(--ink)}

/* Test webu */
.race.test{gap:14px}
.test-form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px}
.test-form .field{flex:1 1 240px;min-width:0}
.test-note{flex:1 0 100%;font-size:15px;color:var(--muted)}
.test-status{font-weight:600}
.test-status:empty{display:none}
.test-status.ok{color:var(--ok)}
.test-status.bad{color:var(--err)}
.test-result{display:grid;gap:16px}
.test-col{display:flex;flex-direction:column;gap:16px;min-width:0}
.test-verdict{font-weight:600;font-size:1.05em;line-height:1.35}
/* Po teste zmizne nadpis a popis, aby sa výsledok zmestil na obrazovku */
.flip.has-result .flip-back .sec-head,.flip.has-result .flip-back .dots,.flip.has-result .flip-back .test-form[data-test="form"] label,.flip.has-result .flip-back > .test > .test-note{display:none}
.gauges{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.gauge{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;font-size:15px;line-height:1.25}
.gauge-c{position:relative;width:72px;height:72px}
.gauge-c svg{width:100%;height:100%;transform:rotate(-90deg)}
.gauge-c circle{fill:none;stroke:#EFE8DC;stroke-width:3.2}
.gauge-c .gauge-v{stroke:var(--muted);stroke-linecap:round;transition:stroke-dasharray 1s ease}
.gauge.good .gauge-v{stroke:var(--ok)}
.gauge.mid .gauge-v{stroke:var(--accent)}
.gauge.bad .gauge-v{stroke:var(--err)}
.gauge-c b{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:800}
.metrics{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin:0}
.metrics > div{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding-bottom:8px;border-bottom:1px solid var(--line)}
.metrics dt{font-size:15px;color:var(--muted);line-height:1.3}
.metrics dd{margin:0;font-weight:800;white-space:nowrap}
.test-col > .btn{align-self:flex-start}
.test-source{font-size:14px;color:var(--muted);line-height:1.35}
.test-next{line-height:1.4}
/* Priebeh testu */
.test-progress{display:flex;flex-direction:column;gap:10px}
.test-progress-top{display:flex;align-items:center;gap:12px}
.test-progress-top b{font-size:clamp(26px,4vh,34px);font-weight:800;line-height:1;font-variant-numeric:tabular-nums}
.test-spin{flex:0 0 auto;width:30px;height:30px;border:3px solid var(--line);border-top-color:var(--accent);border-radius:999px;animation:spin .9s linear infinite}
.test-bar{margin:0}
.test-bar div{width:0;background:var(--pass);transition:width .25s linear}
.test-steps{display:grid;gap:5px;margin:0;padding:0;list-style:none;font-size:15px;line-height:1.3;color:var(--muted)}
.test-steps li{position:relative;padding-left:26px}
.test-steps li::before{content:'';position:absolute;left:0;top:1px;width:17px;height:17px;border:2px solid var(--field);border-radius:999px}
.test-steps li.now{font-weight:600;color:var(--ink)}
.test-steps li.now::before{border-color:var(--accent)}
.test-steps li.done{color:var(--ink)}
.test-steps li.done::before{content:'✓';display:flex;align-items:center;justify-content:center;border-color:var(--ok);background:var(--ok);color:#fff;font-size:11px;font-weight:700;line-height:1}
.test-progress-note{font-size:14px;line-height:1.3;color:var(--muted)}
.flip.is-testing .race.test > .test-note,.flip.is-testing [data-test="result"]{display:none}
@media (prefers-reduced-motion:reduce){.test-spin{border-top-color:var(--line)}}
.test-health p{font-weight:600}
.test-health{gap:4px}
.test-health ul{margin:0;padding:0;list-style:none;font-size:15px;line-height:1.32}
.test-health li{display:flex;gap:8px}
.test-health li + li{margin-top:5px}
.test-health i{flex:0 0 auto;width:18px;height:18px;margin-top:1px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:var(--field);color:#fff;font-size:12px;font-style:normal;font-weight:700}
.test-health .ok i{background:var(--ok)}
.test-health .warn i{background:var(--accent)}
.test-health .bad i{background:var(--err)}
.test-tips p{font-weight:600}
.test-tips ul{margin:4px 0 0;padding-left:1.2em;font-size:16px;line-height:1.4}
.test-tips li + li{margin-top:4px}

/* Referencie */
.refs{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px}
.ref{margin:0;background:var(--surface);border-radius:var(--radius);padding:32px;display:flex;flex-direction:column;gap:18px}
.ref blockquote{margin:0}
.ref .q{font-weight:800;font-size:80px;line-height:.6;color:var(--accent)}
.ref p{font-size:20px;line-height:1.5}

/* Formulár */
.form{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px 24px}
.field{display:flex;flex-direction:column;gap:8px}
.field.full{grid-column:1/-1}
.field label{font-size:17px}
.field label small{color:var(--muted)}
.field input,.field select,.field textarea{font:inherit;color:var(--ink);padding:14px 16px;border:1px solid var(--field);border-radius:8px;background:var(--surface);min-height:54px;width:100%}
.field textarea{resize:vertical}
.field [aria-invalid="true"]{border-color:var(--err);box-shadow:0 0 0 1px var(--err)}
.field .err{font-size:15px;color:var(--err)}
.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.form-note{font-size:15px;color:var(--muted)}
.form-status{grid-column:1/-1;font-weight:600}
.form-status:empty{display:none}
.form-status.ok{color:var(--ok)}
.form-status.bad{color:var(--err)}

/* Päta */
.footer{background:var(--dark);color:#fff}
.snap-page .footer{scroll-snap-align:end}
.footer .wrap{padding-top:36px;padding-bottom:22px;display:flex;flex-direction:column;gap:22px}
.foot-top{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center}
.footer .foot-logo{font-size:24px;line-height:1.2;color:#fff}
.foot-logo span{color:var(--accent-light)}
.foot-tag{font-size:15px;line-height:1.4;color:var(--dark-muted)}
.foot-speed{display:flex;flex-wrap:wrap;justify-content:center;align-items:baseline;gap:0 7px;margin-top:8px;font-size:14px;line-height:1.4;color:var(--dark-muted)}
.foot-speed b{font-size:18px;font-weight:800;color:var(--pass);font-variant-numeric:tabular-nums;white-space:nowrap}
.footer :focus-visible{outline-color:#fff}
.copy{border-top:1px solid var(--dark-line);padding-top:16px;display:flex;flex-direction:column;align-items:center;gap:8px;font-size:14px;line-height:1.6;color:var(--dark-muted)}
.foot-nav,.foot-legal{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 16px}
.foot-nav{order:-1}
.foot-c{order:1}
.copy a,.copy button{padding:0;border:0;background:none;color:var(--dark-muted);font:inherit;text-decoration:none;cursor:pointer}
.copy a:hover,.copy button:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}
@media (min-width:701px){
  .foot-top{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:32px;row-gap:6px;align-items:center;justify-items:start;text-align:left}
  .footer .foot-logo{font-size:26px}
  .foot-tag{grid-column:1;font-size:16px}
  .foot-speed{grid-column:2;grid-row:1/span 2;flex-wrap:nowrap;margin:0;font-size:15px;white-space:nowrap}
  .foot-speed b{font-size:22px}
  .copy{flex-direction:row;flex-wrap:wrap;justify-content:center;gap:6px 18px}
  .foot-nav,.foot-legal{gap:6px 18px}
  .foot-nav,.foot-c{order:0}
}

/* Cookie lišta: pri spodnom okraji, nič neposúva. Obe tlačidlá sú rovnako viditeľné. */
.cookie{position:fixed;left:12px;right:12px;bottom:12px;z-index:60;max-width:760px;margin:0 auto;padding:16px 18px;display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px;border-radius:14px;background:var(--surface);color:var(--ink);font-size:15px;line-height:1.4;box-shadow:0 18px 44px rgba(29,36,51,.28)}
.cookie p{flex:1 1 320px}
.cookie-actions{display:flex;gap:10px}
.cookie .btn{min-height:44px;padding:8px 18px;font-size:16px}

/* Blog */
.article{max-width:900px}
.article h1{font-size:clamp(34px,5.4vw,56px);line-height:1.1;letter-spacing:-.018em;margin-bottom:6px}
.crumbs{margin-bottom:18px;font-size:15px;color:var(--muted)}
.article-meta{font-size:15px;color:var(--muted)}
.article .prose{font-size:18px;line-height:1.65}
.article .prose h2{margin-top:22px;line-height:1.15}
.article .prose li + li{margin-top:6px}
.article-cta{margin-top:24px;padding:22px 24px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px 24px;border-radius:var(--radius);background:var(--bg-alt)}
.article-cta p{flex:1 1 300px;font-weight:600;line-height:1.4}
.article-next{margin-top:12px}
.article-next h2{font-size:clamp(22px,2.6vw,28px);margin-bottom:8px}
.article-next ul{list-style:none;padding:0}
.article-sources{margin-top:8px;font-size:14px;line-height:1.5;color:var(--muted)}
.blog-head p{max-width:620px;font-size:20px;color:var(--muted)}
.blog-sec{margin-top:44px}
.blog-sec h2{font-size:clamp(26px,3vw,34px);letter-spacing:-.01em;margin-bottom:14px}
.posts{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.post{display:flex;flex-direction:column;gap:8px;padding:22px 24px;border-radius:var(--radius);background:var(--surface);color:var(--ink);text-decoration:none;transition:transform .2s,box-shadow .2s}
.post:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(29,36,51,.1)}
.post h3{font-size:21px;font-weight:700;line-height:1.2}
.post p{flex:1;font-size:16px;line-height:1.45;color:var(--muted)}
.post span{font-size:15px;font-weight:600;color:var(--accent)}
.gloss{margin:8px 0 0}
.gloss > div{padding:12px 0;border-bottom:1px solid var(--line);scroll-margin-top:calc(var(--header-h) + 8px)}
.gloss dt{font-weight:700}
.gloss dd{margin:2px 0 0;color:var(--muted);line-height:1.5}
.gloss > div:target{background:var(--bg-alt)}

/* Jednoduché podstránky (ochrana údajov, ďakujem, 404) */
.page{padding-top:64px;padding-bottom:96px}
.page h1{font-size:clamp(40px,7vw,72px);margin-bottom:28px}
.prose{max-width:760px;display:flex;flex-direction:column;gap:16px}
.prose h2{font-size:clamp(26px,3vw,34px);margin-top:24px}
.prose ul{margin:0;padding-left:1.2em}

/* Vynáranie pri scrollovaní – len keď beží JS */
/* Na mobile len jemné zjavenie bez posunu, na počítači aj s vysunutím */
.js .reveal{opacity:0;transition:opacity .6s ease,transform .8s ease}
.js .reveal.in{opacity:1;transform:none}
@media (min-width:701px){
  .js .reveal{transform:translateY(32px)}
  .js .reveal.in{transform:none}
}
/* Bodky pod nadpisom sa vykreslia zľava doprava, keď sekcia príde na obrazovku */
.js .reveal .dots{clip-path:inset(0 100% 0 0);transition:clip-path 1.3s cubic-bezier(.55,0,.25,1) .35s}
.js .reveal.in .dots{clip-path:inset(0 0 0 0)}

@keyframes floaty{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}
@keyframes marquee{to{transform:translateX(-50%)}}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes bob{35%{transform:translateY(-6px) rotate(-8deg)}70%{transform:rotate(6deg)}}

/* Tablet a desktop: veľkosti sa prispôsobujú šírke aj výške okna, aby sa každá sekcia zmestila na obrazovku */
@media (min-width:701px){
  :root{--gutter:32px;--header-h:80px}
  body{font-size:clamp(16px,2.2vh,19px)}
  .logo{font-size:28px}
  .nav .btn{padding:12px 20px;font-size:17px}

  .hero-in{padding:clamp(24px,5vh,64px) var(--gutter);gap:clamp(32px,5vh,64px)}
  .hero-text{gap:clamp(14px,2.8vh,28px)}
  h1{font-size:clamp(56px,min(8.4vw,11.5vh),112px)}
  .sub{font-size:clamp(24px,min(3.2vw,4.4vh),42px)}
  .btn-lg{padding:clamp(12px,2vh,18px) 30px}
  .portrait-box{flex-basis:380px;padding:clamp(12px,3vh,24px) 0}
  .portrait{width:min(380px,44vh)}
  .chip-speed{left:-56px;padding:14px 18px}
  .chip-speed strong{font-size:26px}
  .chip-ok{right:-36px}
  .chip-pay{left:-56px}
  .chip-ok,.chip-pay{padding:clamp(6px,1.1vh,10px) clamp(11px,1.8vh,16px);gap:8px;font-size:clamp(13px,1.7vh,15px)}
  .chip-ok i,.chip-pay i{width:clamp(18px,2.4vh,22px);height:clamp(18px,2.4vh,22px)}
  .marquee-strip{padding:clamp(12px,2.2vh,22px) 0}
  .marquee{font-size:clamp(20px,3vh,28px)}

  .sec{padding-top:clamp(20px,5vh,72px);padding-bottom:clamp(20px,5vh,72px)}
  h2{font-size:clamp(34px,min(5.4vw,7.5vh),64px)}
  .eyebrow{margin-bottom:clamp(4px,.8vh,8px)}
  .sec-icon{width:clamp(44px,7vh,76px);height:clamp(44px,7vh,76px)}
  .dots{margin:clamp(12px,2.6vh,28px) 0 clamp(16px,4vh,44px)}
  .intro{font-size:clamp(17px,2.4vh,21px);margin-bottom:clamp(14px,3.4vh,36px)}

  .about{gap:clamp(24px,4vh,48px)}
  .about .lead{font-size:clamp(22px,min(2.6vw,3.8vh),34px)}
  .about .body{gap:clamp(10px,1.8vh,18px)}

  .gauges{grid-template-columns:repeat(4,minmax(0,1fr))}
  .gauge-c{width:clamp(52px,8vh,76px);height:clamp(52px,8vh,76px)}
  .gauge-c b{font-size:clamp(17px,2.6vh,22px)}
  .test-result{gap:clamp(8px,1.8vh,16px) clamp(24px,3vw,40px);grid-template-columns:repeat(2,minmax(0,1fr))}
  .test-verdict{grid-column:1/-1}
  .race.test{gap:clamp(6px,1.4vh,14px)}
  .test-tips ul{font-size:clamp(15px,2vh,16px)}
  .test-tips li + li{margin-top:clamp(1px,.4vh,4px)}
  .test-col{gap:clamp(8px,1.6vh,16px)}
  .metrics{gap:clamp(4px,.8vh,8px)}
  .metrics > div{padding-bottom:clamp(4px,.8vh,8px)}
  .flip-return{margin-top:clamp(4px,1.4vh,16px)}

  .card{padding:clamp(18px,3.4vh,36px) clamp(18px,2.2vw,32px);gap:clamp(8px,1.4vh,14px)}
  .card-ic{width:clamp(44px,6.4vh,64px);height:clamp(44px,6.4vh,64px)}
  .card h3{font-size:clamp(22px,3vh,28px)}

  .race{padding:clamp(18px,3.6vh,40px) clamp(24px,3vw,40px);gap:clamp(6px,2.6vh,30px)}
  .lane-top strong{font-size:clamp(24px,3.8vh,36px)}
  .bar{height:clamp(12px,1.9vh,20px);margin:clamp(4px,1vh,10px) 0}
  .race-foot .btn{min-height:clamp(40px,5.4vh,52px);padding-top:8px;padding-bottom:8px}
  .lane small,.race-foot span{font-size:clamp(14px,1.9vh,16px);line-height:1.4}
  .lane-top{line-height:1.2}
  .intro{line-height:1.45}
  .race-foot{gap:clamp(10px,2vh,20px)}
  .race-pairs{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(24px,3.4vw,48px)}
  .race-pair{gap:clamp(6px,1.6vh,16px)}
  .race-pair h3{font-size:clamp(19px,2.8vh,24px)}
  .race-pair h3 small{font-size:clamp(13px,1.8vh,15px)}
  .cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(14px,2vw,24px)}

  .form{gap:clamp(10px,2vh,20px) 24px}
  .field{gap:clamp(4px,.8vh,8px)}
  .field input,.field select,.field textarea{min-height:clamp(42px,5.4vh,54px);padding:clamp(8px,1.2vh,14px) 16px}

  .ref{padding:36px}
  .ref p{font-size:21px}
}
/* Tablet na výšku: text a portrét sú pod sebou, portrét musí byť menší */
@media (min-width:701px) and (max-width:959px) and (orientation:portrait){
  .portrait{width:min(270px,25vh)}
  .hero-in{gap:24px}
  .card h3{font-size:22px}
}

/* Ktorá veta je vaša: vety vľavo, text vpravo. Všetky texty sú v jednej bunke, takže sa pri prepínaní nič nepohne. */
@media (min-width:960px){
  .js .fixes{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);grid-template-rows:repeat(9,auto);column-gap:clamp(32px,4vw,56px)}
  .js .fix-q{grid-column:1}
  .js .fix-panel,.js .fix-panel:not(.on){display:block;grid-column:2;grid-row:1/span 9;padding:clamp(16px,3vh,32px) clamp(20px,2.6vw,36px);border-radius:var(--radius);background:var(--surface)}
  .js .fix-panel:not(.on){visibility:hidden}
  .fix-q button{min-height:0;padding:clamp(7px,1.25vh,13px) 28px clamp(7px,1.25vh,13px) 0;font-size:clamp(16px,2vh,18px)}
  .js .fix-q button::after{content:'→';font-size:18px;opacity:0;transition:opacity .2s}
  .js .fix-q button:hover::after,.js .fix-q button[aria-expanded="true"]::after{opacity:1}
  .fix-panel{font-size:clamp(16px,2.1vh,18px);line-height:1.55}
  .fix-panel p + p{margin-top:clamp(6px,1.3vh,14px)}
  .fix-cta{margin-top:clamp(8px,1.8vh,20px)}
  .fix-cta .btn{min-height:clamp(40px,5.4vh,52px);padding-top:8px;padding-bottom:8px}
}

/* Tablet na výšku: vety pod sebou, kompaktnejšie, aby sa sekcia zmestila */
@media (min-width:701px) and (max-width:959px){
  .fix-q button{min-height:44px;padding:9px 30px 9px 0;font-size:17px}
  .fix-panel{padding:12px 0 16px;font-size:16px;line-height:1.45}
  .fix-cta{margin-top:12px}
}
/* Nízke okno: výsledok testu s posielaním musí ostať na obrazovke */
@media (min-width:701px) and (max-height:700px){
  .test-source,.test-tips li:nth-child(n+3){display:none}
  .price .price-info{padding:4px 10px;font-size:14px;line-height:1.25}
  #cennik .price-intro{margin-bottom:8px;font-size:15px}
  .price .opt{padding:3px 0}
  .price .opt-t b{font-size:16px}
  .price .opt-t small{margin-top:0;font-size:14px;line-height:1.2}
  .price .opt-p{font-size:16px}
  .price .opt-s,.price .step{min-height:30px;padding:1px 0;font-size:15px}
  .price .step-c button{width:26px;height:26px}
  .price-goals{margin-bottom:4px}
  .price-goals span{padding:3px 0 5px}
  .price-sum{gap:2px}
  .price-care{margin-bottom:4px;padding-bottom:6px}
  .price .price-care select{min-height:34px;padding:3px 8px}
  .price .price-total{font-size:28px}
  .price .price-sum{padding:10px 14px}
  .price .price-note{font-size:13px;line-height:1.3}
  .price-list{max-height:48px}
  .price-sum .btn{min-height:38px;padding-top:6px;padding-bottom:6px}
  .price .plan{padding:8px 12px 8px 40px}
  .price .plan ul{margin-top:4px;font-size:14px;line-height:1.2}
  .js .fix-panel,.js .fix-panel:not(.on){padding:12px 20px;line-height:1.4}
  .fix-answer{font-size:1.15em}
  .fix-panel p + p{margin-top:5px}
  .fix-cta{margin-top:6px}
  .fix-cta .btn{min-height:36px;padding-top:4px;padding-bottom:4px}
  .fix-q button{padding-top:5px;padding-bottom:5px}
}

@media (min-width:701px){
  .price-goals{gap:20px}
  .price-goals i{display:inline}
}
/* Tablet: súčet v dvoch stĺpcoch, aby sa sekcia zmestila */
@media (min-width:701px) and (max-width:959px){
  .opt{padding:6px 0}
  .opt-s,.step{min-height:38px;padding:2px 0}
  .js .price-sum{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 20px;padding:14px 18px}
  .price-sum > *{grid-column:1}
  .price-care,.price-sum .btn{grid-column:2}
  .price-care{grid-row:1/span 3;margin:0;padding:0;border:0}
  .price-sum .btn{grid-row:4;align-self:start}
  .price-list{display:none}
  .price-sum .price-note{grid-column:1/-1}
  .js .price-bar{display:none}
  #cennik .sec{padding-top:24px;padding-bottom:24px}
}
/* Cenník na počítači: ponuka vľavo, súčet vpravo. Panely sú v jednej bunke, takže sa pri prepínaní nič nepohne. */
@media (min-width:701px){
  .plans{grid-template-columns:repeat(2,minmax(0,1fr))}
  .price-extras{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:960px){
  .js .price{grid-template-columns:minmax(0,1fr) 290px;gap:clamp(20px,3vw,36px);align-items:start}
  .js .price-panels{display:grid}
  .js .price-panel,.js .price-panel:not(.on){display:block;grid-area:1/1}
  .js .price-panel:not(.on){visibility:hidden}
  .opt{padding:clamp(5px,1.1vh,11px) 0}
  .opt-t small{font-size:clamp(14px,1.8vh,15px)}
  .opt-s,.step{min-height:clamp(34px,4.6vh,44px);padding:2px 0;font-size:clamp(15px,1.9vh,16px)}
  .step-c button{width:30px;height:30px}
  .opt-hours input[type="range"]{margin-top:2px}
  .price-sum{padding:clamp(12px,2.2vh,20px)}
  .price-total{font-size:clamp(30px,5vh,40px)}
  .price-note{font-size:clamp(13px,1.7vh,14px)}
  .price-care select{min-height:clamp(36px,5vh,44px)}
  .plan{padding:clamp(10px,1.8vh,16px) 16px clamp(10px,1.8vh,16px) 42px}
  .plan ul{font-size:clamp(14px,1.9vh,16px)}
}

/* Formulár na počítači: polia vedľa seba, popis vpravo, tlačidlo vždy na obrazovke */
@media (min-width:960px){
  .form{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-areas:"meno email web" "termin popis popis" "send popis popis" "status status status"}
  .form .a-meno{grid-area:meno}
  .form .a-email{grid-area:email}
  .form .a-web{grid-area:web}
  .form .a-termin{grid-area:termin}
  .form .a-popis{grid-area:popis}
  .form .a-send{grid-area:send;justify-content:flex-end}
  .form .form-status{grid-area:status}
  .form .a-popis textarea{flex:1 1 auto;height:0;min-height:96px}
  .form .a-send .btn{width:100%}
}
@media (min-width:960px){
  .nav a:not(.btn){display:inline}
}
/* Na počítači a tablete: každá sekcia na celú obrazovku a pri scrollovaní zapadne na miesto */
@media (min-width:701px) and (min-height:560px){
  html.snap-page{scroll-snap-type:y mandatory}
  .snap{min-height:calc(100vh - var(--header-h));min-height:calc(100svh - var(--header-h));scroll-snap-align:start}
}
@media (min-width:1200px){
  .dots-nav{position:fixed;right:24px;top:50%;transform:translateY(-50%);z-index:20;display:flex;flex-direction:column;gap:16px}
}

/* Cenník musí ostať na jednej obrazovke aj na bežnom notebooku */
@media (min-width:960px) and (max-height:1100px){
  #cennik .sec{padding-top:clamp(12px,2.6vh,28px);padding-bottom:clamp(12px,2.6vh,28px)}
  #cennik .dots{margin:clamp(6px,1.2vh,12px) 0 clamp(8px,1.4vh,14px)}
  #cennik .price-intro{margin-bottom:clamp(6px,1.2vh,12px);font-size:clamp(15px,2vh,17px)}
  #cennik .opt{padding:clamp(2px,.6vh,6px) 0}
  #cennik .opt-t small{margin-top:0;font-size:14px;line-height:1.25}
  #cennik .price-goals{margin-bottom:clamp(2px,.6vh,6px)}
  #cennik .price-goals span{padding:clamp(2px,.6vh,6px) 0}
  #cennik .price-info{padding:clamp(3px,.7vh,7px) 10px;font-size:14px;line-height:1.28}
  #cennik .opt-s,#cennik .step{min-height:clamp(28px,3.8vh,36px);padding:0;font-size:15px}
  #cennik .step-c button{width:26px;height:26px}
  #cennik .price-sum{padding:clamp(8px,1.5vh,16px) 14px;gap:clamp(1px,.4vh,4px)}
  #cennik .price-care{margin-bottom:clamp(2px,.6vh,8px);padding-bottom:clamp(3px,.7vh,8px)}
  #cennik .price-care select{min-height:34px;padding:3px 8px}
  #cennik .price-total{font-size:clamp(26px,4vh,34px)}
  #cennik .price-list{margin:2px 0;max-height:clamp(44px,14vh,136px);font-size:14px}
  #cennik .price-list li{padding:1px 0}
  #cennik .price-sum .btn{min-height:clamp(36px,5vh,46px);padding-top:4px;padding-bottom:4px;font-size:16px}
  #cennik .price-note{margin-top:clamp(3px,.6vh,8px);font-size:13px;line-height:1.28}
  #cennik .plan{padding:clamp(6px,1.2vh,12px) 12px clamp(6px,1.2vh,12px) 40px}
  #cennik .plan ul{margin-top:clamp(2px,.6vh,6px);font-size:clamp(14px,1.8vh,15px);line-height:1.22}
}
@media (min-width:960px) and (max-height:720px){
  #cennik .eyebrow{display:none}
  #cennik h2{font-size:34px}
  #cennik .sec-icon{width:36px;height:36px}
  #cennik [data-panel="novy"] .opt-t small{display:none}
  #cennik .opt-hours input[type="range"]{height:18px;margin-top:0}
  #cennik .opt-note{display:none}
}
@media (min-width:701px) and (max-width:959px){
  #cennik [data-panel="novy"] .opt-t small{display:none}
  #cennik .opt{padding:5px 0}
  #cennik .eyebrow{margin-bottom:2px}
  #cennik .dots{margin:10px 0 12px}
  #cennik .price-intro{margin-bottom:8px;font-size:16px}
  #cennik .price-note{margin-top:4px;font-size:13px}
  #cennik .sec{padding-top:14px;padding-bottom:14px}
  #cennik .opt-note{display:none}
  #cennik .price-info{padding:4px 10px;font-size:14px;line-height:1.26}
  #cennik .opt-s,#cennik .step{min-height:30px;padding:0;font-size:15px}
  #cennik .step-c button{width:26px;height:26px}
  #cennik .price-sum{padding:8px 14px}
}

/* Veta „Nenašli ste…“ na podstránkach v nízkom okne */
@media (min-width:701px) and (max-height:720px){
  .ask{max-width:none;margin-top:8px;font-size:15px;line-height:1.3}
}

/* Výsledok testu: tablet dva stĺpce a pod nimi rady s odoslaním, počítač tri stĺpce */
@media (min-width:701px){
  .test-result > .test-col:last-child{grid-column:1/-1}
  .test-result > .test-col:last-child > .test-tips{display:none}
}
@media (min-width:960px){
  .test-result{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr) minmax(0,1fr)}
  .test-result > .test-col:last-child{grid-column:auto}
  .test-result > .test-col:last-child > .test-tips{display:block}
  .test-result .gauge{font-size:13px;line-height:1.15}
  .test-health ul{font-size:clamp(14px,1.9vh,15px)}
}
@media (min-width:701px) and (max-height:820px){
  .test-tips li:nth-child(n+3){display:none}
  .test-tips ul{font-size:14px;line-height:1.3}
  .test-next{font-size:15px;line-height:1.3}
  .test-result .test-send{gap:6px}
}

/* Výsledok testu potrebuje miesto: menej vzduchu okolo neho */
@media (min-width:701px){
  #test-webu:has(.flip.has-result) .sec{padding-top:10px;padding-bottom:6px}
  .flip.has-result .flip-return{margin-top:6px;padding:4px 0}
}

/* Tlačidlá porovnania ukáže až skript. Miesto je pre ne rezervované, aby sekcia po načítaní nenarástla. */
@media (min-width:701px){
  .js .race-foot{min-height:clamp(40px,5.4vh,52px)}
}
@media (min-width:701px) and (min-height:721px) and (max-height:820px){
  #test-webu .sec{padding-top:14px;padding-bottom:14px}
}

/* Porovnanie web a admin rozhranie musí ostať na obrazovke aj v nízkom okne */
@media (min-width:701px) and (max-height:720px){
  #test-webu .sec{padding-top:12px;padding-bottom:12px}
  #test-webu .dots{margin:6px 0 10px}
  #test-webu .intro{margin-bottom:10px;font-size:16px;line-height:1.35}
  #test-webu .race:not(.test){padding:12px 24px;gap:8px}
  #test-webu .race-pair{gap:4px}
  #test-webu .race-pair h3{font-size:18px}
  #test-webu .race-pair h3 small{display:inline;margin-left:6px;font-size:13px}
  #test-webu .lane-top strong{font-size:22px}
  #test-webu .bar{height:10px;margin:2px 0}
  #test-webu .lane small{font-size:13px;line-height:1.25}
  #test-webu .race-foot{gap:10px}
  #test-webu .race-foot .btn{min-height:36px;padding-top:4px;padding-bottom:4px}
  #test-webu .race-foot span{font-size:13px}
}

/* Prvky mobilného rozhrania sa zobrazia až v mobil.css */
.m-only,.m-bar{display:none}

/* Najmenšie telefóny */
@media (max-width:360px){
  .logo{font-size:19px}
  .nav .btn{padding:8px 12px;font-size:14px;white-space:nowrap}
  .foot-nav,.foot-legal{gap:4px 12px}
  .foot-tag{font-size:14px}
  .copy{font-size:13px}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
  .js .reveal{opacity:1;transform:none}
  .js .reveal .dots{clip-path:none}
}
