/* Reachmore – short rebuild. Tokens from brand guide (navy/blue + one amber accent). No external requests. */
@font-face { font-family: 'Inter Variable'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url('fonts/inter-latin-ext-wght-normal.woff2') format('woff2-variations');
  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: 'Inter Variable'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url('fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #0A1630; --muted: #4B5A78; --bg: #F8FAFF; --surface: #fff; --border: #D9E2F3;
  --navy: #060F24; --navy-2: #0B2A6F; --blue: #1D4ED8; --sky: #38BDF8;
  --accent: #F59E0B; --accent-hi: #FBBF24; --on-accent: #1a1204;
  --font: 'Inter Variable', Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --maxw: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.5; color: var(--ink); background: var(--bg); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
.period { font-style: normal; color: var(--accent); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .6em; padding: 1rem 1.7rem; border-radius: 999px; font-weight: 650; font-size: 1.0625rem; letter-spacing: -.01em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s; }
.btn--accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 28px -8px rgba(245, 158, 11, .6); }
.btn--accent:hover { background: var(--accent-hi); transform: translateY(-2px); box-shadow: 0 14px 34px -8px rgba(245, 158, 11, .75); }
.btn--sm { padding: .6rem 1.1rem; font-size: .9375rem; }
.link-arrow { color: #fff; font-weight: 600; border-bottom: 2px solid rgba(255, 255, 255, .3); padding-bottom: 2px; transition: border-color .25s; }
.link-arrow:hover { border-color: var(--accent); }

/* Nav */
.nav { position: absolute; inset: 0 0 auto 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem var(--gutter); max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; }
.nav-logo img { width: 150px; height: auto; }

/* Hero */
.hero { position: relative; background: radial-gradient(circle at 18% 12%, #1A3FB0 0%, var(--navy-2) 42%, var(--navy) 100%); color: #fff; overflow: hidden;
  padding: clamp(7rem, 16vh, 9rem) 0 clamp(9rem, 17vh, 12rem); }
.hero-inner { position: relative; z-index: 2; }
.hero-title { margin: 0; font-weight: 800; letter-spacing: -.045em; line-height: .98; font-size: clamp(2.9rem, 8.2vw, 7.2rem); max-width: 11ch; text-wrap: balance; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-title .line > span { display: inline-block; }
.hero-sub { margin: 1.4rem 0 0; font-size: clamp(1.1rem, 2.2vw, 1.5rem); color: #BED3FD; max-width: 24em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; margin-top: 2rem; }

/* Arcs sit in the UPPER right: the demo cards only overlap the hero's bottom padding, so they can never cover or clip the arcs.
   z-index 1 < hero-inner (2): always behind text and buttons; pointer-events none: never intercepts a click. */
.hero-signal { position: absolute; z-index: 1; right: -3vw; top: clamp(4.5rem, 11vh, 7rem); width: min(46vw, 620px); opacity: .95; pointer-events: none; }
.hero-signal svg { width: 100%; height: auto; overflow: visible; }
.hero-signal .dot { fill: #fff; }
.hero-signal .arc { fill: none; stroke-width: 7; stroke-linecap: round; }
.hero-signal .a1 { stroke: #fff; } .hero-signal .a2 { stroke: var(--sky); }
.hero-signal .ring { fill: none; stroke: rgba(94, 141, 245, .35); stroke-width: .5; }

/* Demos – overlap only the hero's bottom padding, so they show in the first screen */
.demos { position: relative; z-index: 3; margin-top: clamp(-7.5rem, -13vh, -5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.demos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.4vw, 2rem); }
.card { position: relative; display: block; background: var(--surface); border-radius: 22px; padding: .8rem; border: 1px solid var(--border);
  box-shadow: 0 30px 60px -28px rgba(6, 15, 36, .55); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -26px rgba(29, 78, 216, .45); }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem .6rem .3rem; }
.card-label { display: block; font-weight: 700; letter-spacing: -.02em; font-size: 1.15rem; }
.card-sub { display: block; color: var(--muted); font-size: .9375rem; }
.card-go { font-weight: 650; color: var(--blue); white-space: nowrap; transition: transform .3s var(--ease); }
.card:hover .card-go { transform: translateX(4px); }
.badge { position: absolute; z-index: 4; top: -.75rem; right: 1.2rem; padding: .3rem .8rem; border-radius: 999px; background: var(--navy); color: #fff; font-size: .8125rem; font-weight: 700; letter-spacing: .02em; box-shadow: 0 6px 16px -6px rgba(6, 15, 36, .6); }
.badge--demo { background: var(--accent); color: var(--on-accent); }

/* Hero previews: scaled-down real markup. Every size is in cqw, so it scales with the card (no images, no layout shift).
   Layers move at different rates with the pointer (--mx/--my are set by main.js, only on hover devices without reduced motion). */
.pv { container-type: inline-size; position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 14px; border: 1px solid var(--border); background: #fff; pointer-events: none; user-select: none; }
.pv-bar { position: absolute; z-index: 3; inset: 0 0 auto 0; height: 5.6cqw; display: flex; align-items: center; gap: 1cqw; padding: 0 2cqw; background: #EFF4FF; }
.pv-bar i { width: 1.4cqw; height: 1.4cqw; border-radius: 50%; background: #BED3FD; }
.pv-bar span { margin-left: 2cqw; padding: .5cqw 2.4cqw; border-radius: 99px; background: #fff; color: #6a7a99; font-size: 1.7cqw; line-height: 1.2; }
.pv-page { position: absolute; inset: 5.6cqw 0 0 0; overflow: hidden; color: #fff; transition: transform .8s var(--ease); transform-origin: 30% 40%; }
.card:hover .pv-page { transform: scale(1.025); }
.pv-l { position: absolute; inset: 0; transition: transform .35s var(--ease); }
.pv-bg { inset: -3cqw; transform: translate3d(calc(var(--mx, 0) * -5px), calc(var(--my, 0) * -3px), 0); }
.pv-mid { transform: translate3d(calc(var(--mx, 0) * 8px), calc(var(--my, 0) * 5px), 0); }
.pv-fg { transform: translate3d(calc(var(--mx, 0) * 12px), calc(var(--my, 0) * 7px), 0); }
.pv p { margin: 0; }
.pv-nav { position: absolute; inset: 2.6cqw 4cqw auto; display: flex; align-items: center; justify-content: space-between; }
.pv-nav img { width: 17cqw; height: auto; }
.pv-name { font-size: 2.3cqw; font-weight: 750; letter-spacing: -.03em; }
.pv-btn { display: inline-block; padding: 1.5cqw 3.2cqw; border-radius: 99px; font-size: 2.3cqw; font-weight: 650; letter-spacing: -.01em; line-height: 1.2; }
.pv-btn--s { padding: .9cqw 2cqw; font-size: 1.7cqw; }
.pv-h { font-weight: 800; letter-spacing: -.045em; line-height: .98; }
/* demo 1 = před/po (kadeřnictví): left half = Facebook only, right half = web with price list and booking */
.pv--ba .pv-bg { inset: 0; }
.pv--ba .ba-old, .pv--ba .ba-new { position: absolute; top: 0; bottom: 0; }
.pv--ba .ba-old { left: 0; width: 50%; background: linear-gradient(160deg, #4a5468, #2c3445); }
.pv--ba .ba-new { right: 0; width: 50%; background: radial-gradient(circle at 80% 10%, #1A3FB0 0%, #0B2A6F 50%, #060F24 100%); }
.pv--ba .ba-side { position: absolute; top: 0; bottom: 0; width: 50%; padding: 9cqw 3.6cqw 0; }
.pv--ba .ba-side--old { left: 0; } .pv--ba .ba-side--new { right: 0; }
.pv--ba .ba-tag { display: inline-block; margin-bottom: 2cqw; padding: .7cqw 2cqw; border-radius: 99px; background: rgba(255, 255, 255, .18); font-size: 1.9cqw; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pv--ba .ba-tag--new { background: var(--accent); color: var(--on-accent); }
.pv--ba .pv-h { font-size: 7cqw; }
.pv--ba .ba-side--old .pv-h { color: #cbd3e3; }
.pv--ba .pv-sub { margin-top: 2.4cqw; font-size: 2.3cqw; line-height: 1.3; color: #aab4c9; }
.pv--ba .pv-btn { margin-top: 3.4cqw; background: var(--accent); color: var(--on-accent); }
/* demo 2 = vzor firmy (colors and texts as pipeline/sample: kadeřnictví preset) */
.pv--client .pv-bg { background: linear-gradient(135deg, #1b2230, #0f1218 70%); }
.pv--client .pv-bg::after { content: ''; position: absolute; right: 0; top: -10cqw; width: 50cqw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(225, 29, 116, .18), transparent 68%); }
.pv--client .pv-art { inset: auto; right: 5cqw; top: 8cqw; width: 36cqw; }
.pv--client .pv-art svg { width: 100%; height: auto; }
.pv--client .pv-kick { position: absolute; left: 4cqw; top: 15cqw; font-size: 1.8cqw; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: #E11D74; }
.pv--client .pv-h { position: absolute; left: 4cqw; top: 19.5cqw; width: 50cqw; font-size: 6.4cqw; line-height: 1; text-wrap: balance; }
.pv--client .pv-row { position: absolute; left: 4cqw; top: 42.5cqw; display: flex; gap: 2cqw; }
.pv--client .pv-btn { background: #E11D74; color: #fff; }
.pv--client .pv-btn--ghost { background: transparent; box-shadow: inset 0 0 0 .4cqw rgba(255, 255, 255, .45); }

/* Points */
.points-list { list-style: none; margin: 0 auto; padding-block: clamp(1rem, 3vw, 2rem) clamp(3rem, 6vw, 5rem); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem clamp(1.2rem, 3vw, 2.5rem); }
.points-list li { display: flex; align-items: flex-start; gap: 1rem; }
.points-list strong { display: block; font-weight: 700; font-size: clamp(1.05rem, 1.5vw, 1.2rem); letter-spacing: -.02em; line-height: 1.25; }
.points-list li span { display: block; margin-top: .3rem; color: var(--muted); font-size: .9375rem; line-height: 1.45; }
.points-list svg { flex: none; width: 52px; height: 52px; padding: 13px; border-radius: 16px; background: #DCE7FE; stroke: var(--blue); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Offer + contact (one section) */
.offer { background: #EDF2FD; color: #fff; padding: clamp(4rem, 9vw, 7rem) 0; text-align: center; position: relative; overflow: clip; isolation: isolate; }
.offer-bg { position: absolute; inset: 0; z-index: -1; background: var(--navy); overflow: clip; }
.offer-bg::before { content: ''; position: absolute; inset: auto -10% -60% -10%; height: 120%; background: radial-gradient(ellipse at 50% 100%, rgba(29, 78, 216, .55), transparent 65%); }
.offer-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.offer-tag { margin: 0; font-weight: 650; color: var(--accent-hi); letter-spacing: .02em; }
.offer-title { margin: 0; font-weight: 800; letter-spacing: -.05em; line-height: 1; font-size: clamp(3.4rem, 11vw, 9rem); }
.offer-line { margin: 0; max-width: 30em; font-size: clamp(1.1rem, 2vw, 1.4rem); color: #BED3FD; }
.offer-contact { margin: .4rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2rem; }
.contact-mail, .contact-tel { font-weight: 700; letter-spacing: -.03em; font-size: clamp(1.3rem, 3.6vw, 2.2rem); color: #fff; border-bottom: 3px solid var(--accent); padding-bottom: .1em; word-break: break-word; transition: color .25s; }
.contact-mail:hover, .contact-tel:hover { color: var(--accent-hi); }
.offer-note { margin: 0; color: #9db6e8; font-size: .9375rem; }

/* Footer */
.foot { border-top: 1px solid var(--border); padding: 1.4rem 0 calc(1.4rem + env(safe-area-inset-bottom)); color: var(--muted); font-size: .9375rem; }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.5rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.foot a:hover { color: var(--blue); }

/* Showcase page (ukazka-pred-po) */
.ribbon { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 2.6rem; padding: 0 var(--gutter); background: var(--accent); color: var(--on-accent); font-size: .875rem; font-weight: 650; white-space: nowrap; }
.ribbon span { min-width: 0; white-space: normal; line-height: 1.2; }
.ribbon a { text-decoration: underline; text-underline-offset: 3px; flex: none; }
.has-ribbon .nav { top: 2.6rem; }
.sc-intro { padding: clamp(3rem, 6vw, 5rem) 0 1rem; }
.sc-h2 { margin: 0 0 .5rem; font-weight: 800; letter-spacing: -.04em; line-height: 1.05; font-size: clamp(1.9rem, 4.4vw, 3rem); }
.sc-lead { margin: 0 0 2rem; color: var(--muted); max-width: 40em; }
.sc-grid { list-style: none; margin: 0; padding: 0 0 clamp(3rem, 6vw, 5rem); display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2.4vw, 1.75rem); counter-reset: sc; }
.sc-card { counter-increment: sc; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 1.6rem; }
.sc-card::before { content: counter(sc); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: #DCE7FE; color: var(--blue); font-weight: 800; margin-bottom: 1rem; }
.sc-card h3 { margin: 0 0 .35rem; font-size: 1.3rem; letter-spacing: -.025em; }
.sc-card p { margin: 0; color: var(--muted); }
.sc-back { display: inline-block; margin-top: 1rem; font-weight: 650; color: var(--blue); border-bottom: 2px solid var(--accent); }

.hero--short { padding: clamp(6.5rem, 14vh, 8rem) 0 clamp(3rem, 7vh, 4.5rem); }
.hero--short .hero-title { max-width: 12ch; }
.ba { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.4vw, 1.75rem); }
.ba-card { border-radius: 22px; padding: 1.6rem; border: 1px solid var(--border); background: var(--surface); }
.ba-card--old { background: #EEF1F7; }
.ba-card--new { border-color: var(--blue); box-shadow: 0 24px 50px -30px rgba(29, 78, 216, .5); }
.ba-label { margin: 0 0 .6rem; display: inline-block; padding: .2rem .7rem; border-radius: 99px; font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: #D5DCEB; color: var(--muted); }
.ba-card--new .ba-label { background: var(--accent); color: var(--on-accent); }
.ba-card h2 { margin: 0 0 .7rem; font-size: 1.5rem; letter-spacing: -.03em; }
.ba-card ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .4rem; color: var(--muted); }
.steps { list-style: none; margin: .2rem 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem clamp(1rem, 3vw, 2.2rem); counter-reset: st; }
.steps li { counter-increment: st; display: flex; align-items: center; gap: .6rem; text-align: left; }
.steps li::before { content: counter(st); flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 800; font-size: .9375rem; }
.steps b { display: block; font-size: 1.15rem; letter-spacing: -.02em; line-height: 1.15; }
.steps span { display: block; font-size: .875rem; color: #9db6e8; }

/* Content sections (round 4): same tokens, cards and reveal as above */
.nav-links { display: flex; gap: 1.6rem; margin-left: auto; margin-right: 1rem; font-size: .9375rem; font-weight: 600; color: #BED3FD; }
.nav-links a { padding: .4rem 0; border-bottom: 2px solid transparent; transition: color .25s, border-color .25s; }
.nav-links a:hover { color: #fff; border-color: var(--accent); }
.sec { padding: clamp(3.2rem, 7vw, 5.5rem) 0; }
.sec--tint { background: #EDF2FD; }
.sec-head { margin-bottom: clamp(1.4rem, 3vw, 2.2rem); }
.sec-kicker { margin: 0 0 .5rem; font-weight: 700; font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.sec-h { margin: 0; max-width: 20ch; font-weight: 800; letter-spacing: -.04em; line-height: 1.05; font-size: clamp(1.9rem, 4.6vw, 3.2rem); text-wrap: balance; }
.sec-lead { margin: .9rem 0 0; max-width: 38em; color: var(--muted); font-size: 1.125rem; }
.sec-note { margin: 1.6rem 0 0; color: var(--muted); }
.two { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(1rem, 2.6vw, 2rem); align-items: start; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.checks li { position: relative; padding-left: 2.2rem; font-weight: 550; line-height: 1.4; }
.checks li::before { content: ''; position: absolute; left: 0; top: .1rem; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: #DCE7FE url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D4ED8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 80% no-repeat; }
.need { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 1.5rem; box-shadow: 0 24px 50px -34px rgba(6, 15, 36, .5); }
.need h3 { margin: 0 0 .7rem; font-size: 1.25rem; letter-spacing: -.025em; }
.need ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .35rem; color: var(--muted); }
.need p { margin: .9rem 0 0; font-size: .9375rem; color: var(--muted); }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; counter-reset: fl; }
.flow li { counter-increment: fl; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 1.2rem; }
.flow li::before { content: counter(fl); display: grid; place-items: center; width: 2.2rem; height: 2.2rem; margin-bottom: .8rem; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 800; }
.flow b { display: block; font-size: 1.1rem; letter-spacing: -.02em; }
.flow span { display: block; margin-top: .3rem; color: var(--muted); font-size: .9375rem; line-height: 1.45; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.tiles li, .trio > div { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 1.3rem; }
.tiles h3, .trio h3 { margin: 0 0 .4rem; font-size: 1.15rem; letter-spacing: -.025em; line-height: 1.25; }
.tiles p, .trio p { margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.5; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(1.4rem, 4vw, 3.5rem); align-items: start; }
.about-text p { margin: 0 0 1rem; font-size: 1.125rem; color: var(--muted); }
.faq-wrap { max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; margin-bottom: .7rem; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.05rem 1.3rem; min-height: 44px; font-weight: 700; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: #DCE7FE; color: var(--blue); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '\2212'; }
.faq summary:focus-visible { outline-color: var(--blue); }
.faq details p { margin: 0; padding: 0 1.3rem 1.2rem; color: var(--muted); }
.sec :focus-visible { outline-color: var(--blue); }
.js .flow .reveal:nth-child(2), .js .tiles .reveal:nth-child(2), .js .trio .reveal:nth-child(2) { transition-delay: .06s; }
.js .flow .reveal:nth-child(3), .js .tiles .reveal:nth-child(3), .js .trio .reveal:nth-child(3) { transition-delay: .12s; }
.js .flow .reveal:nth-child(4), .js .tiles .reveal:nth-child(4) { transition-delay: .18s; }
.js .flow .reveal:nth-child(5) { transition-delay: .24s; }
@media (max-width: 980px) { .flow { grid-template-columns: repeat(2, 1fr); } .tiles { grid-template-columns: repeat(2, 1fr); } .nav-links { display: none; } }
@media (max-width: 760px) {
  .two, .about, .trio { grid-template-columns: 1fr; }
  .flow, .tiles { grid-template-columns: 1fr; }
  .sec-h { max-width: none; }
  .foot-links { flex-wrap: wrap; }
  .foot-links a { padding: .5rem .2rem; }
}

/* Motion: short hero intro (~1 s) + light scroll reveal. Content is visible without JS. */
.js .hero-title .line > span { transform: translateY(105%); animation: rise .8s var(--ease) forwards; }
.js .hero-title .line:nth-child(2) > span { animation-delay: .12s; }
.js .hero-sub, .js .hero-actions { opacity: 0; transform: translateY(14px); animation: fade .7s var(--ease) .35s forwards; }
.js .hero-actions { animation-delay: .45s; }
.js .hero-signal .arc { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .7s var(--ease) .15s forwards; }
.js .hero-signal .a2 { animation-delay: .35s; }
.js .hero-signal .dot { transform-origin: 16px 48px; animation: pop .5s var(--ease) both; }
.hero-signal .ring { transform-origin: 16px 48px; animation: ring 3.6s ease-out 1s infinite; opacity: 0; }
.hero-signal .r2 { animation-delay: 1.9s; } .hero-signal .r3 { animation-delay: 2.8s; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .demos-grid .reveal:nth-child(2), .js .points-list .reveal:nth-child(2), .js .sc-grid .reveal:nth-child(even) { transition-delay: .08s; }
.js .points-list .reveal:nth-child(3) { transition-delay: .16s; }
@keyframes rise { to { transform: none; } }
@keyframes fade { to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes ring { 0% { opacity: .9; transform: scale(.55); } 100% { opacity: 0; transform: scale(1.15); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .hero-title .line > span, .js .hero-sub, .js .hero-actions, .js .reveal { opacity: 1; transform: none; }
  .js .hero-signal .arc { stroke-dashoffset: 0; }
  .hero-signal .ring { opacity: .5; transform: none; }
  .card:hover .pv-page { transform: none; }
  .pv-l { transform: none !important; }
}
/* touch: no hover lift, no pointer parallax (main.js does not attach it either) */
@media (hover: none) { .card:hover, .btn--accent:hover { transform: none; } .card:hover .pv-page { transform: none; } .pv-l { transform: none !important; } }

/* Mobile */
@media (max-width: 760px) {
  body { font-size: 1rem; }
  .nav-logo img { width: 128px; }
  .hero { padding: 6.2rem 0 8rem; }
  .hero-title { font-size: clamp(2.7rem, 13.5vw, 4rem); }
  /* arcs: small, faint, top-right corner, clear of the CTA (which sits in the lower half of the hero); outer ring hidden */
  .hero-signal { width: 58vw; right: -14vw; top: 4.6rem; opacity: .38; }
  .hero-signal .r3 { display: none; }
  .demos { margin-top: -5.2rem; }
  .demos-grid { grid-template-columns: 1fr; gap: 1rem; }
  .card { padding: .6rem; border-radius: 18px; }
  .badge { top: -.7rem; right: 1rem; }
  /* bigger, cropped previews: taller frame, hero text scaled up from the top-left so the headline is readable on a phone */
  .pv { aspect-ratio: 4 / 3; }
  .pv--client .pv-fg { transform: scale(1.3) !important; transform-origin: 0 0; }
  .pv--client .pv-art { opacity: .35; }
  .pv--ba .ba-side { padding-top: 11cqw; }
  .pv--ba .pv-h { font-size: 7.6cqw; }
  .pv--ba .pv-sub { font-size: 2.6cqw; }
  .pv--ba .ba-tag { font-size: 2.1cqw; }
  .pv--ba .pv-btn { font-size: 2.7cqw; }
  .ba-grid { grid-template-columns: 1fr; }
  .card-sub { font-size: .875rem; }
  .points-list { grid-template-columns: 1fr; gap: 1.3rem; padding-block: .5rem 3rem; }
  .offer { padding: 3.5rem 0 4rem; }
  .sc-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .btn--sm { width: auto; }
  .hero-actions .btn { width: auto; }
  .ribbon { font-size: .8125rem; }
  .steps { flex-direction: column; align-items: flex-start; }
}

/* ---------- Contact form (replaces mailto CTAs) ---------- */
.form-card { width: 100%; max-width: 680px; margin: .4rem 0 0; padding: clamp(1.2rem, 3vw, 2rem); background: var(--surface); color: var(--ink); border-radius: 22px; text-align: left; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .6); display: grid; gap: 1rem; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.f-row { display: grid; gap: .35rem; align-content: start; }
.f-row > label:not(.f-check) { font-weight: 650; font-size: .9375rem; letter-spacing: -.01em; }
.f-opt { font-weight: 500; color: var(--muted); }
.form-card input[type=text], .form-card input[type=email], .form-card textarea { width: 100%; min-height: 48px; padding: .7rem .9rem; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid #B8C6E4; border-radius: 12px; transition: border-color .2s, box-shadow .25s var(--ease); }
.form-card textarea { resize: vertical; min-height: 7rem; }
.form-card input:focus, .form-card textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29, 78, 216, .2); }
.form-card :focus-visible { outline-color: var(--blue); }
.form-card input:focus-visible, .form-card textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
.f-row.is-invalid input, .f-row.is-invalid textarea { border-color: #B42318; }
.f-err { margin: 0; color: #B42318; font-size: .875rem; font-weight: 600; }
.f-check { display: flex; align-items: flex-start; gap: .7rem; min-height: 44px; padding: .45rem 0; cursor: pointer; font-size: .9375rem; line-height: 1.4; }
.f-check input { flex: none; width: 1.4rem; height: 1.4rem; margin: .1rem 0 0; accent-color: var(--blue); }
.f-check a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.f-call { grid-template-columns: auto 1fr; align-items: center; gap: .4rem 1rem; }
.f-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.f-status { margin: 0; font-size: .9375rem; font-weight: 600; }
.f-status:empty { display: none; }
.f-status.is-err { color: #B42318; }
.f-status a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.f-status:focus { outline: none; }
.f-submit { justify-self: start; border: 0; cursor: pointer; font-family: inherit; min-height: 48px; }
.f-submit[disabled] { opacity: .7; cursor: progress; transform: none; }
.f-done { display: grid; justify-items: center; gap: .6rem; padding: 1rem 0; text-align: center; }
.f-done:focus { outline: none; }
.f-done h3 { margin: 0; font-size: 1.6rem; letter-spacing: -.03em; }
.f-done p { margin: 0; color: var(--muted); }
.f-check-svg { width: 64px; height: 64px; }
.f-check-svg circle { fill: #FEF3C7; stroke: none; }
.f-check-svg path { fill: none; stroke: #92400E; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.btn--ghost { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .35); }
.btn--ghost:hover { border-color: var(--accent); }
.offer-contact { align-items: baseline; color: #BED3FD; }
.priv { padding: clamp(2rem, 5vw, 3rem) 0; }
.priv-h { margin: 0 0 .5rem; font-size: 1.15rem; letter-spacing: -.02em; }
.priv p { margin: 0; max-width: 46em; color: var(--muted); font-size: .9375rem; }
.priv a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 640px) {
  .f-grid { grid-template-columns: 1fr; }
  .f-submit { justify-self: stretch; }
  .f-call { grid-template-columns: 1fr; }
}

/* ---------- Step strips: connector geometry (the animation lives in the no-preference block below) ---------- */
.flow li { position: relative; }
.flow li:not(:last-child)::after { content: ''; position: absolute; top: 2.3rem; left: 100%; width: 1rem; height: 2px; margin-top: -1px; background: var(--accent); }
.steps li { position: relative; }
.steps li:not(:last-child)::after { content: ''; position: absolute; top: 1rem; left: calc(100% + .15rem); width: calc(clamp(1rem, 3vw, 2.2rem) - .3rem); height: 2px; background: rgba(255, 255, 255, .35); }
@media (max-width: 980px) { .flow li:not(:last-child)::after { display: none; } }
@media (max-width: 760px) {
  .flow li:not(:last-child)::after { display: block; top: 100%; left: 2.3rem; width: 2px; height: 1rem; margin: 0; }
  .steps li:not(:last-child)::after { left: calc(1rem - 1px); top: 100%; width: 2px; height: .6rem; }
}
html, body { overflow-x: clip; }

/* Demo cards: Propshot (our site) and "this site can be yours" */
.pv--ps .pv-bg { background: radial-gradient(circle at 75% 20%, #1A3FB0 0%, #0B2A6F 45%, #060F24 100%); }
.pv--ps .ps-mark { position: absolute; left: 6cqw; top: 14cqw; font-size: 9cqw; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.pv--ps .ps-line { position: absolute; left: 6cqw; height: 1.6cqw; border-radius: 99px; background: rgba(255, 255, 255, .22); }
.pv--ps .ps-line--1 { top: 28cqw; width: 42cqw; } .pv--ps .ps-line--2 { top: 32cqw; width: 34cqw; } .pv--ps .ps-line--3 { top: 36cqw; width: 26cqw; background: var(--accent); }
.pv--you .pv-bg { background: radial-gradient(circle at 80% 10%, #1A3FB0 0%, #0B2A6F 50%, #060F24 100%); }
.pv--you .pv-h { position: absolute; left: 6cqw; top: 13cqw; font-size: 8.6cqw; }
.pv--you .pv-btn { position: absolute; left: 6cqw; top: 38cqw; background: var(--accent); color: var(--on-accent); }
@media (max-width: 760px) { .pv--ps .pv-fg, .pv--you .pv-fg { transform: scale(1.25) !important; transform-origin: 0 0; } }

/* ---------- Motion extras: ALL animation rules sit inside no-preference; reduced motion keeps the final static state ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* hero signal: light scroll parallax (<= 20 px, set by main.js on desktop only) */
  .hero-signal { transform: translate3d(0, calc(var(--py, 0) * 1px), 0); }
  /* numbered dots light up in sequence, connectors draw between the cards */
  /* .steps (offer): time-based version only without the scroll engine (html.fx-ready has its own scroll-linked rules below) */
  .js .flow li.reveal::before, .js:not(.fx-ready) .steps li::before { background: #CBD8F2; color: var(--muted); transform: scale(.82); transition: background .45s ease, color .45s ease, transform .5s var(--ease); }
  .js:not(.fx-ready) .offer-inner .steps li::before { background: rgba(255, 255, 255, .18); color: #fff; }
  .js .flow li.reveal.in::before, .js:not(.fx-ready) .offer-inner.in .steps li::before { background: var(--accent); color: var(--on-accent); transform: none; }
  .js .flow li.reveal.in:nth-child(1)::before { transition-delay: .25s; } .js .flow li.reveal.in:nth-child(2)::before { transition-delay: .45s; }
  .js .flow li.reveal.in:nth-child(3)::before { transition-delay: .65s; } .js .flow li.reveal.in:nth-child(4)::before { transition-delay: .85s; }
  .js .flow li.reveal.in:nth-child(5)::before { transition-delay: 1.05s; }
  .js:not(.fx-ready) .offer-inner.in .steps li:nth-child(1)::before { transition-delay: .3s; } .js:not(.fx-ready) .offer-inner.in .steps li:nth-child(2)::before { transition-delay: .55s; }
  .js:not(.fx-ready) .offer-inner.in .steps li:nth-child(3)::before { transition-delay: .8s; }
  .js .flow li:not(:last-child)::after, .js:not(.fx-ready) .steps li:not(:last-child)::after { transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
  .js .flow li.in:not(:last-child)::after, .js:not(.fx-ready) .offer-inner.in .steps li:not(:last-child)::after { transform: scaleX(1); }
  .js .flow li.in:nth-child(1)::after { transition-delay: .5s; } .js .flow li.in:nth-child(2)::after { transition-delay: .7s; }
  .js .flow li.in:nth-child(3)::after { transition-delay: .9s; } .js .flow li.in:nth-child(4)::after { transition-delay: 1.1s; }
  .js:not(.fx-ready) .offer-inner.in .steps li:nth-child(1)::after { transition-delay: .55s; } .js:not(.fx-ready) .offer-inner.in .steps li:nth-child(2)::after { transition-delay: .8s; }
  /* success check draws */
  .f-check-svg path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .6s var(--ease) .2s forwards; }
  .f-check-svg circle { transform-origin: center; animation: pop .45s var(--ease) both; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 760px) {
  .js .flow li:not(:last-child)::after { transform: scaleY(0); transform-origin: top; }
  .js .flow li.in:not(:last-child)::after { transform: scaleY(1); }
}
/* hover micro-interactions: only with a real pointer */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .js .flow li.reveal, .js .tiles li.reveal, .js .trio > div.reveal { transition: opacity .7s var(--ease), transform .45s var(--ease), box-shadow .35s var(--ease); }
  .js .flow li.reveal.in:hover, .js .tiles li.reveal.in:hover, .js .trio > div.reveal.in:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -24px rgba(29, 78, 216, .45); transition-delay: 0s; }
  .faq summary { border-radius: 16px; transition: background .2s; }
  .faq summary:hover { background: #F3F7FF; }
  .need { transition: transform .45s var(--ease), box-shadow .35s var(--ease); }
  .need:hover { transform: translateY(-3px); box-shadow: 0 30px 50px -30px rgba(29, 78, 216, .5); }
  .btn--accent:active, .f-submit:active { transform: scale(.98); }
}


/* Propshot demo: browser frame + phone whose screen scrolls through a real mobile screenshot */
.card--ps { grid-column: 1 / -1; overflow: visible; }
.card--ps + .card { grid-column: 1 / -1; justify-self: center; width: min(100%, calc(50% - .5 * clamp(1rem, 2.4vw, 2rem))); }
.card--ps:focus-visible { outline: 3px solid var(--sky); outline-offset: 4px; border-radius: 22px; }
.ps-demo { position: relative; overflow: hidden; border-radius: 14px; max-width: 100%; padding: clamp(.5rem, 2vw, 1.5rem) clamp(5rem, 22vw, 17rem) clamp(2rem, 6vw, 4.5rem) 0; background: radial-gradient(circle at 75% 20%, #1A3FB0 0%, #0B2A6F 45%, #060F24 100%); }
.ps-frame { position: relative; margin-left: clamp(.5rem, 3vw, 2rem); border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -24px rgba(6, 15, 36, .7); transition: transform .6s var(--ease); }
.ps-bar { display: flex; align-items: center; gap: .6rem; padding: .5rem .8rem; background: #EFF4FF; }
.ps-dots { display: flex; gap: .3rem; }
.ps-dots i { width: .6rem; height: .6rem; border-radius: 50%; background: #BED3FD; }
.ps-url { padding: .15rem .8rem; border-radius: 99px; background: #fff; color: #6a7a99; font-size: .8125rem; line-height: 1.3; }
.ps-page { aspect-ratio: 1200 / 750; overflow: hidden; background: #060F24; }
.ps-page img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.card--ps:hover .ps-frame { transform: scale(1.012); }
.ps-phone { position: absolute; z-index: 2; right: clamp(.75rem, 4vw, 3rem); bottom: clamp(.75rem, 2.5vw, 2rem); width: clamp(6.5rem, 24vw, 16rem); }
.ps-phone-body { position: relative; aspect-ratio: 9 / 19.2; padding: 5%; border-radius: 18% / 8.5%; background: linear-gradient(145deg, #1B2B52 0%, #060F24 60%);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .16), 0 0 0 1px rgba(6, 15, 36, .5), 0 34px 60px -24px rgba(0, 0, 0, .7), 0 10px 22px -8px rgba(0, 0, 0, .4); }
.ps-phone-notch { position: absolute; z-index: 2; top: 3.6%; left: 50%; width: 28%; height: 2.4%; translate: -50% 0; border-radius: 99px; background: #060F24; }
.ps-phone-screen { position: relative; height: 100%; overflow: hidden; border-radius: 14% / 6.6%; background: #fff; container-type: size; }
.ps-phone-screen img { display: block; width: 100%; height: auto; }
.ps-phone-screen::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 38%); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .ps-phone-screen img { animation: phone-scroll 26s cubic-bezier(.65, 0, .35, 1) infinite alternate; animation-play-state: paused; }
  .js .card--ps.is-inview .ps-phone-screen img { animation-play-state: running; }
}
@media (prefers-reduced-motion: reduce) { .ps-frame, .card--ps:hover .ps-frame { transition: none; transform: none; } }
@keyframes phone-scroll {
  0%, 6% { transform: translateY(0); }
  20%, 28% { transform: translateY(calc((-100% + 100cqh) * .25)); }
  42%, 50% { transform: translateY(calc((-100% + 100cqh) * .5)); }
  64%, 72% { transform: translateY(calc((-100% + 100cqh) * .75)); }
  88%, 100% { transform: translateY(calc(-100% + 100cqh)); }
}
@media (max-width: 720px) {
  .card--ps + .card { width: 100%; }
  .ps-demo { padding-right: 0; padding-bottom: 0; display: flex; flex-direction: column; align-items: center; gap: 0; }
  .ps-frame { margin: .5rem .5rem 0; width: calc(100% - 1rem); }
  .ps-phone { position: relative; right: auto; bottom: auto; width: min(52vw, 11rem); margin: -2.25rem 0 -2.5rem; }
  .ps-demo { padding-bottom: 0; }
}
@media (hover: none) { .card--ps:hover .ps-frame { transform: none; } }

/* ---------- Lower page (#o-nas, #faq, ticker, #web-zdarma, #zpracovani-udaju, footer): scroll-LINKED effects (round 2) ----------
   main.js sets --p (0..1 = scroll progress of the element through the viewport) on every [data-scrub] element and html.fx-ready.
   Every formula reads var(--p, 1): without JS, with reduced motion or after any error there is no --p, so the page is static and final.
   Hidden/moved states are additionally wrapped in prefers-reduced-motion: no-preference. Native animation-timeline: view() moves only
   pure decoration (rings, orbs) under html.fx-native.  TO SWITCH OFF: remove the data-scrub attributes or main.js block 6. */
.sec--about { position: relative; overflow: clip; }
.sec--about .wrap { position: relative; }
.about-deco { position: absolute; right: -8%; top: 50%; width: clamp(15rem, 36vw, 32rem); aspect-ratio: 1; margin-top: calc(clamp(15rem, 36vw, 32rem) / -2); pointer-events: none; opacity: .55; }
.about-deco svg { width: 100%; height: 100%; overflow: visible; }
.about-deco .ring { fill: none; stroke: #AFC3F0; stroke-width: .5; }
.about-deco .ring:nth-child(2) { stroke-dasharray: 2 2.5; stroke: var(--accent); opacity: .7; }
.about-deco .dot { fill: var(--accent); }
.about > div:first-child::after { content: ''; display: block; width: 3.5rem; height: 3px; border-radius: 3px; background: var(--accent); margin-top: 1.3rem; transform-origin: left; }
.faq { position: relative; }
.faq::before { content: ''; position: absolute; left: -.7rem; top: .5rem; bottom: 1.2rem; width: 2px; border-radius: 2px; background: linear-gradient(var(--accent), rgba(245, 158, 11, 0)); transform-origin: top; }
.faq details { transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: #BFD0F5; box-shadow: 0 18px 40px -30px rgba(29, 78, 216, .45); }
.faq details[open] summary::after { background: var(--accent); color: var(--on-accent); }
.offer-title::after { content: ''; display: block; width: clamp(3.5rem, 12vw, 8rem); height: 4px; border-radius: 4px; background: var(--accent); margin: .16em auto 0; transform-origin: center; }
.offer-tag .num { display: inline-block; min-width: 1ch; text-align: center; font-variant-numeric: tabular-nums; }
.offer-orbs { position: absolute; inset: 0; pointer-events: none; }
.offer-orbs i { position: absolute; border-radius: 50%; background: radial-gradient(circle, rgba(29, 78, 216, .55), rgba(29, 78, 216, 0) 70%); }
.offer-orbs i:nth-child(1) { width: 42vw; height: 42vw; left: -12vw; top: -8vw; }
.offer-orbs i:nth-child(2) { width: 36vw; height: 36vw; right: -10vw; top: 30%; background: radial-gradient(circle, rgba(245, 158, 11, .22), rgba(245, 158, 11, 0) 70%); }
.offer-orbs i:nth-child(3) { width: 30vw; height: 30vw; left: 20%; bottom: -12vw; }
.f-submit { position: relative; overflow: hidden; }
.priv .wrap { position: relative; }
.priv .wrap::before { content: ''; position: absolute; left: var(--gutter); top: calc(clamp(2rem, 5vw, 3rem) / -2); width: min(46em, calc(100% - 2 * var(--gutter))); height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent) 0 3rem, #C9D6F2 3rem); transform-origin: left; }
.foot { position: relative; }
.foot::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent) 50%, transparent); transform-origin: center; }
[data-split] .w { display: inline-block; }
[data-split] .w > span { display: inline-block; }
[data-split="h"] .w { overflow: hidden; vertical-align: top; padding: 0 .06em .14em 0; margin: 0 -.06em -.14em 0; }

/* ticker strip (decorative, aria-hidden): three identical sets, the track moves by one set per loop */
.ticker { overflow: clip; padding: .8rem 0; background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); color: var(--muted); font-size: .8125rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; }
.ticker-track { display: flex; width: max-content; }
.ticker-set { display: inline-flex; align-items: center; }
.ticker-set i { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); margin: 0 1.4rem; }

@media (max-width: 760px) { .about-deco { right: -34%; opacity: .4; } .faq::before { left: -.55rem; } .ticker { font-size: .75rem; } }

@keyframes fx-up { from { opacity: 0; transform: translateY(16px); } }
@keyframes fx-x { from { transform: scaleX(0); } }
@keyframes fx-shine { to { transform: translateX(130%); } }
@keyframes fx-ticker { to { transform: translateX(calc(-100% / 3)); } }
@keyframes fx-deco { from { transform: translateY(90px) rotate(-28deg); } to { transform: translateY(-90px) rotate(28deg); } }
@keyframes fx-orbs { from { transform: translateY(14%) scale(.9); } to { transform: translateY(-14%) scale(1.1); } }

@media (prefers-reduced-motion: no-preference) {
  /* --- words: headings rise out of a mask, paragraphs brighten; --k = word index / count (set by main.js) --- */
  .fx-ready [data-split="h"] .w > span { --wp: clamp(0, calc((var(--p, 1) - var(--k, 0) * .55) / .45), 1); transform: translateY(calc((1 - var(--wp)) * 112%)); }
  .fx-ready [data-split="p"] .w > span { --wp: clamp(0, calc((var(--p, 1) - var(--k, 0) * .7) / .3), 1); opacity: calc(.14 + .86 * var(--wp)); }
  /* --- #o-nas --- */
  .fx-ready .about > div:first-child::after { transform: scaleX(var(--p, 1)); }
  .fx-ready .about-deco { transform: translateY(calc((.5 - var(--p, 1)) * 180px)) rotate(calc((var(--p, 1) - .5) * 56deg)); will-change: transform; }
  /* --- #faq --- */
  .fx-ready .faq::before { transform: scaleY(var(--p, 1)); }
  .fx-ready .faq details { opacity: var(--p, 1); transform: translateY(calc((1 - var(--p, 1)) * 30px)) scale(calc(.97 + .03 * var(--p, 1))); }
  .faq summary::after { transition: transform .35s var(--ease), background .3s, color .3s; }
  .faq details[open] summary::after { transform: rotate(180deg); }
  /* --- ticker --- */
  .fx-ready .ticker-track { animation: fx-ticker 42s linear infinite; }
  .fx-ready .ticker:not(.in-view) .ticker-track { animation-play-state: paused; }
  .fx-ready .ticker-shift { transform: translateX(calc(var(--p, 1) * -70px)); }
  /* --- #web-zdarma: the navy panel grows from an inset rounded card to full bleed while the section scrolls in --- */
  .fx-ready .offer-bg { inset: 0 -40px; border-radius: calc((1 - var(--p, 1)) * 34px); transform-origin: 50% 0; transform: scale(calc(.78 + .22 * var(--p, 1)), calc(.9 + .1 * var(--p, 1))); will-change: transform; }
  .fx-ready .offer-orbs { transform: translateY(calc((.5 - var(--p, 1)) * 28%)) scale(calc(.9 + .2 * var(--p, 1))); }
  .fx-ready .offer-tag, .fx-ready .offer-line, .fx-ready .btn--ghost, .fx-ready .offer-contact { opacity: var(--p, 1); transform: translateY(calc((1 - var(--p, 1)) * 22px)); }
  .fx-ready .offer-title::after { transform: scaleX(var(--p, 1)); }
  .fx-ready .steps li:nth-child(1) { --k: 0; } .fx-ready .steps li:nth-child(2) { --k: .3; } .fx-ready .steps li:nth-child(3) { --k: .6; }
  .fx-ready .steps li { --sk: clamp(0, calc((var(--p, 1) - var(--k, 0)) * 2.5), 1); --sc: clamp(0, calc((var(--p, 1) - var(--k, 0) - .2) * 2.5), 1); }
  .fx-ready .steps li > * { opacity: calc(.45 + .55 * var(--sk)); }
  .fx-ready .steps li::before { --sn: clamp(0, calc((var(--sk) - .75) * 4), 1); background: radial-gradient(circle, var(--accent) calc(var(--sk) * 71%), rgba(255, 255, 255, .16) calc(var(--sk) * 71% + 1px)); color: #fff; transform: scale(calc(.86 + .14 * var(--sk))); }
  .fx-ready .steps li:not(:last-child)::after { transform: scaleX(var(--sc)); transform-origin: left; }
  @media (max-width: 760px) { .fx-ready .steps li:not(:last-child)::after { transform: scaleY(var(--sc)); transform-origin: top; } }
  .fx-ready .form-card { transform-origin: 50% 100%; transform: perspective(1400px) rotateX(calc((1 - var(--p, 1)) * 7deg)) translateY(calc((1 - var(--p, 1)) * 44px)) scale(calc(.955 + .045 * var(--p, 1))); }
  .fx-ready .offer-inner.reveal { opacity: 1; transform: none; transition: none; }
  .fx-ready .f-submit::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); transform: translateX(-130%); pointer-events: none; }
  .fx-ready .f-submit.is-shine::after { animation: fx-shine 1.1s ease 1 both; }
  /* --- #zpracovani-udaju --- */
  .fx-ready .priv .wrap::before { transform: scaleX(var(--p, 1)); }
  /* --- footer (IntersectionObserver, time based) --- */
  .fx-ready .foot:not(.is-in)::before { transform: scaleX(0); }
  .fx-ready .foot:not(.is-in) .foot-inner > span { opacity: 0; transform: translateY(10px); }
  .fx-ready .foot.is-in::before { animation: fx-x 1.3s var(--ease) backwards; }
  .fx-ready .foot.is-in .foot-inner > span { animation: fx-up .7s var(--ease) .15s backwards; }
  .fx-ready .foot.is-in .foot-inner > span:nth-child(2) { animation-delay: .3s; }
  /* --- section tints fade in with scroll; step numbers change colour with the fill (only where color-mix exists) --- */
  @supports (color: color-mix(in srgb, red 50%, blue)) {
    .fx-ready #faq, .fx-ready .priv { background: color-mix(in srgb, #EDF2FD calc(var(--p, 1) * 100%), var(--bg)); }
    .fx-ready .steps li::before { color: color-mix(in srgb, var(--on-accent) calc(var(--sn, 1) * 100%), #fff); }
  }
  /* --- native scroll timelines for pure decoration (main.js then leaves these elements alone) --- */
  @supports (animation-timeline: view()) {
    .fx-native .about-deco { animation: fx-deco linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    .fx-native .offer-orbs { animation: fx-orbs linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  }
  /* --- desktop pointer: magnetic buttons and a light 3D tilt of the FAQ cards (main.js sets --mx/--my/--rx/--ry) --- */
  @media (hover: hover) and (pointer: fine) {
    .fx-ready .btn.is-mag { transform: translate(calc(var(--mx, 0) * 1px), calc(var(--my, 0) * 1px - 2px)); transition: transform .18s ease-out; }
    .fx-ready .btn.is-mag:active { transform: translate(calc(var(--mx, 0) * 1px), calc(var(--my, 0) * 1px)) scale(.98); }
    .fx-ready .faq details.is-tilt { transform: perspective(900px) rotateX(calc(var(--rx, 0) * 1deg)) rotateY(calc(var(--ry, 0) * 1deg)) translateY(calc((1 - var(--p, 1)) * 30px)); transition: transform .16s ease-out; }
  }
  /* FAQ: smooth open/close where the browser supports it (behaviour of <details> is unchanged) */
  :root { interpolate-size: allow-keywords; }
  @supports selector(::details-content) {
    .faq details::details-content { block-size: 0; overflow: clip; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
    .faq details[open]::details-content { block-size: auto; }
  }
}

/* ========== #164 Sub-pages + shared menu/footer (tools/gen-pages.mjs). Same tokens, same sections; new blocks are cards/icons/grids. ========== */
/* --- header: "Služby" dropdown (desktop) and hamburger panel (<= 980px, JS only; without JS the links are in the footer) --- */
.nav-dd { position: relative; }
.nav-dd-btn { display: inline-flex; align-items: center; gap: .3rem; margin: 0; padding: .4rem 0; border: 0; border-bottom: 2px solid transparent; background: none; font: inherit; color: inherit; cursor: pointer; transition: color .25s, border-color .25s; }
.nav-dd-btn:hover, .nav-dd.is-open .nav-dd-btn { color: #fff; border-color: var(--accent); }
.nav-dd-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.nav-chev { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.nav-dd.is-open .nav-chev { transform: rotate(180deg); }
.nav-dd-label { display: none; }
.nav-dd-menu { display: none; position: absolute; z-index: 20; top: calc(100% + .5rem); left: 50%; transform: translateX(-50%); min-width: 31rem; padding: .6rem; grid-template-columns: 1fr 1fr; gap: .1rem .3rem; background: var(--surface); color: var(--ink); border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 30px 60px -24px rgba(6, 15, 36, .55); }
.nav-dd-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -.6rem; height: .6rem; } /* hover bridge between the button and the panel */
.nav-dd.is-open .nav-dd-menu, html:not(.js) .nav-dd:focus-within .nav-dd-menu { display: grid; }
@media (hover: hover) { .nav-dd:hover .nav-dd-menu { display: grid; } }
.nav-links .nav-dd-menu a { display: flex; align-items: center; gap: .7rem; padding: .5rem .7rem; border: 0; border-radius: 12px; color: var(--ink); font-weight: 650; }
.nav-links .nav-dd-menu a:hover, .nav-links .nav-dd-menu a:focus-visible { background: #EDF2FD; color: var(--blue); }
.nav-dd-menu svg { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: #DCE7FE; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav-dd-sep { grid-column: 1 / -1; margin: .4rem .7rem 0; padding-top: .55rem; border-top: 1px solid var(--border); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nav-burger { display: none; flex: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 44px; height: 44px; margin-left: auto; padding: 0; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .1); cursor: pointer; }
.nav-burger:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nav-burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease), opacity .2s; }
.nav.is-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 980px) {
  .js .nav-burger { display: inline-flex; }
  .js .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 20; margin: 0; flex-direction: column; gap: 0; padding: .4rem var(--gutter) 1.4rem; background: var(--navy); border-top: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 40px 60px -24px rgba(0, 0, 0, .7); max-height: calc(100dvh - 4.8rem); overflow: auto; font-size: 1.0625rem; }
  .js .nav.is-open .nav-links { display: flex; }
  .nav-links > a { padding: .85rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav-dd-btn { display: none; }
  .nav-dd-label { display: block; padding: .9rem 0 .3rem; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: #9db6e8; }
  .js .nav-dd-menu, .nav-dd-menu { display: grid; position: static; transform: none; min-width: 0; padding: 0 0 .6rem; gap: .1rem .6rem; background: none; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); border-radius: 0; box-shadow: none; color: inherit; }
  .nav-links .nav-dd-menu a { padding: .55rem .4rem .55rem 0; color: #BED3FD; }
  .nav-links .nav-dd-menu a:hover, .nav-links .nav-dd-menu a:focus-visible { background: rgba(255, 255, 255, .06); color: #fff; }
  .nav-dd-menu svg { background: rgba(255, 255, 255, .1); stroke: var(--sky); }
  .nav-dd-sep { margin: .3rem 0 0; padding-top: .55rem; border-color: rgba(255, 255, 255, .08); color: #9db6e8; }
}
@media (max-width: 480px) { .nav { gap: .6rem; } .nav-logo img { width: 112px; } .nav-cta { padding: .55rem .8rem; font-size: .875rem; } }

/* --- sub-page hero --- */
.hero--sub .hero-title { font-size: clamp(2.3rem, 5.6vw, 4.6rem); max-width: 16ch; }
.hero--sub .hero-sub { max-width: 34em; }
.hero-kicker { margin: 0 0 .6rem; font-weight: 700; font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-hi); }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.2rem; font-size: .875rem; color: #9db6e8; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #BED3FD; }
.hero-deco { position: absolute; z-index: 1; right: -5vw; top: 50%; width: min(42vw, 540px); aspect-ratio: 1; transform: translateY(-50%); opacity: .55; pointer-events: none; }
.hero-deco svg { width: 100%; height: 100%; overflow: visible; }
.hero-deco .ring { fill: none; stroke: rgba(94, 141, 245, .5); stroke-width: .5; }
.hero-deco .ring:nth-child(2) { stroke: var(--accent); stroke-dasharray: 2 2.5; opacity: .75; }
.hero-deco .dot { fill: var(--accent); }

/* --- icons: one blue chip for every outline icon (24x24 stroke paths from gen-pages.mjs) --- */
.ico, .tile-ico { flex: none; display: block; width: 48px; height: 48px; padding: 12px; border-radius: 14px; background: #DCE7FE; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tile-ico { width: 44px; height: 44px; padding: 10px; border-radius: 12px; margin-bottom: .9rem; }

/* --- lead cards: overlap the hero a little --- */
.lead { position: relative; z-index: 3; }
.lead-grid { display: grid; grid-template-columns: repeat(var(--n, 2), 1fr); gap: 1rem; margin-top: calc(-1 * clamp(1.6rem, 4vw, 2.6rem)); }
.lead-grid--1 { --n: 1; } .lead-grid--2 { --n: 2; } .lead-grid--3 { --n: 3; } .lead-grid--4 { --n: 4; }
.lead-card { display: flex; align-items: flex-start; gap: 1rem; padding: 1.2rem 1.3rem; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 24px 50px -34px rgba(6, 15, 36, .5); }
.lead-card p { margin: 0; font-weight: 550; line-height: 1.45; }

/* --- showcase (propshot.cz) --- */
.show-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(1.4rem, 4vw, 3rem); align-items: center; }
.sec-head .link-pill { margin-top: 1.1rem; }
.show-card { position: relative; display: block; padding: .8rem; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(6, 15, 36, .5); transition: transform .4s var(--ease), box-shadow .4s; }
.show-card:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -26px rgba(29, 78, 216, .45); }
.show-bar { display: flex; align-items: center; gap: .4rem; padding: .2rem .4rem .7rem; font-size: .8125rem; color: var(--muted); }
.show-bar i { width: 9px; height: 9px; border-radius: 50%; background: #D9E2F3; }
.show-bar span { margin-left: .5rem; padding: .15rem .7rem; border-radius: 999px; background: #EDF2FD; font-weight: 600; }
.show-card img { display: block; width: 100%; height: auto; border: 1px solid var(--border); border-radius: 12px; }

/* --- tiles with icons, 3-column variant, text-only tiles --- */
.tiles--3 { grid-template-columns: repeat(3, 1fr); }
.tiles .tile-txt { margin: 0; color: var(--ink); font-size: 1rem; font-weight: 550; line-height: 1.45; }

/* --- step strips with 3 or 4 steps; text-only steps --- */
.flow--3 { grid-template-columns: repeat(3, 1fr); }
.flow--4 { grid-template-columns: repeat(4, 1fr); }
.flow .flow-only { font-size: 1.0625rem; font-weight: 600; line-height: 1.4; }

/* --- points list on sub-pages: icon + one sentence --- */
.points-list--sub { padding-block: 0; }
.points-list--sub .pt { margin-top: .55rem; color: var(--ink); font-size: 1rem; font-weight: 550; line-height: 1.4; }

/* --- callouts (icon + heading + text, optional badge) --- */
.callouts { display: grid; grid-template-columns: repeat(var(--n, 2), 1fr); gap: 1rem; }
.callouts--1 { --n: 1; } .callouts--2 { --n: 2; } .callouts--3 { --n: 3; } .callouts--4 { --n: 4; }
.callout { display: flex; align-items: flex-start; gap: 1rem; padding: 1.3rem; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; }
.callout h3 { margin: 0 0 .35rem; font-size: 1.15rem; letter-spacing: -.025em; line-height: 1.25; }
.callout p { margin: 0; color: var(--muted); line-height: 1.5; }
.callout-badge { display: inline-flex; align-items: center; gap: .4rem; margin-top: .8rem; padding: .3rem .75rem .3rem .55rem; border-radius: 999px; background: #FEF3C7; color: #92400E; font-weight: 700; font-size: .8125rem; }
.callout-badge svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* --- compare cards + brand logos (Simple Icons paths, tools/brands-data.json) --- */
.cmp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.cmp-card { display: flex; flex-direction: column; padding: 1.3rem; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; }
.cmp-card h3 { margin: 0 0 .4rem; font-size: 1.2rem; letter-spacing: -.025em; line-height: 1.25; }
.cmp-card p { margin: 0; color: var(--muted); line-height: 1.5; }
.cmp-logos { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .75rem .35rem .55rem; border-radius: 999px; background: var(--bg); border: 1px solid var(--border); font-weight: 650; font-size: .875rem; }
.brand svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.brand svg[role="img"] { stroke: none; }
.brand--text { padding-inline: .75rem; }
.brands { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }

/* --- service links (sub-pages) and the "Co dalšího umíme" grid on the home page --- */
.svc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.svc li { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: 1rem 1.1rem; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.svc li:hover { transform: translateY(-4px); border-color: #BFD0F5; box-shadow: 0 24px 50px -30px rgba(29, 78, 216, .45); }
.svc li .tile-ico { margin: 0; }
.svc p { margin: 0; font-weight: 650; letter-spacing: -.01em; line-height: 1.3; }
.svc p a::after { content: ''; position: absolute; inset: 0; border-radius: 18px; }
.svc p a:focus-visible { outline: none; }
.svc li:has(a:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.svc-arrow { width: 22px; height: 22px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.svc li:hover .svc-arrow { transform: translateX(4px); }

/* --- chips (places), checklist card, yes/no pair --- */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.chips li { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .95rem .5rem .7rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-weight: 600; font-size: .9375rem; }
.chips svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.checks--card { padding: 1.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; box-shadow: 0 24px 50px -34px rgba(6, 15, 36, .5); }
.yesno { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.yesno > div { display: flex; align-items: flex-start; gap: 1rem; padding: 1.3rem; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); }
.yesno > div > svg { flex: none; width: 44px; height: 44px; padding: 11px; border-radius: 50%; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.yesno-no > svg { background: #FEE4E2; stroke: #B42318; }
.yesno-yes > svg { background: #DCFCE7; stroke: #15803D; }
.yesno p { margin: 0; font-weight: 550; line-height: 1.45; }

/* --- FAQ page: topic jump links + grouped questions --- */
.faq-jump { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: clamp(1.6rem, 4vw, 2.6rem); }
.faq-jump a { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem .55rem .8rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-weight: 650; font-size: .9375rem; transition: border-color .25s, color .25s; }
.faq-jump a:hover { border-color: var(--blue); color: var(--blue); }
.faq-jump svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.faq-group { margin-top: clamp(2rem, 5vw, 3rem); scroll-margin-top: 1rem; }
.faq-jump + .faq-group { margin-top: 0; }
.faq-group .sec-head { margin-bottom: 1.1rem; }
.sec-h--sm { display: flex; align-items: center; gap: .8rem; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.sec-h--sm .ico { width: 44px; height: 44px; padding: 10px; }

/* --- related links, text links inside cards --- */
.sec--links { padding-top: 0; }
.pills { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .8rem; }
.link-pill { display: inline-flex; align-items: center; gap: .4rem; padding: .6rem 1.1rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--blue); font-weight: 650; font-size: .9375rem; transition: border-color .25s, transform .3s var(--ease); }
.link-pill:hover { border-color: var(--blue); transform: translateY(-2px); }
.txt-link, .sub main :is(p, li, dd) > a:not([class]) { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(29, 78, 216, .35); }
.txt-link:hover, .sub main :is(p, li, dd) > a:not([class]):hover { text-decoration-color: currentColor; }
.sub main .svc p > a { color: inherit; text-decoration: none; }

/* --- contact page --- */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.stat { display: grid; align-content: center; padding: 1.3rem; border-radius: 18px; background: var(--navy); color: #fff; }
.stat-n { font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--accent-hi); }
.stat-u { margin-top: .25rem; font-weight: 700; letter-spacing: -.01em; }
.stat-l { color: #9db6e8; font-size: .9375rem; }
.contact-card { display: flex; align-items: center; gap: 1rem; padding: 1.2rem; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.contact-card:hover { transform: translateY(-4px); border-color: #BFD0F5; box-shadow: 0 24px 50px -30px rgba(29, 78, 216, .45); }
.contact-card > span { display: grid; gap: .1rem; min-width: 0; }
.contact-card b { font-size: 1.05rem; letter-spacing: -.02em; }
.contact-card > span > span { color: var(--blue); font-weight: 600; font-size: .9375rem; overflow-wrap: anywhere; }

/* --- contact strip on sub-pages (same form as #web-zdarma on the home page, smaller title) --- */
.offer-title--sm { font-size: clamp(2.6rem, 7vw, 5.5rem); }

/* --- footer link columns (home + sub-pages) --- */
.foot { padding-top: 2.4rem; }
.foot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding-bottom: 1.6rem; margin-bottom: 1.3rem; border-bottom: 1px solid var(--border); }
.foot-col { display: grid; gap: .3rem; justify-items: start; }
.foot-col b { margin-bottom: .25rem; color: var(--ink); }
.foot-col a { padding: .2rem 0; }

/* --- reveal stagger for the new grids --- */
.js :is(.lead-grid, .callouts, .cmp, .svc, .contact-grid, .tiles--3) .reveal:nth-child(2) { transition-delay: .06s; }
.js :is(.lead-grid, .callouts, .cmp, .svc, .contact-grid, .tiles--3) .reveal:nth-child(3) { transition-delay: .12s; }
.js :is(.lead-grid, .callouts, .svc, .contact-grid) .reveal:nth-child(4) { transition-delay: .18s; }
.js .svc .reveal:nth-child(5) { transition-delay: .24s; }
.js .svc .reveal:nth-child(6) { transition-delay: .3s; }

@media (max-width: 980px) {
  .tiles--3, .flow--3, .flow--4, .cmp, .svc, .callouts--3, .callouts--4, .lead-grid--3, .lead-grid--4, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .show-grid { grid-template-columns: 1fr; }
  .nav-dd-menu { min-width: 0; }
}
@media (max-width: 760px) {
  .lead-grid, .tiles--3, .flow--3, .flow--4, .callouts, .cmp, .svc, .yesno, .contact-grid, .points-list--sub { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .hero--sub .hero-title { font-size: clamp(2.1rem, 9.5vw, 3rem); }
  .hero-deco { width: 72vw; right: -32vw; opacity: .35; }
  .sec-h--sm { font-size: 1.45rem; }
  .svc li { padding: .9rem 1rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .hero-deco { opacity: 0; animation: deco-in 1s var(--ease) .25s forwards; }
}
@keyframes deco-in { to { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .js .hero-deco { opacity: .55; } }
@media (hover: none) { .svc li:hover, .show-card:hover, .contact-card:hover, .link-pill:hover { transform: none; } }

/* ========== #164 (2) merged /marketing/ page, 4-up service grid, scroll-linked extras ==========
   Same family as #163: every rule below reads var(--p, 1) set by main.js block 6 on [data-scrub] elements, so without JS or with
   prefers-reduced-motion: reduce the page is static and final. Hidden/moved states only live inside the no-preference query. */
.svc--4 { grid-template-columns: repeat(4, 1fr); }
.sec--jump { padding: clamp(1.2rem, 3vw, 2rem) 0 0; }
.sec--jump .faq-jump { margin-bottom: 0; }
.sec--topic { padding-bottom: 0; scroll-margin-top: 1rem; }
.topic { position: relative; display: flex; align-items: flex-start; gap: clamp(1rem, 3vw, 2rem); padding-top: clamp(1.6rem, 4vw, 2.6rem); border-top: 1px solid var(--border); }
.topic::before { content: ''; position: absolute; left: 0; top: -1px; width: min(100%, 22rem); height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--blue)); transform-origin: left; }
.topic-n { flex: none; margin-top: .1em; font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: #C9D6F2; font-variant-numeric: tabular-nums; }
.topic .sec-kicker { margin-top: .4rem; }
.sec-h--xl { font-size: clamp(2.1rem, 5vw, 3.6rem); }
.lead--in { padding-top: clamp(1.2rem, 3vw, 2rem); }
.lead--in .lead-grid { margin-top: 0; }
.faq-group { scroll-margin-top: 1rem; }
@media (max-width: 980px) { .svc--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .svc--4 { grid-template-columns: 1fr; } .topic { gap: .9rem; } .topic-n { font-size: 2.2rem; } .sec-h--xl { font-size: clamp(1.9rem, 8vw, 2.6rem); } }
@media (prefers-reduced-motion: no-preference) {
  /* section heads: kicker slides in from the left (heading words and lead already rise/brighten via [data-split]) */
  .fx-ready .sec-head[data-scrub] .sec-kicker { opacity: var(--p, 1); transform: translateX(calc((1 - var(--p, 1)) * -14px)); }
  /* hero decoration: the rings turn and drift up while the hero scrolls away (parallax) */
  .fx-ready .hero-deco[data-scrub] { transform: translateY(calc(-50% - (var(--p, .25) - .25) * 120px)) rotate(calc((var(--p, .25) - .25) * 70deg)); will-change: transform; }
  /* lead cards: staggered rise against the grid's progress */
  .fx-ready .lead-grid[data-scrub] .lead-card { --lp: clamp(0, calc((var(--p, 1) - var(--k, 0)) / (1 - var(--k, 0))), 1); opacity: var(--lp); transform: translateY(calc((1 - var(--lp)) * 28px)) scale(calc(.97 + .03 * var(--lp))); }
  .fx-ready .lead-grid .lead-card:nth-child(2) { --k: .3; } .fx-ready .lead-grid .lead-card:nth-child(3) { --k: .5; }
  /* brand chips pop in one after another */
  .fx-ready .brands[data-scrub] .brand { --bp: clamp(0, calc((var(--p, 1) - var(--k, 0)) / .55), 1); opacity: var(--bp); transform: translateY(calc((1 - var(--bp)) * 10px)) scale(calc(.92 + .08 * var(--bp))); }
  .fx-ready .brands .brand:nth-child(2) { --k: .09; } .fx-ready .brands .brand:nth-child(3) { --k: .18; } .fx-ready .brands .brand:nth-child(4) { --k: .27; } .fx-ready .brands .brand:nth-child(5) { --k: .36; }
  /* topic heads (merged page): accent line draws, the big number settles */
  .fx-ready .topic::before { transform: scaleX(var(--p, 1)); }
  .fx-ready .topic-n { opacity: calc(.25 + .75 * var(--p, 1)); transform: translateY(calc((1 - var(--p, 1)) * 26px)); }
  /* footer columns rise once the footer is in view (data-fx → .is-in, like .foot-inner on the home page) */
  .fx-ready .foot:not(.is-in) .foot-col { opacity: 0; }
  .fx-ready .foot.is-in .foot-col { animation: fx-up .6s var(--ease) backwards; }
  .fx-ready .foot.is-in .foot-col:nth-child(2) { animation-delay: .1s; } .fx-ready .foot.is-in .foot-col:nth-child(3) { animation-delay: .2s; }
  /* tinted sections fade their background in while they enter (same as #faq on the home page) */
  @supports (background: color-mix(in srgb, red, blue)) {
    .fx-ready .sec--tint[data-scrub] { background: color-mix(in srgb, #EDF2FD calc(var(--p, 1) * 100%), var(--bg)); }
  }
}

/* ---------- #192 polish: per-page hero drawings, row steps, legal page, wide-screen text ---------- */
.nb { white-space: nowrap; }
/* hero line drawings (one per service page; the rings stay on the FAQ and legal page) */
.hero-deco .ln { fill: none; stroke: rgba(94, 141, 245, .62); stroke-width: .7; stroke-linecap: round; stroke-linejoin: round; }
.hero-deco .ln--a { stroke: var(--accent); stroke-dasharray: 2 2.5; opacity: .85; }
.hero-deco--art { right: max(4vw, calc((100vw - var(--maxw)) / 2)); width: min(32vw, 420px); }
@media (max-width: 980px) { .hero-deco--art { opacity: .3; } .js .hero-deco--art { animation: none; opacity: .3; } }
@media (max-width: 760px) { .hero-deco--art { top: auto; bottom: 1.2rem; right: -14vw; width: 56vw; transform: none; opacity: .22; } .js .hero-deco--art { opacity: .22; } }
/* steps as full-width rows (variant: 'rail') */
.flow.flow--rail { grid-template-columns: 1fr; max-width: 52rem; gap: .7rem; }
.flow.flow--rail li { display: grid; grid-template-columns: 2.2rem 1fr; column-gap: 1.1rem; align-items: center; padding: 1rem 1.3rem; }
.flow.flow--rail li::before { grid-row: 1 / span 2; margin: 0; align-self: start; }
.flow.flow--rail li > b, .flow.flow--rail li > span { grid-column: 2; }
.flow.flow--rail li > span { margin-top: .15rem; }
.flow.flow--rail li:not(:last-child)::after { display: none; }
/* no orphan card: 7 cards in 4 columns → the last one spans two; odd count in 2 columns → the last one is full width */
@media (min-width: 981px) { .tiles:not(.tiles--3) > li:nth-child(4n+3):last-child { grid-column: span 2; } }
@media (min-width: 761px) and (max-width: 980px) { .tiles > li:nth-child(odd):last-child, .tiles--3 > li:nth-child(odd):last-child { grid-column: 1 / -1; } }
/* legal page */
.prose-in > * { max-width: 44rem; }
.prose h2 { margin: 2.2rem 0 .5rem; font-size: clamp(1.3rem, 2.4vw, 1.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.2; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0; font-size: 1.125rem; line-height: 1.55; }
.prose p a:not(.link-pill) { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.prose .prose-back { margin-top: 2.4rem; }
/* card body text was 15 px on big monitors */
@media (min-width: 1200px) {
  .tiles p, .trio p, .flow span, .points-list li span, .need p, .callout p, .cmp-card p, .foot { font-size: 1.0625rem; }
  .tiles .tile-txt, .points-list--sub .pt, .lead-card p, .yesno p { font-size: 1.125rem; }
}
/* round 2 (review): hero text never runs under the drawing; 5 cards in 3 columns → the last two share the row */
@media (min-width: 981px) {
  .hero-deco--art ~ .hero-inner .hero-sub { max-width: min(34em, 56%); }
  .hero-deco--art ~ .hero-inner .hero-title { max-width: min(16ch, 62%); }
  .tiles.tiles--3 { grid-template-columns: repeat(6, 1fr); }
  .tiles.tiles--3 > li { grid-column: span 2; }
  .tiles.tiles--3 > li:nth-child(3n+1):nth-last-child(2), .tiles.tiles--3 > li:nth-child(3n+2):last-child { grid-column: span 3; }
}
@media (min-width: 981px) and (max-width: 1300px) { .hero-deco--art { width: min(26vw, 340px); } }

/* #192 after round 2 (not re-reviewed): ring hero keeps the lead text clear of the rings */
@media (min-width: 981px) { .hero-deco:not(.hero-deco--art) ~ .hero-inner .hero-sub { max-width: min(34em, 56%); } }
