/* =========================================================
   style.css  —  ZÁKLADNÍ STYLY WEBU (CSS ONLY)
   Pozn.: Neobsahuje žádné HTML tagy. Patří do /style.css
   ========================================================= */

/* ---------- Základ ---------- */
:root{
  --ink: #0b1411;
  --muted: rgba(11,20,17,.64);
  --stroke: rgba(11,20,17,.10);

  --brand: #39c19b;
  --brandSoft: rgba(57,193,155,.14);

  --card: rgba(255,255,255,.92);

  --r14: 14px;
  --r18: 18px;
  --r22: 22px;

  --shadow1: 0 10px 26px rgba(0,0,0,.10);
  --shadow2: 0 18px 40px rgba(0,0,0,.12);
}

html{ -webkit-text-size-adjust: 100%; }
body{
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", sans-serif;
  line-height: 1.55;
}

a{ color: inherit; }
a:hover{ text-decoration: none; }

/* ---------- Horní CTA lišta ---------- */
.top-call{
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.top-call .cta{
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 14px;
  font-weight: 950;
  letter-spacing: .15px;
  text-decoration: none;
}

/* ---------- CTA tlačítka (pro nové stránky) ---------- */
.cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(57,193,155,.42);
  background: rgba(57,193,155,.14);
  box-shadow: 0 10px 20px rgba(0,0,0,.08);
  text-decoration: none;
  font-weight: 950;
  letter-spacing: .15px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.cta:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(0,0,0,.10);
  border-color: rgba(57,193,155,.60);
}

.cta--ghost{
  background: rgba(255,255,255,.92);
  border-color: rgba(0,0,0,.12);
}

/* ---------- Tabulkový layout webu (necháváme) ---------- */
#Table_01{
  border-collapse: collapse;
}

/* ---------- Moderní obsah (home-card) ---------- */
.home-card{
  max-width: 1040px;
  margin: 0 auto;
  padding: 26px 20px;
  background:
    radial-gradient(900px 320px at 10% -5%, rgba(57,193,155,.18), transparent 60%),
    radial-gradient(860px 340px at 95% 0%, rgba(31,138,109,.14), transparent 55%),
    linear-gradient(180deg, rgba(245,248,247,.95), rgba(245,248,247,.70));
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--r22);
  box-shadow: var(--shadow2);
  color: rgba(11,20,17,.92);
}

/* obrázky uvnitř “moderních karet” mohou být responzivní
   (netýká se to slice obrázků v hlavičce, protože ty nejsou v .home-card) */
.home-card img{
  max-width: 100%;
  height: auto;
}

.home-section{
  margin: 0 0 18px;
  padding: 0 0 18px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.home-section:last-child{
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}

/* Hero */
.home-hero h1{
  margin: 0 0 8px;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.10;
  letter-spacing: .2px;
}

.home-subtitle{
  margin: 0 0 10px;
  color: var(--muted);
  font-weight: 800;
}

.home-lead{
  margin: 0 0 10px;
  color: rgba(11,20,17,.75);
  font-size: 16px;
}

.home-quote{
  margin: 12px 0;
  padding: 10px 12px;
  border-radius: var(--r14);
  background: rgba(57,193,155,.10);
  border: 1px solid rgba(57,193,155,.22);
  color: rgba(11,20,17,.68);
  font-style: italic;
}

.home-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0;
}

.home-mini-note{
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: var(--r14);
  background: rgba(57,193,155,.10);
  border: 1px solid rgba(57,193,155,.25);
}

/* Seznamy */
.home-section ul{
  margin: 10px 0 0 20px;
}
.home-section li{
  margin: 6px 0;
}

/* Znak kvality */
.home-badge{
  float: right;
  margin: 0 0 12px 14px;
}

/* Download ikony */
.download-icons{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}

.download-icons a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.86);
  box-shadow: 0 10px 18px rgba(0,0,0,.08);
  transition: transform .18s ease, box-shadow .18s ease;
}

.download-icons a:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 26px rgba(0,0,0,.10);
}

/* Dva sloupce pro “Když odejde…” */
.two-columns{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px 22px;
}

.two-columns p{
  margin: 0;
}

/* Patička */
.footer-links{
  max-width: 1040px;
  margin: 14px auto 28px;
  padding: 10px 14px;
  text-align: center;
  font-size: 12px;
  color: rgba(0,0,0,.60);
}

.footer-links a{
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,.25);
}

.footer-links a:hover{
  border-bottom-color: rgba(57,193,155,.70);
}

/* Utility */
.center{ text-align:center; }
.small{ font-size: 12px; }
.muted{ color: rgba(0,0,0,.62); }

/* ---------- Responsivita ---------- */
@media (max-width: 900px){
  .home-badge{
    float: none;
    margin: 0 0 12px;
    text-align: center;
  }
  .two-columns{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px){
  .cta{
    width: 100%;
  }
  .home-actions{
    flex-direction: column;
  }
}
