:root {
  --onyx: #01010d;
  --panel: #0b0a1a;
  --field: #14122b;
  --indigo: #6331fb;
  --indigo-mid: #3a1ab8;
  --indigo-deep: #1a0f55;
  --mint: #88f9c0;
  --ink: #f4f3ff;
  --muted: #b3b1cd;
  --on-indigo: #dcd6ff;
  --line: #2a2745;
  --line-strong: #4a4577;
  --bad: #ff8590;
  --gutter: clamp(16px, 4vw, 56px);
  --display: Anton, "Archivo Narrow", sans-serif;
  --serif: Gelasio, Georgia, serif;
  --sans: Archivo, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-color: var(--line-strong) var(--onyx); }
body { margin: 0; background: var(--onyx); color: var(--ink); font: 400 17px/1.55 var(--sans); overflow-x: clip; }
body.menu-open { overflow: hidden; }
::selection { background: var(--mint); color: var(--onyx); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 3px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
p a { color: var(--mint); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 60; background: var(--mint); color: var(--onyx); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---- typografia ---- */
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
h1, h2 { font-family: var(--display); text-transform: uppercase; line-height: 1.04; letter-spacing: .005em; }
h1 { font-size: clamp(3.2rem, 9vw, 8rem); }
h2 { font-size: clamp(2.4rem, 5.6vw, 5rem); }
h1 em, h2 em, .serif { font: italic 400 .94em/1.05 var(--serif); text-transform: none; letter-spacing: -.012em; }
h3 { font-family: var(--display); font-size: clamp(1.45rem, 2.2vw, 1.9rem); text-transform: uppercase; line-height: 1.12; letter-spacing: .01em; }
.lede { color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 56ch; margin: 0; }

/* ---- tlačidlá a odkazy ---- */
.btn, .text-link { --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3 10h13M11 5l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.btn::after, .text-link::after { content: ""; width: 1.1em; height: 1.1em; background: currentColor; -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; transition: transform .35s var(--ease); flex: none; }
.btn:hover::after, .text-link:hover::after { transform: translateX(4px); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 52px; padding: 12px 26px; border: 0; border-radius: 999px; background: var(--mint); color: var(--onyx); font: 800 .95rem/1.1 var(--sans); letter-spacing: .03em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .25s, transform .35s var(--ease); }
.btn:hover { background: #fff; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: default; }
.btn-dark { background: var(--onyx); color: var(--ink); }
.btn-dark:hover { background: var(--indigo); color: #fff; }
.text-link { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; text-decoration: none; }
.text-link:hover { color: var(--mint); }
.pill-link { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 18px; border: 1px solid var(--mint); border-radius: 999px; background: rgba(1, 1, 13, .55); color: var(--mint); font-weight: 600; font-size: .9rem; text-decoration: none; white-space: nowrap; transition: background .25s, color .25s; }
.pill-link:hover { background: var(--mint); color: var(--onyx); }

/* ---- hlavička ---- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; padding: 0 var(--gutter); transition: background .3s, box-shadow .3s; }
.site-header.is-stuck { background: var(--onyx); box-shadow: 0 1px 0 var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 1.15rem; font-weight: 500; letter-spacing: -.01em; }
.brand b { font-weight: 800; }
.brand-mark { width: 28px; height: 28px; fill: none; stroke: var(--mint); stroke-width: 1.8; stroke-linejoin: round; flex: none; }
.main-nav { display: flex; gap: clamp(16px, 2.4vw, 34px); }
.main-nav a { position: relative; padding: 6px 0; font-size: .95rem; font-weight: 500; text-decoration: none; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--mint); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.main-nav a:hover::after, .main-nav a[aria-current]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.ig-link { display: grid; place-items: center; width: 40px; height: 40px; color: var(--ink); }
.ig-link:hover { color: var(--mint); }
.ig-link svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer; position: relative; color: var(--ink); }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 26px; }
.menu-toggle[aria-expanded="true"] span { top: 21px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

/* ---- úvod: obrovský nápis, pred ním 3D palička ---- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(180deg, var(--indigo) 0%, #4a22d4 26%, var(--indigo-mid) 48%, var(--indigo-deep) 72%, var(--onyx) 100%); touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.hero:active { cursor: grabbing; }
.hero-title { position: absolute; left: var(--gutter); right: var(--gutter); top: 64px; z-index: 1; font-size: inherit; line-height: 1; text-align: center; pointer-events: none; }
.hero-word { display: block; padding-top: .2em; font-size: min(calc((100vw - 2 * var(--gutter)) / 4.17), 46svh); line-height: .98; white-space: nowrap; color: #fff; animation: slovo 1.3s var(--ease) backwards; }
.hero-title em { display: block; margin-top: -.03em; text-align: right; padding-right: .03em; font-size: clamp(2.5rem, 7.2vw, 7.6rem); line-height: 1; color: #fff; animation: slovo 1.3s var(--ease) .12s backwards; }
@keyframes slovo { from { opacity: 0; transform: translateY(.14em); filter: blur(10px); } }
.hero-canvas { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; display: block; pointer-events: none; opacity: 0; transition: opacity .9s ease .1s; filter: drop-shadow(0 34px 34px rgba(1, 1, 13, .5)); }
.hero-canvas.je-pripravene { opacity: 1; }
.hero-foot { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding: 0 var(--gutter) clamp(28px, 5svh, 52px); pointer-events: none; }
.hero-foot > * { pointer-events: auto; }
.hero-lead { max-width: 30rem; }
.hero-lead p { margin: 0 0 22px; color: var(--ink); font-size: clamp(1.02rem, 1.35vw, 1.2rem); line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.hero-list { list-style: none; margin: 0; padding: 0; width: min(19rem, 28vw); flex: none; }
.hero-list li + li { border-top: 1px solid rgba(220, 214, 255, .28); }
.hero-list a { display: block; padding: 10px 0; font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; transition: color .2s, padding-left .35s var(--ease); }
.hero-list a:hover { color: var(--mint); padding-left: 6px; }

/* ---- sekcie ---- */
.section { padding: clamp(72px, 11vw, 150px) var(--gutter); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px 48px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }

/* paličky na úvodnej stránke */
.mallet-band { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.mallet-band h2 { font-size: clamp(3rem, 9.4vw, 9rem); line-height: .98; }
.mallet-band .lede { margin-bottom: 24px; }
.fact-list { margin: 0 0 30px; }
.fact-list div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); }
.fact-list div:last-child { border-bottom: 1px solid var(--line); }
.fact-list dt { color: var(--muted); font-size: .9rem; }
.fact-list dd { margin: 0; font-weight: 500; font-size: .98rem; }

/* riadky služieb */
.service-rows { border-bottom: 1px solid var(--line); }
.service-row { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 2rem; gap: 12px 40px; align-items: center; padding: clamp(24px, 3vw, 40px) 0; border-top: 1px solid var(--line); text-decoration: none; isolation: isolate; transition: padding .45s var(--ease); }
.service-row::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; background: var(--indigo); clip-path: inset(100% 0 0 0); transition: clip-path .45s var(--ease); }
.service-row h3 { font-size: clamp(1.8rem, 3.8vw, 3.4rem); line-height: 1.06; }
.service-row p { margin: 0; color: var(--muted); transition: color .25s; }
.service-row svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease); }
@media (hover: hover) {
  .service-row:hover::before { clip-path: inset(0); }
  .service-row:hover p { color: var(--on-indigo); }
  .service-row:hover svg { transform: translateX(6px); }
}

/* ukážky prác */
.gallery-grid { columns: 3 280px; column-gap: 14px; }
.gallery-item { break-inside: avoid; margin: 0 0 14px; }
.gallery-item img { width: 100%; border-radius: 12px; background: var(--panel); }
.gallery-item figcaption { padding: 9px 2px 4px; color: var(--muted); font-size: .92rem; }

/* postup na indigovom podklade */
.process { background: linear-gradient(180deg, var(--onyx) 0%, var(--indigo-deep) 22%, var(--indigo-mid) 100%); }
.process .lede { color: var(--on-indigo); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(24px, 4vw, 56px); margin: 0; padding: 0; list-style: none; counter-reset: krok; }
.steps li { counter-increment: krok; padding-top: 18px; border-top: 1px solid rgba(220, 214, 255, .35); }
.steps li::before { content: counter(krok); display: block; margin-bottom: 22px; font: 400 clamp(3rem, 6vw, 5.2rem)/1 var(--display); color: var(--mint); }
.steps h3 { margin-bottom: 10px; }
.steps p { margin: 0; color: var(--on-indigo); }
.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.section-end { margin-top: clamp(32px, 4vw, 52px); }

/* záver: jediná veľká mätová plocha */
.cta-band { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; padding: clamp(56px, 8vw, 112px) var(--gutter); background: var(--mint); color: var(--onyx); }
.cta-band h2 { font-size: clamp(2.9rem, 8.4vw, 8rem); line-height: 1; max-width: 13em; }
.cta-band p { margin: 14px 0 0; font-size: 1.1rem; }

/* ---- podstránky ---- */
.page-hero { padding: clamp(128px, 18vw, 220px) var(--gutter) clamp(48px, 7vw, 92px); background: linear-gradient(180deg, var(--indigo) 0%, var(--indigo-mid) 34%, var(--indigo-deep) 68%, var(--onyx) 100%); }
.page-hero .lede { margin-top: 24px; color: var(--ink); }
.page-hero .btn { margin-top: 30px; }

/* podrobnosti služieb */
.service-detail { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px clamp(32px, 6vw, 96px); padding: clamp(40px, 6vw, 80px) 0; border-top: 1px solid var(--line); scroll-margin-top: 72px; }
.service-detail:last-child { border-bottom: 1px solid var(--line); }
.service-detail p { margin: 0 0 20px; color: var(--muted); max-width: 56ch; }

/* postup */
.process-detail { list-style: none; margin: 0; padding: 0; counter-reset: krok; }
.process-detail li { counter-increment: krok; display: grid; grid-template-columns: clamp(4rem, 12vw, 10rem) minmax(0, 1fr); gap: 16px; padding: clamp(32px, 5vw, 64px) 0; border-top: 1px solid var(--line); }
.process-detail li:last-child { border-bottom: 1px solid var(--line); }
.process-detail li::before { content: counter(krok); font: 400 clamp(3rem, 8vw, 6.6rem)/1 var(--display); color: var(--mint); }
.process-detail h2 { font-size: clamp(1.9rem, 4vw, 3.4rem); margin-bottom: 14px; }
.process-detail p { margin: 0; color: var(--muted); max-width: 60ch; }
/* pruh krokov na stránke Postup: dieliky sa plnia pri posúvaní */
.step-meter { position: sticky; top: 72px; z-index: 5; display: flex; align-items: center; gap: 16px; padding: 14px 0; margin-bottom: 8px; background: var(--onyx); }
.step-meter-count { flex: none; font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-variant-numeric: tabular-nums; }
.step-meter-count b { color: var(--mint); font-weight: 800; }
.step-meter-bar { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.step-meter-bar i { position: relative; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.step-meter-bar i::after { content: ""; position: absolute; inset: 0; background: var(--mint); border-radius: inherit; transform: scaleX(var(--fill, 0)); transform-origin: left; }
.note-band { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px clamp(32px, 6vw, 96px); align-items: end; padding-top: 0; }
.note-band p { margin: 0 0 18px; color: var(--muted); }

/* otázky */
.faq-layout { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 40px clamp(32px, 6vw, 96px); align-items: start; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 22px 44px 22px 0; font-size: clamp(1.1rem, 1.7vw, 1.35rem); font-weight: 600; line-height: 1.3; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 2px; background: var(--mint); transition: transform .35s var(--ease); }
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0); }
.faq-list details p { margin: 0 0 24px; color: var(--muted); max-width: 62ch; }
.aside-sticky { position: sticky; top: 104px; }
.aside-sticky p { color: var(--muted); }

/* kontakt */
.contact-rows { border-bottom: 1px solid var(--line); }
.contact-rows article { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 10px 40px; padding: clamp(26px, 4vw, 44px) 0; border-top: 1px solid var(--line); align-items: baseline; }
.contact-rows h2 { font-size: clamp(1.9rem, 4vw, 3.4rem); }
.contact-rows p { margin: 0; color: var(--muted); font-size: 1.08rem; }
/* Kopírovanie e-mailu: ikona sa zmení na fajku a tlačidlo sa rozšíri o nápis */
.copy-btn { display: inline-flex; align-items: center; gap: 0; height: 40px; min-width: 40px; margin: -8px 0 -8px 10px; padding: 0 10px; vertical-align: middle; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--mint); font: 600 .85rem/1 var(--sans); cursor: pointer; transition: border-color .25s, background .25s, gap .4s var(--ease); }
.copy-btn[hidden] { display: none; }
.copy-btn:hover { border-color: var(--mint); }
.copy-icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.copy-back, .copy-front { transform-box: fill-box; transform-origin: center; transition: transform .3s var(--ease), opacity .2s; }
.copy-check { stroke-dasharray: 22; stroke-dashoffset: 22; transition: stroke-dashoffset .35s var(--ease); }
.copy-label { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width .4s var(--ease), opacity .25s; }
.copy-btn.is-done { gap: 7px; border-color: var(--mint); background: rgba(136, 249, 192, .1); }
.copy-btn.is-done .copy-back, .copy-btn.is-done .copy-front { transform: scale(.4); opacity: 0; }
.copy-btn.is-done .copy-check { stroke-dashoffset: 0; transition-delay: .12s; }
.copy-btn.is-done .copy-label { max-width: 8em; opacity: 1; }

/* dopyt */
.request-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 40px clamp(32px, 6vw, 96px); align-items: start; }
.request-copy h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); margin-bottom: 18px; }
.request-copy p { color: var(--muted); }
.file-types { margin: 20px 0; padding: 14px 0; border-block: 1px solid var(--line); font-size: .95rem; }
.file-types b { display: block; margin-top: 4px; letter-spacing: .04em; }
.form-note { font-size: .92rem; }
.inquiry-form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.inquiry-form label { display: grid; gap: 7px; font-size: .95rem; font-weight: 600; }
.inquiry-form input:not([type="checkbox"]), .inquiry-form textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--field); color: var(--ink); font: 400 16px/1.4 var(--sans); caret-color: var(--mint); transition: border-color .2s; }
.inquiry-form input::placeholder, .inquiry-form textarea::placeholder { color: #9d9abb; }
.inquiry-form input:hover, .inquiry-form textarea:hover { border-color: #6e68a6; }
.inquiry-form input:focus-visible, .inquiry-form textarea:focus-visible { outline: 2px solid var(--mint); outline-offset: 1px; border-color: var(--mint); }
.inquiry-form input[type="date"] { color-scheme: dark; }
/* Plávajúci názov poľa: nápoveda sedí v poli, pri písaní vyletí hore a zo stredu narastie čiara */
.inquiry-form .fl { position: relative; display: block; }
.inquiry-form .fl input, .inquiry-form .fl textarea { min-height: 58px; padding: 25px 14px 8px; }
.inquiry-form .fl textarea { padding-top: 30px; resize: vertical; }
.fl-text { position: absolute; left: 15px; top: 18px; max-width: calc(100% - 30px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #9d9abb; font-weight: 500; font-size: 16px; line-height: 1.4; transform-origin: left top; pointer-events: none; transition: transform .3s var(--ease), color .2s; }
.fl :focus ~ .fl-text, .fl :not(:placeholder-shown) ~ .fl-text, .fl-up .fl-text { transform: translateY(-11px) scale(.74); color: var(--muted); }
.fl :-webkit-autofill ~ .fl-text { transform: translateY(-11px) scale(.74); }
.fl :focus ~ .fl-text { color: var(--mint); }
.fl input:not(:focus)::placeholder, .fl textarea:not(:focus)::placeholder { color: transparent; }
.fl-line { position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; border-radius: 2px; background: var(--mint); transform: scaleX(0); transition: transform .4s var(--ease); pointer-events: none; }
.fl :focus ~ .fl-line { transform: scaleX(1); }
.inquiry-form .fl :focus-visible { outline: none; }
.hp-field { position: absolute; left: -9999px; }
.consent { grid-template-columns: 22px 1fr; align-items: start; font-weight: 400 !important; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--mint); }
.form-submit { justify-self: start; }
.form-feedback { margin: 0; min-height: 1.5em; font-weight: 600; }
.form-feedback[data-kind="ok"] { color: var(--mint); }
.form-feedback[data-kind="error"] { color: var(--bad); }
.privacy-note { margin: 0; color: var(--muted); font-size: .92rem; }

/* právny text */
.legal-doc { max-width: 72ch; padding-top: 24px; }
.legal-doc h2 { font: 800 1.2rem/1.3 var(--sans); text-transform: none; letter-spacing: 0; margin: 40px 0 10px; }
.legal-doc p { color: var(--muted); }
.legal-doc b { color: var(--ink); }

/* ---- stránka Paličky ---- */
.pal-hero { position: relative; overflow: hidden; }
.pal-hero h1 { font-size: clamp(4rem, 15.6vw, 15.5rem); line-height: .98; }
.pal-hero h1 em { display: block; font-size: .62em; }
.pal-story { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0 clamp(24px, 4vw, 64px); padding: 0 var(--gutter); }
.pal-stage { position: sticky; top: 72px; height: calc(100vh - 72px); height: calc(100svh - 72px); margin-left: calc(var(--gutter) * -1); touch-action: pan-y; cursor: grab; background: radial-gradient(58% 46% at 50% 50%, rgba(99, 49, 251, .42), transparent 72%); }
.pal-stage:active { cursor: grabbing; }
.pal-stage canvas { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity .8s; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 88%, transparent); }
.pal-stage canvas.je-pripravene { opacity: 1; }
.pal-hint { position: absolute; left: var(--gutter); bottom: 20px; margin: 0; color: var(--muted); font-size: .85rem; }
.pal-steps { padding: 14vh 0 20vh; }
.pal-step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding: 28px 0; color: var(--muted); transition: color .4s; }
.pal-step.je-aktivny { color: var(--ink); }
.pal-step h2 { font-size: clamp(2.2rem, 4.4vw, 4rem); margin-bottom: 16px; color: var(--ink); opacity: .55; transition: opacity .4s; }
.pal-step.je-aktivny h2 { opacity: 1; }
.pal-step p { margin: 0; max-width: 46ch; }
.pal-step ul { margin: 16px 0 0; padding: 0; list-style: none; max-width: 46ch; }
.pal-step li { padding: 9px 0; border-top: 1px solid var(--line); font-size: .98rem; }
.pal-step li b { font-weight: 600; color: var(--ink); }

/* ---- päta ---- */
.site-footer { padding: clamp(48px, 6vw, 80px) var(--gutter) 28px; border-top: 1px solid var(--line); }
.footer-main { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px; }
.footer-brand p { color: var(--muted); margin: 12px 0 0; }
.site-footer h2 { margin-bottom: 12px; font: 600 .95rem/1.3 var(--sans); text-transform: none; letter-spacing: 0; color: var(--muted); }
.footer-main > div > a:not(.brand) { display: block; padding: 5px 0; text-decoration: none; overflow-wrap: anywhere; }
.footer-main > div > a:not(.brand):hover { color: var(--mint); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }

/* ---- menšie obrazovky ---- */
@media (max-width: 1040px) {
  .steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-main { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 880px) {
  .menu-toggle { display: block; z-index: 2; }
  .ig-link { display: none; }
  .main-nav { position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; gap: 2px; padding: 72px var(--gutter) 40px; background: var(--onyx); visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s; }
  .main-nav.open { visibility: visible; opacity: 1; }
  .main-nav a { font: 400 clamp(2.6rem, 12vw, 4rem)/1.2 var(--display); text-transform: uppercase; }
  .main-nav a::after { display: none; }
  .main-nav a[aria-current] { color: var(--mint); }
  .brand, .pill-link { position: relative; z-index: 2; }
  .section-head, .mallet-band, .service-detail, .note-band, .faq-layout, .contact-rows article, .request-layout { grid-template-columns: minmax(0, 1fr); }
  .service-row { grid-template-columns: minmax(0, 1fr) 2rem; }
  .service-row p { grid-column: 1 / -1; grid-row: 2; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .aside-sticky { position: static; }
  .hero-list { display: none; }
  .pal-story { display: block; padding: 0; }
  .pal-stage { top: 72px; z-index: 5; height: 38vh; height: 38svh; margin-left: 0; background-color: var(--onyx); border-bottom: 1px solid var(--line); }
  .pal-stage canvas { -webkit-mask-image: none; mask-image: none; }
  .pal-hint { display: none; }
  .pal-steps { padding: 2vh var(--gutter) 10vh; }
  .pal-step { min-height: 56svh; justify-content: flex-start; padding-top: 36px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero-title { top: 56px; }
  .hero-title em { font-size: clamp(2.3rem, 11vw, 4rem); margin-top: .02em; }
  .hero-canvas { filter: none; }
  .hero-foot { background: linear-gradient(180deg, transparent, var(--onyx) 36%); padding-top: 72px; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .footer-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .site-header { height: 64px; gap: 10px; }
  .step-meter { top: 64px; }
  .pill-link { min-height: 38px; padding: 6px 14px; font-size: .85rem; }
  .brand { font-size: 1.02rem; }
  .btn { width: 100%; }
  .hero-actions .btn { width: auto; flex: 1 1 auto; }
  .pal-stage { top: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
@media (min-width: 881px) and (max-height: 700px) {
  .hero-list { display: none; }
  .hero-lead p { font-size: 1rem; margin-bottom: 14px; }
}

/* ---- Postup ako jeden príbeh: pri posúvaní sa linka nad krokom „vytlačí“ ako vrstva z tlačiarne
   a číslo kroku sa rozsvieti. Len CSS (scroll-driven animácie), bez JS; kde ich prehliadač
   nepozná alebo je obmedzený pohyb, ostáva pôvodný pokojný vzhľad. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .steps li, .process-detail li { position: relative; view-timeline: --krok block; }
    .steps li:nth-child(2) { --i: 1; }
    .steps li:nth-child(3) { --i: 2; }
    .steps li:nth-child(4) { --i: 3; }
    @media (max-width: 880px) { .steps li { --i: 0; } }
    .steps li::after, .process-detail li::after {
      content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px;
      background: var(--mint); transform-origin: left center; pointer-events: none;
      animation: krok-linka linear both; animation-timeline: --krok;
      animation-range: entry calc(var(--i, 0) * 12%) entry calc(64% + var(--i, 0) * 12%);
    }
    .steps li::before, .process-detail li::before {
      animation: krok-cislo linear both; animation-timeline: --krok;
      animation-range: entry calc(10% + var(--i, 0) * 12%) entry calc(64% + var(--i, 0) * 12%);
    }
  }
}
@keyframes krok-linka { from { transform: scaleX(0); opacity: .9; } to { transform: scaleX(1); opacity: .55; } }
@keyframes krok-cislo { from { opacity: .28; } to { opacity: 1; } }
