/* =============================================================
   LUSION — site.css
   Farby sú odvodené z postavičky: navy z loga, fialová zo svetla
   robotových očí. Fialová = "svetlo" — len pre stavy, ktoré robot
   "vidí": fokus, výber, priebeh, jeho oči. Nie ako dekorácia.
   ============================================================= */

@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/onest.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --mist: #f3f4f8;
  --line: #e2e4ec;
  --ink: #12163a;
  --ink-2: #2a2f55;
  --slate: #5d6279;
  --light: #5b4be0;
  --light-soft: #ecebfd;
  --ok: #1f8a5b;
  --err: #c2352b;

  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* typografická škála (1.25 → 1.333 na veľkých) */
  --t-xs: 0.8125rem;
  --t-sm: 0.9375rem;
  --t-base: 1.0625rem;
  --t-lg: 1.25rem;
  --t-xl: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  --t-2xl: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  --t-3xl: clamp(2.75rem, 1.6rem + 5vw, 6rem);

  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --max: 1240px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 28px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--t-base);
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--light); color: #fff; }

:focus-visible {
  outline: 2px solid var(--light);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--r-sm);
}
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- typografia ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.028em; line-height: 1.05; text-wrap: balance; }
h1 { font-size: var(--t-3xl); letter-spacing: -0.045em; line-height: .96; }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-xl); letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: var(--t-lg); line-height: 1.55; color: var(--slate); max-width: 38ch; }
.muted { color: var(--slate); }
.small { font-size: var(--t-sm); }
.prose p + p { margin-top: 1em; }
.prose { max-width: 62ch; }

/* ---------- tlačidlá ---------- */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: 0 1.5rem;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  border-radius: 999px; font-weight: 600; font-size: var(--t-base);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { --bg: var(--ink-2); --bd: var(--ink-2); }
.btn:active { transform: scale(.98); }
.btn--line { --bg: transparent; --fg: var(--ink); --bd: var(--line); }
.btn--line:hover { --bg: transparent; --bd: var(--ink); }
.btn--sm { min-height: 42px; padding: 0 1.1rem; font-size: var(--t-sm); }
.btn[disabled] { opacity: .4; cursor: not-allowed; transform: none; }
.btn .dot { width: 8px; height: 8px; border-radius: 50%; background: #25d366; }

.link {
  font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
  padding-bottom: 2px; transition: background-size .25s var(--ease);
}
.link:hover { background-size: 0 1.5px; background-position: 100% 100%; }

.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- hlavička ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid transparent;
  transition: border-color .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 2rem; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 26px; width: auto; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav ul { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: var(--t-sm); color: var(--slate); transition: color .2s; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { font-weight: 600; }

.menu-btn {
  display: none; width: 48px; height: 48px; margin-right: -10px;
  background: none; border: 0; cursor: pointer; position: relative;
}
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn span:nth-child(1) { top: 19px; }
.menu-btn span:nth-child(2) { top: 27px; }
.menu-open .menu-btn span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { top: 23px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--paper);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 1.5rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom));
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s .3s;
}
.menu-open .mobile-nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li { border-bottom: 1px solid var(--line); }
.mobile-nav li a { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; font-size: 1.75rem; font-weight: 600; letter-spacing: -0.03em; text-decoration: none; }
.mobile-nav li a small { font-size: var(--t-sm); font-weight: 400; color: var(--slate); letter-spacing: 0; }
.mobile-nav .foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.mobile-nav .foot .robot { width: 110px; flex: none; }
.mobile-nav .contact-lines a { display: block; text-decoration: none; font-weight: 500; padding: .25rem 0; }
.menu-open { overflow: hidden; }

@media (max-width: 900px) {
  .nav ul, .nav .btn { display: none; }
  .menu-btn { display: block; }
}
@media (min-width: 901px) { .mobile-nav { display: none; } }

/* ---------- robot ---------- */
.robot { position: relative; }
.robot img { width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }
.robot--head img { -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
.robot .eye {
  position: absolute; border-radius: 48%;
  background: radial-gradient(circle at 50% 45%, #b9b2ff 0 18%, #7a6bff 45%, #5b4be0 100%);
  box-shadow: 0 0 0 1px rgba(91,75,224,.25), 0 0 14px 3px rgba(108,92,255,.45);
  transform: translate(var(--ex, 0px), var(--ey, 0px)) scaleY(var(--lid, 1));
  transition: transform .18s ease-out;
  will-change: transform;
}
.robot--full .eye { top: 16.4%; width: 5.05%; height: 3.6%; }
.robot--full .eye--l { left: 37.1%; }
.robot--full .eye--r { left: 58.1%; }
.robot--head .eye { top: 49.2%; width: 8.26%; height: 11.4%; }
.robot--head .eye--l { left: 28.04%; }
.robot--head .eye--r { left: 62.4%; }
.robot.is-blinking .eye { --lid: .08; transition-duration: .07s; }
.robot.is-happy .eye { border-radius: 50% 50% 20% 20% / 70% 70% 30% 30%; --lid: .55; }
.robot.is-thinking .eye { animation: think 1.6s var(--ease) infinite; }
@keyframes think {
  0%, 100% { transform: translate(-2px, -3px); }
  50% { transform: translate(2px, -3px); }
}

.float { animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- sekcie ---------- */
.section { padding-block: clamp(4.5rem, 3rem + 7vw, 9rem); }
.section--mist { background: var(--mist); }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem); max-width: 760px; }
.section-head p { color: var(--slate); font-size: var(--t-lg); max-width: 52ch; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(2.5rem, 1rem + 6vw, 6rem); padding-bottom: 0; overflow: clip; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: end; gap: 2rem; }
.hero-copy { padding-bottom: clamp(3rem, 2rem + 6vw, 7.5rem); }
.hero h1 span { display: block; }
.hero h1 span:nth-child(2) { color: var(--ink-2); }
.hero h1 span:nth-child(3) { color: var(--slate); }
.hero .lead { margin-top: 1.75rem; }
.hero .actions { margin-top: 2.25rem; }
.hero-note { margin-top: 1.5rem; font-size: var(--t-sm); color: var(--slate); }
.hero-robot { position: relative; justify-self: center; width: min(460px, 100%); margin-bottom: -6%; }
.hero-robot .bubble {
  position: absolute; left: -12%; top: 6%;
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px 16px 16px 4px;
  padding: .7rem 1rem; font-size: var(--t-sm); font-weight: 500; max-width: 15rem;
  box-shadow: 0 10px 30px -12px rgba(18,22,58,.18);
}
.hero-robot .bubble b { font-weight: 600; }

/* úvodná sekvencia — jediný orchestrovaný pohyb na stránke */
.intro .hero h1 span, .intro .hero .lead, .intro .hero .actions, .intro .hero-note, .intro .hero-robot, .intro .hero-robot .bubble {
  opacity: 0; transform: translateY(18px);
}
.hero h1 span, .hero .lead, .hero .actions, .hero-note, .hero-robot, .hero-robot .bubble {
  transition: opacity .8s var(--ease), transform .9s var(--ease);
}
.hero h1 span:nth-child(2) { transition-delay: .08s; }
.hero h1 span:nth-child(3) { transition-delay: .16s; }
.hero .lead { transition-delay: .3s; }
.hero .actions { transition-delay: .38s; }
.hero-note { transition-delay: .46s; }
.hero-robot { transition-delay: .2s; }
.hero-robot .bubble { transition-delay: 1.3s; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding-bottom: 1rem; }
  .hero-robot { width: min(340px, 78vw); margin-top: 1rem; margin-bottom: -10%; }
  .hero-robot .bubble { left: -8%; top: 1%; width: 10.5rem; max-width: none; font-size: var(--t-xs); padding: .55rem .8rem; }
}

/* ---------- služby (riadky, nie karty) ---------- */
.services { border-top: 1px solid var(--ink); }
.service {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) auto;
  gap: 1.5rem 3rem; align-items: start;
  padding-block: clamp(1.75rem, 1.25rem + 2vw, 2.75rem);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.service h3 { font-size: var(--t-2xl); letter-spacing: -0.035em; line-height: 1; transition: color .2s; }
.service p { color: var(--slate); max-width: 46ch; }
.service .tags { margin-top: 1rem; }
.service .go {
  align-self: center; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; border: 1.5px solid var(--line);
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s;
}
.service:hover .go { background: var(--ink); border-color: var(--ink); color: #fff; }
.service:hover h3 { color: var(--ink-2); }
.service-more { padding-top: 1.75rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: baseline; color: var(--slate); }
.service-more strong { color: var(--ink); font-weight: 600; }
@media (max-width: 760px) {
  .service { grid-template-columns: 1fr auto; }
  .service > div { grid-column: 1 / -1; grid-row: 2; }
  .service .go { grid-column: 2; grid-row: 1; width: 44px; height: 44px; }
}

.tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0; }
.tags li { font-size: var(--t-xs); font-weight: 500; padding: .3rem .7rem; border-radius: 999px; background: var(--mist); color: var(--ink-2); }
.section--mist .tags li { background: var(--paper); }

/* ---------- AI ---------- */
.ai { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: start; }
.ai-robot { max-width: 440px; position: sticky; top: calc(var(--header-h) + 3rem); }
.ai h2 { max-width: 16ch; }
.ai .lead { margin-top: 1.25rem; max-width: 46ch; }
.flow { list-style: none; margin: 2.5rem 0 0; padding: 0; counter-reset: step; display: grid; gap: 0; }
.flow li {
  counter-increment: step; position: relative;
  display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; align-items: start;
  padding: 1rem 0;
}
.flow li::before {
  content: counter(step); width: 2.5rem; height: 2.5rem; border-radius: 50%;
  display: grid; place-items: center; font-weight: 600; font-size: var(--t-sm);
  background: var(--paper); border: 1.5px solid var(--line); position: relative; z-index: 1;
}
.flow li:not(:last-child)::after {
  content: ""; position: absolute; left: calc(1.25rem - .75px); top: 3.5rem; bottom: -.5rem; width: 1.5px; background: var(--line);
}
.flow li.is-lit::before { border-color: var(--light); color: var(--light); box-shadow: 0 0 0 4px var(--light-soft); }
.flow li b { display: block; font-weight: 600; }
.flow li span { color: var(--slate); font-size: var(--t-sm); }
.flow-caption { margin-top: .5rem; font-size: var(--t-sm); color: var(--slate); }
.ai-list { margin-top: 2.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 2rem; }
.ai-list div { border-top: 1px solid var(--line); padding-top: 1rem; }
.ai-list b { display: block; font-weight: 600; margin-bottom: .25rem; }
.ai-list span { color: var(--slate); font-size: var(--t-sm); }
@media (max-width: 900px) {
  .ai { grid-template-columns: 1fr; }
  .ai-robot { max-width: 280px; margin-inline: auto; position: static; }
}
@media (max-width: 520px) { .ai-list { grid-template-columns: 1fr; } }

/* ---------- foto → video teaser ---------- */
.motion { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: center; }
.motion .lead { margin-top: 1.25rem; }
.motion .actions { margin-top: 2rem; }
.motion-demo {
  position: relative; aspect-ratio: 1 / 1; max-width: 520px; width: 100%; justify-self: center;
  background: var(--mist); border-radius: var(--r-lg); overflow: hidden;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding: 8%;
}
.motion-stack { position: relative; aspect-ratio: 3 / 4; }
.motion-stack .ph {
  position: absolute; inset: 0; border-radius: var(--r-md); overflow: hidden; background: var(--paper);
  border: 1px solid var(--line); box-shadow: 0 12px 30px -16px rgba(18,22,58,.25);
}
.motion-stack .ph img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.motion-stack .ph:nth-child(1) { transform: rotate(-7deg) translate(-8%, 4%); }
.motion-stack .ph:nth-child(2) { transform: rotate(4deg) translate(6%, -2%); }
.motion-stack .ph:nth-child(3) { transform: rotate(-1deg); }
.motion-arrow { color: var(--slate); }
.motion-phone {
  position: relative; aspect-ratio: 9 / 16; border-radius: 22px; background: var(--ink); padding: 6px;
  box-shadow: 0 24px 50px -24px rgba(18,22,58,.5);
}
.motion-phone .screen { position: relative; width: 100%; height: 100%; border-radius: 17px; overflow: hidden; background: #fff; }
.motion-phone .screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; animation: kenburns 9s ease-in-out infinite alternate; }
.motion-phone .bar { position: absolute; left: 10%; right: 10%; bottom: 7%; height: 3px; border-radius: 3px; background: rgba(18,22,58,.15); overflow: hidden; }
.motion-phone .bar::after { content: ""; position: absolute; inset: 0; background: var(--light); transform-origin: left; animation: progress 9s linear infinite; }
@keyframes kenburns { from { transform: scale(1.05) translateY(0); } to { transform: scale(1.35) translateY(4%); } }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.motion-demo .tag { position: absolute; left: 8%; bottom: 6%; font-size: var(--t-xs); color: var(--slate); }
@media (max-width: 900px) { .motion { grid-template-columns: 1fr; } }

/* ---------- weby ---------- */
.web-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.web-grid .lead { margin-top: 1.25rem; }
.browser {
  border-radius: var(--r-md); overflow: hidden; background: var(--paper);
  border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(18,22,58,.35);
}
.browser .chrome { display: flex; align-items: center; gap: .4rem; padding: .7rem .9rem; border-bottom: 1px solid var(--line); background: #fafbfc; }
.browser .chrome i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.browser .chrome span { margin-left: .75rem; font-size: var(--t-xs); color: var(--slate); background: var(--mist); padding: .2rem .8rem; border-radius: 999px; }
.browser img { width: 100%; height: auto; }
.browser-caption { margin-top: 1rem; font-size: var(--t-sm); color: var(--slate); }

.prices { margin-top: 2rem; display: grid; gap: 0; border-top: 1px solid var(--line); }
.price { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.price b { font-weight: 600; }
.price span { color: var(--slate); font-size: var(--t-sm); }
.price em { font-style: normal; font-weight: 600; white-space: nowrap; }
@media (max-width: 900px) { .web-grid { grid-template-columns: 1fr; } }

/* ---------- sociálne siete: mesiac ---------- */
.social { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: center; }
.social .lead { margin-top: 1.25rem; }
.month {
  background: var(--paper); border-radius: var(--r-lg); padding: clamp(1rem, .5rem + 2vw, 2rem);
  border: 1px solid var(--line);
}
.month-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; }
.month-head b { font-size: var(--t-lg); font-weight: 600; letter-spacing: -0.02em; }
.month-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.month-grid .dow { font-size: var(--t-xs); color: var(--slate); text-align: center; padding-bottom: .25rem; }
.day {
  aspect-ratio: 1; border-radius: 8px; background: var(--mist); position: relative;
  font-size: 11px; color: var(--slate); padding: 4px 5px; line-height: 1;
}
.day.is-empty { background: transparent; }
.day.v { background: var(--ink); color: rgba(255,255,255,.6); }
.day.p { background: var(--light-soft); color: var(--light); }
.day.r { background: var(--paper); outline: 1.5px dashed var(--light); outline-offset: -1.5px; color: var(--light); }
.legend { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1rem; font-size: var(--t-sm); color: var(--slate); }
.legend span { display: inline-flex; align-items: center; gap: .45rem; }
.legend i { width: 12px; height: 12px; border-radius: 3px; }
.legend .v { background: var(--ink); }
.legend .p { background: var(--light-soft); border: 1px solid #d6d2fb; }
.legend .r { border: 1.5px dashed var(--light); }
.social ul.checks { margin-top: 2rem; }
@media (max-width: 900px) { .social { grid-template-columns: 1fr; } }

ul.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
ul.checks li { display: grid; grid-template-columns: 1.25rem 1fr; gap: .6rem; align-items: start; }
ul.checks li::before {
  content: ""; width: 1.25rem; height: 1.25rem; margin-top: .2rem; border-radius: 50%;
  background: var(--light-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%235b4be0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

/* ---------- práca ---------- */
.work { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.case { grid-column: span 6; display: grid; gap: 1.1rem; text-decoration: none; }
.case--wide { grid-column: 1 / -1; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: end; gap: clamp(1.5rem, 1rem + 3vw, 4rem); }
.case .media { border-radius: var(--r-md); overflow: hidden; background: var(--mist); aspect-ratio: 16 / 10; position: relative; }
.case .media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.case:hover .media img { transform: scale(1.02); }
.case .media--type { display: grid; place-items: center; padding: 2rem; text-align: center; }
.case .media--type strong { font-size: var(--t-2xl); letter-spacing: -0.04em; line-height: 1; }
.case .media--type span { display: block; margin-top: .75rem; color: var(--slate); font-size: var(--t-sm); }
.case h3 { font-size: var(--t-xl); }
.case--text { border-top: 1px solid var(--ink); padding-top: 1.25rem; align-content: start; }
.case p { color: var(--slate); margin-top: .35rem; max-width: 44ch; }
.case .tags { margin-top: .9rem; }
@media (max-width: 760px) {
  .case, .case--wide { grid-column: 1 / -1; grid-template-columns: 1fr; }
}

/* ---------- o nás ---------- */
.about { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: start; }
.about .lead { margin-top: 1.5rem; color: var(--ink); max-width: 44ch; }
.facts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts div { padding: 1.1rem 0; border-bottom: 1px solid var(--line); display: grid; gap: .15rem; }
.facts b { font-weight: 600; }
.facts span { color: var(--slate); font-size: var(--t-sm); }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: clip; background: var(--mist); padding-block: clamp(4.5rem, 3rem + 6vw, 8rem) 0; }
.cta .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 2rem; }
.cta-copy { padding-bottom: clamp(4.5rem, 3rem + 6vw, 8rem); }
.cta h2 { font-size: var(--t-3xl); letter-spacing: -0.045em; line-height: .96; }
.cta .lead { margin-top: 1.5rem; }
.cta .actions { margin-top: 2.25rem; }
.cta-robot { width: min(380px, 100%); justify-self: center; margin-bottom: -18%; }
@media (max-width: 900px) {
  .cta .wrap { grid-template-columns: 1fr; }
  .cta-copy { padding-bottom: 1rem; }
  .cta-robot { width: min(300px, 72vw); margin-bottom: -30%; }
}

/* ---------- päta ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding-block: 4rem 2rem; font-size: var(--t-sm); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.footer-grid h4 { color: #fff; font-size: var(--t-sm); font-weight: 600; letter-spacing: 0; margin-bottom: 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-brand img { height: 24px; width: auto; filter: brightness(0) invert(1); }
.footer-brand p { margin-top: 1rem; max-width: 30ch; }
.footer-bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- podstránky ---------- */
.page-hero { padding-block: clamp(3rem, 2rem + 5vw, 6.5rem) clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; }
.page-hero h1 { font-size: clamp(2.5rem, 1.5rem + 4.5vw, 5rem); }
.page-hero .lead { margin-top: 1.5rem; max-width: 50ch; }
.page-hero .robot { width: clamp(120px, 12vw + 40px, 220px); }
.crumbs { font-size: var(--t-sm); color: var(--slate); margin-bottom: 1.25rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
@media (max-width: 700px) { .page-hero .wrap { grid-template-columns: 1fr; } .page-hero .robot { display: none; } }

.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 1rem + 4vw, 5rem); }
.split + .split { margin-top: clamp(3rem, 2rem + 4vw, 5rem); padding-top: clamp(3rem, 2rem + 4vw, 5rem); border-top: 1px solid var(--line); }
.split h2 { font-size: var(--t-xl); }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem 2.5rem; }
.feature-list b { display: block; font-weight: 600; margin-bottom: .3rem; }
.feature-list span { color: var(--slate); }
@media (max-width: 600px) { .feature-list { grid-template-columns: 1fr; } }

.packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.package {
  border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.75rem;
  display: flex; flex-direction: column; gap: 1rem; background: var(--paper);
}
.package--main { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.package h3 { font-size: var(--t-lg); }
.package .price-big { font-size: var(--t-xl); font-weight: 700; letter-spacing: -0.03em; }
.package .price-big small { font-size: var(--t-sm); font-weight: 400; color: var(--slate); letter-spacing: 0; }
.package ul.checks { font-size: var(--t-sm); flex: 1; }
.package .btn { align-self: flex-start; }
.fineprint { margin-top: 1.25rem; font-size: var(--t-sm); color: var(--slate); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; counter-reset: s; }
.steps li { counter-increment: s; border-top: 1.5px solid var(--ink); padding-top: 1rem; }
.steps li::before { content: counter(s); display: block; font-weight: 700; font-size: var(--t-lg); margin-bottom: .6rem; }
.steps b { display: block; font-weight: 600; }
.steps span { color: var(--slate); font-size: var(--t-sm); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; font-weight: 600; font-size: var(--t-lg); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.5rem; line-height: 1; transition: transform .25s var(--ease); color: var(--slate); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.25rem; color: var(--slate); max-width: 64ch; }

/* ---------- formuláre ---------- */
.form { display: grid; gap: 1.1rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .4rem; }
.field label { font-size: var(--t-sm); font-weight: 600; }
.field label small { font-weight: 400; color: var(--slate); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 52px; padding: .8rem 1rem; font-size: 16px;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-sm);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--light); box-shadow: 0 0 0 4px var(--light-soft); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; border: 0; padding: 0; margin: 0; }
.chips legend { font-size: var(--t-sm); font-weight: 600; margin-bottom: .5rem; padding: 0; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; border-radius: 999px;
  border: 1.5px solid var(--line); font-size: var(--t-sm); font-weight: 500; cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.chip input:checked + span { border-color: var(--light); background: var(--light-soft); color: var(--light); }
.chip input:focus-visible + span { outline: 2px solid var(--light); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 1rem 1.25rem; border-radius: var(--r-sm); font-size: var(--t-sm); }
.notice--ok { background: #e8f5ee; color: var(--ok); }
.notice--err { background: #fcebea; color: var(--err); }

.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 1rem + 5vw, 6rem); }
.contact-lines { display: grid; gap: 1.5rem; }
.contact-lines a { font-size: var(--t-xl); font-weight: 600; letter-spacing: -0.02em; text-decoration: none; }
.contact-lines a:hover { color: var(--light); }
.contact-lines small { display: block; color: var(--slate); font-size: var(--t-sm); margin-bottom: .15rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- cookies ---------- */
.cookie {
  position: fixed; left: 1rem; bottom: 1rem; z-index: 60; width: min(420px, calc(100% - 2rem));
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.25rem; box-shadow: 0 20px 50px -20px rgba(18,22,58,.3); font-size: var(--t-sm);
}
.cookie p { color: var(--slate); }
.cookie .actions { margin-top: 1rem; }
.cookie[hidden] { display: none; }

/* ---------- plávajúci WhatsApp ---------- */
.wa {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 28px -10px rgba(0,0,0,.35); transition: transform .2s var(--ease);
}
.wa:hover { transform: scale(1.06); }
@media (max-width: 600px) { .wa { width: 50px; height: 50px; right: .75rem; bottom: .75rem; } .wa svg { width: 24px; height: 24px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .intro .hero h1 span, .intro .hero .lead, .intro .hero .actions, .intro .hero-note, .intro .hero-robot, .intro .hero-robot .bubble { opacity: 1; transform: none; }
}

/* ---------- foto na video: štúdio ---------- */
.studio-hero { padding-bottom: 2rem; }
.studio-section { padding-bottom: clamp(4rem, 3rem + 5vw, 7rem); }
.notice--info { background: var(--light-soft); color: var(--ink); margin-bottom: 1.5rem; }
.studio { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: start; }
.studio-controls { display: grid; gap: 2.25rem; }
.studio-step { display: grid; gap: 1rem; }
.studio-step h2 { font-size: var(--t-lg); letter-spacing: -0.01em; display: flex; align-items: center; gap: .7rem; }
.studio-step h2 .n { width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center; font-size: var(--t-sm); background: var(--ink); color: #fff; }
.studio-step .chips + .chips { margin-top: .5rem; }

.drop {
  display: grid; justify-items: center; gap: .5rem; text-align: center; cursor: pointer;
  padding: clamp(1.75rem, 1rem + 3vw, 3rem) 1.25rem; border-radius: var(--r-md);
  border: 1.5px dashed #c9ccd8; background: var(--mist); color: var(--slate);
  transition: border-color .2s, background .2s;
}
.drop b { color: var(--ink); font-weight: 600; }
.drop u { text-underline-offset: 3px; }
.drop:hover, .drop.is-over { border-color: var(--light); background: var(--light-soft); }
.drop:focus-within { outline: 2px solid var(--light); outline-offset: 3px; }
@media (pointer: coarse) { .drop-desktop { display: none; } .drop u { text-decoration: none; } }

.thumbs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: .6rem; }
.thumbs:empty { display: none; }
.thumb { position: relative; aspect-ratio: 1; border-radius: var(--r-sm); overflow: hidden; background: var(--mist); cursor: grab; }
.thumb img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.thumb .i { position: absolute; left: 6px; top: 6px; min-width: 22px; height: 22px; border-radius: 11px; background: rgba(255,255,255,.92); font-size: 12px; font-weight: 600; display: grid; place-items: center; }
.thumb button {
  position: absolute; right: 4px; top: 4px; width: 32px; height: 32px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(18,22,58,.78); color: #fff; display: grid; place-items: center;
}
.thumb button:hover { background: var(--ink); }
.thumb.is-dragging { opacity: .35; }
.thumb.is-target { outline: 2px solid var(--light); outline-offset: 2px; }
.thumb.add { display: grid; place-items: center; border: 1.5px dashed #c9ccd8; background: transparent; color: var(--slate); cursor: pointer; font-size: 1.75rem; font-weight: 300; }
.thumb.add:hover { border-color: var(--light); color: var(--light); }

.studio-go { gap: .75rem; }
.studio-go .btn { width: 100%; min-height: 58px; font-size: var(--t-lg); }

.studio-preview { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1rem; }
.frame {
  position: relative; margin-inline: auto; width: 100%; background: var(--mist); border-radius: var(--r-lg);
  overflow: hidden; display: grid; place-items: center; transition: aspect-ratio .4s var(--ease), max-width .4s var(--ease);
}
.frame[data-ratio="9:16"] { aspect-ratio: 9 / 16; max-width: 360px; }
.frame[data-ratio="1:1"] { aspect-ratio: 1; max-width: 460px; }
.frame[data-ratio="16:9"] { aspect-ratio: 16 / 9; max-width: 100%; }
.frame .state { display: grid; justify-items: center; gap: 1rem; text-align: center; padding: 1.5rem; max-width: 300px; }
.frame .state[hidden] { display: none; }
.frame .state p b { display: block; font-weight: 600; }
.frame .state p span { display: block; color: var(--slate); font-size: var(--t-sm); margin-top: .25rem; }
.frame .state .robot { width: 150px; }
.frame[data-ratio="16:9"] .state .robot { width: 110px; }
.frame .result { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.ring { position: relative; width: 84px; height: 84px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: var(--line); stroke-width: 3; }
.ring circle.val { stroke: var(--light); stroke-linecap: round; stroke-dasharray: 106.8; stroke-dashoffset: 106.8; transition: stroke-dashoffset .4s var(--ease); }
.ring span { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 600; font-size: var(--t-sm); }
.result-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.result-actions[hidden] { display: none; }

@media (max-width: 900px) {
  .studio { grid-template-columns: 1fr; }
  .studio-preview { position: static; order: 2; }
  .frame[data-ratio="9:16"] { max-width: 300px; }
  .studio-preview.is-idle { display: none; }
}


/* ---------- utility ---------- */
.mt-sm { margin-top: 1.25rem; }
.mt-md { margin-top: 2rem; }
.mt-lg { margin-top: 2.5rem; }
.pt-0 { padding-top: 0; }
.fig { margin: 0; }
.motion-stack .ph--a { background: var(--light-soft); }
.motion-stack .ph--b { background: #e9edf5; }
.motion-stack .ph--a img { object-position: 50% 12%; transform: scale(1.8); }
.motion-stack .ph--b img { object-position: 50% 45%; transform: scale(1.3); }
.motion-stack .ph--c img { object-fit: contain; padding: 8% 4% 0; }

/* ---------- prepínač jazyka ---------- */
.lang {
  display: inline-flex; align-items: center; gap: .3rem; text-decoration: none;
  font-size: var(--t-sm); color: var(--slate); padding: .4rem .2rem;
}
.lang b { color: var(--ink); font-weight: 600; }
.lang:hover b { color: var(--light); }
@media (max-width: 900px) { .nav .lang { display: none; } }

/* ---------- päta: právne ---------- */
.footer-h { color: #fff; font-size: var(--t-sm); font-weight: 600; letter-spacing: 0; margin-bottom: 1rem; }
.footer-bottom { align-items: flex-start; }
.footer-legal { max-width: 60ch; font-size: var(--t-xs); line-height: 1.5; color: rgba(255,255,255,.6); }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
.linklike { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; font: inherit; text-align: left; }
.site-footer .linklike:hover { color: #fff; }

/* ---------- cookies ---------- */
.cookie { width: min(460px, calc(100% - 2rem)); }
.cookie-prefs { display: grid; gap: .75rem; margin-top: 1rem; }
.toggle { display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start; cursor: pointer; }
.toggle input { width: 20px; height: 20px; margin: .15rem 0 0; accent-color: var(--light); }
.toggle span { color: var(--slate); font-size: var(--t-xs); line-height: 1.45; }
.toggle b { display: block; color: var(--ink); font-size: var(--t-sm); font-weight: 600; }
.cookie .actions .btn { flex: 1 1 auto; }
@media (max-width: 600px) { .cookie { left: .5rem; right: .5rem; bottom: .5rem; width: auto; } .wa.is-lifted { bottom: calc(1rem + var(--cookie-h, 0px)); } }

/* ---------- formulár: chyby ---------- */
.field-err { color: var(--err); font-size: var(--t-xs); min-height: 0; }
.field-err:empty { display: none; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--err); }
.field.is-invalid input:focus, .field.is-invalid textarea:focus { box-shadow: 0 0 0 4px #fcebea; }
.btn.is-loading { opacity: .7; pointer-events: none; }
.addr { font-size: var(--t-lg); font-weight: 600; letter-spacing: -0.01em; line-height: 1.4; }

.check { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; font-size: var(--t-sm); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: .1rem 0 0; accent-color: var(--light); }

/* ---------- právne stránky ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: var(--t-lg); letter-spacing: -0.01em; margin: 2.5rem 0 .75rem; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--ink-2); }
.legal p + p { margin-top: .75rem; }
.bullets { padding-left: 1.2rem; margin: .75rem 0; display: grid; gap: .5rem; color: var(--ink-2); }

/* ---------- 404 ---------- */
.notfound .wrap { display: grid; justify-items: center; text-align: center; gap: 1.5rem; }
.notfound h1 { font-size: var(--t-2xl); }
.notfound .lead { margin-inline: auto; }
.notfound .actions { justify-content: center; }
.notfound-robot { width: 200px; }
.notfound-hu { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); display: grid; gap: 1rem; justify-items: center; color: var(--slate); }

/* ---------- štúdio: jedna fotka ---------- */
.picked { display: grid; grid-template-columns: 64px 1fr auto; gap: 1rem; align-items: center; padding: .75rem; border: 1px solid var(--line); border-radius: var(--r-md); }
.picked img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--r-sm); }
.picked b { display: block; font-weight: 600; font-size: var(--t-sm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.picked div { min-width: 0; }
.frame .crop { position: absolute; inset: 0; width: 100%; height: 100%; }
.frame .state--over { position: absolute; inset: auto 1rem 1rem; max-width: none; background: rgba(255,255,255,.94); border-radius: var(--r-md); padding: 1.25rem; box-shadow: 0 10px 30px -12px rgba(18,22,58,.3); }
.spinner { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--light); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.studio-go .check { margin-bottom: .25rem; }

/* mobilné menu: kompaktnejšie a posúvateľné na nízkych displejoch */
.site-header { background: #fff; }
.mobile-nav { overflow-y: auto; gap: 1.5rem; }
.mobile-nav li a { font-size: 1.5rem; padding: .8rem 0; }
.mobile-nav .foot .robot { width: 90px; }
@media (max-height: 700px) { .mobile-nav li a { font-size: 1.25rem; padding: .6rem 0; } .mobile-nav .foot .robot { display: none; } }
.mobile-nav .contact-lines { gap: .1rem; }
.mobile-nav .contact-lines a { font-size: var(--t-base); letter-spacing: 0; }
