/* Silný rod – hlavný štýl
   Farby: slonovina / tmavá zelená / zlatý akcent. Svetlý aj tmavý režim cez CSS premenné. */

:root {
  --bg: #f7f2e7;
  --bg-alt: #efe7d5;
  --paper: #fffcf5;
  --ink: #1c2620;
  --ink-soft: #33413a;
  --muted: #5f6b63;
  --line: #e1d6bf;
  --line-strong: #cdbd9c;
  --green: #1f3a2e;
  --green-2: #2d5341;
  --green-ink: #f5eedf;
  --gold: #a9853f;
  --gold-2: #c8a55e;
  --gold-soft: rgba(176, 141, 74, .14);
  --bordeaux: #6e2633;
  --ok: #2f6b45;
  --warn: #8a6a1c;
  --bad: #9a2f2f;
  --shadow-sm: 0 1px 2px rgba(40, 30, 10, .06), 0 4px 14px -6px rgba(40, 30, 10, .12);
  --shadow: 0 2px 6px rgba(40, 30, 10, .05), 0 24px 48px -24px rgba(40, 30, 10, .28);
  --radius: 14px;
  --radius-lg: 22px;
  --ff-serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --ff-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --gutter: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1512; --bg-alt: #141c18; --paper: #18211c; --ink: #ece5d6; --ink-soft: #d5cdbb; --muted: #a2aa9f;
    --line: #2a3530; --line-strong: #3b4842; --green: #10201a; --green-2: #9cc3ae; --green-ink: #f2ead9;
    --gold: #d2b06b; --gold-2: #e2c27f; --gold-soft: rgba(210, 176, 107, .12); --bordeaux: #d08591;
    --ok: #7fc398; --warn: #e0bd63; --bad: #f08a8a;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4), 0 4px 14px -6px rgba(0, 0, 0, .6);
    --shadow: 0 2px 6px rgba(0, 0, 0, .35), 0 24px 48px -24px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1512; --bg-alt: #141c18; --paper: #18211c; --ink: #ece5d6; --ink-soft: #d5cdbb; --muted: #a2aa9f;
  --line: #2a3530; --line-strong: #3b4842; --green: #10201a; --green-2: #9cc3ae; --green-ink: #f2ead9;
  --gold: #d2b06b; --gold-2: #e2c27f; --gold-soft: rgba(210, 176, 107, .12); --bordeaux: #d08591;
  --ok: #7fc398; --warn: #e0bd63; --bad: #f08a8a;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4), 0 4px 14px -6px rgba(0, 0, 0, .6);
  --shadow: 0 2px 6px rgba(0, 0, 0, .35), 0 24px 48px -24px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
html, body { overflow-x: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--ff-sans); font-size: 16px; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--ff-serif); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.005em; text-wrap: balance; }
p { margin: 0 0 1em; }
.h1 { font-size: clamp(2.3rem, 5.2vw, 3.8rem); }
.h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
.h3 { font-size: clamp(1.35rem, 2.2vw, 1.6rem); }
.h4 { font-size: 1.2rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-soft); font-weight: 300; max-width: 46em; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.fine { font-size: .85rem; color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.sr, .skip:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; background: var(--paper); padding: 8px 14px; border-radius: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; } }
.wrap.narrow { max-width: 820px; }
.eyebrow {
  font-family: var(--ff-sans); text-transform: uppercase; letter-spacing: .22em; font-size: .74rem; font-weight: 600;
  color: var(--gold); margin: 0 0 1rem; display: inline-flex; align-items: center; gap: .8em;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.center .eyebrow::after, .section-head:not(.left) .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; background: var(--gold-soft); padding: .1em .4em; border-radius: 6px; }

/* ---------- Tlačidlá ---------- */
.btn {
  --b: var(--green); display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.6em; border-radius: 999px; border: 1px solid transparent;
  font: 500 .95rem/1.2 var(--ff-sans); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  -webkit-tap-highlight-color: transparent; text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1b1408; box-shadow: 0 10px 24px -12px rgba(169, 133, 63, .8); }
.btn-gold:hover { color: #1b1408; box-shadow: 0 16px 30px -12px rgba(169, 133, 63, .9); }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--gold); color: var(--ink); background: var(--gold-soft); }
.btn-ghost { border-color: rgba(245, 238, 223, .35); color: var(--green-ink); background: rgba(255, 255, 255, .04); backdrop-filter: blur(4px); }
.btn-ghost:hover { border-color: var(--gold-2); color: #fff; }
.btn-danger { background: var(--bad); color: #fff; }
.btn-sm { padding: .55em 1.1em; font-size: .86rem; }
.btn-lg { padding: 1.05em 2.1em; font-size: 1.02rem; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; color: var(--gold); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-btn.danger { color: var(--bad); }
.inline-form { display: inline; margin: 0; }

/* ---------- Hlavička ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--green-ink);
  transition: background .35s, box-shadow .35s, color .35s, padding .35s; padding: 14px 0;
}
.site-header.scrolled, .site-header.open, body:not(.home) .site-header {
  background: color-mix(in srgb, var(--bg) 92%, transparent); color: var(--ink);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line); padding: 8px 0;
}
body:not(.home) main { padding-top: 70px; }
.header-inner { display: flex; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-family: var(--ff-serif); font-size: 1.45rem; font-weight: 600; letter-spacing: .01em; white-space: nowrap; }
.brand:hover { color: inherit; }
.brand .logo-mark { color: var(--gold-2); flex: none; }
.site-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.site-nav a { white-space: nowrap; }
.site-nav a:not(.btn) { color: inherit; text-decoration: none; font-size: .88rem; padding: 8px 9px; border-radius: 999px; opacity: .88; transition: opacity .2s, background .2s; }
.site-nav a:not(.btn):hover { opacity: 1; background: rgba(127, 127, 127, .1); }
.site-nav .btn { margin-left: 8px; }
.header-tools { display: flex; align-items: center; gap: 6px; }
.lang-switch { display: flex; gap: 2px; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 30%, transparent); border-radius: 999px; padding: 2px; }
.lang-switch a { color: inherit; text-decoration: none; font-size: .74rem; font-weight: 600; letter-spacing: .08em; padding: 4px 8px; border-radius: 999px; opacity: .7; }
.lang-switch a.on { background: var(--gold); color: #1b1408; opacity: 1; }
.theme-toggle { background: none; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); color: inherit; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.theme-toggle .i-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: block; }
}
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; width: 42px; height: 42px; position: relative; cursor: pointer; color: inherit; }
.nav-toggle span:not(.sr) { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 14px; } .nav-toggle span:nth-child(2) { top: 20px; } .nav-toggle span:nth-child(3) { top: 26px; }
.site-header.open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header.open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1200px) {
  .nav-toggle { display: block; order: 2; }
  .header-tools { order: 3; }
  .brand { font-size: 1.25rem; }
  .site-nav {
    position: fixed; inset: 60px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); color: var(--ink); padding: 10px var(--gutter) 22px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .3s var(--ease), opacity .25s;
    max-height: calc(100vh - 60px); overflow-y: auto;
  }
  .site-header.open .site-nav { transform: none; opacity: 1; pointer-events: auto; }
  .site-nav a:not(.btn) { padding: 13px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .site-nav .btn { margin: 16px 0 0; }
}
@media (max-width: 420px) {
  .brand span { font-size: 1.1rem; }
  .brand .logo-mark { width: 28px; height: 28px; }
  .lang-switch a { padding: 4px 6px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  background: radial-gradient(120% 90% at 80% 10%, #2f5644 0%, #1d3629 45%, #12221a 100%);
  color: var(--green-ink); overflow: hidden; padding: 120px 0 90px;
}
.hero::after { content: ""; position: absolute; inset: 0; background: url("../img/paper-grain.svg"); opacity: .22; mix-blend-mode: overlay; pointer-events: none; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-tree { position: absolute; right: -8%; bottom: -6%; width: min(820px, 90vw); opacity: .16; color: #e6cf98; animation: sway 18s ease-in-out infinite alternate; transform-origin: 50% 100%; }
@keyframes sway { from { transform: rotate(-.6deg); } to { transform: rotate(.8deg) scale(1.01); } }
.hero-inner { position: relative; z-index: 2; }
.hero .eyebrow { color: var(--gold-2); }
.hero-title { font-size: clamp(2.6rem, 7.4vw, 5.6rem); font-weight: 500; line-height: 1.02; color: #fbf5e7; margin-bottom: .35em; max-width: 13em; }
.hero-title em { display: block; font-style: italic; color: #e3c98c; font-weight: 400; }
.hero-claim { font-family: var(--ff-serif); font-style: italic; font-size: clamp(1.25rem, 2.4vw, 1.6rem); color: #f3dfae; margin: 0 0 .7em; max-width: 30em; line-height: 1.3; }
.hero-lead { font-size: clamp(1.05rem, 1.8vw, 1.28rem); max-width: 36em; color: rgba(245, 238, 223, .86); font-weight: 300; }
.hero-speed { margin: 1.4rem 0 0; max-width: 40em; padding: 12px 18px; border-left: 2px solid #e3c98c; background: rgba(227, 201, 140, .08); border-radius: 0 10px 10px 0; color: rgba(245, 238, 223, .82); font-size: 1rem; line-height: 1.5; }
.hero-speed strong { color: #f3dfae; font-weight: 600; font-size: 1.08rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 2rem 0 2.2rem; }
.hero-badges { list-style: none; padding: 0; margin: 0 0 1.6rem; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .9rem; color: rgba(245, 238, 223, .8); }
.hero-badges li { display: flex; align-items: center; gap: 8px; }
.hero-badges li::before { content: ""; width: 7px; height: 7px; border: 1px solid var(--gold-2); transform: rotate(45deg); }
.hero-note { display: inline-flex; align-items: center; gap: 10px; font-size: .85rem; letter-spacing: .04em; color: rgba(245, 238, 223, .7); border: 1px solid rgba(227, 201, 140, .28); border-radius: 999px; padding: 7px 16px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #e3c98c; box-shadow: 0 0 0 0 rgba(227, 201, 140, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(227, 201, 140, 0); } 100% { box-shadow: 0 0 0 0 rgba(227, 201, 140, 0); } }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; width: 24px; height: 40px; border: 1px solid rgba(245, 238, 223, .4); border-radius: 14px; transform: translateX(-50%); z-index: 2; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 2px; height: 8px; background: #e3c98c; border-radius: 2px; transform: translateX(-50%); animation: scrollhint 2s infinite; }
@keyframes scrollhint { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }

/* ---------- Sekcie ---------- */
.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.section-tight { padding: clamp(36px, 6vw, 64px) 0; }
.section-alt { background: var(--bg-alt); }
.section-alt::before, .section-alt::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }
.section-alt::before { top: 0; } .section-alt::after { bottom: 0; }
.section-dark { background: linear-gradient(160deg, #1b3327, #12221a); color: var(--green-ink); }
.section-dark h2, .section-dark h3, .section-dark strong { color: #fbf5e7; }
.section-dark .lead { color: rgba(245, 238, 223, .82); }
.section-dark .eyebrow { color: var(--gold-2); }
.section-dark a:not(.btn) { color: #e3c98c; }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); text-align: center; }
.section-head .lead { margin: 0 auto; }
.section-head.left { text-align: left; }
.section-head.left .lead { margin: 0; }
.page-hero { padding: clamp(56px, 8vw, 100px) 0 clamp(20px, 3vw, 36px); background: radial-gradient(80% 120% at 50% 0%, var(--gold-soft), transparent 70%); }

.two-col { display: grid; gap: clamp(32px, 6vw, 80px); }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1.15fr; align-items: start; } }
.three-col { display: grid; gap: 22px; margin-top: 44px; }
@media (min-width: 820px) { .three-col { grid-template-columns: repeat(3, 1fr); } }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.tag { display: inline-block; margin-top: .4rem; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold); border-radius: 999px; padding: 3px 10px; }

/* Čo dostanete */
.offer-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .offer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .offer-grid { grid-template-columns: repeat(4, 1fr); } }
.offer-card { position: relative; overflow: hidden; margin: 0; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.offer-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--gold-2), transparent); opacity: 0; transition: opacity .4s; }
.offer-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.offer-card:hover::before { opacity: 1; }
.card-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: var(--gold); background: var(--gold-soft); margin-bottom: 1.1rem; }
.offer-card h3 { font-size: 1.5rem; }
.offer-card p { color: var(--muted); font-size: .96rem; margin: 0; }

/* Postup */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; counter-reset: s; position: relative; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps::before { content: ""; position: absolute; top: 33px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .5; }
}
.step { position: relative; text-align: center; padding: 0 8px; }
.step-no { position: relative; display: grid; place-items: center; width: 66px; height: 66px; margin: 0 auto 1.1rem; border-radius: 50%; background: var(--paper); border: 1px solid var(--gold); font-family: var(--ff-serif); font-size: 1.5rem; color: var(--gold); box-shadow: 0 0 0 7px var(--bg-alt); }
.step h3 { font-size: 1.4rem; }
.step p { color: var(--muted); font-size: .95rem; }
.speed-box { margin-top: 48px; display: grid; gap: 24px 40px; padding: 30px 28px; background: var(--paper); border: 1px solid var(--gold); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
@media (min-width: 900px) { .speed-box { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); align-items: center; padding: 36px 40px; } }
.speed-stats { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.speed-stat { display: flex; flex-direction: column; gap: 4px; padding-left: 14px; border-left: 2px solid var(--gold); }
.speed-value { font-family: var(--ff-serif); font-size: clamp(1.7rem, 3.2vw, 2.2rem); line-height: 1.05; color: var(--gold); white-space: nowrap; }
.speed-label { font-size: .9rem; color: var(--muted); line-height: 1.4; }
.speed-text h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
.speed-text p:last-child { margin-bottom: 0; }

/* Diskrétnosť */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 640px) { .check-list { grid-template-columns: 1fr 1fr; } }
.check-list li { padding: 20px 20px 20px 54px; position: relative; border: 1px solid rgba(227, 201, 140, .18); border-radius: var(--radius); background: rgba(255, 255, 255, .025); }
.check-list li::before { content: ""; position: absolute; left: 20px; top: 24px; width: 18px; height: 10px; border-left: 1.6px solid #e3c98c; border-bottom: 1.6px solid #e3c98c; transform: rotate(-45deg); }
.check-list strong { display: block; font-family: var(--ff-serif); font-size: 1.25rem; font-weight: 600; margin-bottom: 4px; }
.check-list span { color: rgba(245, 238, 223, .75); font-size: .93rem; }
.seal { margin-top: 32px; color: #e3c98c; opacity: .8; width: 120px; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Presnosť */
.certainty { display: grid; gap: 14px; max-width: 980px; margin: 0 auto; }
@media (min-width: 760px) { .certainty { grid-template-columns: repeat(3, 1fr); } }
.cert { border-radius: var(--radius); padding: 22px; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--c); }
.cert-verified { --c: var(--ok); } .cert-probable { --c: var(--warn); } .cert-uncertain { --c: var(--bad); }
.cert-label { display: inline-block; font-weight: 600; letter-spacing: .16em; font-size: .76rem; color: var(--c); margin-bottom: .6rem; }
.cert p { margin: 0; color: var(--muted); font-size: .94rem; }
.feature h3 { font-size: 1.35rem; padding-top: 18px; border-top: 1px solid var(--line-strong); }
.feature p { color: var(--muted); font-size: .96rem; }
.sample-entry { max-width: 720px; margin: 48px auto 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 28px; box-shadow: var(--shadow); position: relative; }
.sample-entry::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--line); border-radius: 16px; pointer-events: none; }
.sample-entry figcaption { font-family: var(--ff-serif); font-style: italic; color: var(--gold); font-size: 1.15rem; margin-bottom: 10px; }
.sample-entry dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; }
.sample-entry dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); padding-top: 3px; }
.sample-entry dd { margin: 0; }
@media (max-width: 520px) { .sample-entry dl { grid-template-columns: 1fr; } .sample-entry dt { padding-top: 8px; } }
.pill { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .12em; padding: 4px 10px; border-radius: 999px; border: 1px solid currentColor; }
.pill-verified { color: var(--ok); } .pill-probable { color: var(--warn); } .pill-uncertain { color: var(--bad); }

/* Exkluzivita */
.plain-list { list-style: none; margin: 0 0 28px; padding: 0; }
.plain-list li { padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.plain-list strong { color: var(--ink); font-family: var(--ff-serif); font-size: 1.22rem; display: block; }
.quote { margin: 0; padding: 24px 0 0 28px; border-left: 2px solid var(--gold); }
.quote p { font-family: var(--ff-serif); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.35; color: var(--ink); }

/* Ukážky */
.samples { display: grid; gap: 22px; }
@media (min-width: 820px) { .samples { grid-template-columns: 1fr 1fr; } }
.sample { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.sample:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: var(--ink); }
.sample-visual { height: 250px; display: grid; place-items: center; background: radial-gradient(90% 90% at 50% 30%, #2d5341, #14261d); color: #e3c98c; position: relative; overflow: hidden; perspective: 1200px; }
.sample-body { padding: 26px 28px 30px; }
.sample-body h3 { font-size: 1.6rem; }
.sample-body p { color: var(--muted); }
.link-arrow { font-weight: 500; color: var(--gold); display: inline-flex; gap: .5em; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.sample:hover .link-arrow::after { transform: translateX(5px); }
.samples-note { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 26px; }
.mini-book { position: relative; width: 150px; height: 200px; transform-style: preserve-3d; transform: rotateY(-24deg) rotateX(6deg); transition: transform .8s var(--ease); }
.sample:hover .mini-book { transform: rotateY(-8deg) rotateX(2deg) translateY(-4px); }
.mb-cover { position: absolute; inset: 0; border-radius: 3px 8px 8px 3px; background: linear-gradient(135deg, #6e2633, #3d1219); box-shadow: inset 6px 0 10px -4px rgba(0, 0, 0, .55), 0 26px 40px -14px rgba(0, 0, 0, .7); display: grid; place-items: center; text-align: center; padding: 18px; z-index: 2; }
.mb-cover::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(227, 201, 140, .65); border-radius: 2px 5px 5px 2px; }
.mb-cover span { font-family: var(--ff-serif); color: #e9d39c; font-size: 1.05rem; line-height: 1.15; font-style: italic; }
.mb-pages { position: absolute; top: 5px; bottom: 5px; right: -9px; width: 12px; background: repeating-linear-gradient(90deg, #f4ecd8 0 1px, #d9caa6 1px 2px); border-radius: 0 3px 3px 0; z-index: 1; box-shadow: 4px 10px 18px -8px rgba(0,0,0,.6); }
.mini-tree { width: 82%; height: auto; }
.mini-tree .mt-node rect { fill: rgba(227, 201, 140, .14); stroke: #e3c98c; stroke-width: 1; }
.sample:hover .mt-node rect { animation: nodeglow 1.6s ease-in-out calc(var(--i) * .12s) infinite alternate; }
@keyframes nodeglow { to { fill: rgba(227, 201, 140, .4); } }

/* Balíčky */
.packages { display: grid; gap: 22px; align-items: stretch; }
@media (min-width: 920px) { .packages { grid-template-columns: repeat(3, 1fr); } }
.package { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 28px; box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.package:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.package.featured { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), var(--shadow); }
@media (min-width: 920px) { .package.featured { transform: scale(1.03); } .package.featured:hover { transform: scale(1.03) translateY(-4px); } }
.package-flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--gold); color: #1b1408; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.package h3 { font-size: 1.9rem; margin-bottom: .2em; }
.package-desc { color: var(--muted); font-size: .95rem; min-height: 3em; }
.price { font-family: var(--ff-serif); font-size: 2.4rem; color: var(--ink); margin: .2em 0 .6em; line-height: 1; }
.package .price { font-size: clamp(1.75rem, 2.6vw, 2.1rem); white-space: nowrap; }
.package ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.package li { padding: 9px 0 9px 26px; border-bottom: 1px dashed var(--line); position: relative; font-size: .95rem; }
.package li::before { content: ""; position: absolute; left: 3px; top: 16px; width: 7px; height: 7px; border: 1px solid var(--gold); transform: rotate(45deg); }
.price-note { text-align: center; margin: 32px auto 0; max-width: 46em; color: var(--ink-soft); font-size: .98rem; }
.price-note + .fine { text-align: center; margin-top: 8px; }
.package li.optional { color: var(--muted); font-style: italic; }
.package li.optional::before { background: transparent; border-style: dashed; }

/* Prečo Silný rod */
.why-brand { margin-top: 26px; padding: 18px 22px; border-left: 3px solid var(--gold); background: var(--paper); border-radius: 0 var(--radius) var(--radius) 0; }
.why-brand h3 { font-size: 1.3rem; margin: 0 0 .35em; }
.why-brand p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-family: var(--ff-serif); font-size: clamp(1.2rem, 2vw, 1.4rem); font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-a { color: var(--muted); padding: 0 0 18px; animation: fadein .4s var(--ease); }
@keyframes fadein { from { opacity: 0; transform: translateY(-4px); } }

/* Kontakt */
.cta-section { overflow: hidden; }
.cta-section::before { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%; background: radial-gradient(closest-side, rgba(227, 201, 140, .18), transparent); pointer-events: none; }
.contact-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 48px; margin-top: 36px; }
.contact-row a { display: flex; flex-direction: column; text-decoration: none; font-family: var(--ff-serif); font-size: 1.35rem; color: #fbf5e7 !important; }
.contact-row span { font-family: var(--ff-sans); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); }

/* ---------- Pätka ---------- */
.site-footer { background: #0e1914; color: rgba(245, 238, 223, .72); padding: 64px 0 28px; font-size: .93rem; }
.site-footer h3 { font-family: var(--ff-sans); font-size: .74rem; text-transform: uppercase; letter-spacing: .2em; color: var(--gold-2); margin-bottom: 1rem; }
.site-footer a { color: rgba(245, 238, 223, .86); text-decoration: none; }
.site-footer a:hover { color: #e3c98c; }
.site-footer .brand { color: #fbf5e7; margin-bottom: 14px; }
.footer-grid { display: grid; gap: 34px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand p { max-width: 30em; }
.footer-operator { margin-top: 40px; font-size: .8rem; color: rgba(245, 238, 223, .56); }
.footer-operator p { margin: 0 0 4px; max-width: 70em; }
.footer-operator + .footer-bottom { margin-top: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(245, 238, 223, .1); font-size: .82rem; }
.zone-footer { border-top: 1px solid var(--line); padding: 22px 0; font-size: .85rem; color: var(--muted); margin-top: 40px; }
.zone-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.zone-footer a { color: var(--muted); }

/* ---------- Formuláre ---------- */
.form .field { display: block; margin-bottom: 16px; }
.form .field > span:first-child, .field > span:first-child { display: block; font-size: .84rem; font-weight: 500; color: var(--ink-soft); margin-bottom: 6px; letter-spacing: .01em; }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="date"], input[type="url"], input[type="search"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 1px solid var(--line-strong);
  border-radius: 10px; padding: 11px 13px; transition: border-color .2s, box-shadow .2s, background .2s; min-height: 46px;
}
textarea { resize: vertical; min-height: 100px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); background: var(--paper); }
input[aria-invalid="true"] { border-color: var(--bad); }
.field-error { color: var(--bad); font-size: .85rem; margin: 6px 0 0; }
.hint { color: var(--muted); font-size: .92rem; }
.choices { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-bottom: 14px; }
.choice { display: inline-flex; align-items: flex-start; gap: 9px; cursor: pointer; font-size: .95rem; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); transition: border-color .2s, background .2s; line-height: 1.4; }
.choice:hover { border-color: var(--gold); }
.choice input { accent-color: var(--gold); margin: 3px 0 0; flex: none; width: 16px; height: 16px; }
.choice:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); }
.choice-card { border-radius: var(--radius); padding: 14px 18px; flex: 1 1 180px; }
.consent .choice, .form > .choice, .card .choice { border-radius: var(--radius); }
.choice + .btn, .choice + p > .btn { margin-top: 10px; }
.grid-2, .grid-3 { display: grid; gap: 0 18px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.fs { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); padding: clamp(20px, 3vw, 30px); margin: 0 0 22px; box-shadow: var(--shadow-sm); min-width: 0; }
.fs legend { font-family: var(--ff-serif); font-size: 1.45rem; font-weight: 600; padding: 0 10px; display: flex; align-items: center; gap: 12px; margin-left: -10px; }
.fs legend span { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font-size: 1.05rem; }
.person { border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 16px 16px 8px; margin-bottom: 14px; position: relative; animation: fadein .35s var(--ease); }
.remove-person { font-size: .85rem; margin-bottom: 8px; }
.persons .person:only-child .remove-person { display: none; }
.dropzone { display: block; position: relative; border: 1.5px dashed var(--line-strong); border-radius: var(--radius); padding: 26px 18px; text-align: center; cursor: pointer; background: var(--bg); transition: border-color .2s, background .2s; }
.dropzone:hover, .dropzone.drag { border-color: var(--gold); background: var(--gold-soft); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dz-text { display: block; font-weight: 500; }
.dz-hint { display: block; font-size: .85rem; color: var(--muted); }
.dz-list { list-style: none; margin: 10px 0 0; padding: 0; font-size: .88rem; text-align: left; }
.dz-list li { padding: 4px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; }
.dz-list li.bad { color: var(--bad); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { margin: 8px 0 20px; }
.form-actions { text-align: center; margin-top: 26px; }
.thanks { text-align: center; padding: 48px 28px; }
.thanks-mark { color: var(--gold); margin-bottom: 14px; }

/* ---------- Hlásenia ---------- */
.flashes { position: fixed; top: 78px; left: 50%; transform: translateX(-50%); z-index: 60; width: min(560px, calc(100% - 32px)); display: grid; gap: 8px; animation: fadein .4s var(--ease); }
.flash { padding: 13px 18px; border-radius: 12px; font-size: .94rem; border: 1px solid; margin-bottom: 14px; background: var(--paper); }
.flashes .flash { margin: 0; box-shadow: var(--shadow); }
.flash-ok { border-color: var(--ok); color: var(--ok); }
.flash-error { border-color: var(--bad); color: var(--bad); }
.flash-info { border-color: var(--line-strong); color: var(--ink-soft); background: var(--gold-soft); }
.flash a { color: inherit; font-weight: 600; }

/* ---------- Text (právne stránky) ---------- */
.prose h2 { font-size: 1.6rem; margin-top: 2em; }
.prose p { color: var(--ink-soft); }
.prose h2[id] { scroll-margin-top: 90px; }
.legal-annex { margin-top: 2.5em; padding: 4px 24px 12px; border: 1px dashed var(--line-strong); border-radius: 14px; background: var(--paper); }
.legal-annex h2 { margin-top: 1em; font-size: 1.4rem; }
.legal-annex p { overflow-wrap: anywhere; }
.table-wrap { overflow-x: auto; margin: 1.2em 0 1.6em; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.legal-table th { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; border-bottom-color: var(--line-strong); }
.legal-table code { white-space: nowrap; }
@media (max-width: 640px) {
  .legal-table thead { display: none; }
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table td { display: block; width: 100%; }
  .legal-table tr { border: 1px solid var(--line); border-radius: 12px; padding: 6px 4px; margin-bottom: 12px; background: var(--paper); }
  .legal-table td { border: 0; padding: 6px 12px; }
  .legal-table td::before { content: attr(data-label); display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
}

/* ---------- Brána dema, prihlásenie ---------- */
.gate, .login-card { max-width: 440px; margin: 0 auto; }
.gate-lock, .login-mark { color: var(--gold); text-align: center; margin-bottom: 10px; }
.login-section { min-height: calc(100vh - 220px); display: flex; align-items: center; }
.zone-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); padding: 8px 0; }
.zone-header .brand { font-size: 1.25rem; }
.zone-badge { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.zone-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-left: auto; font-size: .9rem; }
.zone-nav a, .zone-nav .link-btn { color: var(--ink-soft); text-decoration: none; }
.zone-nav a:hover, .zone-nav .link-btn:hover { color: var(--gold); }
body.zone-client main, body.zone-admin main, body.zone-demo main { padding-top: 0; }
@media (max-width: 760px) {
  .zone-header .header-inner { flex-wrap: wrap; gap: 8px 12px; }
  .zone-nav { order: 5; width: 100%; margin-left: 0; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; white-space: nowrap; }
  .zone-header .header-tools { margin-left: auto; }
}

/* ---------- Animácie pri scrollovaní ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 110ms); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Listovateľná kniha ---------- */
body.page-flipbook { background: radial-gradient(120% 100% at 50% 0%, #26392f 0%, #121c17 60%, #0b120e 100%); color: #f1e9d8; min-height: 100vh; }
body.page-flipbook .zone-header { background: rgba(10, 16, 13, .6); border-color: rgba(255, 255, 255, .06); color: #f1e9d8; }
body.page-flipbook .zone-header a, body.page-flipbook .zone-header .link-btn { color: rgba(241, 233, 216, .8); }
body.page-flipbook { height: 100vh; height: 100svh; display: flex; flex-direction: column; overflow: hidden; }
body.page-flipbook main { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.fb { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 10px 0 12px; position: relative; }
.fb:fullscreen, .fb.fb-fs-fallback { background: radial-gradient(120% 100% at 50% 0%, #26392f 0%, #121c17 60%, #0b120e 100%); height: 100vh; padding: 10px 0; }
.fb.fb-fs-fallback { position: fixed; inset: 0; z-index: 900; height: 100dvh; }
.fb-fs-lock, .fb-fs-lock body { overflow: hidden; }
.fb-toolbar { display: flex; align-items: center; gap: 12px; padding: 4px 16px 8px; max-width: 1500px; width: 100%; margin: 0 auto; }
.fb-back { color: rgba(241, 233, 216, .78); text-decoration: none; font-size: .9rem; white-space: nowrap; }
.fb-back:hover { color: #e3c98c; }
.fb-title { flex: 1; text-align: center; font-size: clamp(1.05rem, 2.4vw, 1.5rem); margin: 0; color: #f6edd8; font-weight: 500; font-style: italic; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fb-tools { display: flex; align-items: center; gap: 4px; }
.fb-count { font-size: .82rem; color: rgba(241, 233, 216, .7); margin-right: 6px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fb-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(227, 201, 140, .25); background: rgba(255, 255, 255, .04); color: #f1e9d8; cursor: pointer; font-size: 1.3rem; line-height: 1; text-decoration: none; transition: background .2s, border-color .2s; }
.fb-btn:hover { background: rgba(227, 201, 140, .15); border-color: rgba(227, 201, 140, .6); color: #fff; }
.fb-stage { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 8px; min-height: 0; position: relative; }
.fb-book-wrap { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; min-width: 0; height: 100%; }
.fb-book { width: 100%; margin: 0 auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }
.fb-book.ready { animation: bookin 1s var(--ease); }
@keyframes bookin { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.fb-page { background: #fbf7ee; overflow: hidden; }
.fb-page img { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; opacity: 0; transition: opacity .4s; }
.fb-page img.loaded { opacity: 1; }
.fb-page .shade { position: absolute; inset: 0; pointer-events: none; }
.fb-page.--left .shade { background: linear-gradient(to left, rgba(0, 0, 0, .22) 0%, rgba(0, 0, 0, .06) 4%, transparent 12%), linear-gradient(to right, rgba(255, 255, 255, .06), transparent 30%); }
.fb-page.--right .shade { background: linear-gradient(to right, rgba(0, 0, 0, .22) 0%, rgba(0, 0, 0, .06) 4%, transparent 12%), linear-gradient(to left, rgba(255, 255, 255, .06), transparent 30%); }
.fb-page[data-density="hard"] { background: #3d1219; }
.fb-page[data-density="hard"] .shade { background: linear-gradient(to right, rgba(255, 255, 255, .08), transparent 8%, transparent 92%, rgba(0, 0, 0, .25)); }
.fb-page .ph { position: absolute; inset: 0; display: grid; place-items: center; color: #b9ad94; font-family: var(--ff-serif); font-size: 1.1rem; background: repeating-linear-gradient(0deg, #fbf7ee 0 24px, #f5efe2 24px 25px); }
.fb-page img.loaded + .ph { display: none; }
.fb-nav { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(227, 201, 140, .3); background: rgba(255, 255, 255, .04); color: #f1e9d8; display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .2s, opacity .2s; z-index: 3; }
.fb-nav:hover { background: rgba(227, 201, 140, .18); transform: scale(1.06); }
.fb-nav[disabled] { opacity: .25; cursor: default; transform: none; }
.fb-loader { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: rgba(241, 233, 216, .7); font-size: .9rem; pointer-events: none; transition: opacity .5s; }
.fb-loader span { width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(227, 201, 140, .25); border-top-color: #e3c98c; animation: spin 1s linear infinite; }
.fb-loader.hide { opacity: 0; }
.fb-bottom { max-width: 760px; width: 100%; margin: 6px auto 0; padding: 0 16px; text-align: center; }
.fb-range { width: 100%; accent-color: #c8a55e; }
.fb-hint { font-size: .78rem; color: rgba(241, 233, 216, .5); margin: 4px 0 0; }
.fb-thumbs { position: fixed; inset: 0 0 0 auto; width: min(420px, 100%); background: rgba(12, 19, 15, .97); border-left: 1px solid rgba(227, 201, 140, .2); z-index: 80; display: flex; flex-direction: column; box-shadow: -30px 0 60px -20px rgba(0, 0, 0, .7); animation: slidein .35s var(--ease); }
.fb-thumbs[hidden], .fb-zoom[hidden] { display: none; }
@keyframes slidein { from { transform: translateX(40px); opacity: 0; } }
.fb-thumbs-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.fb-thumbs-grid { flex: 1; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 14px 12px; padding: 16px; align-content: start; }
.fb-thumb { background: none; border: 0; padding: 0; cursor: pointer; color: rgba(241, 233, 216, .65); font-size: .74rem; text-align: center; }
.fb-thumb img { display: block; width: 100%; aspect-ratio: var(--ar, .707); object-fit: cover; background: #f5efe2; border-radius: 3px; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .7); outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .2s, transform .2s; }
.fb-thumb:hover img { transform: translateY(-2px); }
.fb-thumb.on img { outline-color: #c8a55e; }
.fb-zoom { position: fixed; inset: 0; z-index: 90; background: rgba(8, 12, 10, .96); display: flex; flex-direction: column; animation: fadein .25s; }
.fb-zoom-bar { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 10px 14px; }
.fb-zoom-bar span { margin-right: auto; font-size: .85rem; color: rgba(241, 233, 216, .7); }
.fb-zoom-scroll { flex: 1; overflow: auto; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y pinch-zoom; cursor: zoom-in; }
.fb-zoom-scroll.z2 { cursor: zoom-out; }
.fb-zoom-inner { display: flex; justify-content: center; gap: 4px; padding: 0 10px 20px; min-width: min-content; margin: 0 auto; }
.fb-zoom-inner img { display: block; height: calc(100vh - 90px); width: auto; max-width: none; background: #fbf7ee; box-shadow: 0 20px 50px -20px #000; }
.fb-zoom-scroll.z2 .fb-zoom-inner img { height: calc((100vh - 90px) * 2.1); }
@media (max-width: 700px) {
  .fb-zoom-inner img { height: auto; width: calc(100vw - 20px); }
  .fb-zoom-scroll.z2 .fb-zoom-inner img { width: calc((100vw - 20px) * 2.2); height: auto; }
  .fb-nav { position: absolute; bottom: -4px; width: 44px; height: 44px; background: rgba(12, 19, 15, .7); }
  .fb-prev { left: 12px; } .fb-next { right: 12px; }
  .fb-stage { padding: 0 6px 52px; }
  .fb-back span { display: none; }
  .fb-count { display: none; }
  .fb-hint { display: none; }
}
.fb-fallback { display: grid; gap: 14px; max-width: 760px; margin: 0 auto; padding: 0 16px; }
.fb-fallback img { width: 100%; height: auto; display: block; box-shadow: 0 16px 30px -16px #000; }

/* Hlavička – úzke obrazovky (doladenie) */
.nav-toggle { flex: none; }
@media (max-width: 1200px) {
  .header-tools { order: 2; margin-left: auto; }
  .nav-toggle { order: 3; margin-left: 0; }
}
@media (max-width: 420px) {
  .header-inner { gap: 8px; }
  .brand { gap: 6px; }
  .theme-toggle { width: 32px; height: 32px; }
  .nav-toggle { width: 38px; }
  .nav-toggle span:not(.sr) { left: 9px; right: 9px; }
}
.persons + .btn { margin-bottom: 20px; }

/* Informačná lišta o cookies */
.cookie-bar {
  position: fixed; left: var(--gutter); right: var(--gutter); bottom: var(--gutter); z-index: 90;
  max-width: 760px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
  padding: 14px 18px; background: var(--paper); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: var(--shadow);
}
.cookie-bar[hidden] { display: none; }
.cookie-bar-text { margin: 0; flex: 1 1 260px; font-size: .9rem; line-height: 1.5; color: var(--ink-soft); }
.cookie-bar-text a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.cookie-bar .btn { flex: 0 0 auto; }
@media (max-width: 480px) { .cookie-bar .btn { width: 100%; } }
@media print { .cookie-bar { display: none !important; } }
