/* navrhnibyt – štýly */

:root {
  --ink: #17130f;
  --ink-2: #3b342d;
  --muted: #6f665d;
  --paper: #f7f2ea;
  --paper-2: #efe7db;
  --card: #fffcf7;
  --line: rgba(23, 19, 15, 0.09);
  --line-strong: rgba(23, 19, 15, 0.17);
  --accent: #e2622f;
  --accent-2: #f3a06a;
  --accent-ink: #b3471c;
  --accent-soft: #fbe3d3;
  --sage: #8c9b7e;
  --sky: #6e9cb0;
  --sun: #e3a33a;
  --night: #14110e;
  --grid: rgba(70, 104, 140, 0.11);

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, serif;
  --font-hand: "Caveat", "Segoe Print", cursive;

  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --shadow-lg: 0 40px 80px -40px rgba(70, 40, 15, 0.45), 0 12px 30px -18px rgba(70, 40, 15, 0.25);

  --check-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E");
  --check-accent: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B3471C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

::selection {
  background: var(--accent);
  color: #fff;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.container {
  width: min(1200px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: fixed;
  top: -80px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
}

.skip:focus {
  top: 12px;
}

.ico {
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.paper-grid {
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 26px 26px;
  background-position: center;
}

/* ---------- Tlačidlá ---------- */

.btn {
  --h: 50px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--h);
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  overflow: hidden;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.35s, background 0.35s, color 0.35s;
}

.btn:active {
  transform: scale(0.98);
}

.btn--sm {
  --h: 44px;
  padding: 0 18px;
  font-size: 15px;
}

.btn--lg {
  --h: 58px;
  padding: 0 28px;
  font-size: 17px;
}

.btn--block {
  width: 100%;
}

.btn--dark {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 10px 24px -14px rgba(23, 19, 15, 0.7);
}

.btn--dark:hover {
  background: #000;
}

.btn--accent {
  color: #fff;
  background: linear-gradient(135deg, #ef7743, #d6522a);
  box-shadow: 0 16px 32px -14px rgba(214, 82, 42, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn--accent::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
  transform: translateX(-130%);
}

.btn--accent:hover {
  box-shadow: 0 22px 44px -14px rgba(214, 82, 42, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn--accent:hover::after {
  transform: translateX(130%);
  transition: transform 0.9s var(--ease);
}

.btn--ghost {
  color: var(--ink);
  background: rgba(255, 252, 247, 0.55);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}

.btn--ghost:hover {
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.btn__arrow {
  transition: transform 0.3s var(--ease);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

/* ---------- Navigácia ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 12px 0;
  pointer-events: none;
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 64px;
  padding: 0 10px 0 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  pointer-events: auto;
  transition: background 0.35s, border-color 0.35s, box-shadow 0.35s;
}

.nav.is-scrolled .nav__inner {
  background: rgba(255, 252, 247, 0.8);
  -webkit-backdrop-filter: saturate(1.5) blur(18px);
  backdrop-filter: saturate(1.5) blur(18px);
  border-color: var(--line);
  box-shadow: 0 12px 32px -20px rgba(40, 25, 10, 0.45);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.logo__mark {
  width: 34px;
  height: 34px;
}

.logo__word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.035em;
}

.logo__word span {
  color: var(--accent);
}

.nav__links {
  display: flex;
  gap: 2px;
  margin-left: auto;
}

.nav__links a {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: background 0.25s, color 0.25s;
}

.nav__links a:hover {
  background: rgba(23, 19, 15, 0.06);
  color: var(--ink);
}

.nav__burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
}

.nav__burger span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--paper);
  transition: transform 0.3s var(--ease);
}

.nav__burger[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav__burger[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-menu {
  position: absolute;
  top: 84px;
  left: var(--gutter);
  right: var(--gutter);
  display: grid;
  gap: 2px;
  padding: 10px;
  border-radius: 26px;
  background: rgba(255, 252, 247, 0.97);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px -30px rgba(40, 25, 10, 0.55), inset 0 0 0 1px var(--line);
  pointer-events: auto;
  animation: pop 0.35s var(--ease);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu a:not(.btn) {
  padding: 14px 16px;
  border-radius: 16px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.mobile-menu a:not(.btn):hover {
  background: rgba(23, 19, 15, 0.05);
}

.mobile-menu .btn {
  margin-top: 6px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(120px, 15vh, 170px) 0 clamp(64px, 8vw, 110px);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
  opacity: 0.08;
  mix-blend-mode: multiply;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.6;
}

.blob--1 {
  top: -180px;
  right: -140px;
  width: 560px;
  height: 560px;
  background: #f7b489;
  animation: drift-1 20s ease-in-out infinite alternate;
}

.blob--2 {
  bottom: -220px;
  left: -180px;
  width: 480px;
  height: 480px;
  background: #cfdbc4;
  animation: drift-2 24s ease-in-out infinite alternate;
}

.blob--3 {
  top: 34%;
  left: 40%;
  width: 320px;
  height: 320px;
  background: #f3d9c2;
  opacity: 0.45;
  animation: drift-1 26s ease-in-out infinite alternate-reverse;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  align-items: center;
  gap: clamp(36px, 5vw, 76px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 8px 15px 8px 11px;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.75);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px var(--line), 0 8px 20px -14px rgba(40, 25, 10, 0.4);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink-2);
  animation: fade-in 0.8s ease both;
}

.pill__dot {
  position: relative;
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.pill__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  animation: ping 2.2s var(--ease) infinite;
}

.hero__title {
  margin: 24px 0 26px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6.4vw, 92px);
  font-variation-settings: "opsz" 96;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.line {
  display: block;
  overflow: hidden;
  padding: 0 0.1em 0.12em 0;
  margin-bottom: -0.12em;
}

.line > span {
  display: inline-block;
  animation: rise 1.1s var(--ease) both;
  animation-delay: calc(var(--d, 0) * 110ms + 0.1s);
}

.hero__title em {
  padding-right: 0.08em;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;
  letter-spacing: -0.01em;
  background: linear-gradient(100deg, #e2622f 0%, #f39b62 25%, #e2622f 50%, #c9502a 75%, #e2622f 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 8s linear infinite;
}

.hero__lead {
  max-width: 40ch;
  margin: 0;
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.55;
  color: var(--ink-2);
  animation: fade-up 1s var(--ease) 0.45s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  animation: fade-up 1s var(--ease) 0.55s both;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  animation: fade-up 1s var(--ease) 0.65s both;
}

.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__trust .ico {
  width: 20px;
  height: 20px;
  padding: 3px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
  stroke-width: 3;
}

.hero__visual {
  position: relative;
  animation: fade-up 1.2s var(--ease) 0.25s both;
}

/* Scéna s náčrtom a 3D modelom */

.stage {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1 / 1.04;
  overflow: hidden;
  border-radius: 34px;
  background: var(--card);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line);
}

.stage__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 26px 26px;
  background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 78% 72% at 50% 50%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 78% 72% at 50% 50%, #000 40%, transparent 100%);
  transition: opacity 1s ease;
}

.stage.is-3d .stage__grid {
  opacity: 0.5;
}

.sketch {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--ink);
  transition: opacity 0.8s ease;
}

.sketch__walls path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-opacity: 0.92;
}

.sketch__thin path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-opacity: 0.72;
}

.sketch__thin .sketch__dim {
  stroke-width: 2;
  stroke-opacity: 0.4;
}

.sketch__text text {
  font-family: var(--font-hand);
  font-weight: 500;
  fill: currentColor;
  text-anchor: middle;
}

.mark-pipe {
  fill: var(--sky);
}

.mark-letter {
  font: 700 20px var(--font-body);
  fill: #fff;
  text-anchor: middle;
}

.mark-note {
  font-family: var(--font-hand);
  font-weight: 700;
  text-anchor: middle;
}

.mark-note--pipe {
  fill: #4b7d95;
}

.mark-note--bolt {
  fill: #b5771a;
}

.mark-bolt path {
  fill: var(--sun);
}

/* Náčrt sa „nakreslí“, keď scéna príde do záberu. Kópia v porovnaní ostáva statická. */
.stage.is-pending .sketch .draw {
  stroke-dasharray: 1 1.5;
  stroke-dashoffset: 1.02;
}

.stage.is-pending .sketch .fade {
  opacity: 0;
}

.stage.is-drawing .sketch .draw {
  animation: draw 0.85s cubic-bezier(0.55, 0.1, 0.3, 1) both;
  animation-delay: calc(var(--i) * 65ms + 0.2s);
}

.stage.is-drawing .sketch .fade {
  animation: fade-in 0.6s ease both;
  animation-delay: calc(var(--i) * 65ms + 0.2s);
}

.stage__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  outline: none;
  cursor: grab;
  touch-action: pan-y;
  transition: opacity 0.8s ease;
}

.stage__canvas.is-grabbing {
  cursor: grabbing;
}

.stage.is-live .stage__canvas {
  opacity: 1;
}

.stage.is-live .sketch {
  opacity: 0;
}

.stage__labels {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.stage.is-live .stage__labels {
  opacity: 1;
}

.tag {
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
}

.tag > span {
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  transition: opacity 0.45s ease, transform 0.45s var(--ease);
}

.tag__hand {
  font-family: var(--font-hand);
  font-weight: 500;
  font-size: calc(40px * var(--plan-scale, 0.5));
  line-height: 1;
  color: var(--ink);
}

.tag .tag__pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px -8px rgba(40, 25, 10, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  font: 600 12.5px/1 var(--font-body);
  color: var(--ink);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
}

.tag__pill b {
  font-weight: 500;
  color: var(--muted);
}

.stage__labels.is-3d .tag__hand {
  opacity: 0;
}

.stage__labels.is-3d .tag .tag__pill {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.stage__toggle {
  position: absolute;
  bottom: 16px;
  left: 50%;
  z-index: 3;
  display: flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.84);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 26px -14px rgba(40, 25, 10, 0.5), inset 0 0 0 1px var(--line);
  transform: translateX(-50%);
  animation: pop-up 0.5s var(--ease) both;
}

.stage__toggle[hidden],
.stage__hint[hidden] {
  display: none;
}

.stage__toggle button {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  min-width: 100px;
  padding: 11px 16px;
  border: 0;
  border-radius: 999px;
  background: none;
  font: 600 14px/1 var(--font-body);
  color: var(--ink-2);
  cursor: pointer;
  transition: color 0.35s;
}

.stage__toggle button[aria-pressed="true"] {
  color: var(--paper);
}

.stage__toggle button:focus-visible {
  outline-offset: 1px;
}

.stage__toggle-bg {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: var(--ink);
  transition: transform 0.55s var(--ease);
}

.stage__toggle[data-active="3d"] .stage__toggle-bg {
  transform: translateX(100%);
}

.stage__hint {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.84);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  animation: pop-up 0.5s var(--ease) both;
  transition: opacity 0.5s ease;
}

.stage__hint .ico {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.stage__hint.is-hidden {
  opacity: 0;
}

.float-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 10px;
  border-radius: 18px;
  background: rgba(255, 252, 247, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 44px -22px rgba(40, 25, 10, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  animation: float 7s ease-in-out infinite, fade-in 0.8s ease 1.6s both;
}

.float-card--file {
  top: -24px;
  left: -32px;
}

.float-card__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.float-card__text {
  display: grid;
  line-height: 1.25;
}

.float-card__text strong {
  font-size: 14px;
}

.float-card__text small {
  font-size: 12px;
  color: var(--muted);
}

.float-card__ok {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #5e8b4e;
  color: #fff;
}

.float-card__ok .ico {
  width: 14px;
  height: 14px;
  stroke-width: 3;
}

.float-card--price {
  right: -32px;
  bottom: -28px;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 12px 18px;
  animation-delay: -3.5s, 1.9s;
}

.float-card--price small {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.float-card--price strong {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
}

/* Ručne písané poznámky */

.hand {
  margin: 0;
  font-family: var(--font-hand);
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
}

.hand svg {
  flex: none;
  width: 64px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hand--hero {
  position: absolute;
  top: -66px;
  right: 2%;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  gap: 4px;
  font-size: 28px;
  transform: rotate(4deg);
  animation: fade-in 0.8s ease 0.9s backwards;
  transition: opacity 0.6s ease;
}

.hand--hero svg {
  margin-top: 16px;
  transform: scaleX(-1) rotate(-8deg);
}

/* Poznámka patrí k náčrtu, pri 3D návrhu sa skryje. */
.hero__visual:has(.stage.is-3d) .hand--hero {
  opacity: 0;
}

/* ---------- Pás s textom ---------- */

.marquee-wrap {
  overflow: hidden;
  padding: 26px 0 30px;
}

.marquee {
  width: 108%;
  margin-left: -4%;
  padding: 20px 0;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.6);
  transform: rotate(-1.6deg);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee ul {
  display: flex;
  align-items: center;
  gap: 44px;
  margin: 0;
  padding: 0 44px 0 0;
  list-style: none;
}

.marquee li {
  display: flex;
  align-items: center;
  gap: 44px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 2.8vw, 34px);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.marquee li::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--accent);
  transform: rotate(45deg);
}

/* ---------- Hlavná myšlienka ---------- */

.statement {
  padding: clamp(96px, 12vw, 170px) 0 clamp(70px, 9vw, 130px);
}

.statement__inner {
  position: relative;
}

.statement__deco {
  position: absolute;
  right: 2%;
  bottom: 4%;
  display: grid;
  justify-items: center;
  margin: 0;
  font-family: var(--font-hand);
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  transform: rotate(-7deg);
}

.statement__deco s {
  position: relative;
  font-size: clamp(60px, 8vw, 120px);
  text-decoration: none;
  color: var(--ink-2);
  opacity: 0.55;
}

.statement__deco s::after {
  content: "";
  position: absolute;
  top: 52%;
  right: -10%;
  left: -10%;
  height: 6px;
  border-radius: 6px;
  background: var(--accent);
  transform: rotate(-8deg) scaleX(var(--strike, 1));
  transform-origin: left center;
  transition: transform 0.7s var(--ease) 0.6s;
}

.js .statement__deco {
  --strike: 0;
}

.js .statement__deco.is-in {
  --strike: 1;
}

.statement__deco span {
  margin-top: 6px;
  font-size: clamp(32px, 3.8vw, 54px);
}

.statement__text {
  max-width: 21ch;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(36px, 5.8vw, 86px);
  font-variation-settings: "opsz" 96;
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.statement__text .w {
  opacity: 0.13;
  transition: opacity 0.35s ease;
}

.statement__text .w.on {
  opacity: 1;
}

.statement__answer {
  margin: 0.18em 0 0.3em;
  font-family: var(--font-serif);
  font-size: clamp(54px, 8.4vw, 124px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.statement__sub {
  max-width: 42ch;
  margin: 0;
  font-size: clamp(18px, 1.7vw, 23px);
  color: var(--ink-2);
}

/* ---------- Sekcie ---------- */

.section {
  padding: clamp(80px, 10vw, 140px) 0;
}

.section__head {
  max-width: 780px;
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.section__head--center h2 {
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.eyebrow--light {
  color: var(--accent-2);
}

h2 {
  max-width: 17ch;
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4.8vw, 64px);
  font-variation-settings: "opsz" 72;
  line-height: 1.03;
  letter-spacing: -0.042em;
  text-wrap: balance;
}

h3 {
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -0.02em;
}

/* ---------- Kroky ---------- */

.steps__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  padding: 18px 18px 26px;
  border-radius: 28px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.45s var(--ease), box-shadow 0.45s, opacity 0.9s var(--ease);
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: inset 0 0 0 1px var(--line), 0 34px 54px -34px rgba(60, 35, 15, 0.45);
}

.step__art {
  position: relative;
  display: grid;
  place-items: center;
  height: 156px;
  margin-bottom: 22px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--paper);
  color: var(--ink);
}

.step__art svg {
  width: 160px;
  height: auto;
  transition: transform 0.6s var(--ease);
}

.step:hover .step__art svg {
  transform: scale(1.06) rotate(-1deg);
}

.step__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.step h3 {
  margin: 6px 0 8px;
  font-size: 23px;
  line-height: 1.15;
}

.step p {
  margin: 0;
  font-size: 16px;
  color: var(--muted);
}

.hand--step {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 21px;
  transform: rotate(6deg);
}

/* Ilustrácie */

.art-paper {
  fill: var(--card);
  stroke: currentColor;
  stroke-width: 2;
}

.art-paper--bold {
  stroke-width: 3;
}

.art-sketch {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.art-accent {
  fill: var(--accent);
}

.art-white {
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.art-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-opacity: 0.55;
}

.art-pipe {
  fill: var(--sky);
}

.art-letter {
  font: 700 10px var(--font-body);
  fill: #fff;
  text-anchor: middle;
}

.art-bolt {
  fill: var(--sun);
}

.art-floor {
  fill: #d9b88f;
}

.art-wall {
  fill: #ece4d8;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.art-wall--lit {
  fill: #fbf7f1;
}

.art-cap {
  fill: none;
  stroke: var(--ink);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.art-sofa-top {
  fill: #d9825c;
}

.art-sofa-side {
  fill: #b05634;
}

.art-sofa-front {
  fill: #c8673f;
}

.art-plant {
  fill: var(--sage);
}

.art-ring {
  fill: none;
  stroke: #fff;
  stroke-opacity: 0.55;
  stroke-width: 2;
  stroke-dasharray: 3 5;
}

.art-coin {
  font: 700 30px var(--font-display);
  fill: #fff;
  text-anchor: middle;
}

.art-block {
  fill: var(--paper-2);
  stroke: currentColor;
  stroke-width: 1.5;
}

.art-pipe-run {
  fill: none;
  stroke: var(--sky);
  stroke-width: 3;
  stroke-dasharray: 4 4;
}

.art-device {
  fill: var(--card);
  stroke: currentColor;
  stroke-width: 2.5;
}

.art-device-base {
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
}

.art-mini-floor {
  fill: #d9b88f;
  stroke: var(--ink);
  stroke-width: 1.5;
  stroke-linejoin: round;
}

/* ---------- Bento ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(40px, 5vw, 64px);
}

.tile {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 260px;
  padding: 26px;
  overflow: hidden;
  border-radius: 28px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 0.45s, opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(226, 98, 47, 0.12), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
}

.tile:hover::before {
  opacity: 1;
}

.tile:hover {
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 34px 54px -38px rgba(60, 35, 15, 0.45);
}

.tile__body {
  margin-top: auto;
}

.tile h3 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.15;
}

.tile p {
  margin: 0;
  font-size: 15.5px;
  color: var(--muted);
}

.tile--compare {
  grid-column: 1 / span 4;
  grid-row: 1 / span 2;
  gap: 0;
  padding: 0;
}

.tile--compare .tile__body {
  margin-top: 0;
  padding: 22px 26px 26px;
}

.tile--compare h3 {
  font-size: 28px;
}

.tile--chat {
  grid-column: 5 / span 2;
  grid-row: 1;
}

.tile--pipes {
  grid-column: 5 / span 2;
  grid-row: 2;
}

.tile--fit {
  grid-column: 1 / span 2;
}

.tile--swatch {
  grid-column: 3 / span 2;
}

.tile--online {
  grid-column: 5 / span 2;
}

.tile__art svg {
  width: 100%;
  max-width: 260px;
  height: auto;
  color: var(--ink);
}

/* Porovnanie náčrtu a návrhu */

/* Náčrt aj obrázok návrhu sú v rámiku 4 : 3, aby na seba sedeli pri akejkoľvek výške dlaždice. */
.compare {
  --pos: 50%;
  position: relative;
  flex: 1;
  min-height: 340px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  container-type: size;
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.compare,
.compare__before,
.compare__after {
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 26px 26px;
  background-position: center;
}

.compare__frame {
  position: absolute;
  inset: 0;
  width: min(100cqw, 133.333cqh);
  height: min(100cqh, 75cqw);
  margin: auto;
}

.compare__before,
.compare__after {
  position: absolute;
  inset: 0;
}

.compare__before .sketch {
  pointer-events: none;
}

.compare__after {
  clip-path: inset(0 0 0 var(--pos));
}

.compare__after img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.compare__wait {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%) var(--paper-2);
  background-size: 200% 100%;
  animation: shimmer 1.6s linear infinite;
}

.compare.has-snapshot .compare__wait {
  display: none;
}

.compare.no-3d {
  cursor: default;
}

.compare.no-3d .compare__after,
.compare.no-3d .compare__handle,
.compare.no-3d .compare__tag--r {
  display: none;
}

.compare__range {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  z-index: 3;
  width: 2px;
  margin-left: -1px;
  background: var(--ink);
  pointer-events: none;
}

.compare__handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F7F2EA' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 22px no-repeat;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.5), 0 0 0 6px rgba(255, 252, 247, 0.65);
  transition: transform 0.3s var(--ease);
}

.compare:hover .compare__handle::after,
.compare.is-dragging .compare__handle::after {
  transform: scale(1.08);
}

.compare:has(.compare__range:focus-visible) .compare__handle::after {
  box-shadow: 0 0 0 4px var(--accent), 0 10px 24px -8px rgba(0, 0, 0, 0.5);
}

.compare__tag {
  position: absolute;
  top: 16px;
  z-index: 2;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.92);
  box-shadow: inset 0 0 0 1px var(--line);
  font: 600 13px/1 var(--font-body);
  pointer-events: none;
}

.compare__tag--l {
  left: 16px;
}

.compare__tag--r {
  right: 16px;
  background: var(--ink);
  color: var(--paper);
}

/* Chat */

.chat {
  display: grid;
  align-content: start;
  gap: 10px;
}

.bubble {
  position: relative;
  max-width: 90%;
  margin: 0;
  padding: 12px 15px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.4;
}

.bubble--me {
  justify-self: end;
  border-bottom-right-radius: 6px;
  background: var(--ink);
  color: var(--paper);
}

.bubble--we {
  justify-self: start;
  border-bottom-left-radius: 6px;
  background: var(--paper-2);
}

.bubble__text b {
  display: inline-block;
  margin-left: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  vertical-align: 1px;
}

.typing {
  position: absolute;
  top: 50%;
  left: 16px;
  display: none;
  gap: 4px;
  transform: translateY(-50%);
}

.typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
  animation: blink 1s infinite;
}

.typing i:nth-child(2) {
  animation-delay: 0.15s;
}

.typing i:nth-child(3) {
  animation-delay: 0.3s;
}

.js .tile--chat .bubble {
  opacity: 0;
}

.js .tile--chat.is-in .bubble--me {
  animation: pop 0.55s var(--ease) 0.4s both;
}

.js .tile--chat.is-in .bubble--we {
  animation: pop 0.55s var(--ease) 1.2s both;
}

.js .tile--chat .typing {
  display: inline-flex;
}

.js .tile--chat .bubble__text {
  opacity: 0;
}

.js .tile--chat.is-in .typing {
  animation: fade-out 0.3s ease 2.5s both;
}

.js .tile--chat.is-in .bubble__text {
  animation: fade-in 0.4s ease 2.6s both;
}

/* Rozmery */

.measure {
  display: grid;
  align-content: center;
  gap: 18px;
  min-height: 120px;
  padding: 26px 10px 0;
}

.measure__line {
  position: relative;
  height: 2px;
  background: var(--ink);
  transform-origin: left center;
}

.measure__line::before,
.measure__line::after {
  content: "";
  position: absolute;
  top: -8px;
  width: 2px;
  height: 18px;
  background: var(--ink);
}

.measure__line::before {
  left: 0;
}

.measure__line::after {
  right: 0;
}

.measure__line b {
  position: absolute;
  top: -32px;
  left: 50%;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  font: 700 13px/1.4 var(--font-body);
  color: var(--accent-ink);
  transform: translateX(-50%);
}

.measure__sofa {
  position: relative;
  height: 50px;
  margin: 0 10px;
  border-radius: 14px 14px 10px 10px;
  background: #c8673f;
}

.measure__sofa::before {
  content: "";
  position: absolute;
  right: -10px;
  bottom: 0;
  left: -10px;
  height: 30px;
  border-radius: 12px;
  background: #b05634;
}

.measure__sofa::after {
  content: "";
  position: absolute;
  right: 18%;
  bottom: 30px;
  left: 18%;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.18);
}

.js .tile--fit .measure__line {
  transform: scaleX(0);
}

.js .tile--fit.is-in .measure__line {
  transform: scaleX(1);
  transition: transform 1.1s var(--ease) 0.4s;
}

/* Farby */

.swatches {
  display: flex;
  align-items: center;
  min-height: 120px;
  margin: 0;
  padding: 0 0 0 4px;
  list-style: none;
}

.swatches li {
  position: relative;
  width: 64px;
  height: 64px;
  margin-right: -14px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 4px var(--card), 0 14px 24px -12px rgba(0, 0, 0, 0.45);
  transition: margin 0.5s var(--ease), transform 0.5s var(--ease);
}

.swatches li:nth-child(even) {
  transform: translateY(8px);
}

.swatches li span {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--muted);
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity 0.3s;
}

.tile--swatch:hover .swatches li {
  margin-right: 8px;
  transform: none;
}

.tile--swatch:hover .swatches li span {
  opacity: 1;
}

/* Zariadenia */

.devices svg {
  width: 150px;
  height: auto;
  color: var(--ink);
}

/* ---------- Cena ---------- */

.pricing {
  position: relative;
  isolation: isolate;
  margin: 0 clamp(8px, 1.5vw, 20px);
  padding: clamp(80px, 10vw, 140px) 0;
  overflow: hidden;
  border-radius: clamp(28px, 4vw, 48px);
  background: var(--night);
  color: var(--paper);
}

.pricing__glow {
  position: absolute;
  top: -460px;
  right: -320px;
  z-index: -1;
  width: 940px;
  height: 940px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 98, 47, 0.5), transparent 62%);
  filter: blur(20px);
}

.pricing h2 {
  color: var(--paper);
}

.pricing__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
}

.price-hero {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  margin: 18px 0 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(110px, 17vw, 240px);
  line-height: 0.8;
  letter-spacing: -0.065em;
  background: linear-gradient(180deg, #fff 25%, rgba(255, 255, 255, 0.3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.price-hero span {
  margin-bottom: 0.32em;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.22em;
  line-height: 1;
  letter-spacing: 0;
  -webkit-text-fill-color: var(--accent-2);
  color: var(--accent-2);
}

.pricing__lead {
  max-width: 46ch;
  margin: 20px 0 0;
  font-size: 18px;
  color: rgba(247, 242, 234, 0.74);
}

.ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.ticks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px 9px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  font-size: 15px;
  font-weight: 500;
}

.ticks li::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent) var(--check-white) center / 11px no-repeat;
}

.pay-card {
  padding: clamp(22px, 3vw, 32px);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.pay-card__label {
  display: block;
  font-weight: 600;
  color: rgba(247, 242, 234, 0.82);
}

.pay-card__value {
  display: block;
  margin: 6px 0 20px;
  font-family: var(--font-display);
  font-weight: 750;
  font-size: clamp(54px, 6vw, 76px);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.045em;
}

.slider {
  --fill: 15%;
  width: 100%;
  height: 10px;
  margin: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) var(--fill), rgba(255, 255, 255, 0.14) var(--fill));
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.slider::-webkit-slider-thumb {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 7px rgba(226, 98, 47, 0.35), 0 6px 14px rgba(0, 0, 0, 0.45);
  cursor: grab;
  transition: transform 0.2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.slider::-moz-range-thumb {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 7px rgba(226, 98, 47, 0.35), 0 6px 14px rgba(0, 0, 0, 0.45);
  cursor: grab;
}

.slider:active::-webkit-slider-thumb {
  transform: scale(1.12);
}

.slider:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4);
}

.pay-card__scale {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 13px;
  color: rgba(247, 242, 234, 0.5);
}

.pay-card__msg {
  min-height: 1.15em;
  margin: 18px 0 6px;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 29px;
  line-height: 1.1;
  color: var(--accent-2);
}

.pay-card__note {
  margin: 0;
  font-size: 13px;
  color: rgba(247, 242, 234, 0.5);
}

.vs {
  width: 100%;
  margin-top: 18px;
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 22px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  font-size: 15px;
  line-height: 1.35;
}

.vs th,
.vs td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.vs thead th {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247, 242, 234, 0.55);
}

.vs tbody th {
  font-weight: 500;
  color: rgba(247, 242, 234, 0.6);
}

.vs td {
  color: rgba(247, 242, 234, 0.82);
}

.vs td:last-child,
.vs thead th:last-child {
  background: rgba(226, 98, 47, 0.16);
  font-weight: 600;
  color: var(--paper);
}

.vs tr:last-child th,
.vs tr:last-child td {
  border-bottom: 0;
}

/* ---------- Formulár ---------- */

.upload__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
  gap: clamp(36px, 6vw, 90px);
}

.upload__copy {
  position: sticky;
  top: 110px;
}

.upload__lead {
  max-width: 38ch;
  margin: 20px 0 0;
  font-size: 18px;
  color: var(--ink-2);
}

.checklist {
  display: grid;
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 40px;
  color: var(--ink-2);
}

.checklist li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 27px;
  height: 27px;
  border-radius: 9px;
  background: var(--accent-soft) var(--check-accent) center / 15px no-repeat;
}

.checklist strong {
  color: var(--ink);
}

.hand--upload {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 34px;
  font-size: 29px;
  transform: rotate(-3deg);
}

.hand--upload svg {
  margin-top: 14px;
}

.form-card {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 34px);
  border-radius: 32px;
  background: var(--card);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line);
}

.dropzone {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 34px 18px 30px;
  border-radius: 22px;
  background: var(--paper);
  text-align: center;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}

.dropzone::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px dashed rgba(23, 19, 15, 0.2);
  border-radius: inherit;
  pointer-events: none;
  transition: border-color 0.25s;
}

.dropzone:hover::before,
.dropzone:focus-visible::before,
.dropzone.is-over::before {
  border-color: var(--accent);
}

.dropzone:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(226, 98, 47, 0.2);
}

.dropzone.is-over {
  background: #fff0e6;
  transform: scale(1.01);
}

.dropzone.has-error::before {
  border-color: #c0392b;
}

.dropzone__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 10px;
  border-radius: 18px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 14px 24px -12px rgba(0, 0, 0, 0.5);
  transition: transform 0.35s var(--ease);
}

.dropzone:hover .dropzone__icon,
.dropzone.is-over .dropzone__icon {
  transform: translateY(-3px) rotate(-5deg);
}

.dropzone strong {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.01em;
}

.dropzone > span:not(.dropzone__icon) {
  color: var(--ink-2);
}

.dropzone__icon .ico {
  width: 26px;
  height: 26px;
  stroke-width: 2.2;
}

.dropzone u {
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

.dropzone small {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.files {
  display: grid;
  gap: 8px;
  margin: -6px 0 0;
  padding: 0;
  list-style: none;
}

.files:empty {
  display: none;
}

.file {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 16px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  animation: pop 0.35s var(--ease);
}

.file__thumb {
  display: grid;
  flex: none;
  place-items: center;
  width: 46px;
  height: 46px;
  overflow: hidden;
  border-radius: 11px;
  background: var(--paper-2);
  font: 700 11px var(--font-body);
  color: var(--muted);
}

.file__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.file__meta {
  flex: 1;
  min-width: 0;
}

.file__name {
  display: block;
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.file__size {
  font-size: 12px;
  color: var(--muted);
}

.file__remove {
  display: grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.file__remove:hover {
  background: rgba(23, 19, 15, 0.07);
  color: var(--ink);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field > label,
.field legend {
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.field legend {
  margin-bottom: 10px;
}

.opt {
  margin-left: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.req {
  color: var(--accent);
}

.input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: 14px;
  background: #fff;
  font-size: 16px;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input::placeholder {
  color: #a39a90;
}

.input:hover {
  border-color: rgba(23, 19, 15, 0.3);
}

.input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(226, 98, 47, 0.16);
}

.input[aria-invalid="true"] {
  border-color: #c0392b;
}

textarea.input {
  height: auto;
  min-height: 112px;
  padding: 14px 16px;
  line-height: 1.5;
  resize: vertical;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  position: relative;
}

.chip input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.chip span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 15px;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.chip span:hover {
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.chip input:checked + span {
  background: var(--ink);
  color: var(--paper);
  box-shadow: none;
}

.chip input:checked + span::before {
  content: "";
  width: 14px;
  height: 14px;
  background: var(--check-white) center / contain no-repeat;
}

.chip input:focus-visible + span {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}

.check input {
  display: grid;
  flex: none;
  place-items: center;
  width: 22px;
  height: 22px;
  margin: 0;
  border: 1.5px solid var(--line-strong);
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: background 0.2s, border-color 0.2s;
}

.check input:checked {
  border-color: var(--ink);
  background: var(--ink) var(--check-white) center / 14px no-repeat;
}

.check input[aria-invalid="true"] {
  border-color: #c0392b;
}

.check a {
  color: var(--ink);
  text-underline-offset: 3px;
}

.form-note {
  margin: -6px 0 0;
  font-size: 13px;
  text-align: center;
  color: var(--muted);
}

.form-status {
  margin: 0;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
}

.form-status[hidden] {
  display: none;
}

.form-status.is-error {
  background: #fceae6;
  color: #8e2b17;
}

.form-status.is-info {
  background: #eef3ea;
  color: #3f5233;
}

.form-status.is-ok {
  background: #e8f2e3;
  color: #2f5a23;
}

/* ---------- Otázky ---------- */

.faq {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin: clamp(36px, 5vw, 56px) auto 0;
}

.faq details {
  border-radius: 22px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 0.3s, opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.faq details[open] {
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 24px 44px -34px rgba(60, 35, 15, 0.45);
}

.faq summary {
  --pc: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 22px 22px 26px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(18px, 1.6vw, 21px);
  letter-spacing: -0.015em;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--paper-2);
  background-image: linear-gradient(var(--pc), var(--pc)), linear-gradient(var(--pc), var(--pc));
  background-position: center;
  background-repeat: no-repeat;
  background-size: 13px 2px, 2px 13px;
  transition: transform 0.35s var(--ease), background-color 0.35s;
}

.faq details[open] summary {
  --pc: #fff;
}

.faq details[open] summary::after {
  background-color: var(--accent);
  transform: rotate(45deg);
}

.faq details p {
  max-width: 62ch;
  margin: 0;
  padding: 0 26px 24px;
  color: var(--muted);
}

/* ---------- Výzva na konci ---------- */

.cta {
  position: relative;
  isolation: isolate;
  margin: 0 clamp(8px, 1.5vw, 20px);
  padding: clamp(80px, 11vw, 150px) 0;
  overflow: hidden;
  border-radius: clamp(28px, 4vw, 48px);
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}

.cta__glow {
  position: absolute;
  right: -10%;
  bottom: -70%;
  left: -10%;
  z-index: -1;
  height: 130%;
  background: radial-gradient(closest-side, rgba(226, 98, 47, 0.55), transparent);
  filter: blur(30px);
}

.cta h2 {
  max-width: 15ch;
  margin: 0 auto;
  font-size: clamp(38px, 5.6vw, 78px);
  color: var(--paper);
}

.cta p:not(.hand) {
  max-width: 40ch;
  margin: 20px auto 34px;
  font-size: clamp(17px, 1.5vw, 20px);
  color: rgba(247, 242, 234, 0.74);
}

.hand--cta {
  margin-top: 20px;
  font-size: 30px;
  color: var(--accent-2);
  transform: rotate(-3deg);
}

/* ---------- Pätička ---------- */

.footer {
  padding: 60px 0 36px;
  font-size: 15px;
  color: var(--muted);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}

.footer__brand p {
  max-width: 34ch;
  margin: 14px 0 0;
}

.footer__nav {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer__nav a {
  color: var(--ink-2);
  text-decoration: none;
}

.footer__nav a:hover {
  color: var(--accent);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

/* ---------- Zásady ochrany údajov ---------- */

.nav--static {
  position: static;
  pointer-events: auto;
}

.nav--static .nav__inner {
  justify-content: space-between;
}

.legal {
  max-width: 760px;
  padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 110px);
}

.legal h1 {
  margin: 14px 0 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.legal h2 {
  max-width: none;
  margin: 42px 0 10px;
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.02em;
}

.legal p,
.legal li {
  color: var(--ink-2);
}

.legal ul {
  padding-left: 22px;
}

.legal li + li {
  margin-top: 6px;
}

.legal__lead {
  font-size: clamp(18px, 1.6vw, 21px);
}

.legal mark {
  padding: 0 4px;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}

/* ---------- Objavovanie pri skrolovaní ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), box-shadow 0.45s;
  transition-delay: calc(var(--rd, 0) * 90ms);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

.js .step.reveal.is-in:hover {
  transform: translateY(-6px);
  transition-delay: 0s;
}

/* ---------- Animácie ---------- */

@keyframes rise {
  from {
    transform: translateY(108%);
  }
  to {
    transform: none;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pop-up {
  from {
    opacity: 0;
    translate: 0 10px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes draw {
  from {
    stroke-dashoffset: 1.02;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes shine {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 200% 50%;
  }
}

@keyframes ping {
  0% {
    transform: scale(0.6);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes drift-1 {
  to {
    transform: translate(-60px, 50px) scale(1.08);
  }
}

@keyframes drift-2 {
  to {
    transform: translate(70px, -40px) scale(1.1);
  }
}

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

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

@keyframes blink {
  0%,
  80%,
  100% {
    opacity: 0.25;
  }
  40% {
    opacity: 1;
  }
}

/* ---------- Responzívnosť ---------- */

@media (max-width: 1100px) {
  .float-card--file {
    left: -14px;
  }

  .float-card--price {
    right: -14px;
  }
}

@media (max-width: 1020px) {
  .steps__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hero__grid,
  .pricing__grid,
  .upload__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    max-width: 620px;
    width: 100%;
    margin-inline: auto;
  }

  .hand--hero {
    display: none;
  }

  .hero__visual {
    margin-top: 12px;
  }

  .statement__deco {
    position: static;
    justify-items: start;
    margin-bottom: 28px;
    transform: rotate(-4deg);
  }

  .upload__copy {
    position: static;
  }

  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tile--compare,
  .tile--online {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .tile--chat,
  .tile--pipes,
  .tile--fit,
  .tile--swatch {
    grid-column: auto;
    grid-row: auto;
  }

  .compare {
    flex: none;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 900px) {
  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__burger {
    display: flex;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .nav {
    padding: 8px 0;
  }

  .nav__inner {
    height: 58px;
  }

  .hero {
    padding-top: 104px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__trust {
    display: grid;
    gap: 10px;
  }

  .stage {
    aspect-ratio: 1 / 1.12;
    border-radius: 26px;
  }

  .float-card {
    display: none;
  }

  .stage__hint {
    top: 12px;
    right: 12px;
  }

  .stage__toggle button {
    min-width: 92px;
    padding: 10px 12px;
  }

  .steps__list,
  .bento {
    grid-template-columns: 1fr;
  }

  .tile--online {
    grid-column: auto;
  }

  .tile {
    min-height: 0;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .vs th,
  .vs td {
    padding: 12px 10px;
    font-size: 14px;
  }

  .vs thead th {
    font-size: 11px;
    letter-spacing: 0.06em;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .marquee__track {
    animation: none !important;
  }
}
