/* Hlavní stránka – doplňky ke stylu D (style.css):
   tekuté odkrývání v úvodu, chat „Zeptejte se mě na cokoliv“, skládané karty služeb,
   čára v postupu, kalkulačka času, odpověď na recenzi, časté otázky.
   Pohyb běží jen bez třídy .rm (prefers-reduced-motion nebo Jednodušší zobrazení). */

/* ================= ÚVOD: tekuté odkrývání ================= */
.liq { position: absolute; inset: calc(-1 * var(--navh)) 0 0; z-index: -1; pointer-events: none; overflow: hidden; }
.liq__c { display: block; width: 100%; height: 100%; }
.hero--liq .hero__grid { gap: 22px; }
.hero--liq .hero__head { position: relative; }
/* Světlá záře kolem textu: na světlém podkladu není vidět, nad odkrytou koláží drží čitelnost. */
.hero--liq .hero__title .line:not(.line--grad) > span,
.hero--liq .hero__lead,
.hero--liq .hero__note { text-shadow: 0 0 2px var(--bg), 0 0 10px var(--bg), 0 0 22px var(--bg); }
.hero--liq .hero__title .line--grad { filter: drop-shadow(0 0 6px var(--bg)) drop-shadow(0 0 14px var(--bg)); }
.hero--liq .hero__lead { color: var(--ink-2); }
.liq__hint { display: none; margin-top: 14px; font-size: calc(14.5px * var(--fs)); font-weight: 700; color: var(--ink-2); align-items: center; flex-wrap: wrap; gap: 6px 8px; text-shadow: 0 0 8px var(--bg), 0 0 16px var(--bg); }
.js .liq__hint { display: flex; }
.liq__hint-m, .liq__hint-t { color: var(--v1); }
.liq__hint-m { display: none; }
.liq__hint .tag { display: none; }
@media (hover: hover) and (pointer: fine) {
  html:not(.touch) .liq__hint-m { display: inline; }
  html:not(.touch) .liq__hint-t { display: none; }
}
.rm .liq__hint-m, .rm .liq__hint-t { display: none !important; }
.hero--liq .stage { height: 470px; }
@media (min-width: 560px) { .liq__hint .tag { display: inline-flex; } .hero--liq .stage { height: 540px; } }
.js:not(.rm) .liq__hint { opacity: 0; animation: fadeUp .8s .5s cubic-bezier(.2, .8, .2, 1) forwards; }

/* ================= CHAT: Zeptejte se mě na cokoliv ================= */
.askai { margin-top: 22px; background: #fff; border-radius: 24px; padding: 16px; box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(123, 63, 228, .1); max-width: 620px; }
.js:not(.rm) .askai { opacity: 0; animation: fadeUp .8s .6s cubic-bezier(.2, .8, .2, 1) forwards; }
.askai__head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; }
.askai__t { font-size: calc(21px * var(--fs)); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; }
.askai__sub { margin-top: 4px; font-size: calc(14.5px * var(--fs)); color: var(--muted); }
.askai__sub a { color: #4B1FA8; font-weight: 700; }
.askai__log { margin-top: 12px; max-height: 250px; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 16px; background: var(--lilac-2); scrollbar-width: thin; }
.askai__log[hidden] { display: none; }
.askai__m { max-width: 90%; padding: 9px 13px; border-radius: 16px; font-size: calc(15.5px * var(--fs)); line-height: 1.42; overflow-wrap: anywhere; }
.askai__m--ai { align-self: flex-start; background: #fff; border-bottom-left-radius: 5px; box-shadow: inset 0 0 0 1px var(--line); }
.askai__m--ai b { display: block; font-size: calc(12px * var(--fs)); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--v1); margin-bottom: 2px; }
.askai__m--me { align-self: flex-end; background: var(--dark); color: #F1ECFF; border-bottom-right-radius: 5px; }
.js:not(.rm) .askai__m { animation: fadeUp .35s cubic-bezier(.2, .8, .2, 1) both; }
.askai__dots { display: inline-flex; gap: 4px; padding: 4px 0; }
.askai__dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--v2); }
.js:not(.rm) .askai__dots i { animation: askDot 1s ease-in-out infinite; }
.askai__dots i:nth-child(2) { animation-delay: .15s; } .askai__dots i:nth-child(3) { animation-delay: .3s; }
@keyframes askDot { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.askai__form { margin-top: 12px; display: flex; gap: 8px; }
.askai__in { flex: 1; min-width: 0; min-height: 52px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--lilac-2); box-shadow: inset 0 0 0 1.5px #E2D6FA; font: inherit; font-size: calc(17px * var(--fs)); color: var(--ink); }
.askai__in::placeholder { color: #7A7090; }
.askai__in:focus-visible { outline: 3px solid var(--v2); outline-offset: 2px; border-radius: 999px; }
.askai__send { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; background: var(--grad); display: grid; place-items: center; box-shadow: 0 10px 22px -10px rgba(123, 63, 228, .9); transition: transform .2s ease; }
.askai__send:hover { transform: translateX(2px); }
.askai__send:focus-visible { border-radius: 50%; }
.askai__send svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.askai__chips { margin-top: 10px; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-left: -16px; margin-right: -16px; padding: 2px 16px; -webkit-overflow-scrolling: touch; }
.askai__chips::-webkit-scrollbar { display: none; }
.askai__chip { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 0; cursor: pointer; background: var(--lilac); color: #4B1FA8; font-weight: 700; font-size: calc(14.5px * var(--fs)); text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s; }
.askai__chip:hover { background: var(--dark); color: #fff; }
.askai__chip--go { background: #fff; box-shadow: inset 0 0 0 1.5px var(--v2); }
.askai__chip--go::after { content: "→"; margin-left: 6px; }
.simple .askai { box-shadow: inset 0 0 0 1.5px var(--line); }
.simple .askai__chips { flex-wrap: wrap; overflow: visible; }

/* ================= SLUŽBY: karty se při scrollu skládají na sebe ================= */
.ask::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--lilac); opacity: var(--cov, 0); pointer-events: none; }
@media (min-height: 600px) {
  .js:not(.rm) .asks__stack { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 1fr; gap: 12px; }
  .js:not(.rm) .asks__stack .ask { gap: 10px; padding: 20px 20px 22px; }
  .js:not(.rm) .asks__stack .ask { position: sticky; top: calc(var(--navh) + 14px + var(--i, 0) * 10px); transform-origin: 50% 0; box-shadow: 0 -10px 26px -16px rgba(40, 14, 110, .35), var(--shadow); }
  .asks__stack .ask:nth-child(2) { --i: 1; } .asks__stack .ask:nth-child(3) { --i: 2; } .asks__stack .ask:nth-child(4) { --i: 3; }
  .asks__stack .ask:nth-child(5) { --i: 4; } .asks__stack .ask:nth-child(6) { --i: 5; }
}
@media (min-width: 1100px) and (min-height: 600px) {
  .js:not(.rm) .asks__lay { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: 64px; align-items: start; }
  .js:not(.rm) .asks__head { position: sticky; top: calc(var(--navh) + 48px); }
  .js:not(.rm) .asks__stack { margin-top: 0; gap: 18px; }
  .js:not(.rm) .asks__stack .ask { padding: 30px 34px 32px; top: calc(var(--navh) + 28px + var(--i, 0) * 12px); }
  .js:not(.rm) .asks__stack .ask__q { font-size: calc(32px * var(--fs)); }
  .js:not(.rm) .asks__stack .ask__a { font-size: calc(19px * var(--fs)); max-width: 46ch; }
}

/* ================= JAK SPOLUPRACUJEME: čára, která se kreslí ================= */
.steps--line { position: relative; padding-left: 32px; --p: 1; }
.steps--line::before, .steps--line::after { content: ""; position: absolute; left: 9px; top: 10px; bottom: 10px; width: 4px; border-radius: 4px; background: var(--line); }
.steps--line::after { background: linear-gradient(180deg, #7B3FE4, #B892FF); transform-origin: 50% 0; transform: scaleY(var(--p)); }
.js:not(.rm) .steps--line { --p: 0; }
.steps--line .step::before { content: ""; position: absolute; left: -31px; top: 36px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 4px var(--line); z-index: 1; transition: box-shadow .35s ease, transform .35s cubic-bezier(.2, .8, .2, 1); }
.rm .steps--line .step::before, .steps--line .step.is-on::before, html:not(.js) .steps--line .step::before { box-shadow: inset 0 0 0 6px var(--v1); }
.js:not(.rm) .steps--line .step.is-on::before { transform: scale(1.15); }
.steps--line .step__n { transition: background-color .35s ease, box-shadow .35s ease; }
.steps--line .step.is-on .step__n { background: var(--v1); box-shadow: 0 8px 18px -8px rgba(123, 63, 228, .9); }
@media (min-width: 1100px) {
  .steps--line { padding-left: 0; padding-top: 40px; }
  .steps--line::before, .steps--line::after { left: 0; right: 0; top: 10px; bottom: auto; width: auto; height: 4px; }
  .steps--line::after { background: linear-gradient(90deg, #7B3FE4, #B892FF); transform-origin: 0 50%; transform: scaleX(var(--p)); }
  .steps--line .step::before { left: 26px; top: -40px; }
  .simple .steps--line { padding-top: 0; }
  .simple .steps--line::before, .simple .steps--line::after, .simple .steps--line .step::before { display: none; }
}

/* ================= VYZKOUŠEJTE SI ================= */
.tryit { padding: 56px 0 8px; }
.tryit__tabs { margin-top: 24px; display: flex; gap: 6px; padding: 5px; background: #fff; border-radius: 999px; box-shadow: var(--shadow); }
.tryit__tab { flex: 1; min-height: 46px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font-weight: 800; font-size: calc(15px * var(--fs)); color: var(--ink-2); transition: background-color .25s, color .25s; }
.tryit__tab[aria-selected="true"] { background: var(--dark); color: #fff; }
html:not(.js) .tryit__tabs { display: none; }
.tryit__grid { margin-top: 14px; display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.tcard { background: #fff; border-radius: var(--r-lg); padding: 22px 20px 24px; box-shadow: var(--shadow); min-width: 0; }
.tcard[data-off] { display: none; }
.tcard__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.tcard__t { font-size: calc(23px * var(--fs)); font-weight: 800; letter-spacing: -.025em; line-height: 1.12; }
.js .calc > .tcard__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.js .calc__form { margin-top: 0; }
.simple .tcard { box-shadow: inset 0 0 0 1.5px var(--line); }

.calc__form { margin-top: 14px; display: grid; gap: 10px; }
.calc__row { margin: 0; padding: 10px 14px 12px; border: 0; border-radius: 18px; background: var(--lilac-2); display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; min-width: 0; }
.calc__row legend { float: left; width: 100%; grid-column: 1 / -1; padding: 0; font-weight: 800; font-size: calc(16px * var(--fs)); }
.calc__row label { display: grid; gap: 4px; min-width: 0; }
.calc__row span { font-size: calc(14px * var(--fs)); font-weight: 600; color: var(--ink-2); }
.calc__row input { width: 100%; min-height: 48px; padding: 0 14px; border-radius: 14px; border: 0; background: #fff; box-shadow: inset 0 0 0 1.5px #E2D6FA; font: inherit; font-weight: 800; font-size: calc(20px * var(--fs)); color: var(--ink); font-variant-numeric: tabular-nums; }
.calc__row input:focus-visible { outline: 3px solid var(--v2); outline-offset: 2px; border-radius: 14px; }
.calc__out { margin-top: 14px; padding: 18px 18px 20px; border-radius: 20px; background: var(--dark); color: #fff; }
.calc__big { font-size: calc(19px * var(--fs)); font-weight: 700; color: rgba(255, 255, 255, .86); display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.calc__big strong { font-size: calc(clamp(54px, 15vw, 76px) * var(--fs)); font-weight: 800; letter-spacing: -.04em; line-height: .95; background: linear-gradient(92deg, #B892FF, #E0CCFF); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.calc__split { margin-top: 8px; font-size: calc(15px * var(--fs)); color: rgba(255, 255, 255, .78); }
.calc__bar { margin-top: 12px; height: 10px; border-radius: 10px; background: rgba(255, 255, 255, .12); display: flex; overflow: hidden; }
.calc__bar i { height: 100%; width: 0; transition: width .5s cubic-bezier(.2, .8, .2, 1); }
.calc__bar i:nth-child(1) { background: #9B6BF2; } .calc__bar i:nth-child(2) { background: #D3BBFF; } .calc__bar i:nth-child(3) { background: #FFD3E6; }
.calc__note { margin-top: 12px; font-size: calc(14.5px * var(--fs)); color: var(--muted); }

.rev__form { margin-top: 14px; display: grid; gap: 10px; }
.rev__in { width: 100%; min-height: 96px; padding: 12px 16px; border-radius: 18px; border: 0; resize: vertical; background: var(--lilac-2); box-shadow: inset 0 0 0 1.5px #E2D6FA; font: inherit; font-size: calc(17px * var(--fs)); color: var(--ink); }
.rev__in::placeholder { color: #7A7090; }
.rev__in:focus-visible { outline: 3px solid var(--v2); outline-offset: 2px; border-radius: 18px; }
.rev__samples { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.rev__lbl { font-size: calc(14.5px * var(--fs)); font-weight: 600; color: var(--ink-2); margin-right: 2px; }
.rev__s { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 0; cursor: pointer; background: var(--lilac); color: #4B1FA8; font-weight: 700; font-size: calc(14.5px * var(--fs)); transition: background-color .2s, color .2s; }
.rev__s:hover { background: var(--dark); color: #fff; }
.rev__go { justify-self: start; }
.rev__out { margin-top: 14px; padding: 16px 18px 18px; border-radius: 20px; background: var(--lilac-2); box-shadow: inset 0 0 0 1.5px #E2D6FA; }
.rev__out[hidden] { display: none; }
.rev__who { font-size: calc(14.5px * var(--fs)); font-weight: 700; color: var(--ink-2); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.rev__who .badge { background: var(--v1); color: #fff; }
.rev__text { margin-top: 10px; font-size: calc(17px * var(--fs)); line-height: 1.5; white-space: pre-line; min-height: 3em; }
.rev__foot { margin-top: 10px; font-size: calc(14px * var(--fs)); color: var(--muted); }
.js:not(.rm) .rev__out.is-new { animation: fadeUp .45s cubic-bezier(.2, .8, .2, 1) both; }

/* ================= ČASTÉ OTÁZKY ================= */
.faq { padding: 56px 0 24px; }
.faq .lead a { color: #4B1FA8; font-weight: 800; }
.faq__list { margin-top: 26px; display: grid; gap: 10px; }
.faq__i { background: #fff; border-radius: 22px; box-shadow: var(--shadow); }
.faq__i summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 16px 16px 20px; min-height: 64px; font-weight: 800; font-size: calc(19px * var(--fs)); letter-spacing: -.02em; line-height: 1.2; border-radius: 22px; }
.faq__i summary::-webkit-details-marker { display: none; }
.faq__i summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--lilac) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237B3FE4' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform .25s ease, background-color .25s; }
.faq__i[open] summary::after { transform: rotate(45deg); background-color: #E2D6FA; }
.faq__i summary:focus-visible { outline: 3px solid var(--v2); outline-offset: 2px; }
.faq__i p { padding: 0 20px 20px; font-size: calc(17px * var(--fs)); color: var(--ink-2); max-width: 68ch; }
.faq__i p a { color: #4B1FA8; font-weight: 800; }
.js:not(.rm) .faq__i[open] p { animation: fadeUp .35s cubic-bezier(.2, .8, .2, 1) both; }
.simple .faq__i { box-shadow: inset 0 0 0 1.5px var(--line); }

/* ================= ŠIRŠÍ OBRAZOVKY ================= */
@media (min-width: 760px) {
  .tryit, .faq { padding-top: 80px; }
  .tcard { padding: 28px 28px 30px; }
  .askai { padding: 20px; }
  .askai__chips { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; flex-wrap: wrap; overflow: visible; }
}
@media (min-width: 900px) {
  .tryit__tabs { display: none; }
  .tryit__grid { grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 34px; align-items: start; }
  .tcard[data-off] { display: block; }
  .js .calc > .tcard__t { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; }
  .js .calc__form { margin-top: 14px; }
}
@media (min-width: 1100px) {
  .hero--liq .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 30px 56px; align-items: start; }
  .hero--liq .hero__head { grid-column: 1 / -1; }
  .hero--liq .hero__title { font-size: calc(clamp(60px, 6.3vw, 98px) * var(--fs)); line-height: .95; max-width: 15.5em; }
  .hero--liq .hero__lead { margin-top: 0; }
  .hero--liq .stage { height: 540px; }
  .liq__hint { font-size: calc(15.5px * var(--fs)); margin-top: 18px; }
  .faq__lay { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: 64px; align-items: start; }
  .faq__lay .sec-head { position: sticky; top: calc(var(--navh) + 48px); }
  .faq__list { margin-top: 0; }
  .simple .hero--liq .hero__title { font-size: calc(clamp(48px, 4.6vw, 66px) * var(--fs)); }
}

/* Magnetická tlačítka (jen myš, jen velká obrazovka; posun nastavuje home.js přes vlastnost translate) */
@media (hover: hover) and (pointer: fine) {
  .js:not(.rm) .mag { transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, translate .35s cubic-bezier(.2, .8, .2, 1); }
  .js:not(.rm) .mag.is-mag { transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, translate .08s linear; }
}

/* Ceník: 4 balíčky, správa, jednotlivé ceny */
.price__grid--4 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .price__grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .price__grid--4 { grid-template-columns: repeat(4, 1fr); } }
.price { position: relative; }
.price .price__amt, .care4 .price__amt { margin: 0; font-size: calc(30px * var(--fs)); font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.price--dark .price__amt { color: #fff; }
.price__list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 7px; font-size: calc(15.5px * var(--fs)); }
.price__list li { position: relative; padding-left: 24px; }
.price__list li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2.5px solid var(--v1); border-bottom: 2.5px solid var(--v1); transform: rotate(-45deg); }
.price--dark .price__list li::before { border-color: #C3A6FF; }
.price .price__care { margin-top: auto; padding-top: 14px; border-top: 1.5px dashed var(--line); font-weight: 700; font-size: calc(14.5px * var(--fs)); }
.price--dark .price__care { border-color: rgba(255,255,255,.2); }
.price--top { box-shadow: 0 0 0 3px var(--v1), var(--shadow); }
@media (min-width: 1180px) { .price--top { transform: translateY(-10px); } }
.price__badge { position: absolute; top: -13px; left: 24px; background: linear-gradient(90deg, var(--v1), #B26BFF); color: #fff; font-weight: 800; font-size: calc(13px * var(--fs)); padding: 5px 12px; border-radius: 99px; }
.price__pay { margin-top: 16px; text-align: center; color: var(--ink-2); font-size: calc(16px * var(--fs)); }
.care4 { margin-top: 22px; background: #fff; border-radius: var(--r-lg); padding: 24px 20px; box-shadow: var(--shadow); }
.care4__head p { margin-top: 6px; color: var(--ink-2); }
.care4__grid { display: grid; gap: 12px; margin-top: 18px; }
@media (min-width: 860px) { .care4__grid { grid-template-columns: repeat(3, 1fr); } }
.care4__tier { border: 1.5px solid var(--line); border-radius: 18px; padding: 18px; display: grid; gap: 8px; align-content: start; }
.care4__tier h4 { font-size: calc(20px * var(--fs)); font-weight: 800; }
.care4__tier .price__amt { font-size: calc(24px * var(--fs)); }
.care4__tier--top { border-color: var(--v1); background: var(--lilac); }
.care4__note { margin-top: 14px; font-size: calc(15.5px * var(--fs)); color: var(--ink-2); }
.single { margin-top: 14px; background: #fff; border-radius: var(--r-lg); padding: 6px 20px; box-shadow: var(--shadow); }
.single[open] { padding-bottom: 18px; }
.single__list { display: grid; margin-top: 8px; }
.single__list div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: calc(16px * var(--fs)); }
.single__list b { white-space: nowrap; }
.single__rate { font-weight: 800; color: var(--v1); }
.recommend { margin-top: 14px; padding: 22px 20px; border-radius: var(--r-lg); background: var(--lilac); color: #2E1466; }
.recommend p { margin-top: 6px; }
.single { padding: 0; }
.single[open] { padding-bottom: 16px; }
.single__list, .single .tools__lead { padding: 0 20px; }
