/* =========================================================
   Barbora Součková - účetnictví online, varianta G
   Vychází z varianty F (0.20.0). Animace v úvodu bez mobilu,
   obrazovka portálu v obecném vzhledu webu (ne kopie Evaly).
   ========================================================= */

/* ---------- Písma (lokálně) ---------- */
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-italic-latin-ext.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; 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: "Instrument Serif"; src: url("../fonts/instrument-serif-italic-latin.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; 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; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-normal-latin-ext.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; 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: "Instrument Serif"; src: url("../fonts/instrument-serif-normal-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; 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; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-normal-latin-ext.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; 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: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-normal-latin.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; 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; }
/* ---------- Barvy: švestka a mandarinka (varianta A2, vybraná 2026-10-13) ----------
   Okolí lehce laděné do Evaly (švestková místo její purpurové), akcenty
   v teplé mandarinkové oranžové, krémová pozadí. Tlačítka tmavě
   fialová (--btn, švestková, od 0.20.0). Zelená (--green) se nepoužívá,
   animace má vlastní barvy v .scene (--pt-*).
   Názvy proměnných zůstaly z původní palety (plum, coral...), aby se nemusel
   přepisovat celý styl. Význam: plum = švestková, coral = mandarinková. */
:root {
  --btn: #3B1740;       /* tlačítka: tmavě fialová (švestková), kontrast s bílou 14 */
  --btn-h: #5A2A5E;     /* tlačítka při najetí myší */
  --green: #3C8D2F;     /* jen animace: zaplacená faktura */
  --plum: #3B1740;      /* švestková: nadpisy, tmavé plochy */
  --plum-2: #5A2A5E;
  --coral: #F6B07A;     /* světlá mandarinková: ozdoby, nikdy pod bílý text */
  --coral-d: #C2541A;   /* mandarinková: akcentní text a ikony, kontrast s bílou 4,6 */
  --coral-t: #D9661F;   /* mandarinková pro kurzívu v nadpisech (velké písmo) */
  --apricot: #F7C873;   /* slunečná žlutá */
  --blush: #FFF4EA;     /* krémová broskev */
  --lilac: #F5F0F8;     /* jemná levandule (odkaz na Evalu) */
  --lilac-2: #E8DEF0;
  --bg: #FFFCF8;        /* teplá bílá */
  --text: #2B2230;
  --muted: #6A6070;

  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --wrap: 1200px;
  --shadow: 0 12px 34px rgba(59, 23, 64, .10);
  --shadow-lg: 0 24px 60px rgba(59, 23, 64, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.7; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; color: var(--plum); letter-spacing: -.02em; }
p { margin: 0 0 1em; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; position: relative; }
.center { text-align: center; }
.muted { color: var(--muted); font-weight: 500; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.i { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* Kurzíva patkovým písmem: podpisový prvek nadpisů */
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--coral-t); letter-spacing: -.01em; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--coral-d); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--apricot); box-shadow: 14px 0 0 var(--coral); margin-right: 14px; }

.sec-head { max-width: 680px; margin: 0 auto 44px; }
.sec-head h2, .how h2, .about h2 { font-size: clamp(2.1rem, 4vw, 3.3rem); line-height: 1.08; font-weight: 800; margin-bottom: 18px; }
.sec-head h2 em, .how h2 em, .about h2 em, .contact h2 em { font-size: 1.1em; }
.sec-head > p:last-child { color: var(--muted); font-size: 1.1rem; }

/* ---------- Tlačítka ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--sans); font-weight: 700; font-size: 1rem; text-decoration: none; border-radius: 999px; padding: 16px 28px; border: 2px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background-color .2s, color .2s; }
.btn .i { transition: transform .2s; }
.btn:hover .i { transform: translateX(3px); }
.btn-coral { background: var(--btn); color: #fff; } /* bez rozmazaného stínu, klientce nesedí */
.btn-coral:hover { background: var(--btn-h); transform: translateY(-2px); }
.btn-ghost { border-color: var(--btn); color: var(--btn); background: transparent; }
.btn-ghost:hover { background: var(--btn); color: #fff; }
.btn-block { width: 100%; }

/* ---------- Hlavička ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255, 252, 248, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: box-shadow .25s; }
.header.scrolled { box-shadow: 0 6px 24px rgba(59, 23, 64, .08); }
.header-in { display: flex; align-items: center; gap: 30px; height: 84px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
/* Monogram (vybraný 2026-10-14): rovné švestkové B, kurzivní mandarinkové S, písmena se překrývají */
.logo-mark { display: flex; align-items: baseline; font-family: var(--serif); font-size: 2.9rem; line-height: 1; color: var(--plum); letter-spacing: 0; }
.logo-mark i { margin-left: -.1em; color: var(--coral-t); transform: translateY(.06em); }
.logo-light .logo-mark { color: #fff; }
.logo-light .logo-mark i { color: var(--coral); }
.logo-txt { display: flex; flex-direction: column; line-height: 1.15; }
.logo-txt b { font-size: 1.12rem; font-weight: 800; color: var(--plum); letter-spacing: -.02em; }
.logo-txt small { font-size: .78rem; color: var(--muted); font-weight: 600; }
.logo-light .logo-txt b { color: #fff; }
.logo-light .logo-txt small { color: #E6D6EC; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .96rem; color: var(--text); position: relative; padding: 4px 0; }
.nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); transform: translateX(-50%) scale(0); transition: transform .2s; }
.nav a:not(.nav-cta):hover::after, .nav a.active::after { transform: translateX(-50%) scale(1); }
.nav-cta { background: var(--btn); color: #fff !important; padding: 11px 20px !important; border-radius: 999px; transition: background-color .2s; }
.nav-cta:hover { background: var(--btn-h); }
.head-phone { display: none; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; color: var(--plum); background: var(--lilac); padding: 10px 16px; border-radius: 999px; }
.burger { display: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--plum); cursor: pointer; padding: 0 14px; flex-direction: column; justify-content: center; gap: 6px; }
.burger span { height: 2px; background: #fff; border-radius: 2px; transition: transform .25s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Úvod ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 100px; background: linear-gradient(180deg, var(--bg) 0%, var(--blush) 100%); }
.deco { position: absolute; border-radius: 50%; pointer-events: none; }
.deco-1 { width: 520px; height: 520px; left: -260px; top: -180px; background: var(--lilac); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--lilac-2); padding: 8px 16px; border-radius: 999px; font-size: .88rem; font-weight: 700; color: var(--plum); box-shadow: var(--shadow); margin-bottom: 26px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(246, 176, 122, .45); } 60% { box-shadow: 0 0 0 9px rgba(246, 176, 122, 0); } }
.hero h1 { font-size: clamp(2.7rem, 5.4vw, 4.6rem); line-height: 1.04; font-weight: 800; letter-spacing: -.04em; margin-bottom: 24px; }
.hero h1 em { font-size: 1.12em; position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 2%; right: 4%; bottom: .06em; height: .16em; background: var(--apricot); border-radius: 99px; z-index: -1; opacity: .7; transform: rotate(-1.2deg); }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 32em; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual { position: relative; justify-self: end; width: 100%; max-width: 560px; }

/* =========================================================
   Motion grafika v úvodu (varianta G): obrazovka klientského portálu
   Bez mobilu. Vzhled portálu je obecný (písmo a barvy webu),
   záměrně ne kopie Evaly. Rozměry v cqw (procenta šířky scény),
   takže se celá scéna zmenšuje plynule. Krok určuje atribut
   data-stage (1 až 4).
   ========================================================= */
.scene { position: relative; width: 100%; aspect-ratio: 100 / 84; container-type: inline-size;
  /* barvy obrazovky portálu, odvozené z palety webu */
  --pt-text: #3F3645; --pt-muted: #8A8190; --pt-faint: #B7AFBB; --pt-line: #ECE5EE;
  --pt-acc: var(--plum-2); --pt-row: #FBF6F1; --pt-new: #FCE3CC;
  --pt-red: #C2412D; --pt-green: #3C8D2F; }
.scene::before { content: ""; position: absolute; width: 70cqw; height: 70cqw; left: -12cqw; bottom: -6cqw; border-radius: 50%; background: radial-gradient(circle, rgba(247, 200, 115, .28), rgba(247, 200, 115, 0) 70%); }
.scene.paused *, .scene.paused *::before, .scene.paused *::after { animation-play-state: paused !important; }

/* Okno prohlížeče s portálem */
@property --sw { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.dash { position: absolute; left: 0; top: 7cqw; width: 96cqw; height: 72cqw; overflow: hidden; background: #fff; border-radius: 2.4cqw; box-shadow: 0 3cqw 9cqw rgba(59, 23, 64, .13); animation: rise .9s .1s cubic-bezier(.2, .8, .2, 1) backwards; }
.win-bar { position: relative; display: flex; gap: .9cqw; align-items: center; height: 3.8cqw; padding: 0 1.8cqw; background: #F4EFF2; }
.win-bar i { width: 1.2cqw; height: 1.2cqw; border-radius: 50%; background: #DDD3DB; }
.win-url { position: absolute; left: 50%; translate: -50% 0; padding: .3cqw 3cqw; border-radius: 99px; background: #fff; font-size: 1.05cqw; font-weight: 600; color: var(--pt-muted); }
.ev { display: flex; height: calc(100% - 3.8cqw); font-family: var(--sans); font-size: 1.69cqw; line-height: 1.3; color: var(--pt-text); }
.ev svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ev-main { position: relative; flex: 1; overflow: hidden; background: #fff; }
.ev-view { position: absolute; inset: 2.6cqw 3.12cqw 2.86cqw; display: flex; flex-direction: column; opacity: 0; translate: 0 1.82cqw; transition: opacity .5s, translate .5s cubic-bezier(.2, .8, .2, 1); }
.ev-view p { margin: 0; }
.ev-crumb { font-size: 1.37cqw; font-weight: 600; color: var(--pt-muted); }
.ev-title { margin: 1.3cqw 0 0.78cqw; font-family: inherit; font-size: 3.25cqw; font-weight: 800; letter-spacing: -.02em; color: var(--plum); }
.ev-note { font-size: 1.49cqw; color: var(--pt-muted); }

/* 1) Nahrát doklady */
.ev-drop { position: relative; flex: 0 0 26cqw; display: grid; place-content: center; justify-items: center; gap: 0.91cqw; margin-top: 2.6cqw; border: 2px dashed #E3D6E4; border-radius: 2.08cqw; background: #FDFAF7; text-align: center; transition: border-color .4s, background-color .4s; }
.ev-drop b { font-size: 2.34cqw; font-weight: 800; color: var(--plum); }
.ev-drop small { font-size: 1.37cqw; color: var(--pt-muted); }
.ev-cloud { width: 5.46cqw; height: 5.46cqw; padding: 1.3cqw; border-radius: 50%; background: var(--blush); color: var(--coral-d); }
/* Seznam nahraných dokladů pod rámečkem */
.ev-up .tr { grid-template-columns: 2fr 1fr .7fr; font-size: 1.25cqw; }
.ev-up .tr span:first-child { display: flex; align-items: center; gap: .8cqw; font-weight: 700; }
.ev-up .tr svg { width: 1.8cqw; height: 1.8cqw; color: var(--coral-d); }
@keyframes drop-hit { 30% { border-color: var(--coral); background: #FFF1E4; } }

/* 2) Úvodní plocha */
.ev-co { display: flex; align-items: center; gap: 1.17cqw; font-size: 2.6cqw; font-weight: 800; color: var(--plum); }
.ev-co-pic { display: grid; place-items: center; width: 3.9cqw; height: 3.9cqw; border-radius: 1.04cqw; background: var(--plum); color: #fff; font-size: 1.43cqw; letter-spacing: .04em; }
.ev-chev { width: 2.08cqw; height: 2.08cqw; color: var(--pt-muted); }
.ev-grid { flex: 1; display: grid; grid-template-columns: 18cqw repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto 1fr; gap: 1.69cqw; margin-top: 2.08cqw; }
.ev-card { position: relative; padding: 1.56cqw 1.82cqw; background: #fff; border: 1px solid var(--pt-line); border-radius: 2.08cqw; box-shadow: 0 0.39cqw 1.82cqw rgba(59, 23, 64, .06); }
.ev-card > p { font-size: 1.56cqw; font-weight: 700; color: var(--pt-muted); }
.ev-hello { grid-row: span 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: linear-gradient(180deg, #fff 40%, var(--blush)); }
.ev-avatar { display: grid; place-items: center; width: 7.02cqw; height: 7.02cqw; margin-bottom: 1.3cqw; border-radius: 50%; background: var(--apricot); color: var(--plum); font-size: 2.21cqw; font-weight: 800; }
.ev-hello b { font-size: 1.95cqw; font-weight: 700; color: var(--pt-muted); }
.ev-hello span { font-size: 2.08cqw; font-weight: 800; color: var(--plum); }
.ev-hello small { font-size: 1.3cqw; color: var(--pt-faint); }
.ev-tiles { grid-column: 2 / 5; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.43cqw; }
.ev-tile { position: relative; display: grid; justify-items: center; align-content: center; gap: 1.04cqw; height: 11.7cqw; background: #fff; border: 1px solid var(--pt-line); border-radius: 2.08cqw; font-size: 1.37cqw; font-weight: 700; color: var(--pt-text); text-align: center; }
.ev-tile svg { width: 5.2cqw; height: 5.2cqw; padding: 1.17cqw; border-radius: 50%; background: var(--blush); color: var(--coral-d); }
.ev-tile em { position: absolute; top: -1.04cqw; right: 1.17cqw; display: grid; place-items: center; width: 2.47cqw; height: 2.47cqw; border-radius: 50%; background: var(--coral-d); color: #fff; font-size: 1.23cqw; font-style: normal; font-weight: 800; transform: scale(0); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.ev-num b { display: block; margin: 1.17cqw 0 0.26cqw; font-size: 2.86cqw; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; color: var(--pt-text); }
.ev-num b small { font-size: 1.49cqw; }
.ev-num b i { font-size: 1.3cqw; font-style: normal; color: var(--pt-faint); }
.ev-num > small { display: block; font-size: 1.17cqw; color: var(--pt-faint); }
.ev-num .red { color: var(--pt-red); }
.ev-num .green { color: var(--pt-green); }
.ev-line { grid-column: 2 / 5; display: flex; flex-direction: column; }
.ev-line svg { display: block; flex: 1; min-height: 0; width: 100%; margin-top: 0.52cqw; }
.ev-line .grid path { stroke: #EFE8EC; stroke-width: .8; stroke-dasharray: 2 3; }
.ev-line text { font-size: 5.5px; fill: var(--pt-muted); stroke: none; text-anchor: end; }
.ev-line .ax-x text { text-anchor: middle; }
.ev-line .ln { stroke: var(--coral-d); stroke-width: 2.4; stroke-dasharray: 320; stroke-dashoffset: 320; }
.ev-line .dots circle { fill: #fff; stroke: var(--coral-d); stroke-width: 1.6; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .3s; }
.ev-donut { display: flex; flex-direction: column; }
.donut { display: block; width: min(88%, 20.8cqw); aspect-ratio: 1; margin: auto; border-radius: 50%;
  background: conic-gradient(var(--plum-2) 0 150deg, #fff 0 152deg, var(--coral) 0 228deg, #fff 0 230deg, var(--apricot) 0 268deg, #fff 0 270deg, #D9C9E3 0 358deg, #fff 0);
  -webkit-mask: radial-gradient(circle, #0000 52%, #000 53%), conic-gradient(#000 var(--sw), #0000 0); -webkit-mask-composite: source-in;
  mask: radial-gradient(circle, #0000 52%, #000 53%), conic-gradient(#000 var(--sw), #0000 0); mask-composite: intersect;
  transition: --sw 1.3s .4s cubic-bezier(.3, .7, .2, 1); }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.39cqw 1.04cqw; font-size: 0.98cqw; color: var(--pt-muted); }
.legend i { font-style: normal; white-space: nowrap; }
.legend i::before { content: ""; display: inline-block; width: 1.04cqw; height: 1.04cqw; margin-right: 0.39cqw; border-radius: 50%; vertical-align: -0.13cqw; }
.l1::before { background: var(--plum-2); } .l2::before { background: var(--coral); } .l3::before { background: var(--apricot); } .l4::before { background: #D9C9E3; }

/* 4) Plocha s DPH a závazky */
.ev-grid4 { flex: 1; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: auto 1fr; gap: 1.69cqw; margin-top: 2.08cqw; }
.ev-grid4 > .ev-num { grid-column: span 2; }
.ev-grid4 > .ev-table { grid-column: span 3; } /* vpravo dole místo pro zprávu od Barbory */
.ev-fresh { transition: box-shadow .6s; }
.ev-table { display: flex; flex-direction: column; }
.ev-table > p { margin-bottom: 0.78cqw; }
.tr { display: grid; grid-template-columns: 1.5fr 1.1fr .7fr; align-items: center; gap: 0.52cqw; margin-top: 0.45cqw; padding: 0.85cqw 1.04cqw; border-radius: 0.78cqw; background: var(--pt-row); font-size: 1.23cqw; transition: opacity .45s, translate .45s, background-color .8s; }
.tr span + span { text-align: right; }
.tr.th { background: none; font-weight: 800; color: var(--pt-muted); }
.tr .up { color: var(--pt-green); }
.tr .dn { color: var(--pt-red); }
.ev-table .tr:not(.th) { flex: 1 1 0; max-height: 6.5cqw; font-size: 1.37cqw; }

/* 3) Propojení: Fakturoid, iDoklad, banka a přenesené doklady */
.ev-conns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.69cqw; margin-top: 0.78cqw; }
.cn { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 1.3cqw; padding: 1.69cqw 1.82cqw; border: 1px solid var(--pt-line); border-radius: 2.08cqw; background: #fff; transition: border-color .5s, background-color .5s; }
.cn-ic { grid-row: span 2; display: grid; place-items: center; width: 5.2cqw; height: 5.2cqw; border-radius: 1.3cqw; background: var(--blush); color: var(--coral-d); }
.cn-ic svg { width: 2.86cqw; height: 2.86cqw; }
.cn-app { font-size: 2.08cqw; font-weight: 800; color: var(--plum); line-height: 1.1; }
.cn-kind { font-size: 1.3cqw; color: var(--pt-muted); }
.cn-st { grid-column: 1 / -1; margin-top: 1.3cqw !important; font-size: 1.37cqw; font-weight: 800; }
.st-off { color: var(--pt-red); }
.st-on { display: none; color: var(--pt-green); }
.cn-more { grid-column: 1 / -1; max-height: 0; overflow: hidden; opacity: 0; font-size: 1.3cqw; color: var(--pt-muted); transition: max-height .5s, opacity .5s; }
.cn-sync { position: absolute; top: 1.56cqw; right: 1.56cqw; display: grid; opacity: 0; color: var(--pt-green); transition: opacity .3s; }
.cn-sync svg { width: 2.08cqw; height: 2.08cqw; }
.ev-sub { margin-top: 2.34cqw; font-size: 2.34cqw; }
.ev-inv .tr { grid-template-columns: .9fr 1.2fr 1.4fr .9fr 1fr; font-size: 1.3cqw; }
.ev-inv .tr span + span { text-align: left; }
.ev-inv .tr span:last-child { text-align: right; }
.tr.new { opacity: 0; translate: 0 1.3cqw; }
@keyframes spin-once { to { transform: rotate(360deg); } }
@keyframes row-new { 0%, 40% { background: var(--pt-new); } }

/* Zpráva od Barbory (krok 4), mimo okno portálu */
.l-msg { z-index: 3; }
.chat { position: absolute; right: 0; bottom: 0; display: grid; gap: 1.2cqw; width: 45cqw; padding: 2.2cqw; background: #fff; border-radius: 3cqw; box-shadow: 0 3cqw 7cqw rgba(59, 23, 64, .25); opacity: 0; translate: 0 4cqw; scale: .96; transition: opacity .5s, translate .5s cubic-bezier(.2, .8, .2, 1), scale .5s; }
.chat p { margin: 0; }
.chat-head { display: flex; align-items: center; gap: 1.2cqw; line-height: 1.2; }
.chat-head img { width: 6.4cqw; height: 6.4cqw; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 .5cqw var(--blush); }
.chat-head b { display: block; font-size: 2.1cqw; font-weight: 800; color: var(--plum); }
.chat-head small { font-size: 1.6cqw; font-weight: 600; color: var(--muted); }
.msg { justify-self: start; max-width: 90%; padding: 1.4cqw 1.8cqw; background: var(--lilac); border-radius: 2.2cqw 2.2cqw 2.2cqw .6cqw; font-size: 2.1cqw; line-height: 1.35; color: var(--text); opacity: 0; transform: translateY(1.5cqw) scale(.96); transform-origin: left bottom; transition: opacity .45s, transform .45s cubic-bezier(.2, .8, .2, 1); }
.msg-me { justify-self: end; background: var(--coral-d); color: #fff; border-radius: 2.2cqw 2.2cqw .6cqw 2.2cqw; transform-origin: right bottom; }

/* Papírové doklady (krok 1): přiletí shora a vletí do rámečku pro nahrání */
.papers { position: absolute; z-index: 4; right: 2cqw; top: 0; width: 28cqw; height: 30cqw; pointer-events: none; }
.paper { position: absolute; width: 13cqw; height: 17cqw; padding: 1.6cqw 1.4cqw; background: #fff; border: 1px solid #F1E8EA; border-radius: 1cqw; box-shadow: 0 1.4cqw 3cqw rgba(59, 23, 64, .16); opacity: 0; transform: rotate(var(--r)); }
.paper i { display: block; height: .7cqw; margin: 0 0 1cqw; background: #EDE3E6; border-radius: .3cqw; }
.paper i:first-child { width: 60%; height: 1.1cqw; background: var(--plum-2); }
.paper b { display: block; width: 45%; height: .9cqw; margin: 1.6cqw 0 0 auto; background: var(--coral); border-radius: .3cqw; }
/* --dx, --dy: posun do středu rámečku „Přetáhněte soubory sem“ */
.pp1 { left: 0; top: 2cqw; --r: -12deg; --dx: -28.5cqw; --dy: 25cqw; }
.pp2 { left: 9cqw; top: 0; --r: 7deg; --dx: -37.5cqw; --dy: 27cqw; }
.pp3 { left: 5cqw; top: 9cqw; --r: -3deg; --dx: -33.5cqw; --dy: 18cqw; }
@keyframes paper-in {
  0% { opacity: 0; transform: translateY(-5cqw) rotate(var(--r)); }
  18% { opacity: 1; transform: translateY(0) rotate(var(--r)); }
  45% { opacity: 1; transform: translateY(0) rotate(var(--r)); }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(0deg) scale(.25); }
}
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Kroky ---------- */
.scene[data-stage="1"] .v-1, .scene[data-stage="2"] .v-2, .scene[data-stage="3"] .v-3, .scene[data-stage="4"] .v-4 { opacity: 1; translate: 0 0; }
/* 1: Bez papírů */
.scene[data-stage="1"] .paper { animation: paper-in 2s cubic-bezier(.5, 0, .3, 1) forwards; }
.scene[data-stage="1"] .pp2 { animation-delay: .25s; }
.scene[data-stage="1"] .pp3 { animation-delay: .5s; }
.scene[data-stage="1"] .ev-drop { animation: drop-hit 1.2s 1.5s; }
.scene[data-stage="1"] .tr.new { opacity: 1; translate: 0 0; transition-delay: 1.9s; animation: row-new 1.6s 1.9s; }
.scene[data-stage="1"] .tr.new + .tr.new { transition-delay: 2.2s; animation-delay: 2.2s; }
.scene[data-stage="1"] .tr.new + .tr.new + .tr.new { transition-delay: 2.5s; animation-delay: 2.5s; }
/* 2: Klientský portál */
.scene[data-stage="2"] .ev-tile em { transform: scale(1); transition-delay: 1s; }
.scene[data-stage="2"] .ev-tile:nth-child(3) em { transition-delay: 1.3s; }
.scene[data-stage="2"] .donut { --sw: 360deg; }
.scene[data-stage="2"] .ev-line .ln { animation: draw 1.6s .5s ease-out forwards; }
.scene[data-stage="2"] .ev-line .dots circle { transform: scale(1); transition-delay: 1.9s; }
/* 3: Automatický přenos dokladů (propojení naskočí postupně, pak přibudou doklady) */
.scene[data-stage="3"] .st-off { display: none; }
.scene[data-stage="3"] .st-on { display: inline; }
.scene[data-stage="3"] .cn { border-color: #CFE3C9; background: #FAFDF8; transition-delay: .4s; }
.scene[data-stage="3"] .cn-more { max-height: 3cqw; opacity: 1; transition-delay: .5s; }
.scene[data-stage="3"] .cn-sync { opacity: 1; transition-delay: .5s; }
.scene[data-stage="3"] .cn-sync svg { animation: spin-once 1s .6s ease-in-out 2; }
.scene[data-stage="3"] .cn-2, .scene[data-stage="3"] .cn-2 .cn-more, .scene[data-stage="3"] .cn-2 .cn-sync { transition-delay: .8s; }
.scene[data-stage="3"] .cn-3, .scene[data-stage="3"] .cn-3 .cn-more, .scene[data-stage="3"] .cn-3 .cn-sync { transition-delay: 1.2s; }
.scene[data-stage="3"] .tr.new { opacity: 1; translate: 0 0; transition-delay: 1.9s; animation: row-new 1.6s 1.9s; }
.scene[data-stage="3"] .tr.new + .tr.new { transition-delay: 2.4s; animation-delay: 2.4s; }
.scene[data-stage="3"] .tr.new + .tr.new + .tr.new { transition-delay: 2.9s; animation-delay: 2.9s; }
/* 4: Účetní, se kterou jednáte přímo */
.scene[data-stage="4"] .ev-fresh { animation: row-new 1.8s .6s; }
.scene[data-stage="4"] .chat { opacity: 1; translate: 0 0; scale: 1; transition-delay: .4s; }
.scene[data-stage="4"] .msg { opacity: 1; transform: none; transition-delay: 1s; }
.scene[data-stage="4"] .msg-me { transition-delay: 2.5s; }

/* Živé barevné pozadí */
.aura { position: absolute; inset: -12cqw; z-index: 0; filter: blur(7cqw); opacity: .75; }
.blob { position: absolute; border-radius: 50%; }
.bl1 { width: 52cqw; height: 52cqw; left: 50cqw; top: 2cqw; background: #FFE0C2; animation: drift1 13s ease-in-out infinite alternate; }
.bl2 { width: 44cqw; height: 44cqw; left: 4cqw; top: 52cqw; background: #FCE3D2; animation: drift2 16s ease-in-out infinite alternate; }
.bl3 { width: 48cqw; height: 48cqw; left: 46cqw; top: 58cqw; background: #ECE3F4; animation: drift3 19s ease-in-out infinite alternate; }
@keyframes drift1 { to { translate: -14cqw 12cqw; scale: 1.15; } }
@keyframes drift2 { to { translate: 16cqw -10cqw; scale: .9; } }
@keyframes drift3 { to { translate: -10cqw -14cqw; scale: 1.1; } }

/* Poznámka pod animací: malá a nevýrazná */
.scene-note { margin: 8px 0 0; text-align: right; /* vpravo pod celou scénou, pod spodním okrajem zprávy z kroku 04, nic ji nezakryje */ font-size: .75rem; font-weight: 500; color: var(--muted); opacity: .7; }

/* Vrstvy scény */
.layer { position: absolute; inset: 0; pointer-events: none; }
.l-dash { z-index: 1; }

/* Okno při načtení vyjede, pak stojí na místě */
@keyframes rise { from { opacity: 0; scale: .94; translate: 0 5cqw; } }

/* Záblesk přes okno při každém novém kroku */
.dash::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .75) 50%, transparent 65%); transform: translateX(-120%); pointer-events: none; }
.dash.sweep::after { animation: sweep .9s ease-out; }
@keyframes sweep { to { transform: translateX(120%); } }


/* ---------- Proč právě já: řádek výhod pod úvodem ---------- */
.why-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 60px; counter-reset: none; }
.why-row button {
  position: relative; display: grid; align-content: start; gap: 4px; width: 100%; height: 100%; text-align: left;
  font: inherit; color: inherit; cursor: pointer; overflow: hidden;
  padding: 20px 22px 24px; border-radius: 20px; border: 1px solid var(--lilac-2);
  background: rgba(255, 255, 255, .55); transition: background-color .3s, box-shadow .3s, border-color .3s;
}
.why-row button:hover { background: #fff; }
.why-num { font-family: var(--serif); font-style: italic; font-size: 1.5rem; line-height: 1; color: var(--coral-t); }
.why-row b { font-size: 1.05rem; font-weight: 800; color: var(--plum); line-height: 1.3; margin-top: 6px; }
.why-row button > span:not(.why-num) { font-size: .92rem; color: var(--muted); line-height: 1.5; }
.why-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: transparent; }
.why-bar::after { content: ""; position: absolute; inset: 0; background: var(--coral-d); transform: scaleX(0); transform-origin: left; }
.why-row .is-active button { background: #fff; border-color: transparent; box-shadow: var(--shadow); }
.why-row .is-active .why-bar::after { animation: fill var(--stage-ms, 4500ms) linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }
.why-row.paused .why-bar::after { animation-play-state: paused; }

/* ---------- Pro koho: přepínač ---------- */
.who { padding: 110px 0 100px; }
.checks { margin: 20px 0 28px; }
.checks li { position: relative; padding: 7px 0 7px 38px; font-weight: 600; }
.checks li::before { content: ""; position: absolute; left: 0; top: 8px; width: 26px; height: 26px; border-radius: 50%; background: var(--blush) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C2541A' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.price { margin: 0; font-size: 2.3rem; font-weight: 800; color: var(--plum); letter-spacing: -.03em; line-height: 1; }
.price small { font-size: .95rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }

/* ---------- Fotky: obdélník se zaoblenými rohy a barevná plocha za ním ---------- */
.photo { position: relative; z-index: 1; display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow-lg); }
.photo-square { aspect-ratio: 1 / 1; }
.photo-back { position: absolute; inset: 28px -28px -28px 28px; border-radius: 28px; background: var(--apricot); opacity: .85; }
.photo-back-left { inset: 28px 28px -28px -28px; background: var(--lilac-2); opacity: 1; }
.cred { z-index: 2; }

/* ---------- Komu pomáhám: tři karty vedle sebe ---------- */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.who-card { display: flex; flex-direction: column; background: #fff; border-radius: 28px; padding: 12px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.who-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.who-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 20px; }
.who-card img.foto-nahore { object-position: 50% 22%; } /* obličej v horní části fotky */
.who-body { display: flex; flex-direction: column; flex: 1; padding: 22px 16px 14px; }
.who-body h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 6px; }
.who-body > p { color: var(--muted); font-size: .98rem; line-height: 1.55; margin-bottom: 0; }
.who-body .checks { margin: 16px 0 20px; }
.who-body .checks li { font-size: .95rem; padding: 5px 0 5px 34px; line-height: 1.45; }
.who-body .checks li::before { top: 5px; width: 24px; height: 24px; }
.who-foot { margin-top: auto; display: flex; flex-direction: column; align-items: stretch; gap: 14px; padding-top: 18px; border-top: 1px dashed var(--lilac-2); }
.who-foot .price { margin: 0; font-size: 1.7rem; font-weight: 800; color: var(--coral-d); letter-spacing: -.03em; line-height: 1; white-space: nowrap; }
.who-foot .price small { font-size: .82rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.who-foot .price-text { font-size: 1.35rem; letter-spacing: -.02em; line-height: 1.26; }
.btn-sm { padding: 13px 20px; font-size: .95rem; white-space: nowrap; }
/* Podmínka ceny (hvězdička): neplátce DPH, bez účetní závěrky */
.price sup, .card-price sup { font-size: .5em; vertical-align: super; line-height: 0; margin-left: 1px; }
.price-note { margin: -6px 0 0; font-size: .85rem; font-weight: 600; color: var(--muted); }

/* ---------- Jak to funguje ----------
   Bez obrázku (klientka ho nechtěla): nadpis nahoře, čtyři kroky vedle sebe
   spojené čárkovanou čarou. Pod 920 px zase pod sebou se svislou čarou. */
.how { padding: 20px 0 110px; }
.how-panel { background: var(--lilac); border-radius: 48px; padding: 64px 60px 56px; max-width: calc(var(--wrap) - 48px); }
.how-head { text-align: center; margin-bottom: 40px; }
.how-head h2 { margin-bottom: 0; }
.flow { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.flow li { position: relative; display: flex; flex-direction: column; gap: 16px; }
.flow li:not(:last-child)::before { content: ""; position: absolute; left: 66px; right: -16px; top: 26px; border-top: 2px dashed #F6B07A; }
.flow-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--coral-d); box-shadow: var(--shadow); flex-shrink: 0; }
.flow li:nth-child(even) .flow-ic { background: var(--coral-d); color: #fff; }
.flow-ic .i { width: 22px; height: 22px; }
.flow h3 { font-size: 1.15rem; font-weight: 800; margin: 0 0 6px; line-height: 1.3; }
.flow p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.6; }
.flow b { color: var(--plum); }

/* ---------- O mně ---------- */
.about { padding: 40px 0 110px; }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: center; }
.about-visual { position: relative; max-width: 420px; justify-self: center; width: 100%; }
.cred { position: absolute; right: -40px; bottom: 50px; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow-lg); font-size: .88rem; line-height: 1.3; }
.cred .i { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--apricot); color: var(--plum); }
.cred b { color: var(--plum); }
.about-text > p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.perks li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; background: #fff; border-radius: 20px; padding: 16px 18px; box-shadow: var(--shadow); }
.perks .i { grid-row: span 2; width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--blush); color: var(--coral-d); }
.perks b { color: var(--plum); line-height: 1.2; }
.perks span { font-size: .88rem; color: var(--muted); line-height: 1.3; }

/* ---------- Ceník ---------- */
.pricing { padding: 100px 0 110px; background: linear-gradient(180deg, var(--bg), var(--blush)); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: center; max-width: 1000px; margin: 0 auto 36px; }
.card { position: relative; background: #fff; border-radius: 30px; padding: 38px 32px; text-align: center; box-shadow: var(--shadow); transition: transform .25s; }
.card:hover { transform: translateY(-4px); }
.card h3 { font-size: 1.5rem; font-weight: 800; }
.card-sub { color: var(--muted); font-weight: 600; margin: 2px 0 18px; }
.card-price { font-size: 2.3rem; font-weight: 800; color: var(--plum); letter-spacing: -.03em; line-height: 1.1; margin-bottom: 24px; }
.card-price small { font-size: .9rem; color: var(--muted); font-weight: 600; letter-spacing: 0; margin: 0 4px; }
.card-hot { background: var(--plum); padding: 52px 32px; box-shadow: var(--shadow-lg); }
.card-hot h3, .card-hot .card-price { color: #fff; }
.card-hot .card-sub, .card-hot .card-price small, .card-hot .card-note { color: #E6D6EC; }
.card-price:has(+ .card-note) { margin-bottom: 6px; }
.card-note { margin: 0 0 22px; font-size: .85rem; font-weight: 600; color: var(--muted); }
/* Fialové tlačítko by na fialové kartě splynulo, tady je bílé */
.card-hot .btn-coral { background: #fff; color: var(--btn); }
.card-hot .btn-coral:hover { background: var(--blush); }
.card-tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--apricot); color: var(--plum); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 6px 16px; border-radius: 999px; }
.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; max-width: 1000px; margin: 0 auto; background: #fff; border-radius: 26px; padding: 14px 34px; box-shadow: var(--shadow); }
.extras div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--lilac-2); }
.extras div:nth-last-child(-n+2) { border-bottom: 0; }
.extras span { color: var(--muted); font-weight: 600; }
.extras b { color: var(--plum); white-space: nowrap; }
.note-small { text-align: center; color: var(--muted); font-size: .88rem; margin: 18px 0 0; }

/* ---------- Kontakt ---------- */
.contact { padding: 100px 0 110px; }
.contact-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; background: var(--plum); border-radius: 48px; padding: 70px; color: #fff; }
.deco-3 { width: 420px; height: 420px; left: -140px; bottom: -200px; border: 60px solid rgba(255, 255, 255, .12); }
.contact-text { position: relative; }
.contact h2 { color: #fff; font-size: clamp(2.3rem, 4.4vw, 3.6rem); font-weight: 800; line-height: 1.05; margin-bottom: 16px; }
.contact h2 em { color: #FFC48F; } /* světlá mandarinková na švestkové */
.contact-text > p { font-size: 1.1rem; opacity: .95; }
.big-phone { display: inline-flex; align-items: center; gap: 12px; font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; color: #fff; text-decoration: none; letter-spacing: -.02em; margin: 10px 0 6px; }
.big-phone .i { width: 50px; height: 50px; padding: 12px; border-radius: 50%; background: var(--coral-d); }
.big-phone:hover { color: var(--apricot); }
.big-mail { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; margin-bottom: 24px; }
.big-mail:hover { text-decoration: underline; }
.promises { display: grid; gap: 8px; }
.promises li { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.promises .i { width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: rgba(255, 255, 255, .25); stroke-width: 3; }

.form { position: relative; background: #fff; color: var(--text); border-radius: 30px; padding: 34px; box-shadow: 0 30px 60px rgba(40, 10, 40, .25); }
.seg { border: 0; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.seg legend { float: left; font-weight: 800; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: 6px; padding: 0; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; padding: 8px 16px; border-radius: 999px; background: var(--lilac); font-weight: 700; font-size: .92rem; color: var(--plum); transition: all .2s; }
.seg input:checked + span { background: var(--btn); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--coral); outline-offset: 2px; }
.f { margin-bottom: 16px; }
.f label { display: block; font-weight: 700; font-size: .92rem; color: var(--plum); margin-bottom: 6px; }
.f label small { font-weight: 500; color: var(--muted); }
.f input, .f textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: #FDF9F5; border: 1.5px solid var(--lilac-2); border-radius: 14px; padding: 13px 16px; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.f textarea { resize: vertical; min-height: 92px; line-height: 1.5; }
.f input:focus, .f textarea:focus { outline: none; border-color: var(--coral); background: #fff; box-shadow: 0 0 0 4px rgba(246, 176, 122, .15); }
.f-err { display: none; color: var(--coral-d); font-size: .86rem; font-weight: 700; margin-top: 4px; }
.f.err input { border-color: var(--coral); }
.f.err .f-err { display: block; }
/* Past na roboty (skryté pole formuláře): mimo obrazovku, ne display:none, to roboti poznají */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.privacy { font-size: .8rem; color: var(--muted); margin: 14px 0 0; line-height: 1.5; }
.form-done { position: absolute; inset: 0; border-radius: 30px; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; }
.form-done[hidden] { display: none; }
.done-ic { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--coral-d); color: #fff; margin-bottom: 14px; }
.done-ic .i { width: 34px; height: 34px; stroke-width: 3; }
.form-done h3 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 2.6rem; color: var(--coral-d); }

/* ---------- Patička ---------- */
.footer { background: var(--plum); color: #E6D6EC; padding: 56px 0 0; border-radius: 48px 48px 0 0; }
.footer-in { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 26px; padding-bottom: 36px; }
.footer a { color: #fff; text-decoration: none; font-weight: 600; }
.footer a:hover { color: var(--apricot); }
/* Tlačítko „Nastavení cookies“ vypadá jako odkaz */
.footer-link { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: #fff; cursor: pointer; }
.footer-link:hover { color: var(--apricot); }
.footer-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.footer-bottom { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 22px; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 20px; padding-bottom: 24px; font-size: .86rem; }

.mobile-bar { display: none; }

/* ---------- Lišta se souhlasem s cookies ----------
   Malá podélná lišta dole uprostřed, podle ksdigital.cz */
.cookie-bar {
  position: fixed; z-index: 120; left: 50%; bottom: 14px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 14px; width: max-content; max-width: calc(100% - 24px);
  padding: 6px 6px 6px 18px; border-radius: 999px; background: rgba(255, 255, 255, .98);
  border: 1px solid var(--lilac-2); box-shadow: 0 10px 30px rgba(59, 23, 64, .18); color: var(--muted); font-size: .8rem; line-height: 1.4;
  animation: cookie-in .4s ease-out;
}
@keyframes cookie-in { from { opacity: 0; transform: translate(-50%, 12px); } }
.cookie-bar p { margin: 0; }
.cookie-bar a { color: var(--coral-d); font-weight: 700; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 6px; flex-shrink: 0; }
.cookie-actions button { padding: 7px 14px; border: 1px solid var(--btn); border-radius: 999px; background: transparent; color: var(--btn); font: 600 .76rem var(--sans); white-space: nowrap; cursor: pointer; }
.cookie-actions button:hover { background: var(--btn); color: #fff; }
@media (max-width: 640px) {
  .cookie-bar { left: 8px; right: 8px; bottom: 8px; width: auto; max-width: none; transform: none; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 16px; font-size: .74rem; }
  @keyframes cookie-in { from { opacity: 0; transform: translateY(12px); } }
  .cookie-bar p { flex: 1; }
  .cookie-actions { flex-direction: column; gap: 5px; }
  .cookie-actions button { padding: 6px 11px; font-size: .72rem; }
}
/* Když je vidět spodní lišta se Zavolat a Poptávkou (jen pod 560 px), cookies jsou nad ní */
@media (max-width: 560px) {
  .mobile-bar.show ~ .cookie-bar { bottom: calc(78px + env(safe-area-inset-bottom)); }
}

/* ---------- Animace ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.seen { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .why-bar { display: none; }
}

/* ---------- Podstránka Cookies ---------- */
.subpage main { padding: 130px 0 100px; }
.art-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.art-demo { padding: 3px 12px; border-radius: 99px; background: var(--lilac); color: var(--muted); font-size: .8rem; font-weight: 700; }
.article { max-width: 760px; }
.article h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; font-weight: 800; margin-bottom: 18px; }
.art-perex { font-size: 1.2rem; color: var(--muted); }
.article h2 { font-size: 1.5rem; line-height: 1.25; margin: 38px 0 12px; }
.article ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.article li { margin-bottom: 10px; }
.article li::marker { color: var(--coral-d); }

/* =========================================================
   Responzivita
   ========================================================= */
@media (max-width: 1100px) {
  .nav { gap: 20px; }
  .nav a { font-size: .9rem; }
  .how-panel { padding: 56px 48px; gap: 50px; }
  .contact-panel { padding: 56px 48px; }
}

/* Mobilní menu (☰): 6 položek se do hlavičky vejde až do cca 920 px, 980 px nechává rezervu */
@media (max-width: 980px) {
  .header-in { height: 72px; gap: 12px; }
  .burger { display: flex; }
  .head-phone { display: inline-flex; }
  .nav {
    position: fixed; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); padding: 10px 24px 24px;
    box-shadow: 0 20px 40px rgba(59, 23, 64, .12);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a { font-size: 1.15rem; padding: 14px 0; border-bottom: 1px solid var(--lilac-2); }
  .nav a::after { display: none; }
  .nav-cta { margin-top: 14px; text-align: center; border-bottom: 0 !important; }
}
@media (max-width: 920px) {
  .hero { padding: 36px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { justify-self: center; max-width: 520px; }
  .why-row { grid-template-columns: 1fr 1fr; margin-top: 44px; }
  .who { padding: 80px 0 70px; }
  .who-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .about-visual { max-width: 360px; }
  .how-panel { padding: 50px 28px; border-radius: 36px; margin: 0 16px; width: auto; }
  .how-head { text-align: left; margin-bottom: 26px; }
  .flow { grid-template-columns: 1fr; gap: 0; max-width: 560px; }
  .flow li { flex-direction: row; gap: 20px; padding-bottom: 24px; }
  .flow li:not(:last-child)::before { left: 25px; right: auto; top: 54px; bottom: 4px; border-top: 0; border-left: 2px dashed #F6B07A; }
  .flow h3 { margin-top: 4px; }
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .cards { grid-template-columns: 1fr; max-width: 420px; }
  .extras { grid-template-columns: 1fr; }
  .extras div:nth-last-child(2) { border-bottom: 1px dashed var(--lilac-2); }
  .contact-panel { grid-template-columns: 1fr; gap: 36px; border-radius: 36px; }
}

@media (max-width: 920px) {
  .subpage main { padding: 110px 0 80px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .head-phone span { display: none; }
  .head-phone { padding: 12px; }
  .logo-txt b { font-size: 1rem; }
  .logo-mark { font-size: 2.5rem; }
  .hero h1 em { white-space: normal; }
  .photo-back-left { inset: 18px 18px -18px -14px; }
  .lead { font-size: 1.05rem; }
  .hero-cta .btn { width: 100%; }
  .why-row { gap: 10px; }
  .why-row button { padding: 16px 16px 20px; border-radius: 16px; }
  .why-row b { font-size: .98rem; }
  .why-row button > span:not(.why-num) { font-size: .84rem; }
  .price { font-size: 1.9rem; }
  .how-panel { margin: 0 8px; padding: 40px 20px; }
  .cred { right: -10px; bottom: 30px; }
  .perks { grid-template-columns: 1fr; }
  .extras { padding: 8px 20px; }
  .extras div { flex-direction: column; gap: 0; }
  .contact-panel { padding: 40px 20px 20px; margin: 0 -8px; }
  .form { padding: 26px 20px; }
  .footer { padding-top: 40px; border-radius: 32px 32px 0 0; }
  .footer-in { flex-direction: column; align-items: center; padding-bottom: 28px; text-align: left; }
  .footer-contact { align-items: flex-start; }
  .footer-bottom { justify-content: center; gap: 4px 18px; text-align: center; padding-bottom: 96px; } /* místo pro spodní lištu, patička jde až k okraji */

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1.5fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 252, 248, .97); box-shadow: 0 -6px 20px rgba(59, 23, 64, .1);
    transform: translateY(110%); transition: transform .3s;
  }
  .mobile-bar.show { transform: none; }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 13px 8px; font-weight: 700; font-size: .92rem; text-decoration: none; }
  .mb-call { border: 2px solid var(--plum); color: var(--plum); }
  .mb-write { background: var(--btn); color: #fff; }
}
