#folhero.section {
  padding-top: 30px;
}

/*-----------------------------------------------------------------------------------*/
/*  BREADCRUMBS
/*-----------------------------------------------------------------------------------*/

.breadcrumbs {
  font-size: 14px;
  border-top: 1px solid var(--dark-bg-toptext);
  border-bottom: 1px solid var(--dark-bg-toptext);
}
.breadcrumbs ul {
  display: flex;
  list-style: none;
  padding: 8px 0;
  margin: 0;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumbs .crumb {
  margin-left: 0px;
}
.breadcrumbs .crumb a {
  color: #999999;
  text-decoration: none;
  font-size: 14px;
}
.breadcrumbs .crumb a:hover,
.breadcrumbs .crumb a:focus {
  text-decoration: underline;
}
.breadcrumbs .crumb.current {
  color: #999999;
  font-size: 14px;
}
.breadcrumbs .crumb::after {
  content: "›";
  margin: 0 30px;
  color: #999999;
}
.breadcrumbs .crumb:last-child::after { content: ""; }
#bread .wrap { padding-top: 6px; padding-bottom: 6px; }



/*-----------------------------------------------------------------------------------*/
/*	BENEFITY
/*-----------------------------------------------------------------------------------*/
.icos .col span {
  display: block;
  font-size: 48px;
  color: #007CB8;
  margin-bottom: 10px;
}
.icontext {
  display: flex;
  align-items: flex-start;  /* zarovnání nahoře */
  gap: 12px;                /* mezera mezi ikonou a textem */
  margin-bottom: 30px;      /* mezera mezi jednotlivými bloky */
}


/*-----------------------------------------------------------------------------------*/
/*	ITEMS TEAM
/*-----------------------------------------------------------------------------------*/
.items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin: 30px 0;
}
.items .item {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 0px 20px;
}
.items .item img {
  width: 100%;
  height: auto;
  border-radius: 50%;
}


/*-----------------------------------------------------------------------------------*/
/*	MILESTONES
/*-----------------------------------------------------------------------------------*/
/* Milestones 4 columns layout */
.milestones {
  display: flex;
  justify-content: stretch;
  align-items: stretch;
  margin: 0px 0;
}
.milestone {
  flex: 1 1 0%;
  max-width: 25%;
  min-width: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  box-sizing: border-box;
}
.milestone-number {
  font-size: 56px;
  font-weight: bold;
  color: var(--color-accent, #0257B2);
  margin-bottom: 8px;
  font-family: 'redhat_bold', Arial, sans-serif;
  transition: color 0.3s;
}
.milestone-label {
  font-size: 15px;
  color: var(--dark-bg-text, #222);
  opacity: 0.8;
  font-family: 'redhat_regular', Arial, sans-serif;
}

@media (max-width: 900px) {
  .milestone {
    max-width: 50%;
    flex-basis: 50%;
    padding: 0 5px;
  }
  .milestones {
    flex-wrap: wrap;
  }
}
@media (max-width: 600px) {
  .milestone {
    max-width: 100%;
    flex-basis: 100%;
    padding: 0 0 20px 0;
  }
}

/*-----------------------------------------------------------------------------------*/
/*	SLUZBY
/*-----------------------------------------------------------------------------------*/
.sluzby-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    counter-reset: sluzba;
}
.sluzba {
    background: var(--middle-bg);
    padding: 32px 28px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    border-left: none;
}

.sluzba:hover {
    box-shadow: none;
    border-left-color: transparent;
    background: #222;
}
 
/* Animace zelené linky — stejná jako benefit-obsah::before */
.sluzba-text::before {
    transition: width 0.7s ease;
}
.sluzba:hover .sluzba-text::before {
    width: 100%;
}
/* —— Hlavní obsah — text vlevo, ikona vpravo —— */
.sluzba-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}
.sluzba-text {
    flex: 1;
    min-width: 0;
}
.sluzba-text::before {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: var(--color-accent);
  margin-bottom: 30px;
}
.sluzba-nazev {
    font-size: 24px;
    font-weight: 600;
    color: var(--light-bg);
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin: 0 0 8px 0;
}
.sluzba.featured .sluzba-nazev {
    color: var(--light-bg);
}
.sluzba.featured .tags .tag {
    color: var(--dark-bg-text);
    border: 0.5px solid var(--dark-bg-text);
}
/* —— Popis —— */
.sluzba-popis {
    font-size: 16px;
    line-height: 1.3;
    color: var(--dark-bg-text, #666);
    margin: 0;
}
.sluzba.featured .sluzba-popis {
    color: rgba(255,255,255,0.5);
}
.sluzba-ikona {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-shrink: 0;
    padding-top: 35px;
}
.sluzba-ikona img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}
.sluzba-link {
    color: var(--color-accent);
    text-decoration: none;
    font-size: 32px;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    margin-top: auto;
}
.sluzba-link:hover {
    color: var(--dark-bg-text);
}
@media (max-width: 1024px) {
    .sluzby-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .sluzby { padding: 56px 0; }
    .sluzby-wrap { padding: 0 24px; }
    .sluzby-grid { grid-template-columns: 1fr; gap: 1px; }
    .sluzba { padding: 24px 20px; }
    .sluzby-header { margin-bottom: 32px; }
}

/* ============================================================
   ZNACKY
   ============================================================ */
.znacky {
    width: 100%;
    background: #1C1C1C;
    padding: 32px 0;
    overflow: hidden;
    position: relative;
}
.znacky::before,
.znacky::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}
.znacky::before {
    left: 0;
    background: linear-gradient(to right, #1C1C1C, transparent);
}
.znacky::after {
    right: 0;
    background: linear-gradient(to left, #1C1C1C, transparent);
}
.znacky-marquee {
    overflow: hidden;
}
.znacky-track {
    display: flex;
    align-items: center;
    gap: 64px;
    width: max-content;
    animation: marquee 40s linear infinite;
}
.znacky-track:hover {
    animation-play-state: paused;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.znacky-item {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    opacity: 0.4;
    transition: opacity 0.25s ease;
    text-decoration: none;
}
.znacky-item:hover {
    opacity: 0.9;
}
.znacky-item img {
    height: 50px;
    max-height: 50px;
    width: auto;
    max-width: 140px;  /* omezí příliš široká loga */
    display: block;
    filter: brightness(0) invert(1);
}

@media (max-width: 600px) {
    .znacky { padding: 24px 0; }
    .znacky-track { gap: 48px; }
    .znacky-item img { height: 22px; }
    .znacky::before,
    .znacky::after { width: 60px; }
}

/* ============================================================
   SEKCE PORTFOLIO
   ============================================================ */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 8px;
  max-width: 1360px;
  padding-inline: 30px;
  margin-inline: auto;
}
.item {
  display: block;       /* nutné pro <a> */
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/2;
}

/* Obrázky uvnitř položky */
.item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* zachování poměru stran */
  transform: translateZ(0) scale(1);
  opacity: 0; /* všechny obrázky kromě prvního jsou skryté */
  transition: opacity 0.5s ease, transform 0.8s ease;
}

/* první obrázek startuje viditelný */
.item img:first-child {
  opacity: 1;
  transform: translateZ(0) scale(1);
  transition: all 2000ms cubic-bezier(.19,1,.22,1) 0ms;
  overflow: hidden;
}

.item:hover img:first-child {
  transform: translateZ(0) scale(1.06);
}

/* overlay */
.overlay {
  position: absolute;
  left: 0;
  bottom: 0;
  top: auto;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  color: #fff;
  text-align: left;
  padding: 0;
  opacity: 1;
  transition: height 0.4s cubic-bezier(.4,0,.2,1), background 0.4s cubic-bezier(.4,0,.2,1), padding 0.4s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}

.overlay-content {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  transition: top 0.4s cubic-bezier(.4,0,.2,1), transform 0.4s cubic-bezier(.4,0,.2,1);
}

.overlay-content h3,
.item .overlay-content h3,
.item:hover .overlay-content h3 {
  color: #fff !important;
  margin: 0 0 0px;
  transition: font-size 0.3s ease, line-height 0.3s ease, margin 0.3s ease;
}

.overlay-content p {
  color: #00b140 !important;
  font-family: 'redhat_regular', Tahoma, Arial, sans-serif;
  margin: 0 0 0 0;
  padding: 0 0 5px 0;
  text-transform: uppercase;
  transition: opacity 0.25s ease, max-height 0.25s ease, padding 0.25s ease, margin 0.25s ease;
  max-height: 32px;
  opacity: 1;
}

/* při hoveru overlay sjede dolů do pruhu */
.item:hover .overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.58) 45%, rgba(0,0,0,0) 100%);
  height: 56px;
  padding-bottom: 10px;
}

.item:hover .overlay .overlay-content {
  top: 100%;
  transform: translateY(calc(-100% - 10px));
}

.item:hover .overlay-content h3 {
  font-size: 20px;
  line-height: 1.1;
  margin: 0;
}

.item:hover .overlay-content p {
  opacity: 0;
  max-height: 0;
  margin: 0;
  padding: 0;
}

/* speciální položky v gridu */
.item-pano { grid-column: span 2; grid-row: span 2; }
.item-tall { grid-column: span 1; grid-row: span 2; aspect-ratio: 1/2 !important; height: 100% !important; }

/* responzivní grid */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
  }

  .item-pano, .item-tall {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 1 / 1;
  }
}

#about {--gap: 72px; align-items: start;}

.kdo-foto {
  position: sticky;
  top: 100px;
}
.kdo-foto img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: top center;
  filter: contrast(1.04) brightness(0.97);
}
 
/* —— Obsah —— */
.kdo-divider {
  width: 60px;
  height: 2px;
  background: var(--color-accent);
}
.kdo-nadpis {
  color: var(--light-bg);
  margin: 20px 0 28px 0;
}
.kdo-text {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}
.kdo-text p {
  margin: 0;
}
.kdo-benefity {
  counter-reset: benefit;
}
.benefit {
  counter-increment: benefit;
  overflow: hidden;
  background: var(--dark-bg);
  padding: 32px 28px 24px;
  display: flex !important;
  flex-direction: column;
  transition: background 0.2s;
  margin-right: 8px;
  margin-bottom: 8px;
  position: relative;
}

.benefit:hover {
  background: #222;
}
.benefit-obsah {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  position: relative;
  z-index: 1;
}
.benefit-obsah::before {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: var(--color-accent);
  margin-bottom: 30px;
  transition: width 0.7s ease;
}
.benefit:hover .benefit-obsah::before {
  width: 100%;
}
.benefit:hover .benefit-obsah::after {
  color: var(--dark-bg-text);
}
.benefit-obsah h4 {
  font-size: 24px;
  font-weight: 600;
  color: var(--light-bg);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 8px 0;
  padding: 0px;
}
/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .cols-2-40 > :nth-child(1),
  .cols-2-40 > :nth-child(2) {
    grid-column: span 12;
  }
  .kdo-foto {
    position: static;
    max-width: 380px;
  }
}
 
@media (max-width: 600px) {
  .kdo-benefity.cols-2-50 > .col {
    grid-column: span 12;
  }
}

.reference { background: #1C1C1C; padding: 28px 0; }
.reference-wrap { max-width: var(--menu-max-width, 1360px); margin: 0 auto; padding: 0 28px; box-sizing: border-box; }
.reference-slider { position: relative; }
.reference-grid { --ref-gap: 8px; --ref-visible: 2; display: flex; gap: var(--ref-gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; background: #1a1a1a; }
.reference-grid::-webkit-scrollbar { display: none; }
.reference-item { transition: background 0.2s; flex: 0 0 calc((100% - (var(--ref-visible) - 1) * var(--ref-gap)) / var(--ref-visible)); scroll-snap-align: start; position: relative; overflow: hidden; background: #262626; padding: 40px 36px 36px; display: flex; flex-direction: column; box-sizing: border-box; }
.reference-item:hover { background: #222; }
.reference-line { width: 60px; height: 2px; background: var(--color-accent, #A6CE38); margin-bottom: 24px; transition: width 0.7s ease; }
.reference-item:hover .reference-line { width: 100%; }
.reference-quote { display: block; margin-bottom: 24px; font-size: 36px; line-height: 1; color: var(--color-accent, #A6CE38); }
.reference-text { position: relative; margin: 0 0 28px; font-size: 17px; line-height: 1.65; color: #fff; flex: 1; }
.reference-author { display: flex; align-items: center; gap: 16px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); }
.reference-avatar { flex: 0 0 52px; width: 52px; height: 52px; border: 2px solid var(--color-accent, #A6CE38); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
.reference-avatar span { font-size: 24px; line-height: 1; color: #999; }
.reference-jmeno { display: block; font-weight: 700; font-size: 15px; color: #fff; }
.reference-funkce { display: block; margin-top: 3px; font-size: 13px; color: #999; }
.reference-nav { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.reference-nav[hidden] { display: none; }
.reference-btn { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,0.2); background: transparent; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: border-color .2s, color .2s; }
.reference-btn:hover:not(:disabled) { border-color: var(--color-accent, #A6CE38); color: var(--color-accent, #A6CE38); }
.reference-btn:disabled { opacity: .3; cursor: default; }
.reference-btn span { font-size: 24px; line-height: 1; }
@media (max-width: 700px) {
  .reference-grid { --ref-visible: 1; }
  .reference-wrap { padding: 0 16px; }
  .reference-item { padding: 32px 24px 28px; }
  }

/* ============================================================
   SEKCE PROJEKTY
   ============================================================ */
/* Seznam */
.projekty-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Karta */
.projekty-karta {
    display: grid;
    grid-template-columns: 480px 1fr;
    background: #2A2A2A;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: background .2s;
    position: relative;
    gap: 8px;
}
.projekty-karta:hover { background: #2e2e2e; }
.projekty-karta:hover .pk-arrow { transform: translateX(4px); }
.projekty-karta:hover .pk-img img { transform: scale(1.03); }

/* Reverse layout */
.projekty-karta--reverse {
    grid-template-columns: 1fr 480px;
}
.projekty-karta--reverse .pk-img  { order: 2; }
.projekty-karta--reverse .pk-obsah { order: 1; }

/* Obrázek */
.pk-img {
    position: relative;
    overflow: hidden;
    min-height: 300px;
}
.pk-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
    filter: brightness(.85) saturate(1.05);
}
.pk-placeholder {
    width: 100%; height: 100%;
    min-height: 300px;
    background: #242424;
}
.pk-cislo {
    position: absolute;
    top: 20px; left: 20px;
    font-size: 11px;
    letter-spacing: .15em;
    color: rgba(255,255,255,.3);
    z-index: 2;
}

/* Obsah */
.pk-obsah {
    padding: 40px 44px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.pk-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}
.pk-tag {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-family: 'redhat_regular', Tahoma, Arial, sans-serif;
    letter-spacing: .12em;
    text-transform: uppercase;
    line-height: 1;
    background: var(--color-accent);
    color: var(--dark-bg);
    padding: 5px 8px 4px;
}
.pk-rok {
    font-size: 12px;
    color: var(--dark-bg-text);
    letter-spacing: .06em;
    margin-left: auto;
}
.pk-klient {
    font-size: 12px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 8px;
}
.pk-nazev {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 700;
    color: var(--text, #F0F0F0);
    letter-spacing: -.02em;
    line-height: 1.2;
    margin-bottom: 14px;
}

/* Footer karty */
.pk-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(240,240,240,.08);
}
.icon-arrow-right {
    margin-left: auto;
    font-size: 24px;
    color: var(--color-accent);
    transition: transform .2s;
    flex-shrink: 0;
}

.projekty-empty {
    color: rgba(255,255,255,.6);
    text-align: center;
    padding: 40px 0;
}

/* Load more */
.pk-hidden { display: none; }

.pk-loadmore-wrap {
    display: flex;
    justify-content: center;
    padding: 32px 0 0;
}
.pk-portfolio-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 0 80px;
    border-top: 1px solid rgba(255,255,255,.08);
    margin-top: 48px;
    gap: 24px;
}
/* ── Responzivní ── */
@media (max-width: 960px) {
    .projekty-karta,
    .projekty-karta--reverse {
        grid-template-columns: 1fr;
    }
    .projekty-karta--reverse .pk-img  { order: 1; }
    .projekty-karta--reverse .pk-obsah { order: 2; }
    .pk-img { min-height: 240px; }
}

@media (max-width: 640px) {
    .projekty-wrap  { padding: 0 20px; }
    .pk-obsah       { padding: 24px 20px; }
    .projekty-header { padding: 40px 0 32px; }
    .pk-portfolio-cta { flex-direction: column; text-align: center; }
}

/* ── HERO ── */
.hero { padding: 48px 0 0; }
.hero-perex {
    font-size: 16px;
    width: 50%;
}
.hero-meta {
    display: flex;
    gap: 8px;
    margin: 20px 0px 60px 0px;
    flex-wrap: wrap;
}
.meta-item {
    flex: 1;
    min-width: 140px;
    background: var(--middle-bg);
    padding: 16px 20px;
}
.meta-label { display: block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--dark-bg-text); margin-bottom: 8px; }
.meta-val { display: block; font-size: 16px; color: var(--light-bg); font-family: 'redhat_bold', Tahoma, Arial, sans-serif; }
.hero-visual {
    width: 100%; /*aspect-ratio: 2/1;*/
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; background: var(--middle-bg);
    margin-top: 32px;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.88); }
.placeholder-icon {
    width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.1);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: rgba(255,255,255,.15);
}

/* ── VÝSTUPY — styl sjednocený s benefit ── */
.vystupy-grid {
    display: grid;
    gap: 8px;
    counter-reset: vystup;
}
.vystupy-cols-4 { grid-template-columns: repeat(4, 1fr); }
.vystupy-cols-3 { grid-template-columns: repeat(3, 1fr); }
.vystup-item {
    counter-increment: vystup;
    overflow: hidden;
    background: var(--middle-bg);
    padding: 32px 28px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: background 0.2s;
}
/* Velké číslo na pozadí — stejné jako benefit */
.vystup-item::before {
    content: "" counter(vystup);
    position: absolute;
    top: -22px;
    right: -22px;
    width: 120px;
    text-align: center;
    font-variant-numeric: tabular-nums;
    font-size: 150px;
    font-family: 'redhat_bold', Tahoma, Arial, sans-serif;
    font-weight: 700;
    line-height: 1;
    color: rgba(255, 255, 255, 0.04);
    pointer-events: none;
    user-select: none;
}
.vystup-item:hover { background: #222; }
/* Zelená linka s animací při hoveru */
.vystup-linka {
    display: block;
    width: 60px;
    height: 2px;
    background: var(--color-accent);
    margin-bottom: 14px;
    transition: width 0.7s ease;
    position: relative;
    z-index: 1;
}
.vystup-item:hover .vystup-linka { width: 100%; }
.vystup-obsah { position: relative; z-index: 1; }
.vystup-nazev { font-size: 24px; font-weight: 600; color: var(--light-bg); line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 8px; }
.vystup-popis { font-size: 16px; line-height: 1.3; color: var(--dark-bg-text); }
.vystup-detail { display: block; font-size: 11px; color: var(--color-accent); margin-top: 10px; }

/* ── PROCES ── */
.proces-wrap { padding: 72px 0; background: var(--middle-bg); }
.proces-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.proces-intro { font-size: 15px; line-height: 1.8; color: var(--dark-bg-text); }
.proces-kroky { display: flex; flex-direction: column; }
.krok { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 20px 0 10px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.krok:first-child { border-top: 1px solid rgba(255,255,255,.06); }
.krok-num { font-size: 36px; color: rgba(255,255,255,.1); font-family: 'redhat_bold', Tahoma, Arial, sans-serif; line-height: 1; padding-top: 2px; }
.krok-nazev { display: block; font-size: 16px; color: var(--light-bg); margin-bottom: 0px; margin-top: 0px; padding-top: 0px; }
.krok-popis { font-size: 15px; line-height: 1.65; color: var(--dark-bg-text); padding-bottom: 0px; }

/* ── CITÁT ── */
.wrap--narrow { max-width: 760px; margin: 0 auto; padding: 0 40px; }
.citat-wrap { padding: 0px 0; }
.citat-text { font-family: Georgia, serif; font-size: clamp(16px, 2.5vw, 22px); line-height: 1.6; color: var(--light-bg); font-style: italic; margin-bottom: 24px; }
.citat-autor { display: flex; align-items: center; gap: 14px; }
.citat-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--dark-bg); border: .5px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--color-accent); flex-shrink: 0; }
.citat-jmeno { display: block; font-size: 16px; color: var(--light-bg); margin-bottom: 4px; }
.citat-pozice { display: block; font-size: 14px; color: var(--dark-bg-text); }



/* ── NAVIGACE PROJEKTŮ ── */
.nav-projekty { border-top: 1px solid rgba(255,255,255,.08); padding: 40px 0; }
.nav-projekty-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.nav-p-btn { display: flex; flex-direction: column; gap: 4px; text-decoration: none; transition: opacity .2s; }
.nav-p-btn:hover { opacity: .7; }
.nav-p-btn.right { align-items: flex-end; }
.nav-p-dir { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--dark-bg-text); }
.nav-p-nazev { font-size: 15px; font-weight: 700; color: var(--light-bg); }
.nav-p-all { display: flex; align-items: center; justify-content: center; border: .5px solid rgba(255,255,255,.15); color: var(--dark-bg-text); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 10px 20px; text-decoration: none; transition: all .2s; white-space: nowrap; }
.nav-p-all:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* ── LIGHTBOX ── */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.95); z-index: 9999; align-items: center; justify-content: center; padding: 40px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; object-fit: contain; }
.lightbox-close { position: absolute; top: 20px; right: 24px; font-size: 32px; color: rgba(255,255,255,.5); cursor: pointer; background: none; border: none; line-height: 1; transition: color .2s; }
.lightbox-close:hover { color: #fff; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
    .hero-meta { grid-template-columns: repeat(2, 1fr); }
    .vystupy-cols-4, .vystupy-cols-3 { grid-template-columns: repeat(2, 1fr); }
    .proces-grid { grid-template-columns: 1fr; gap: 40px; }
    .g-8 { grid-column: span 12; } .g-4 { grid-column: span 12; }
    .g-6 { grid-column: span 12; } .g-3 { grid-column: span 6; }
    .g-tall { grid-column: span 12; grid-row: span 1; }
}
@media (max-width: 600px) {
    .hero-title { font-size: clamp(32px, 8vw, 52px); }
    .vystupy-cols-4, .vystupy-cols-3 { grid-template-columns: 1fr; }
    .nav-projekty-inner { grid-template-columns: 1fr 1fr; }
    .nav-p-all { display: none; }
    .hero-meta { grid-template-columns: 1fr 1fr; }
    .g-3 { grid-column: span 12; }
    .wrap--narrow { padding: 0 20px; }
}

.pk-cta-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 8px;
}
.pk-cta-left {
    background: var(--middle-bg);
    padding: 40px 40px 30px 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    cursor: pointer;
    transition: background .2s;
}
.pk-cta-left:hover { background: #222; }
.pk-cta-right {
    background: var(--color-accent, #A8CD2B);
    padding: 40px 40px 30px 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-decoration: none;
    color: #1C1C1C;
    transition: background-color .2s;
}
.pk-cta-right:hover { background-color: var(--light-bg) }
.pk-cta-eyebrow {
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--color-accent, #A8CD2B);
    font-weight: 600;
}
.pk-cta-right .pk-cta-eyebrow { color: rgba(0,0,0,.5); }
.pk-cta-title {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 700;
    color: var(--light-bg, #F0F0F0);
    line-height: 1.1;
    letter-spacing: -.02em;
    margin: 0;
}
.pk-cta-right .pk-cta-title { color: #1C1C1C; }
.pk-cta-sub {
    font-size: 13px;
    line-height: 1.6;
    color: var(--dark-bg-text, rgba(240,240,240,.5));
    margin: 0;
    flex: 1;
}
.pk-cta-right .pk-cta-sub { color: rgba(0,0,0,.6); }
 
/* Progress */
.pk-progress {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 8px;
    margin-top: 8px;
}
.pk-progress-label { font-size: 12px; font-weight: 700; color: var(--light-bg, #F0F0F0); }
.pk-progress-pct { font-size: 12px; font-weight: 700; color: var(--light-bg, #F0F0F0); }
.pk-progress-bar {
    grid-column: 1 / -1;
    height: 1px;
    background: rgba(255,255,255,.1);
}
.pk-progress-fill {
    height: 100%;
    background: var(--color-accent);
    transition: width .4s ease;
}
 
/* + tlačítko */
.pk-cta-btn {
    position: absolute;
    top: 40px; right: 40px;
    width: 48px; height: 48px;
    background: var(--color-accent);
    border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: opacity .2s;
}
.pk-cta-btn:hover { background: var(--light-bg); }
.pk-cta-plus {
    font-size: 28px;
    color: #1C1C1C;
    line-height: 1;
    font-weight: 300;
}
 
/* Odkaz portfolio */
.pk-cta-link {
    font-size: 16px;
    color: #1C1C1C;
    border-top: 1px solid rgba(0,0,0,.15);
    padding-top: 16px;
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.pk-cta-link i {
    color: var(--light-bg);
}
.pk-cta-right:hover .pk-cta-link i {
    color: var(--color-accent);
}
 
/* Akce po rozbalení */
.pk-cta-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 8px;
}
.pk-cta-divider {
    border-top: 1px solid rgba(255,255,255,.12);
    margin-top: 8px;
}
.pk-cta-back {
    font-size: 16px;
    color: var(--light-bg, #F0F0F0);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}
.pk-cta-collapse {
    font-size: 16px;
    color: var(--dark-bg-text, rgba(240,240,240,.5));
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    padding: 0;
    transition: color .2s;
}
.pk-cta-collapse:hover { color: var(--light-bg, #F0F0F0); }
 
.pk-hidden { display: none !important; }

.pk-cta-left::before,
.pk-cta-right::before {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background: var(--color-accent);
    margin-bottom: 16px;
    transition: width 0.7s ease;
}
.pk-cta-right::before {
    background: var(--dark-bg);
}
.pk-cta-left:hover::before,
.pk-cta-right:hover::before {
    width: 100%;
}
 
@media (max-width: 760px) {
    .pk-cta-panel { grid-template-columns: 1fr; }
    .pk-cta-left, .pk-cta-right { padding: 28px 24px; }
    .pk-cta-btn { top: 28px; right: 24px; }
}

.pnav { padding-top: 72px; padding-bottom: 80px; }
 
/* tmavý blok se zeleným horním okrajem */
.pnav-box {
   display: flex;
   flex-wrap: wrap;
   border-top: 2px solid var(--color-accent, #9bcb3c);
   border-bottom: 1px solid #3a3a3a;
}
.pnav-link {
   flex: 1 1 0;
   min-width: 0;
   display: flex;
   align-items: center;
   gap: 15px;
   padding: 30px 0px;
   text-decoration: none;
}
.pnav-next { justify-content: flex-end; text-align: right; }
 
.pnav-text { display: flex; flex-direction: column; gap: 6px; }
.pnav-next .pnav-text { align-items: flex-end; }
 
.pnav-label {
   font-size: 11px;
   letter-spacing: 1px;
   text-transform: uppercase;
}
.pnav-name {
   font-size: clamp(18px, 1.8vw, 22px);
   line-height: 1.15;
}
 
/* čtverce se šipkami */
.pnav-sq {
   flex: 0 0 auto;
   width: 40px;
   height: 40px;
   display: flex;
   align-items: center;
   justify-content: center;
   transition: transform .2s;
}
 
/* předchozí = tlumeně šedá */
.pnav-prev .pnav-sq    { background: #3a3a3a; color: #929292; }
.pnav-prev .pnav-label { color: #929292; }
.pnav-prev .pnav-name  { color: #a8a8a8; transition: color .15s; }
.pnav-prev:hover .pnav-name { color: #fff; }
.pnav-prev:hover .pnav-sq   { transform: translateX(-4px); }
 
/* další = zelená + bílá */
.pnav-next .pnav-sq    { background: var(--color-accent, #9bcb3c); color: var(--dark-bg, #1e1e1e); }
.pnav-next .pnav-label { color: var(--color-accent, #9bcb3c); }
.pnav-next .pnav-name  { color: #fff; }
.pnav-next:hover .pnav-sq { transform: translateX(4px); }
 
/* textové odkazy pod blokem, bez pozadí */
.pnav-under {
   display: flex;
   flex-wrap: wrap;
   justify-content: space-between;
   align-items: center;
   gap: 8px 32px;
   padding-top: 14px;
}
.pnav-textlink {
   display: inline-flex;
   align-items: center;
   gap: 10px;
   min-height: 44px;
   font-size: 14px;
   font-weight: 600;
   color: #c4c4c4;
   text-decoration: none;
   transition: color .15s;
}
.pnav .pnav-sq i {
   display: flex;
   align-items: center;
   justify-content: center;
   width: 1em;
   height: 1em;
   margin: 0;
   padding: 0;
   vertical-align: 0;
   text-align: center;
}
.pnav .pnav-sq i::before {
   display: block;
   margin: 0;
   line-height: 1;
}
.pnav-sq i { font-size: 20px; line-height: 1; }
.pnav-textlink i { font-size: 16px; line-height: 1; }
.pnav-textlink:hover { color: var(--color-accent, #9bcb3c); }

.pnav .pnav-next .pnav-sq i,
.pnav .pnav-next .pnav-sq i::before { color: #1e1e1e; }
.pnav .pnav-prev .pnav-sq i,
.pnav .pnav-prev .pnav-sq i::before { color: #929292; }
.pnav .pnav-textlink i,
.pnav .pnav-textlink i::before { color: inherit; }
 
.pnav a:focus-visible { outline: 2px solid var(--color-accent, #9bcb3c); outline-offset: 3px; }
 
/* mobil: předchozí a další pod sebou */
@media (max-width: 720px) {
   .pnav { padding-top: 48px; padding-bottom: 72px; }
   .pnav-box { flex-direction: column; flex-wrap: nowrap; }
   .pnav-link { flex: 0 0 auto; }
   .pnav-next { order: 1; border-bottom: 1px solid #3a3a3a; }
   .pnav-prev { order: 2; }
}
 
@media (prefers-reduced-motion: reduce) {
   .pnav-sq, .pnav-name, .pnav-textlink { transition: none; }
}