/* Návrh 1 „Podpis a pečiatka“ · KUČERA & PARTNERS · Luma Creative 2026 */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 300 800; font-display: swap; src: url(fonts/fraunces-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 300 800; font-display: swap; src: url(fonts/fraunces-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 300 800; font-display: swap; src: url(fonts/fraunces-latin-wght-italic.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 300 800; font-display: swap; src: url(fonts/fraunces-latin-ext-wght-italic.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Public Sans'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/public-sans-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Public Sans'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/public-sans-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --paper: #F3ECDD;
  --paper-2: #EAE0CB;
  --sheet: #FBF8F1;
  --ink: #14113F;        /* atrament, odvodený z navy webu #070143 */
  --ink-2: #3D3A5C;
  --navy: #070143;
  --gold: #837258;       /* farba loga */
  --gold-ink: #6A5A40;   /* text na papieri, kontrast AA */
  --gold-light: #CDB892;
  --stamp: #8A3B2E;      /* pečiatková červeň (odtlačok) */
  --line: rgba(20, 17, 63, .14);
  --shadow: 0 1px 1px rgba(40, 30, 10, .08), 0 10px 30px -10px rgba(40, 30, 10, .35), 0 30px 60px -30px rgba(40, 30, 10, .35);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .35  0 0 0 0 .28  0 0 0 0 .16  0 0 0 .09 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper) var(--grain); color: var(--ink); font: 400 17px/1.6 var(--sans); overflow-x: clip; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -.01em; font-variation-settings: 'SOFT' 50, 'WONK' 0; }
p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold-ink); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 12px 18px; background: var(--ink); color: #fff; }
.skip:focus { top: 12px; }
.wrap { width: min(1280px, 100% - 64px); margin-inline: auto; }

/* tlačidlá */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-ink { background: var(--ink); color: #fff; box-shadow: 0 6px 18px -8px rgba(20, 17, 63, .7); }
.btn-ink:hover { background: #241f63; transform: translateY(-1px); }
.btn-ink:disabled { background: #8f8ca6; box-shadow: none; cursor: not-allowed; transform: none; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-ghost { border-color: var(--line); background: rgba(255, 255, 255, .5); color: var(--ink-2); }
.btn-ghost:disabled { opacity: .45; cursor: not-allowed; }
.btn-link { background: none; color: var(--gold-ink); text-decoration: underline; text-underline-offset: 4px; padding: 0 10px; min-width: 44px; }
.btn-big { min-height: 56px; font-size: 18px; padding: 0 28px; }

/* hlavička */
.top { position: sticky; top: 0; z-index: 30; padding-top: var(--sat); background: rgba(243, 236, 221, .86); -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2); border-bottom: 1px solid transparent; transition: border-color .3s; }
.top.is-scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; height: 78px; }
.brand { display: flex; align-items: center; min-height: 44px; }
.brand img { width: 150px; height: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; text-decoration: none; font-weight: 500; color: var(--ink-2); border-radius: 999px; }
.nav a:hover { color: var(--ink); background: rgba(131, 114, 88, .12); }
.top-call-s { display: none; }

/* HERO */
.hero { position: relative; min-height: calc(100svh - 78px); display: flex; flex-direction: column; isolation: isolate; overflow: clip; }
.hero-paper { position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 80% at 75% 40%, #FAF5EA 0%, rgba(250, 245, 234, 0) 60%), linear-gradient(180deg, rgba(234, 224, 203, 0) 60%, var(--paper-2)); }
.hero-tex { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; mix-blend-mode: multiply; }
.hero-in { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: clamp(32px, 5vw, 88px); align-items: center; padding-block: 28px 64px; }
.kicker { font: 600 14px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ''; width: 28px; height: 1.5px; background: var(--gold); }
h1 { font-size: clamp(42px, 4.9vw, 74px); font-weight: 400; line-height: 1.0; letter-spacing: -.025em; font-variation-settings: 'SOFT' 100, 'opsz' 144; }
.lead { margin-top: 24px; font-size: 20px; line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.lead-s { display: none; }
.hero-facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; max-width: 36em; }
.hero-facts li { position: relative; padding-left: 28px; font-size: 16px; color: var(--ink-2); }
.hero-facts li::before { content: ''; position: absolute; left: 0; top: .62em; width: 14px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.hero-facts b { color: var(--ink); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.scroll-cue { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; font-size: 14px; color: var(--gold-ink); text-decoration: none; letter-spacing: .08em; text-transform: uppercase; }
.scroll-cue svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; animation: cue 2.4s ease-in-out infinite; }
@keyframes cue { 50% { transform: translateY(5px); } }

/* karta žiadosti */
.desk { perspective: 1800px; position: relative; }
.desk::before { content: ''; position: absolute; inset: 8% -4% -6% 6%; background: var(--paper-2); border-radius: 6px; transform: rotate(3.2deg); box-shadow: var(--shadow); z-index: -1; }
.card3d { display: grid; transform-style: preserve-3d; transition: transform 1.05s cubic-bezier(.65, .02, .2, 1); transform: rotate(-1.2deg); }
.card3d[data-side="back"] { transform: rotate(-1.2deg) rotateY(180deg); }
.card3d.is-hit { animation: hit .38s cubic-bezier(.3, 0, .2, 1); }
@keyframes hit { 0% { transform: rotate(-1.2deg); } 30% { transform: rotate(-1.2deg) translateY(4px) scale(.992); } 100% { transform: rotate(-1.2deg); } }
.face { grid-area: 1 / 1; background: var(--sheet) var(--grain); border-radius: 4px; box-shadow: var(--shadow); padding: 34px 38px 28px; -webkit-backface-visibility: hidden; backface-visibility: hidden; position: relative; display: flex; flex-direction: column; }
.face::after { content: ''; position: absolute; inset: 12px; border: 1px solid rgba(131, 114, 88, .32); border-radius: 2px; pointer-events: none; }
.face-front { transform: rotateY(0deg) translateZ(1px); }
.face-back { transform: rotateY(180deg) translateZ(1px); }
.face { transition: visibility 0s linear .5s; }
.card3d[data-side="front"] .face-back, .card3d[data-side="back"] .face-front { visibility: hidden; }
.doc-head { position: relative; }
.doc-no { font: 600 13px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.doc-head h2, .back-head h2 { font-size: clamp(28px, 2.5vw, 36px); margin-top: 8px; font-weight: 500; }
.doc-to { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.doc-body { margin-top: 22px; margin-bottom: 18px; }
.doc-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-family: var(--serif); font-size: 21px; line-height: 1.4; }
.ink-select { -webkit-appearance: none; appearance: none; min-height: 44px; padding: 4px 36px 2px 4px; border: 0; border-bottom: 1.5px dashed var(--gold); background: transparent url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 9l6 6 6-6' fill='none' stroke='%236A5A40' stroke-width='2'/></svg>") no-repeat right 6px center / 18px; font: italic 500 21px/1.3 var(--serif); color: #1F2A8C; cursor: pointer; max-width: 100%; border-radius: 0; }
.doc-promise { margin-top: 14px; font-size: 16px; color: var(--ink-2); }

.sign { position: relative; margin-top: auto; flex: 1 0 200px; min-height: 200px; border-radius: 3px; background: linear-gradient(to bottom, transparent calc(100% - 52px), rgba(20, 17, 63, .45) calc(100% - 52px), rgba(20, 17, 63, .45) calc(100% - 50.5px), transparent calc(100% - 50.5px)); touch-action: none; }
.sign canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 34 34'><path d='M3 31 L8 18 L26 2 L32 8 L16 26 Z' fill='%2314113F'/><path d='M3 31 L8 18 L12 22 Z' fill='%23CDB892'/></svg>") 2 32, crosshair; touch-action: none; }
.sign-x { position: absolute; left: 2px; bottom: 54px; font: 400 26px/1 var(--serif); color: var(--gold-ink); }
.sign-hint { position: absolute; left: 34px; right: 12px; bottom: 64px; display: flex; align-items: center; gap: 12px; font: italic 400 18px/1.3 var(--serif); color: rgba(20, 17, 63, .5); pointer-events: none; transition: opacity .4s; }
.sign-hint svg { width: 92px; flex: 0 0 auto; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 240; stroke-dashoffset: 240; animation: hint 3.2s ease-in-out infinite; }
@keyframes hint { 0% { stroke-dashoffset: 240; } 55%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.sign.has-ink .sign-hint { opacity: 0; }
.sign-clear { position: absolute; right: 0; top: 0; z-index: 4; min-height: 44px; padding: 0 16px; font-size: 15px; }
.sign-clear:disabled { opacity: 0; pointer-events: none; }
.hint-s { display: none; }
.sign-meta { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--ink-2); }
.sign-meta span:first-child { font-style: italic; font-family: var(--serif); }
.doc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }

/* pečiatka */
.stamp-zone { position: absolute; right: 4%; bottom: 26px; width: 150px; height: 150px; z-index: 3; pointer-events: none; }
.imprint { position: absolute; inset: 0; color: var(--stamp); opacity: 0; transform: rotate(-14deg) scale(1.08); mix-blend-mode: multiply; }
.imprint svg { width: 100%; height: 100%; }
.sign.is-stamped .imprint { opacity: .88; transform: rotate(-14deg) scale(1); transition: opacity .12s, transform .4s cubic-bezier(.2, .8, .2, 1); }
.stamp-tool { position: absolute; inset: 6px; border-radius: 50%; opacity: 0; display: none; background: radial-gradient(circle at 38% 32%, #b98c5a 0%, #8a5d35 38%, #5e3c20 70%, #3b2412 100%); box-shadow: inset 0 0 0 7px #b8a07a, inset 0 0 0 9px #7c6744, inset 0 -6px 16px rgba(0, 0, 0, .35); }
.stamp-tool .knob { position: absolute; inset: 26%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #d7b688, #8f6338 60%, #5a381c); box-shadow: 0 4px 10px rgba(0, 0, 0, .35), inset 0 2px 3px rgba(255, 255, 255, .3); }
.stamp-shadow { position: absolute; inset: 10%; border-radius: 50%; background: rgba(40, 25, 10, .45); filter: blur(14px); opacity: 0; display: none; }
.sign.is-dropping .stamp-tool, .sign.is-dropping .stamp-shadow { display: block; }
.sign.is-dropping .stamp-tool { animation: drop 1.15s cubic-bezier(.5, 0, .3, 1) forwards; }
.sign.is-dropping .stamp-shadow { animation: dropShadow 1.15s cubic-bezier(.5, 0, .3, 1) forwards; }
@keyframes drop {
  0% { opacity: 0; transform: translate(60px, -140px) scale(2.1) rotate(-30deg); }
  18% { opacity: 1; }
  44% { transform: translate(0, 0) scale(1.02) rotate(-14deg); }
  50% { transform: translate(0, 0) scale(.96) rotate(-14deg); }
  62% { opacity: 1; transform: translate(0, 0) scale(1) rotate(-14deg); }
  100% { opacity: 0; transform: translate(70px, -160px) scale(2.2) rotate(-4deg); }
}
@keyframes dropShadow {
  0% { opacity: 0; transform: translate(140px, 40px) scale(1.5); filter: blur(30px); }
  44%, 60% { opacity: .9; transform: translate(4px, 6px) scale(1); filter: blur(6px); }
  100% { opacity: 0; transform: translate(150px, 50px) scale(1.6); filter: blur(30px); }
}
.ink-dust { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--stamp); opacity: .5; pointer-events: none; animation: dust .7s ease-out forwards; }
@keyframes dust { to { transform: translate(var(--dx), var(--dy)) scale(.3); opacity: 0; } }

/* zadná strana */
.back-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.back-seal { position: relative; width: 150px; height: 70px; flex: 0 0 auto; }
.back-seal img { position: absolute; left: 0; bottom: 2px; width: 110px; height: 56px; object-fit: contain; object-position: left bottom; opacity: .92; }
.back-seal svg { position: absolute; right: 0; top: -6px; width: 64px; height: 64px; color: var(--stamp); opacity: .8; transform: rotate(-12deg); mix-blend-mode: multiply; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-top: 20px; }
.f { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.f input, .f select { min-height: 50px; width: 100%; padding: 10px 14px; border: 1.5px solid rgba(20, 17, 63, .22); border-radius: 8px; background: #fff; font-size: 17px; font-weight: 400; color: var(--ink); }
.f select { -webkit-appearance: none; appearance: none; background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 9l6 6 6-6' fill='none' stroke='%2314113F' stroke-width='2'/></svg>") no-repeat right 12px center / 18px; padding-right: 40px; }
.f input:focus, .f select:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(131, 114, 88, .35); }
.f input[aria-invalid="true"] { border-color: #A3271A; }
.fee-pick { margin-top: 14px; font-size: 15px; padding: 10px 14px; border-left: 3px solid var(--gold); background: rgba(131, 114, 88, .1); }
.gdpr { margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.gdpr a { color: var(--gold-ink); }
.err { min-height: 0; color: #A3271A; font-size: 15px; font-weight: 600; margin-top: 6px; }
.err:empty { display: none; }
.back-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.next-note { margin-top: auto; padding-top: 18px; font-size: 15px; color: var(--ink-2); border-top: 1px dashed var(--line); }
.callme { display: flex; flex-direction: column; flex: 1; }
.done { display: grid; align-content: center; justify-items: start; gap: 14px; flex: 1; }
.done:focus { outline: none; }
.done-seal { width: 110px; height: 110px; color: var(--stamp); transform: rotate(-10deg); mix-blend-mode: multiply; }
.done h2 { font-size: 34px; }
.done a, .contact-cta a, .urgent a { white-space: nowrap; }
.done a { color: var(--ink); font-weight: 600; }
.mock { font-size: 14px; color: var(--gold-ink); font-style: italic; }

/* sekcie */
.sec { padding-block: clamp(80px, 10vw, 140px); position: relative; }
.sec-head { max-width: 860px; margin-bottom: 52px; }
.sec-head h2 { font-size: clamp(34px, 4vw, 58px); font-weight: 400; letter-spacing: -.02em; }
.sec-lead { margin-top: 20px; font-size: 19px; color: var(--ink-2); max-width: 44em; }

/* spisové dosky */
.folders { background: linear-gradient(180deg, var(--paper-2), var(--paper) 40%); }
.shelf { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; align-items: end; }
.folder { --c: #C9B18A; --c2: #B39A72; position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; text-align: left; min-height: 188px; padding: 46px 18px 18px; border: 0; border-radius: 4px 10px 6px 6px; cursor: pointer; background: linear-gradient(175deg, var(--c) 0%, var(--c2) 100%); color: #2A2116; box-shadow: 0 2px 0 rgba(0, 0, 0, .08), 0 14px 26px -16px rgba(50, 30, 10, .7); transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s; }
.folder::before { content: ''; position: absolute; left: 14px; top: -14px; width: 46%; height: 18px; background: var(--c); border-radius: 8px 10px 0 0; }
.folder::after { content: ''; position: absolute; left: 0; right: 0; top: 26px; height: 1px; background: rgba(0, 0, 0, .12); }
.folder:nth-child(1) { --c: #CDB48C; --c2: #B8996D; }
.folder:nth-child(2) { --c: #B9C1C6; --c2: #9CA6AD; }
.folder:nth-child(3) { --c: #C6BE97; --c2: #ADA37A; }
.folder:nth-child(4) { --c: #C9A893; --c2: #AF8C76; }
.folder:nth-child(5) { --c: #D3BFA6; --c2: #BBA386; }
.folder:nth-child(6) { --c: #AEB9AA; --c2: #929E8E; }
.folder .lbl { display: block; background: #FBF8F1; padding: 8px 12px; border-radius: 2px; box-shadow: 0 1px 2px rgba(0, 0, 0, .15); font: 500 19px/1.15 var(--serif); width: 100%; }
.folder .cnt { display: block; margin-top: 10px; font-size: 14px; font-weight: 600; color: #2A2116; }
.folder .tie { position: absolute; right: 16px; top: 36px; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #f3e6c9, #a48a5f); box-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.folder .tie::after { content: ''; position: absolute; left: 8px; top: 16px; width: 1.5px; height: 46px; background: #6f5a3a; transform: rotate(14deg); transform-origin: top; }
.folder:hover { transform: translateY(-6px); }
.folder[aria-selected="true"] { transform: translateY(-18px); box-shadow: 0 0 0 3px var(--ink), 0 26px 40px -18px rgba(50, 30, 10, .8); }

.dossier { margin-top: 40px; perspective: 2200px; }
.dossier-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: #A88F69; border-radius: 6px; padding: 14px; box-shadow: var(--shadow); position: relative; }
.dossier-cover { position: relative; background: linear-gradient(160deg, #CDB48C, #B8996D); border-radius: 4px 0 0 4px; padding: 28px; color: #2A2116; display: flex; flex-direction: column; gap: 16px; transform-origin: right center; }
.dossier-cover h3 { font-size: clamp(30px, 3vw, 44px); font-weight: 500; }
.dossier-cover .who { font-size: 18px; line-height: 1.5; }
.dossier-cover figure { margin: 0; position: relative; border-radius: 3px; overflow: hidden; aspect-ratio: 16 / 10; background: #8c7656; }
.dossier-cover figure img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.35) saturate(.8); }
.dossier-cover figcaption { position: absolute; right: 8px; bottom: 8px; font-size: 12px; background: rgba(251, 248, 241, .9); padding: 2px 8px; border-radius: 99px; color: #2A2116; }
.dossier-cover .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.dossier-sheet { position: relative; background: var(--sheet) var(--grain); border-radius: 0 4px 4px 0; padding: 30px 34px 30px 46px; box-shadow: inset 6px 0 14px -10px rgba(0, 0, 0, .4); }
.dossier-sheet::before { content: ''; position: absolute; left: 22px; top: 0; bottom: 0; width: 1.5px; background: rgba(163, 39, 26, .3); }
.dossier-sheet h4 { font: 600 14px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 14px; }
.dossier-sheet ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 34px; }
.dossier-sheet li { break-inside: avoid; position: relative; padding: 8px 0 8px 22px; font-size: 16px; line-height: 1.5; border-bottom: 1px solid rgba(20, 17, 63, .08); }
.dossier-sheet li::before { content: '§'; position: absolute; left: 0; top: 8px; font-family: var(--serif); color: var(--gold); }
.dossier-in.is-opening .dossier-cover { animation: cover .8s cubic-bezier(.2, .8, .2, 1); }
.dossier-in.is-opening .dossier-sheet li { animation: rise .5s both; animation-delay: calc(var(--i) * 28ms + .2s); }
@keyframes cover { from { transform: rotateY(-70deg); filter: brightness(.8); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

/* prvá konzultácia */
.consult-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.route { position: relative; list-style: none; margin: 0; padding: 0 0 0 0; display: grid; gap: 34px; }
.route-ink { position: absolute; left: 6px; top: 10px; width: 40px; height: calc(100% - 20px); overflow: visible; }
.route-ink path { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: var(--draw, 1); }
.route li { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 20px; align-items: start; }
.rn { position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--sheet); border: 1.5px solid var(--gold); font: italic 500 24px/1 var(--serif); color: var(--ink); }
.route li.on .rn { background: var(--ink); color: #fff; border-color: var(--ink); transition: background .4s, color .4s; }
.route h3 { font-size: 26px; margin-top: 10px; }
.route p { margin-top: 8px; color: var(--ink-2); }
.film { position: relative; margin: 0 0 30px; border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 3; background: #d9cdb3; box-shadow: var(--shadow); }
.film video, .film-fb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film video { z-index: 1; }
.film.no-video video { display: none; }
.film figcaption { position: absolute; z-index: 2; right: 10px; bottom: 10px; font-size: 13px; padding: 3px 10px; border-radius: 99px; background: rgba(251, 248, 241, .88); }
.side-h { font-size: 26px; margin-bottom: 16px; }
.modes { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.modes li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--ink-2); }
.modes b { color: var(--ink); }
.modes svg { width: 24px; height: 24px; fill: none; stroke: var(--gold-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.modes li:nth-child(3) svg { fill: var(--gold-ink); stroke: none; }

.bring { margin-top: 80px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; padding: 40px; background: var(--sheet) var(--grain); border-radius: 6px; box-shadow: var(--shadow); }
.bring-head h3 { font-size: 32px; }
.bring-head p { margin-top: 12px; color: var(--ink-2); }
.bring-count { font-weight: 600; color: var(--ink) !important; }
.bring-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.bring-list label { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; min-height: 48px; padding: 10px 6px; cursor: pointer; border-bottom: 1px dashed var(--line); }
.bring-list input { -webkit-appearance: none; appearance: none; width: 26px; height: 26px; margin: 0; border: 1.5px solid var(--ink-2); border-radius: 4px; background: #fff; display: grid; place-items: center; cursor: pointer; }
.bring-list input::after { content: ''; width: 14px; height: 7px; border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(-45deg) scale(0); transition: transform .2s; margin-top: -3px; }
.bring-list input:checked::after { transform: rotate(-45deg) scale(1); }
.bring-list input:checked + span { color: var(--ink-2); text-decoration: line-through; text-decoration-color: var(--gold); text-decoration-thickness: 1.5px; }
.bring-note { grid-column: 2; font-size: 14px; color: var(--gold-ink); }

/* kolky */
.fees { background: linear-gradient(180deg, var(--paper), var(--paper-2)); }
.stamps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.kolok { position: relative; overflow: hidden; padding: 10px; border: 0; background: #FBF8F1; cursor: pointer; text-align: left; filter: drop-shadow(0 10px 16px rgba(50, 30, 10, .22)); transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  -webkit-mask: linear-gradient(#000 0 0) content-box, radial-gradient(circle 5px, transparent 96%, #000) -8px -8px / 16px 16px;
  mask: linear-gradient(#000 0 0) content-box, radial-gradient(circle 5px, transparent 96%, #000) -8px -8px / 16px 16px; }
.kolok:nth-child(odd) { transform: rotate(-1deg); }
.kolok:nth-child(even) { transform: rotate(1.2deg); }
.kolok:hover { transform: translateY(-6px) rotate(0); }
.kolok-in { display: flex; flex-direction: column; gap: 10px; height: 100%; min-height: 380px; padding: 22px 20px 24px; border: 1.5px solid var(--gold); background: linear-gradient(180deg, #F6EFDF, #FBF8F1 60%); }
.kolok-face { font: italic 400 46px/1 var(--serif); color: var(--gold); }
.kolok-t { font: 500 24px/1.15 var(--serif); color: var(--ink); }
.kolok-r { font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.kolok-tap { margin-top: auto; padding-top: 10px; font-size: 14px; font-weight: 600; color: var(--gold-ink); letter-spacing: .02em; transition: opacity .25s; }
.kolok[aria-pressed="true"] .kolok-tap { opacity: 0; }
.kolok-r b { color: var(--ink); font-weight: 600; }
.postmark { position: absolute; right: 14px; bottom: 12px; width: 100px; height: 100px; color: var(--stamp); opacity: 0; transform: scale(1.12) rotate(-24deg); transition: opacity .25s, transform .35s cubic-bezier(.2, .8, .2, 1); pointer-events: none; mix-blend-mode: multiply; }
.postmark svg { width: 100%; height: 100%; filter: url(#rough); }
.postmark circle { fill: none; stroke: currentColor; stroke-width: 3; }
.postmark text { fill: currentColor; font: 700 13px var(--sans); text-anchor: middle; letter-spacing: 1.5px; }
.kolok[aria-pressed="true"] .postmark { opacity: .85; transform: scale(1) rotate(-18deg); }
.kolok[aria-pressed="true"] .kolok-in { border-color: var(--stamp); }
.fee-notes { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.fee-notes p { padding-top: 16px; border-top: 1.5px solid var(--gold); color: var(--ink-2); }
.fee-notes b { color: var(--ink); }
.fee-cta { margin-top: 40px; }

/* kontakt */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.envelope { position: relative; background: var(--sheet) var(--grain); padding: 48px; border-radius: 6px; box-shadow: var(--shadow); overflow: hidden; }
.envelope::before { content: ''; position: absolute; inset: 0 0 auto; height: 8px; background: repeating-linear-gradient(-45deg, #A3271A 0 16px, var(--sheet) 16px 26px, #1F2A8C 26px 42px, var(--sheet) 42px 52px); }
.envelope h2 { font-size: clamp(32px, 3.4vw, 50px); font-weight: 400; max-width: 14em; padding-right: 130px; }
.addr { font-style: normal; display: grid; gap: 10px; margin-top: 28px; font: 400 22px/1.4 var(--serif); }
.addr-to { font-weight: 600; }
.contact-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.urgent { margin-top: 26px; padding: 14px 16px; border-left: 3px solid var(--stamp); background: rgba(138, 59, 46, .07); color: var(--ink-2); max-width: 40em; }
.urgent b { color: var(--ink); }
.post-stamp { position: absolute; right: 36px; top: 40px; width: 120px; height: 120px; color: var(--stamp); opacity: .55; transform: rotate(12deg); mix-blend-mode: multiply; }
.facts { margin: 0; display: grid; gap: 0; }
.facts div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 600 13px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.facts dd { margin: 6px 0 0; font-size: 17px; }

.foot { background: var(--navy); color: #E9E3D6; padding: 48px 0 calc(48px + var(--sab)); }
.foot-in { display: grid; gap: 14px; justify-items: start; }
.foot img { width: 170px; height: auto; }
.foot p { font-size: 15px; color: #CFC7B6; }
.foot-luma { color: var(--gold-light) !important; }

.mbar { display: none; }

/* reveal */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s, transform .7s cubic-bezier(.2, .8, .2, 1); }
.rv.in { opacity: 1; transform: none; }

/* ===== tablet ===== */
@media (max-width: 1100px) {
  .nav { display: none; }
  .top-call { margin-left: auto; }
  .hero-in { grid-template-columns: 1fr; gap: 40px; padding-block: 28px 80px; }
  .hero-txt { max-width: 680px; }
  .desk { max-width: 620px; width: 100%; justify-self: center; }
  .shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 34px; }
  .dossier-in { grid-template-columns: 1fr; }
  .dossier-cover { border-radius: 4px 4px 0 0; transform-origin: center bottom; }
  .dossier-sheet { border-radius: 0 0 4px 4px; }
  .consult-grid { grid-template-columns: 1fr; }
  .film { aspect-ratio: 16 / 9; }
  .bring { grid-template-columns: 1fr; }
  .bring-note { grid-column: auto; }
  .stamps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fee-notes { grid-template-columns: 1fr; gap: 16px; }
  .contact-grid { grid-template-columns: 1fr; }
  @keyframes cover { from { transform: rotateX(70deg); filter: brightness(.8); } to { transform: none; } }
}

/* ===== mobil ===== */
@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { width: calc(100% - 32px); }
  html { scroll-padding-top: 70px; }
  .top-in { height: 60px; gap: 12px; }
  .brand img { width: 112px; }
  .top-call { min-height: 44px; padding: 0 16px; font-size: 15px; }
  .top-call-l { display: none; }
  .top-call-s { display: inline; }
  .hero { min-height: 0; }
  .hero-in { padding-block: 14px 64px; gap: 18px; }
  .kicker { font-size: 13px; margin-bottom: 10px; letter-spacing: .12em; }
  h1 { font-size: 36px; line-height: 1.02; }
  .lead { margin-top: 10px; font-size: 16px; line-height: 1.5; }
  .lead-l { display: none; }
  .lead-s { display: inline; }
  .hero-facts, .hero-cta { display: none; }
  .scroll-cue { display: none; }
  .desk::before { inset: 6% -2% -3% 4%; }
  .face { padding: 18px 18px 16px; }
  .face::after { inset: 7px; }
  .doc-no { font-size: 12px; }
  .doc-head h2, .back-head h2 { font-size: 24px; margin-top: 4px; }
  .doc-to { display: none; }
  .doc-body { margin-top: 8px; }
  .doc-line { font-size: 17px; gap: 0 8px; }
  .ink-select { font-size: 18px; min-height: 44px; }
  .doc-promise { display: none; }
  .sign { flex: 1 0 160px; min-height: 160px; margin-top: 8px; }
  .hint-l { display: none; }
  .hint-s { display: inline; }
  .sign-hint { font-size: 16px; left: 30px; bottom: 60px; }
  .sign-hint svg { width: 64px; }
  .sign-meta { font-size: 13px; bottom: 12px; }
  .stamp-zone { width: 112px; height: 112px; bottom: 22px; right: 2%; }
  .doc-actions { margin-top: 10px; gap: 6px; }
  .doc-actions .btn { padding: 0 16px; font-size: 15px; }
  .doc-actions .btn-link { padding: 0 6px; }
  .fields { grid-template-columns: 1fr 1fr; gap: 8px 10px; margin-top: 10px; }
  .f { font-size: 13px; gap: 4px; }
  .f input, .f select { font-size: 16px; padding: 8px 10px; }
  .f select { padding-right: 30px; background-position: right 8px center; }
  .hide-s { display: none; }
  .back-actions { flex-wrap: nowrap; margin-top: 12px; }
  .back-actions .btn-ink { flex: 1; width: auto; padding: 0 14px; }
  .gdpr { line-height: 1.4; }
  .f input, .f select { min-height: 46px; }
  .back-seal { width: 100px; height: 56px; }
  .next-note { display: none; }
  .back-seal img { width: 70px; height: 40px; }
  .back-seal svg { width: 52px; height: 52px; }
  .gdpr { font-size: 14px; margin-top: 10px; }
  .sec { padding-block: 72px; }
  .sec-head { margin-bottom: 34px; }
  .sec-head h2 { font-size: 32px; }
  .sec-lead { font-size: 17px; }
  .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 12px; }
  .folder { min-height: 136px; padding: 40px 12px 12px; }
  .folder .lbl { font-size: 17px; padding: 6px 8px; }
  .folder .tie { display: none; }
  .folder[aria-selected="true"] { transform: translateY(-8px); }
  .dossier-in { padding: 8px; }
  .dossier-cover { padding: 20px; }
  .dossier-sheet { padding: 22px 16px 18px 34px; }
  .dossier-sheet::before { left: 16px; }
  .dossier-sheet ul { columns: 1; }
  .route { gap: 26px; }
  .route li { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
  .rn { width: 44px; height: 44px; font-size: 20px; }
  .route-ink { left: 2px; }
  .route h3 { font-size: 22px; margin-top: 6px; }
  .film { aspect-ratio: 4 / 3; }
  .bring { padding: 24px 18px; margin-top: 56px; gap: 18px; }
  .bring-head h3 { font-size: 26px; }
  .stamps { grid-template-columns: 1fr; gap: 18px; }
  .kolok-in { padding: 18px 16px 20px; min-height: 0; }
  .kolok-tap { padding-right: 96px; min-height: 60px; display: flex; align-items: flex-end; }
  .postmark { width: 96px; height: 96px; }
  .envelope { padding: 30px 18px 24px; }
  .post-stamp { width: 76px; height: 76px; right: 14px; top: 24px; }
  .envelope h2 { font-size: 30px; padding-right: 70px; }
  .addr { font-size: 19px; }
  .btn-big { width: 100%; font-size: 17px; white-space: normal; }
  .foot { padding-bottom: calc(110px + var(--sab)); }
  .mbar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + var(--sab)); background: rgba(243, 236, 221, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
  .mbar.on { transform: none; }
  .mbar a { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1.5px solid var(--ink); }
  .mbar a:last-child { background: var(--ink); color: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .face { transition-delay: 0s !important; }
  .rv { opacity: 1; transform: none; }
  .route-ink path { stroke-dashoffset: 0; }
  .sign-hint svg { stroke-dashoffset: 0; }
}

/* iOS 26 Safari: obsah siaha pod plávajúci panel, skrytá lišta (translateY 110 %) by cezeň presvitala → skryť aj visibility */
.mbar{transition:transform .35s cubic-bezier(.2,.8,.2,1),visibility 0s linear .35s}
.mbar:not(.on):not(.is-on){visibility:hidden}
.mbar.on,.mbar.is-on{visibility:visible;transition:transform .35s cubic-bezier(.2,.8,.2,1),visibility 0s}
