/* Prezentačný web Donea (statický, návrh A „Světlo“). Písma sú uložené tu, nič sa nenačítava z Googlu. */

@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url(/web/fonts/barlow-condensed-800-latin-ext.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: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url(/web/fonts/barlow-condensed-800-latin.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; }
/* Source Sans 3 je premenlivé písmo (os wght) – jeden súbor na sadu znakov pre všetky hrúbky */
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/web/fonts/source-sans-3-latin-ext.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: "Source Sans 3"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/web/fonts/source-sans-3-latin.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; }

:root {
  --navy-900: #101846;
  --navy-700: #16205a;
  --navy-600: #1f2c6c;
  --navy-100: #d9def2;
  --navy-50: #eef0f9;
  --gold-500: #e8a72a;
  --gold-300: #f2c76a;
  --gold-100: #fbefd3;
  --gold-900: #6e4a05;
  --gold-text: #8a5a08;
  --paper: #f6f4ee;
  --ink: #1b1f2e;
  --ink-2: #4a506a;
  --ink-3: #6b7088;
  --line: #dcd9cf;
  --line-soft: #eceae3;
  --line-strong: #b9b5a8;
  --ok: #2e7d4f;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; }
img { max-width: 100%; }
a { color: var(--navy-600); }
a:hover { color: var(--navy-900); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; color: var(--navy-700); text-wrap: balance; margin: 0; }
p { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow { font-weight: 700; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-text); }
.lead { font-size: 19px; color: var(--ink-2); max-width: 40em; }
.muted { color: var(--ink-2); }
.h2 { font-size: clamp(36px, 4.5vw, 56px); line-height: 1; }
.h3 { font-size: 38px; line-height: 1.05; }
.stack { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 12px; font-weight: 700; font-size: 18px; text-decoration: none; }
.btn-navy { background: var(--navy-600); color: #fff; }
.btn-navy:hover { background: var(--navy-900); color: #fff; }
.btn-outline { border: 1.5px solid var(--line-strong); color: var(--navy-600); }
.btn-outline:hover { background: var(--navy-50); }
.btn-gold { background: var(--gold-500); color: var(--navy-900); }
.btn-gold:hover { background: var(--gold-300); color: var(--navy-900); }
.btn-sm { min-height: 44px; padding: 0 20px; border-radius: 10px; font-size: 16px; }

/* --- hlavička --- */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(1.4) blur(8px); -webkit-backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line-soft); }
.site-header .wrap { display: flex; align-items: center; gap: 12px 28px; padding-block: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-700); }
.brand img { width: 34px; height: 34px; }
.brand span { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: 0.08em; }
.nav { display: flex; gap: 4px 22px; font-weight: 600; font-size: 16px; flex-grow: 1; }
.nav a { text-decoration: none; }
.header-phone { font-weight: 600; text-decoration: none; color: var(--ink-2); font-size: 15px; white-space: nowrap; }
.header-login { font-weight: 600; text-decoration: none; color: var(--ink-2); font-size: 15px; }
.menu { display: none; position: relative; margin-left: auto; }
.menu summary { list-style: none; cursor: pointer; min-height: 44px; min-width: 44px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 10px; font-weight: 700; padding: 0 12px; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 40px -20px rgba(16, 24, 70, 0.35); padding: 8px; display: flex; flex-direction: column; min-width: 220px; }
.menu-panel a { padding: 12px 14px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.menu-panel a:hover { background: var(--navy-50); }
@media (max-width: 960px) {
  .nav, .header-phone, .header-login { display: none; }
  .menu { display: block; }
}
@media (max-width: 420px) {
  .site-header .btn-gold { display: none; }
}

/* --- úvod --- */
.hero { background: linear-gradient(180deg, var(--paper) 0%, #fff 100%); }
.hero .wrap { padding-block: clamp(40px, 7vw, 88px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 48px; align-items: center; }
.hero-text { display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-size: clamp(44px, 6vw, 76px); line-height: 0.98; }
/* všetky slová na jednom mieste nad sebou – výška aj šírka podľa najdlhšieho, text pod nimi neskáče */
.rotator { display: grid; color: var(--gold-text); }
/* písací stroj: všetky slová ležia neviditeľne na jednom mieste (výška podľa najdlhšieho, text pod nimi neskáče),
   skript nad nimi píše a maže jedno slovo */
.rotator > span { grid-area: 1 / 1; visibility: hidden; }
.rotator > span.on { visibility: visible; }
.rotator.typing > span { visibility: hidden; }
.rotator.typing > span.typed { visibility: visible; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero-lead { font-size: 20px; color: var(--ink-2); max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; color: var(--ink-2); padding: 0; margin: 0; list-style: none; }
.facts li::before { content: "✓ "; color: var(--ok); font-weight: 700; }
.hero-photo { position: relative; justify-self: center; width: 100%; max-width: 460px; margin: 0; }
.frame { overflow: hidden; border-radius: 28px; box-shadow: 0 30px 60px -30px rgba(16, 24, 70, 0.45); }
.frame img { transform: scale(1.18); will-change: transform; }
.frame-place { border-radius: 16px; box-shadow: none; }
[data-drift] { will-change: transform; }
.hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 652 / 868; object-fit: cover; }
.hero-photo figcaption { position: absolute; right: 16px; top: 16px; background: rgba(16, 24, 70, 0.72); color: #fff; font-size: 13px; padding: 4px 10px; border-radius: 99px; }
.toast { position: absolute; left: -18px; bottom: -26px; max-width: 290px; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: 0 16px 40px -16px rgba(16, 24, 70, 0.35); display: flex; gap: 12px; align-items: center; }
.toast img { width: 36px; height: 36px; flex-shrink: 0; }
.toast b { display: block; font-size: 15px; color: var(--navy-700); line-height: 1.25; }
.toast span { display: block; font-size: 13px; color: var(--ink-2); line-height: 1.25; }
@media (max-width: 560px) { .toast { left: 12px; right: 12px; max-width: none; bottom: -28px; } }

/* --- čísla --- */
.stats { background: var(--navy-700); color: #fff; }
.stats .wrap { padding-block: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 28px; margin-top: 0; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat b { font-family: var(--display); font-weight: 800; font-size: 52px; line-height: 1; color: var(--gold-300); }
.stat span { color: var(--navy-100); }

/* --- funkcie --- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-top { padding-top: clamp(56px, 8vw, 104px); }
.feature { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: center; padding-top: 72px; }
.feature:first-of-type { padding-top: 56px; }
.feature-text { display: flex; flex-direction: column; gap: 16px; }
.shot { margin: 0; justify-self: center; display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 100%; }
.shot figcaption { font-size: 13px; color: var(--ink-3); text-align: center; }
.shot-wide { justify-self: center; width: min(440px, 100%); }
.shot-wide > div { width: 100%; }

/* obrazovka terminálu – paleta Mariánská modř */
.term { width: 324px; max-width: 100%; background: #0b0d14; border-radius: 30px; padding: 12px; box-shadow: 0 30px 60px -30px rgba(16, 24, 70, 0.5); }
.term-screen { background: #e7f0fa; color: #16294a; border-radius: 20px; padding: 22px 16px 14px; display: flex; flex-direction: column; gap: 10px; }
.term-title { text-align: center; font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 0.95; letter-spacing: 0.03em; color: #2556a3; }
.term-sub { text-align: center; font-weight: 600; font-size: 14px; }
.term-purposes { display: flex; gap: 6px; }
.term-purposes span { flex: 1; text-align: center; border-radius: 10px; padding: 5px 4px; font-weight: 700; font-size: 13px; border: 2px solid rgba(22, 41, 74, 0.35); }
.term-purposes .on { background: #16294a; color: #e7f0fa; border-color: #16294a; }
.term-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.tile { background: #2556a3; color: #fff; border-radius: 9px; padding: 10px 6px; text-align: center; }
.tile b { display: block; font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1; }
.tile span { display: block; font-weight: 700; font-size: 13px; margin-top: 3px; line-height: 1.2; }
.tile-other { border: 2px dashed #2556a3; color: #2556a3; border-radius: 9px; text-align: center; padding: 8px; font-weight: 600; font-size: 15px; }
.collected { display: flex; flex-direction: column; gap: 3px; padding: 2px 4px 0; }
.collected-row { display: flex; justify-content: space-between; font-size: 12px; opacity: 0.8; }
.collected-sum { font-family: var(--display); font-weight: 800; font-size: 20px; color: #2556a3; line-height: 1; }
.collected-sum small { font-size: 13px; color: #16294a; font-weight: 600; font-family: var(--body); }
.bar { height: 6px; border-radius: 99px; background: rgba(22, 41, 74, 0.15); }
.bar i { display: block; width: 41%; height: 6px; border-radius: 99px; background: #2556a3; }
.term-foot { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.langs { display: flex; gap: 5px; }
.langs span { border-radius: 6px; padding: 2px 6px; border: 1px solid rgba(22, 41, 74, 0.35); font-weight: 700; }
.langs .on { background: #2556a3; color: #fff; border-color: #2556a3; }

/* telefón so stránkou darcu */
.phone { width: 280px; max-width: 100%; background: #0b0d14; border-radius: 40px; padding: 11px; box-shadow: 0 30px 60px -30px rgba(16, 24, 70, 0.5); }
.phone-screen { background: var(--paper); border-radius: 30px; padding: 22px 18px 24px; display: flex; flex-direction: column; gap: 14px; min-height: 520px; }
.mini-brand { display: flex; align-items: center; gap: 7px; font-family: var(--display); font-weight: 800; letter-spacing: 0.08em; color: var(--navy-700); }
.mini-brand img { width: 22px; height: 22px; }
.thanks { display: grid; justify-items: center; gap: 6px; padding-top: 10px; text-align: center; }
.thanks b { color: var(--navy-700); }
.thanks .amount { font-family: var(--display); font-weight: 800; font-size: 46px; line-height: 1; color: var(--navy-600); }
.thanks span { font-size: 13px; color: var(--ink-2); }
.fake-label { font-size: 12px; font-weight: 700; color: var(--ink-2); }
.fake-input { font-size: 14px; padding: 9px 10px; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--ink); background: #fff; }
.fake-ph { color: var(--ink-3); }
.fake-button { display: grid; place-items: center; font-weight: 700; font-size: 15px; min-height: 44px; border-radius: 10px; background: var(--navy-600); color: #fff; }
.note-gold { background: var(--gold-100); border-radius: 10px; padding: 10px 12px; font-size: 13px; color: var(--gold-900); }

/* prehľad farnosti */
.panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 50px -30px rgba(16, 24, 70, 0.35); overflow: hidden; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 16px; background: var(--navy-900); color: #fff; }
.panel-head .mini-brand { color: #fff; }
.panel-head span { font-size: 14px; color: var(--navy-100); }
.panel-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kpi { background: var(--paper); border-radius: 10px; padding: 8px 10px; }
.kpi small { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-2); }
.kpi b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(17px, 5vw, 22px); color: var(--navy-700); line-height: 1.1; }
.kpi span { font-size: 13px; color: var(--ink-2); }
.kpi .up { color: var(--ok); font-weight: 600; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 72px; padding: 0 4px; border-bottom: 1px solid var(--line); }
.bars i { flex: 1; max-width: 30px; margin: 0 auto; background: var(--gold-500); border-radius: 4px 4px 0 0; }
.bar-days { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); margin-top: -6px; padding: 0 8px; }
.announce { border: 1px solid var(--gold-300); background: var(--gold-100); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.announce small { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold-900); }
.fake-chip { align-self: flex-start; font-size: 14px; font-weight: 700; padding: 6px 14px; border-radius: 8px; border: 1px solid var(--line-strong); background: #fff; color: var(--navy-600); }

/* menšie karty */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 20px; padding-top: clamp(64px, 8vw, 104px); }
.card { background: var(--paper); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-size: 28px; line-height: 1.1; }
.card p { color: var(--ink-2); }
.card svg { width: 34px; height: 34px; }
.swatches { display: flex; gap: 6px; }
.swatches span { width: 30px; height: 30px; border-radius: 8px; border: 6px solid; }

/* postup */
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; }
.steps li { border-top: 4px solid var(--gold-500); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.steps .n { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--gold-text); }
.steps b { font-size: 20px; color: var(--navy-700); }
.steps span { color: var(--ink-2); }
.place { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 28px; align-items: center; background: var(--navy-50); border-radius: 24px; padding: clamp(20px, 3vw, 36px); margin-top: 36px; }
.place img { display: block; width: 100%; height: auto; aspect-ratio: 800 / 520; object-fit: cover; }
.place dl { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.place dt { font-weight: 700; }
.place dd { margin: 2px 0 0; color: var(--ink-2); }

/* cenník */
.pricing { background: var(--paper); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; margin-top: 32px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.plan h3 { font-family: var(--body); font-weight: 700; font-size: 18px; }
.plan .price { font-family: var(--display); font-weight: 800; font-size: 54px; line-height: 1; color: var(--navy-700); }
.plan .per { color: var(--ink-2); }
.plan .setup { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line-soft); color: var(--ink-2); }
.plan .setup b { color: var(--ink); }
.plan-featured { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }
.plan-featured h3 { color: #fff; }
.plan-featured .price { color: var(--gold-300); }
.plan-featured .per, .plan-featured .setup { color: var(--navy-100); border-color: rgba(255, 255, 255, 0.18); }
.plan-featured .setup b { color: #fff; }
.extras { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; margin-top: 20px; }
.extra { background: #fff; border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.extra h3 { font-family: var(--body); font-weight: 700; font-size: 18px; }
.extra .price { font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1; color: var(--navy-700); }
.payments { margin-top: 20px; background: var(--navy-700); color: var(--navy-100); border-radius: 20px; padding: 24px 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.payments h3 { font-family: var(--body); font-weight: 700; font-size: 18px; color: #fff; }
.payments p { margin: 4px 0 0; }
.payments b { color: var(--gold-300); }
.payments-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.payments-sep { width: 1px; height: 24px; background: rgba(255, 255, 255, 0.25); }

/* referencie */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; margin-top: 32px; }
.quote { margin: 0; border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.quote blockquote { margin: 0; font-size: 19px; line-height: 1.5; }
.quote figcaption { display: flex; gap: 14px; align-items: center; }
.quote img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.quote figcaption b { display: block; color: var(--navy-700); }
.quote figcaption span { display: block; color: var(--ink-2); font-size: 15px; }

/* záujem */
.interest { background: var(--navy-700); color: #fff; }
.interest .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: center; }
.interest h2 { color: #fff; }
.interest p { font-size: 19px; color: var(--navy-100); }
.contact { display: flex; flex-direction: column; gap: 6px; font-size: 18px; }
.contact a { color: #fff; font-weight: 700; text-decoration: none; }
.contact a:hover { color: var(--gold-300); }
.lead-frame { display: block; width: 100%; height: 480px; border: 0; border-radius: 16px; background: transparent; color-scheme: light; }

/* o nás */
.about .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 36px; align-items: start; }
.about h2 { font-size: 40px; line-height: 1.05; }
.about p { color: var(--ink-2); font-size: 18px; }

/* pätička */
.site-footer { background: var(--navy-900); color: var(--navy-100); font-size: 15px; }
.site-footer a { color: var(--navy-100); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { padding-block: 44px 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 28px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 4px; }
.footer-grid b { color: #fff; }
.site-footer .brand { color: #fff; }
.site-footer .brand img { width: 32px; height: 32px; }
.site-footer .brand span { font-size: 22px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.footer-bottom .wrap { padding-block: 16px 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 14px; color: #aeb5d6; }
.made-with { display: inline-flex; align-items: center; gap: 5px; color: #aeb5d6 !important; }
.made-with svg { width: 14px; height: 14px; transform: translateY(-1px); }
.made-with:hover { color: #fff !important; }

/* postupné zjavovanie pri posúvaní – trieda reveal-on až zo skriptu, bez neho je všetko vidieť */
.reveal-on :is(.stats .stat, #funkce .stack, .device-head, .co, .device-box, .feature-text, .shot, .card, .steps li, .place, #cenik .stack, .plan, .extra, .payments, #reference .stack, .quote, .interest .stack, .lead-frame, .about .stack, .about-text) { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal-on :is(.stats .stat, #funkce .stack, .device-head, .co, .device-box, .feature-text, .shot, .card, .steps li, .place, #cenik .stack, .plan, .extra, .payments, #reference .stack, .quote, .interest .stack, .lead-frame, .about .stack, .about-text).in { opacity: 1; transform: none; }

/* terminál: nákres MobiWire WM26 s popiskami vľavo a vpravo */
.device-sec { padding-top: 56px; display: grid; gap: 28px; }
.device-head { display: flex; flex-direction: column; gap: 12px; max-width: 44em; }
.callouts { display: grid; grid-template-columns: 1fr minmax(240px, 300px) 1fr; gap: 32px; align-items: center; }
.co-col { display: grid; gap: 36px; }
.co-left { text-align: right; align-self: stretch; align-content: start; padding-top: 12%; gap: 0; grid-template-rows: auto 1fr; }
/* „Přiložte sem“ hore pri symbole NFC, displej v strede výšky */
.co-left .co + .co { align-self: center; }
.co b { display: block; color: var(--navy-700); font-size: 19px; }
.co span { display: block; color: var(--ink-2); font-size: 15px; }
.co small { display: block; color: var(--ink-3); font-size: 13px; margin-top: 2px; }
.device { display: block; width: 100%; height: auto; filter: drop-shadow(0 24px 30px rgba(16, 24, 70, 0.22)); }
@media (max-width: 820px) {
  .callouts { grid-template-columns: 1fr; }
  .co-left { text-align: left; padding-top: 0; gap: 36px; }
  .co-left .co + .co { align-self: auto; }
  .device-box { order: -1; justify-self: center; width: min(280px, 100%); }
}

/* obchodné podmienky a zásady – plávajúce okno */
dialog.legal { width: min(760px, calc(100vw - 32px)); max-height: min(86dvh, 900px); padding: 0; border: 0; border-radius: 20px; background: #fff; color: var(--ink); box-shadow: 0 30px 80px -20px rgba(16, 24, 70, 0.5); overflow: hidden; }
dialog.legal[open] { display: flex; flex-direction: column; }
dialog.legal:focus, dialog.legal:focus-visible { outline: none; }
dialog.legal::backdrop { background: rgba(16, 24, 70, 0.55); backdrop-filter: blur(3px); }
.legal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px 16px; border-bottom: 1px solid var(--line-soft); }
.legal-head h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1.1; color: var(--navy-700); }
.legal-x { flex-shrink: 0; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink-2); font-size: 26px; line-height: 1; cursor: pointer; }
.legal-x:hover { background: var(--paper); color: var(--ink); }
.legal-body { overflow-y: auto; overscroll-behavior: contain; padding: 8px 24px 28px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.legal-body h3 { margin: 26px 0 8px; font-family: var(--body); font-size: 17px; font-weight: 700; color: var(--ink); text-wrap: balance; }
.legal-body h3 span { display: block; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-text); }
.legal-body p { margin: 0 0 10px; }
.legal-body .n { font-weight: 700; color: var(--ink); margin-right: 4px; }
.legal-body ol, .legal-body ul { margin: 0 0 10px; padding-left: 24px; }
.legal-body li { margin: 4px 0; }
.legal-body > p:last-child { margin-top: 22px; font-size: 14px; color: var(--ink-3); }
@media (max-width: 560px) { .legal-head { padding: 16px 16px 12px; } .legal-head h2 { font-size: 24px; } .legal-body { padding: 4px 16px 22px; } }
.extra .discount { align-self: flex-start; margin: 0; padding: 6px 12px; border-radius: 10px; background: var(--gold-100); color: var(--gold-900); font-size: 15px; line-height: 1.4; }
.extra .discount b { color: var(--gold-900); }
.about-text { display: grid; gap: 28px; }
.about-text > p { margin: 0; }
.projects h3 { margin: 0 0 12px; font-family: var(--body); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-text); }
.projects ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 10px; }
.projects a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); background: #fff; transition: border-color 0.2s, background 0.2s; }
.projects a:hover { border-color: var(--line-strong); background: var(--paper); color: var(--ink); }
.projects img { width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; object-fit: contain; }
.projects b { display: block; font-size: 16px; line-height: 1.2; }
.projects small { display: block; font-size: 13px; color: var(--ink-3); }
@media (max-width: 560px) { .payments-sep { display: none; } }

/* cenník: prepínač bez DPH / s DPH */
.vat { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.vat-toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--line); position: relative; }
.vat-toggle button { appearance: none; border: 0; background: transparent; font: inherit; font-weight: 700; font-size: 15px; color: var(--ink-2); padding: 7px 18px; border-radius: 999px; cursor: pointer; position: relative; z-index: 1; transition: color 0.25s; }
.vat-toggle button[aria-pressed="true"] { color: #fff; }
.vat-toggle button:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 2px; }
.vat-toggle .pill { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 999px; background: var(--navy-700); transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), width 0.3s; }
.vat-hint { font-size: 15px; color: var(--ink-3); }
#cenik .price { font-variant-numeric: tabular-nums; transition: opacity 0.18s; }
#cenik .price.swap, #cenik .discount b.swap { opacity: 0; }
.vat-toggle[hidden] { display: none; }

/* cenník: rozbaľovací blok „Zvýhodněné podmínky pro církve“ */
.church { background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.church summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 20px 28px; font-weight: 700; font-size: 18px; color: var(--navy-700); }
.church summary::-webkit-details-marker { display: none; }
.church summary > span { flex: 1; }
.church summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2.5px solid var(--gold-text); border-bottom: 2.5px solid var(--gold-text); transform: translateY(-3px) rotate(45deg); transition: transform 0.25s; }
.church[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.church-body { padding: 0 28px 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; max-width: 760px; color: var(--ink-2); }
.church-body p { margin: 0; }
.church-body .btn { margin-top: 8px; }
.pricing-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; }
.pricing-head .church { flex: 0 1 460px; }
.church-icon { flex: none; width: 34px; height: 34px; padding: 6px; border-radius: 10px; background: var(--gold-100); color: var(--gold-text); }
/* na širšej obrazovke sa text rozbalí ako panel cez cenník, nadpis vľavo neposkočí */
@media (min-width: 900px) {
  .pricing-head { align-items: center; }
  .pricing-head .church { position: relative; z-index: 5; }
  .pricing-head .church[open] { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom-color: transparent; }
  .pricing-head .church-body { position: absolute; top: 100%; left: -1px; right: -1px; background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 20px 20px; box-shadow: 0 18px 40px rgba(16, 24, 70, 0.14); clip-path: inset(0 -60px -60px -60px); }
}
#cenik [data-net] { white-space: nowrap; }
