/* ============================================================
   Společné styly — MVP web (pronájem dalekohledu + Rande s Měsícem)
   Mobile-first. Barvy dle handoff dokumentu:
   hluboká tmavě modrá + teplý jantarový akcent + mléčné světlé sekce
   ============================================================ */

:root {
  --navy-deep: #0a1424;      /* hlavní tmavé pozadí */
  --navy-soft: #13223a;      /* karty na tmavém */
  --cream: #faf6ee;          /* světlé funkční sekce */
  --cream-soft: #f1eadd;     /* karty na světlém */
  --amber: #e2a53f;          /* teplý akcent */
  --amber-dark: #c78d2b;
  --ink: #1c2430;            /* text na světlém */
  --ink-soft: #4c5867;
  --white: #f5f7fa;          /* text na tmavém */
  --white-soft: #b8c2d0;
  --todo-bg: #ffe9a8;        /* zvýraznění placeholderů */
  --todo-ink: #7a5b00;
  --radius: 14px;
  --maxw: 640px;             /* mobile-first: jedna kolona */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--navy-deep);
  color: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--amber); }

/* ---------- typografie ---------- */

h1, h2, h3 { line-height: 1.2; font-weight: 800; }

h1 { font-size: clamp(1.9rem, 6vw, 2.8rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.45rem, 4.5vw, 1.9rem); margin-bottom: 0.75em; letter-spacing: -0.01em; }
h3 { font-size: 1.1rem; margin-bottom: 0.35em; }

p + p { margin-top: 0.9em; }

.lead { font-size: 1.08rem; color: var(--white-soft); }

/* ---------- layout ---------- */

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 56px 0; }

.section-dark  { background: var(--navy-deep); color: var(--white); }
.section-light { background: var(--cream); color: var(--ink); }
.section-light .lead, .section-light p { color: var(--ink-soft); }
.section-light h2, .section-light h3, .section-light strong { color: var(--ink); }

/* ---------- hlavička ---------- */

header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 20, 36, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
  font-weight: 800;
  font-size: 1.02rem;
}

.brand img { width: 34px; height: auto; }

/* ---------- tlačítka ---------- */

.btn {
  display: inline-block;
  background: var(--amber);
  color: #201500;
  font-weight: 800;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 999px;
  border: none;
  font-size: 1.02rem;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:hover { background: var(--amber-dark); transform: translateY(-1px); }

.btn-small { padding: 9px 18px; font-size: 0.92rem; }

.btn-block { display: block; width: 100%; text-align: center; }

/* ---------- hero ---------- */

.hero { padding: 64px 0 56px; }

.hero .lead { margin-top: 14px; }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
  color: var(--white-soft);
  font-size: 0.95rem;
}

.hero-facts li::before { content: "✓ "; color: var(--amber); font-weight: 700; }

.hero-price {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 6px 0 22px;
}

.hero-price small {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white-soft);
  margin-top: 2px;
}

/* ---------- karty (hlavní stránka volby) ---------- */

.choice-grid { display: grid; gap: 18px; margin-top: 34px; }

.choice-card {
  display: block;
  text-decoration: none;
  background: var(--navy-soft);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius);
  padding: 26px 22px;
  color: var(--white);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.choice-card:hover { border-color: var(--amber); transform: translateY(-2px); }

.choice-card p { color: var(--white-soft); margin: 8px 0 16px; }

.choice-card .go { color: var(--amber); font-weight: 800; }

/* ---------- kroky ---------- */

.steps { list-style: none; counter-reset: step; display: grid; gap: 18px; }

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}

.steps li::before {
  content: counter(step);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--amber);
  color: #201500;
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- výhody / seznamy ---------- */

.feature-list { list-style: none; display: grid; gap: 14px; }

.feature-list li { padding-left: 28px; position: relative; }

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--amber-dark);
  font-weight: 800;
}

.section-dark .feature-list li::before { color: var(--amber); }

/* ---------- info box (cena, podmínky) ---------- */

.info-box {
  background: var(--cream-soft);
  border-radius: var(--radius);
  padding: 22px 20px;
  display: grid;
  gap: 12px;
}

.section-dark .info-box { background: var(--navy-soft); }

/* ---------- FAQ ---------- */

details {
  border-bottom: 1px solid rgba(28,36,48,0.15);
  padding: 4px 0;
}

details summary {
  cursor: pointer;
  font-weight: 700;
  padding: 12px 0;
  list-style: none;
  position: relative;
  padding-right: 28px;
}

details summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  color: var(--amber-dark);
  font-weight: 800;
  font-size: 1.2rem;
}

details[open] summary::after { content: "–"; }

details p { padding: 0 0 14px; }

/* ---------- placeholdery fotek a videa ---------- */

.ph-media {
  border: 2px dashed rgba(226,165,63,0.65);
  border-radius: var(--radius);
  background: rgba(226,165,63,0.07);
  min-height: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 24px 16px;
  color: var(--amber-dark);
  font-weight: 600;
  font-size: 0.95rem;
}

.section-dark .ph-media { color: var(--amber); }

.ph-media .ph-icon { font-size: 1.8rem; }

.ph-media small { font-weight: 500; opacity: 0.8; }

.media-grid { display: grid; gap: 14px; margin-top: 20px; }

/* ---------- placeholder kalendáře ---------- */

.ph-calendar {
  border: 2px dashed rgba(226,165,63,0.65);
  border-radius: var(--radius);
  background: rgba(226,165,63,0.07);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 24px;
  color: var(--amber-dark);
  font-weight: 600;
}

/* ---------- zvýraznění nedoplněných údajů ---------- */

.todo {
  background: var(--todo-bg);
  color: var(--todo-ink);
  border-radius: 5px;
  padding: 0 6px;
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- formulář ---------- */

form { display: grid; gap: 16px; margin-top: 24px; }

.field { display: grid; gap: 6px; }

.field label { font-weight: 700; font-size: 0.95rem; }

.field small { color: var(--ink-soft); font-size: 0.82rem; }

input[type="text"], input[type="email"], input[type="tel"],
input[type="date"], select, textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1.5px solid rgba(28,36,48,0.25);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}

input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--amber);
  border-color: var(--amber);
}

.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }

.radio-row label {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid rgba(28,36,48,0.25);
  border-radius: 10px;
  padding: 11px 14px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
}

.radio-row label:has(input:checked) {
  border-color: var(--amber);
  outline: 2px solid var(--amber);
}

.form-note {
  font-size: 0.9rem;
  color: var(--ink-soft);
  background: var(--cream-soft);
  border-left: 3px solid var(--amber);
  padding: 12px 14px;
  border-radius: 0 10px 10px 0;
}

/* honeypot proti spamu */
.hp-field { position: absolute; left: -9999px; opacity: 0; }

/* ---------- cross-link ---------- */

.cross-link {
  text-align: center;
  padding: 34px 0;
  font-size: 0.98rem;
}

/* ---------- patička ---------- */

footer.site {
  background: #060d18;
  color: var(--white-soft);
  padding: 36px 0 90px; /* spodní rezerva kvůli sticky CTA */
  font-size: 0.9rem;
}

footer.site .wrap { display: grid; gap: 10px; }

footer.site img { width: 30px; }

footer.site a { color: var(--white-soft); }

/* ---------- sticky spodní CTA (mobil) ---------- */

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(10, 20, 36, 0.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.sticky-cta .btn { display: block; text-align: center; }

/* ---------- větší obrazovky ---------- */

@media (min-width: 700px) {
  :root { --maxw: 760px; }
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .media-grid { grid-template-columns: 1fr 1fr; }
  .sticky-cta { display: none; }
  footer.site { padding-bottom: 36px; }
}
