:root {
  --primary:     #C8854A;
  --primary-h:   #B87340;
  --highlight:   #F0B830;
  --warm:        #E8A030;
  --bg:          #0a0d14;
  --bg-2:        #101521;
  --surface:     rgba(23,28,38,0.68);
  --surface-strong: rgba(17,22,33,0.92);
  --border:      rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.13);
  --text:        #FFFFFF;
  --text-soft:   #D1D5DB;
  --text-muted:  #9CA3AF;
  --link:        #B67A5A;
  --accent:      #C8BD6B;
  --shadow:      0 18px 60px rgba(0,0,0,0.4);
  --radius:      16px;
  --container:   1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Pozadí ── */
.site-bg {
  position: fixed;
  inset: 0;
  background-image: url('hero-bg.png');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.75;
  pointer-events: none;
  z-index: -2;
}
.site-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8,10,16,0.35);
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}
.narrow { width: min(900px, 100%); }

/* ── Navigace ── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(0px);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
}
.topbar.scrolled {
  backdrop-filter: blur(16px);
  background: rgba(10,13,20,0.78);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 140px;
}
.brand-mark {
  width: 34px; height: 34px;
  display: inline-grid; place-items: center;
  color: var(--primary);
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-text {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: 1.5rem; font-weight: 700;
  letter-spacing: -0.03em; color: #f4f7fb;
}

.main-nav, .nav-actions {
  display: flex; align-items: center; gap: 28px;
}
.main-nav a, .login-link {
  color: var(--text-soft); font-weight: 500; font-size: 0.95rem;
  transition: color 0.2s;
}
.main-nav a:hover, .login-link:hover { color: #fff; }

.menu-toggle {
  display: none; background: transparent;
  border: 1px solid var(--border); color: var(--text);
  border-radius: 10px; padding: 8px 12px;
}

/* ── Tlačítka ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  min-height: 48px; padding: 0 22px;
  border-radius: 10px; border: 1px solid transparent;
  font-weight: 500; font-size: 0.95rem; letter-spacing: 0;
  transition: transform 0.18s ease, background 0.2s, border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(200,133,74,0.28);
}
.btn-primary:hover {
  background: var(--primary-h);
  border-color: var(--primary-h);
  box-shadow: 0 12px 28px rgba(200,133,74,0.35);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.18);
}
.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(200,133,74,0.09);
}

.btn-sm {
  min-height: 40px; padding: 0 18px;
  border-radius: 8px; font-size: 0.88rem;
}

/* ── Hero ── */
.hero { padding: 80px 0 110px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  min-height: auto;
  gap: 30px;
}

.hero-copy { position: relative; z-index: 2; max-width: 760px; }

.eyebrow, .section-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 20px;
  color: var(--highlight);
  text-transform: uppercase; letter-spacing: 0.16em;
  font-size: 0.78rem; font-weight: 600;
  text-shadow: 0 2px 12px rgba(240,184,48,0.45);
}
.eyebrow::before, .section-kicker::before {
  content: ''; width: 24px; height: 1px;
  background: currentColor; opacity: 0.9;
}

.hero h1 {
  margin: 0;
  font-family: 'Poppins', 'Manrope', 'Inter', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
}
.hero h1 span { color: var(--primary); }

.hero-text {
  margin: 22px 0 0;
  max-width: 520px;
  color: var(--text-soft);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
}

.hero-buttons {
  display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px;
}

.hero-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 0; margin-top: 52px;
  padding-top: 24px; border-top: 1px solid var(--border);
  max-width: 640px;
  background: rgba(10,13,20,0.45);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.hero-stats > div {
  padding: 20px 24px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-icon {
  color: var(--highlight);
  margin-bottom: 8px;
  opacity: 0.85;
}
.hero-stats > div:last-child { border-right: 0; }

.hero-stats strong {
  display: block;
  font-family: 'Poppins', 'Manrope', 'Inter', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600; letter-spacing: -0.03em; color: #fff;
}
.hero-stats span {
  display: block; margin-top: 4px;
  color: var(--text-muted); font-size: 0.82rem;
}

.hero-visual { display: none; }

/* ── Sections ── */
.section { padding: 96px 0; }

.section-head {
  text-align: center; max-width: 720px;
  margin: 0 auto 48px;
}
.section-head.align-left { text-align: left; margin-left: 0; }

.section-head h2 {
  margin: 0;
  font-family: 'Poppins', 'Manrope', 'Inter', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600; line-height: 1.12; letter-spacing: -0.03em;
  color: #fff;
}
.section-head p:last-child {
  margin: 14px 0 0;
  color: var(--text-soft); font-size: 1rem; line-height: 1.75;
}

/* ── Feature karty ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: rgba(200,133,74,0.38);
  transform: translateY(-2px);
}

.feature-card .icon {
  width: 48px; height: 48px;
  display: inline-grid; place-items: center;
  border-radius: 12px; margin-bottom: 18px;
  font-size: 1.3rem; color: var(--primary);
  background: rgba(200,133,74,0.12);
  border: 1px solid rgba(200,133,74,0.22);
}
.feature-card h3, .step-item h3 {
  margin: 0 0 10px;
  font-size: 1.1rem; font-weight: 600; line-height: 1.2;
}
.feature-card p, .step-item p, .faq-list p, .cta-box p {
  margin: 0; color: var(--text-soft); line-height: 1.7; font-size: 0.93rem;
}

/* ── Kroky ── */
.steps { display: grid; gap: 0; }
.step-item {
  display: grid; grid-template-columns: 64px 1fr;
  gap: 16px; align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}
.step-item:first-child { padding-top: 0; }
.step-item:last-child { border-bottom: 0; }
.step-index {
  color: var(--primary); font-weight: 700;
  letter-spacing: 0.08em; font-size: 0.82rem;
}

/* ── CTA ── */
.cta-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  padding: 56px 40px; text-align: center;
}
.cta-box h2 {
  margin: 0;
  font-family: 'Poppins', 'Manrope', 'Inter', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600; letter-spacing: -0.03em;
}
.cta-box p { margin: 14px auto 28px; max-width: 560px; }

/* ── FAQ ── */
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  padding: 0 22px; overflow: hidden;
  transition: border-color 0.2s;
}
.faq-list details[open] { border-color: rgba(200,133,74,0.32); }
.faq-list summary {
  list-style: none; cursor: pointer;
  padding: 20px 6px; font-weight: 600; font-size: 0.97rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list details p { padding: 0 6px 20px; }

/* ── Footer ── */
.footer {
  padding: 28px 0 44px;
  border-top: 1px solid var(--border);
}
.footer-wrap {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center; gap: 20px;
}
.footer-brand {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: 1.3rem; font-weight: 700;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a, .footer-copy { color: var(--text-muted); font-size: 0.88rem; }

/* ── Hero fullmap ── */
.hero-fullmap { display: none; }

/* ── Hero grid override ── */
.hero-grid {
  grid-template-columns: 1fr !important;
  min-height: auto !important;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 820px) {
  .container { width: min(var(--container), calc(100% - 28px)); }
  .main-nav, .nav-actions { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero { padding-top: 40px; }
  .hero-text { font-size: 0.97rem; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats > div { border-right: 0; border-bottom: 1px solid var(--border); }
  .hero-stats > div:last-child { border-bottom: 0; }
  .card-grid { grid-template-columns: 1fr; }
  .step-item { grid-template-columns: 1fr; gap: 8px; }
  .footer-wrap { grid-template-columns: 1fr; justify-items: start; }
}
