:root {
  --bg: #fff8ef;
  --ink: #1b1830;
  --ink-soft: #4b4760;
  --white: #fffdf9;
  --line: #1b18301f;
  --lime: #d9f36d;
  --lilac: #cbbcff;
  --peach: #ffc8a3;
  --sky: #bde3ff;
  --pink: #ffb9d8;
  --violet: #6b4cf6;
  --radius: 30px;
  --display: 'Bricolage Grotesque', 'DM Sans', sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 'DM Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -.02em; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 2px solid var(--ink); border-radius: 999px;
  padding: 14px 24px; font-weight: 600; font-size: 15px;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: none; box-shadow: none; }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { box-shadow: 4px 4px 0 var(--violet); }
.btn-outline { background: var(--white); }
.btn-small { padding: 10px 18px; font-size: 14px; }

/* Topbar */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: 1320px; margin: 0 auto; padding: 16px 24px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 8px; font: 800 28px var(--display); letter-spacing: -.04em; }
.brand-logo { display: block; height: 32px; width: auto; }
.footer .brand-logo { height: 26px; }
.brand-dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: conic-gradient(var(--lime) 0 25%, var(--lilac) 0 50%, var(--peach) 0 75%, var(--sky) 0);
  border: 2px solid var(--ink);
}
.topbar nav { display: flex; gap: 6px; }
.topbar nav a { padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; }
.topbar nav a:hover { background: var(--white); }

main { max-width: 1320px; margin: 0 auto; padding: 0 24px; }

/* Blocks */
.block { border-radius: var(--radius); position: relative; }
.block-lime { background: var(--lime); }
.block-lilac { background: var(--lilac); }
.block-peach { background: var(--peach); }
.block-sky { background: var(--sky); }
.block-pink { background: var(--pink); }
.block-white { background: var(--white); border: 1.5px solid var(--line); }

/* Hero */
.hero {
  display: grid; gap: 16px; padding-top: 12px;
  grid-template-columns: repeat(3, 1fr) minmax(0, 1.05fr);
  grid-template-areas: "main main main phone" "a b c phone";
}
.hero-main { grid-area: main; padding: 48px 52px 52px; overflow: hidden; }
.hero-phone { grid-area: phone; display: grid; place-items: center; padding: 40px 44px 48px 32px; overflow: hidden; } /* vpravo miesto na tieň telefónu */
.phone-wrap { position: relative; width: min(100%, 270px); }
.mini:nth-of-type(3) { grid-area: a; }
.mini:nth-of-type(4) { grid-area: b; }
.mini:nth-of-type(5) { grid-area: c; }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); border: 1.5px solid var(--ink); border-radius: 999px;
  padding: 6px 14px 6px 6px; font-size: 14px; font-weight: 500;
}
.pill b { background: var(--ink); color: var(--lime); border-radius: 999px; padding: 2px 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
h1 { font-size: clamp(46px, 6.2vw, 88px); line-height: .98; font-weight: 800; letter-spacing: -.03em; margin: 28px 0 22px; }
.hl {
  display: inline-block; background: var(--ink); color: var(--lime);
  padding: 0 .16em .06em; border-radius: .22em; transform: rotate(-2deg);
}
.lead { font-size: 19px; max-width: 560px; margin: 0 0 30px; color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-import {
  flex: 1; min-width: 260px; max-width: 440px;
  display: flex; background: var(--white); border: 2px solid var(--ink); border-radius: 999px; padding: 4px;
}
.link-import input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 8px 14px; font-size: 15px; outline: none; }
.link-import input::placeholder { color: #807b92; }
.link-import button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--ink); color: var(--white); font-size: 18px; }
.import-message { font-size: 14px; font-weight: 500; margin: 14px 0 0; }
.import-message:empty { display: none; }

.sticker {
  position: absolute; right: 44px; top: 40px;
  width: 112px; height: 112px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; line-height: 1;
  background: var(--pink); border: 2px solid var(--ink);
  font: 600 14px var(--display); transform: rotate(12deg);
}
.sticker b { display: block; font-size: 24px; font-weight: 800; white-space: nowrap; }

.mini { padding: 26px 26px 28px; }
.mini strong { display: block; font: 700 22px var(--display); letter-spacing: -.02em; margin: 18px 0 6px; }
.mini p { margin: 0; font-size: 15px; color: var(--ink-soft); }
.mini-icon {
  width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center;
  background: var(--white); border: 2px solid var(--ink); font: 800 16px var(--display);
}
.mini-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }

/* Phone mockup */
.phone {
  width: 100%; aspect-ratio: 9 / 16;
  border: 9px solid var(--ink); border-radius: 44px; background: var(--ink);
  box-shadow: 10px 10px 0 var(--violet); transform: rotate(3deg);
}
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; color: #fff; isolation: isolate; }
.phone-screen:after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 0 0 1px #ffffff1a;
}
.phone-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.float-chip {
  position: absolute; background: var(--white); border: 2px solid var(--ink); border-radius: 999px;
  padding: 8px 14px; font-size: 13px; font-weight: 600; white-space: nowrap;
}
/* Štítky ukotvené k telefónu (nie k boxu) – pri každej šírke na tom istom mieste */
.chip-a { left: -24px; top: 14%; transform: rotate(-6deg); }
.chip-b { right: -18px; bottom: 8%; transform: rotate(5deg); background: var(--lime); }

/* Sections */
.section { padding: 96px 0 0; }
.section-head { margin-bottom: 32px; max-width: 720px; }
.section-head-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; max-width: none; }
.kicker {
  display: inline-block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  background: var(--white); border: 1.5px solid var(--ink); border-radius: 999px; padding: 4px 12px;
}
.section h2 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.02; font-weight: 800; letter-spacing: -.04em; margin-top: 16px; }
.section-lead { font-size: 18px; color: var(--ink-soft); margin: 14px 0 0; }

/* Steps */
.steps-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { padding: 30px; }
.step-num {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  font: 800 24px var(--display); border: 2px solid var(--ink); margin-bottom: 40px;
}
.step:nth-child(1) .step-num { background: var(--lime); }
.step:nth-child(2) .step-num { background: var(--peach); }
.step:nth-child(3) .step-num { background: var(--sky); }
.step h3 { font-size: 26px; font-weight: 700; margin-bottom: 8px; }
.step p { margin: 0; color: var(--ink-soft); }

/* Examples */
.examples { display: grid; grid-template-columns: repeat(3, minmax(0, 360px)); justify-content: center; gap: 16px; }
.example { margin: 0 auto; width: 100%; max-width: 360px; border-radius: var(--radius); padding: 16px; }
.example-shot {
  display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 20px; background: var(--ink);
  border: 2px solid var(--ink); transition: transform .25s;
}
.example figcaption { padding: 16px 6px 4px; }
.example strong { display: block; font: 700 22px var(--display); letter-spacing: -.02em; }
.example span { font-size: 15px; color: var(--ink-soft); }

/* Studio */
.studio { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 1fr); gap: 16px; align-items: start; }
.studio-form { display: grid; gap: 16px; }
.card { margin: 0; min-width: 0; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card-head { display: flex; align-items: center; gap: 12px; width: 100%; padding: 0; font: 700 22px var(--display); letter-spacing: -.02em; float: left; margin-bottom: 20px; }
.card-head + * { clear: both; }
.badge { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--ink); font-size: 16px; }
.badge-lime { background: var(--lime); }
.badge-peach { background: var(--peach); }
.badge-sky { background: var(--sky); }
.count { margin-left: auto; font: 500 14px 'DM Sans', sans-serif; color: var(--ink-soft); }

.dropzone {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  min-height: 200px; padding: 24px; cursor: pointer;
  border: 2px dashed #1b183066; border-radius: 22px; background: #fbf3ff;
  transition: background .2s, border-color .2s;
}
.dropzone:hover, .dropzone.dragging { background: #f1eaff; border-color: var(--violet); }
.dropzone input { display: none; }
.drop-icon { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; background: var(--lilac); border: 2px solid var(--ink); margin-bottom: 14px; }
.drop-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.dropzone strong { font-size: 17px; }
.dropzone > span:not(.drop-icon) { font-size: 15px; color: var(--ink-soft); margin-top: 4px; }
.dropzone u { text-decoration-color: var(--violet); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.dropzone small { display: block; font-size: 13px; color: var(--ink-soft); margin-top: 12px; }


.message { margin: 14px 0 0; padding: 10px 14px; border-radius: 14px; background: var(--peach); font-size: 14px; font-weight: 500; }
.message:empty { display: none; }
.hint { margin: 14px 0 0; font-size: 14px; color: var(--ink-soft); }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fields label { font-size: 14px; font-weight: 600; }
.full { grid-column: 1 / -1; }
.fields input {
  display: block; width: 100%; margin-top: 6px; padding: 13px 16px;
  border: 2px solid #1b183026; border-radius: 14px; background: var(--white); font-size: 15px; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.fields input::placeholder { color: #8d889e; }
.fields input:focus { border-color: var(--ink); box-shadow: 3px 3px 0 var(--lilac); }

.formats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.formats label { position: relative; cursor: pointer; }
.formats input { position: absolute; opacity: 0; }
.format-card { display: block; height: 100%; padding: 18px; border: 2px solid #1b183026; border-radius: 20px; transition: .15s; }
.formats input:checked + .format-card { border-color: var(--ink); background: var(--sky); box-shadow: 4px 4px 0 var(--ink); }
.formats input:focus-visible + .format-card { outline: 3px solid var(--violet); outline-offset: 3px; }
.format-card i { display: block; border: 2px solid var(--ink); border-radius: 5px; margin-bottom: 14px; background: var(--white); }
.vertical { width: 18px; height: 30px; }
.horizontal { width: 32px; height: 20px; margin-top: 10px; }
.format-card strong { display: block; font-size: 16px; }
.format-card > span { font-size: 14px; color: var(--ink-soft); }
.actions { display: flex; gap: 10px; margin-top: 20px; }
.actions .btn-ink { flex: 1; }

.studio-preview { position: sticky; top: 88px; padding: 28px; }
.preview {
  position: relative; isolation: isolate; overflow: hidden;
  width: 100%; max-width: 360px; max-height: 640px; margin: 0 auto; aspect-ratio: 9 / 16;
  border: 8px solid var(--ink); border-radius: 36px; background: #9a95b8;
  box-shadow: 8px 8px 0 var(--ink);
}
.preview.wide { max-width: none; border-radius: 24px; }
.preview:after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(#0005, #0000 25%, #0000 45%, #000d); }
@keyframes kb { from { transform: scale(1.14) translateX(2%); } to { transform: scale(1); } }
.preview-label {
  position: absolute; left: 16px; top: 16px; padding: 5px 10px; border-radius: 999px;
  background: var(--lime); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .06em;
}
.preview-copy { position: absolute; left: 22px; right: 22px; bottom: 72px; color: #fff; text-shadow: 0 1px 14px #0006; }
.preview-copy > span:first-child { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.preview-copy h3 {
  font-size: clamp(26px, 2.6vw, 36px); line-height: 1.05; font-weight: 800; letter-spacing: -.03em; margin: 10px 0;
  overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
}
.preview-copy p { margin: 0 0 4px; font-size: 15px; font-weight: 600; }
.preview-copy > span:last-child { font-size: 13px; opacity: .9; overflow-wrap: anywhere; }
.play {
  position: absolute; right: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--ink); background: var(--lime); color: var(--ink); font-size: 14px;
}
.preview-progress { position: absolute; left: 22px; right: 76px; bottom: 37px; height: 4px; border-radius: 4px; background: #ffffff4d; }
.preview-progress span { display: block; height: 100%; width: 12%; border-radius: 4px; background: var(--lime); transition: width .3s; }
.preview.wide .preview-label { left: 12px; top: 12px; }
.preview.wide .preview-copy { left: 18px; right: 70px; bottom: 44px; }
.preview.wide .preview-copy h3 { font-size: clamp(18px, 1.8vw, 24px); margin: 4px 0; -webkit-line-clamp: 2; }
.preview.wide .preview-copy p { font-size: 13px; }
.preview.wide .preview-progress { left: 18px; right: 70px; bottom: 26px; }
.preview.wide .play { width: 38px; height: 38px; right: 12px; bottom: 10px; }
.preview-caption { display: flex; justify-content: space-between; margin-top: 18px; font-size: 14px; font-weight: 600; }

.studio-steps { position: sticky; top: 88px; padding: 32px; }
.studio-steps h3 { font-size: 26px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 20px; }
.trial-done { padding: 40px; text-align: center; display: grid; justify-items: center; gap: 10px; }
.trial-done .badge { width: 56px; height: 56px; font-size: 24px; }
.trial-done h3 { font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.trial-done p { margin: 0; max-width: 460px; }

.pricing-note { margin: 20px 0 0; text-align: center; font-weight: 600; }
.topbar-actions { display: flex; align-items: center; gap: 16px; }
.topbar-login { font-weight: 600; font-size: 15px; }

/* Compare */

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.price { padding: 32px; display: flex; flex-direction: column; }
.price h3 { font-size: 22px; font-weight: 700; }
.amount { font: 800 52px/1 var(--display); letter-spacing: -.04em; margin: 18px 0 22px; }
.amount small { display: block; font: 500 15px 'DM Sans', sans-serif; letter-spacing: 0; color: var(--ink-soft); margin-top: 8px; }
.price ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.price li { padding: 8px 0 8px 30px; position: relative; }
.price li:before { content: '✓'; position: absolute; left: 0; top: 8px; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: var(--lime); font-size: 12px; display: grid; place-items: center; }
.featured { border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); }
.featured .amount small { color: var(--ink); }
.sticker-small { width: 76px; height: 76px; top: -18px; right: 22px; font-size: 18px; font-weight: 800; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.faq details { padding: 0; border-radius: 22px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 60px 22px 24px; position: relative;
  font: 700 19px/1.25 var(--display); letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:after {
  content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; background: var(--lilac); border: 2px solid var(--ink);
  display: grid; place-items: center; font: 600 18px 'DM Sans', sans-serif; transition: transform .2s;
}
.faq details[open] summary:after { transform: translateY(-50%) rotate(45deg); background: var(--lime); }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--ink-soft); }

/* CTA + footer */
.cta { margin-top: 96px; padding: 72px 32px; text-align: center; overflow: hidden; }
.cta h2 { font-size: clamp(38px, 5.4vw, 72px); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.cta p { font-size: 19px; margin: 16px 0 30px; }
.footer {
  max-width: 1320px; margin: 0 auto; padding: 40px 24px 48px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  font-size: 15px; color: var(--ink-soft);
}
.footer .brand { font-size: 24px; color: var(--ink); }
.footer a:last-child { text-decoration: underline; text-underline-offset: 3px; }

/* Responsive */
@media (max-width: 1100px) {
  .hero { grid-template-columns: repeat(3, 1fr); grid-template-areas: "main main main" "phone phone phone" "a b c"; }
  .hero-phone { padding: 48px 24px; }
  .studio { grid-template-columns: 1fr; }
  .studio-steps { position: static; }
}
@media (max-width: 760px) {
  .topbar nav { display: none; }
  .topbar { padding: 12px 16px; }
  main { padding: 0 16px; }
  .hero { grid-template-columns: 1fr; grid-template-areas: "main" "phone" "a" "b" "c"; }
  .hero-main { padding: 32px 24px 36px; }
  .sticker { width: 78px; height: 78px; right: 14px; top: 16px; font-size: 12px; }
  .sticker b { font-size: 17px; }
  .pill { font-size: 13px; padding-right: 10px; max-width: calc(100% - 96px); } /* nezasahovať pod kruh s cenou */
  .lead { font-size: 17px; }
  .hero-actions > .btn { width: 100%; }
  .link-import { min-width: 0; max-width: none; width: 100%; }
  .chip-a { left: -10px; }
  .chip-b { right: -8px; }
  .hero-phone { padding: 36px 28px 40px; }
  .phone-wrap { width: min(60vw, 230px); } /* telefón nezaberie celú výšku obrazovky */
  .section { padding-top: 64px; }
  .section-head-row { flex-direction: column; align-items: start; }
  .steps-row, .examples, .pricing, .faq { grid-template-columns: 1fr; }
  .step-num { margin-bottom: 20px; }
  .card { padding: 22px 18px; }
  .studio-preview { padding: 20px; }
  .fields { grid-template-columns: 1fr 1fr; gap: 12px; }
  .actions { flex-direction: column-reverse; }
  .preview.wide .preview-label { display: none; }
  .preview.wide .preview-copy h3 { font-size: 17px; }
  .cta { margin-top: 64px; padding: 48px 20px; }
}
@media (max-width: 400px) {
  .formats { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation: none !important; transition: none !important; }
}

/* Právne stránky */
.legal { max-width: 780px; padding-top: 32px; padding-bottom: 80px; }
.legal h1 { font: 800 clamp(36px, 5vw, 56px)/1.02 var(--display); letter-spacing: -.04em; margin: 14px 0 6px; }
.legal h2 { font: 700 22px var(--display); letter-spacing: -.02em; margin: 36px 0 10px; }
.legal p, .legal li { font-size: 16px; line-height: 1.6; color: var(--ink); }
.legal ul { padding-left: 22px; display: grid; gap: 6px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal-meta { color: var(--ink-soft); margin: 0; }
.legal-links { margin-top: 40px; font-weight: 600; }

/* Skúška zadarmo: pohyb kamery a súhlasy */
.badge-lilac { background: var(--lilac); }
.fieldset-lead { margin: 0 0 12px; clear: both; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.choice-row label { position: relative; }
.choice-row input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice-row span { display: inline-block; padding: 8px 14px; border: 2px solid var(--ink); border-radius: 999px; font-size: 14px; font-weight: 600; background: var(--white); }
.choice-row input:checked + span { background: var(--ink); color: var(--lime); }
.choice-row input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); margin-top: 14px; }
.consent input { margin-top: 3px; flex: none; width: 18px; height: 18px; accent-color: var(--ink); }
.consent a, .faq a { text-decoration: underline; text-underline-offset: 2px; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { text-decoration: underline; text-underline-offset: 3px; }

/* Výber fotiek pre nové video (štúdio aj skúška zadarmo): dlaždice s poradím, štítkom typu a ťahaním */
.ph-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; margin-top: 12px; }
.ph-grid:empty { display: none; }
.ph-tile, .ph-slot { position: relative; aspect-ratio: 1; border-radius: 14px; }
.ph-tile { overflow: hidden; border: 1.5px solid var(--line); background: #ece6f7; cursor: grab; touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.ph-tile:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }
.ph-tile.is-first { border: 3px solid var(--lime); box-shadow: 0 0 0 1.5px var(--ink); }
.ph-tile img, .ph-heic { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ph-heic { display: grid; place-items: center; padding: 8px; font-size: 11px; text-align: center; word-break: break-all; color: var(--ink-soft); }
.ph-tile::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, #1b1830b3); pointer-events: none; }
.ph-tile.is-dragging { position: fixed; z-index: 50; cursor: grabbing; transform: rotate(-3deg) scale(1.04); box-shadow: 8px 10px 0 var(--violet); pointer-events: none; }
.ph-slot { border: 2px dashed var(--violet); background: #f1eaff; }
.ph-num { position: absolute; top: 6px; left: 6px; z-index: 1; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 12px/22px var(--display); text-align: center; }
.ph-remove { position: absolute; top: 6px; right: 6px; z-index: 1; width: 22px; height: 22px; border-radius: 50%; border: 0; background: #fffdf9e6; color: var(--ink); font-size: 15px; line-height: 1; cursor: pointer; }
.ph-remove:hover { background: #b3261e; color: #fff; }
.ph-tag { position: absolute; left: 6px; right: 6px; bottom: 6px; z-index: 1; display: block; color: #fff; font-size: 12px; font-weight: 700; line-height: 1.2; text-shadow: 0 1px 2px #0008; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-tag select { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; font-size: 16px; }
.ph-tag.is-busy { letter-spacing: .2em; }
.ph-tag:focus-within { outline: 2px solid var(--lime); outline-offset: 2px; border-radius: 4px; }
.ph-arrows { display: none; position: absolute; top: 50%; left: 4px; right: 4px; z-index: 1; justify-content: space-between; transform: translateY(-50%); pointer-events: none; }
.ph-arrows button { width: 24px; height: 24px; padding: 0; border-radius: 50%; border: 0; background: #fffdf9b3; font-size: 12px; font-weight: 700; cursor: pointer; pointer-events: auto; }
.ph-arrows button:disabled { visibility: hidden; }
@media (pointer: coarse) { .ph-arrows { display: flex; } }
.ph-warn { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 4px; font-size: 13px; color: var(--ink-soft); }
.ph-warn:empty { display: none; }
.ph-warn li::before { content: '⚠ '; color: #b3261e; }
.btn-chip { border: 1.5px solid var(--violet); background: var(--white); color: var(--violet); border-radius: 999px; padding: 6px 14px; font: 700 13px var(--body, inherit); cursor: pointer; }
.btn-chip:hover { background: #f1eaff; }
.btn-chip[aria-pressed="false"] { border-style: dashed; color: var(--ink-soft); border-color: var(--line); }
.dropzone.is-compact { min-height: 0; flex-direction: row; justify-content: flex-start; gap: 14px; padding: 14px 16px; text-align: left; }
.dropzone.is-compact .drop-icon { width: 40px; height: 40px; border-radius: 12px; margin: 0; flex: none; }
.dropzone .drop-pick { display: none; }
.dropzone.is-compact .drop-pick { display: inline-flex; margin-left: auto; flex: none; }
.dropzone.is-compact strong { font-size: 15px; }
.dropzone.is-compact .drop-text > span { font-size: 13px; margin-top: 2px; }
.drop-text { display: flex; flex-direction: column; }
@media (max-width: 560px) { .ph-grid { grid-template-columns: repeat(3, 1fr); } .dropzone.is-compact .drop-pick { display: none; } }
.trial-sort { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 12px 0 0; font-size: 13px; color: var(--ink-soft); }


/* Úvod: cena pri tlačidle; Ukážky: tlačidlo pod videami; Prečo imotour: šesť výhod; cenník: štítok a popis plánu */
.hero-note { font-size: 15px; font-weight: 600; }
.section-cta { margin: 28px 0 0; text-align: center; }
.benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.benefits li { padding: 24px; }
.benefits strong { display: block; font: 700 20px var(--display); letter-spacing: -.02em; margin-bottom: 8px; }
.benefits p { margin: 0; color: var(--ink-soft); }
.price-kicker { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.price-lead { margin: -8px 0 16px; color: var(--ink-soft); font-size: 15px; }
.studio-steps p { margin: 0 0 14px; font-size: 16px; line-height: 1.55; }
.studio-promise { font-weight: 700; padding: 12px 14px; background: var(--white); border: 2px solid var(--ink); border-radius: 16px; }
@media (max-width: 1100px) { .benefits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .benefits { grid-template-columns: 1fr; } }
/* Kde video použiť: karty ako výhody + formát exportu */
.uses li { display: flex; flex-direction: column; }
.uses p { flex: 1; }
.use-format { align-self: flex-start; margin-top: 14px; padding: 4px 10px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--lime); font-size: 13px; font-weight: 700; }
.uses-why { max-width: 760px; margin: 24px auto 0; text-align: center; font-size: 17px; line-height: 1.55; color: var(--ink-soft); }
.uses-why strong { color: var(--ink); }
/* Obchodné podmienky a ochrana osobných údajov v modálnom okne (legal.js) */
.legal-modal { width: min(820px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 2px solid var(--ink); border-radius: 24px; background: var(--white); color: var(--ink); box-shadow: 10px 10px 0 var(--violet); overflow: hidden; }
.legal-modal::backdrop { background: #1b1830a6; }
.legal-modal .legal-body { max-width: none; max-height: calc(100dvh - 52px); overflow-y: auto; padding: 32px 40px 40px; overscroll-behavior: contain; }
.legal-modal .legal-links { margin-top: 28px; }
.legal-close { position: absolute; top: 12px; right: 12px; z-index: 1; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ink); background: var(--lime); font-size: 22px; line-height: 1; cursor: pointer; }
html.legal-open { overflow: hidden; }
@media (max-width: 560px) { .legal-modal { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); border-radius: 18px; } .legal-modal .legal-body { padding: 24px 18px 32px; max-height: calc(100dvh - 20px); } }
.nowrap { white-space: nowrap; }
.topbar-login, .topbar-actions .btn { white-space: nowrap; }
.pricing-soon { color: var(--violet); }
@media (max-width: 420px) {
  /* Hlavička v jednom riadku aj na 390 px */
  .topbar { gap: 10px; }
  .topbar .brand-logo { height: 26px; }
  .topbar-actions { gap: 10px; }
  .topbar-login { font-size: 14px; }
  .topbar-actions .btn-small { padding: 9px 14px; font-size: 13px; }
}
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
