/* vimnacemspim.cz · v2 · kvíz + průvodce · 2026-10-19 */
@font-face { font-family: Rubik; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url(fonts/rubik-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Rubik; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url(fonts/rubik-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --pink: #d90074; --pink-2: #b8005f; --pink-soft: #ffe3f0; --blush: #fdf3f8;
  --ink: #16121a; --body: #4a4049; --muted: #847985; --line: #eee4ea;
  --night: #1b1530; --night-2: #2a2147; --lilac: #b9a8ff; --cream: #faf7f4;
  --r: 22px; --shadow: 0 20px 50px -20px rgba(40, 10, 40, .25);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Rubik, -apple-system, "Segoe UI", sans-serif; color: var(--body); font-size: 17px; line-height: 1.6; background: #fff; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--pink); }
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 14px; letter-spacing: -.02em; }
h1 { font-size: clamp(38px, 6vw, 68px); line-height: 1.02; font-weight: 700; }
h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; font-weight: 700; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 14px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--pink-soft); color: var(--pink-2); font-size: 13px; font-weight: 600; letter-spacing: .02em; margin-bottom: 18px; }
.pill--dark { background: rgba(255,255,255,.1); color: #f3e9ff; }
.lead { font-size: 20px; line-height: 1.55; max-width: 56ch; color: var(--body); }
section { padding: 96px 0; }
.grad-text { background: linear-gradient(90deg, var(--pink), #ff5fa8 60%, #9b6bff); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* nav */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.88); backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.wordmark { display: flex; align-items: baseline; gap: 8px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.wordmark .dot { color: var(--pink); }
.wordmark small { font-weight: 400; font-size: 12.5px; color: var(--muted); letter-spacing: 0; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.nav-links a:not(.btn) { color: var(--ink); text-decoration: none; }
.nav-links a:not(.btn):hover { color: var(--pink); }
@media (max-width: 820px) { .nav-links a:not(.btn) { display: none; } .wordmark small { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 17px 30px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 17px; line-height: 1; border: 0; background: var(--pink); color: #fff !important; text-decoration: none; cursor: pointer; box-shadow: 0 10px 24px -10px rgba(217, 0, 116, .6); transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { background: var(--pink-2); transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(217, 0, 116, .7); }
.btn .arr { transition: transform .15s; }
.btn:hover .arr { transform: translateX(3px); }
.btn--sm { padding: 11px 20px; font-size: 15px; box-shadow: none; white-space: nowrap; }
.btn--ghost { background: transparent; color: var(--ink) !important; box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { background: var(--blush); box-shadow: inset 0 0 0 1.5px var(--pink-soft); }
.btn--white { background: #fff; color: var(--ink) !important; box-shadow: none; }
.btn--white:hover { background: #f4eef8; }
.micro { font-size: 14px; color: var(--muted); margin-top: 14px; display: flex; gap: 16px; flex-wrap: wrap; }
.micro span::before { content: "✓ "; color: var(--pink); font-weight: 700; }

/* hero */
.hero { padding: 64px 0 40px; background: radial-gradient(1200px 500px at 85% -10%, #ffe6f2 0%, rgba(255,230,242,0) 60%), radial-gradient(800px 400px at -10% 110%, #efe9ff 0%, rgba(239,233,255,0) 60%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-visual { position: relative; }
.hero-photo { border-radius: 28px; overflow: hidden; aspect-ratio: 4/4.4; box-shadow: var(--shadow); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.float-card { position: absolute; background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 16px 18px; font-size: 14px; }
.float-card b { color: var(--ink); }
.fc-match { left: -34px; bottom: 44px; width: 250px; }
.fc-match .row { display: flex; align-items: center; gap: 12px; }
.fc-match .ring { flex: none; width: 54px; height: 54px; border-radius: 50%; background: conic-gradient(var(--pink) 0 94%, var(--pink-soft) 94% 100%); display: grid; place-items: center; }
.fc-match .ring span { width: 42px; height: 42px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 700; color: var(--ink); font-size: 14px; }
.fc-q { right: -18px; top: 36px; width: 230px; }
.fc-q .opts { display: grid; gap: 6px; margin-top: 8px; }
.fc-q .opts i { font-style: normal; border: 1.5px solid var(--line); border-radius: 10px; padding: 6px 10px; }
.fc-q .opts i.on { border-color: var(--pink); background: var(--blush); color: var(--pink-2); font-weight: 600; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } .fc-match { left: 12px; } .fc-q { right: 12px; } .hero-photo { aspect-ratio: 4/3.2; } }
@media (max-width: 520px) { .fc-q { display: none; } }

/* trust bar */
.trust { padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust div { display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 1.35; }
.trust b { display: block; color: var(--ink); font-size: 17px; }
.trust .ic { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--blush); display: grid; place-items: center; font-size: 20px; }
@media (max-width: 860px) { .trust .wrap { grid-template-columns: 1fr 1fr; } }

/* how it works */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.how .step { background: var(--cream); border-radius: var(--r); padding: 30px; position: relative; }
.how .n { font-size: 14px; font-weight: 700; color: var(--pink); letter-spacing: .1em; }
.how h3 { margin-top: 10px; }
@media (max-width: 860px) { .how { grid-template-columns: 1fr; } }

/* firmness scale */
.dark { background: var(--night); color: #d9d1ea; }
.dark h2, .dark h3 { color: #fff; }
.dark .lead { color: #cbc1e0; }
.scale { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.scale .lv { background: var(--night-2); border-radius: 18px; padding: 24px 22px; }
.scale .bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.12); margin: 14px 0 18px; overflow: hidden; }
.scale .bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #ff6fb1, var(--lilac)); }
.scale .who { font-size: 14.5px; color: #b9aed0; }
.scale .tag { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--lilac); }
.note { margin-top: 26px; font-size: 15px; color: #a99fbf; }
@media (max-width: 860px) { .scale { grid-template-columns: 1fr 1fr; } }

/* materials */
.mats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; }
.mat { border: 1px solid var(--line); border-radius: var(--r); padding: 26px; background: #fff; transition: transform .2s, box-shadow .2s; }
.mat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mat .em { font-size: 30px; }
.mat ul { list-style: none; padding: 0; margin: 14px 0 0; font-size: 15px; }
.mat li { padding: 6px 0; border-top: 1px dashed var(--line); }
.mat li b { color: var(--ink); font-weight: 600; }
@media (max-width: 960px) { .mats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .mats { grid-template-columns: 1fr; } }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split img { border-radius: 26px; box-shadow: var(--shadow); }
.checks { list-style: none; padding: 0; margin: 20px 0 0; }
.checks li { position: relative; padding: 12px 0 12px 40px; border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 0; top: 13px; width: 26px; height: 26px; border-radius: 50%; background: var(--pink-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d90074' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* FAQ */
.faq { max-width: 820px; margin: 40px auto 0; }
details { border-bottom: 1px solid var(--line); padding: 22px 0; }
details summary { cursor: pointer; font-weight: 600; font-size: 18px; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--pink); font-size: 26px; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 12px 0 0; }

/* final CTA */
.final { background: linear-gradient(135deg, var(--pink) 0%, #e93b8f 45%, #8f5cff 100%); color: #fff; border-radius: 32px; padding: 64px 48px; text-align: center; position: relative; overflow: hidden; }
.final h2 { color: #fff; }
.final p { color: #ffe9f4; font-size: 19px; max-width: 52ch; margin: 0 auto 28px; }
.final .micro { justify-content: center; color: #ffe0ef; }
.final .micro span::before { color: #fff; }

/* footer */
footer { padding: 48px 0 56px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
footer a { color: var(--muted); }
footer .by { display: flex; align-items: center; gap: 10px; }
footer .by img { height: 24px; width: auto; }

/* ============ QUIZ ============ */
.quiz { position: fixed; inset: 0; z-index: 100; background: radial-gradient(900px 420px at 50% -10%, #fff0f7 0%, #fff 70%); display: none; flex-direction: column; }
.quiz.open { display: flex; }
body.quiz-open { overflow: hidden; }
.q-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.q-progress { flex: 1; max-width: 520px; height: 8px; border-radius: 99px; background: #f3ebf0; overflow: hidden; }
.q-progress i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--pink), #ff6fb1); transition: width .35s ease; }
.q-count { font-size: 14px; color: var(--muted); min-width: 52px; text-align: right; }
.q-close, .q-back { background: none; border: 0; font: inherit; cursor: pointer; color: var(--ink); padding: 8px; border-radius: 10px; font-size: 15px; }
.q-close:hover, .q-back:hover { background: var(--blush); }
.q-back[hidden] { visibility: hidden; display: inline-block; }
.q-body { flex: 1; overflow-y: auto; display: flex; justify-content: center; padding: 48px 22px 64px; }
.q-step { width: 100%; max-width: 760px; animation: qin .35s ease; }
@keyframes qin { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.q-step h2 { font-size: clamp(26px, 3.6vw, 40px); }
.q-step .hint { color: var(--muted); font-size: 16px; margin-bottom: 28px; }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 14px; }
.opt { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-align: left; padding: 22px; border-radius: 18px; border: 2px solid var(--line); background: #fff; font: inherit; color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.opt:hover { border-color: #f3b6d4; transform: translateY(-2px); }
.opt.sel { border-color: var(--pink); background: var(--blush); }
.opt .em { font-size: 30px; line-height: 1; }
.opt b { font-size: 17.5px; font-weight: 600; }
.opt small { color: var(--muted); font-size: 14.5px; line-height: 1.4; }

/* loading */
.q-loading { text-align: center; padding-top: 60px; }
.spinner { width: 64px; height: 64px; margin: 0 auto 24px; border-radius: 50%; border: 5px solid var(--pink-soft); border-top-color: var(--pink); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.q-loading ul { list-style: none; padding: 0; margin: 20px auto 0; max-width: 340px; text-align: left; color: var(--muted); }
.q-loading li { padding: 6px 0; opacity: .35; transition: opacity .3s; }
.q-loading li.on { opacity: 1; color: var(--ink); }
.q-loading li.on::before { content: "✓ "; color: var(--pink); font-weight: 700; }

/* results */
.res { max-width: 1080px; }
.res-head { text-align: center; margin-bottom: 30px; }
.profile { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.profile span { background: var(--cream); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: var(--ink); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: #fff; display: flex; flex-direction: column; position: relative; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card.top { border: 2px solid var(--pink); }
.card .badge { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--pink); color: #fff; font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.card .badge.alt { background: var(--ink); }
.card .ph { aspect-ratio: 4/3; background: var(--cream); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.card .bd { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card .brand { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.card h3 { margin: 4px 0 10px; font-size: 21px; }
.match { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.match .mbar { flex: 1; height: 7px; border-radius: 99px; background: #f3ebf0; overflow: hidden; }
.match .mbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--pink), #ff6fb1); border-radius: 99px; }
.match b { color: var(--pink-2); }
.why { list-style: none; padding: 0; margin: 0 0 16px; font-size: 14.5px; }
.why li { padding: 4px 0 4px 22px; position: relative; }
.why li::before { content: "✓"; position: absolute; left: 0; color: var(--pink); font-weight: 700; }
.meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.meta span { font-size: 12.5px; background: var(--cream); border-radius: 8px; padding: 4px 9px; color: var(--ink); }
.price { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); margin-bottom: 14px; }
.price b { font-size: 22px; color: var(--ink); }
.price small { color: var(--muted); font-size: 13px; }
.avail { font-size: 13px; font-weight: 600; }
.avail.in { color: #1f8a5b; }
.avail.po { color: #a26a00; }
.card .btn { width: 100%; padding: 14px; font-size: 16px; }
.res-foot { margin-top: 36px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.res-box { background: var(--cream); border-radius: 22px; padding: 26px; }
.res-box h3 { margin-bottom: 6px; }
.res-box .btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.disclaimer { font-size: 13px; color: var(--muted); margin-top: 22px; text-align: center; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } .res-foot { grid-template-columns: 1fr; } }

/* mobile sticky CTA */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 20; display: none; }
.sticky-cta .btn { width: 100%; }
@media (max-width: 760px) { .sticky-cta.show { display: block; } }
.opt:focus { outline: none; } .opt:focus-visible { outline: 3px solid #ffb3d6; outline-offset: 2px; }
.mat .mnum { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--pink); margin-bottom: 10px; }
