:root{
  --bg:#ffffff;
  --text:#17212b;
  --muted:#5f6b7a;
  --border:#e8e8f0;
  --green:#cfeedd;
  --green-soft:#eefbf4;
  --purple:#e7dbff;
  --purple-soft:#f7f2ff;
  --shadow:0 18px 45px rgba(31, 34, 58, .08);
  --radius:24px;
  --radius-sm:16px;
  --container:1120px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at top left, rgba(207,238,221,.45), transparent 28%),
    radial-gradient(circle at top right, rgba(231,219,255,.42), transparent 30%),
    var(--bg);
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{
  width:min(calc(100% - 32px), var(--container));
  margin:0 auto;
}

.brand__img{
  width:42px;
  height:42px;
  border-radius:14px;
  object-fit:contain;
  background:linear-gradient(135deg, rgba(207,238,221,1), rgba(231,219,255,1));
  padding:6px;
  box-shadow:0 18px 45px rgba(31, 34, 58, .08);
}

/* NAV */
.nav{
  position:sticky;
  top:0;
  z-index:20;
  backdrop-filter: blur(14px);
  background:rgba(255,255,255,.82);
  border-bottom:1px solid rgba(232,232,240,.85);
}
.nav__inner{
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:10px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:800;
  letter-spacing:-.02em;
}
.brand__mark{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:linear-gradient(135deg, var(--green), var(--purple));
  box-shadow:var(--shadow);
  font-size:20px;
}
.nav__links{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  color:var(--muted);
  font-size:14px;
}
.nav__links a{
  padding:9px 12px;
  border-radius:999px;
  transition:.2s ease;
}
.nav__links a:hover{
  background:#f5f7fb;
  color:var(--text);
}

/* HERO */
.hero{
  padding:42px 0 20px;
}
.hero__grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:22px;
  align-items:stretch;
}
.hero__content,
.hero__aside,
.panel,
.card{
  border:1px solid var(--border);
  background:rgba(255,255,255,.92);
  box-shadow:var(--shadow);
}
.hero__content{
  border-radius:32px;
  padding:34px;
}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  background:var(--green-soft);
  color:#245b3d;
  font-weight:700;
  font-size:13px;
}
h1{
  margin:18px 0 14px;
  font-size:clamp(38px, 5vw, 62px);
  line-height:1.02;
  letter-spacing:-.04em;
}
.lead{
  margin:0;
  color:var(--muted);
  font-size:18px;
  line-height:1.7;
  max-width:62ch;
}
.hero__actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:24px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 18px;
  border-radius:14px;
  font-weight:700;
  border:1px solid transparent;
  transition:.2s ease;
}
.btn--primary{
  background:linear-gradient(135deg, var(--green), var(--purple));
  color:#15212b;
}
.btn--secondary{
  background:#fff;
  border-color:var(--border);
  color:var(--text);
}
.btn:hover{transform:translateY(-1px)}

.hero__aside{
  border-radius:32px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  min-height:100%;
}

.slideshow{
  position:relative;
  min-height:390px;
  overflow:hidden;
  border-radius:24px;
}
.slides{
  position:relative;
  height:100%;
}
.slide{
  position:absolute;
  inset:0;
  padding:26px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:12px;
  opacity:0;
  transition:opacity 0.8s ease;
  pointer-events:none;
}
.slide:nth-child(1){
  background:linear-gradient(135deg, #f8fcf9, #f5fbff);
}
.slide:nth-child(2){
  background:linear-gradient(135deg, #fcf7ff, #fefaf2);
}
.slide:nth-child(3){
  background:linear-gradient(135deg, #f5fff8, #faf5ff);
}
.slide:nth-child(1){opacity:1; z-index:2;}
.slide:nth-child(2){opacity:0; z-index:1;}
.slide:nth-child(3){opacity:0; z-index:1;}
.mock-image{
  width:100%;
  height:190px;
  border-radius:22px;
  background-repeat:no-repeat;
  background-position:center;
  background-size:cover;
  display:block;
}
.mock-image::before,
.mock-image::after{
  content:"";
  position:absolute;
  border-radius:999px;
  background:rgba(255,255,255,.32);
}
.mock-image::before{
  width:130px;height:130px;top:20px;left:20px;
}
.mock-image::after{
  width:210px;height:210px;right:-60px;bottom:-80px;
}



.slide h2{
  margin:0;
  font-size:24px;
  letter-spacing:-.02em;
}
.slide p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
}
.hero__note{
  padding:18px 20px;
  border-top:1px solid var(--border);
  background:#fff;
}
.hero__note strong{
  display:block;
  margin-bottom:4px;
}
.hero__note span{
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
}

/* SECTIONS */
.section{
  padding:28px 0;
}
.section__head{
  margin-bottom:18px;
}
.section__head h2{
  margin:0 0 8px;
  font-size:32px;
  letter-spacing:-.03em;
}
.section__head p{
  margin:0;
  color:var(--muted);
  line-height:1.7;
  max-width:72ch;
}

/* CARDS */
.cards{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:16px;
}
.card{
  border-radius:24px;
  padding:22px;
}
.tag{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  color:#5d3ba1;
  background:var(--purple-soft);
  margin-bottom:14px;
}
.card h3{
  margin:0 0 10px;
  font-size:20px;
  letter-spacing:-.02em;
}
.card p{
  margin:0;
  color:var(--muted);
  line-height:1.7;
}

/* ABOUT */
.about{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}
.panel{
  border-radius:24px;
  padding:24px;
}
.panel h3{
  margin:0 0 10px;
  font-size:22px;
  letter-spacing:-.02em;
}
.panel p{
  margin:0;
  color:var(--muted);
  line-height:1.75;
}
.list{
  margin:12px 0 0;
  padding-left:18px;
  color:var(--muted);
  line-height:1.8;
}

.panel--full{
  grid-column: 1 / -1 !important;
}

/* Náš postup řešení */
.steps{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:16px;
  margin-top:22px;
}
.step{
  position:relative;
  border-radius:24px;
  padding:22px 20px;
  border:1px solid var(--border);
  background:#fff;
  box-shadow:var(--shadow);
  overflow:hidden;
}
.step::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:24px;
  background:linear-gradient(135deg, rgba(207,238,221,.25), rgba(231,219,255,.25));
  pointer-events:none;
}
.step__num{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;height:36px;
  border-radius:50%;
  background:linear-gradient(135deg, var(--green), var(--purple));
  color:#15212b;
  font-weight:900;
  font-size:14px;
  margin-bottom:12px;
  position:relative;
  z-index:1;
}
.step h3{
  margin:0 0 10px;
  font-size:18px;
  letter-spacing:-.02em;
  position:relative;
  z-index:1;
}
.step p{
  margin:0;
  color:var(--muted);
  line-height:1.65;
  position:relative;
  z-index:1;
}

@media (max-width: 980px){
  .steps{
    grid-template-columns:1fr;
  }
}


/* CONTACT */
.contact{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  align-items:start;
}
.contact__box{
  border-radius:24px;
  padding:24px;
  border:1px solid var(--border);
  background:#fff;
  box-shadow:var(--shadow);
}
.contact__item{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:14px 0;
  border-bottom:1px solid var(--border);
  color:var(--muted);
}
.contact__item:last-child{border-bottom:0}
.contact__item strong{color:var(--text)}

/* FOOTER */
.footer{
  padding:24px 0 54px;
  color:var(--muted);
  font-size:14px;
}

/* SLIDER ANIMATION */
@keyframes slide{
  0%{transform:translateX(0)}
  33.33%{transform:translateX(0)}
  33.34%{transform:translateX(-100%)}
  66.66%{transform:translateX(-100%)}
  66.67%{transform:translateX(-200%)}
  100%{transform:translateX(-200%)}
}

@keyframes slideCycle{
  0%, 33%{opacity:1; z-index:2;}
  34%, 66%{opacity:0; z-index:1;}
  67%, 100%{opacity:0; z-index:1;}
}
@keyframes slideCycle2{
  0%, 33%{opacity:0; z-index:1;}
  34%, 66%{opacity:1; z-index:2;}
  67%, 100%{opacity:0; z-index:1;}
}
@keyframes slideCycle3{
  0%, 33%{opacity:0; z-index:1;}
  34%, 66%{opacity:0; z-index:1;}
  67%, 100%{opacity:1; z-index:2;}
}

.slide:nth-child(1){animation:slideCycle 9s infinite;}
.slide:nth-child(2){animation:slideCycle2 9s infinite;}
.slide:nth-child(3){animation:slideCycle3 9s infinite;}

/* RESPONSIVE */
@media (max-width: 980px){
  .hero__grid,
  .cards,
  .about,
  .contact{
    grid-template-columns:1fr;
  }
}

@media (max-width: 720px){
  .nav__links{display:none}
  .hero__content{padding:26px}
  h1{font-size:clamp(34px, 12vw, 52px)}
  .section__head h2{font-size:28px}
  .cards{grid-template-columns:1fr}
  .slideshow{min-height:340px}
}
