/* Modulaki: landing page „5 cest k vlastnímu bydlení do 3 milionů“
   Barvy a písmo značky jsou v :root, všechno ostatní z nich vychází. */

@font-face {
  font-family: "Jakarta";
  src: url("/assets/fonts/jakarta-latin-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  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: "Jakarta";
  src: url("/assets/fonts/jakarta-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  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: #081a33;
  --navy-800: #0c2342;
  --navy-700: #113461;
  --navy-600: #15497f;
  --blue: #3a8ad8;
  --teal: #4fd1d4;
  --text: #f0f5f9;
  --muted: #b9cadb;
  --line: rgba(240, 245, 249, 0.14);
  --card: rgba(240, 245, 249, 0.05);
  --ink: #061529;            /* tmavý text na světlém tlačítku */
  --error: #ffb4a8;
  --accent: linear-gradient(100deg, var(--blue), var(--teal));
  --radius: 18px;
  --wrap: 1120px;
  --font: "Jakarta", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--navy-800);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 8px;
}
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.grad-text {
  background: var(--accent);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 2px; min-height: 44px; color: var(--text); text-decoration: none; }
.logo svg { width: 25px; height: 25px; margin-right: 1px; }
.logo span { font-weight: 700; font-size: 21px; letter-spacing: -0.01em; line-height: 1; padding-top: 3px; }
.logo img { height: 30px; width: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 20%, var(--navy-600) 0%, var(--navy-700) 38%, var(--navy-800) 72%, var(--navy-900) 100%);
}
/* Fotka chatky (assets/hero.webp): až bude, přidej třídu .has-photo na <section class="hero"> */
.hero.has-photo::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("/assets/img/hero.webp") center 60% / cover no-repeat;
}
.hero.has-photo::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 26, 51, 0.82) 0%, rgba(12, 35, 66, 0.72) 45%, rgba(8, 26, 51, 0.94) 100%);
}
/* Moduly v pozadí: jemný motiv čtverečků z loga */
.hero-modules {
  position: absolute; inset: auto -10% -2% -10%; height: 70%; z-index: -1;
  background-image: radial-gradient(circle at center, rgba(79, 209, 212, 0.16) 0 2px, transparent 2.5px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(60% 70% at 70% 100%, #000 0%, transparent 70%);
  mask-image: radial-gradient(60% 70% at 70% 100%, #000 0%, transparent 70%);
  pointer-events: none;
}
.topbar { padding: 18px 0 0; }
.hero-grid {
  display: grid;
  gap: 18px;
  padding: 18px 0 40px;
  grid-template-areas: "copy" "form";
}
.hero-copy { grid-area: copy; }
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--teal);
  margin-bottom: 10px;
}
.hero h1 { font-size: clamp(31px, 8.4vw, 60px); font-weight: 800; }
.hero-sub-row { display: grid; grid-template-columns: 1fr 118px; gap: 14px; align-items: center; margin-top: 14px; }
.hero-sub { color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-mockup-desktop { display: none; }
.hero-form { grid-area: form; }

@media (min-width: 900px) {
  .topbar { padding-top: 28px; }
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    grid-template-areas: "copy mock" "form mock";
    column-gap: 56px; row-gap: 28px;
    padding: 56px 0 96px;
    align-items: start;
  }
  .hero-sub-row { grid-template-columns: 1fr; margin-top: 20px; }
  .hero-sub { font-size: 19px; max-width: 34em; }
  .hero-sub-row .mockup { display: none; }
  .hero-mockup-desktop { display: block; grid-area: mock; align-self: center; padding: 10px 30px 0; }
  .eyebrow { font-size: 15px; margin-bottom: 16px; }
  .hero-form { max-width: 520px; }
}

/* ---------- 3D mockup (zástupná kniha, nebo assets/img/mapa-mockup.webp) ---------- */
.mockup { position: relative; perspective: 1400px; margin-inline: auto; width: 100%; }
.mockup-float { position: relative; z-index: 1; animation: float 6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .mockup-float { animation: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.mockup::after { /* tyrkysová záře a stín pod knihou */
  content: ""; position: absolute; left: 12%; right: 12%; bottom: -6%; height: 14%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(79, 209, 212, 0.55), rgba(58, 138, 216, 0.18) 55%, transparent 75%);
  filter: blur(10px); z-index: 0;
}
.mockup img { width: 100%; height: auto; filter: drop-shadow(0 24px 30px rgba(3, 12, 26, 0.55)); }
.book {
  position: relative;
  aspect-ratio: 0.72;
  transform: rotateY(-22deg) rotateX(4deg);
  transform-style: preserve-3d;
  margin-inline: auto;
  width: 82%;
}
.book-cover {
  position: absolute; inset: 0;
  border-radius: 4px 10px 10px 4px;
  background:
    radial-gradient(90% 70% at 50% 30%, #1a5a9a 0%, #12396a 55%, #0b2242 100%);
  box-shadow:
    inset 6px 0 10px rgba(0, 0, 0, 0.35),
    inset -1px 0 0 rgba(255, 255, 255, 0.12),
    18px 26px 40px rgba(3, 12, 26, 0.6);
  padding: 13% 11% 10% 15%;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
}
.book-cover::before { /* hřbet */
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 7%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.35), rgba(255, 255, 255, 0.08) 60%, transparent);
}
.book-cover::after { /* odlesk */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.16) 0%, transparent 35%);
  pointer-events: none;
}
.book-pages { /* stránky na boku */
  position: absolute; top: 2%; bottom: 2%; right: -4%; width: 5%;
  background: repeating-linear-gradient(90deg, #e9eef3 0 1px, #c9d3dd 1px 2px);
  transform: rotateY(70deg); transform-origin: left center;
  border-radius: 0 3px 3px 0;
}
.book-kicker { font-size: 0.5em; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); }
.book-title { font-weight: 800; font-size: 1.32em; line-height: 1.08; letter-spacing: -0.02em; }
.book-title b { display: block; font-size: 2.3em; line-height: 0.95; }
.book-route { height: 22%; margin: 0 -4%; }
.book-brand { display: flex; align-items: center; gap: 2px; font-weight: 700; font-size: 0.62em; }
.book-brand svg { width: 1.5em; height: 1.3em; }
/* velikost písma na obálce podle šířky knihy */
.mockup--hero { width: 100%; font-size: 9px; }
.mockup--desk { max-width: 400px; font-size: 21px; }
.mockup--small { max-width: 190px; font-size: 10px; }

/* ---------- Formulář ---------- */
.form-card {
  background: rgba(8, 26, 51, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(3, 12, 26, 0.35);
}
@media (min-width: 900px) { .form-card { padding: 26px; } }
.field { display: grid; gap: 5px; margin-bottom: 10px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.field label small { font-weight: 500; opacity: 0.85; }
.field input {
  width: 100%; height: 50px; padding: 0 14px;
  font: inherit; font-size: 17px; color: var(--text);
  background: rgba(240, 245, 249, 0.07);
  border: 1px solid rgba(240, 245, 249, 0.24);
  border-radius: 12px;
  transition: border-color 0.2s, background 0.2s;
}
.field input::placeholder { color: rgba(185, 202, 219, 0.7); }
.field input:focus { border-color: var(--teal); background: rgba(240, 245, 249, 0.1); outline: none; box-shadow: 0 0 0 3px rgba(79, 209, 212, 0.25); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field-row { display: grid; gap: 0 10px; }
@media (min-width: 520px) { .field-row { grid-template-columns: 1fr 1.4fr; } }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--muted); margin: 4px 0 12px; cursor: pointer; }
.consent input { flex: 0 0 22px; width: 22px; height: 22px; margin: 0; accent-color: var(--teal); cursor: pointer; }
.consent a { color: var(--text); }
.error-msg { color: var(--error); font-size: 13.5px; font-weight: 500; min-height: 0; }
.error-msg:empty { display: none; }
.form-error { margin: 0 0 10px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 180, 168, 0.1); border: 1px solid rgba(255, 180, 168, 0.35); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px;
  font: inherit; font-size: 17.5px; font-weight: 800; letter-spacing: -0.005em;
  color: var(--ink); text-decoration: none;
  background: var(--accent);
  border: 0; border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(79, 209, 212, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(79, 209, 212, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn:active { transform: translateY(0); }
.btn[disabled] { filter: saturate(0.4) brightness(0.85); cursor: progress; }
.btn svg { width: 20px; height: 20px; }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid rgba(240, 245, 249, 0.3); box-shadow: none; }
.btn--ghost:hover { border-color: var(--teal); box-shadow: none; }
.trust { display: flex; gap: 10px; align-items: center; margin: 14px 4px 0; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.trust svg { flex: 0 0 18px; width: 18px; height: 18px; }
.micro { font-size: 13px; color: var(--muted); margin-top: 10px; text-align: center; line-height: 1.45; }

/* ---------- Sekce ---------- */
section { position: relative; }
.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 112px 0; } }
.section--alt { background: linear-gradient(180deg, var(--navy-900), #0a1f3b); }
.section h2 { font-size: clamp(28px, 6.4vw, 46px); font-weight: 800; }
.section-lead { color: var(--muted); margin-top: 12px; font-size: 18px; max-width: 36em; }
.center { text-align: center; }
.center .section-lead { margin-inline: auto; }

/* Bolest */
.pains { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; max-width: 760px; }
.pains li {
  display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start;
  padding: 18px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
  font-size: 18px; font-weight: 600; line-height: 1.4;
}
.icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(79, 209, 212, 0.1); border: 1px solid rgba(79, 209, 212, 0.25);
}
.icon svg { width: 24px; height: 24px; stroke: var(--teal); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.src { display: block; margin-top: 6px; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.stats { display: grid; gap: 12px; margin-top: 28px; max-width: 760px; }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat { padding: 16px 18px; border-left: 2px solid var(--teal); }
.stat b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.stat span { display: block; color: var(--muted); font-size: 15px; margin-top: 4px; }
.stat .src { margin-top: 6px; }
.bridge { margin-top: 36px; font-size: clamp(22px, 5vw, 30px); font-weight: 800; letter-spacing: -0.015em; }

/* Co v mapě najdeš */
.cards { display: grid; gap: 14px; margin-top: 36px; counter-reset: card; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(6, 1fr); } .card { grid-column: span 2; } .card:nth-child(4) { grid-column: 2 / span 2; } }
.card {
  position: relative; padding: 22px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
  transition: border-color 0.25s, transform 0.25s;
}
.card:hover { border-color: rgba(79, 209, 212, 0.45); transform: translateY(-2px); }
.card .icon { margin-bottom: 16px; }
.card h3 { font-size: 19px; font-weight: 800; }
.card p { color: var(--muted); font-size: 15.5px; margin-top: 8px; }
.cta-row { margin-top: 36px; display: flex; justify-content: center; }
.cta-row .btn { width: 100%; max-width: 420px; }

/* Proč my */
.story { display: grid; gap: 28px; align-items: center; max-width: 860px; }
@media (min-width: 800px) { .story.has-photo { grid-template-columns: 260px 1fr; } }
.story-photo img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; }
.story blockquote { margin: 18px 0 0; font-size: clamp(18px, 4.4vw, 21px); line-height: 1.6; }
.story blockquote p + p { margin-top: 14px; }
.signature { margin-top: 18px; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; }
.signature .logo span { font-size: 18px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; padding: 0; list-style: none; }
.facts li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 14.5px; font-weight: 600; }
.facts b { color: var(--teal); }

/* FAQ */
.faq { max-width: 760px; margin-top: 30px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-size: 18px; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal);
  transform: rotate(45deg); transition: transform 0.25s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--muted); padding: 0 0 20px; max-width: 40em; }

/* Závěr */
.final { background: radial-gradient(90% 80% at 50% 0%, var(--navy-600), var(--navy-800) 70%); }
.final-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .final-grid { grid-template-columns: 0.8fr 1fr; gap: 56px; } }
.final .mockup--small { margin-bottom: 8px; }
.final h2 { margin-top: 6px; }
.final .form-card { max-width: 520px; width: 100%; justify-self: center; }

/* Patička */
.footer { padding: 48px 0 40px; background: var(--navy-900); border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.footer-grid { display: grid; gap: 22px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1fr auto; align-items: center; } }
.footer .tagline { margin-top: 8px; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; padding: 0; margin: 0; list-style: none; }
.socials a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 12px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 14.5px;
}
.socials a:hover { border-color: var(--teal); }
.socials svg { width: 18px; height: 18px; stroke: var(--teal); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.footer-legal { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13.5px; }
.footer-legal a { color: var(--muted); display: inline-flex; min-height: 44px; align-items: center; }

/* Vstupní animace (jen když je zapnutý JS a pohyb) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Děkovací stránka ---------- */
.thanks-hero { padding-bottom: 20px; }
.thanks-head { display: grid; gap: 22px; align-items: center; padding: 30px 0 30px; }
@media (min-width: 900px) { .thanks-head { grid-template-columns: 1fr 260px; gap: 56px; padding: 64px 0 40px; } }
.check-badge { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); margin-bottom: 18px; }
.check-badge svg { width: 28px; height: 28px; stroke: var(--ink); fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.thanks-head h1 { font-size: clamp(30px, 7.6vw, 54px); font-weight: 800; }
.thanks-head p { color: var(--muted); margin-top: 14px; font-size: 17.5px; max-width: 34em; }
.thanks-head .btn { margin-top: 22px; }
.steps { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; counter-reset: step; max-width: 760px; }
.steps li {
  counter-increment: step;
  display: grid; grid-template-columns: 44px 1fr; gap: 16px;
  padding: 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
}
.steps li::before {
  content: counter(step); width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 19px; color: var(--ink); background: var(--accent);
}
.steps h3 { font-size: 19px; font-weight: 800; }
.steps p { color: var(--muted); margin-top: 6px; font-size: 16px; }
.steps .btn { margin-top: 14px; }
.teaser { margin-top: 36px; max-width: 760px; padding: 22px; border-radius: var(--radius); border: 1px dashed rgba(79, 209, 212, 0.45); background: rgba(79, 209, 212, 0.05); }
.teaser b { color: var(--teal); }

/* ---------- Textová stránka (zásady) ---------- */
.legal { padding: 40px 0 80px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(28px, 6vw, 42px); font-weight: 800; margin: 26px 0 8px; }
.legal h2 { font-size: 21px; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 10px; }
.legal ul { padding-left: 20px; }
.legal li + li { margin-top: 6px; }
.legal strong { color: var(--text); }
.todo { background: rgba(255, 214, 102, 0.12); color: #ffe7a3; padding: 0 4px; border-radius: 4px; }

/* ---------- Cookie lišta (zobrazí se jen se zapnutým Meta Pixelem nebo GA4) ---------- */
.cookie {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50;
  max-width: 560px; margin-inline: auto;
  padding: 16px; border-radius: 16px; background: #0a1f3b; border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); font-size: 14.5px; color: var(--muted);
}
.cookie p { margin-bottom: 12px; }
.cookie .btns { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie .btn { min-height: 46px; font-size: 15px; padding: 0 18px; flex: 1; }
.steps .btn { min-height: 48px; padding: 0 20px; font-size: 16px; white-space: nowrap; }
@media (max-width: 420px) { .steps li { grid-template-columns: 36px 1fr; gap: 12px; padding: 16px; } .steps li::before { width: 36px; height: 36px; font-size: 17px; } }

/* ===== Verze 2: jedna obrazovka, lesklé zrcadlové pozadí ===== */
.logo img { height: 28px; width: auto; }
@media (min-width: 900px) { .logo img { height: 32px; } }

.hero--solo { min-height: 100svh; display: flex; flex-direction: column; }
.hero--solo .hero-grid { flex: 1; }
.hero--solo {
  background:
    radial-gradient(70% 55% at 22% 8%, rgba(120, 190, 255, 0.28), transparent 60%),
    radial-gradient(60% 50% at 85% 30%, rgba(79, 209, 212, 0.14), transparent 65%),
    radial-gradient(120% 90% at 50% 30%, #1a5592 0%, #123e70 35%, #0c2342 70%, #081a33 100%);
}
/* lesk: diagonální odlesk jako na leštěném skle + zrcadlová „podlaha“ dole */
.gloss { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.gloss::before {
  content: ""; position: absolute; inset: -40% -60%;
  background:
    linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.07) 44%, rgba(255, 255, 255, 0.16) 47%, rgba(255, 255, 255, 0.05) 50%, transparent 56%),
    linear-gradient(115deg, transparent 58%, rgba(255, 255, 255, 0.05) 61%, transparent 64%);
  animation: sheen 14s ease-in-out infinite alternate;
}
.gloss::after { /* zrcadlová podlaha s horizontem */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%;
  background:
    linear-gradient(180deg, rgba(160, 215, 255, 0.22) 0, rgba(160, 215, 255, 0.06) 1px, transparent 2px),
    linear-gradient(180deg, rgba(58, 138, 216, 0.16), rgba(8, 26, 51, 0.0) 30%, rgba(8, 26, 51, 0.55));
}
@keyframes sheen { from { transform: translateX(-6%); } to { transform: translateX(6%); } }
@media (prefers-reduced-motion: reduce) { .gloss::before { animation: none; } }

/* lesklejší kniha s odrazem na zrcadlové podlaze */
.book-cover {
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0.04) 28%, transparent 40%, rgba(255, 255, 255, 0.08) 72%, transparent 80%),
    radial-gradient(90% 70% at 50% 30%, #1c64ab 0%, #12396a 55%, #0b2242 100%);
}
.book-brand img { width: 6.2em; height: auto; }

/* skleněná karta formuláře */
.hero--solo .form-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04) 40%, rgba(8, 26, 51, 0.45));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 24px 60px rgba(3, 12, 26, 0.45);
}

.hero--solo .hero-sub { margin-top: 12px; }
.hero-points-row { display: grid; grid-template-columns: 1fr 104px; gap: 12px; align-items: center; margin-top: 14px; }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.points li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; align-items: start; font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.points svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--accent); stroke: var(--ink); fill: none; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; margin-top: 0; }
.mockup--hero { font-size: 8px; }
.hero--solo .hero-grid { padding-bottom: 28px; }

@media (min-width: 900px) {
  .hero-points-row { grid-template-columns: 1fr; margin-top: 22px; }
  .hero-points-row .mockup { display: none; }
  .points { gap: 11px; }
  .points li { font-size: 17px; grid-template-columns: 24px 1fr; gap: 12px; }
  .points svg { width: 24px; height: 24px; padding: 4px; }
  .hero--solo .hero-grid { grid-template-areas: "copy mock" "form mock"; padding: 36px 0 64px; row-gap: 26px; }
  .hero--solo .hero-mockup-desktop { padding-bottom: 60px; }
}

.trust { display: block; margin: 12px 4px 0; text-align: center; }

.footer--slim { padding: 22px 0 26px; font-size: 13.5px; }
.footer-row { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; justify-content: space-between; }
.footer-row img { height: 22px; width: auto; }
.footer-legal-inline a { color: var(--muted); }
.gloss::after { height: 25%; }
@media (max-width: 899px) { .gloss::after { display: none; } .hero--solo .hero-sub { font-size: 15px; } .topbar { padding-top: 12px; } .hero-grid { padding-top: 10px; } }
.hero--solo.thanks-hero { min-height: 0; }

/* ===== Verze 3: prostorové pozadí (hloubka, světelný kužel, opar, prach) ===== */
.gloss { display: none; }
.hero--solo {
  background:
    radial-gradient(120% 100% at 62% 38%, #0f3466 0%, #0a2148 38%, #061531 68%, #030a1a 100%);
}
.space { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
/* mlhavý opar: několik rozostřených mraků v barvách značky */
.space-haze {
  position: absolute; inset: -10%;
  background:
    radial-gradient(28% 22% at 70% 22%, rgba(79, 209, 212, 0.20), transparent 70%),
    radial-gradient(34% 28% at 78% 48%, rgba(58, 138, 216, 0.26), transparent 72%),
    radial-gradient(30% 26% at 22% 70%, rgba(21, 73, 127, 0.55), transparent 70%),
    radial-gradient(22% 18% at 40% 18%, rgba(58, 138, 216, 0.12), transparent 70%),
    radial-gradient(40% 30% at 90% 85%, rgba(79, 209, 212, 0.08), transparent 70%);
  filter: blur(30px);
  animation: haze 40s ease-in-out infinite alternate;
}
@keyframes haze { from { transform: translate3d(-1.5%, 0, 0) scale(1); } to { transform: translate3d(1.5%, -1%, 0) scale(1.05); } }
/* kužel světla shora, dopadá na knihu */
.space-beam {
  position: absolute; top: -12%; left: 72%; width: 70vmax; height: 100%;
  transform: translateX(-50%);
  filter: blur(34px);
}
.space-beam::before { /* samotný kužel; rozmazaný celý i s hranami */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(55% 100% at 50% 0%, rgba(150, 228, 238, 0.30), rgba(79, 209, 212, 0.12) 42%, rgba(58, 138, 216, 0.05) 65%, transparent 80%);
  clip-path: polygon(43% 0, 57% 0, 96% 100%, 4% 100%);
}
.space-beam::after { /* zdroj světla nahoře */
  content: ""; position: absolute; left: 50%; top: 6%; width: 30%; height: 16%; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(210, 248, 252, 0.55), transparent);
}
.space-dust { position: absolute; inset: 0; width: 100%; height: 100%; }
.space::after { /* vinětace: tmavé okraje dávají hloubku */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(110% 90% at 60% 40%, transparent 45%, rgba(2, 8, 20, 0.65) 100%);
}
@media (max-width: 899px) {
  .space-beam { left: 80%; top: -4%; width: 120vw; height: 62%; filter: blur(26px); }
  .space-haze { filter: blur(22px); }
}
@media (prefers-reduced-motion: reduce) { .space-haze { animation: none; } }
/* kniha nasvícená shora: lem světla a záře za ní */
.mockup::before {
  content: ""; position: absolute; left: 50%; top: 45%; width: 120%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(79, 209, 212, 0.22), rgba(58, 138, 216, 0.10) 50%, transparent);
  filter: blur(14px); z-index: 0;
}
.book-cover { box-shadow: inset 6px 0 10px rgba(0, 0, 0, 0.35), inset 0 2px 0 rgba(160, 235, 240, 0.55), inset -1px 0 0 rgba(255, 255, 255, 0.12), 18px 30px 50px rgba(1, 6, 16, 0.75), 0 -6px 30px rgba(79, 209, 212, 0.18); }
.hero--solo .form-card { background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03) 40%, rgba(4, 14, 32, 0.55)); }
/* silnější kužel a mlhavá textura (jako dým ve světle) */
.space-beam::before { background: radial-gradient(55% 100% at 50% 0%, rgba(170, 236, 244, 0.55), rgba(79, 209, 212, 0.22) 40%, rgba(58, 138, 216, 0.08) 65%, transparent 82%); }
.space-beam::after { background: radial-gradient(closest-side, rgba(225, 250, 253, 0.8), rgba(79, 209, 212, 0.25) 60%, transparent); }
.space-smoke {
  position: absolute; top: -12%; left: 30%; width: 90%; height: 110%;
  background: url("/assets/img/mlha.webp") center / 100% 100% no-repeat;
  animation: smoke 60s linear infinite alternate;
}
@keyframes smoke { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-4%, -3%, 0); } }
@media (max-width: 899px) { .space-smoke { left: 20%; width: 130%; top: -10%; height: 70%; opacity: 0.85; } }
@media (prefers-reduced-motion: reduce) { .space-smoke { animation: none; } }
.hero--solo .form-card { -webkit-backdrop-filter: none; backdrop-filter: none; background: linear-gradient(160deg, rgba(40, 90, 150, 0.35), rgba(10, 30, 62, 0.72) 45%, rgba(4, 14, 32, 0.85)); }
.hero--solo .form-card { background: linear-gradient(160deg, rgba(40, 90, 150, 0.45), rgba(10, 30, 62, 0.88) 45%, rgba(4, 14, 32, 0.94)); }
.thanks-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(transparent, #081a33); z-index: -1; pointer-events: none; }
