/* Písma: Fraunces (nadpisy), Outfit (text), Caveat (ručně psané poznámky) – soubory v /assets/fonts, licence SIL OFL. */
@font-face {font-family: 'Caveat'; font-style: normal; font-weight: 600 700; font-display: swap; src: url(/assets/fonts/caveat-normal-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face {font-family: 'Caveat'; font-style: normal; font-weight: 600 700; font-display: swap; src: url(/assets/fonts/caveat-normal-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face {font-family: 'Fraunces'; font-style: italic; font-weight: 500 900; font-display: swap; src: url(/assets/fonts/fraunces-italic-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face {font-family: 'Fraunces'; font-style: italic; font-weight: 500 900; font-display: swap; src: url(/assets/fonts/fraunces-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face {font-family: 'Fraunces'; font-style: normal; font-weight: 500 900; font-display: swap; src: url(/assets/fonts/fraunces-normal-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face {font-family: 'Fraunces'; font-style: normal; font-weight: 500 900; font-display: swap; src: url(/assets/fonts/fraunces-normal-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face {font-family: 'Outfit'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/outfit-normal-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face {font-family: 'Outfit'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/outfit-normal-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

/* ===== Malovaný obličej – vzhled. Barvy a písma nahoře v :root. Pohyb řídí site.js (třídy .in, proměnná --p). ===== */

:root {
  --paper: #fffaf3;
  --paper-2: #fff1e2;
  --cream: #fde7d2;
  --ink: #1d1838;
  --ink-2: #4b4766;
  --night: #17123a;
  --night-2: #241b55;
  --white: #fff;

  --fuchsia: #ef2f86;
  --fuchsia-ink: #c8145f;   /* pro malý text – kontrast AA */
  --teal: #00aeb5;
  --teal-ink: #007c82;
  --sun: #ffbd1f;
  --tangerine: #ff6a2c;
  --lilac: #8a5cf6;
  --leaf: #2fbf71;
  --sky: #3aa0ff;

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat", "Comic Sans MS", cursive;

  --r: 30px;
  --r-sm: 18px;
  --wrap: 1220px;
  --pad: clamp(20px, 5vw, 56px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --hdr: 78px;
  --shadow: 0 18px 50px -18px rgba(29, 24, 56, .35);
  --shadow-sm: 0 8px 24px -10px rgba(29, 24, 56, .3);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 clamp(16.5px, 1.05vw + 12px, 18.5px)/1.62 var(--body); overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 8px; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1.04; letter-spacing: -.02em; margin: 0 0 .5em; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 96; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 6.6vw, 5.6rem); font-weight: 900; }
h2 { font-size: clamp(2.05rem, 4.4vw, 3.7rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.12; font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 36; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 700; }
p { margin: 0 0 1em; text-wrap: pretty; }
.lead { font-size: clamp(1.12rem, 1.2vw + .7rem, 1.35rem); color: var(--ink-2); max-width: 40ch; }
.muted { color: var(--ink-2); }
.small { font-size: .9rem; }
.center { text-align: center; }
.center .lead, .center p { margin-inline: auto; }
.hand { font-family: var(--hand); font-weight: 700; font-size: 1.55em; line-height: 1; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }
.wrap { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }
.sec { padding-block: clamp(72px, 10vw, 140px); position: relative; }
.sec--tight { padding-block: clamp(48px, 6vw, 84px); }
.sec--cream { background: var(--paper-2); }
.sec--night { background: radial-gradient(120% 90% at 80% 0%, #3a2a8a 0%, var(--night) 55%) var(--night); color: #f6f1ff; }
.sec--night .lead, .sec--night .muted { color: #cfc6ee; }
.sec__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec__head.center { margin-inline: auto; }

/* kicker = malý nadpis nad nadpisem, s barevnou kapkou */
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 700 .82rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--fuchsia-ink); margin-bottom: 18px; }
.kicker::before { content: ""; width: 14px; height: 14px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: currentColor; }
.sec--night .kicker { color: var(--sun); }
.kicker--teal { color: var(--teal-ink); }

/* tah štětcem pod slovem */
.brush { position: relative; white-space: nowrap; color: var(--fuchsia); font-style: italic; }
.brush svg { position: absolute; left: -4%; bottom: -.16em; width: 108%; height: .42em; overflow: visible; pointer-events: none; }
.brush path { fill: none; stroke: var(--sun); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.1s .35s var(--ease); }
.in .brush path, .brush.in path, .hero .brush path { stroke-dashoffset: 0; }
.brush--teal { color: var(--teal); }
.brush--teal path { stroke: var(--fuchsia); opacity: .55; }
.sec--night .brush { color: var(--sun); }
.sec--night .brush path { stroke: var(--fuchsia); }

/* ---------- Tlačítka ---------- */
.btn { --b: var(--fuchsia); --c: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 12px 26px; border: 0; border-radius: 999px; background: var(--b); color: var(--c); font: 700 1.04rem/1.1 var(--body); text-decoration: none; cursor: pointer; position: relative; isolation: isolate; box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--b) 80%, transparent); transition: transform .35s var(--spring), box-shadow .35s var(--ease); }
.btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(120px 60px at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .35), transparent 70%); opacity: 0; transition: opacity .3s; z-index: -1; }
.btn:hover { transform: translateY(-3px) rotate(-1deg); box-shadow: 0 16px 30px -12px color-mix(in srgb, var(--b) 90%, transparent); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--ink { --b: var(--ink); }
.btn--teal { --b: var(--teal-ink); }
.btn--sun { --b: var(--sun); --c: var(--ink); }
.btn--ghost { --b: transparent; --c: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--ink); background: rgba(29, 24, 56, .05); }
.sec--night .btn--ghost, .btn--ghost-light { --c: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7); }
.btn--wa { --b: #1fa855; }
.btn--sm { min-height: 44px; padding: 8px 18px; font-size: .95rem; }
.btn--block { width: 100%; }
.btns { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }
.link { font-weight: 700; color: var(--fuchsia-ink); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .35s var(--ease); }
.link:hover { background-size: 100% 2px; }
.link::after { content: "→"; transition: transform .3s var(--spring); }
.link:hover::after { transform: translateX(4px); }
.sec--night .link { color: var(--sun); }

/* ---------- Hlavička ---------- */
.hdr { position: sticky; top: 0; z-index: 50; height: var(--hdr); transition: background .3s, box-shadow .3s, transform .45s var(--ease); }
.hdr.is-solid { background: rgba(255, 250, 243, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 rgba(29, 24, 56, .08); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__in { height: 100%; display: flex; align-items: center; gap: 22px; width: min(100% - 2 * var(--pad), 1360px); margin-inline: auto; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo svg { width: 46px; height: 46px; transition: transform .6s var(--spring); }
.logo:hover svg { transform: rotate(-12deg) scale(1.06); }
.logo b { font: italic 800 1.42rem/.9 var(--display); letter-spacing: -.02em; font-variation-settings: "SOFT" 100, "WONK" 1; }
.logo b small { display: block; font: 600 .62rem/1.4 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); font-style: normal; margin-top: 3px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a, .nav button { white-space: nowrap; position: relative; padding: 10px 14px; border-radius: 999px; font-weight: 600; text-decoration: none; background: none; border: 0; cursor: pointer; transition: background .25s; }
.nav a:hover, .nav button:hover, .nav [aria-current], .nav [aria-expanded="true"] { background: rgba(29, 24, 56, .06); }
.nav [aria-current]::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--fuchsia); }
.nav__drop { position: relative; }
.nav__drop > button::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-3px) rotate(45deg); }
.mega { position: absolute; left: 50%; top: calc(100% + 10px); width: min(760px, 90vw); transform: translate(-50%, 8px); padding: 18px; background: #fff; border-radius: 26px; box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; opacity: 0; visibility: hidden; transition: opacity .25s, transform .3s var(--ease), visibility .25s; }
.nav__drop:hover .mega, .nav__drop:focus-within .mega, .mega.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega a { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 16px; font-weight: 600; line-height: 1.2; }
.mega a:hover { background: var(--paper-2); }
.mega a small { display: block; font-weight: 400; color: var(--ink-2); font-size: .82rem; }
.mega i { flex: none; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; font-style: normal; font-size: 1.25rem; background: color-mix(in srgb, var(--c) 18%, #fff); }
.mega__all { grid-column: 1 / -1; justify-content: center; background: var(--paper-2); margin-top: 6px; }
.hdr__tel { font-weight: 700; text-decoration: none; white-space: nowrap; display: flex; gap: 8px; align-items: center; }
.hdr__tel svg { width: 18px; height: 18px; color: var(--fuchsia); }
.hdr__burger { display: none; margin-left: auto; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--ink); cursor: pointer; position: relative; }
.hdr__burger span { position: absolute; left: 15px; right: 15px; height: 2.5px; border-radius: 2px; background: #fff; transition: transform .4s var(--spring), top .3s; }
.hdr__burger span:first-child { top: 19px; }
.hdr__burger span:last-child { top: 28px; }
.menu-open .hdr__burger span:first-child { top: 24px; transform: rotate(45deg); }
.menu-open .hdr__burger span:last-child { top: 24px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 45; background: var(--night); color: #fff; padding: calc(var(--hdr) + 18px) var(--pad) 120px; overflow-y: auto; clip-path: circle(0 at calc(100% - 45px) 39px); transition: clip-path .7s var(--ease); }
.menu.is-open { clip-path: circle(150% at calc(100% - 45px) 39px); }
.menu nav { display: grid; gap: 2px; }
.menu nav a { font: italic 800 clamp(1.7rem, 7vw, 2.4rem)/1.25 var(--display); text-decoration: none; opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .6s var(--spring); transition-delay: calc(.15s + var(--i) * .04s); }
.menu nav a small { font: 400 .95rem var(--body); color: #bdb3e6; margin-left: 8px; font-style: normal; }
.menu.is-open nav a { opacity: 1; transform: none; }
.menu__sub { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; margin: 6px 0 14px 4px; }
.menu__sub a { font: 600 1rem/1.35 var(--body) !important; color: #dcd4ff; }
.menu .btns { margin-top: 26px; }
.menu-open .hdr { background: transparent; box-shadow: none; backdrop-filter: none; }
.menu-open .hdr .logo { color: #fff; }
.menu-open .hdr .logo b small { color: #bdb3e6; }

/* ---------- Kapky a skvrny (dekorace) ---------- */
.splat { position: absolute; pointer-events: none; z-index: 0; color: var(--c, var(--fuchsia)); width: var(--s, 120px); transform: translate3d(0, calc(var(--p, .5) * var(--py, 0px)), 0) rotate(var(--rot, 0deg)); }
.splat svg { width: 100%; height: auto; }
.drop { position: absolute; width: var(--s, 18px); aspect-ratio: 1; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--c, var(--sun)); pointer-events: none; animation: bob 6s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes bob { 50% { translate: 0 -12px; } }

/* fotka ve tvaru barevné skvrny */
.blob { position: relative; border-radius: 62% 38% 46% 54% / 48% 56% 44% 52%; overflow: hidden; animation: morph 14s ease-in-out infinite; box-shadow: var(--shadow); background: var(--cream); }
.blob img { width: 100%; height: 100%; object-fit: cover; }
@keyframes morph {
  0%, 100% { border-radius: 62% 38% 46% 54% / 48% 56% 44% 52%; }
  33% { border-radius: 44% 56% 62% 38% / 56% 42% 58% 44%; }
  66% { border-radius: 54% 46% 38% 62% / 42% 58% 44% 56%; }
}
/* fotka jako nálepka */
.sticker { position: relative; background: #fff; padding: 10px; border-radius: 24px; box-shadow: var(--shadow); transform: rotate(var(--rot, -4deg)); transition: transform .5s var(--spring); }
.sticker img { border-radius: 16px; width: 100%; aspect-ratio: var(--ar, 1); object-fit: cover; }
.sticker:hover { transform: rotate(0deg) scale(1.03); }
.note { font: 700 1.6rem/1 var(--hand); color: var(--ink); display: inline-flex; align-items: flex-end; gap: 4px; }
.note svg { width: 54px; height: 40px; color: var(--fuchsia); }

/* ---------- Úvodní hero ---------- */
.hero { position: relative; padding: clamp(24px, 4vw, 56px) 0 clamp(70px, 8vw, 120px); overflow: clip; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.hero h1 { margin-bottom: .32em; }
.hero h1 .line2 { display: block; font-size: .5em; line-height: 1.15; font-weight: 700; font-style: italic; color: var(--ink-2); margin-top: .25em; letter-spacing: -.01em; }
.hero .lead { margin-bottom: 30px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); font-weight: 600; font-size: .93rem; }
.hero__trust li i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .85rem; background: var(--c); color: #fff; }
.hero__art { position: relative; aspect-ratio: 1 / 1.02; }
.hero__art .blob { position: absolute; inset: 4% 6% 8% 8%; }
.hero__art .sticker { position: absolute; width: 36%; }
.hero__art .sticker:nth-of-type(1) { left: -4%; bottom: 2%; --rot: -8deg; }
.hero__art .sticker:nth-of-type(2) { right: -2%; top: 0; --rot: 7deg; width: 31%; }
.hero__art .note { position: absolute; right: 4%; bottom: 6%; transform: rotate(-6deg); }
.hero__art .ring { position: absolute; inset: -2% -4% -2% 0; border-radius: 50%; border: 2px dashed color-mix(in srgb, var(--fuchsia) 45%, transparent); animation: spin 60s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }

/* stránka služby: menší hero */
.phero { padding: clamp(18px, 3vw, 40px) 0 clamp(60px, 7vw, 100px); position: relative; overflow: clip; }
.phero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.phero h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); }
.phero h1 .line2 { display: block; font-size: .5em; line-height: 1.15; font-style: italic; font-weight: 700; color: var(--ink-2); margin-top: .25em; }
.phero__art { position: relative; aspect-ratio: 1; max-width: 520px; justify-self: center; width: 100%; }
.phero__art .blob { position: absolute; inset: 0 4% 4% 0; }
.price-badge { position: absolute; right: -2%; bottom: 4%; width: 150px; aspect-ratio: 1; border-radius: 50%; background: var(--sun); color: var(--ink); display: grid; place-content: center; text-align: center; transform: rotate(-10deg); box-shadow: var(--shadow); padding: 12px; line-height: 1.05; animation: wobble 5s ease-in-out infinite; text-decoration: none; }
.price-badge small { font: 600 .74rem/1.2 var(--body); text-transform: uppercase; letter-spacing: .08em; }
.price-badge b { font: 900 1.65rem/1 var(--display); margin: 4px 0; }
.price-badge::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 2px dashed rgba(29, 24, 56, .3); }
@keyframes wobble { 50% { transform: rotate(-4deg) scale(1.03); } }
.crumbs { font-size: .88rem; color: var(--ink-2); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: .5; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 26px 0 0; }
.chips li { padding: 7px 14px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); font-weight: 600; font-size: .92rem; display: flex; gap: 8px; align-items: center; }
.chips li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--teal)); }
.chips li:nth-child(2) { --c: var(--fuchsia); }
.chips li:nth-child(3) { --c: var(--sun); }

/* ---------- Pás s motivy (běžící) ---------- */
.marquee { background: var(--ink); color: #fff; overflow: hidden; padding: 18px 0; transform: rotate(-1.5deg); margin: -10px -1% 0; width: 102%; position: relative; z-index: 2; }
.marquee__track { display: flex; gap: 0; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font: italic 700 clamp(1.3rem, 2.4vw, 2rem)/1 var(--display); padding: 0 26px; display: flex; align-items: center; gap: 52px; white-space: nowrap; }
.marquee span::after { content: ""; width: 14px; height: 14px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--c, var(--sun)); }
.marquee span:nth-child(4n+2) { --c: var(--fuchsia); }
.marquee span:nth-child(4n+3) { --c: var(--teal); }
.marquee span:nth-child(4n) { --c: var(--tangerine); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Karty služeb ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc { --c: var(--fuchsia); position: relative; display: flex; flex-direction: column; border-radius: var(--r); background: #fff; overflow: hidden; text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .5s var(--spring), box-shadow .4s; isolation: isolate; }
.svc:hover { transform: translateY(-8px) rotate(-.6deg); box-shadow: var(--shadow); }
.svc__img { aspect-ratio: 4 / 3.3; overflow: hidden; position: relative; background: color-mix(in srgb, var(--c) 20%, #fff); }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.svc:hover .svc__img img { transform: scale(1.07); }
.svc__img::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -1px; height: 34px; background: #fff; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.svc__body { padding: 6px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.svc__num { font: 700 .76rem var(--body); letter-spacing: .16em; color: var(--c); text-transform: uppercase; }
.svc h3 { margin: 6px 0 8px; }
.svc p { color: var(--ink-2); font-size: .97rem; margin-bottom: 14px; }
.svc__links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.svc__links a, .svc__links span { font-size: .86rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: color-mix(in srgb, var(--c) 13%, #fff); text-decoration: none; transition: background .25s, color .25s; }
.svc__links a:hover { background: var(--c); color: #fff; }

/* menší karty (související služby, přehled) */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.card { --c: var(--fuchsia); position: relative; display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 22px; background: #fff; text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .4s var(--spring), box-shadow .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card img { width: 74px; height: 74px; border-radius: 18px; object-fit: cover; flex: none; }
.card b { display: block; font: 800 1.12rem/1.15 var(--display); }
.card small { color: var(--ink-2); font-size: .88rem; line-height: 1.35; display: block; margin-top: 3px; }
.card em { font-style: normal; font-weight: 700; color: var(--c); font-size: .86rem; }

/* ---------- Galerie k swipování ---------- */
.swipe { position: relative; }
.swipe__track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px var(--pad) 30px; margin-inline: calc(-1 * var(--pad)); scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; }
.swipe__track::-webkit-scrollbar { display: none; }
.swipe__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.swipe__item { flex: none; width: clamp(220px, 26vw, 320px); scroll-snap-align: center; margin: 0; text-decoration: none; transition: transform .5s var(--spring); }
.swipe__item:nth-child(odd) { transform: rotate(-2deg); }
.swipe__item:nth-child(even) { transform: rotate(2deg) translateY(14px); }
.swipe__item:hover { transform: rotate(0) scale(1.03); }
.swipe__item .ph { background: #fff; padding: 9px; border-radius: 26px; box-shadow: var(--shadow); }
.swipe__item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 19px; }
.swipe__item figcaption { font: 700 1.5rem/1 var(--hand); text-align: center; margin-top: 12px; }
.swipe__nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: -8px; }
.swipe__nav button { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--ink); background: transparent; cursor: pointer; font-size: 1.3rem; transition: background .25s, color .25s, transform .3s var(--spring); }
.swipe__nav button:hover { background: var(--ink); color: #fff; transform: scale(1.06); }
.swipe__hint { display: none; font: 700 1.3rem var(--hand); color: var(--ink-2); text-align: center; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.filters button { border: 0; padding: 9px 16px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); font-weight: 700; cursor: pointer; transition: background .25s, color .25s, transform .3s var(--spring); }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; transform: scale(1.04); }

/* mřížka galerie */
.gallery { columns: 4 220px; column-gap: 16px; }
.gallery a { display: block; margin-bottom: 16px; break-inside: avoid; border-radius: 22px; overflow: hidden; position: relative; box-shadow: var(--shadow-sm); transition: transform .45s var(--spring); }
.gallery a:hover { transform: scale(1.02) rotate(-.6deg); }
.gallery img { width: 100%; }
.gallery a span { position: absolute; left: 10px; bottom: 10px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-weight: 700; font-size: .85rem; }
.gallery a[hidden] { display: none; }

/* ---------- Kalkulačka programu ---------- */
.builder { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.builder__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.opt { --c: var(--fuchsia); position: relative; display: grid; grid-template-columns: 54px 1fr; gap: 4px 14px; align-items: center; padding: 14px 16px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .35s var(--spring), box-shadow .3s, background .3s; user-select: none; }
.opt:hover { transform: translateY(-3px); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt img { grid-row: span 2; width: 54px; height: 54px; border-radius: 16px; object-fit: cover; }
.opt b { font-weight: 700; line-height: 1.2; }
.opt small { color: var(--ink-2); font-size: .86rem; }
.opt::after { content: "+"; position: absolute; right: 12px; top: 12px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--paper-2); transition: background .3s, color .3s, transform .45s var(--spring); }
.opt:has(input:checked) { background: color-mix(in srgb, var(--c) 10%, #fff); box-shadow: 0 0 0 2.5px var(--c), var(--shadow-sm); }
.opt:has(input:checked)::after { content: "✓"; background: var(--c); color: #fff; transform: rotate(360deg); }
.opt:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 3px; }
.receipt { position: sticky; top: calc(var(--hdr) + 16px); background: var(--night); color: #fff; border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); overflow: hidden; isolation: isolate; }
.receipt::before { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -90px; border-radius: 50%; background: radial-gradient(circle, var(--fuchsia), transparent 70%); opacity: .55; z-index: -1; }
.receipt h3 { font-size: 1.6rem; margin-bottom: 4px; }
.receipt__empty { color: #bdb3e6; margin: 18px 0; }
.receipt ul { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.receipt li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding-bottom: 10px; border-bottom: 1px dashed rgba(255, 255, 255, .2); animation: popin .45s var(--spring); }
@keyframes popin { from { opacity: 0; transform: translateY(8px) scale(.96); } }
.receipt li b { font-weight: 700; }
.receipt li span { color: #d8d0f6; font-size: .92rem; }
.step { display: inline-flex; align-items: center; gap: 0; background: rgba(255, 255, 255, .1); border-radius: 999px; }
.step button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent; color: #fff; font-size: 1.15rem; cursor: pointer; }
.step button:hover { background: rgba(255, 255, 255, .15); }
.step output { min-width: 54px; text-align: center; font-weight: 700; font-size: .92rem; }
.receipt__total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 6px 0 4px; }
.receipt__total b { font: 900 clamp(2rem, 3vw, 2.6rem)/1 var(--display); color: var(--sun); }
.receipt .small { color: #bdb3e6; margin-bottom: 18px; }

/* ---------- Velké číslo ---------- */
.bignum { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 5vw, 70px); align-items: center; }
.bignum__n { font: 900 clamp(5rem, 15vw, 13rem)/.85 var(--display); letter-spacing: -.05em; background: linear-gradient(100deg, var(--sun), var(--tangerine) 35%, var(--fuchsia) 65%, var(--lilac)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }
.points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.points li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.points li::before { content: ""; width: 26px; height: 26px; margin-top: 2px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--c, var(--sun)); }
.points li:nth-child(2) { --c: var(--fuchsia); }
.points li:nth-child(3) { --c: var(--teal); }
.points li:nth-child(4) { --c: var(--lilac); }

/* ---------- Dvě kolonky (text + obrázek) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split__art { position: relative; }
.split__art .blob { aspect-ratio: 1; }
.split__art .sticker { position: absolute; width: 40%; right: -4%; bottom: -6%; --rot: 6deg; }
.tag { display: inline-flex; gap: 8px; align-items: center; padding: 6px 14px; border-radius: 999px; background: var(--sun); color: var(--ink); font-weight: 700; font-size: .88rem; margin-bottom: 14px; }

/* ---------- Kroky ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 34px); counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 8%; right: 8%; top: 38px; border-top: 3px dashed color-mix(in srgb, var(--ink) 20%, transparent); }
.sec--night .steps::before { border-color: rgba(255, 255, 255, .2); }
.steps li { position: relative; counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 76px; height: 76px; margin-bottom: 18px; border-radius: 50% 50% 50% 12%; background: var(--c, var(--fuchsia)); color: #fff; font: 900 2rem/1 var(--display); position: relative; box-shadow: var(--shadow-sm); transition: transform .5s var(--spring); }
.steps li:hover::before { transform: rotate(-12deg) scale(1.08); }
.steps li:nth-child(2) { --c: var(--teal); }
.steps li:nth-child(3) { --c: var(--sun); }
.steps li:nth-child(3)::before { color: var(--ink); }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--ink-2); }
.sec--night .steps p { color: #cfc6ee; }

/* ---------- Obecné kartičky s textem ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tiles--2 { grid-template-columns: repeat(2, 1fr); }
.tile { --c: var(--fuchsia); padding: 28px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.tile::before { content: ""; position: absolute; width: 120px; height: 120px; right: -40px; top: -40px; border-radius: 50%; background: color-mix(in srgb, var(--c) 16%, transparent); transition: transform .7s var(--spring); }
.tile:hover::before { transform: scale(1.6); }
.tile:nth-child(3n+2) { --c: var(--teal); }
.tile:nth-child(3n+3) { --c: var(--sun); }
.tile h3 { position: relative; }
.tile p { color: var(--ink-2); position: relative; margin-bottom: 0; }
.tile p + p { margin-top: .7em; }
.tile .tile__ex { display: inline-block; margin-top: 14px; font: 700 1.35rem/1 var(--hand); color: var(--c); position: relative; }
.sec--night .tile { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.sec--night .tile p { color: #cfc6ee; }

/* ---------- Ceny ---------- */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.price { --c: var(--fuchsia); padding: 28px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; position: relative; }
.price--hi { background: var(--night); color: #fff; }
.price--hi p { color: #cfc6ee !important; }
.price h3 { font-size: 1.3rem; margin-bottom: 14px; }
.price__val { font: 900 clamp(2.2rem, 3.5vw, 3rem)/1 var(--display); color: var(--c); margin-bottom: 4px; }
.price--hi .price__val { color: var(--sun); }
.price__val small { font: 600 1rem var(--body); color: inherit; opacity: .8; }
.price p { color: var(--ink-2); margin: 10px 0 20px; }
.price .btn, .price .link { margin-top: auto; align-self: flex-start; }

.ptable { width: 100%; border-collapse: separate; border-spacing: 0 10px; }
.ptable th { text-align: left; font: 700 .78rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); padding: 0 20px; }
.ptable td { background: #fff; padding: 16px 20px; vertical-align: middle; }
.ptable td:first-child { border-radius: 20px 0 0 20px; }
.ptable td:last-child { border-radius: 0 20px 20px 0; text-align: right; white-space: nowrap; }
.ptable td b { display: block; font: 800 1.15rem/1.2 var(--display); }
.ptable td small { color: var(--ink-2); }
.ptable td a { text-decoration: none; }
.ptable td a:hover b { color: var(--fuchsia-ink); }
.ptable .pv { font: 900 1.4rem/1 var(--display); color: var(--fuchsia-ink); }
.ptable .pv small { display: block; font: 600 .82rem var(--body); color: var(--ink-2); margin-top: 3px; }

/* ---------- Seznamy s fajfkou ---------- */
.ticks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 36px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-weight: 800; background: var(--teal); color: #fff; }
.box { padding: clamp(24px, 3vw, 40px); border-radius: var(--r); background: #fff; box-shadow: var(--shadow-sm); }
.box--sun { background: #fff4d1; box-shadow: none; }
.box--fuchsia { background: #ffe3ef; box-shadow: none; }
.infobar { display: flex; gap: 16px; align-items: center; padding: 18px 22px; border-radius: 22px; background: #e2f6f6; margin-top: 26px; }
.infobar::before { content: "📍"; font-size: 1.4rem; }
.infobar p { margin: 0; }

/* ---------- Citace ---------- */
.quote { max-width: 900px; margin-inline: auto; text-align: center; position: relative; }
.quote blockquote { margin: 0; font: italic 600 clamp(1.6rem, 3.4vw, 2.7rem)/1.22 var(--display); letter-spacing: -.01em; }
.quote blockquote::before { content: "„"; display: block; font: 900 7rem/0.6 var(--display); color: var(--fuchsia); height: .5em; }
.quote figcaption { margin-top: 22px; font-weight: 700; }
.quote figcaption small { display: block; font-weight: 400; color: var(--ink-2); }
.refs { columns: 2 340px; column-gap: 18px; }
.ref { break-inside: avoid; margin: 0 0 18px; padding: 26px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow-sm); }
.ref blockquote { margin: 0 0 14px; color: var(--ink-2); }
.ref figcaption { font-weight: 700; }
.ref figcaption small { display: block; font-weight: 400; color: var(--ink-2); }
.ref h3 { font-size: 1.3rem; }

/* ---------- FAQ ---------- */
.faqs { display: grid; gap: 12px; max-width: 900px; }
.faqs.center { margin-inline: auto; }
.faq { border-radius: 22px; background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 64px 20px 24px; font: 700 1.1rem/1.3 var(--body); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); font-size: 1.3rem; transition: transform .45s var(--spring), background .3s, color .3s; }
.faq[open] summary::after { transform: rotate(135deg); background: var(--fuchsia); color: #fff; }
.faq > div { padding: 0 24px 22px; color: var(--ink-2); }
.faq > div p:last-child { margin: 0; }
.faq a { color: var(--fuchsia-ink); font-weight: 600; }

/* ---------- Výzva + rychlá poptávka ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; }
.cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.cta h2 { color: #fff; }
.cta__contact { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; }
.cta__contact a { color: #fff; font-weight: 700; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.cta__contact svg { width: 20px; height: 20px; color: var(--sun); }
.cta__contact a:hover { text-decoration: underline; }
.qform { background: #fff; color: var(--ink); border-radius: var(--r); padding: clamp(22px, 3vw, 34px); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6); position: relative; }
.qform h3 { margin-bottom: 4px; }
.qform > p { color: var(--ink-2); margin-bottom: 18px; }
.qform .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ---------- Formuláře ---------- */
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field > span, .fs legend { font-weight: 700; font-size: .95rem; }
.field > span em, .fs legend em { font-style: normal; color: var(--fuchsia-ink); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 16px; border: 2px solid #e8dfd3; background: var(--paper); transition: border-color .25s, background .25s, box-shadow .25s; font-size: 1rem; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(0, 174, 181, .15); }
.field input:user-invalid { border-color: var(--fuchsia); }
.field small { color: var(--ink-2); font-size: .85rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fs { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.fs legend { margin-bottom: 10px; padding: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.pill span { display: inline-flex; gap: 6px; align-items: center; padding: 10px 16px; border-radius: 999px; background: var(--paper); border: 2px solid #e8dfd3; font-weight: 600; font-size: .95rem; cursor: pointer; transition: background .25s, border-color .25s, color .25s, transform .3s var(--spring); }
.pill:hover span { border-color: var(--ink-2); }
.pill input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; transform: scale(1.03); }
.pill input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.form-step { position: relative; padding: clamp(22px, 3vw, 34px); border-radius: var(--r); background: #fff; box-shadow: var(--shadow-sm); margin-bottom: 18px; }
.form-step__n { position: absolute; top: -16px; left: 24px; padding: 4px 14px; border-radius: 999px; background: var(--fuchsia); color: #fff; font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.form-step:nth-of-type(2) .form-step__n { background: var(--teal-ink); }
.form-step:nth-of-type(3) .form-step__n { background: var(--sun); color: var(--ink); }
.form-step h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 18px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 14px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .95rem; }
.check input { width: 22px; height: 22px; accent-color: var(--fuchsia); flex: none; margin-top: 2px; }
.alert { padding: 18px 22px; border-radius: 20px; margin-bottom: 20px; font-weight: 600; }
.alert--ok { background: #dff7ea; color: #0f5a33; }
.alert--err { background: #ffe1ea; color: #8f0d3d; }
.thanks { text-align: center; padding: clamp(30px, 5vw, 60px); border-radius: var(--r); background: #fff; box-shadow: var(--shadow); }
.thanks h2 { margin-bottom: 10px; }
.thanks__icon { font-size: 4rem; animation: wobble 2s ease-in-out infinite; display: inline-block; }
.contact-side { position: sticky; top: calc(var(--hdr) + 16px); display: grid; gap: 16px; }
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(20px, 4vw, 50px); align-items: start; }
.bigline { display: flex; align-items: center; gap: 14px; text-decoration: none; padding: 14px; border-radius: 20px; transition: background .25s; }
.bigline:hover { background: var(--paper-2); }
.bigline i { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--c, var(--fuchsia)); color: #fff; flex: none; }
.bigline i svg { width: 24px; height: 24px; }
.bigline b { display: block; font-size: 1.15rem; }
.bigline small { color: var(--ink-2); }

/* ---------- Text článku ---------- */
.prose { max-width: 740px; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose a { color: var(--fuchsia-ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: 22px; margin: 1.5em 0; }
.prose table { border-collapse: collapse; width: 100%; margin: 1em 0 1.6em; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #eadfd2; vertical-align: top; }
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.post { display: flex; flex-direction: column; border-radius: var(--r); background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; text-decoration: none; transition: transform .45s var(--spring), box-shadow .3s; }
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.post div { padding: 20px 22px 24px; }
.post time { font-size: .85rem; color: var(--ink-2); }
.post h3 { font-size: 1.3rem; margin: 6px 0 8px; }
.post p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.post--noimg div { padding-top: 26px; border-top: 8px solid var(--c, var(--fuchsia)); }

/* ---------- Patička ---------- */
.ftr { background: var(--ink); color: #e9e4ff; padding: clamp(70px, 9vw, 110px) 0 0; position: relative; margin-top: -1px; }
.ftr__wave { position: absolute; left: 0; right: 0; top: -38px; height: 40px; color: var(--ink); }
.ftr__wave svg { width: 100%; height: 100%; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 34px; }
.ftr h2 { font: 700 .8rem var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--sun); margin-bottom: 16px; }
.ftr a { display: block; text-decoration: none; padding: 4px 0; color: #e9e4ff; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.ftr .logo { color: #fff; margin-bottom: 16px; }
.ftr .logo b small { color: #bdb3e6; }
.ftr p { color: #bdb3e6; font-size: .95rem; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); padding: 0; transition: background .25s, transform .35s var(--spring); }
.social a:hover { background: var(--fuchsia); transform: translateY(-3px) rotate(-8deg); }
.social svg { width: 20px; height: 20px; }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 56px; padding: 22px 0 calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; color: #a99fd6; }
.ftr__bottom a, .linkish { display: inline; color: #a99fd6; margin-right: 16px; background: none; border: 0; padding: 0; cursor: pointer; font-size: inherit; }
.linkish:hover { text-decoration: underline; color: #fff; }
.ftr__sister { margin-top: 18px; padding: 14px 16px; border-radius: 18px; background: rgba(255, 255, 255, .06); font-size: .9rem; }
.ftr__sister a { display: inline; color: var(--sun); font-weight: 700; }

/* ---------- Spodní lišta na mobilu ---------- */
.dock { display: none; }

/* ---------- Souhlas s měřením ---------- */
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 60; max-width: 420px; padding: 20px; border-radius: 24px; background: #fff; box-shadow: var(--shadow); animation: popin .5s var(--spring); }
.consent p { margin: 0 0 14px; font-size: .95rem; }
.consent div { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(15, 11, 36, .94); display: grid; place-items: center; padding: 60px 70px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 82vh; width: auto; border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); animation: popin .4s var(--spring); }
.lightbox p { color: #fff; font: 700 1.6rem var(--hand); margin: 14px 0 0; text-align: center; }
.lightbox button { position: absolute; width: 54px; height: 54px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.6rem; cursor: pointer; }
.lightbox button:hover { background: var(--fuchsia); }
[data-lb-close] { top: 16px; right: 16px; }
[data-lb-prev] { left: 12px; top: 50%; margin-top: -27px; }
[data-lb-next] { right: 12px; top: 50%; margin-top: -27px; }

/* ---------- Odhalování při scrollu ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--dl, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-pop] { opacity: 0; transform: scale(.7) rotate(-6deg); transition: opacity .6s var(--ease), transform .8s var(--spring); transition-delay: var(--dl, 0s); }
.js [data-pop].in { opacity: 1; transform: none; }
.js .stagger > * { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .9s var(--spring); }
.js .stagger.in > * { opacity: 1; transform: none; }
.js .stagger.in > :nth-child(2) { transition-delay: .08s; }
.js .stagger.in > :nth-child(3) { transition-delay: .16s; }
.js .stagger.in > :nth-child(4) { transition-delay: .24s; }
.js .stagger.in > :nth-child(5) { transition-delay: .32s; }
.js .stagger.in > :nth-child(6) { transition-delay: .4s; }
.js .stagger.in > :nth-child(n+7) { transition-delay: .48s; }
/* hero se objeví hned po načtení */
.hero__copy > * { animation: rise .9s var(--ease) both; }
.hero__copy > :nth-child(2) { animation-delay: .08s; }
.hero__copy > :nth-child(3) { animation-delay: .16s; }
.hero__copy > :nth-child(4) { animation-delay: .24s; }
.hero__copy > :nth-child(5) { animation-delay: .32s; }
.hero__art > * { animation: rise 1.1s var(--spring) both; }
.hero__art > :nth-child(2) { animation-delay: .25s; }
.hero__art > :nth-child(3) { animation-delay: .4s; }
.hero__art > :nth-child(4) { animation-delay: .55s; }
@keyframes rise { from { opacity: 0; translate: 0 30px; } }

/* ---------- Responzivita ---------- */
@media (max-width: 1240px) {
  .hdr__tel span { display: none; }
}
@media (max-width: 1140px) {
  .nav, .hdr__tel, .hdr__cta { display: none; }
  .hdr__burger { display: block; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1020px) {
  .hero__grid, .phero__grid, .split, .cta__grid, .builder, .contact-grid, .bignum { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .hero__art { max-width: 560px; width: 100%; justify-self: center; }
  .phero__art { max-width: 420px; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .receipt, .contact-side { position: static; }
  .bignum { text-align: left; }
}
@media (max-width: 720px) {
  :root { --hdr: 68px; --r: 24px; }
  .logo svg { width: 40px; height: 40px; }
  .logo b { font-size: 1.22rem; }
  .svc-grid, .tiles, .tiles--2, .builder__list, .grid2, .grid3, .qform .row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps::before { display: none; }
  .steps li { display: grid; grid-template-columns: 64px 1fr; gap: 0 16px; }
  .steps li::before { width: 60px; height: 60px; font-size: 1.6rem; grid-row: span 2; margin: 0; }
  .ftr__grid { grid-template-columns: 1fr; gap: 26px; }
  .swipe__hint { display: block; }
  .hero .drop, .phero .drop { display: none; }
  .swipe__nav { display: none; }
  .ptable thead { display: none; }
  .ptable td { display: block; border-radius: 0 !important; text-align: left !important; padding: 12px 18px; }
  .ptable td:first-child { border-radius: 20px 20px 0 0 !important; padding-bottom: 4px; }
  .ptable td:last-child { border-radius: 0 0 20px 20px !important; padding-top: 0; }
  .price-badge { width: 120px; }
  .price-badge b { font-size: 1.3rem; }
  .lightbox { padding: 60px 10px; }
  body { padding-bottom: 76px; }
  .dock { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40; padding: 8px; border-radius: 24px; background: rgba(29, 24, 56, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow); transition: transform .45s var(--ease); }
  .dock.is-away { transform: translateY(140%); }
  .dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; border-radius: 18px; color: #fff; text-decoration: none; font-weight: 700; font-size: .8rem; }
  .dock a svg { width: 22px; height: 22px; }
  .dock a:last-child { background: var(--fuchsia-ink); flex-direction: row; gap: 8px; font-size: 1rem; }
  .consent { left: 10px; right: 10px; bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js [data-reveal], .js [data-pop], .js .stagger > * { opacity: 1; transform: none; }
  .brush path { stroke-dashoffset: 0; }
}
@media print {
  .hdr, .ftr, .dock, .consent, .menu { display: none !important; }
}
.receipt li .pv { color: #fff; font-weight: 700; }
.contact-grid > *, .builder > *, .split > *, .cta__grid > * { min-width: 0; }
/* popisek u obrázků vytvořených AI (doplňuje build.py) */
.ai-note { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); padding: 2px 9px; border-radius: 999px; background: rgba(29, 24, 56, .55); color: #fff; font: 600 .68rem/1.5 var(--body); letter-spacing: .02em; white-space: nowrap; pointer-events: none; z-index: 2; }
.blob .ai-note { bottom: 9%; }
.ph, .svc__img, .tile { position: relative; }
.swipe__item .ai-note { bottom: 18px; }
.tile > .ai-note { top: 10px; bottom: auto; }
.gallery--3 { columns: 3 260px; }
