/* ============================================================
   NEO AI HQ — produktové stránky (veřejné, prodejní)
   Tokeny a reset přebírá neo.css. Tady je jen chrome pro
   veřejné stránky a rozvržení produktu.
   Pravidlo: vesmír patří na vstup a na Cestu. Tady je klid.
   ============================================================ */

body { background: var(--void); color: var(--ink); overflow-x: hidden; }
.neo-skip { position: fixed; z-index: 30; top: 8px; left: 20px; padding: 12px 18px;
  min-height: 44px; background: var(--void-2); color: var(--ink); transform: translateY(-160%); }
.neo-skip:focus { transform: none; }

/* veřejná hlavička, stejná jako na vstupní stránce */
.pub-nav { position: fixed; z-index: 20; inset: 0 0 auto; padding: 14px 40px;
  background: rgba(4,5,7,.9); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--hairline); }
.pub-nav .row { display: flex; align-items: center; gap: 28px; max-width: 1180px; margin: 0 auto; }
.pub-nav img { display: block; height: 26px; width: auto; }
.pub-nav .links { display: flex; gap: 24px; margin-left: auto; }
.pub-nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.pub-nav a:hover, .pub-nav a:focus-visible { color: var(--ink); }
.pub-nav .zlata { padding: 9px 16px; border: 1px solid var(--hairline); border-radius: var(--r-pill); color: var(--ink); font-weight: 500; }
@media (max-width: 860px) {
  .pub-nav { padding: 12px 20px; }
  .pub-nav .links a:not(.zlata):not(.zpet-kurzy) { display: none; }
}

.p-wrap { max-width: 1080px; margin: 0 auto; padding: 120px 32px 96px; }
@media (max-width: 720px) { .p-wrap { padding: 96px 20px 72px; } }

.zpet { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 28px; color: var(--muted); text-decoration: none; font: 400 12px/1.4 var(--mono); letter-spacing: .08em; }
.zpet:hover { color: var(--ink); }

/* hero */
.p-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.p-hero .kick { font: 400 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.p-hero h1 { font: 400 var(--h1)/1.06 var(--serif); letter-spacing: -.025em; margin: 18px 0 16px; }
.p-hero .sub { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 46ch; }
.p-hero img { width: 100%; height: auto; border-radius: 14px; display: block; }
.p-hero .foto-osoba { border-radius: 14px; object-fit: cover; aspect-ratio: 4 / 5; }
@media (max-width: 860px) { .p-hero { grid-template-columns: 1fr; gap: 32px; } }

.p-fakta { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, auto)); gap: 22px 28px; margin: 32px 0 28px; justify-content: start; }
.p-fakta div { padding-right: 28px; border-right: 1px solid var(--hairline); }
.p-fakta div:last-child { border-right: 0; padding-right: 0; }
@media (max-width: 520px) { .p-fakta div { border-right: 0; padding-right: 0; } }
.p-fakta dt { font: 400 10px/1.6 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted-dim); }
.p-fakta dd { font: 400 22px/1.3 var(--serif); margin: 4px 0 0; }
.p-fakta .volno { color: var(--ink); }

.btn-zlata { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 14px 26px; border-radius: var(--r-pill);
  background: linear-gradient(180deg, var(--gold-hi), var(--gold-deep)); color: var(--void);
  font: 500 14px/1 var(--sans, inherit); text-decoration: none; }
.btn-zlata:hover { filter: brightness(1.06); }
.pod-cta { margin-top: 12px; font-size: 13px; color: var(--muted-dim); }

/* obecná sekce */
.p-sekce { margin-top: 88px; }
.p-sekce > h2 { font: 400 var(--h2)/1.15 var(--serif); letter-spacing: -.02em; margin-bottom: 10px; }
.p-sekce > .popis { color: var(--muted); max-width: 60ch; margin-bottom: 36px; }

/* karty s přínosy */
.p-karty { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: 14px; overflow: hidden; }
.p-karty article { background: var(--void); padding: 28px; }
.p-karty h3 { font: 400 20px/1.25 var(--serif); margin-bottom: 8px; }
.p-karty p { font-size: 15px; line-height: 1.6; color: var(--muted); }
@media (max-width: 720px) { .p-karty { grid-template-columns: 1fr; } }

/* číslovaný obsah */
.p-obsah { border-top: 1px solid var(--hairline); }
.p-obsah article { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--hairline); }
.p-obsah .cislo { font: 400 12px/1.8 var(--mono); color: var(--muted); letter-spacing: .1em; }
.p-obsah h3 { font: 400 21px/1.3 var(--serif); margin-bottom: 6px; }
.p-obsah p { font-size: 15px; line-height: 1.65; color: var(--muted); max-width: 62ch; }
@media (max-width: 720px) { .p-obsah article { grid-template-columns: 44px minmax(0, 1fr); gap: 16px; } }

/* dva sloupce textu */
.p-dva { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.p-dva h3 { font: 400 20px/1.3 var(--serif); margin-bottom: 14px; }
.p-dva li { font-size: 15px; line-height: 1.7; color: var(--muted); list-style: none; padding-left: 20px; position: relative; margin-bottom: 8px; }
.p-dva li::before { content: ''; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--muted-dim); }
@media (max-width: 720px) { .p-dva { grid-template-columns: 1fr; gap: 32px; } }

/* otázky */
.p-faq details { border-bottom: 1px solid var(--hairline); padding: 20px 0; }
.p-faq summary { cursor: pointer; min-height: 44px; padding: 9px 0; font: 400 18px/1.4 var(--serif); list-style: none; }
.p-faq summary::-webkit-details-marker { display: none; }
.p-faq summary::after { content: '+'; float: right; color: var(--muted); font-family: var(--mono); }
.p-faq details[open] summary::after { content: '–'; }
.p-faq p { margin-top: 12px; font-size: 15px; line-height: 1.7; color: var(--muted); max-width: 66ch; }

/* závěrečná výzva */
.p-zaver { margin-top: 96px; padding: 48px; border: 1px solid var(--hairline); border-radius: 16px; text-align: center; background: var(--void-2); }
.p-zaver h2 { font: 400 var(--h2)/1.2 var(--serif); margin-bottom: 12px; }
.p-zaver p { color: var(--muted); max-width: 52ch; margin: 0 auto 26px; }

/* patička */
.p-foot { border-top: 1px solid var(--hairline); margin-top: 96px; padding: 32px 0 8px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.p-foot img { height: 22px; width: auto; }
.p-foot .odkazy { display: flex; gap: 20px; margin-left: auto; flex-wrap: wrap; }
.p-foot a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; font-size: 13px; }
.p-foot a:hover { color: var(--ink); }

/* osobní domluva Mentorshipu */
.produkt-dialog { width: min(460px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto;
  margin: auto; padding: clamp(24px, 6vw, 36px); color: var(--ink); background: var(--void-2);
  border: 1px solid var(--hairline); border-radius: 14px; }
.produkt-dialog::backdrop { background: rgba(0, 0, 0, .76); }
.produkt-dialog h2 { font: 400 clamp(25px, 6vw, 34px)/1.2 var(--serif); margin: 0 0 14px; }
.produkt-dialog p { color: var(--muted); line-height: 1.6; margin: 0 0 18px; }
.produkt-dialog .produkt-dialog-cena { color: var(--ink); font: 400 22px/1.3 var(--serif); }
.produkt-dialog .produkt-dialog-akce { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.produkt-dialog button { cursor: pointer; font: inherit; }
.produkt-dialog .produkt-dialog-akce button:first-child { background: transparent; color: var(--ink); border: 0; padding: 12px 16px; }
.produkt-dialog .produkt-dialog-akce button:first-child:hover { text-decoration: underline; }
.produkt-dialog .produkt-stav, .produkt-stav { color: var(--ink); font-size: 14px; line-height: 1.5; }
.produkt-dialog :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .produkt-dialog, .produkt-dialog::backdrop { animation: none; transition: none; } }

[hidden] { display: none !important; }
.pub-nav .row > a, .pub-nav .links a { display: inline-flex; align-items: center; min-height: 44px; }
.pub-nav .row > a { min-width: 44px; }
.produkt-oznameni { position: fixed; z-index: 40; inset: auto 20px 20px;
  width: fit-content; max-width: min(560px, calc(100vw - 40px)); margin: 0 auto;
  padding: 16px 22px; background: var(--void-2); border: 1px solid var(--hairline);
  border-radius: 12px; overflow-wrap: anywhere; }
.neo-rm .produkt-dialog, .neo-rm .produkt-dialog::backdrop { animation: none; transition: none; }

/* Pokladna používá stejné veřejné záhlaví a patičku jako produkt. */
.obchod-wrap { max-width: 820px; }
.obchod-wrap h1 { font: 400 var(--h1)/1.15 var(--serif); margin-bottom: 32px; text-wrap: balance; }
.obchod-wrap h2 { font: 400 var(--h2)/1.2 var(--serif); margin-bottom: 16px; text-wrap: balance; }
.obchod-wrap p { line-height: 1.65; margin-bottom: 16px; max-width: 70ch; overflow-wrap: anywhere; }
.obchod-wrap a:not(.btn-zlata):not(.zpet) { color: var(--ink); text-underline-offset: 3px; }
.obchod-shrnuti { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); padding: 28px 0 12px; margin-bottom: 28px; }
.obchod-shrnuti #kurz-cena { font: 400 28px/1.3 var(--serif); }
.obchod-prodejce, .obchod-wrap .pod-cta { color: var(--muted); font-size: 14px; }
/* samostatné odkazy pokladny a poděkování: dotyková plocha 44 px */
.obchod-prodejce a, #do-uctu { display: inline-flex; align-items: center; min-height: 44px; }
.obchod-souhlas { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 4px 14px; margin: 24px 0; }
.obchod-souhlas input { width: 22px; height: 22px; margin-top: 11px; accent-color: var(--gold); }
.obchod-souhlas label { padding: 8px 0; line-height: 1.65; min-height: 44px; }
.obchod-souhlas .obchod-pole-chyba { grid-column: 2; font-size: 13px; color: var(--muted); margin: 0; }
.obchod-wrap .btn-zlata { border: 0; cursor: pointer; min-height: 44px; line-height: 1.4; text-align: left; }
.obchod-wrap .btn-zlata:disabled { opacity: .55; cursor: not-allowed; }
.obchod-wrap .btn-zlata[aria-disabled="true"] { opacity: .55; cursor: wait; }
.obchod-wrap .pod-cta { margin-top: 16px; }
#obchod-chyba, #platba-zrusena, #ukazka { border: 1px solid var(--hairline); padding: 16px; border-radius: 8px; }
@media (max-width: 520px) {
  .pub-nav .row { gap: 16px; }
  .pub-nav .links { gap: 12px; }
  .pub-nav a { font-size: 13px; }
  .p-zaver { padding: 32px 20px; }
  .obchod-wrap h1 { font-size: clamp(32px, 9vw, 48px); }
}
