:root{
  --bg:#ffffff;
  --surface:#f6f8fb;
  --text:#0f172a;
  --muted:#475569;
  --line:#e2e8f0;
  --primary:#18b5b1;
  --primary2:#0ea5e9;
  --shadow: 0 10px 30px rgba(2, 6, 23, .08);
  --radius:16px;
  --container:1100px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font-family:var(--font); color:var(--text); background:var(--bg); line-height:1.5}
a{color:inherit; text-decoration:none}
a:hover{color:var(--primary2)}
img{max-width:100%; display:block}

.skip-link{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{left:16px; top:16px; width:auto; height:auto; background:#fff; padding:10px 12px; border:1px solid var(--line); border-radius:12px; box-shadow:var(--shadow); z-index:9999}
:focus-visible{outline:3px solid rgba(24,181,177,.45); outline-offset:3px; border-radius:10px}

.container{max-width:var(--container); margin:0 auto; padding:0 20px}
header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.82);
  backdrop-filter:saturate(140%) blur(10px);
  border-bottom:1px solid rgba(226,232,240,.8);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  height:70px;
}
.brand{
  display:flex;
  flex-direction:column;
  gap:2px;
  text-decoration:none;
}
.brand-highlight{
  padding:10px 14px;
  border-radius:14px;
  background:var(--primary);
  color:#fff;
  border:1px solid rgba(255,255,255,.16);
}
.brand-highlight .brand-title{color:#fff}
.brand-highlight .brand-sub{color:rgba(255,255,255,.85)}
.brand svg{height:34px}
.brand small{color:var(--muted); font-weight:600; letter-spacing:.02em}
.navlinks{
  display:flex; align-items:center; gap:18px;
  font-weight:650; color:var(--muted);
}
.navlinks a{padding:10px 10px; border-radius:12px}
.navlinks a.active{color:var(--text); background:var(--surface); border:1px solid var(--line)}
.navlinks a:hover{background:var(--surface)}

.actions{display:flex; align-items:center; gap:10px}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px; border-radius:14px;
  border:1px solid var(--line);
  background:#fff; color:var(--text);
  font-weight:700;
}
.btn:hover{border-color:rgba(14,165,233,.35); box-shadow:0 8px 24px rgba(14,165,233,.10)}
.btn-primary{border-color:transparent; background:linear-gradient(135deg,var(--primary),var(--primary2)); color:#fff}
.btn-primary:hover{box-shadow:0 10px 30px rgba(24,181,177,.25)}
.btn-ghost{background:transparent}

.burger{display:none; border:1px solid var(--line); background:#fff; border-radius:14px; padding:10px 12px; cursor:pointer}
.burger span{display:block; width:20px; height:2px; background:var(--text); margin:4px 0; border-radius:2px}

.mobile{
  display:none;
  padding:8px 0 18px 0;
}
.mobile a{display:block; padding:12px 14px; border-radius:14px; color:var(--muted); font-weight:700}
.mobile a.active{color:var(--text); background:var(--surface); border:1px solid var(--line)}
.mobile .divider{height:1px; background:var(--line); margin:10px 0}
.mobile .btn{width:100%}

.hero{
  padding:58px 0 26px 0;
}
.hero-grid{
  display:grid; grid-template-columns:1.25fr .9fr; gap:30px; align-items:start;
}
.kicker{
  display:inline-flex; gap:8px; align-items:center;
  background:rgba(24,181,177,.10);
  color:rgba(2,132,199,.95);
  border:1px solid rgba(14,165,233,.25);
  padding:8px 12px;
  border-radius:999px;
  font-weight:800;
  letter-spacing:.02em;
}
h1{font-size:44px; line-height:1.08; margin:14px 0 14px 0}
.lead{font-size:18px; color:var(--muted); max-width:60ch}
.btnrow{display:flex; gap:12px; flex-wrap:wrap; margin-top:18px}

.card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:0 12px 30px rgba(2,6,23,.05);
  padding:22px 24px;
}
.panel{
  padding:18px;
}
.hero-side{
  background:linear-gradient(180deg, rgba(24,181,177,.12), rgba(14,165,233,.10));
  border:1px solid rgba(14,165,233,.20);
}
.hero-side h3{margin:0 0 8px 0}
.hero-side p{margin:0; color:var(--muted)}
.badges{display:flex; flex-wrap:wrap; gap:10px; margin-top:14px}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 12px; border-radius:999px;
  background:#fff; border:1px solid rgba(226,232,240,.9);
  font-weight:750; color:rgba(15,23,42,.92);
}
.badge i{width:10px; height:10px; border-radius:50%; background:linear-gradient(135deg,var(--primary),var(--primary2)); display:inline-block}

.section{padding:34px 0}
.section-tight{padding-top:16px}
.stack > * + *{margin-top:14px}

.section h2{font-size:26px; margin:0 0 14px 0}
.grid3{display:grid; grid-template-columns:repeat(3,1fr); gap:16px}
.grid2{display:grid; grid-template-columns:repeat(2,1fr); gap:16px}
.feature{
  padding:18px;
}
.feature h3{margin:0 0 6px 0; font-size:18px}
.feature p{margin:0; color:var(--muted)}
.icon{
  width:42px; height:42px; border-radius:14px;
  background:linear-gradient(135deg, rgba(24,181,177,.18), rgba(14,165,233,.18));
  border:1px solid rgba(14,165,233,.18);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:10px;
}
.icon svg{width:22px; height:22px}

.cert{
  display:grid; gap:20px; grid-template-columns:1.35fr .95fr; align-items:center;
  padding:18px;
  background:linear-gradient(180deg, rgba(246,248,251,.7), rgba(255,255,255,1));
}
.cert .meta{color:var(--muted); font-weight:650; margin-top:10px}
.cert .preview{
  border-radius:14px; overflow:hidden; border:1px solid var(--line); background:#fff;
}
.cert .preview iframe{width:100%; height:260px; border:0}
.small{font-size:14px; color:var(--muted)}

.cta{
  padding:20px;
  display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap;
  background:linear-gradient(135deg, rgba(24,181,177,.14), rgba(14,165,233,.12));
  border:1px solid rgba(14,165,233,.22);
}
.cta h2{margin:0; font-size:24px}
.cta p{margin:6px 0 0 0; color:var(--muted); max-width:70ch}

.footer{
  padding:26px 0 32px 0;
  border-top:1px solid var(--line);
  color:var(--muted);
}
.footergrid{display:grid; grid-template-columns:1fr auto 1fr; gap:24px; align-items:center}
.footer a{color:var(--muted); text-decoration:underline; text-decoration-color:rgba(100,116,139,.35)}
.footer a:hover{color:var(--text)}
.footcol{font-size:14px; line-height:1.55}
.footleft{text-align:left}
.footcenter{text-align:center}
.footright{text-align:right}

.foothead{font-weight:600; color:var(--text); margin-bottom:6px}
.footitem{display:flex; gap:10px; align-items:flex-start; justify-content:flex-start; margin:3px 0}
.footicon{width:18px; height:18px; flex:0 0 18px; margin-top:2px; opacity:.85}
.heliosbadge{max-width:180px; width:100%; height:auto; display:inline-block}
.disabled-link{opacity:.6; text-decoration:none; cursor:default}
.disabled-link:hover{color:var(--muted)}
@media (max-width: 820px){
  .footergrid{grid-template-columns:1fr; gap:14px; text-align:center}
  .footleft,.footright{text-align:center}
}

.kv{display:grid; grid-template-columns:140px 1fr; gap:10px; margin:0}
.kv div{padding:6px 0; border-bottom:1px dashed rgba(226,232,240,.9)}
.kv div:nth-last-child(-n+2){border-bottom:0}
.kv b{color:var(--text)}

.pagehead{padding:34px 0 8px 0}
.pagehead h1{font-size:36px}
.pagehead p{color:var(--muted); max-width:70ch; margin:10px 0 0 0}

.bullets{margin:0; padding-left:18px; color:var(--muted)}
.bullets li{margin:6px 0}

.contactcards{display:grid; grid-template-columns:repeat(2,1fr); gap:16px}
.contactcard{padding:18px}
.contactcard h3{margin:0 0 8px 0}
.contactcard p{margin:0; color:var(--muted)}
.contactcard .lines{margin-top:10px}
.line{display:flex; gap:10px; align-items:center; margin:8px 0}
.pill{
  display:inline-flex; padding:7px 10px; border-radius:999px;
  border:1px solid var(--line); background:var(--surface); font-weight:750;
}
.note{margin-top:12px; color:var(--muted); font-size:14px}

@media (max-width: 960px){
  .hero-grid{grid-template-columns:1fr}
  h1{font-size:38px}
  .grid3{grid-template-columns:1fr}
  .grid2{grid-template-columns:1fr}
  .cert{grid-template-columns:1fr}
  .footergrid{display:grid; grid-template-columns:1fr auto 1fr; gap:24px; align-items:center}
  .contactcards{grid-template-columns:1fr}
}
@media (max-width: 860px){
  .navlinks,.actions{display:none}
  .burger{display:inline-block}
  .mobile.open{display:block}
}


/* Brand text logo */
.brand{
  display:flex;
  flex-direction:column;
  gap:2px;
  text-decoration:none;
}
.brand-highlight{
  padding:10px 14px;
  border-radius:14px;
  background:var(--primary);
  color:#fff;
  border:1px solid rgba(255,255,255,.16);
}
.brand-highlight .brand-title{color:#fff}
.brand-highlight .brand-sub{color:rgba(255,255,255,.85)}
.brand-title{font-weight:800;letter-spacing:.06em}
.brand-sub{font-size:.86rem;opacity:.78}


/* Simple form */
.form label{display:block;font-weight:600;margin-bottom:10px}
.form input,.form select,.form textarea{width:100%;margin-top:6px;padding:12px 12px;border:1px solid rgba(0,0,0,.16);border-radius:12px;background:#fff}
.form textarea{resize:vertical}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
@media (max-width:820px){.grid-2{grid-template-columns:1fr}}


.footermin{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:18px 0;color:var(--muted)}
.footermin a{color:var(--text);text-decoration:none;font-weight:650}
.footermin a:hover{text-decoration:underline}
.footsep{opacity:.5}
.footbrand{font-weight:800;letter-spacing:.02em}


.muted{opacity:.8;margin-top:.35rem;margin-bottom:1rem}

.foothead{font-weight:700;margin-bottom:.5rem}

.panels2{gap:12px}



/* FAQ */
.sectionhead{margin-bottom:12px}
.sectionhead .muted{margin-top:6px; color:var(--muted)}
.faq{display:grid; gap:10px; margin-top:8px}
.faq-item{border:1px solid rgba(226,232,240,.9); border-radius:14px; background:#fff; overflow:hidden}
.faq-item summary{
  cursor:pointer; list-style:none;
  padding:14px 16px;
  font-weight:750;
  display:flex; align-items:center; justify-content:space-between;
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary:after{
  content:"+"; font-size:18px; line-height:1; opacity:.7;
}
.faq-item[open] summary:after{content:"–"}
.faq-body{padding:0 16px 14px 16px; color:var(--muted)}
.faq-body p{margin:0}

/* Certificates */
.cert-thumb{
  display:block;
  margin:12px 0 14px;
  border:1px solid rgba(2,6,23,.10);
  border-radius:14px;
  overflow:hidden;
  background:#fff;
}
.cert-thumb img{display:block;width:100%;height:auto}

.cert-card h3{padding-left:0;}

.cert-card{padding-left:44px !important;padding-right:24px;}

.ava-points{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin-top:14px;}
.ava-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;margin-top:12px;}
.ava-gallery img{width:100%;height:auto;display:block;border-radius:14px;}
.muted{opacity:.75;}

.btnrow-center{text-align:center;margin-top:22px;}
.btnrow-center .btn{margin:6px;}

.ava-ctas{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px;}
.ava-gallery .card img{border-radius:16px;display:block;width:100%;height:auto;}

/* AVAplace – vybrané aplikace (loga) */
.ava-app-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:14px;
  margin-top:12px;
}
.ava-app-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:16px;
  padding:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:120px;
  box-shadow:0 10px 25px rgba(15,23,42,.06);
}
.ava-app-card img{
  max-width:100%;
  max-height:72px;
  width:auto;
  height:auto;
  display:block;
  object-fit:contain;
}
.ava-cta-bottom{margin-top:18px;}

/* Kompaktnější karty (agendové/produktové listy) */
.cards-compact .card{padding:14px;border-radius:14px;}
.cards-compact .card h3{font-size:1.02rem;margin-bottom:6px;}
.cards-compact .card p{margin-bottom:10px;}


/* ====== Vizuální upgrade hlavní stránky ====== */
.section, .section-soft{padding:64px 0;}
.section-soft{background:linear-gradient(180deg,#f7fbfb 0%,#ffffff 100%);}

.section h2{font-size:2rem;margin-bottom:10px;}
.lead{font-size:1.08rem;opacity:.8;margin-bottom:28px;}

.grid-3{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;}

.card{
  background:#fff;border-radius:18px;padding:20px;
  box-shadow:0 6px 18px rgba(0,0,0,.06);
  transition:.25s;border:1px solid rgba(0,0,0,.04);
}
.card:hover{transform:translateY(-3px);box-shadow:0 10px 26px rgba(0,0,0,.10);}
.card h3{margin-bottom:6px;font-size:1.1rem;}

.btnrow{margin-top:28px;display:flex;flex-wrap:wrap;gap:12px;}

.section-highlight{border-top:4px solid #1fb6aa;padding-top:56px;}

.hero-main{
  background:linear-gradient(135deg,#1fb6aa 0%,#1a8fd6 100%);
  color:#fff;padding:70px 0 64px 0;
}
.hero-main h1{font-size:2.4rem;margin-bottom:14px;}
.hero-main p{font-size:1.15rem;opacity:.95;max-width:760px;}

.cards-compact .card{
  padding:14px;border-radius:14px;
  box-shadow:0 4px 10px rgba(0,0,0,.05);
}


/* ====== Zhutnění hlavní stránky (odstranění zbytečných mezer) ====== */
.hero-main{padding:46px 0 38px 0 !important;}
.section, .section-soft{padding:46px 0 !important;}
.section-highlight{padding-top:26px !important; border-top-width:3px !important;}
.hero-main h1{margin-bottom:10px !important;}
.hero-main p{margin-bottom:0 !important;}
.section h2{margin-top:0 !important;}
.lead{margin-bottom:18px !important;}


/* ====== Layout compact + brand upgrade ====== */
.nav{height:76px;}
.brand-highlight{
  min-width:280px;
  padding:14px 18px;
  border-radius:16px;
}
.brand-title{
  font-size:1.28rem;
  font-weight:850;
  letter-spacing:.01em;
  line-height:1.15;
}
.brand-sub{
  font-size:.98rem;
  font-weight:700;
  line-height:1.15;
}

/* Kompaktnější vertikální rytmus napříč webem */
.hero-main{padding:40px 0 32px 0 !important;}
.section, .section-soft{padding:40px 0 !important;}
.section-highlight{padding-top:22px !important;}
.lead{margin-bottom:14px !important;}
.grid-3{gap:16px;}
.card{padding:18px;}
.btnrow{margin-top:20px;}
/* menší mezery pod nadpisy v sekcích */
.section h2{margin-bottom:8px;}
.section p{margin-top:0;}

/* ====== Footer jako celoplošný pás (hero styl) ====== */
.footer{
  background:linear-gradient(135deg,#1fb6aa 0%,#1a8fd6 100%);
  color:#fff;
  padding:26px 0;
  border-top:none;
}
.footer a{color:#fff; opacity:.92}
.footer a:hover{opacity:1}
.footergrid{align-items:center; gap:26px;}
.foothead{color:#fff; opacity:.9}
.footicon{opacity:.95}
.heliosbadge{
  max-width:220px;
  width:100%;
  height:auto;
  border-radius:14px;
  box-shadow:0 10px 24px rgba(0,0,0,.18);
}
.footpartner{
  margin-top:10px;
  font-weight:850;
  letter-spacing:.02em;
  font-size:1.1rem;
}
@media (max-width: 860px){
  .brand-highlight{min-width:unset;}
  .footergrid{grid-template-columns:1fr; text-align:center;}
  .footleft,.footright{justify-self:center;}
}


/* === Layout polish v49 === */

/* 1) Menu offset from brand */
.nav-main{ margin-left: 22px; }

/* 3/5/6/7) Tighter vertical rhythm */
.section, .section-soft{ padding: 40px 0; }
.section-highlight{ padding-top: 22px; }
.lead{ margin-bottom: 14px; }
.btnrow{ margin-top: 18px; }

/* 4/5) Force 3+3 layout on desktop for cards */
@media (min-width: 980px){
  .grid-3{ grid-template-columns: repeat(3, 1fr) !important; }
}

/* 2/8) PDF list cards in Helios page (same feel as certs) */
.pdf-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(240px,1fr));
  gap:14px;
  margin-top:12px;
}
.pdf-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:16px;
  padding:14px;
  box-shadow:0 6px 18px rgba(0,0,0,.06);
}
.pdf-card iframe, .pdf-card img{
  width:100%;
  height:220px;
  border:0;
  border-radius:12px;
  background:#f3f6f8;
}
.pdf-card h3{ margin:10px 0 6px 0; font-size:1.05rem; }
.pdf-card .btnrow{ margin-top:10px; }

/* 9) Footer center highlight */
.footer-helios-logo{ max-width:180px; width:100%; height:auto; display:block; margin:0 auto 10px auto; }
.footer-helios-title{
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
  font-size:1.05rem;
  text-align:center;
  opacity:1;
}

/* HELIOS footer badge - širší box */
.footer-helios-box{
  background: rgba(255,255,255,0.12);
  border-radius:16px;
  padding:22px 40px;
  display:inline-block;
  min-width:420px;
  text-align:center;
}
.footer-helios-logo{
  max-width:220px;
  display:block;
  margin:0 auto 8px auto;
}
.footer-helios-title{
  color:#fff;
  font-weight:800;
  font-size:1.35rem;
  letter-spacing:.04em;
}


/* Footer Helios badge (final) */
.footer-helios-box{
  background: rgba(255,255,255,0.14);
  border-radius:18px;
  padding:26px 54px;
  display:inline-block;
  min-width:640px;
  text-align:center;
}
@media (max-width: 720px){
  .footer-helios-box{min-width:0; width:100%; padding:22px 18px;}
}
.footer-helios-logo{
  max-width:360px;
  width:100%;
  height:auto;
  display:block;
  margin:0 auto 10px auto;
}
.footer-helios-title{
  color:#fff;
  font-weight:900;
  font-size:1.45rem;
  letter-spacing:.06em;
}
