:root{
  --bg: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --card: #ffffff;
  --alt: #f7f7f8;
  --line: #e5e7eb;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --radius: 18px;

  --accent: #111827;
  --accent-2: #ffffff;

  --max: 1100px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }
.container{ width: min(var(--max), calc(100% - 32px)); margin-inline:auto; }

.skip{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip:focus{
  left:16px; top:16px; width:auto; height:auto;
  background:#fff; border:1px solid var(--line); padding:10px 12px; border-radius:12px;
  box-shadow: var(--shadow);
}

/* HEADER */
.header{
  position: sticky; top:0; z-index: 50;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: 12px 0;
  gap: 16px;
}
.brand{ display:flex; align-items:center; gap:10px; }
.brand__logo{ width:32px; height:32px; }
.brand__name{ font-weight: 700; letter-spacing:.2px; }

.nav{ display:flex; gap: 14px; }
.nav a{
  padding: 8px 10px;
  border-radius: 12px;
  text-decoration: none;
}
.nav a:hover{
  background: var(--alt);
  text-decoration: none;
}

.header__cta{ display:none; }
@media (min-width: 860px){
  .header__cta{ display:inline-flex; }
}

/* BUTTONS */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  cursor:pointer;
  text-decoration:none;
  font-weight: 600;
}
.btn:hover{ text-decoration:none; }
.btn--primary{
  background: var(--accent);
  color: var(--accent-2);
  border-color: var(--accent);
}
.btn--ghost{
  background: transparent;
}

/* HERO */
.hero{
  padding: 38px 0 16px;
}
.hero__grid{
  display:grid;
  gap: 20px;
}
.hero__text{
  padding: 18px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__wordmark{
  width: 180px;
  margin-bottom: 10px;
}
.hero h1{
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
}
.lead{
  margin: 0 0 16px;
  font-size: 1.05rem;
  color: var(--text);
}
.hero__actions{ display:flex; gap: 10px; flex-wrap:wrap; }
.micro{ color: var(--muted); margin-top: 14px; }

.hero__media{
  border-radius: var(--radius);
  overflow:hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

@media (min-width: 900px){
  .hero{ padding: 58px 0 18px; }
  .hero__grid{
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
  }
  .hero__media img{ aspect-ratio: 3/4; }
}

@media (max-width: 600px){
  .hero__wordmark{ width: 140px; }
  .hero h1{ font-size: 28px; }
  .hero{ padding-top: 30px; }
}

/* SECTIONS */
.section{ 
padding: 46px 0;
scroll-margin-top: 70px; /* výška headeru */ }
.section--alt{ background: var(--alt); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.section h2{
  margin: 0 0 16px;
  font-size: clamp(22px, 2.2vw, 28px);

}
.section__head{ display:flex; align-items:baseline; justify-content:space-between; gap: 16px; flex-wrap:wrap; }
.muted{ color: var(--muted); margin: 0; }
.fineprint{ color: var(--muted); font-size: .92rem; margin-top: 14px; }

/* CARDS */
.cards{
  display:grid;
  gap: 14px;
}
.card{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 16px 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
}
.card h3{ margin: 0 0 6px; font-size: 1.05rem; }
.card p{ margin: 0; color: var(--muted); }

@media (min-width: 860px){
  .cards{ grid-template-columns: repeat(3, 1fr); }
}

/* PRICING */
.pricing{
  display:grid;
  gap: 14px;
  margin-top: 12px;
}
.pricecard{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 16px;
  box-shadow: var(--shadow);
}
.pricecard__top{ margin-bottom: 10px; }
.pricecard h3{ margin: 0 0 6px; }
.price{ margin: 0; font-size: 1.6rem; font-weight: 800; }
.price span{ font-size: .95rem; font-weight: 600; color: var(--muted); }
.list{ margin: 12px 0 14px; padding-left: 18px; color: var(--muted); }
.pricecard--featured{
  border-color: #111827;
  transform: translateY(-2px);
}

@media (min-width: 860px){
  .pricing{ grid-template-columns: repeat(3, 1fr); }
}

/* CONTACT */
.contact__grid{
  display:grid;
  gap: 14px;
  margin-top: 14px;
}
.contact__card{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
}
.form{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
}
label{ display:block; font-weight: 700; font-size: .95rem; margin-bottom: 10px; }
input, textarea{
  width:100%;
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  font: inherit;
}
textarea{ resize: vertical; }
.form .btn{ margin-top: 6px; }

@media (min-width: 900px){
  .contact__grid{ grid-template-columns: .9fr 1.1fr; align-items:start; }
}

/* FOOTER */
.footer{
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
  color: var(--muted);
}

/* ===== MOBILE HEADER FIX (override at end) ===== */
@media (max-width: 859px){
  /* na mobilu schovej menu, nech jen logo + CTA */
  .nav{ display: none !important; }
  .header__cta{ display: inline-flex !important; }

  .header__inner{
    gap: 10px;
    padding: 10px 0;
  }

  .brand__name{
    font-size: 1rem;
  }

  .header__cta{
    padding: 10px 12px;
    white-space: nowrap;
  }
}
