:root{
  /* stejná barva jako pozadí loga -> splývá */
   --bg: #FFF7E6;

  --ink: #103c46;
  --muted: #3e5f67;

  --brand: #0f5a66;
  --brand2:#2a8f78;
  --accent:#f0642c;

  --card: rgba(255,255,255,.72);
  --stroke: rgba(16,60,70,.12);

  --radius: 16px;
  --shadow: 0 12px 30px rgba(16,60,70,.10);
  --shadow2: 0 8px 18px rgba(16,60,70,.08);

  --max: 980px;
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;

  /* jemné pozadí, aby to působilo jako “ordinace” */
  background-image:
    radial-gradient(1200px 600px at 10% -15%, rgba(240,100,44,.10), transparent 60%),
    radial-gradient(900px 500px at 110% 25%, rgba(42,143,120,.12), transparent 55%);
  background-attachment: fixed;
}

.page{
  margin-top: 140px; /* prostor pro fixed header */
}

a{ color: inherit; }
.wrap{ width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }

/* Sticky header pořád nahoře */
.site-header{
  position: fixed;          /* TRVALE VIDITELNÉ */
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #FEF5DE;
  border-bottom: 1px solid var(--stroke);
  backdrop-filter: blur(10px);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 10px 0;
}

/* Větší logo v záhlaví */


.brand{
  display: flex;
  align-items: center;
  gap: 16px;   /* mezera mezi logem a textem */
text-decoration: none;   /* zruší podtržení odkazu */
  color: inherit;  
}

.brand-text{
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}


.brand-text strong{
  font-family: "Playfair Display", serif; /* hezký, důvěryhodný font */
  font-size: 26px;        /* VĚTŠÍ JMÉNO */
  font-weight: 700;
  color: #C62828;  
  text-decoration: none;  /* bez podtržení */
  letter-spacing: 0.3px;
}

.brand-text span{
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  color: #0F5A66;

}



.brand-logo{
  height: 130px;           /* JEŠTĚ VĚTŠÍ LOGO */
  width: auto;
  display:block;
  border-radius: 14px;

  /* splývání s pozadím stránky */
  background: var(--bg);
   /* filter: drop-shadow(0 10px 14px rgba(16,60,70,.10));*/
}

.nav{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content:center;
}
.nav a{
  text-decoration:none;
  font-size: 14px;
  color: var(--muted);
  padding: 10px 10px;
  border-radius: 12px;
  transition: background .15s ease, color .15s ease;
}
.nav a:hover{
  background: rgba(255,255,255,.60);
  color: var(--ink);
}

.header-cta{ display:flex; }

.page{ padding-bottom: 18px; }

/* One-column sekce */
.section{
  scroll-margin-top: 150px; /* aby nadpis nebyl schovaný pod záhlavím */
  padding: 28px 0;
}
.section h2{
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -0.2px;
}
.section-lead{
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.hero{
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.hero h1{
  margin: 0 0 6px;
  font-size: clamp(30px, 3.3vw, 44px);
  letter-spacing: -0.6px;
  line-height: 1.1;
}
.subtitle{
  margin: 0 0 14px;
  color: var(--muted);
}

.hero-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0 14px;
}

.notice{
  border: 1px dashed color-mix(in srgb, var(--brand) 30%, var(--stroke));
  background: rgba(255,255,255,.55);
  border-radius: 14px;
  padding: 12px;
  color: var(--muted);
}

/* Cards / blocks */
.cards{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.card, .block{
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  padding: 16px;
}
.card h3, .block h3{
  margin: 0 0 6px;
  font-size: 16px;
}
.card p, .block p{
  margin: 0;
  color: var(--muted);
}

/* Table */

.table-wrap{
  overflow:auto;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.55);
  margin-top: 10px;
}



table{
width:max-content;
table-layout: auto; 
border-collapse: collapse;
min-width: 380px;
}
th{
  text-align:left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--stroke);
  font-size: 14px;
}

td{
  text-align:left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--stroke);
  font-size: 14px;
}


th{
  background: rgba(255,255,255,.55);
}
tbody tr:last-child td{ border-bottom:none; }
.hint{
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

/* Chips */
.chips{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
}
.chip{
  display:inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.60);
  color: var(--muted);
  font-size: 13px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.60);
  text-decoration:none;
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow2);
  transition: transform .12s ease, background .12s ease;
}
.btn:hover{ transform: translateY(-1px); background: rgba(255,255,255,.78); }
.btn-primary{
  border-color: color-mix(in srgb, var(--brand) 34%, var(--stroke));
  background: color-mix(in srgb, var(--brand) 12%, white 88%);
}
.btn-ghost{
  border-color: var(--stroke);
}

.actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* Map */
.map{
  margin-top: 12px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  overflow:hidden;
  background: rgba(255,255,255,.55);
  min-height: 320px;
}
iframe{ width:100%; height: 340px; border: 0; display:block; }

/* Footer */
.footer{
  border-top: 1px solid var(--stroke);
  background: var(--bg);
  padding: 18px 0 28px;
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}
.footer-links{
  display:flex;
  gap: 12px;
}
.footer-links a{
  color: var(--muted);
  text-decoration:none;
}
.footer-links a:hover{ text-decoration: underline; }

/* Responsive */
@media (max-width: 840px){
  .header-inner{
    flex-direction: column;
    align-items: stretch;
  }
  .brand{ justify-content:center; }
  .header-cta{ justify-content:center; }
  .nav{ justify-content:center; }
  table{ min-width: 520px; }
}

/* PRIDANE  */

.nav a{
  font-weight: 600;
  border-bottom: 3px solid transparent;
}

.nav a:hover{
  color: var(--brand);
  border-bottom-color: rgba(15,90,102,.35);
}

.nav a.active{
  color: var(--brand);
  border-bottom-color: var(--brand);
}

.header-cta{
  display: none;
}

.two-columns{
  display: grid;
  grid-template-columns: 1fr 1fr; /* dva stejné sloupce */
  gap: 16px;
}

@media (max-width: 768px){
  .two-columns{
    grid-template-columns: 1fr;
  }
}




.table-wrap table{
  table-layout: fixed;
  width: max-content;
}

.table-wrap th,
.table-wrap td{
  padding: 8px 8px;
}

.table-wrap th:nth-child(1),
.table-wrap td:nth-child(1){
  width: 80px;
}

.table-wrap th:nth-child(2),
.table-wrap td:nth-child(2)
.table-wrap th:nth-child(3),
.table-wrap td:nth-child(3){
  width: 120px;
}





@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: center;
  }
  .menu {
    font-size: 16px;
  }
}


@media (max-width: 768px){
  .brand-logo{
    height: 80px;
  }

  .brand-text strong{
    font-size: 20px;
  }
}

@media (max-width: 768px){
  .brand-logo{
    height: 80px;
  }

  .brand-text strong{
    font-size: 20px;
  }
}¨

@media (max-width: 768px){
  body{
    background-attachment: scroll !important;
  }
}

.badge {
  display: inline-block;
  background-color: #e6f7f1;   /* světle zelené pozadí */
  color: #0f5132;              /* tmavě zelený text */
  padding: 6px 12px;
  border-radius: 999px;        /* pilulka */
  font-weight: 600;
  border: 1px solid #badbcc;
}

.badge2 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  background: color-mix(in srgb, var(--brand) 12%, white 88%);
  color: var(--brand);
  border: 1px solid color-mix(in srgb, var(--brand) 35%, white);
}

@media (max-width: 768px) {
  header {
    width: 100% !important;
    max-width: 100% !important;
    left: 0;
    right: 0;
    box-sizing: border-box;
  }
}
