/* Za tím vším – styl webu ve stylu kreslených videí kanálu (ploché barvy, tmavé obrysy, žluté nálepky) */
@font-face { font-family: Inter; src: url(../fonts/inter-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url(../fonts/inter-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: Inter; src: url(../fonts/inter-800.woff2) format('woff2'); font-weight: 800; font-display: swap; }

:root {
  --ink: #1b1b1f; --paper: #f4efe4; --cream: #fbf3e2; --yellow: #ffd23f; --gold: #f2b84b;
  --navy: #2b3147; --navyL: #3c4566; --blue: #3f7fd9; --green: #38a866; --red: #e0473c;
  --pink: #e8718d; --teal: #3fa89b; --orange: #f08a3c; --sky1: #8fcbe8; --sky2: #e3f3fa;
  --sh: 6px 7px 0 rgba(27,27,31,.92); --sh-lg: 9px 11px 0 rgba(27,27,31,.92);
  --rope-gap: 78px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.5; overflow-x: hidden; }
body.intro-on { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-weight: 800; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
.wrap { width: min(1160px, calc(100% - 40px - var(--rope-gap))); margin: 0 auto; position: relative; z-index: 2; }
.wrap.narrow { width: min(820px, calc(100% - 40px - var(--rope-gap))); }

/* ---------- nálepky, tlačítka ---------- */
.sticker { display: inline-block; background: var(--yellow); border: 4px solid var(--ink); border-radius: 14px; padding: .18em .55em .22em; box-shadow: var(--sh); font-weight: 800; transform: rotate(-2deg); }
.sticker.s-white { background: #fff; } .sticker.s-blue { background: #cfe0fb; } .sticker.s-pink { background: #ffd0dc; } .sticker.s-green { background: #c9efd7; }
.btn { display: inline-flex; align-items: center; gap: .4em; font: 800 18px/1 Inter, sans-serif; text-decoration: none; color: var(--ink); background: var(--yellow); border: 4px solid var(--ink); border-radius: 16px; padding: 16px 24px; box-shadow: var(--sh); cursor: pointer; transition: transform .15s cubic-bezier(.3,1.6,.5,1), box-shadow .15s; }
.btn:hover { transform: translate(-2px,-3px) rotate(-1deg); box-shadow: 9px 11px 0 rgba(27,27,31,.92); }
.btn:active { transform: translate(4px,5px); box-shadow: 1px 1px 0 var(--ink); }
.btn-ghost { background: #fff; }
.btn-sm { font-size: 15px; padding: 10px 16px; border-width: 3px; box-shadow: 4px 5px 0 var(--ink); }

/* ---------- navigace ---------- */
.nav { position: fixed; top: 12px; left: 50%; transform: translateX(calc(-50% - var(--rope-gap)/2)); width: min(1160px, calc(100% - 24px - var(--rope-gap))); z-index: 40; display: flex; align-items: center; gap: 18px; padding: 10px 12px 10px 16px; background: rgba(251,243,226,.94); border: 4px solid var(--ink); border-radius: 20px; box-shadow: var(--sh); backdrop-filter: blur(6px); transition: transform .5s cubic-bezier(.3,1.5,.5,1); }
.nav nav { display: flex; gap: 6px; margin-left: auto; }
.nav nav a { text-decoration: none; font-weight: 700; padding: 8px 12px; border-radius: 10px; }
.nav nav a:hover { background: var(--yellow); }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { width: auto; transition: transform .2s cubic-bezier(.3,1.6,.5,1); }

body.intro-on .nav { transform: translate(calc(-50% - var(--rope-gap)/2), -140%); }

/* ---------- úvod ---------- */
#intro { position: fixed; inset: 0; z-index: 60; }
#intro .half { position: absolute; top: 0; bottom: 0; width: 50.5%; overflow: hidden; background: var(--sky1); transition: transform 1s cubic-bezier(.7,0,.25,1); }
#intro .half.l { left: 0; } #intro .half.r { right: 0; }
#intro.open .half.l { box-shadow: 6px 0 0 var(--ink); } #intro.open .half.r { box-shadow: -6px 0 0 var(--ink); }
#intro .rays { position: absolute; width: 260vmax; height: 260vmax; top: 50%; margin-top: -130vmax; background: repeating-conic-gradient(from 0deg, #a7d8ef 0 9deg, #8fcbe8 9deg 18deg); animation: spin 40s linear infinite; }
#intro .half.l .rays { left: 100%; margin-left: -130vmax; } #intro .half.r .rays { right: 100%; margin-right: -130vmax; }
#intro.open .half.l { transform: translateX(-102%); } #intro.open .half.r { transform: translateX(102%); }
#intro.open .cloud, #intro.open .intro-logo, #intro.open #skip { opacity: 0; transition: opacity .35s; }
#intro.open { pointer-events: none; }
.intro-logo { position: absolute; left: 0; right: 0; top: 10%; display: flex; justify-content: center; transform: scale(0); z-index: 3; }
.intro-card { width: min(78vw, 560px); background: var(--cream); border: 6px solid var(--ink); border-radius: 26px; padding: 22px 34px; box-shadow: var(--sh-lg); transform: rotate(-2deg); }
.intro-card { display: flex; align-items: center; gap: 18px; }
.intro-card img { display: block; height: auto; }
.intro-card .intro-head { width: 19%; flex: 0 0 auto; }
.intro-card .intro-word { width: 74%; flex: 1 1 auto; min-width: 0; }
#intro.logo .intro-logo { animation: popB .6s cubic-bezier(.3,1.7,.5,1) forwards; }
#skip { position: absolute; right: 24px; bottom: 22px; font: 700 15px Inter, sans-serif; background: #fff; border: 3px solid var(--ink); border-radius: 12px; padding: 8px 14px; box-shadow: 3px 4px 0 var(--ink); cursor: pointer; z-index: 80; }
#intro.done { display: none; }

/* ---------- plátno postavičky ---------- */
#stage { position: fixed; left: 0; top: 0; z-index: 70; pointer-events: none; }
#chHit { position: fixed; z-index: 71; cursor: pointer; border-radius: 40% 40% 20% 20%; }

/* ---------- mraky, slunce ---------- */
.cloud { position: absolute; width: 180px; height: 58px; background: #fff; border: 4px solid var(--ink); border-radius: 60px; animation: drift 38s linear infinite; z-index: 1; }
.cloud::before, .cloud::after { content: ''; position: absolute; background: #fff; border: 4px solid var(--ink); border-bottom: 0; border-radius: 50% 50% 0 0; }
.cloud::before { width: 70px; height: 50px; left: 26px; top: -34px; }
.cloud::after { width: 88px; height: 66px; left: 70px; top: -48px; }
.cloud.c1 { top: 16%; left: -220px; animation-duration: 34s; animation-delay: -6s; }
.cloud.c2 { top: 46%; left: -220px; animation-duration: 47s; animation-delay: -18s; scale: .7; }
.cloud.c3 { top: 70%; left: -220px; animation-duration: 29s; animation-delay: -21s; }
.cloud.c4 { top: 8%; left: -220px; animation-duration: 55s; animation-delay: -36s; scale: .85; }
#intro .cloud { z-index: 2; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100vh; padding: 130px 0 150px; overflow: hidden; background: linear-gradient(var(--sky1), var(--sky2) 75%); }
.sky { position: absolute; inset: 0; }
.sun { position: absolute; right: 4%; top: 118px; width: 96px; height: 96px; background: var(--yellow); border: 5px solid var(--ink); border-radius: 50%; box-shadow: 0 0 0 18px rgba(255,210,63,.25), 0 0 0 40px rgba(255,210,63,.12); animation: pulse 4s ease-in-out infinite; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.kicker { display: inline-block; font-weight: 800; background: var(--ink); color: var(--yellow); padding: 6px 12px; border-radius: 10px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(40px, 6.2vw, 82px); }
.hl { background: var(--yellow); border: 5px solid var(--ink); border-radius: 16px; padding: 0 .18em; box-shadow: var(--sh); display: inline-block; transform: rotate(-2deg); animation: wobble 3s ease-in-out infinite; }
.lead { font-size: clamp(17px, 1.6vw, 21px); max-width: 600px; margin: 22px 0 28px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.chips { list-style: none; padding: 0; margin: 26px 0 0; display: flex; gap: 10px; flex-wrap: wrap; }
.chips li { font-weight: 700; font-size: 15px; background: #fff; border: 3px solid var(--ink); border-radius: 999px; padding: 6px 14px; }
.chips li::before { content: '✓ '; color: var(--green); font-weight: 800; }
.pop { opacity: 0; transform: translateY(26px) scale(.96); }
body.ready .pop { animation: rise .7s cubic-bezier(.3,1.5,.5,1) forwards; }
body.ready .pop:nth-child(2) { animation-delay: .1s; } body.ready .pop:nth-child(3) { animation-delay: .2s; } body.ready .pop:nth-child(4) { animation-delay: .3s; } body.ready .pop:nth-child(5) { animation-delay: .4s; }

.hero-phone { position: relative; justify-self: center; }
.phone { width: min(300px, 70vw); aspect-ratio: 9/16; border: 6px solid var(--ink); border-radius: 38px; overflow: hidden; background: #111; box-shadow: var(--sh-lg); position: relative; }
.phone::before { content: ''; position: absolute; top: 10px; left: 50%; width: 70px; height: 18px; margin-left: -35px; background: var(--ink); border-radius: 12px; z-index: 2; }
.phone video { width: 100%; height: 100%; object-fit: cover; }
.phone-ui { position: absolute; right: 10px; bottom: 90px; display: flex; flex-direction: column; gap: 12px; z-index: 2; }
.phone-ui span { width: 40px; height: 40px; display: grid; place-items: center; color: #fff; background: rgba(0,0,0,.35); border-radius: 50%; font-size: 19px; }
.phone-ui span:nth-child(2) { animation-delay: .3s; } .phone-ui span:nth-child(3) { animation-delay: .6s; }
.tilt { transform: rotate(2deg); }
.float { position: absolute; font-size: 17px; z-index: 3; animation: floaty 4s ease-in-out infinite; white-space: nowrap; }
.f1 { left: -90px; top: 14%; } .f2 { right: -60px; top: 36%; animation-delay: -1s; } .f3 { left: -50px; bottom: 22%; animation-delay: -2s; } .f4 { right: -30px; bottom: 6%; animation-delay: -3s; }
.coin { position: absolute; width: 54px; height: 54px; border-radius: 50%; background: var(--gold); border: 4px solid var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 15px; box-shadow: inset -5px -5px 0 #d7961c; animation: coin 3s ease-in-out infinite; z-index: 3; }
.k1 { right: -100px; top: 6%; } .k2 { left: -120px; bottom: 44%; animation-delay: -1.5s; }
.street { position: absolute; left: 0; right: 0; bottom: 0; height: 92px; background: #8a8f99; border-top: 5px solid var(--ink); z-index: 1; }
.street::before { content: ''; position: absolute; left: 0; right: 0; top: 42px; height: 6px; background: repeating-linear-gradient(90deg, #fff 0 46px, transparent 46px 92px); animation: road 1.2s linear infinite; }
.street::after { content: ''; position: absolute; left: 0; right: 0; top: -32px; height: 28px; background: #9cc98a; border-top: 5px solid var(--ink); }
.car { position: absolute; bottom: 52px; width: 96px; height: 34px; border: 4px solid var(--ink); border-radius: 14px 18px 8px 8px; animation: drive 9s linear infinite; z-index: 2; }
.car::before { content: ''; position: absolute; left: 18px; top: -24px; width: 48px; height: 22px; background: inherit; border: 4px solid var(--ink); border-bottom: 0; border-radius: 12px 14px 0 0; }
.car::after { content: ''; position: absolute; left: 10px; bottom: -14px; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); box-shadow: 52px 0 0 var(--ink); }
.car1 { background: var(--red); } .car2 { background: var(--blue); animation-duration: 13s; animation-delay: -5s; } .car3 { background: var(--yellow); animation-duration: 11s; animation-delay: -8s; bottom: 8px; animation-name: driveBack; }

/* ---------- pás ---------- */
.marquee { background: var(--ink); color: var(--yellow); overflow: hidden; transform: rotate(-1.2deg); margin: -16px -10px 0; position: relative; z-index: 5; }
.marquee .track { display: flex; gap: 28px; width: max-content; padding: 14px 0; font-weight: 800; font-size: 24px; animation: marquee 22s linear infinite; }

/* ---------- sekce ---------- */
.sec { position: relative; padding: 110px 0; overflow: hidden; }
.title { text-align: center; font-size: clamp(32px, 4.4vw, 56px); margin-bottom: 18px; }
.title.left { text-align: left; }
.sub { text-align: center; font-size: 19px; max-width: 680px; margin: 0 auto 50px; }
.sub.left { text-align: left; margin-left: 0; }
.sub.light, .sec-navy { color: #f4efe4; }
.sec-navy { background: var(--navy); }
.sec-navy .sticker { color: var(--ink); }
.stars { position: absolute; inset: 0; background-image: radial-gradient(#ffd23f 2px, transparent 3px), radial-gradient(#fff 1.5px, transparent 2.5px); background-size: 90px 90px, 140px 140px; background-position: 0 0, 40px 60px; opacity: .35; animation: twinkle 5s ease-in-out infinite; }
.sec-yellow { background: var(--yellow); }
.rays-bg { position: absolute; left: 50%; top: 50%; width: 240vmax; height: 240vmax; margin: -120vmax 0 0 -120vmax; background: repeating-conic-gradient(rgba(255,255,255,.22) 0 8deg, transparent 8deg 16deg); animation: spin 60s linear infinite; }

.reveal { opacity: 0; translate: 0 40px; scale: .94; transition: opacity .5s, translate .65s cubic-bezier(.3,1.6,.5,1), scale .65s cubic-bezier(.3,1.6,.5,1); }
.reveal.in { opacity: 1; translate: 0 0; scale: 1; }

.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { background: #fff; border: 4px solid var(--ink); border-radius: 22px; padding: 26px 22px; box-shadow: var(--sh); transition: opacity .5s, translate .65s cubic-bezier(.3,1.6,.5,1), scale .65s cubic-bezier(.3,1.6,.5,1), transform .2s cubic-bezier(.3,1.6,.5,1); }
.card:nth-child(2) { transition-delay: .08s; } .card:nth-child(3) { transition-delay: .16s; } .card:nth-child(4) { transition-delay: .24s; }
.card:hover { transform: translateY(-8px) rotate(-1.5deg); transition-delay: 0s; }
.card h3 { font-size: 22px; margin: 14px 0 8px; }
.card p { margin: 0; }
.ico { width: 72px; height: 72px; }
.card:hover .ico { animation: jiggle .5s; }
.pupil { animation: look 4s ease-in-out infinite; }

/* ukázky */
.reels { display: flex; gap: 26px; overflow-x: auto; padding: 20px max(20px, calc((100vw - 1160px)/2)) 40px; padding-right: calc(var(--rope-gap) + 20px); scroll-snap-type: x mandatory; position: relative; z-index: 2; scrollbar-width: thin; }
.reel { flex: 0 0 auto; width: 230px; aspect-ratio: 9/16; border: 5px solid var(--ink); border-radius: 26px; overflow: hidden; padding: 0; position: relative; cursor: pointer; background: #111; box-shadow: 7px 8px 0 #11131c; scroll-snap-align: center; rotate: -2deg; transition: opacity .5s, translate .65s cubic-bezier(.3,1.6,.5,1), scale .65s cubic-bezier(.3,1.6,.5,1), transform .25s cubic-bezier(.3,1.6,.5,1); }
.reel:nth-child(even) { rotate: 2deg; }
.reel:nth-child(2) { transition-delay: .07s; } .reel:nth-child(3) { transition-delay: .14s; } .reel:nth-child(4) { transition-delay: .21s; } .reel:nth-child(5) { transition-delay: .28s; } .reel:nth-child(6) { transition-delay: .35s; }
.reel:hover { transform: scale(1.05) translateY(-8px); transition-delay: 0s; }
.reel img { width: 100%; height: 100%; object-fit: cover; }
.reel .play { position: absolute; left: 50%; top: 50%; width: 70px; height: 70px; margin: -35px 0 0 -35px; border-radius: 50%; background: var(--yellow); border: 4px solid var(--ink); display: grid; place-items: center; font-size: 26px; padding-left: 5px; box-shadow: 4px 5px 0 var(--ink); animation: bump 2s ease-in-out infinite; color: var(--ink); }
.reel .cap { position: absolute; left: 10px; right: 10px; bottom: 12px; font: 800 15px Inter, sans-serif; background: #fff; color: var(--ink); border: 3px solid var(--ink); border-radius: 10px; padding: 6px 8px; }

/* proces */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; padding-top: 30px; }
.steps .path { position: absolute; left: 6%; top: 0; width: 88%; height: 120px; z-index: 0; overflow: visible; }
.step { position: relative; z-index: 1; background: #fff; border: 4px solid var(--ink); border-radius: 22px; padding: 64px 20px 24px; box-shadow: var(--sh); margin-top: 40px; }
.step:nth-of-type(2) { transition-delay: .1s; } .step:nth-of-type(3) { transition-delay: .2s; } .step:nth-of-type(4) { transition-delay: .3s; }
.step b { position: absolute; top: -34px; left: 50%; margin-left: -34px; width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; font-size: 32px; background: var(--yellow); border: 4px solid var(--ink); box-shadow: 4px 5px 0 var(--ink); }
.step:nth-of-type(2) b { background: #cfe0fb; } .step:nth-of-type(3) b { background: #ffd0dc; } .step:nth-of-type(4) b { background: #c9efd7; }
.step.in b { animation: popB .6s cubic-bezier(.3,1.8,.5,1) .25s both; }
.step h3 { font-size: 22px; text-align: center; margin-bottom: 8px; }
.step p { margin: 0; text-align: center; }

/* ceník */
.prices { display: grid; grid-template-columns: 1fr 1.08fr 1fr; gap: 24px; align-items: center; }
.price { position: relative; background: #fff; border: 5px solid var(--ink); border-radius: 26px; padding: 30px 26px 28px; box-shadow: var(--sh-lg); display: flex; flex-direction: column; }
.price:nth-child(2) { transition-delay: .1s; } .price:nth-child(3) { transition-delay: .2s; }
.price.best { background: #fffdf6; padding-top: 44px; border-color: var(--ink); box-shadow: 9px 11px 0 var(--yellow), 9px 11px 0 4px var(--ink); }
.ribbon { position: absolute; top: -22px; left: 50%; background: var(--red); color: #fff; font-weight: 800; padding: 8px 18px; border: 4px solid var(--ink); border-radius: 12px; box-shadow: 4px 5px 0 var(--ink); white-space: nowrap; transform: translateX(-50%) rotate(-2deg); font-size: 14px; }
.ptag { font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: #6b6b74; }
.price h3 { font-size: 34px; margin: 4px 0 10px; }
.amount { font-weight: 800; font-size: 44px; line-height: 1; }
.per { font-size: 15px; margin: 8px 0 18px; color: #4a4a52; }
.price ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.price li { padding: 7px 0 7px 30px; position: relative; border-bottom: 2px dashed #e3dccd; }
.price li::before { content: '✓'; position: absolute; left: 0; top: 8px; width: 21px; height: 21px; border-radius: 50%; background: var(--green); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--ink); }
.price .btn { justify-content: center; }
.fine { text-align: center; margin-top: 34px; font-weight: 700; }

/* FAQ */
.qa { background: #fff; border: 4px solid var(--ink); border-radius: 18px; box-shadow: 5px 6px 0 var(--ink); margin-bottom: 16px; overflow: hidden; }
.qa summary { cursor: pointer; list-style: none; font-weight: 800; font-size: 19px; padding: 18px 56px 18px 22px; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; position: absolute; right: 16px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--ink); display: grid; place-items: center; font-size: 22px; line-height: 1; transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.qa[open] summary::after { transform: rotate(135deg); }
.qa p { margin: 0; padding: 0 22px 20px; }

/* kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; font-weight: 700; font-size: 18px; }
.contact-list span { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--yellow); color: var(--ink); border: 3px solid var(--ink); margin-right: 10px; }
.contact-list a { color: #fff; }
.form { background: var(--cream); color: var(--ink); border: 5px solid var(--ink); border-radius: 26px; padding: 28px; box-shadow: 9px 11px 0 #11131c; display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 700; }
.form input, .form select, .form textarea { font: 500 17px Inter, sans-serif; padding: 12px 14px; border: 3px solid var(--ink); border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; box-shadow: 0 0 0 4px var(--yellow); }
.form .btn { justify-content: center; }
.hp { display: none; }

/* patička */
.foot { position: relative; background: var(--paper); padding: 50px 0 110px; }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot p { margin: 0; font-weight: 700; }
.grass { position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: #9cc98a; border-top: 5px solid var(--ink); }

/* přehrávač */
#player { position: fixed; inset: 0; z-index: 80; background: rgba(27,27,31,.82); display: grid; place-items: center; padding: 20px; }
#player[hidden] { display: none; }
.pl-box { position: relative; height: min(86vh, 860px); aspect-ratio: 9/16; max-width: 92vw; border: 6px solid var(--ink); border-radius: 28px; overflow: hidden; background: #000; box-shadow: 0 0 0 6px var(--yellow); animation: popB .45s cubic-bezier(.3,1.6,.5,1); }
.pl-box video { width: 100%; height: 100%; object-fit: contain; }
.pl-x { position: absolute; top: 10px; right: 10px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); border: 4px solid var(--ink); font: 800 20px Inter, sans-serif; cursor: pointer; color: var(--ink); }

/* děkovná stránka */
.thanks { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px 20px; background: linear-gradient(var(--sky1), var(--sky2)); position: relative; overflow: hidden; }
.thanks-in { position: relative; z-index: 2; }
.thanks h1 { font-size: clamp(38px, 6vw, 70px); margin: 20px 0; }
.thanks p { font-size: 20px; margin: 0 0 30px; }

/* ---------- animace ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { from { translate: 0 0; } to { translate: calc(100vw + 460px) 0; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 26px rgba(255,210,63,.3), 0 0 0 54px rgba(255,210,63,.12); } }
@keyframes popB { 0% { transform: scale(0) rotate(-12deg); } 100% { transform: scale(1) rotate(0); } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes wobble { 0%,100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg) scale(1.03); } }
@keyframes ribbon { 0%,100% { transform: translateX(-50%) rotate(-3deg); } 50% { transform: translateX(-50%) rotate(2deg) scale(1.06); } }
@keyframes sway { 0%,100% { transform: rotate(3deg) translateY(0); } 50% { transform: rotate(-1deg) translateY(-10px); } }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-16px) rotate(3deg); } }
@keyframes coin { 0%,100% { transform: translateY(0) rotateY(0); } 50% { transform: translateY(-20px) rotateY(180deg); } }
@keyframes bump { 0%,100% { transform: scale(1); } 15% { transform: scale(1.18); } 30% { transform: scale(1); } }
@keyframes road { to { background-position: -92px 0; } }
@keyframes drive { from { left: -140px; } to { left: calc(100% + 40px); } }
@keyframes driveBack { from { left: calc(100% + 40px); transform: scaleX(-1); } to { left: -140px; transform: scaleX(-1); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes twinkle { 50% { opacity: .55; } }
@keyframes jiggle { 25% { transform: rotate(-12deg) scale(1.1); } 50% { transform: rotate(10deg); } 75% { transform: rotate(-5deg); } }
@keyframes look { 0%,40% { transform: translateX(0); } 50%,60% { transform: translateX(-9px); } 70%,85% { transform: translateX(9px); } 100% { transform: translateX(0); } }
@keyframes bestPulse { 0%,100% { transform: scale(1.04); } 50% { transform: scale(1.065) rotate(-.6deg); } }
.price.best { transform: scale(1.03); }

/* ---------- mobil ---------- */
@media (max-width: 980px) {
  .cards4 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 50px; } .steps .path { display: none; }
  .prices { grid-template-columns: 1fr; max-width: 460px; margin: 40px auto 0; row-gap: 46px; }
  .price.best { transform: none; order: -1; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-phone { margin-top: 30px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --rope-gap: 46px; }
  .nav nav { display: none; } .nav .btn-sm { margin-left: auto; }
  .logo { font-size: 16px; }
  .hero { padding-top: 110px; }
  .cards4, .steps { grid-template-columns: 1fr; }
  .f1 { left: -30px; } .f2 { right: -24px; } .k1 { right: -30px; } .k2 { left: -36px; } .f3 { left: -30px; }
  .sec { padding: 80px 0; }
  .reel { width: 190px; }
  .wrap, .wrap.narrow { width: calc(100% - 28px - var(--rope-gap)); margin-left: 14px; }
  .nav { width: calc(100% - 20px - var(--rope-gap)); left: 10px; transform: none; }
  body.intro-on .nav { transform: translateY(-140%); }
  .sun { width: 70px; height: 70px; left: auto; right: 22%; top: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .pop, .reveal { opacity: 1; transform: none; translate: none; scale: none; }
}

/* ---------- úpravy v2 ---------- */
.sec-price { background: #efe8d8; border-top: 5px solid var(--ink); border-bottom: 5px solid var(--ink); }
.price { box-shadow: 6px 7px 0 rgba(27,27,31,.85); }
.amount { font-size: 40px; }
.save { display: inline-block; margin-left: 6px; font-size: 13px; font-weight: 800; color: #fff; background: var(--green); border: 2px solid var(--ink); border-radius: 999px; padding: 1px 8px; }
.consent { margin: 0; font-size: 13px; color: #55555e; text-align: center; }
.consent a { color: var(--ink); }
.foot { padding-bottom: 100px; }
.foot .logo img { height: 58px; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; font-weight: 700; }
.foot-links a { text-decoration: none; border-bottom: 3px solid var(--yellow); }
.foot-links a:hover { background: var(--yellow); }
.legal { margin-top: 26px; padding-top: 18px; border-top: 2px dashed #d8cfbd; font-size: 13.5px; color: #55555e; }
.legal p { margin: 0 0 8px; font-weight: 500; }
/* právní stránky */
.doc-page { background: var(--paper); padding: 110px 0 80px; }
.doc { background: #fff; border: 4px solid var(--ink); border-radius: 24px; box-shadow: var(--sh); padding: clamp(22px, 4vw, 48px); }
.doc h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 8px; }
.doc h2 { font-size: 21px; margin: 30px 0 10px; }
.doc p, .doc li { font-size: 16px; }
.doc .meta { color: #6b6b74; font-weight: 700; margin-bottom: 20px; }
.doc .back { display: inline-block; margin-bottom: 18px; font-weight: 800; text-decoration: none; }
@media (max-width: 760px) { .sun { width: 64px; height: 64px; right: 8%; top: 96px; } }
@media (max-width: 760px) { .hero .cloud.c2, .hero .cloud.c3 { display: none; } }

/* logo s hlavou */
.logo { gap: 8px; }
.logo .logo-head { height: 46px; width: auto; margin: -10px 0 -6px; filter: drop-shadow(2px 2px 0 rgba(27,27,31,.25)); }
.logo .logo-word { height: 30px; width: auto; }
.logo:hover .logo-head { transform: rotate(-6deg) scale(1.06); }
.foot .logo .logo-head { height: 78px; margin: 0; }
.foot .logo .logo-word { height: 58px; }
.doc .logo .logo-head { height: 52px; margin: 0; }
@media (max-width: 760px) { .logo .logo-head { height: 38px; } .logo .logo-word { height: 22px; } .foot .logo .logo-head { height: 58px; } .foot .logo .logo-word { height: 42px; } }

.btn-sm { white-space: nowrap; }
@media (max-width: 760px) { .logo .logo-head { height: 32px; } .logo .logo-word { height: 18px; } .nav { gap: 10px; } }

/* ---------- v5: menší lišta a logo, ikonky kontaktu ---------- */
.nav { padding: 6px 8px 6px 12px; gap: 14px; border-width: 3px; border-radius: 16px; box-shadow: 4px 5px 0 rgba(27,27,31,.9); top: 10px; }
.nav nav a { font-size: 15px; padding: 6px 10px; }
.logo { gap: 6px; }
.logo .logo-head { height: 39px; width: auto; margin: -6px 0 -4px; }
.logo .logo-word { height: 22px; width: auto; }
.foot .logo .logo-head { height: 60px; }
.foot .logo .logo-word { height: 50px; }
.doc .logo .logo-head { height: 44px; }
.doc .logo .logo-word { height: 26px; }
.contact-list span.ci { width: 46px; height: 46px; background: #fff; padding: 6px; }
.contact-list span.ci svg { width: 100%; height: 100%; display: block; }
html { scroll-padding-top: 70px; }
@media (max-width: 760px) { .logo .logo-head { height: 32px; } .logo .logo-word { height: 17px; } .foot .logo .logo-head { height: 46px; } .foot .logo .logo-word { height: 38px; } }
/* v6: ikonky a text kontaktu zarovnané na střed */
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list li span.ci { margin-right: 0; flex: 0 0 auto; }
.contact-list li a { line-height: 1.2; }

/* v7: podtitul u loga */
.logo-txt { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; line-height: 1; }
.logo-tag { font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #5a4a3e; white-space: nowrap; }
.doc .logo-tag { font-size: 11px; }
@media (max-width: 760px) { .logo-tag { font-size: 8px; letter-spacing: .02em; } }
@media (max-width: 380px) { .logo-tag { display: none; } }
@media (max-width: 520px) { .logo-tag { font-size: 7.4px; letter-spacing: 0; } .nav .btn-sm { font-size: 13px; padding: 8px 10px; } .nav { gap: 6px; padding-left: 8px; } }
