.hamburger {
  display: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  position: relative;
  box-sizing: border-box;
  width: 52px !important;
  height: 52px !important;
  min-width: 52px;
  min-height: 52px;
  flex-shrink: 0;
  border: none !important;
  outline: none;
  border-radius: 50% !important;
  background: rgba(187, 7, 221, 1) !important;
  box-shadow: none;
  cursor: pointer;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 1100;
  transition: filter 0.25s ease;
}

.hamburger:hover {
  filter: brightness(1.12);
}

.hamburger span {
  position: absolute;
  left: 16px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.2s ease, top 0.3s ease;
}

.hamburger span:nth-child(1) { top: 19px; }
.hamburger span:nth-child(2) { top: 26px; }
.hamburger span:nth-child(3) { top: 33px; }

.hamburger.active span:nth-child(1) {
  top: 26px;
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  top: 26px;
  transform: rotate(-45deg);
}

.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 10, 25, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1050;
}

.mobile-menu-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: linear-gradient(180deg, rgba(6, 33, 60, 1) 0%, rgba(0, 0, 0, 1) 100%);
  padding: 110px 8% 60px;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.35s ease, visibility 0.35s ease;
  z-index: 1090;
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateX(0);
  visibility: visible;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu nav a {
  color: #fff;
  font-size: 1.2em;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-menu nav a.btn-special {
  margin-top: 24px;
  text-align: center;
  border-bottom: none;
  font-size: 1.15em;
}

body.menu-open {
  overflow: hidden;
}

@media only screen and (max-width: 1100px) {

  .navigace-main {
    display: none;
  }

  .hamburger {
    display: block;
  }

}

@media only screen and (max-width: 1200px) {

.uvod {
  padding: 70px 5%;
  justify-content: center;
  gap: 100px;
  align-items: center;
  flex-direction: column;
}

.uvod .textace {
  max-width: 600px;
  width: 90%;
}

.uvod img {
  max-width: 500px;
  width: 100%;
}

.kontakt-1 {
  flex-direction: column;
  align-items: center;
}

.kontakt-1 .kontakt-info {
  width: 100%;
}

.schema img,
.schema svg {
  display: none;
}

.pripadovka-main {
  flex-direction: column;
  gap: 40px;
}

.pripadovka-main .postup,
.pripadovka-main .klient-ref {
  width: 100%;
}

.pripadovka-logo {
  right: 25px;
  top: 25px;
  height: 20px;
}

}

@media only screen and (max-width: 1100px) {

  .hp-studie-popis {
  width: 100%;
  max-width: 100%;
}

.hp-studie {
  flex-direction: column;
  align-items: center;
}

 .hp-studie-content {
    padding: 0px;
    display: grid;
    grid-template-columns: repeat(2, 400px);
    grid-template-rows: repeat(2, 220px);
    gap: 30px;
  }

   .hp-studie-popis > p {
    max-width: 100%;
    text-align: center;
  }

  .nadpis-2 {
  background-image: url('../grafika/nadpis-2.svg');
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 220px auto;
  padding-top: 80px;
  text-align: center;
}

.hp-studie-popis ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.hp-studie .btn-container {
  display: flex;
  justify-content: center;
}

.sluzba-detail {
  flex-direction: column;
  align-items: center;
}

.sluzba-detail .img-1 {
    width: 320px;
    height: 320px;
  }

  .sluzba-detail .img-2 {
    width: 200px;
    height: 200px;
  }

  .sluzba-detail .textace {
    width: 100%;
    max-width: 600px;

  }

   .sluzba-detail {
    gap: 27px;
  }

    .sluzba-detail .img-2 {
    display: none;
  }

  .sluzba-detail .imgs {
  padding: 30px 0 0 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

.sluzba-detail .img-1 {
    width: 90%;
    max-width: 320px;
    height: auto;
  }

  .vyhody-bg {
  background-size: 130px auto;
}

}


@media only screen and (max-width: 900px) {

.f-main {
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.f-additional {
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.column-flex {
  flex-direction: column;
  gap: 80px;
  align-items: center;
}

.column-add-odkazy {
  flex-direction: column;
  align-items: center;
}

  .hp-studie-content {
    display: block;
  }

  .hp-studie-content .polozka img {
  width: 400px;
  height: 300px;
  margin-bottom: 40px;

}

h1 {
  font-size: 2.7em;
}

.other-pages .header-main p {
  font-size: 1.3em;
  color: #fff;
  font-style: italic;
  font-weight: 500;
  padding-top: 30px;
}

.other-pages .header-bg {
  padding-left: 8%;
  padding-right: 5%;
}

.hlavni-fotka {
  display: none;
}

.clanek-main .clanek-content {
  width: 100%;
  max-width: 1000px;
}

footer {
  padding-top: 0;
}

}


@media only screen and (max-width: 800px) {

 .kontakt-1 .form-content .input-polozka {
    width: 100%;
  }

    .kontakt-1 {
    padding: 50px 5%;
    border-radius: 0;
    width: 100%;
  }

  .kontakt-1 .form {
  background-color: #fff;
  border-radius: 10px;
  padding: 6%;
}

.homepage .header-bg img {
  display: none;
}

.header-bg {
  width: 100%;
  padding-top: 40px;
  padding-bottom: 40px;
}

h1 {
  font-size: 2.6em;
}

.homepage .header-main p {
  font-size: 1.3em;
}

.page-studie h2, .page-blog h2, .page-sluzba h2 {
  font-size: 1.8em;
}

.nadpis-1 {
  background-size: 180px auto;
  padding-top: 60px;
}

.nazev-sluzby-content h1 {
  font-size: 1.8em;
}

.nazev-sluzby-content img {
    height: 42px;
  }

  .nazev-sluzby-content {
  border-radius: 30px;
  padding: 15px 30px;
  gap: 20px;
}

.nazev-sluzby {
  display: flex;
  justify-content: center;
  padding-top: 60px;
}



}

@media only screen and (max-width: 700px) {

 .page-sluzby .header-img {
    display: none;
  }

  .other-pages .header-bg {
  padding-top: 0px;
  padding-bottom: 0px;
}

.sluzby-karty-content .karta .head img {
  height: 50px;
}

.sluzby-karty-content .karta .head h3 {
  padding-right: 10px;
}

.sluzby-karty-content .karta {
  border-radius: 30px;
  padding: 30px;
}

.vyhody-polozky {
  padding: 60px 30px;
}

}

@media only screen and (max-width: 600px) {

.zakaznik-content .polozka {
  max-width: 420px;
  width: 100%;
}

.zakaznik-content {
  width: 100%;
}

.zakaznik-content .polozka {
  width: 420px;
  padding: 40px;
  border-radius: 30px;
  box-shadow: 0px 0px 30px #D1D9E6; 
  background-repeat:no-repeat;
  background-position:top 0px center;
  background-height: 40px;
}

.zakaznik-content h3 {
  padding-top: 40px;
}

.zakaznik-content .polozka br {
  display: none;

}

.pripadovka-karta {
  width: 96%;
  padding: 25px;
  border-radius: 24px;
}

.pripadovka-logo {
  display: none;
}

.pripadovka-karta h3 {
  font-size: 1.3em;
  padding-top: 20px;
  padding-bottom: 12px;
}

.postup-polozka {
  gap: 12px;
}

.postup-polozka .cislice {
  width: 32px;
  height: 32px;
}

.postup-polozka .cislice span {
  font-size: 1em;
}

.postup-polozka-cislovani img {
  width: 32px;
  height: auto;
}

.postup-polozka-cislovani .lajna-vertical {
  top: 32px;
}

.klient-ref p {
  padding: 20px;
}

}

@media only screen and (max-width: 500px) {
  .hp-studie-content .polozka img {
  width: 300px;
  height: 230px;
  margin-bottom: 40px;

}

.nazev-sluzby-content h1 {
    font-size: 1.5em;
  }

    .nazev-sluzby {
    padding-right: 5%;
    padding-left: 5%;
  }
}