/* ============================================================
   WEB DO 48 HODIN — sdílený design systém pro 5 šablon
   Všechny barvy přes CSS proměnné → generátor mění jen :root
   ============================================================ */

:root {
  /* Brand — mění generátor per klient */
  --brand: #8363d5;          /* primární */
  --brand-deep: #6b4fb8;     /* hover / tmavší */
  --brand-soft: #efedfb;     /* pozadí sekcí */
  --accent: #0e91ad;         /* akcent / CTA */

  /* Neutrální */
  --ink: #1c1730;
  --muted: rgba(28, 23, 48, 0.66);
  --hair: rgba(28, 23, 48, 0.12);
  --paper: #ffffff;
  --paper-2: #f6f4fb;
  --dark: #0d0a1a;
  --dark-text: #efedfb;
  --dark-muted: rgba(239, 237, 251, 0.78);
  --dark-hair: rgba(239, 237, 251, 0.12);

  /* Rozměry */
  --pad: clamp(20px, 4.6vw, 56px);
  --wide: 1240px;
  --radius: 14px;

  /* Font */
  --sans: 'Sen', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 0.55em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.2rem); letter-spacing: -0.015em; }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(48px, 8vw, 88px) 0; }
.section--soft { background: var(--paper-2); }
.section--dark { background: var(--dark); color: var(--dark-text); }
.section--dark h2, .section--dark h3 { color: var(--dark-text); }
.section--dark .muted { color: var(--dark-muted); }
.muted { color: var(--muted); }
.center { text-align: center; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.78rem; font-weight: 700; color: var(--brand-deep);
  margin-bottom: 0.6rem;
}
.section--dark .eyebrow { color: var(--brand-soft); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hair);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.logo { font-weight: 800; font-size: 1.25rem; color: var(--ink); letter-spacing: -0.01em; }
.logo span { color: var(--brand); }
.site-nav { display: flex; gap: 1.6rem; align-items: center; }
.site-nav a { color: var(--ink); font-weight: 600; font-size: 0.96rem; }
.site-nav a:hover { color: var(--brand-deep); text-decoration: none; }
.nav-cta {
  background: var(--brand); color: #fff !important;
  padding: 0.55rem 1.1rem; border-radius: 999px; font-weight: 700;
}
.nav-cta:hover { background: var(--brand-deep); }
@media (max-width: 820px) {
  .site-nav { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero--light { background: var(--brand-soft); }
.hero--dark { background: var(--dark); color: var(--dark-text); }
.hero--dark .muted { color: var(--dark-muted); }
.hero .wrap {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
  padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px);
}
.hero h1 { margin-bottom: 0.4em; }
.hero .lede { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero--dark .lede { color: var(--dark-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.6rem; }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; } }

.btn {
  display: inline-block; padding: 0.85rem 1.6rem;
  border-radius: 999px; font-weight: 700; font-size: 1rem;
  background: var(--brand); color: #fff;
  border: 2px solid var(--brand);
  cursor: pointer; transition: background 0.18s, border-color 0.18s, transform 0.12s;
}
.btn:hover { background: var(--brand-deep); border-color: var(--brand-deep); text-decoration: none; transform: translateY(-1px); }
.btn--accent { background: var(--accent); border-color: var(--accent); }
.btn--accent:hover { background: #0b7a90; border-color: #0b7a90; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.hero--dark .btn--ghost { color: var(--dark-text); border-color: var(--dark-text); }
.hero--dark .btn--ghost:hover { background: var(--dark-text); color: var(--dark); }

/* ---------- Karty ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper); border: 1px solid var(--hair);
  border-radius: var(--radius); padding: 1.6rem;
}
.card h3 { margin-bottom: 0.4em; }
.card .muted { font-size: 0.95rem; }
.card--icon .ico {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand-deep);
  display: grid; place-items: center; margin-bottom: 1rem; font-size: 1.4rem;
}
.section--dark .card { background: rgba(255,255,255,0.05); border-color: var(--dark-hair); }
.section--dark .card h3 { color: var(--dark-text); }

/* ---------- Reference / galerie ---------- */
.ph {
  aspect-ratio: 4/3; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--brand-soft), var(--brand-soft) 55%, #e3dafb);
  display: grid; place-items: center; color: var(--brand-deep);
  font-weight: 700; font-size: 0.95rem; margin-bottom: 1rem;
}
.ph--wide { aspect-ratio: 16/9; }
.ph--tall { aspect-ratio: 3/4; }

/* ---------- CTA pás ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--brand), var(--brand-deep));
  color: #fff; text-align: center;
  padding: clamp(48px, 7vw, 80px) var(--pad);
}
.cta-band h2 { color: #fff; margin-bottom: 0.35em; }
.cta-band p { color: rgba(255,255,255,0.88); max-width: 40em; margin: 0 auto 1.6rem; }
.cta-band .btn { background: #fff; color: var(--brand-deep); border-color: #fff; }
.cta-band .btn:hover { background: var(--brand-soft); }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 1rem; }
.form label { font-weight: 600; font-size: 0.92rem; }
.form input, .form textarea, .form select {
  width: 100%; padding: 0.8rem 1rem;
  border: 1px solid var(--hair); border-radius: 10px;
  font: inherit; background: var(--paper);
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--brand); border-color: transparent; }
.form--static { align-content: start; }
.form-note { color: var(--muted, #666); margin: 0 0 0.4rem; }
.form--static .btn { justify-self: start; }
.contact-meta { display: grid; gap: 1.1rem; }
.contact-meta .item { display: flex; gap: 0.8rem; align-items: flex-start; }
.contact-meta .ico { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-deep); display: grid; place-items: center; font-size: 1.1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--dark-muted); padding: clamp(40px, 6vw, 64px) 0 2rem; }
.site-footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer h4 { color: var(--dark-text); font-size: 0.95rem; margin-bottom: 0.8rem; }
.site-footer a { color: var(--dark-muted); }
.site-footer a:hover { color: var(--dark-text); }
.footer-bottom { border-top: 1px solid var(--dark-hair); margin-top: 2.4rem; padding-top: 1.4rem; font-size: 0.85rem; }
@media (max-width: 820px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* ---------- Drobečky / perex ---------- */
.page-lede { font-size: 1.15rem; color: var(--muted); max-width: 40em; margin-bottom: 2rem; }

/* ---------- Seznamy s fajfkou ---------- */
.check-list { list-style: none; padding-left: 0; }
.check-list li { padding-left: 1.8rem; position: relative; margin-bottom: 0.55rem; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--brand-deep); font-weight: 800;
}

/* ---------- Cenové karty ---------- */
.price-card { text-align: center; }
.price-card .price { font-size: 2rem; font-weight: 800; color: var(--brand-deep); margin: 0.6rem 0 0.2rem; }
.price-card .per { color: var(--muted); font-size: 0.9rem; }
.price-card .btn { margin-top: 1.1rem; }
.price-card--hot { border: 2px solid var(--brand); position: relative; }
.price-card--hot::before {
  content: "Nejoblíbenější"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-size: 0.72rem; font-weight: 700;
  padding: 0.25rem 0.9rem; border-radius: 999px; white-space: nowrap;
}

/* ---------- Statistiky ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; text-align: center; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stats .num { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: var(--brand-deep); }
.stats .lbl { color: var(--muted); font-size: 0.92rem; }
