/* =========================================================
   Faltejsek Ads — vizuální systém „Feed“
   světlý, barvy sociálních sítí, bubliny, emoji
   ========================================================= */

@font-face { font-family: "Bricolage"; src: url(/assets/fonts/bricolagegrotesque-300-800-latin.woff2) format("woff2"); font-weight: 300 800; 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: "Bricolage"; src: url(/assets/fonts/bricolagegrotesque-300-800-latin-ext.woff2) format("woff2"); font-weight: 300 800; 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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plex Mono"; src: url(/assets/fonts/ibmplexmono-400-latin.woff2) format("woff2"); font-weight: 400; 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: "Plex Mono"; src: url(/assets/fonts/ibmplexmono-400-latin-ext.woff2) format("woff2"); font-weight: 400; 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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #fbf8f4;
  --bg-2: #f3eee7;
  --card: #ffffff;
  --ink: #17141f;
  --ink-2: #3b3647;
  --mute: #6d6779;
  --line: rgba(23, 20, 31, .09);
  --line-2: rgba(23, 20, 31, .16);

  --blue: #0866ff;
  --pink: #fe2c55;
  --cyan: #25f4ee;
  --violet: #8b3dff;
  --orange: #ff7a1a;
  --yellow: #ffc93c;
  --green: #22c55e;
  --grad: linear-gradient(120deg, #ffb300 0%, #ff7a1a 18%, #fe2c55 42%, #c13cff 68%, #0866ff 100%);
  --grad-soft: linear-gradient(120deg, #fff1d6, #ffe0e7 45%, #ece2ff 75%, #dfeaff);

  --f-display: "Bricolage", ui-sans-serif, system-ui, sans-serif;
  --f-mono: "Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gut: clamp(16px, 4.2vw, 64px);
  --max: 1320px;
  --r: 28px;
  --shadow: 0 1px 2px rgba(23,20,31,.04), 0 12px 32px -12px rgba(23,20,31,.14);
  --shadow-lg: 0 2px 4px rgba(23,20,31,.04), 0 30px 70px -24px rgba(60,30,120,.28);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-display); font-size: clamp(16px, 1.05vw, 18px); line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
/* jemné barevné „blob“ pozadí */
body::before {
  content: ""; position: fixed; inset: -20vmax; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40vmax 40vmax at 85% 5%, rgba(254,44,85,.10), transparent 60%),
    radial-gradient(45vmax 45vmax at 5% 30%, rgba(8,102,255,.08), transparent 60%),
    radial-gradient(40vmax 40vmax at 70% 85%, rgba(139,61,255,.08), transparent 60%),
    radial-gradient(30vmax 30vmax at 20% 95%, rgba(255,201,60,.12), transparent 60%);
  animation: drift 24s ease-in-out infinite alternate;
  translate: var(--bx, 0px) var(--by, 0px);
}
@keyframes drift { to { transform: translate3d(3vmax, -2vmax, 0) rotate(4deg); } }

img, svg { display: block; max-width: 100%; }
picture { display: contents; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--pink); color: #fff; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 16px; }

.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: gradmove 8s ease-in-out infinite alternate; }
@keyframes gradmove { to { background-position: 100% 0; } }

.pill { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 7px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 14px; font-weight: 600; }
.pill--dark { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); color: #fff; box-shadow: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.dot--live { box-shadow: 0 0 0 0 rgba(34,197,94,.5); animation: live 1.8s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .9em 1.35em; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--spring), box-shadow .3s, background-color .2s;
}
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn:active { transform: scale(.97); }
.btn--grad { background: var(--grad); background-size: 160% 100%; color: #fff; box-shadow: 0 10px 28px -10px rgba(254,44,85,.6); }
.btn--grad:hover { background-position: 100% 0; box-shadow: 0 16px 36px -12px rgba(139,61,255,.6); }
.btn--light { background: var(--card); color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow); }
.btn--white { background: #fff; color: var(--ink); box-shadow: 0 14px 34px -12px rgba(0,0,0,.35); }
.btn--ghost { background: transparent; color: var(--ink-2); border-color: var(--line-2); }
.btn--big { padding: 1.05em 1.7em; font-size: clamp(16px, 1.2vw, 18px); }
.btn--sm { padding: .7em 1.05em; font-size: 14px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.linklike { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; color: inherit; }

/* ---------- Navigace ---------- */
.nav {
  position: fixed; z-index: 70; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(calc(100% - 24px), 1080px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 10px; border-radius: 999px;
  background: rgba(255,255,255,.78); border: 1px solid var(--line); box-shadow: var(--shadow);
  backdrop-filter: blur(16px) saturate(1.6); -webkit-backdrop-filter: blur(16px) saturate(1.6);
  transition: transform .5s var(--ease);
}
.nav.is-scrolled { background: rgba(255,255,255,.92); box-shadow: var(--shadow-lg); }
.totop { position: fixed; z-index: 65; right: 18px; bottom: 18px; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--grad); background-size: 160% 100%; color: #fff; font-size: 22px; font-weight: 800; box-shadow: 0 14px 30px -10px rgba(254,44,85,.55);
  opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: opacity .3s, transform .45s var(--spring); }
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { transform: translateY(-3px) scale(1.06); }
.nav__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -.02em; font-size: 17px; }
.nav__logo b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav__avatar, .chat__av {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; font-size: 13px; font-weight: 800;
  background: var(--ink); box-shadow: 0 0 0 2px #fff, 0 0 0 4px transparent; position: relative; flex: none;
}
.nav__avatar::after, .chat__av::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; padding: 2px; background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.nav__links { display: flex; gap: clamp(14px, 2vw, 28px); }
.nav__links a { text-decoration: none; font-size: 15px; font-weight: 600; color: var(--ink-2); padding: 6px 2px; }
.nav__links a:hover { color: var(--pink); }
.nav__cta { padding: .7em 1.15em; font-size: 14px; }
@media (max-width: 820px) { .nav__links { display: none; } }

/* ---------- Sekce ---------- */
section { position: relative; }
.sec-head { margin-bottom: clamp(26px, 3.5vw, 48px); max-width: 900px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-title { font-size: clamp(36px, 5.4vw, 80px); line-height: .98; letter-spacing: -.045em; font-weight: 800; margin: 0; }

/* ---------- Hero ---------- */
.hero { min-height: min(100svh, 900px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(30px, 5vw, 80px); align-items: center; padding-block: 130px 70px; }
.hero__title { font-size: clamp(40px, 5.9vw, 100px); line-height: .92; letter-spacing: -.055em; font-weight: 800; margin: 0 0 26px; position: relative; }
.hero__title .grad-text { white-space: nowrap; }
.sticker { display: inline-block; font-size: .55em; transform: rotate(12deg); animation: wobble 3s ease-in-out infinite; vertical-align: .15em; }
@keyframes wobble { 50% { transform: rotate(-6deg) scale(1.12); } }
.hero__lead { font-size: clamp(17px, 1.35vw, 21px); color: var(--ink-2); max-width: 52ch; margin: 0 0 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note { margin: 18px 0 0; font-size: 14px; color: var(--mute); }

.hero__stage { position: relative; height: min(640px, 76svh); display: grid; place-items: center; }
.phone {
  width: min(330px, 74vw); aspect-ratio: 9 / 18.5; max-height: 100%; background: #fff; border-radius: 46px; padding: 14px;
  box-shadow: 0 0 0 10px #17141f, 0 0 0 11px #3a3545, var(--shadow-lg), 0 50px 90px -30px rgba(254,44,85,.35);
  position: relative; transform: rotate(-4deg); animation: phoneIn 1.1s var(--spring) both;
}
@keyframes phoneIn { from { opacity: 0; transform: translateY(60px) rotate(4deg) scale(.92); } }
.phone__notch { position: absolute; top: 10px; left: 50%; width: 90px; height: 24px; transform: translateX(-50%); background: #17141f; border-radius: 99px; z-index: 2; }
.post { height: 100%; border-radius: 32px; overflow: hidden; background: #fff; display: flex; flex-direction: column; padding-top: 34px; font-size: 13px; }
.post__head { display: flex; align-items: center; gap: 9px; padding: 8px 12px; }
.post__av { width: 32px; height: 32px; border-radius: 50%; background: var(--grad); flex: none; }
.post__name { display: flex; flex-direction: column; line-height: 1.2; flex: 1; }
.post__name small { color: var(--mute); font-size: 11px; }
.post__more { color: var(--mute); }
.post__copy { margin: 0; padding: 2px 12px 10px; }
.post__media { flex: 1; position: relative; display: grid; place-items: center; background: linear-gradient(150deg, #ffd5e0, #e8dcff 50%, #cfe3ff); overflow: hidden; }
.post__media::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #fff 0%, rgba(255,255,255,0) 70%); }
.post__emoji { font-size: 96px; position: relative; animation: bob 3.2s ease-in-out infinite; filter: drop-shadow(0 18px 18px rgba(0,0,0,.15)); }
@keyframes bob { 50% { transform: translateY(-10px) rotate(-4deg); } }
.post__tag { position: absolute; left: 12px; bottom: 12px; background: var(--pink); color: #fff; font-weight: 800; font-size: 12px; padding: 6px 10px; border-radius: 99px; }
.post__cta { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; background: var(--bg-2); font-size: 11px; color: var(--mute); }
.post__cta b { color: var(--ink); font-size: 13px; }
.post__btn { background: var(--blue); color: #fff; font-weight: 700; padding: 8px 12px; border-radius: 8px; font-size: 12px; }
.post__react { display: flex; justify-content: space-between; gap: 8px; padding: 10px 12px 14px; font-size: 11px; color: var(--mute); }

.float { position: absolute; z-index: 3; animation: floaty 5s ease-in-out infinite, pop .7s var(--spring) both; }
@keyframes floaty { 50% { translate: 0 -12px; } }
@keyframes pop { from { opacity: 0; scale: .4; } }
.float--1 { top: 12%; left: -2%; animation-delay: 0s, .6s; }
.float--2 { top: 34%; right: -6%; animation-delay: .8s, .9s; }
.float--3 { bottom: 20%; left: -8%; animation-delay: 1.6s, 1.2s; }
.float--4 { bottom: 6%; right: 4%; animation-delay: 2.2s, 1.5s; }
.float--5 { top: 4%; right: 14%; animation-delay: .4s, 1.8s; }
.float--6 { bottom: 40%; left: 4%; animation-delay: 1.2s, 2s; }
.bubble { background: #fff; padding: 12px 16px; border-radius: 22px 22px 22px 6px; box-shadow: var(--shadow-lg); font-weight: 600; font-size: 15px; white-space: nowrap; }
.bubble--me { background: var(--blue); color: #fff; border-radius: 22px 22px 6px 22px; }
.toast { display: flex; gap: 10px; align-items: center; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); padding: 10px 16px 10px 10px; border-radius: 18px; box-shadow: var(--shadow-lg); }
.toast > span:first-child { width: 38px; height: 38px; display: grid; place-items: center; background: var(--grad-soft); border-radius: 12px; font-size: 20px; }
.toast b { display: block; font-size: 14px; }
.toast small { color: var(--mute); font-size: 12px; }
.chip-react { width: 52px; height: 52px; display: grid; place-items: center; font-size: 26px; background: #fff; border-radius: 50%; box-shadow: var(--shadow-lg); }
.hearts { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.heart { position: absolute; bottom: 18%; font-size: 26px; animation: rise 2.6s ease-out forwards; }
@keyframes rise { 0% { opacity: 0; transform: translateY(0) scale(.5); } 15% { opacity: 1; transform: translateY(-30px) scale(1); } 100% { opacity: 0; transform: translateY(-300px) translateX(var(--dx, 0)) scale(1.2) rotate(var(--rot, 0deg)); } }

@media (max-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 110px; min-height: 0; }
  .hero__title { font-size: clamp(40px, 9vw, 84px); }
  .hero__stage { height: 600px; }
}
@media (max-width: 560px) {
  .hero__title { font-size: 11.6vw; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__stage { height: 560px; margin-top: 10px; }
  .float--2 { right: -2%; } .float--3 { left: -2%; }
  .bubble { font-size: 13px; padding: 10px 13px; }
  .toast { padding: 8px 12px 8px 8px; }
  .toast > span:first-child { width: 32px; height: 32px; font-size: 17px; }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 18px 0; transform: rotate(-1.5deg) skewX(var(--skew, 0deg)); transition: transform .25s ease-out; margin: 10px -10px; background: var(--grad); color: #fff; box-shadow: 0 20px 40px -20px rgba(139,61,255,.5); }
.marquee__track { display: flex; align-items: center; gap: 26px; width: max-content; animation: tick 34s linear infinite; font-weight: 800; font-size: clamp(20px, 2.2vw, 32px); letter-spacing: -.02em; }

@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Highlights (stories) ---------- */
.highlights { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-block: clamp(36px, 4.5vw, 64px); text-align: center; }
.hl__ring { display: inline-grid; place-items: center; width: clamp(120px, 12vw, 170px); aspect-ratio: 1; border-radius: 50%; padding: 5px; background: var(--grad); box-shadow: 0 20px 40px -20px rgba(254,44,85,.5); }
.hl__in { width: 100%; height: 100%; border-radius: 50%; background: var(--card); border: 4px solid var(--bg); display: flex; align-items: center; justify-content: center; }
.hl__n { font-size: clamp(36px, 3.6vw, 54px); font-weight: 800; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.hl__in small { font-weight: 800; font-size: 20px; color: var(--pink); margin-left: 2px; align-self: flex-end; margin-bottom: 36%; }
.hl p { color: var(--mute); max-width: 24ch; margin: 16px auto 0; font-size: 15px; }
@media (max-width: 860px) { .highlights { grid-template-columns: 1fr 1fr; row-gap: 40px; } }

/* ---------- Služby ---------- */
.services { padding-block: clamp(44px, 5.5vw, 84px); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { position: relative; background: var(--card); border-radius: var(--r); padding: 28px; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; transition: transform .45s var(--spring), box-shadow .3s, opacity .8s var(--ease); }
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--c, var(--grad)); }
.card:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: var(--shadow-lg); }
.card__emoji { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; font-size: 30px; background: var(--soft, var(--grad-soft)); margin-bottom: 18px; transition: transform .45s var(--spring); }
.card:hover .card__emoji { transform: scale(1.12) rotate(-8deg); }
.card h3 { font-size: clamp(24px, 2vw, 30px); letter-spacing: -.03em; line-height: 1.05; margin: 0 0 10px; }
.card p { margin: 0 0 18px; color: var(--ink-2); font-size: 15.5px; }
.card--meta { --c: var(--blue); --soft: #e3eeff; }
.card--tiktok { --c: linear-gradient(90deg, var(--cyan), var(--pink)); --soft: linear-gradient(135deg, #dcfffe, #ffe0e7); }
.card--pinterest { --c: #e60023; --soft: #ffe1e5; }
.card--creative { --c: linear-gradient(90deg, var(--yellow), var(--orange)); --soft: #fff1d6; }
.card--reg { --c: var(--violet); --soft: #efe5ff; }
.card--ai { --c: linear-gradient(90deg, var(--violet), var(--blue)); --soft: #e9e7ff; }
.card--audit { --c: var(--pink); --soft: #ffe3e9; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.tags li { font-size: 12.5px; font-weight: 600; padding: 5px 10px; border-radius: 99px; background: var(--bg-2); color: var(--ink-2); }
@media (min-width: 1001px) {
  .card--audit { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px 24px; align-items: center; }
  .card--audit .card__emoji { grid-row: span 2; margin: 0; }
  .card--audit h3, .card--audit p { margin: 0; }
  .card--audit .tags { grid-column: 3; grid-row: 1 / span 2; }
}
@media (max-width: 1000px) { .cards { grid-template-columns: 1fr 1fr; } .card--audit { grid-column: 1 / -1; } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Proč já ---------- */
.why { padding-block: clamp(56px, 6vw, 96px); background: linear-gradient(135deg, #3a0ca3 0%, #6a1fd1 45%, #0866ff 100%); color: #fff; border-radius: clamp(28px, 4vw, 56px); margin-inline: clamp(8px, 1.5vw, 20px); overflow: hidden; }
.why::before { content: ""; position: absolute; inset: 0; background: radial-gradient(45% 55% at 100% 0%, rgba(254,44,85,.55), transparent 60%), radial-gradient(40% 50% at 0% 100%, rgba(37,244,238,.35), transparent 60%); pointer-events: none; }
.why__grid { position: relative; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr) minmax(0, 1.1fr); grid-template-areas: "head head head" "worked photo notifs"; gap: 28px clamp(20px, 3vw, 40px); align-items: start; }
.why__head { grid-area: head; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px clamp(24px, 4vw, 60px); align-items: end; margin-bottom: 8px; }
.why__head .sec-title { font-size: clamp(36px, 4.6vw, 70px); }
.why__worked { grid-area: worked; }
.why .notifs { grid-area: notifs; }
.why__lead { color: rgba(255,255,255,.88); margin: 0; max-width: 60ch; }
.why__label { font-weight: 700; margin: 0 0 12px; color: rgba(255,255,255,.75); font-size: 14px; }
.bubbles { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.bubbles li { padding: 10px 14px; border-radius: 20px 20px 20px 6px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.22); font-weight: 600; font-size: 14.5px; transition: background .2s, transform .35s var(--spring); }
.bubbles li:nth-child(even) { border-radius: 20px 20px 6px 20px; }
.bubbles li:hover { background: rgba(255,255,255,.2); transform: translateY(-3px); }
.notifs { display: grid; gap: 12px; }
.notif { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 16px 18px; border-radius: 22px; background: rgba(255,255,255,.95); color: var(--ink); box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); }
.notif__ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: var(--grad-soft); }
.notif h3 { margin: 2px 0 4px; font-size: 17px; letter-spacing: -.01em; }
.notif p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.45; }
.notif time { font-size: 12px; color: var(--mute); }
@media (max-width: 1000px) {
  .why__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "head head" "worked notifs" "photo photo"; }
  .why__head { grid-template-columns: minmax(0, 1fr); }
  .cutout--why { max-width: 460px; margin-top: 10px; }
}
@media (max-width: 700px) { .why__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "worked" "notifs" "photo"; } }

/* ---------- Proces – stories ---------- */
.process { padding-block: clamp(44px, 5.5vw, 84px); }
.stories { position: relative; width: min(420px, 100%); aspect-ratio: 9 / 14; margin-inline: auto; border-radius: 34px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--ink); }
.stories__bars { position: absolute; z-index: 3; top: 14px; left: 14px; right: 14px; display: flex; gap: 5px; }
.stories__bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.35); overflow: hidden; position: relative; }
.stories__bars i::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(var(--p, 0)); }
.story { position: absolute; inset: 0; padding: 60px 30px 34px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff;
  background: radial-gradient(120% 80% at 80% 0%, var(--c1), transparent 60%), linear-gradient(160deg, var(--c2), #17141f 85%);
  opacity: 0; transform: scale(1.04); transition: opacity .5s, transform .6s var(--ease); }
.story.is-active { opacity: 1; transform: none; }
.story__emoji { font-size: 92px; margin-bottom: auto; margin-top: 20px; filter: drop-shadow(0 14px 20px rgba(0,0,0,.3)); }
.story__step { margin: 0 0 6px; font-weight: 700; opacity: .8; font-size: 14px; }
.story h3 { font-size: clamp(32px, 3.4vw, 44px); letter-spacing: -.04em; line-height: 1; margin: 0 0 12px; }
.story p:last-child { margin: 0; opacity: .9; font-size: 16px; }
.stories__nav { position: absolute; z-index: 4; top: 0; bottom: 0; width: 40%; background: none; border: 0; color: transparent; cursor: pointer; font-size: 0; }
.stories__nav--prev { left: 0; } .stories__nav--next { right: 0; }
.stories__nav:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.stories__hint { text-align: center; color: var(--mute); font-size: 14px; margin: 16px 0 0; }

/* ---------- AI ---------- */
.ai { padding-block: clamp(44px, 5.5vw, 84px); }
.ai__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.ai__lead { color: var(--ink-2); max-width: 54ch; margin: 24px 0; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-weight: 600; }
.term { margin: 0; border-radius: 22px; overflow: hidden; background: #17141f; box-shadow: var(--shadow-lg); transform: rotate(1.2deg); }
.term__bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; background: #221e2c; }
.term__bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.term__bar i:nth-child(2) { background: #febc2e; } .term__bar i:nth-child(3) { background: #28c840; }
.term__bar span { margin-left: auto; color: #8f89a0; font-size: 12px; font-family: var(--f-mono); }
.term__body { margin: 0; padding: 22px; min-height: 340px; font-family: var(--f-mono); font-size: clamp(11px, .9vw, 13px); line-height: 1.75; color: #d9d4e6; white-space: pre-wrap; overflow-x: auto; }
.term__body .c { color: var(--cyan); } .term__body .r { color: #ff8fa6; } .term__body .d { color: #8f89a0; }
.term__body .cursor { display: inline-block; width: .6em; height: 1.1em; background: var(--cyan); vertical-align: text-bottom; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 900px) { .ai__grid { grid-template-columns: minmax(0, 1fr); } .term { transform: none; } .term__body { min-height: 300px; } }

/* ---------- FAQ jako chat ---------- */
.faq { padding-block: clamp(44px, 5.5vw, 84px); }
.convo { max-width: 760px; margin-inline: auto; display: grid; gap: 22px; }
.qa { display: grid; gap: 8px; }
.msg { margin: 0; padding: 14px 18px; border-radius: 24px; max-width: 82%; font-size: 16px; line-height: 1.45; box-shadow: var(--shadow); }
.msg--them { justify-self: start; background: var(--card); border-bottom-left-radius: 6px; font-weight: 700; }
.msg--me { justify-self: end; background: var(--grad); background-size: 140% 100%; color: #fff; border-bottom-right-radius: 6px; }

/* ---------- Finální CTA ---------- */
.final { padding-block: clamp(32px, 4vw, 60px) clamp(44px, 5.5vw, 84px); }
.final__card { position: relative; overflow: hidden; text-align: center; padding: clamp(56px, 8vw, 110px) clamp(20px, 5vw, 60px); border-radius: clamp(28px, 4vw, 48px); background: var(--grad); background-size: 200% 100%; animation: gradmove 10s ease-in-out infinite alternate; color: #fff; display: flex; flex-direction: column; align-items: center; }
.final__title { font-size: clamp(50px, 9vw, 140px); line-height: .9; letter-spacing: -.06em; margin: 0 0 20px; font-weight: 800; }
.final__lead { max-width: 52ch; margin: 0 0 34px; font-size: clamp(17px, 1.3vw, 20px); opacity: .95; }
.final__contacts { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0; margin: 34px 0 0; }
.final__contacts a { display: inline-block; text-decoration: none; padding: 9px 14px; border-radius: 99px; background: rgba(255,255,255,.18); font-weight: 600; font-size: 14.5px; transition: background .2s; }
.final__contacts a:hover { background: rgba(255,255,255,.32); }
.final__emoji { position: absolute; font-size: clamp(40px, 5vw, 70px); animation: floaty 5s ease-in-out infinite; opacity: .95; }
.final__emoji--1 { top: 10%; left: 7%; } .final__emoji--2 { top: 14%; right: 8%; animation-delay: 1s; } .final__emoji--3 { bottom: 10%; left: 14%; animation-delay: 2s; }
@media (max-width: 600px) { .final__emoji { display: none; } }

/* ---------- Celý obraz ---------- */
.whole { padding-block: clamp(44px, 5.5vw, 84px); }
.whole__lead { color: var(--ink-2); max-width: 64ch; margin: 22px auto 0; font-size: clamp(16px, 1.2vw, 19px); }
.hub { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto auto; gap: 16px; }
.hub::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(70%, 640px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  border: 2px dashed rgba(139,61,255,.25); animation: spin 60s linear infinite; pointer-events: none; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.hub__core { grid-column: 2; grid-row: 2; align-self: center; justify-self: center; width: clamp(170px, 17vw, 230px); aspect-ratio: 1; border-radius: 50%;
  background: var(--grad); background-size: 200% 100%; animation: gradmove 6s ease-in-out infinite alternate; color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 30px 60px -20px rgba(254,44,85,.55), 0 0 0 10px rgba(255,255,255,.7); position: relative; z-index: 1; }
.hub__core span { font-size: 46px; line-height: 1; margin-bottom: 6px; }
.hub__core b { font-size: 20px; letter-spacing: -.02em; }
.hub__core small { opacity: .9; font-weight: 600; }
.node { position: relative; z-index: 1; background: rgba(255,255,255,.9); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 24px; padding: 20px; box-shadow: var(--shadow); }
.node:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.node__ic { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--grad-soft); font-size: 22px; margin-bottom: 10px; }
.node h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -.02em; }
.node p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.hub .node:nth-of-type(1) { grid-column: 1; grid-row: 1; }
.hub .node:nth-of-type(2) { grid-column: 2; grid-row: 1; }
.hub .node:nth-of-type(3) { grid-column: 3; grid-row: 1; }
.hub .node:nth-of-type(4) { grid-column: 1; grid-row: 3; }
.hub .node:nth-of-type(5) { grid-column: 2; grid-row: 3; }
.hub .node:nth-of-type(6) { grid-column: 3; grid-row: 3; }
.whole__result { text-align: center; font-weight: 700; font-size: clamp(16px, 1.3vw, 20px); margin: 36px auto 0; padding: 14px 22px; background: #fff; border-radius: 99px; width: fit-content; max-width: 100%; box-shadow: var(--shadow); }
@media (max-width: 860px) {
  .hub { grid-template-columns: 1fr 1fr; }
  .hub::before { display: none; }
  .hub__core { grid-column: 1 / -1; grid-row: 1; margin-bottom: 8px; }
  .hub .node:nth-of-type(n) { grid-column: auto; grid-row: auto; }
}
@media (max-width: 520px) { .hub { grid-template-columns: 1fr; } .whole__result { border-radius: 20px; } }

/* ---------- Fotky (výřezy bez pozadí) ---------- */
.nav__avatar img, .chat__av img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.cutout { display: block; pointer-events: none; user-select: none; filter: drop-shadow(0 24px 30px rgba(23,20,31,.22)); }
.cutout--hero { position: absolute; z-index: 2; left: -14%; bottom: -2%; height: 90%; width: auto; max-width: 60%; object-fit: contain; object-position: bottom; animation: pop .9s var(--spring) .3s both; }
.cutout--hero { -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 99%); mask-image: linear-gradient(to bottom, #000 78%, transparent 99%); }
.hero__stage:has(.cutout--hero) .phone { transform: rotate(5deg) translateX(30%); }
.hero__stage:has(.cutout--hero) .float--1 { left: 24%; top: 8%; }
.hero__stage:has(.cutout--hero) .float--3 { left: auto; right: -6%; bottom: 26%; }
.hero__stage:has(.cutout--hero) .float--6 { left: auto; right: 6%; bottom: 52%; }
.hero__stage:has(.cutout--hero) .float--2 { right: -10%; top: 30%; }
.why__intro { position: relative; }
.why__photo { grid-area: photo; align-self: end; justify-self: center; position: relative; width: 100%; max-width: 520px; margin-bottom: calc(-1 * clamp(56px, 6vw, 96px)); }
.why__photo::before { content: ""; position: absolute; left: 50%; top: 42%; width: 120%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(37,244,238,.35) 0%, rgba(254,44,85,.18) 35%, transparent 65%); filter: blur(10px); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: translate(-50%, -50%) scale(1.08); opacity: .8; } }
.cutout--why { position: relative; z-index: 1; width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.25)); }
.orbit { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%) rotate(-8deg); border-radius: 50%; border: 1.5px dashed rgba(255,255,255,.4); pointer-events: none; z-index: 0; }
.orbit--1 { width: 108%; aspect-ratio: 3.4; }
.orbit--2 { width: 132%; aspect-ratio: 3.6; border-color: rgba(37,244,238,.45); }
.orbit--3 { width: 86%; aspect-ratio: 3.1; border-color: rgba(255,143,166,.5); }
.sat { position: absolute; left: 0; top: 0; width: 38px; height: 38px; display: grid; place-items: center; font-size: 19px; border-radius: 50%;
  background: rgba(255,255,255,.95); box-shadow: 0 0 22px rgba(37,244,238,.75), 0 6px 14px rgba(0,0,0,.2); pointer-events: none; will-change: transform; }

/* obsah obtéká fotku – oblouk kolem ní */
@media (min-width: 1001px) {
  .why__worked { align-self: center; }
  .why .bubbles { flex-direction: column; align-items: flex-end; flex-wrap: nowrap; }
  .why .bubbles li { --arc: 0px; transform: translateX(var(--arc)); animation: bubbleFloat 6s ease-in-out infinite; animation-delay: calc(var(--i) * -.7s); }
  .why .bubbles li:hover { transform: translateX(var(--arc)) translateY(-3px); }
  .why .bubbles li:nth-child(1) { --i: 1; --arc: 0px; }   .why .bubbles li:nth-child(2) { --i: 2; --arc: -34px; }
  .why .bubbles li:nth-child(3) { --i: 3; --arc: -58px; } .why .bubbles li:nth-child(4) { --i: 4; --arc: -70px; }
  .why .bubbles li:nth-child(5) { --i: 5; --arc: -70px; } .why .bubbles li:nth-child(6) { --i: 6; --arc: -58px; }
  .why .bubbles li:nth-child(7) { --i: 7; --arc: -34px; } .why .bubbles li:nth-child(8) { --i: 8; --arc: 0px; }
  .why__label { text-align: right; }
  .why .notifs { align-self: center; }
  .why .notif { --arc: 0px; margin-left: var(--arc); margin-right: calc(-1 * var(--arc)); animation: notifFloat 7s ease-in-out infinite; }
  .why .notif:nth-child(1) { --arc: 0px; animation-delay: -1s; }  .why .notif:nth-child(2) { --arc: 30px; animation-delay: -2.4s; }
  .why .notif:nth-child(3) { --arc: 46px; animation-delay: -3.1s; } .why .notif:nth-child(4) { --arc: 30px; animation-delay: -4.6s; }
  .why .notif:nth-child(5) { --arc: 0px; animation-delay: -5.2s; }
}
@keyframes bubbleFloat { 50% { translate: 0 -6px; } }
@keyframes notifFloat { 50% { transform: translateY(-6px); } }
.final__card { isolation: isolate; }
.final__card > *:not(.cutout):not(.final__emoji) { position: relative; z-index: 1; }
.cutout--contact { position: absolute; z-index: 0; right: -6%; bottom: 0; height: 56%; width: auto; opacity: .95; filter: drop-shadow(0 20px 30px rgba(0,0,0,.3)); }
.final__grid .final__card { align-items: flex-start; text-align: left; padding-right: 44%; }
.final__grid .final__emoji--1 { display: none; }
.final__grid .final__contacts { justify-content: flex-start; }
@media (max-width: 1100px) { .final__grid .final__card { padding-right: clamp(20px, 5vw, 60px); padding-bottom: 300px; } .cutout--contact { height: 300px; right: 50%; transform: translateX(50%); } }

@media (max-width: 560px) { .cutout--hero { height: 78%; left: -8%; } .hero__stage:has(.cutout--hero) .float--2, .hero__stage:has(.cutout--hero) .float--3 { right: -2%; } .hero__stage:has(.cutout--hero) .phone { transform: rotate(5deg) translateX(26%) scale(.9); } }

/* ---------- Kontakt ---------- */
.final__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: stretch; }
.final__grid .final__card { justify-content: center; }
.final__grid .final__title { font-size: clamp(48px, 6.5vw, 104px); }
.kform { background: #fff; border-radius: clamp(28px, 4vw, 48px); padding: clamp(26px, 4vw, 48px); box-shadow: var(--shadow-lg); display: grid; gap: 14px; align-content: start; }
.kform h3 { margin: 0; font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -.03em; }
.kform__sub { margin: -6px 0 6px; color: var(--mute); }
.kform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.kform label:not(.kform__gdpr) { display: grid; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.kform input:not([type=checkbox]), .kform textarea { font: inherit; font-size: 16px; font-weight: 400; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg); width: 100%; min-width: 0; resize: vertical; }
.kform input:focus, .kform textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(8,102,255,.12); }
.kform .is-bad { border-color: var(--pink) !important; background: #fff3f5 !important; }
.kform__gdpr { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--mute); cursor: pointer; }
.kform__gdpr input { width: 18px; height: 18px; flex: none; accent-color: var(--blue); margin-top: 1px; }
.kform__msg { margin: 0; min-height: 1.2em; font-weight: 600; font-size: 14.5px; }
.kform__msg.is-err { color: var(--pink); }
.kform__msg.is-ok { color: var(--green); }
.kform .btn { justify-self: start; }
@media (max-width: 900px) { .final__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .kform__row { grid-template-columns: 1fr; } .kform .btn { justify-self: stretch; } }

/* ---------- Osobní přístup ---------- */
.personal { padding-block: clamp(44px, 5.5vw, 84px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.personal__lead { color: var(--ink-2); font-size: clamp(17px, 1.3vw, 20px); max-width: 52ch; margin: 22px 0 0; }
.dm { background: #fff; border-radius: 30px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); }
.dm__head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.dm__head b { display: block; font-size: 16px; }
.dm__head small { color: var(--mute); font-size: 13px; }
.dm__body { padding: 20px; display: grid; gap: 10px; background: linear-gradient(180deg, #fff, var(--bg)); }
.dm__msg { margin: 0; justify-self: start; max-width: 92%; padding: 12px 16px; border-radius: 22px 22px 22px 6px; background: var(--bg-2); font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.dm__msg b { color: var(--ink); }
.dm__msg:nth-child(odd) { background: #eef3ff; }
.dm__seen { margin: 2px 4px 0; justify-self: start; font-size: 12px; color: var(--blue); font-weight: 600; }
@media (max-width: 900px) { .personal { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Chat vložený do stránky ---------- */
.chat.chat--inline { position: relative; inset: auto; z-index: auto; display: block; padding: 0; height: 100%; }
.chat.chat--inline .chat__win { width: 100%; height: 100%; min-height: clamp(560px, 70vh, 680px); max-height: 760px; transform: none; opacity: 1; box-shadow: var(--shadow-lg); border: 1px solid var(--line); border-radius: clamp(28px, 4vw, 40px); }
.final__grid .final__card { min-height: clamp(560px, 70vh, 680px); }

/* ---------- Patička ---------- */
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 28px 40px; border-top: 1px solid var(--line); color: var(--mute); font-size: 14px; }
.foot p { margin: 0; }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--pink); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; translate: 0 28px; transition: opacity .8s var(--ease), translate .9s var(--spring), transform .45s var(--spring), box-shadow .3s; transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; translate: 0 0; }

/* =========================================================
   CHAT (Brief)
   ========================================================= */
.chat { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 16px; }
.chat__bg { position: absolute; inset: 0; background: rgba(23,20,31,.38); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity .4s; }
.chat.is-open .chat__bg { opacity: 1; }
.chat__win {
  position: relative; width: min(460px, 100%); height: min(760px, calc(100svh - 32px)); display: flex; flex-direction: column;
  background: var(--bg); border-radius: 30px; overflow: hidden; box-shadow: 0 40px 100px -30px rgba(23,20,31,.55);
  transform: translateY(40px) scale(.94); opacity: 0; transition: transform .55s var(--spring), opacity .35s;
}
.chat.is-open .chat__win { transform: none; opacity: 1; }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px 20px; background: #fff; border-bottom: 1px solid var(--line); }
.chat__head h2 { font-size: 17px; margin: 0; letter-spacing: -.01em; }
.chat__head p { margin: 0; font-size: 12.5px; color: var(--mute); }
.chat__head > div { flex: 1; }
.chat__close { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--bg-2); cursor: pointer; font-size: 15px; }
.chat__close:hover { background: #ffe3e9; color: var(--pink); }
.chat__log { flex: 1; overflow-y: auto; padding: 20px 16px 10px; display: flex; flex-direction: column; gap: 6px; scroll-behavior: smooth; overscroll-behavior: contain; }
.cm { max-width: 84%; padding: 11px 15px; border-radius: 22px; font-size: 15.5px; line-height: 1.42; animation: msgIn .45s var(--spring) both; overflow-wrap: anywhere; }
@keyframes msgIn { from { opacity: 0; transform: translateY(12px) scale(.92); } }
.cm--bot { align-self: flex-start; background: #fff; box-shadow: var(--shadow); border-bottom-left-radius: 6px; }
.cm--me { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; }
.cm--bot + .cm--me, .cm--me + .cm--bot { margin-top: 8px; }
.cm small { display: block; opacity: .7; font-size: 12.5px; margin-top: 4px; }
.typing { align-self: flex-start; display: flex; gap: 4px; padding: 14px 16px; background: #fff; border-radius: 22px 22px 22px 6px; box-shadow: var(--shadow); }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--mute); animation: typ 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typ { 30% { transform: translateY(-5px); opacity: .5; } }

.chat__composer { padding: 12px 14px calc(14px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
.chat__composer:empty { display: none; }
.qr { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.qr button { border: 1.5px solid var(--blue); color: var(--blue); background: #fff; border-radius: 99px; padding: 9px 14px; font-weight: 700; font-size: 14.5px; cursor: pointer; transition: background .2s, color .2s, transform .3s var(--spring); }
.qr button:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.qr button.skip-btn { border-color: var(--line-2); color: var(--mute); }
.qr button.skip-btn:hover { background: var(--bg-2); color: var(--ink); }
.inrow { display: flex; gap: 8px; align-items: flex-end; }
.inrow input, .inrow textarea { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 12px 16px; border-radius: 22px; border: 1px solid var(--line-2); background: var(--bg); resize: none; }
.inrow input:focus, .inrow textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.send { width: 46px; height: 46px; flex: none; border-radius: 50%; border: 0; background: var(--grad); color: #fff; font-size: 18px; cursor: pointer; transition: transform .3s var(--spring); }
.send:hover { transform: scale(1.08) rotate(-10deg); }
.inrow-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.budget-ui { display: grid; gap: 10px; }
.budget-ui output { font-size: 28px; font-weight: 800; letter-spacing: -.03em; text-align: center; }
.budget-ui input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--blue) var(--fill, 30%), var(--bg-2) var(--fill, 30%)); outline: none; }
.budget-ui input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); box-shadow: var(--shadow); cursor: grab; }
.budget-ui input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); cursor: grab; }
.budget-ui p { margin: 0; font-size: 12.5px; color: var(--mute); text-align: center; }
.cform { display: grid; gap: 8px; }
.cform .two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cform input { font: inherit; font-size: 16px; padding: 11px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg); min-width: 0; width: 100%; }
.cform input:focus { outline: none; border-color: var(--blue); background: #fff; }
.cform input.is-bad { border-color: var(--pink); background: #fff3f5; }
.cform .prefs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13.5px; color: var(--mute); }
.cform .prefs label { cursor: pointer; position: relative; }
.cform .prefs input { position: absolute; opacity: 0; width: 1px; height: 1px; padding: 0; }
.cform .prefs span { display: inline-block; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--ink-2); font-weight: 600; }
.cform .prefs input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.cform .prefs input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.cform .gdpr { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--mute); line-height: 1.4; cursor: pointer; }
.cform .gdpr input { width: 18px; height: 18px; flex: none; accent-color: var(--blue); margin: 1px 0 0; padding: 0; }
.cform .err { color: var(--pink); font-size: 13px; margin: 0; min-height: 1em; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 400px) { .cform .two { grid-template-columns: 1fr; } }

/* karta s plánem v chatu */
.plan { align-self: stretch; flex: none; background: #fff; border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; animation: msgIn .5s var(--spring) both; margin-top: 6px; }
.plan__top { padding: 16px 18px; background: var(--grad); color: #fff; }
.plan__top small { font-weight: 700; opacity: .9; font-size: 12px; }
.plan__top h3 { margin: 4px 0 0; font-size: 20px; line-height: 1.15; letter-spacing: -.02em; }
.plan__sec { padding: 14px 18px; border-top: 1px solid var(--line); font-size: 14.5px; }
.plan__sec h4 { margin: 0 0 8px; font-size: 13px; color: var(--mute); }
.plan__sec ol, .plan__sec ul { margin: 0; padding-left: 1.2em; display: grid; gap: 5px; }
.plan__sec p { margin: 0; color: var(--ink-2); }
.camp { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line-2); }
.camp:last-child { border: 0; }
.camp b { display: block; font-size: 14.5px; }
.camp small { color: var(--mute); font-size: 12.5px; }
.camp span { font-weight: 800; color: var(--blue); white-space: nowrap; }
.plan__acts { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 18px 18px; border-top: 1px solid var(--line); }

/* =========================================================
   COOKIE LIŠTA
   ========================================================= */
.cc {
  position: fixed; z-index: 140; left: 16px; bottom: 16px; width: min(400px, calc(100% - 32px));
  background: #fff; border: 1px solid var(--line); border-radius: 24px 24px 24px 8px; padding: 20px; font-size: 14px; box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(.96); opacity: 0; transition: transform .5s var(--spring), opacity .4s;
}
.cc.is-open { transform: none; opacity: 1; }
.cc__head { margin: 0 0 6px; font-weight: 800; font-size: 17px; }
.cc__txt { margin: 0 0 14px; color: var(--ink-2); line-height: 1.5; }
.cc__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cc__btns [data-cc="prefs"], .cc__btns [data-cc="save"] { grid-column: 1 / -1; }
.cc__more { display: inline-block; margin-top: 12px; color: var(--mute); font-size: 12.5px; }
.cc__prefs { display: grid; gap: 12px; margin: 4px 0 16px; }
.tgl { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; cursor: pointer; }
.tgl input { position: absolute; opacity: 0; }
.tgl__ui { width: 40px; height: 24px; border-radius: 99px; background: var(--bg-2); border: 1px solid var(--line-2); position: relative; transition: background .25s; margin-top: 1px; }
.tgl__ui::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .3s var(--spring); }
.tgl input:checked + .tgl__ui { background: var(--blue); border-color: var(--blue); }
.tgl input:checked + .tgl__ui::after { transform: translateX(16px); }
.tgl input:disabled + .tgl__ui { opacity: .55; }
.tgl input:focus-visible + .tgl__ui { outline: 3px solid var(--blue); outline-offset: 2px; }
.tgl b { display: block; font-size: 14px; }
.tgl small { color: var(--mute); font-size: 12.5px; }

/* ---------- Právní podstránky ---------- */
.legal { padding-block: 140px 90px; max-width: 860px; }
.legal h1 { font-size: clamp(40px, 6vw, 76px); letter-spacing: -.05em; line-height: .95; margin: 0 0 26px; }
.legal h2 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.02em; margin: 44px 0 10px; }
.legal p, .legal li { color: var(--ink-2); }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 16px 0; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.legal th, .legal td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--mute); font-size: 12.5px; font-weight: 700; background: var(--bg-2); }
.legal .tbl { overflow-x: auto; }

/* ---------- Tisk plánu ---------- */
@media print {
  body > *:not(.chat) { display: none !important; }
  body::before { display: none; }
  .chat { position: static; padding: 0; display: block; }
  .chat__bg, .chat__head, .chat__composer, .plan__acts, .typing { display: none !important; }
  .chat__win { height: auto; box-shadow: none; transform: none; opacity: 1; background: #fff; }
  .chat__log { overflow: visible; }
  .cm, .plan { box-shadow: none; border: 1px solid #ddd; animation: none; }
  .plan__top { background: #f2f2f2 !important; color: #000; }
}

/* ---------- Omezený pohyb ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; translate: none; }
}

/* kompaktní varianta v sekci Proč já */
.why .notifs { gap: 8px; }
.why .notif { padding: 11px 14px; gap: 12px; border-radius: 18px; grid-template-columns: auto minmax(0, 1fr); }
.why .notif time { display: none; }
.why .notif__ic { width: 38px; height: 38px; font-size: 19px; border-radius: 12px; }
.why .notif h3 { font-size: 15.5px; margin: 0 0 2px; }
.why .notif p { font-size: 13.5px; line-height: 1.4; }
.why .bubbles li { font-size: 13.5px; padding: 8px 12px; }
/* gradientní text na barevném pozadí sekce Proč já */
.why .grad-text { background: linear-gradient(90deg, #ffd36b, #ff8fa6, #9ff7f4); -webkit-background-clip: text; background-clip: text; }

/* ---------- Stránka Kontakt ---------- */
.contact-page { padding-block: 130px 80px; }
.contact-page__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 18px; align-items: start; margin-top: 36px; }
.cinfo { display: grid; gap: 12px; }
.cinfo > a, .cinfo > div:not(.cinfo__photo) { display: flex; gap: 14px; align-items: center; padding: 18px 20px; background: #fff; border-radius: 22px; box-shadow: var(--shadow); text-decoration: none; transition: transform .35s var(--spring); }
.cinfo > a:hover { transform: translateY(-3px); }
.cinfo > a > span, .cinfo > div > span { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: var(--grad-soft); flex: none; }
.cinfo b { display: block; font-size: 16px; }
.cinfo small { color: var(--mute); font-size: 13.5px; }
.cinfo__photo { position: relative; height: 340px; border-radius: 28px; overflow: hidden; background: var(--grad); }
.cinfo__photo img { position: absolute; bottom: 0; right: 6%; height: 96%; width: auto; filter: drop-shadow(0 20px 30px rgba(0,0,0,.25)); }
.cinfo__photo p { position: absolute; left: 22px; top: 20px; margin: 0; color: #fff; font-weight: 800; font-size: 26px; line-height: 1.05; letter-spacing: -.02em; max-width: 9ch; }
@media (max-width: 900px) { .contact-page__grid { grid-template-columns: minmax(0, 1fr); } }

/* =========================================================
   FUTURISTICKÁ VRSTVA – grid, sklo, odlesky, záře
   ========================================================= */
/* jemná tečková mřížka přes celé pozadí */
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(60,30,120,.13) 1px, transparent 1.6px); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 85%); mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 85%);
}
/* perspektivní mřížka pod telefonem v úvodu */
.hero__stage::before {
  content: ""; position: absolute; left: -40%; right: -40%; bottom: -4%; height: 80%; z-index: 0; pointer-events: none;
  background:
    linear-gradient(rgba(139,61,255,.55) 1.5px, transparent 1.5px) 0 0 / 100% 48px,
    linear-gradient(90deg, rgba(8,102,255,.45) 1.5px, transparent 1.5px) 0 0 / 48px 100%;
  transform: perspective(600px) rotateX(58deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 20%, transparent 95%); mask-image: linear-gradient(to top, #000 20%, transparent 95%);
  animation: gridMove 3s linear infinite;
}
@keyframes gridMove { to { background-position: 0 48px, 0 0; } }
.hero__stage::after {
  content: ""; position: absolute; left: 50%; top: 46%; width: 90%; aspect-ratio: 1; transform: translate(-50%, -50%); z-index: 0; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 0deg, rgba(254,44,85,.0), rgba(254,44,85,.28), rgba(139,61,255,.28), rgba(37,244,238,.28), rgba(254,44,85,.0));
  filter: blur(40px); animation: spinGlow 14s linear infinite;
}
@keyframes spinGlow { to { transform: translate(-50%, -50%) rotate(360deg); } }
.hero__stage > .phone { z-index: 1; }
.hero__stage .float, .hero__stage .hearts { z-index: 3; }

/* sklo */
.card, .node, .dm, .kform, .cinfo > a, .cinfo > div:not(.cinfo__photo), .msg--them, .pill:not(.pill--dark) {
  background: rgba(255,255,255,.7); -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5);
}
.pill:not(.pill--dark) { border-color: rgba(139,61,255,.18); box-shadow: 0 0 0 1px rgba(255,255,255,.6) inset, 0 8px 24px -12px rgba(139,61,255,.35); }

/* světelný odlesk za myší + zářící okraj */
.spot { position: relative; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(139,61,255,.13), rgba(37,244,238,.06) 35%, transparent 60%); }
.spot:hover::after { opacity: 1; }
.card:hover, .node:hover, .cinfo > a:hover { box-shadow: 0 0 0 1px rgba(139,61,255,.28), 0 24px 60px -24px rgba(139,61,255,.5), 0 0 40px -10px rgba(37,244,238,.35); }

/* záře hlavních tlačítek */
.btn--grad { position: relative; isolation: isolate; }
.btn--grad::after { content: ""; position: absolute; inset: -3px; border-radius: inherit; z-index: -1; background: inherit; filter: blur(14px); opacity: .45; animation: glowPulse 3s ease-in-out infinite; }
@keyframes glowPulse { 50% { opacity: .75; } }

/* tenká duhová linka pod menu */
.nav::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: -1px; height: 1.5px; border-radius: 2px; background: var(--grad); opacity: .55; }

/* HUD detaily na kartách služeb */
@media (prefers-reduced-motion: reduce) { .hero__stage::before, .hero__stage::after, .orbit, .btn--grad::after { animation: none !important; } }
@media (max-width: 560px) { .totop { width: 44px; height: 44px; font-size: 19px; right: 12px; bottom: 12px; } }

/* =========================================================
   EFEKTY (fx.js)
   ========================================================= */
/* nadpisy slovo po slovu */
.split-ready .wr { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-ready .wi { display: inline-block; transform: translateY(110%) rotate(4deg); opacity: 0; transition: transform .9s var(--spring), opacity .5s; transition-delay: calc(var(--k, 0) * 55ms + 80ms); }
.split-ready.split-in .wi { transform: none; opacity: 1; }
.split-ready .wr:has(.sticker) { overflow: visible; }

/* ukazatel postupu */
.progress { position: fixed; z-index: 80; left: 0; top: 0; width: 100%; height: 3px; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 12px rgba(254,44,85,.6); pointer-events: none; }

/* 3D náklon */
.tilt { transform-style: preserve-3d; will-change: transform; }
.tilt:hover { transition: transform .12s ease-out, box-shadow .3s, opacity .8s; }

/* magnetická tlačítka */
.btn { transition: transform .35s var(--spring), translate .25s ease-out, box-shadow .3s, background-color .2s; }

/* částice a konfety */
.fx-particle { position: fixed; z-index: 300; pointer-events: none; font-size: 24px; will-change: transform, opacity; }
.fx-confetti { position: fixed; z-index: 300; top: 0; width: 9px; height: 14px; border-radius: 2px; pointer-events: none; will-change: transform; }

/* rotující prstence kolem čísel */
.hl__ring { position: relative; isolation: isolate; background: none; }
.hl__ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; z-index: -1;
  background: conic-gradient(from 0deg, #ffb300, #ff7a1a, #fe2c55, #c13cff, #0866ff, #25f4ee, #ffb300); animation: ringSpin 6s linear infinite; }
.hl__ring::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; z-index: -2; background: inherit;
  background: conic-gradient(from 0deg, #ff7a1a, #fe2c55, #c13cff, #0866ff, #25f4ee, #ff7a1a); filter: blur(16px); opacity: .45; animation: ringSpin 6s linear infinite; }
.hl:hover .hl__ring::before, .hl:hover .hl__ring::after { animation-duration: 1.6s; }
@keyframes ringSpin { to { transform: rotate(360deg); } }

/* FAQ – „píše…“ */
.qa__typing { justify-self: end; border-radius: 22px 22px 6px 22px; background: var(--grad-soft); display: none; }
.qa--wait:not(.qa--answered) .qa__typing { display: flex; }
.qa--wait .msg--me { opacity: 0; transform: translateY(10px) scale(.94); transform-origin: right bottom; transition: opacity .4s, transform .5s var(--spring); }
.qa--wait:not(.qa--answered) .msg--me { position: absolute; visibility: hidden; }
.qa--answered .msg--me { opacity: 1; transform: none; }
.qa { position: relative; }

@media (prefers-reduced-motion: reduce) {
  .split-ready .wi { transform: none; opacity: 1; }
  .hl__ring::before, .hl__ring::after { animation: none; }
}
