/* ============================================================
   PODNIKEJSMART.CZ v2 — prototyp konverzného webu
   Tokeny prevzaté zo smart-redesign; register otočený na svetlý,
   tmavé sú len hero a záverečné CTA (hybridné pravidlo).
   ============================================================ */

@font-face { font-family: 'Gilroy'; src: url('/assets/fonts/Gilroy-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('/assets/fonts/Gilroy-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('/assets/fonts/Gilroy-SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('/assets/fonts/Gilroy-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('/assets/fonts/Gilroy-ExtraBold.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('/assets/fonts/Gilroy-Black.woff2') format('woff2'); font-weight: 900; font-display: swap; }

:root {
  /* značkové farby — zhodné so smart-redesign */
  --ink: #070E24;
  --ink-2: #0B1433;
  --green: #039E49; --blue: #139AD7; --pink: #E63163;
  --yellow: #FAC02B; --orange: #E86025; --purple: #9873B9;
  --rainbow: linear-gradient(90deg, #1B8ECD, #9873B9, #E63163, #FAC02B, #039D4A);

  /* svetlý register */
  --bg: #FFFFFF;
  --bg-soft: #F5F7FC;
  --bg-tint: #EEF3FB;
  --txt: #10182F;
  --muted: #5A6683;
  --line: #E2E8F4;

  --font: 'Gilroy', system-ui, -apple-system, sans-serif;
  --r-lg: 28px; --r-md: 18px; --r-sm: 12px;
  --container: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--txt);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--pink); color: #fff; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- typografia ---------- */
.eyebrow {
  font-weight: 700; font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.eyebrow--center { justify-content: center; }
.display { font-weight: 900; line-height: 1.05; letter-spacing: -0.02em; }
h1.display { font-size: clamp(36px, 5.6vw, 68px); }
h2.display { font-size: clamp(28px, 3.8vw, 46px); }
h3 { font-weight: 800; font-size: 21px; letter-spacing: -0.01em; line-height: 1.3; }
h4 { font-weight: 700; font-size: 17px; }
p + p { margin-top: 16px; }
.lead { color: var(--muted); font-size: clamp(17px, 1.4vw, 20px); max-width: 58ch; }
.grad { background: var(--rainbow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.small { font-size: 14px; color: var(--muted); }

/* ---------- tlačidlá ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 800; font-size: 16px;
  padding: 16px 30px; border-radius: 999px; border: 0;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--rainbow { color: #fff; background: var(--rainbow); background-size: 220% 100%; box-shadow: 0 8px 26px rgba(230,49,99,.3); }
.btn--rainbow:hover { box-shadow: 0 12px 34px rgba(230,49,99,.42); background-position: 70% 0; }
.btn--outline { color: var(--txt); background: transparent; border: 2px solid var(--line); }
.btn--outline:hover { border-color: var(--txt); }
.btn--ghost-dark { color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.24); }
.btn--ghost-dark:hover { background: rgba(255,255,255,.22); }
.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn--block { display: flex; width: 100%; }

/* ---------- navigácia ---------- */
.nav { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav__inner { max-width: var(--container); margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 28px; }
.nav__logo { font-weight: 900; font-size: 19px; letter-spacing: -0.02em; }
.nav__logo span { color: var(--blue); }
.nav__links { display: flex; gap: 22px; margin-left: auto; }
.nav__links a { font-weight: 600; font-size: 15px; color: var(--muted); transition: color .2s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--txt); }
.nav__lang { display: flex; gap: 6px; font-size: 13px; font-weight: 700; }
.nav__lang a { color: var(--muted); padding: 4px 8px; border-radius: 999px; }
.nav__lang a.is-active { background: var(--bg-tint); color: var(--txt); }
@media (max-width: 940px) {
  .nav__inner { flex-wrap: wrap; gap: 12px 18px; padding: 12px 16px; }
  .nav__lang { margin-left: auto; }
  .nav__links {
    order: 3; width: 100%; margin-left: 0; gap: 18px;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    padding-bottom: 4px; scrollbar-width: none;
  }
  .nav__links::-webkit-scrollbar { display: none; }
  .nav__links a { white-space: nowrap; font-size: 14px; }
}

/* ---------- sekcie ---------- */
.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); color: #fff; }
.section--dark .lead, .section--dark .small, .section--dark .eyebrow { color: #9BA8C8; }
.section__head { max-width: 700px; margin-bottom: 44px; }
.section__head .display { margin-top: 14px; }
.section__head .lead { margin-top: 16px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__head--center .lead { margin-left: auto; margin-right: auto; }

/* ---------- hero (tmavý) ---------- */
.hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; padding: 92px 0 80px; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 600px at 82% -10%, rgba(152,115,185,.42), transparent 62%),
    radial-gradient(760px 560px at -8% 45%, rgba(19,154,215,.30), transparent 62%),
    radial-gradient(700px 520px at 55% 118%, rgba(230,49,99,.26), transparent 62%);
}
.hero > .container { position: relative; z-index: 1; }
.hero h1 { margin: 20px 0 20px; max-width: 16ch; }
.hero .lead { color: #B6C1DC; margin-bottom: 30px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero__meta { margin-top: 20px; font-size: 15px; color: #9BA8C8; }
.hero__meta b { color: #fff; }

/* ---------- dôkazový pás ---------- */
.proof { display: flex; gap: 40px; flex-wrap: wrap; padding: 26px 0; border-top: 1px solid rgba(255,255,255,.14); margin-top: 44px; }
.proof__item b { display: block; font-size: 28px; font-weight: 900; letter-spacing: -.02em; }
.proof__item span { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #8F9CBE; }
@media (max-width: 620px) {
  .proof { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
  .proof__item b { font-size: 24px; }
  .proof__item span { font-size: 11px; letter-spacing: .07em; }
}

/* ---------- karty ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px; }
.card--flat { border-radius: var(--r-md); padding: 24px; }
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* ---------- kroky ---------- */
.step { position: relative; padding-left: 62px; }
.step__num {
  position: absolute; left: 0; top: 0;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 900; font-size: 17px; color: #fff;
  background: var(--rainbow); background-size: 220% 100%;
}
.step h3 { margin-bottom: 8px; }

/* ---------- karta akcie ---------- */
.event {
  display: grid; grid-template-columns: 132px 1fr auto; gap: 26px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 22px 26px; transition: border-color .25s, box-shadow .25s, transform .25s;
}
.event:hover { border-color: #C9D5EC; box-shadow: 0 10px 30px rgba(16,24,47,.07); transform: translateY(-2px); }
.event--soon { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue) inset; }
.event--planned { opacity: .62; border-style: dashed; }
.event__date { text-align: center; }
.event__date b { display: block; font-size: 34px; font-weight: 900; line-height: 1; letter-spacing: -.03em; }
.event__date span { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.event__body h3 { margin-bottom: 4px; }
.event__side { text-align: right; }
.event__price { font-weight: 900; font-size: 21px; white-space: nowrap; }
.event__price small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
@media (max-width: 780px) {
  .event { grid-template-columns: 1fr; gap: 14px; padding: 20px 22px; }
  .event__date { text-align: left; display: flex; align-items: baseline; gap: 10px; }
  .event__date b { font-size: 26px; }
  .event__side { text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
  .event__side .mt-16 { margin-top: 0; }
  .event__price small { display: inline; margin-left: 6px; }
}

/* ---------- štítky ---------- */
.tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.tag--blue { background: #E4F1FB; color: #0A6E9E; }
.tag--green { background: #E3F5EA; color: #026634; }
.tag--grey { background: var(--bg-tint); color: var(--muted); }
.tag--pink { background: #FCE6EC; color: #A81742; }

/* ---------- cenový blok ---------- */
.price { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.price__col { padding: 32px 30px; }
.price__col + .price__col { border-left: 1px solid var(--line); background: var(--bg-soft); }
.price__amount { font-size: 42px; font-weight: 900; letter-spacing: -.03em; line-height: 1.1; }
.price__amount small { font-size: 15px; font-weight: 700; color: var(--muted); }
@media (max-width: 700px) { .price { grid-template-columns: 1fr; } .price__col + .price__col { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- zoznamy ---------- */
.list { list-style: none; display: grid; gap: 13px; }
.list li { position: relative; padding-left: 30px; }
.list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 16px; height: 16px; border-radius: 50%; background: var(--rainbow); background-size: 200%; }
.list--x li::before { background: var(--line); }
.list--plain li { padding-left: 0; }
.list--plain li::before { display: none; }

/* ---------- citát ---------- */
.quote { background: var(--bg-soft); border-left: 4px solid; border-image: var(--rainbow) 1; padding: 24px 28px; border-radius: 0 var(--r-md) var(--r-md) 0; }
.quote p { font-size: 17px; }
.quote cite { display: block; margin-top: 12px; font-style: normal; font-size: 14px; font-weight: 700; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 42px 20px 0; position: relative;
  font-weight: 700; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 8px; top: 16px;
  font-size: 26px; font-weight: 400; color: var(--muted); line-height: 1;
}
.faq details[open] summary::after { content: '–'; }
.faq details > div { padding-bottom: 22px; color: var(--muted); max-width: 70ch; }

/* ---------- tabuľka porovnania ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th, .tbl td { padding: 15px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl thead th { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tbl tbody th { font-weight: 700; width: 24%; }
.tbl td.is-us { background: var(--bg-tint); }
.tbl-wrap { overflow-x: auto; }
@media (max-width: 720px) { .tbl { min-width: 620px; } }

/* ---------- formulár ---------- */
.form { display: grid; gap: 14px; }
.field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; font-family: inherit; font-size: 16px; color: var(--txt);
  padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff;
}
.field input:focus, .field textarea:focus { outline: 3px solid var(--blue); outline-offset: 1px; border-color: transparent; }
.form__note { font-size: 14px; color: var(--muted); }

/* ---------- článok ---------- */
.article { max-width: 720px; margin: 0 auto; }
.article h2 { font-size: 30px; font-weight: 900; letter-spacing: -.02em; margin: 44px 0 14px; }
.article h3 { margin: 30px 0 10px; }
.article p, .article ul, .article ol { margin-bottom: 16px; }
.article ul, .article ol { padding-left: 22px; }
.article li { margin-bottom: 7px; }
.answer-box {
  background: var(--bg-tint); border-radius: var(--r-md); padding: 24px 26px; margin: 26px 0 34px;
  border-left: 5px solid; border-image: var(--rainbow) 1;
}
.answer-box b { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.answer-box p { font-size: 19px; font-weight: 600; line-height: 1.5; margin: 0; }
.author { display: flex; align-items: center; gap: 14px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 34px 0; }
.author__ava { width: 48px; height: 48px; border-radius: 50%; background: var(--rainbow); background-size: 200%; flex: none; }
.toc { background: var(--bg-soft); border-radius: var(--r-md); padding: 22px 26px; margin-bottom: 30px; }
.toc b { display: block; margin-bottom: 10px; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.toc ol { padding-left: 20px; }
.toc li { margin-bottom: 6px; }

/* ---------- breadcrumbs ---------- */
.crumbs { font-size: 14px; color: var(--muted); padding: 18px 0; }
.crumbs a:hover { color: var(--txt); text-decoration: underline; }

/* ---------- CTA pás ---------- */
.cta-band { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 46px 44px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(700px 400px at 70% -20%, rgba(230,49,99,.34), transparent 62%), radial-gradient(600px 400px at 10% 120%, rgba(19,154,215,.30), transparent 62%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band .lead { color: #B6C1DC; margin: 14px auto 26px; }
@media (max-width: 620px) { .cta-band { padding: 34px 24px; } }

/* ---------- pätička ---------- */
.footer { background: var(--ink); color: #8F9CBE; padding: 56px 0 34px; font-size: 15px; }
.footer a { color: #C7D0E6; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 34px; }
.footer h4 { color: #fff; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 9px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 14px; }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; } }

/* ---------- mobilná lišta s CTA (len detail akcie) ---------- */
.stickybar { display: none; }
@media (max-width: 940px) {
  .stickybar {
    display: flex; align-items: center; gap: 14px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    background: #fff;
    border-top: 1px solid var(--line); padding: 12px 16px;
    box-shadow: 0 -6px 24px rgba(16,24,47,.10);
  }
  .stickybar__price { font-weight: 900; font-size: 19px; line-height: 1.1; white-space: nowrap; }
  .stickybar__price small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); }
  .stickybar .btn { margin-left: auto; }
  body.has-stickybar .footer { padding-bottom: 96px; }
}

/* ---------- prototypový prúžok ---------- */
.protobar { background: var(--yellow); color: #3A2B00; font-size: 13px; font-weight: 700; text-align: center; padding: 7px 16px; }

/* ---------- pomocné ---------- */
.mt-0 { margin-top: 0; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-40 { margin-top: 40px; }
.mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.center { text-align: center; }
.stack { display: grid; gap: 18px; }
.row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ---------- cookie lišta ---------- */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: 0 12px 40px rgba(16,24,47,.16);
  max-width: 760px; margin: 0 auto;
}
.consent__inner { display: flex; align-items: center; gap: 20px; padding: 18px 22px; flex-wrap: wrap; }
.consent__text { font-size: 14px; color: var(--muted); margin: 0; flex: 1 1 320px; line-height: 1.5; }
.consent__text a { color: var(--txt); text-decoration: underline; }
.consent__actions { display: flex; gap: 10px; margin-left: auto; }
@media (max-width: 560px) {
  .consent__actions { width: 100%; }
  .consent__actions .btn { flex: 1; }
}

/* CTA vnútri karty akcie — vizuálne tlačidlo, nie odkaz (karta už odkaz je) */
.event__go {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 12px; padding: 13px 20px; min-height: 44px; border-radius: 999px;
  font-weight: 800; font-size: 14px; color: #fff;
  background: var(--rainbow); background-size: 220% 100%;
  transition: box-shadow .25s, background-position .25s;
}
.event:hover .event__go { box-shadow: 0 8px 22px rgba(230,49,99,.32); background-position: 70% 0; }
.event--planned .event__go { display: none; }
