/* Investors Klub nad 5M — stránka dotazníku (design karty Žádost o přístup) */
body.q-page { min-height: 100vh; min-height: 100svh; background: linear-gradient(90deg, rgba(9,11,17,.93) 0%, rgba(9,11,17,.82) 45%, rgba(9,11,17,.55) 100%), url("assets/hero-lounge.webp") 70% center / cover fixed no-repeat, #0c0d12; color: var(--text); }
.q-header { max-width: 1440px; margin: 0 auto; height: 104px; display: flex; align-items: center; justify-content: space-between; padding: 0 70px; }
.q-back { display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 18px; border: 1px solid rgba(215,182,116,.55); border-radius: 9px; background: rgba(8,9,13,.35); color: #f3e3c4; font-size: 14px; font-weight: 700; letter-spacing: 1px; text-decoration: none; text-transform: uppercase; transition: background .2s, border-color .2s; }
.q-back:hover { background: rgba(215,182,116,.12); border-color: var(--accent); }
.q-back svg { color: var(--accent); }
.q-main { padding: 8px 24px 80px; }

.q-card { max-width: 820px; margin: 0 auto; padding: 46px 52px 40px; background: rgba(13,14,19,.9); border: 1px solid rgba(215,182,116,.45); border-radius: 18px; box-shadow: 0 30px 70px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.03); }
.q-card.is-in { animation: q-in .35s ease-out both; }
@keyframes q-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.q-eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; }
.q-eyebrow::before { content: ""; width: 30px; height: 1.5px; background: var(--accent); }
.q-title { margin: 0; font: 400 46px/1.08 var(--font-serif); letter-spacing: -.8px; outline: none; }
.q-title::after { content: ""; display: block; width: 64px; height: 2px; margin: 22px 0 24px; background: var(--accent); }
.q-accent { color: var(--accent); }
.q-text { margin: 0 0 14px; color: #d9d3cd; font-size: 17px; line-height: 1.7; }
.q-block-intro { margin-bottom: 8px; }
.q-motto { margin: 26px 0 18px; padding: 18px 22px; border-left: 2px solid var(--accent); background: rgba(215,182,116,.07); border-radius: 0 10px 10px 0; font: 400 24px/1.3 var(--font-serif); color: #f3e3c4; }
.q-small { margin: 0; color: #a99f95; font-size: 14px; line-height: 1.6; font-style: italic; }

.q-progress { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.q-step-label { flex: none; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase; }
.q-bar { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.1); overflow: hidden; }
.q-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--cta-start), var(--cta-end)); transition: width .4s ease; }

.q-question { margin: 30px 0 0; padding: 0; border: 0; min-width: 0; }
.q-question legend { display: flex; gap: 12px; align-items: baseline; padding: 0; margin: 0 0 6px; font-size: 18px; font-weight: 700; line-height: 1.4; color: #f4efe9; }
.q-num { flex: none; color: var(--accent); font: 400 20px/1 var(--font-serif); }
.q-hint { margin: 0 0 4px 34px; color: #a99f95; font-size: 13px; font-style: italic; }
.q-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.q-opt { position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 16px; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; background: rgba(255,255,255,.03); cursor: pointer; transition: border-color .2s, background .2s; }
.q-opt:hover { border-color: rgba(215,182,116,.55); background: rgba(255,255,255,.05); }
.q-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.q-box { flex: none; width: 22px; height: 22px; display: grid; place-items: center; border: 1.5px solid rgba(215,182,116,.6); border-radius: 6px; transition: background .2s, border-color .2s; }
.q-opt input[type="radio"] + .q-box { border-radius: 50%; }
.q-box svg { width: 15px; height: 15px; fill: none; stroke: var(--cta-text); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .15s; }
.q-opt-label { font-size: 15.5px; line-height: 1.35; color: #e6e0d9; }
.q-opt:has(input:checked) { border-color: var(--accent); background: rgba(215,182,116,.1); }
.q-opt input:checked + .q-box { background: linear-gradient(135deg, var(--cta-start), var(--cta-end)); border-color: var(--accent); }
.q-opt input:checked + .q-box svg { opacity: 1; }
.q-opt input:focus-visible + .q-box { outline: 2px solid #f2d18d; outline-offset: 3px; }
.q-error { margin: 8px 0 0; min-height: 0; color: #eaa894; font-size: 13px; }
.q-error:empty { margin: 0; }
.q-question.is-missing .q-opt { border-color: rgba(227,155,134,.55); }

.q-nav { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 36px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.08); }
.q-nav:only-child, .q-nav > .q-next:only-child { margin-left: auto; }
.q-next { gap: 12px; height: 56px; padding: 0 28px; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; margin-left: auto; }
.q-prev { height: 56px; padding: 0 24px; border: 1px solid rgba(215,182,116,.45); border-radius: var(--cta-radius); background: transparent; color: #f0e2cd; font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; transition: background .2s, border-color .2s; }
.q-prev:hover { background: rgba(215,182,116,.1); border-color: var(--accent); }
.q-done-icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--cta-start), var(--cta-end)); }
.q-done-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--cta-text); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 820px) {
  .q-header { height: 84px; padding: 0 24px; }
  .q-card { padding: 34px 26px 28px; }
  .q-title { font-size: 36px; }
}
@media (max-width: 540px) {
  body.q-page { background: linear-gradient(180deg, rgba(9,11,17,.85), rgba(9,11,17,.95)), url("assets/hero-lounge.webp") 75% center / cover no-repeat, #0c0d12; }
  .q-header { height: 72px; padding: 0 16px; }
  .q-header .brand-wordmark { font-size: 24px; }
  .q-header .brand-mark { width: 28px; height: 30px; }
  .q-back { height: 38px; padding: 0 12px; font-size: 12px; }
  .q-main { padding: 0 12px 48px; }
  .q-card { padding: 28px 18px 22px; border-radius: 14px; }
  .q-title { font-size: 30px; }
  .q-text { font-size: 16px; }
  .q-motto { font-size: 20px; }
  .q-opts { grid-template-columns: 1fr; }
  .q-question legend { font-size: 16.5px; }
  .q-hint { margin-left: 32px; }
  .q-nav { flex-direction: column-reverse; align-items: stretch; }
  .q-next, .q-prev { width: 100%; justify-content: center; margin-left: 0; }
}

/* Jedna stránka: průběh odpovědí přilepený nahoře */
.q-sticky { position: sticky; top: 0; z-index: 3; margin: 30px -52px 0; padding: 14px 52px; background: rgba(13,14,19,.97); border-bottom: 1px solid rgba(215,182,116,.18); }
.q-count { flex: none; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; }
.q-form .q-question:first-child { margin-top: 26px; }
.q-question { padding-bottom: 6px; scroll-margin-top: 80px; }
@media (max-width: 820px) { .q-sticky { margin: 26px -26px 0; padding: 12px 26px; } }
@media (max-width: 540px) { .q-sticky { margin: 22px -18px 0; padding: 12px 18px; } .q-count { font-size: 12px; } }

/* Karta dotazníku méně průhledná */
.q-card { background: rgba(13,14,19,.975); }
.q-sticky { background: rgb(13,14,19); }
.q-opt { background: rgba(255,255,255,.045); }

/* ===== Přehled investičního profilu ===== */
.p-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: -6px 0 8px; color: var(--accent); font-size: 12.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.p-block { margin-top: 34px; }
.p-block-title { margin: 0 0 6px; padding-bottom: 12px; border-bottom: 1px solid rgba(215,182,116,.2); font: 600 20px/1.2 var(--font-serif); letter-spacing: -.01em; color: #f4efe9; }
.p-list { margin: 0; }
.p-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.p-row dt { display: flex; gap: 10px; align-items: baseline; color: #d9d3cd; font-size: 14.5px; line-height: 1.45; }
.p-row dd { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; }
.p-chip { display: inline-flex; align-items: center; min-height: 32px; padding: 6px 12px; border: 1px solid rgba(215,182,116,.45); border-radius: 999px; background: rgba(215,182,116,.08); color: #f4efe9; font-size: 14px; font-weight: 600; line-height: 1.25; }
.p-empty { color: #a99f95; font-size: 14px; font-style: italic; }
a.q-prev { display: inline-flex; align-items: center; text-decoration: none; }
@media (max-width: 640px) {
  .p-row { grid-template-columns: 1fr; gap: 10px; }
  .p-row dd { padding-left: 28px; }
}

/* ===== Animace: zaškrtnutí, průběh, přehled profilu ===== */
@keyframes q-pop { 0% { transform: scale(.7); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
@keyframes q-fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.q-opt input:checked + .q-box { animation: q-pop .28s ease-out; }
.q-opt { transition: border-color .2s, background .2s, transform .15s; }
.q-opt:active { transform: scale(.985); }
.q-bar span { transition: width .5s cubic-bezier(.2,.7,.2,1); }
.p-block { animation: q-fade-up .6s cubic-bezier(.2,.7,.2,1) both; }
.p-block:nth-of-type(1) { animation-delay: .1s; }
.p-block:nth-of-type(2) { animation-delay: .22s; }
.p-block:nth-of-type(3) { animation-delay: .34s; }
.p-block:nth-of-type(4) { animation-delay: .46s; }
.p-chip { animation: q-fade-up .5s cubic-bezier(.2,.7,.2,1) both; animation-delay: inherit; }
@media (prefers-reduced-motion: reduce) {
  .q-opt input:checked + .q-box, .p-block, .p-chip { animation: none !important; }
}
.q-motto { font-weight: 700; }

.q-motto { font-weight: 700; }

/* ===== Právní stránky ===== */
.legal-card { max-width: 920px; }
.legal-lead { margin: -4px 0 8px; color: #a99f95; font-size: 13px; letter-spacing: .3px; }
.legal h2 { margin: 34px 0 12px; font: 400 22px/1.3 var(--font-serif); color: #f4efe9; scroll-margin-top: 24px; }
.legal p, .legal li { color: #d9d3cd; font-size: 15.5px; line-height: 1.75; }
.legal p { margin: 0 0 12px; }
.legal a { color: var(--accent); text-underline-offset: 3px; }
.legal .table-wrap { overflow-x: auto; margin: 8px 0 16px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; }
.legal th, .legal td { padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,.1); text-align: left; vertical-align: top; color: #d9d3cd; }
.legal th { color: var(--accent); font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; }
.legal .legal-eff { margin-top: 28px; color: #a99f95; font-size: 13px; }
@media (max-width: 540px) { .legal p, .legal li { font-size: 15px; } .legal h2 { font-size: 20px; } }

/* ===== Stránka Kontakt ===== */
.contact-card { max-width: 680px; }
.contact-card .q-title { margin-bottom: 0; }
.contact-card .form-grid { margin-top: 26px; gap: 18px; }
.contact-card .field label { font-size: 13px; color: #d9d3cd; }
.contact-card .field input, .contact-card .field textarea, .contact-card .field select { min-height: 52px; border-color: rgba(215,182,116,.28); background-color: rgba(255,255,255,.04); font-size: 16px; }
.contact-card .field textarea { min-height: 130px; }
.contact-card .phone-row .prefix { min-height: 52px; }
.contact-card .field small { color: #e5ad9e; font-size: 12.5px; }
.contact-card .field-pref .field select { appearance: none; -webkit-appearance: none; background: rgba(255,255,255,.04) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d7b674' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 16px no-repeat; padding-right: 36px; }
.contact-submit { width: 100%; justify-content: center; margin: 6px 0 0; }
@media (max-width: 540px) { .contact-card .field-row { grid-template-columns: 1fr; } }
