/* ============ OkamžitýVýkup.sk ============ */
:root {
  --navy-950: #0A1F33;
  --navy-900: #0E2A44;
  --navy-800: #143659;
  --navy-700: #1B4570;
  --navy-600: #23568A;
  --gold-500: #D9A441;
  --gold-600: #C08F2F;
  --gold-100: #FBF3E1;
  --sky-100: #EAF1F7;
  --tint: #F2F6FA;
  --paper: #FFFFFF;
  --ink: #1C2B3A;
  --ink-soft: #53657A;
  --line: #DEE7EF;
  --ff-display: "Fraunces", Georgia, serif;
  --ff-body: "Manrope", -apple-system, "Segoe UI", sans-serif;
  --radius: 16px;
  --shadow-sm: 0 2px 10px rgba(14, 42, 68, .07);
  --shadow-md: 0 14px 40px rgba(14, 42, 68, .12);
  --shadow-lg: 0 24px 70px rgba(10, 31, 51, .28);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--ff-display); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; font-family: var(--ff-body); font-weight: 800; }
p { margin: 0 0 1em; }
a { color: var(--navy-600); }
.container { max-width: 1160px; margin: 0 auto; padding: 0 22px; }

:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--ff-body); font-weight: 800; font-size: 1rem;
  padding: 15px 28px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; text-align: center;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--gold { background: var(--gold-500); color: var(--navy-950); box-shadow: 0 10px 26px rgba(217, 164, 65, .38); }
.btn--gold:hover { background: #E3B255; }
.btn--primary { background: var(--navy-800); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--navy-700); }
.btn--outline { background: transparent; border-color: var(--navy-800); color: var(--navy-800); }
.btn--outline-light { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--sm { padding: 11px 22px; font-size: .93rem; }
.btn--lg { padding: 18px 36px; font-size: 1.08rem; }
.btn--block { display: flex; width: 100%; }

/* ---------- Eyebrow / section intro ---------- */
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold-600); margin-bottom: 14px;
}
.eyebrow--light { color: var(--gold-500); }
.section { padding: 84px 0; }
.section--tint { background: var(--tint); }
.section--navy { background: linear-gradient(160deg, var(--navy-900), var(--navy-950)); color: #fff; }
.section--navy h2 { color: #fff; }
.section-intro { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-intro p { color: var(--ink-soft); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 74px; }
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.logo__mark { width: 40px; height: 40px; flex: none; }
.logo__text { font-family: var(--ff-display); font-weight: 700; font-size: 1.22rem; color: var(--navy-900); letter-spacing: -.01em; }
.logo__text em { font-style: normal; color: var(--gold-600); }
.logo__text span { font-weight: 600; font-size: .85em; color: var(--ink-soft); }
.logo--light .logo__text, .logo--light .logo__text span { color: #fff; }
.logo--light .logo__text em { color: var(--gold-500); }
.header__actions { display: flex; align-items: center; gap: 18px; }
.header__phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; color: var(--navy-900); text-decoration: none; font-size: 1.02rem;
}
.header__phone svg { width: 19px; height: 19px; color: var(--gold-600); }
.header__phone:hover { color: var(--navy-600); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    linear-gradient(100deg, rgba(10,31,51,.96) 0%, rgba(14,42,68,.88) 45%, rgba(14,42,68,.55) 100%),
    url("../img/hero.jpg") center / cover no-repeat;
  color: #fff;
  padding: 88px 0 96px;
}
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero__copy h1 { color: #fff; margin-bottom: 20px; }
.hero__copy h1 em { font-style: normal; color: var(--gold-500); }
.hero__lead { font-size: 1.13rem; color: rgba(255,255,255,.86); max-width: 46ch; margin-bottom: 28px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .95rem; color: rgba(255,255,255,.92);
}
.hero__badge svg { width: 17px; height: 17px; color: var(--gold-500); flex: none; }

/* ---------- Form card (signature) ---------- */
.form-card {
  position: relative;
  background: var(--paper); color: var(--ink);
  border-radius: 20px; padding: 30px 30px 26px;
  box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--gold-500);
  max-width: 480px; width: 100%; justify-self: end;
}
.form-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.form-card__eyebrow {
  font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-600); margin: 0 0 10px;
}
.form-card__count { font-size: .82rem; font-weight: 700; color: var(--ink-soft); margin: 0; }
.progress { height: 6px; background: var(--sky-100); border-radius: 999px; overflow: hidden; margin-bottom: 22px; }
.progress__fill {
  display: block; height: 100%; width: 20%;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-500));
  border-radius: 999px; transition: width .35s ease;
}

.step { display: none; border: 0; padding: 0; margin: 0; }
.step.is-active { display: block; animation: stepIn .3s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.step__q {
  font-family: var(--ff-display); font-size: 1.3rem; font-weight: 700;
  padding: 0; margin-bottom: 18px; color: var(--navy-900);
}

.opts { display: flex; flex-direction: column; gap: 10px; }
.opts--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt__body {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 18px 12px; border: 2px solid var(--line); border-radius: 14px;
  font-weight: 700; font-size: .98rem; cursor: pointer; text-align: center;
  transition: border-color .15s, background .15s, transform .15s;
}
.opt__body svg { width: 30px; height: 30px; color: var(--navy-600); }
.opt__body:hover { border-color: var(--navy-600); transform: translateY(-2px); }
.opt input:checked + .opt__body { border-color: var(--gold-500); background: var(--gold-100); }
.opt input:focus-visible + .opt__body { outline: 3px solid var(--gold-500); outline-offset: 2px; }
.opt--row .opt__body { flex-direction: row; justify-content: flex-start; text-align: left; padding: 14px 16px; }

.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.field__note { font-weight: 500; color: var(--ink-soft); }
.field input, .field select {
  width: 100%; padding: 13px 14px; font: inherit; color: var(--ink);
  border: 2px solid var(--line); border-radius: 12px; background: #fff;
  transition: border-color .15s;
}
.field input:focus, .field select:focus { border-color: var(--navy-600); outline: none; }
.field-err { color: #B4231F; font-size: .88rem; font-weight: 700; margin: 4px 0 10px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--ink-soft); margin: 4px 0 16px; cursor: pointer; }
.consent input { margin-top: 3px; accent-color: var(--gold-600); width: 17px; height: 17px; flex: none; }
.form-card__note { text-align: center; font-size: .82rem; color: var(--ink-soft); margin: 12px 0 0; }
.form-card__back {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 16px;
  background: none; border: 0; padding: 4px 6px; font: inherit; font-weight: 700; font-size: .9rem;
  color: var(--ink-soft); cursor: pointer; border-radius: 6px;
}
.form-card__back svg { width: 17px; height: 17px; }
.form-card__back:hover { color: var(--navy-900); }

.step--success { text-align: center; padding: 18px 0 8px; }
.step--success h3 { font-family: var(--ff-display); font-size: 1.6rem; margin-bottom: 6px; }
.step--success p { color: var(--ink-soft); margin-bottom: 20px; }
.success-ring {
  width: 68px; height: 68px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--gold-100); color: var(--gold-600);
  display: flex; align-items: center; justify-content: center;
}
.success-ring svg { width: 34px; height: 34px; }

/* ---------- Stats strip ---------- */
.strip { background: var(--navy-900); color: #fff; padding: 34px 0; }
.strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.strip__item strong { display: block; font-family: var(--ff-display); font-size: 1.9rem; color: var(--gold-500); line-height: 1.1; }
.strip__item span { font-size: .9rem; color: rgba(255,255,255,.75); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon {
  width: 54px; height: 54px; border-radius: 14px; margin-bottom: 18px;
  background: var(--sky-100); color: var(--navy-700);
  display: flex; align-items: center; justify-content: center;
}
.card__icon svg { width: 27px; height: 27px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-soft); margin: 0; font-size: .97rem; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split__text h2 { margin-bottom: 16px; }
.split__text > p { color: var(--ink-soft); }
.checks { list-style: none; padding: 0; margin: 22px 0 30px; display: flex; flex-direction: column; gap: 12px; }
.checks li { padding-left: 34px; position: relative; font-weight: 700; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A1F33' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.split__media { position: relative; }
/* <picture> je inline — bez toho by sa width:100% vzťahovalo na zmrštený obal */
.split__media picture { display: block; }
.split__media picture:last-of-type {
  position: absolute; right: -18px; bottom: -34px; width: 46%;
}
.split__main { border-radius: 20px; box-shadow: var(--shadow-md); width: 100%; object-fit: cover; }
.split__small {
  width: 100%; display: block;
  border-radius: 16px; border: 6px solid #fff; box-shadow: var(--shadow-md); object-fit: cover;
}

/* ---------- Steps ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
  counter-reset: step;
}
.steps__item {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 28px;
}
.steps__num {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%; margin-bottom: 18px;
  background: var(--gold-500); color: var(--navy-950);
  font-family: var(--ff-display); font-weight: 700; font-size: 1.35rem;
}
/* Predvolene tmavý text — komponent musí fungovať aj na svetlej sekcii.
   Bielu variantu si vypýta iba tmavá sekcia nižšie. */
.steps__item h3 { color: var(--navy-900); margin-bottom: 8px; }
.steps__item p { color: var(--ink-soft); margin: 0; font-size: .97rem; }

.section--navy .steps__item {
  background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12);
}
.section--navy .steps__item h3 { color: #fff; }
.section--navy .steps__item p { color: rgba(255,255,255,.72); }

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.testimonial__stars { color: var(--gold-500); letter-spacing: 3px; font-size: 1.05rem; margin-bottom: 14px; }
.testimonial p { color: var(--ink-soft); font-size: .97rem; flex: 1; }
.testimonial footer { font-weight: 800; }
.testimonial footer small { display: block; font-weight: 600; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  border-radius: 24px; padding: 70px 40px;
  background:
    linear-gradient(115deg, rgba(10,31,51,.95), rgba(20,54,89,.86)),
    url("../img/cta.jpg") center / cover no-repeat;
  box-shadow: var(--shadow-md);
}
.cta-band h2 { color: #fff; }
.cta-band > p { color: rgba(255,255,255,.82); margin-bottom: 30px; }
.cta-band__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: rgba(255,255,255,.78); padding: 64px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; margin-bottom: 44px; }
.footer__brand p { margin-top: 16px; font-size: .95rem; }
.footer h4 { color: #fff; font-size: 1rem; margin: 6px 0 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: .95rem; }
.footer a { color: rgba(255,255,255,.78); text-decoration: none; }
.footer a:hover { color: var(--gold-500); }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  border-top: 1px solid rgba(255,255,255,.14); padding-top: 24px; font-size: .85rem;
  color: rgba(255,255,255,.55);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .form-card { justify-self: stretch; max-width: 560px; margin: 0 auto; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split__media { margin-bottom: 34px; }
  .strip__grid { grid-template-columns: 1fr 1fr; gap: 26px 12px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  /* Clip musí byť aj na <html>. Samotné `body { overflow-x: clip }` robí z tela
     clipovací kontajner a v niektorých kontextoch tým rozbije zvislé rolovanie. */
  html, body { overflow-x: clip; }
  .section { padding: 60px 0; }
  .hero { padding: 56px 0 64px; }
  .header__inner { gap: 8px; }
  .header__actions { gap: 10px; }
  .logo { gap: 8px; }
  .logo__mark { width: 34px; height: 34px; }
  .logo__text { font-size: 1.02rem; }
  .btn--sm { padding: 9px 14px; font-size: .82rem; }
  .grid--3 { grid-template-columns: 1fr; }
  .header__phone span { display: none; }
  .header__phone svg { width: 22px; height: 22px; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .form-card { padding: 24px 20px 22px; }
  .cta-band { padding: 52px 24px; }
  .split__small { right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ============================================================
   NAVIGÁCIA — klasické menu s rozbaľovacím zoznamom
   ============================================================ */
.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 13px; border-radius: 9px;
  font-weight: 600; font-size: .95rem; color: var(--navy-900);
  text-decoration: none; white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.nav__link:hover, .nav__link:focus-visible { background: var(--tint); color: var(--navy-600); }
.nav__link[aria-current="page"] { color: var(--gold-600); }
.nav__caret { width: 13px; height: 13px; transition: transform .18s ease; }

/* Rozbaľovací zoznam */
.nav__item { position: relative; }
.nav__panel {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 268px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.nav__item:hover .nav__panel,
.nav__item:focus-within .nav__panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__item:hover .nav__caret, .nav__item:focus-within .nav__caret { transform: rotate(180deg); }
.nav__panel a {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 10px 12px; border-radius: 10px; text-decoration: none;
}
.nav__panel a:hover, .nav__panel a:focus-visible { background: var(--tint); }
.nav__panel svg { width: 19px; height: 19px; color: var(--gold-600); flex: none; margin-top: 2px; }
.nav__panel a > span { display: block; }
.nav__panel strong { display: block; font-size: .93rem; color: var(--navy-900); font-weight: 700; }
.nav__panel small { display: block; font-size: .8rem; color: var(--ink-soft); line-height: 1.35; margin-top: 1px; }

/* Hamburger */
.nav-toggle {
  display: none; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line); border-radius: 11px;
  color: var(--navy-900); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .header__phone span { display: none; }
  .header__phone { padding: 10px; border: 1px solid var(--line); border-radius: 11px; }

  /* Menu sa vysunie pod hlavičku cez celú šírku */
  .nav {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 14px 18px 22px;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    max-height: calc(100dvh - 74px); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav__link { padding: 13px 12px; font-size: 1rem; min-height: 48px; }
  .nav__caret { margin-left: auto; }

  /* Na dotyku nie je hover — zoznam necháme rozbalený v toku */
  .nav__panel {
    position: static; opacity: 1; visibility: visible; transform: none;
    border: 0; box-shadow: none; padding: 0 0 6px 12px;
    min-width: 0; border-left: 2px solid var(--line); margin: 0 0 6px 12px;
    border-radius: 0;
  }
  .nav__panel a { padding: 11px 12px; min-height: 48px; }
}

/* ---------- Omrvinky ---------- */
.crumbs { font-size: .84rem; color: rgba(255,255,255,.62); margin-bottom: 14px; }
.crumbs a { color: rgba(255,255,255,.82); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs span { margin: 0 7px; opacity: .5; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 780px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 13px;
  overflow: hidden; transition: border-color .15s ease;
}
.faq details[open] { border-color: var(--gold-500); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 17px 52px 17px 20px; position: relative;
  font-weight: 700; color: var(--navy-900); font-size: 1rem;
  min-height: 48px; display: flex; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 20px; top: 50%;
  width: 10px; height: 10px; margin-top: -6px;
  border-right: 2px solid var(--gold-600); border-bottom: 2px solid var(--gold-600);
  transform: rotate(45deg); transition: transform .18s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq p { padding: 0 20px 18px; margin: 0; color: var(--ink-soft); line-height: 1.62; }

/* ---------- Zoznam s odrážkami vo forme odkazov ---------- */
.linklist { display: grid; gap: 9px; list-style: none; padding: 0; margin: 0; }
.linklist a {
  display: flex; align-items: center; gap: 9px;
  padding: 13px 16px; background: #fff; border: 1px solid var(--line);
  border-radius: 11px; text-decoration: none; color: var(--navy-900);
  font-weight: 600; min-height: 48px; transition: border-color .15s ease, transform .15s ease;
}
.linklist a:hover { border-color: var(--gold-500); transform: translateX(2px); }
.linklist svg { width: 18px; height: 18px; color: var(--gold-600); flex: none; }

/* Pätička — odkazy namiesto mŕtveho textu */
.footer ul a { color: rgba(255,255,255,.74); text-decoration: none; }
.footer ul a:hover { color: #fff; text-decoration: underline; }

/* ---------- Právny text ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.32rem; margin: 32px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-soft); line-height: 1.68; }
.prose ul { padding-left: 20px; margin: 10px 0; }
.prose li { margin-bottom: 7px; }

/* Kratšie hero na podstránkach */
.hero--sub { padding: 56px 0 64px; }
.hero--sub h1 { font-size: clamp(1.7rem, 3.4vw + .6rem, 2.7rem); }
@media (max-width: 720px) { .hero--sub { padding: 34px 0 42px; } }

/* CTA v menu — na desktope ho drží hlavička, na mobile je hlavička pretlačená */
.nav__cta { display: none; }
@media (max-width: 1040px) {
  .nav__cta { display: flex; margin-top: 10px; }
}
@media (max-width: 620px) {
  /* Tlačidlo z hlavičky zmizne, jeho úlohu preberá to v menu a telefón */
  .header__actions .btn { display: none; }
  .header__inner { height: 66px; gap: 10px; }
  .logo__mark { width: 34px; height: 34px; }
  .logo__text { font-size: 1.04rem; }
  .nav { inset: 66px 0 auto 0; max-height: calc(100dvh - 66px); }
}

/* ============================================================
   COOKIE LIŠTA
   ============================================================ */
.cc {
  position: fixed; inset: auto 0 0 0; z-index: 90;
  padding: 14px; animation: cc-in .28s ease both;
}
@keyframes cc-in { from { transform: translateY(14px); opacity: 0 } to { transform: none; opacity: 1 } }
.cc__box {
  max-width: 940px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-md); padding: 20px 22px;
  display: grid; gap: 16px;
}
.cc__txt strong { display: block; font-family: var(--ff-display); font-size: 1.08rem; color: var(--navy-900); margin-bottom: 5px; }
.cc__txt p { margin: 0; font-size: .89rem; color: var(--ink-soft); line-height: 1.55; }
.cc__txt a { color: var(--navy-600); }
.cc__btns { display: flex; gap: 10px; flex-wrap: wrap; }
/* Odmietnuť musí byť rovnako dostupné ako Prijať — inak je súhlas neplatný. */
.cc__btns .btn { flex: 1 1 auto; min-width: 150px; justify-content: center; min-height: 46px; }
.cc__opts { display: grid; gap: 10px; }
.cc__opt {
  display: flex; gap: 11px; align-items: flex-start;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; cursor: pointer;
}
.cc__opt input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--gold-600); flex: none; }
.cc__opt strong { display: block; font-size: .92rem; color: var(--navy-900); }
.cc__opt small { display: block; font-size: .82rem; color: var(--ink-soft); line-height: 1.45; margin-top: 2px; }

@media (min-width: 820px) {
  .cc__box { grid-template-columns: 1fr auto; align-items: center; }
  .cc__box:has(.cc__opts) { grid-template-columns: 1fr; }
  .cc__btns { flex-wrap: nowrap; }
  .cc__btns .btn { flex: 0 0 auto; min-width: 0; }
}
@media (max-width: 819px) {
  /* Nad lištou musí zostať vidieť obsah; na mobile je aj tak najdôležitejšie CTA */
  .cc { padding: 10px; }
  .cc__box { padding: 16px 16px 18px; }
  .cc__btns { flex-direction: column; }
  .cc__btns .btn { width: 100%; }
}

/* ============================================================
   MOBILNÝ KONVERZNÝ PRUH — najdôležitejší prvok pri návštevnosti z telefónu.
   Zjaví sa, až keď používateľ opustí hero (tam už formulár aj tlačidlá vidí).
   ============================================================ */
.mcta {
  position: fixed; inset: auto 0 0 0; z-index: 80;
  display: none; gap: 9px; padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.97); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .22s ease;
}
.mcta.is-on { transform: none; }
.mcta .btn { flex: 1; min-height: 50px; justify-content: center; font-size: .97rem; }
.mcta .btn svg { width: 18px; height: 18px; }

@media (max-width: 860px) {
  .mcta { display: flex; }
  /* Aby posledná sekcia neskončila pod pruhom */
  body.has-mcta .footer { padding-bottom: 84px; }
  /* Keď je vidieť cookie lišta, pruh ustúpi — dve fixné lišty nad sebou nie sú OK */
  body.cc-open .mcta { transform: translateY(110%); }
}

/* Právne odkazy v pätičke */
.footer__legal { display: flex; gap: 16px; flex-wrap: wrap; }
.footer__legal a { color: rgba(255,255,255,.74); text-decoration: none; }
.footer__legal a:hover { color: #fff; text-decoration: underline; }

/* Návnada pre boty — človek toto pole nikdy neuvidí ani naň netabuje */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }


/* ============================================================
   WebP pre pozadia. Deklarácie vyššie používajú JPEG, takže
   prehliadač bez podpory image-set() dostane funkčnú fotku;
   ostatné si vyberú WebP, ktoré je približne o polovicu ľahšie.
   ============================================================ */
@supports (background-image: image-set(url("../img/hero.webp") type("image/webp"))) {
  .hero {
    background-image:
      linear-gradient(100deg, rgba(10,31,51,.96) 0%, rgba(14,42,68,.88) 45%, rgba(14,42,68,.55) 100%),
      image-set(url("../img/hero.webp") type("image/webp"), url("../img/hero.jpg") type("image/jpeg"));
  }
  .cta-band {
    background-image:
      linear-gradient(115deg, rgba(10,31,51,.95), rgba(20,54,89,.86)),
      image-set(url("../img/cta.webp") type("image/webp"), url("../img/cta.jpg") type("image/jpeg"));
  }
}
