@import url(https://fonts.bunny.net/css?family=fira-sans:300,500|montserrat:300,500,700);

/* reset styles */
html {
  box-sizing: border-box;
  font-size: 17px;
  scroll-behavior: smooth;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body, h1, h2, h3, h4, h5, h6, p, ol, ul {
  margin: 0;
  padding: 0;
  font-weight: 300;
}

ol, ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* fonts, elements */

body {
  font-family: 'Fira Sans', sans-serif;
  font-weight: 300;
}

h1, h2, h3, h4, h5, h6{
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
}

h2 {
  color: #062456;
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 34px);
  margin-bottom: 20px;
}

h3{
  color: #EB3331;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 10px;
}

strong{
  font-weight: 500;
}

p{
  line-height: 23px;
}

section{
  padding-left: 15px;
  padding-right: 15px;
}

/* utility */
.uppercase{
  text-transform: uppercase;
}
.container{
  max-width: 1235px;
  margin: 0 auto;
  padding: 0 15px;
}
.prefix{
  color: #EB3331;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  margin-bottom: 10px;
}

/* header */

header{
  font-size: 16px;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
}

.bar{
  background: #062456;
  color: #fff;
  padding-top: 16px;
  padding-bottom: 15px;
}

.bar a{
  color: #fff;
  text-decoration: none;
  background: transparent url('mapa.svg') no-repeat left center;
  padding: 2px 0 2px 35px;
}

.bar a.mail{
  background-image: url('email.svg');
}

.bar a.phone {
  background-image: url('telefon.svg');
}

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

.bar ul{
  font-weight: 500;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

nav ul{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-weight: 700;
}

nav ul a{
  color: #062456;
  text-decoration: none;
}

nav ul a:hover {
  text-decoration: underline;
}

.mobile {
  display: none;
}

@media only screen and (max-width: 768px) {
    header{
      padding: 15px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      justify-items: end;
      align-items: center;
      border-top: 4px solid #062456;
    }
    header .bar,
    header nav{
      display: none;
    }
    .mobile-logo{
      display: block;
      justify-self: start;
    }
    header label{
      background: #062456;
      color: #fff;
      font-weight: 700;
      padding: 13px 26px;
      cursor: pointer;
    }
    header input:checked~label{
      background: #596D8E;
    }
    header label.mobile{
      display: flex;
      gap: 0.5em;
      align-items: center;
    }
    header label div{
      display: flex;
      flex-direction: column;
      gap: 0.2em;
    }
    header label div span{
      display: block;
      height: 2px;
      background: #fff;
      width: 1em;
    }
    header input:checked~div,
    header input:checked~div > div,
    header input:checked~div > nav{ display: block; }
    header input:checked~div{
      display: flex;
      flex-direction: column-reverse;
    }
    header .bar{
      background: none;
    }
    .bar .container{
      padding: 0 15px;
    }
    .bar a{
      color: #062456;
      font-weight: 700;
    }
    .bar ul{
      flex-direction: column;
      gap: 1em;
      align-items: center;
    }
    .desktop-nav{
      grid-column: span 2;
      justify-self: start;
      width: 100vw;
      position: absolute;
      background: #fff;
      z-index: 3;
      top: 115px;
      left: 0;
    }
    header nav{
      width: 100%;
    }
    header nav ul{
      flex-direction: column;
    }
    header nav ul li.logo{
      display: none;
    }
    header nav ul li{
      border-bottom: 2px solid #062456;
      padding: 15px;
      width: 100%;
      text-align: center;
    }
}

/* hero */

.hero{
  max-height: 699px;
  position: relative;
  color: #fff;
  padding: 202px 0;
}

.hero img{
  width: 100%;
  height: 699px;
  object-fit: cover;
  position: absolute;
  top: 0;
  z-index: 1;
}

.hero .content{
  z-index: 2;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 63px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  font-family: 'Montserrat', sans-serif;
}

.hero h1{
  font-size: clamp(1rem, 12vw, 96px);
  font-weight: 700;
}

.hero p{
  font-size: clamp(1.5rem, 4vw, 34px);
  line-height: 42px;
}

.hero .buttons{
  display: flex;
  justify-content: center;
  gap: 30px;
}

.hero .buttons a{
  background: #fff;
  color: #062456;
  font-weight: 700;
  padding: 13px 26px;
  text-decoration: none;
}

.hero .buttons a:hover{
  text-decoration: underline;
}

.hero .buttons a.button{
  background: #ffffff66;
  color: #fff;
}

@media only screen and (max-width: 380px) {
  .hero .buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 70%;
    margin: 0 auto;
  }
}

/* sluzby */
.sluzby{
  margin-top: 100px;
}

.sluzby .content{
  text-align: center;
  max-width: 808px;
  margin: 0 auto;
  margin-bottom: 50px;
}

.sluzby h2{
  max-width: 590px;
  margin-left: auto;
  margin-right: auto;
}

.sluzby .tiles{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 37px;
}

.sluzby .tile{
  border: 1px solid #C7CED9;
  padding: 20px;
}

.sluzby .tile img{
  margin-bottom: 30px;
}

@media only screen and (max-width: 1023px) {
  .sluzby .tiles {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media only screen and (max-width: 768px){
  .sluzby .tiles {
    grid-template-columns: 1fr 1fr;
  }
}

@media only screen and (max-width: 520px) {
  .sluzby .tiles {
    grid-template-columns: 1fr;
  }
}

/* odtah */

section.odtah{
  background: #062456;
  margin-top: 176px;
  padding-right: 0;
}

.odtah .cols{
  display: grid;
  grid-template-columns: 1fr calc(50% - 105px);
  align-items: center;
  color: #fff;
}

.odtah .col.content-col{
  justify-self: end;
}

.odtah img{
  width: 100%;
  height: 543px;
  object-fit: cover;
  display: block;
}

.odtah .content{
  max-width: 562px;
  margin-right: 172px;
}

.odtah h2{
  color: #fff;
}

.odtah p{
  margin-bottom: 50px;
}

.odtah a{
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  background: transparent url('telefon.svg') no-repeat left center;
  padding: 2px 0 2px 35px;
}

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

@media only screen and (max-width: 768px) {
  .odtah{
    padding: 0;
  }
  .odtah .cols {
    grid-template-columns: 1fr;
  }
  .odtah .cols .col:first-child {
    padding: 15px;
  }
  .odtah img{
    margin-top: 15px;
    height: auto;
  }
  .odtah .content{
    max-width: 100%;
    margin: 0;
  }
}

/* o nas */

.o-nas{
  margin-top: 130px;

}

.o-nas .image{
  flex-shrink: 0;
}

.o-nas .image img{
  max-width: clamp(300px, 41vw, 568px);
}

.o-nas .cols{
  display: flex;
  gap: 50px;
}

.o-nas .tiles{
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr 1fr;
  margin-top: 50px;
}

.o-nas .tile {
  border: 1px solid #C7CED9;
  padding: 20px;
}

.o-nas .tile img {
  margin-bottom: 20px;
}

.o-nas h3{
  color: #062456;
}

.o-nas h3 strong{
  color: #EB3331;
  font-weight: 700;
}

@media only screen and (max-width: 1024px) {
  .o-nas .tiles {
    grid-template-columns: 1fr;
  }
}

@media only screen and (max-width: 768px) {
  .o-nas .cols{
    flex-direction: column-reverse;
  }
  .o-nas .image img {
    max-width: 100%;
    width: 100%;
  }
}

/* znacky */

.znacky{
  margin-top: 130px;
  background: #FAFAFA;
  padding: 80px 100px;
}

.znacky h2{
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 34px);
}

.znacky .container{
  margin: 0 auto;
  max-width: 1720px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2em;
}

.znacky .container img{
  height: clamp(30px, 5vw, 74px);
}

@media only screen and (max-width: 1023px) {
  .znacky .container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
  }
  .znacky .container img {
    height: clamp(40px, 2vw, 74px);
  }
}
@media only screen and (max-width: 520px) {
  .znacky .container {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* kontakt */

section.kontakt{
  position: relative;
  height: 773px;
  padding-left: 0;
  padding-right: 0;
}

.kontakt .mapa{
  position: absolute;
  z-index: 1;
  height: 773px;
  width: 100%;
}

.map-element{
  height: 773px;
}

.smap>div:first-child {
  width: 100% !important;
}

#m.smap>div:first-child>div:first-child,
#m.smap>div:first-child>div img {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}

.kontakt .text{
  z-index: 2;
  position: relative;
  max-width: 614px;
  background: #fff;
  top: 50%;
  left: 50%;
  transform: translate(-100%, -50%);
  padding: 70px;
  box-shadow: 0px 20px 50px #00000029;
}

.kontakt address{
  font-style: normal;
  margin-bottom: 50px;
}

.kontakt address strong{
  font-weight: 500;
}

.kontakt .links{
  display: flex;
  gap: 50px;
}

.kontakt .links a{
  font-weight: 500;
  color: #062456;
  text-decoration: none;
  background: transparent url('telefon.svg') no-repeat left center;
  padding: 2px 0 2px 35px;
}

.kontakt .links a:first-child{
  background-image: url('email.svg');
}

.kontakt .links a:hover {
  text-decoration: underline;
}

@media only screen and (max-width: 1240px) {
  .kontakt .text {
    transform: translate(-80%, -50%);
  }
}

@media only screen and (max-width: 1024px) {
  .kontakt .text {
    transform: translate(-75%, -50%);
    max-width: 450px;
  }
  .kontakt .links {
    flex-direction: column;
  }
}

@media only screen and (max-width: 768px) {
  section.kontakt{
    height: auto;
    display: flex;
    flex-direction: column-reverse;
  }
  .kontakt .mapa {
    position: relative;
    z-index: 1;
    height: 500px;
    width: 100%;
  }
    .map-element {
      height: 500px;
    }
  .kontakt .text{
    transform: none;
    max-width: 100%;
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
    box-shadow: none;
  }
}

/* poptavka */

.poptavka{
  margin-top: 130px;
}

.poptavka .content{
  max-width: 808px;
  margin: 0 auto;
  text-align: center;
}

.poptavka .content a{
  font-weight: 500;
  text-decoration: none;
  color: #000;
}

.poptavka .content a:hover {
  text-decoration: underline;
}

.poptavka form{
  width: 100%;
  max-width: 601px;
  color: #596D8E;
  margin: 50px auto 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
}

.poptavka form label{
  font-weight: 500;
  display: block;
  margin-bottom: 10px;
}

.poptavka form input,
.poptavka form textarea{
  width: 100%;
  border: 1px solid #C7CED9;
  padding: 15px 10px;
  color: #062456;
  font-weight: 700;
  margin-bottom: 30px;
  font-family: 'Montserrat', sans-serif;
}

.poptavka .agree{
  margin-bottom: 30px;
}

.poptavka form textarea{
  height: 200px;
}

.poptavka form .actions{
  text-align: center;
}

.poptavka form input[type="submit"]{
  background: #062456;
  color: #fff;
  font-weight: 700;
  padding: 13px 26px;
  width: auto;
  margin: 0 auto;
  cursor: pointer;
}

.message{
  padding: 15px;
  margin: 30px;
  color: #fff;
}

.message.error{
  background: #EB3331;
}

.message.status {
  background: #062456;
}

/* footer */

footer{
  background: #062456;
  color: #fff;
  padding: 40px 0;
  margin-top: 143px;
}

footer nav ul{
  justify-content: space-around;
  max-width: 80%;
  margin: 0 auto;
}

footer nav ul a{
  color: #fff;
}

footer hr.container{
  background: #596D8E;
  border: none;
  height: 1px;
  margin: 40px auto;
}

@media only screen and (max-width: 768px) {
  footer nav ul{
    flex-direction: column;
    gap: 1em;
  }
  footer .bar a{
    color: #fff;
  }
}
