:root{
  --green:#1B5E20;
  --green-dark:#0d3b14;
  --yellow:#FFD600;
  --light:#f4f8f4;
  --max-width:1200px;
}

*{ box-sizing:border-box; }

html,body{
  margin:0;
  padding:0;
  min-height:100%;
  font-family:'Segoe UI',sans-serif;
  background:var(--light);
  color:#222;
  overflow-x:hidden;
}

body{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

.visually-hidden{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.skip-link{
  position:fixed;
  top:10px;
  left:10px;
  z-index:10000;
  padding:10px 14px;
  color:#fff;
  background:var(--green-dark);
  border:2px solid var(--yellow);
  border-radius:6px;
  transform:translateY(-150%);
}

.skip-link:focus{
  transform:translateY(0);
}

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible{
  outline:3px solid var(--yellow);
  outline-offset:3px;
}

/* PRELOADER */
#preloader{
  position:fixed;
  width:100%;
  height:100%;
  background:white;
  display:flex;
  justify-content:center;
  align-items:center;
  z-index:9999;
  transition:0.5s;
}

.loader{
  width:50px;
  height:50px;
  border:5px solid #ddd;
  border-top:5px solid var(--green);
  border-radius:50%;
  animation:spin 1s linear infinite;
}

@keyframes spin{
  0%{transform:rotate(0deg);}
  100%{transform:rotate(360deg);}
}

/* HEADER */
header{
  position:fixed;
  top:0;
  width:100%;
  background:var(--green);
  color:white;
  z-index:1000;
}

.header-inner{
  max-width:var(--max-width);
  margin:auto;
  padding:15px 20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
}

header h1{
  margin:0;
  font-size:18px;
  display:flex;
  align-items:center;
  gap:10px;
}

nav{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
}

nav a{
  color:white;
  text-decoration:none;
  font-size:14px;
  position:relative;
  cursor:pointer;
  padding:4px 0;
}

nav a.active{
  font-weight:600;
}

nav a::after{
  content:"";
  position:absolute;
  bottom:-3px;
  left:0;
  width:0;
  height:2px;
  background:var(--yellow);
  transition:0.3s;
}

nav a.active::after,
nav a:hover::after{
  width:100%;
}

.menu-toggle{
  display:none;
  font-size:22px;
  cursor:pointer;
  color:#fff;
  background:transparent;
  border:2px solid transparent;
  border-radius:6px;
  padding:6px 10px;
  font-family:inherit;
}

.header-actions{
  display:flex;
  align-items:center;
  gap:8px;
}

/* PAGE */
.page{
  display:none;
  padding-top:110px;
  animation:fade 0.4s ease;
  flex:1 0 auto;
}

.page.active{
  display:block;
}

@keyframes fade{
  from{opacity:0; transform:translateY(10px);}
  to{opacity:1; transform:translateY(0);}
}

/* HERO */
.hero{
  position:relative;
  min-height:520px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:white;
  overflow:hidden;
}

.slide{
  position:absolute;
  width:100%;
  height:100%;
  background-size:cover;
  background-position:center;
  opacity:0;
  transition:opacity 1.5s ease-in-out;
  filter:brightness(0.92) contrast(1.03);
}

.slide.active{
  opacity:1;
}

.hero-overlay{
  position:absolute;
  width:100%;
  height:100%;
  background:linear-gradient(
    180deg,
    rgba(0,0,0,0.35) 0%,
    rgba(0,0,0,0.25) 40%,
    rgba(0,0,0,0.20) 100%
  );
}

.global-motion-toggle{
  position:fixed;
  top:92px;
  left:14px;
  z-index:950;
  width:40px;
  min-width:40px;
  height:40px;
  padding:0;
  display:inline-grid;
  place-items:center;
  color:#fff;
  background:rgba(13,59,20,.88);
  border:2px solid var(--yellow);
  border-radius:50%;
  box-shadow:0 5px 16px rgba(0,0,0,.22);
  cursor:pointer;
  transition:background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.global-motion-toggle::before{
  content:"";
  width:12px;
  height:15px;
  background:linear-gradient(to right, currentColor 0 33%, transparent 33% 67%, currentColor 67% 100%);
}

.global-motion-toggle[aria-pressed="true"]::before{
  width:0;
  height:0;
  margin-left:3px;
  background:none;
  border-top:8px solid transparent;
  border-bottom:8px solid transparent;
  border-left:12px solid currentColor;
}

.global-motion-toggle:hover{
  color:var(--green-dark);
  background:var(--yellow);
  border-color:var(--yellow);
  transform:translateY(-1px);
}

.hero-inner{
  max-width:var(--max-width);
  width:100%;
  padding:0 20px;
  margin:auto;
  position:relative;
  z-index:2;
}

.hero-box{
  background:rgba(13,59,20,0.515);
  backdrop-filter:blur(16px);
  border:1px solid rgba(255,255,255,0.25);
  box-shadow:0 16px 40px rgba(0,0,0,0.20);
  text-shadow:0 2px 6px rgba(0,0,0,0.42);
  padding:45px 60px;
  border-radius:14px;
  text-align:center;
  max-width:var(--max-width);
  margin:auto;
}

.hero h2{
  font-size:36px;
  margin:0 0 20px 0;
  font-weight:600;
}

.hero .hero-kicker{
  margin:0 0 10px;
  font-size:16px;
  font-weight:600;
  line-height:1.4;
}

.hero p{
  font-size:18px;
  line-height:1.7;
  margin:0;
}

/* CONTENT */
.section-inner{
  max-width:var(--max-width);
  margin:auto;
  padding:45px 20px;
}

.section-inner h2,
.card h2{
  font-size:28px;
  margin-top:0;
  margin-bottom:25px;
  color:var(--green);
  border-bottom:3px solid var(--yellow);
  display:inline-block;
  padding-bottom:6px;
}

.section-inner h2{
  position:relative;
}

.section-inner h2::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-3px;
  width:0;
  height:3px;
  background:var(--green);
  transition:.5s ease;
}

.section-inner:hover h2::after{
  width:100%;
}

.card{
  background:white;
  padding:35px;
  border-radius:14px;
  box-shadow:0 10px 30px rgba(0,0,0,0.06);
  line-height:1.8;
  font-size:16px;
  text-align:justify;
}

.card h3{
  margin-top:0;
  color:var(--green-dark);
}

/* VYSOUVACÍ BANNER JMK */
.jmk-container{
  position:fixed;
  top:20%;
  right:-80px;
  transform:translateY(-50%);
  transition:right 0.8s ease;
  z-index:900;
}

.jmk-container:hover{
  right:0;
}

.jmk-box{
  background:white;
  padding:14px 18px;
  border-radius:14px 0 0 14px;
  box-shadow:0 12px 30px rgba(0,0,0,0.18);
  display:flex;
  align-items:center;
}

.jmk-box img{
  width:120px;
  display:block;
}

/* FOOTER */
footer{
  background:var(--green-dark);
  color:white;
  padding:40px 20px;
  font-size:14px;
  margin-top:auto;
}

.footer-inner{
  max-width:var(--max-width);
  margin:auto;
  line-height:1.6;
}

.footer-menu{
  margin-top:15px;
}

/* KONTAKTNÍ OSOBY */
.contact-persons{
  margin-top:40px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:25px;
}

.contact-card{
  background:#ffffff;
  border-radius:14px;
  padding:25px;
  box-shadow:0 10px 25px rgba(0,0,0,0.06);
  line-height:1.6;
  transition:all .25s ease;
}

.contact-card:hover{
  transform:translateY(-4px);
  box-shadow:0 15px 35px rgba(0,0,0,.10);
}

.contact-card h3{
  margin-top:0;
  color:var(--green-dark);
}

.contact-card .news-meta{
  margin-bottom:16px;
}

.qr-placeholder{
  margin-top:15px;
  padding:20px;
  text-align:center;
  border:2px dashed #ccc;
  border-radius:10px;
  font-size:13px;
  color:#666;
}

.contact-card img{
  max-width:100%;
  height:auto;
  display:block;
  margin:15px auto 0 auto;
}

/* INFORMAČNÍ BLOKY */
.info-content h3{
  margin-top:35px;
  padding-top:15px;
  border-top:1px solid #eee;
}

.info-lead{
  background:var(--light);
  padding:15px;
  border-left:4px solid var(--green);
  border-radius:6px;
  font-weight:500;
}

.info-list{
  list-style:none;
  padding-left:0;
  margin-top:10px;
}

.info-list li{
  margin-bottom:8px;
}

.info-list a{
  color:var(--green);
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
  font-weight:500;
}

.info-list a:hover{
  text-decoration:underline;
}

.report{
  margin-top:10px;
  background:var(--light);
  padding:10px 15px;
  border-radius:8px;
}

.report summary{
  cursor:pointer;
  font-weight:600;
  color:var(--green-dark);
}

.report a{
  color:var(--green);
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}

.report a:hover{
  text-decoration:underline;
}

.last-update{
  margin-top:40px;
  font-size:14px;
  color:#666;
  font-style:italic;
}

/* META ŠTÍTEK */
.news-meta{
  display:inline-block;
  margin-bottom:12px;
  padding:6px 12px;
  font-size:0.82rem;
  font-weight:600;
  letter-spacing:0.3px;
  color:var(--green-dark);
  background:var(--light);
  border-left:4px solid var(--green);
  border-bottom:2px solid var(--yellow);
  border-radius:6px;
  line-height:1.4;
  text-transform:uppercase;
  transition:all .2s ease;
}

.news-meta:hover{
  background:#eef6ee;
}

.news-meta a{
  text-decoration:none;
  color:var(--green-dark);
}

/* SPLIT LAYOUT - O NÁS / KARIÉRA */
.career-split{
  display:grid;
  grid-template-columns:1.15fr 0.85fr;
  gap:50px;
  align-items:start;
}

.career-left p{
  font-size:1.05rem;
  line-height:1.85;
  margin-top:0;
}

.career-links{
  margin-top:32px;
  display:grid;
  grid-template-columns:repeat(2,minmax(180px,1fr));
  gap:22px;
}

.career-links span,
.career-links div{
  font-size:1rem;
  line-height:1.65;
  color:var(--green-dark);
}

.career-right{
  background:var(--green-dark);
  color:white;
  padding:38px;
  border-radius:14px;
  box-shadow:0 10px 30px rgba(0,0,0,.15);
}

.career-right .career-links div,
.career-right .career-links span,
.career-right .career-links b{
  color:white;
}

.career-right .career-links div{
  background:rgba(255,255,255,0.08);
  padding:14px 16px;
  border-radius:8px;
}

.career-right h2,
.career-right h3{
  color:white;
  margin-top:0;
}

.career-right h2{
  border-bottom:3px solid var(--yellow);
}

.career-right p{
  margin-bottom:0;
}

.career-btn{
  display:inline-block;
  margin-top:20px;
  background:var(--yellow);
  color:#222;
  padding:12px 24px;
  border-radius:8px;
  text-decoration:none;
  font-weight:600;
  transition:all .25s ease;
}

.career-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(0,0,0,.15);
}

/* STRATEGIE - 2x2 BLOKY */
.approach-section{
  margin-bottom:56px;
}

.approach-section:last-child{
  margin-bottom:0;
}

.approach-section h3{
  color:var(--green-dark);
  font-size:26px;
  margin-top:0;
  margin-bottom:18px;
}

.approach-lead,
.approach-section > p{
  max-width:950px;
  margin-bottom:34px;
  font-size:15.5px;
  line-height:1.85;
}

.approach-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:40px;
  margin-top:38px;
}

.strategy-timeline{
  display:grid;
  grid-template-columns:minmax(0,1fr) 46px minmax(0,1fr) 46px minmax(0,1fr);
  align-items:stretch;
  gap:14px;
  margin:0 0 56px;
}

.strategy-step{
  background:var(--light);
  border-top:4px solid var(--green);
  border-bottom:2px solid var(--yellow);
  border-radius:10px;
  padding:28px;
  line-height:1.8;
}

.strategy-step h4{
  margin:0 0 18px;
  color:var(--green-dark);
  font-size:18px;
  font-weight:600;
  line-height:1.35;
}

.strategy-step p{
  margin:0;
  color:#333;
  font-size:15px;
  line-height:1.85;
}

.strategy-arrow{
  align-self:center;
  color:var(--green);
  font-size:38px;
  font-weight:700;
  line-height:1;
  text-align:center;
}

.solutions-section{
  margin-top:48px;
  padding-top:38px;
  border-top:1px solid #dfe8df;
}

.solutions-grid{
  margin-top:14px;
}

.approach-item{
  background:var(--light);
  border-left:4px solid var(--green);
  border-bottom:2px solid var(--yellow);
  border-radius:10px;
  padding:36px;
  min-height:220px;
  line-height:1.8;
  transition:all .25s ease;
}

.approach-item:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 30px rgba(0,0,0,.08);
}

.approach-item h4{
  margin:0 0 18px 0;
  color:var(--green-dark);
  font-size:18px;
  font-weight:600;
  line-height:1.35;
}

.approach-item p{
  margin:0;
  font-size:15px;
  line-height:1.85;
  color:#333;
}

/* CAROUSEL PRO AKTUALITY */
.carousel-container{
  position:relative;
  overflow:hidden;
  width:100%;
  max-width:var(--max-width);
  margin:auto;
}

.carousel-track{
  display:flex;
  transition:transform 0.5s ease;
  will-change:transform;
}

.project-card{
  flex:0 0 30%;
  max-width:30%;
  padding:18px;
  opacity:0.4;
  transform:scale(0.7);
  transition:all 0.5s ease;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  background:white;
  border-radius:14px;
  box-shadow:0 5px 20px rgba(0,0,0,0.06);
  text-align:justify;
  overflow:hidden;
}

.project-card.active{
  flex:0 0 50%;
  max-width:70%;
  opacity:1;
  transform:scale(1);
  text-align:justify;
}

.project-card h3{
  font-size:16px;
  margin:0 0 10px 0;
  line-height:1.3;
  color:var(--green-dark);
}

.project-card.active h3{
  font-size:20px;
  white-space:normal;
}

.project-card p{
  display:none;
}

.project-card.active p{
  display:block;
  margin-top:10px;
  line-height:1.6;
  overflow:visible;
}

.project-card:not(.active) p{
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.project-card.prev,
.project-card.next{
  opacity:0.6;
  transform:scale(0.225);
  z-index:5;
}

.project-card.hidden{
  display:none;
  opacity:0;
  transform:scale(0.7);
  z-index:0;
}

.project-card:focus-visible{
  outline:4px solid var(--yellow);
  outline-offset:3px;
}

/* ORGÁNY SPOLEČNOSTI */
.org-single{
  margin:35px 0 35px;
}

@media (prefers-reduced-motion: reduce){
  *,
  *::before,
  *::after{
    scroll-behavior:auto !important;
    animation-duration:0.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:0.01ms !important;
  }
}

.org-single .org-card{
  max-width:700px;
  margin:auto;
}

.org-board{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
  margin-top:30px;
}

.org-card{
  background:var(--light);
  border-left:4px solid var(--green);
  border-bottom:2px solid var(--yellow);
  box-shadow:0 12px 30px rgba(0,0,0,0.07);
  transition:all .25s ease;
}

.org-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 40px rgba(0,0,0,0.10);
}

.org-card .news-meta{
  margin-bottom:16px;
}

.org-card h3{
  margin-bottom:10px;
}

.org-card p{
  margin-bottom:0;
}

/* FADE-IN */
.fade-in{
  opacity:0;
  transform:translateY(20px);
  transition:all .6s ease;
}

.fade-in.visible{
  opacity:1;
  transform:none;
}

/* RESPONSIVE */
@media(max-width:900px){
  .header-actions{
    margin-left:auto;
    flex:0 0 auto;
  }

  .global-motion-toggle{
    position:static;
    width:44px;
    min-width:44px;
    height:44px;
    background:var(--green-dark);
    box-shadow:0 4px 12px rgba(0,0,0,.24);
  }

  nav{
    display:none;
    flex-direction:column;
    background:var(--green);
    padding:20px;
    width:100%;
  }

  nav.active{
    display:flex;
  }

  .menu-toggle{
    display:block;
  }

  .hero{
    min-height:520px;
  }

  .hero-box{
    padding:30px;
  }

  .hero h2{
    font-size:28px;
  }

  .hero p{
    font-size:16px;
  }

  .jmk-container{
    display:none;
  }

  .career-split{
    grid-template-columns:1fr;
  }

  .career-links{
    grid-template-columns:1fr;
  }

  .approach-grid{
    grid-template-columns:1fr;
    gap:24px;
  }

  .strategy-timeline{
    grid-template-columns:1fr;
    gap:14px;
  }

  .strategy-arrow{
    min-height:24px;
    transform:rotate(90deg);
  }

  .approach-item{
    padding:28px;
    min-height:auto;
  }

  .project-card,
  .project-card.active{
    flex:0 0 100%;
    max-width:100%;
  }

  .project-card:not(.active){
    display:none !important;
  }

  .org-board{
    grid-template-columns:1fr;
  }
}

