@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap');

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.container-grey {
    background: #f3f3f3;
    padding-bottom: 60px;
}


.header-background {
  position: relative;

}

ol {
    font-weight: 700;
}

.page-main ol,
.page-main ul {
    padding-left: 50px; /* posune text i marker */
    margin-bottom: 1em; /* mezera pod seznamem */
}

/* Styl markeru pro lepší čitelnost */
.page-main ol li::marker,
.page-main ul li::marker {
    color: #333;      /* barva markeru */
    font-weight: bold; /* tučný marker */
    font-size: 1em;    /* velikost markeru */
    padding-right: 8px; /* prostor mezi markerem a textem */
}



.header-fixed {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 501;
  background: transparent; /* Před scrollem, průhledné nebo klidně bílé, jak chcete */
  transition: all 0.3s ease;
}

/* Po scrollu */
.header-fixed.shrink {
  background: #105e7f; /* Bílé pozadí přes celou šířku */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Např. jemný stín pro odlišení */
  padding: 1px 0; /* Nějaký padding, aby nebyla výška 1px */
}

.region-header-logo-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Pro zmenšené logo můžete upravit výšku obrázku, pokud potřebujete */
.header-fixed.shrink .logo img {
  max-height: 100px; /* Pokud chcete zmenšit logo při scrollu */
}


/* Pokud potřebujete, aby horní část (logo+menu) měla bílé nebo jiné pozadí, můžete tady dát background-color */
.region-header-logo-menu.container {
  /* Např. pokud chcete poloprůhledné pozadí: */

  padding: 10px 0;
}

.header-hero {
  /* Nyní musíte zajistit, aby obsah hero nebyl schován pod fixním menu.
     Například, pokud je výška fixního menu 100px, dejte margin-top: 100px */
  margin-top: 80px; /* Upravte dle potřeby, aby hero text začínal až pod menu */
}


p {
    font-size: 16px;
    line-height: 25px;
}

.p18 {
    font-size: 18px;
    line-height: 28px;
}

.tac {
    text-align: center;
}

.fs30 {
    font-size: 30px;
    font-weight: 900;
}

.fs40 {
    font-size: 40px;
    font-weight: 900;
}

.fs50 {
    font-size: 50px;
    font-weight: 900;
}

.fs20 {
    font-size: 20px;
}

.mt50 {
    padding-top: 50px;
}

body {
  font-family: "Red Hat Display", sans-serif;
  color: #4A4A4A;
}

/* Full-Width Sections */
header, main, footer {
  width: 100%;
  position: relative;
}

/* Container Styling */
.container {
  width: 70%;
  margin: 0 auto;
  padding: 0 20px;

}

a, a:link {
    color:#105e7f;
    text-decoration: none;
}

a, a:link hover {
    color:#56d8ec;
    font-weight: 700;
}


/* Header Specific */
header {
  background-color: #f8f9fa;
  padding: 20px 0;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

/* Logo Region */
.header__logo {
  flex: 1;
}

.header__logo img {
  max-height: 80px;
  transition: max-height 0.3s ease;
}

header.shrink .header__logo img {
  max-height: 50px;
}

/* Slogan Region */
.header__slogan {
  flex: 2;
  font-size: 16px;
  font-style: italic;
  color: #666;
  text-align: center;
}

/* Primary Menu Region */
.header__menu {
  flex: 3;
  display: flex;
  justify-content: flex-end;
}

/* Shrinking Header on Scroll */
header.shrink {
  padding: 10px 0;
}



  .header__logo,
  .header__slogan,
  .header__menu {
    margin-bottom: 10px;
  }

  .header__menu {
    justify-content: center;
  }


 h2 {
   color:#105E7F; 
}

 h3, h4, h5 {
   color:#105E7F;
}

.flex {
    display: flex;
    flex-wrap: wrap;
}

.flex-between {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.mr20 {
    margin-right: 20px;
}

.kontakt-block-wrapper {
    margin-top: -100px;
}



.hp-servis-main  {
    background: #EAFBFD;
    border-radius: 0px 0px 0px 90px;
    
}

.hp-servis-main h2 {
    padding-top: 100px; 
}


.hp-servis-main h3, .hp-contact-main h3 {
   color: #14CCE8;
   font-weight: 400;
}

.hp-servis-in {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 60px;
    
}

.hp-servis {
    width: 48%;
    background: #14CCE8;
    padding: 60px 30px;
    margin-bottom: 50px;
}

.hp-servis-text h4{
    font-weight: 400;
    font-size: 40px;
    margin-bottom: 30px;
    color:#0F2B7A;
    text-transform: uppercase;
   
}

span.bold {
    font-weight: 900;
}

.hp-button {
    margin-top: 50px;
    position: relative;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.hp-banner .hp-button {
    justify-content: flex-start;
}



.hp-servis-button {
   border-radius: 10px;
   border: 1px solid #105e7f;
   background: #105e7f;
   width: 200px;
   text-align: center;
   color:#fff; 
   font-weight: 700;
   position: relative;
   
}

.hp-servis-button a, .hp-servis-button a:link {
   
   color:#fff; 
   
   
}

.hp-servis-button:hover {
   border: 1px solid #105e7f;
   background: #105e7f;
   color:#fff; 
   box-shadow: -2px 0px 29px -10px rgba(0,0,0,0.65);
}

.hp-servis-button-2 {
   padding: 15px;
   border-radius: 10px;
   border: 2px solid #bbeff7;
    background: #bbeff7;
    text-align: center;
   width: 200px;
   color:#105e7f; 
   font-weight: 700;
   position: relative;
   
}

.hp-servis-button-2:hover {
   border: 2px solid #56D8EC;
   background: #56D8EC;
   
   box-shadow: -2px 0px 29px -10px rgba(0,0,0,0.65);
}

.hp-button-tel {
    padding-top: 12px;
    font-weight: 900;
    color: #105E7F;
    font-size: 22px;
}

.box-konfugurator {
    background: url("/images/zavory/konfigurator.jpg") no-repeat ; 
    background-position: center;
    background-size: cover;
    width: 32%;
  border-radius: 20px;
  box-shadow: rgba(0, 0, 0, 0.12) 0px 3px 20px;
  margin-bottom: 30px;
  transition: transform 0.45s, box-shadow 0.45s;

}

.box-konfugurator:hover {
   transform: scale(0.96);
   cursor: pointer; 
}

.box-konfugurator-in {
  padding: 30px;
  
  
}

.box-konfugurator-in h3 {
   color:#fff;
   
   font-size: 35px;
   font-weight: 900;
   
   text-shadow: rgba(0, 0, 0, 0.8) 0px 3px 10px;
   
}

.box-konfugurator-in p {
   color:#fff;
   
   font-size: 20px;
   font-weight: 700;
   
   text-shadow: rgba(0, 0, 0, 0.8) 0px 3px 10px;
   
}

.box-duvody {
  background: #105e7f;
  border-radius: 20px;
  padding: 60px;
  margin-bottom: 60px;
}

.box-duvody h2{
  font-size: 60px;
  margin-bottom: 0px;
  line-height: 60px;
  font-weight: 900;  
  margin-bottom: 20px;
  color:#bbeff7;
}

.box-duvody-blok {
  color:#fff;
}

.box-duvody-in{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 40px;
}

.box-duvody-in-img {
   width: 100%;
}

.box-duvody-in-img img{
   width: 100%;
   height: auto;
   border-radius: 20px;
}

.box-duvody span {
    background:#bbeff7;
    color: #105e7f;
    border-radius: 50px;
    padding: 10px 20px;
    font-weight: 900;
    font-size: 18px;
    
}

.box-duvody p {
    padding: 10px 0px;
}

.box-duvody-blok {
    margin: 10px 0px 10px 20px;
}

.box-duvody h3 {
    color:#bbeff7;
    margin-top: 60px;
    font-size: 25px;
    
    
}
.partner-blok {
    padding-top: 30px;
    border: 1px solid #fff;
    border-radius: 18px;
    padding: 15px;
    width: 420px;
    margin-top: 30px;
    display: flex;
   
}

.partner-blok p{
    color:#fff;
    font-size: 16px;
    width: 60%;
    line-height: 18px;
}

.partner-blok img{
    width: 100px;
    height: 40px;
    margin: 5px 0px 0px 20px;;
    
    
}



.ico1 {
    width: 50%;
    border-bottom: 1px solid #56D8EC;
    border-right: 1px solid #56D8EC;
    padding: 50px;
    
}

.ico2 {
    width: 50%;
    border-bottom: 1px solid #56D8EC;
    padding: 50px;
}

.ico3 {
    width: 50%;
    padding: 50px;
    border-right: 1px solid #56D8EC;
}

.ico4 {
    width: 50%;
    padding: 50px;
    
}

.ico1-img {
    width: 64px;
    margin: 15px auto;
}

.ico1-text {
    text-transform: uppercase;
    text-align: center;
}

/* základní stav */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* po vstupu do zorného pole */
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
  animation: gentle-bounce 2.4s ease-in-out infinite; /* nekonečné houpání */
}

/* jemné pohupování – můžeš změnit amplitudu */
@keyframes gentle-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.hp-banner-blue {
    width: 100%;
    background: #B4EEF7;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
   
    margin-top: 50px;
    position: relative;
}

.hp-banner {
    margin-top: 100px;
}

.hp-banner h3 {
    font-size: 30px;
    z-index: 50;
    position: relative;
}

.hp-banner-number {
    width: 300px;
    padding: 50px;
}

.hp-banner-number h5{
   font-size: 16px;
   text-transform: uppercase;
   text-align: center;
   z-index: 50;
   position: relative;
}


.hp-banner-number h2{
   font-size: 80px;
   font-weight: 900;
   text-align: center;
   z-index: 50;
   position: relative;
}

.hp-banner-number h4{
   font-size: 20px;
   text-align: center;
   text-transform: uppercase;
    z-index: 50;
   position: relative;
}

.hp-banner-obr {
     position: absolute;
     width: 750px;
     height: auto;
     right: -56px;
     bottom: -8px;
}

.hp-banner-obr img {
    width: 100%;
    height: auto;
}


.hp-contact-main {
   border-radius: 50px 50px 0px 0px; 
   background: #fff;
   padding: 80px 80px 80px 80px;
   position: relative;
   display: flex;
   flex-wrap: wrap;
   justify-content: space-between;
}

.hp-contact-left {
    width: 45%;
    
}

.hp-contact-right {
     width: 49%; 
     display: flex;
     
}

.hp-contact-sloup1 {
    width: 48%;
    margin-left: 25px;
}

.hp-contact-logo {
   width: 100%;
   height: 200px;
   background: #105E7F;
   border-radius: 16px;
   margin-bottom: 25px;
   padding-top: 50%; /* Adjust top padding to push logo down */
  padding-bottom: 50%; /* Adjust bottom padding for vertical centering */
  display: flex;
  justify-content: center; /* Horizontal centering */
  align-items: center; /* Vertical centering */
}
   
.hp-contact-logo  img {
   width: 200px;
   
}


.hp-contact-obr1 {
   width: 100%;
  
}

.hp-contact-obr1 img, .hp-contact-obr2 img {
   width: 100%;
   
}

.hp-contact-text {
    background: #BBEFF7;
    height: 67%;
    border-radius: 16px;
    margin-bottom: 25px;
    text-align: center;
    padding: 140px 30px 50px 30px;
    font-size: 30px;
    font-weight: 900;
    
    
}

.hp-contact-obr2 {
   width: 100%;
   
}







/* Další služby page */
.pages-servis {
    width: 31%;
    background: #14CCE8;
    padding: 60px 30px;
    margin-bottom: 50px;
}

.pages-servis-text h4{
    font-weight: 400;
    font-size: 40px;
    margin-bottom: 30px;
    text-align: center;
    color:#fff;
    text-transform: uppercase;
    text-shadow: -1px 1px 5px rgba(0,0,0,0.6);
   
}
.pages-servis-button {
   padding: 15px;
   border-radius: 50px;
   border: 1px solid #fff;
   width: 135px;
   margin: 0 auto;
   background: #fff;
}

.pages-servis-button:hover {
   border: 1px solid #14cbe7;
   background: #14cbe7;
   box-shadow: -2px 0px 29px -10px rgba(0,0,0,0.65);
}

.pages-cl-01 {
   background: url("/images/img-cisteni-strech.png") #AAF0FA; 
   background-position: right top;
   background-repeat: no-repeat;
   background-size: cover;
   -webkit-transition: -moz-transform .5s ease-out;
   -moz-transition: -webkit-transform .5s ease-out;
   -o-transition: -o-transform .5s ease-out;
   transition: transform .5s ease-out;
}
.pages-cl-01:hover {
  cursor: pointer;
  background: url("/images/img-cisteni-strech.png") #5CE6FA;
  background-position: right top;
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-box-shadow: -2px 0px 29px -10px rgba(0,0,0,0.65);
  -moz-box-shadow: -2px 0px 29px -10px rgba(0,0,0,0.65);
  box-shadow: -2px 0px 29px -10px rgba(0,0,0,0.65);
     transition-duration: 0.2s;
    -webkit-transform: scale(1.03);
	    -ms-transform: scale(1.03);
	        transform: scale(1.03);  
}

.pages-cl-02 {
   background: url("/images/img-cisteni-fasad.png") #AAF0FA; 
   background-position: right top;
   background-repeat: no-repeat;
   background-size: cover;
   -webkit-transition: -moz-transform .5s ease-out;
   -moz-transition: -webkit-transform .5s ease-out;
   -o-transition: -o-transform .5s ease-out;
   transition: transform .5s ease-out;   
}
.pages-cl-02:hover {
  cursor: pointer;
  background: url("/images/img-cisteni-fasad.png") #5CE6FA;
  background-position: right top;
   background-repeat: no-repeat;
  background-size: cover;
  -webkit-box-shadow: -2px 0px 29px -10px rgba(0,0,0,0.65);
  -moz-box-shadow: -2px 0px 29px -10px rgba(0,0,0,0.65);
  box-shadow: -2px 0px 29px -10px rgba(0,0,0,0.65);
     transition-duration: 0.2s;
    -webkit-transform: scale(1.03);
	    -ms-transform: scale(1.03);
	        transform: scale(1.03);   
}

.pages-cl-03 {
   background: url("/images/img-natirani-strech.png") #AAF0FA; 
   background-position: right top;
   background-repeat: no-repeat;
   background-size: cover;
   -webkit-transition: -moz-transform .5s ease-out;
   -moz-transition: -webkit-transform .5s ease-out;
   -o-transition: -o-transform .5s ease-out;
   transition: transform .5s ease-out;   
}
.pages-cl-03:hover {
  cursor: pointer;
  background: url("/images/img-natirani-strech.png") #5CE6FA;
  background-position: right top;
   background-repeat: no-repeat;
  background-size: cover;
  -webkit-box-shadow: -2px 0px 29px -10px rgba(0,0,0,0.65);
  -moz-box-shadow: -2px 0px 29px -10px rgba(0,0,0,0.65);
  box-shadow: -2px 0px 29px -10px rgba(0,0,0,0.65);
     transition-duration: 0.2s;
    -webkit-transform: scale(1.03);
	    -ms-transform: scale(1.03);
	        transform: scale(1.03);    
}

.pages-cl-04 {
   background: url("/images/img-natirani-fasad.png") #AAF0FA; 
   background-position: right top;
   background-repeat: no-repeat;
   background-size: cover;
   -webkit-transition: -moz-transform .5s ease-out;
   -moz-transition: -webkit-transform .5s ease-out;
   -o-transition: -o-transform .5s ease-out;
   transition: transform .5s ease-out;   
}
.pages-cl-04:hover {
  cursor: pointer;
  background: url("/images/img-natirani-fasad.png") #5CE6FA;
  background-position: right top;
   background-repeat: no-repeat;
  background-size: cover;
  -webkit-box-shadow: -2px 0px 29px -10px rgba(0,0,0,0.65);
  -moz-box-shadow: -2px 0px 29px -10px rgba(0,0,0,0.65);
  box-shadow: -2px 0px 29px -10px rgba(0,0,0,0.65);
     transition-duration: 0.2s;
    -webkit-transform: scale(1.03);
	    -ms-transform: scale(1.03);
	        transform: scale(1.03);    
}


.bg-reference {
    background: #F4F4F4;
    width: 100%;
    padding: 80px 0px;
}

.bg-content {
    background: #eafbfd;;
    width: 100%;
    
    
}

.bg-reference h2 {
  font-size: 40px;
  margin-bottom: 40px;
  font-weight: 900; 
}

.bg-reference h4 {
   font-size: 20px;
  font-weight: 400;
  text-transform: uppercase; 
  width: 180px;
  margin: 20px auto;
  display: block;
}

.reference-box {
    margin: 80px 0px;
    padding: 0px 150px;
}

.reference-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 45px;
    
}

.ref75 {
    width: 63%;
    background: linear-gradient(0deg,rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.20) 28%, rgba(0, 0, 0, 0) 100%), url("/images/reference/ref-img.jpg") no-repeat;
    position: relative;
    background-size: cover;
    border-radius: 10px;
    height: 350px;
    cursor:pointer;
}


.ref75:hover, .ref25:hover, .brana75-1:hover, .brana75-4:hover, .brana75-5:hover, .brana25-2:hover, .brana25-3:hover {
  box-shadow: 0px 4px 48px 0px rgba(0,0,0,0.40);  
}

.ref25 {
    width: 33%;
    background: linear-gradient(0deg,rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.20) 28%, rgba(0, 0, 0, 0) 100%), url("/images/reference/ref-img.jpg") no-repeat;
    background-size: cover;
    border-radius: 10px;
    height: 350px;
    position: relative;
    cursor:pointer;
}

.ref-nazev {
    margin-top: 280px;
    color:#fff;
    font-weight: 900;
    font-size: 20px;
    padding-left: 25px;
}

.ref-misto {
    color:#fff;
    font-weight: 700;
    font-size: 16px; 
    padding-left: 25px;
    padding-right: 25px;
}

.ref-arow {
   background-color: #ededed;
  padding-top: 10px;
  padding-right: 15px;
  padding-bottom: 10px;
  padding-left: 15px;
  position: absolute;
  transition: background-color 300ms ease 0ms,background-image 300ms ease 0ms;
  border-radius: 8px;
  display: flex; 
  right: 30px; 
  bottom: 20px;
}

.ref-arow:hover {
   background-color: #bbeff7;
}

.brana75-1 {
   width: 64%;
   background: linear-gradient(0deg,rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.20) 28%, rgba(0, 0, 0, 0) 100%), url("/images/brany/b_brana_samonosna_2.jpg") no-repeat;
    background-size: cover;
    border-radius: 10px;
    height: 350px;
    position: relative;
    cursor:pointer;
}

.brana75-4 {
   width: 64%;
   background: linear-gradient(0deg,rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.20) 28%, rgba(0, 0, 0, 0) 100%), url("/images/brany/o_brana_teleskopicka_1.jpg") no-repeat;
    background-size: cover;
    border-radius: 10px;
    height: 350px;
    position: relative;
    cursor:pointer;
}

.brana75-5 {
   width: 64%;
   background: linear-gradient(0deg,rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.20) 28%, rgba(0, 0, 0, 0) 100%), url("/images/brany/b_brana_skladaci_1-e1699469699529.jpg") no-repeat;
    background-size: cover;
    border-radius: 10px;
    height: 350px;
    position: relative;
    cursor:pointer;
}

.brana25-2 {
    width: 34%;
    background: linear-gradient(0deg,rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.20) 28%, rgba(0, 0, 0, 0) 100%), url("/images/brany/b_brana_kolejnicova_1.jpg") no-repeat;
    background-size: cover;
    border-radius: 10px;
    height: 350px;
    position: relative;
    cursor:pointer;
}

.brana25-3 {
    width: 34%;
    background: linear-gradient(0deg,rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.20) 28%, rgba(0, 0, 0, 0) 100%), url("/images/brany/kridla_brana.jpg") no-repeat;
    background-size: cover;
    border-radius: 10px;
    height: 350px;
    position: relative;
    cursor:pointer;
}

.brana25-6 {
    width: 34%;
    background: #bbeff7;
    cursor:pointer;
    border-radius: 10px;
    height: 350px;
}

.brana25-6 h4 {
  font-size: 25px;
  padding: 100px 40px 0px 40px; 
  text-align: center;
}


.typy-bran-box {
  margin: 80px 0px;
  padding: 0px 150px; 
}

.brana-box {
  width: 32%;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0px 3px 20px #0000001F;  
  padding: 30px;
  margin-bottom: 30px;
  transition: transform .45s ease, box-shadow .45s ease;
  display: block;
  color: inherit;
  text-decoration: none;
}

.brana-box:hover {
    transform: scale(0.96);
    
    cursor: pointer; 
}

.brana-foto {
   width: 100%; 
   border-radius: 20px;
   margin-bottom: 20px;
}

.brana-foto img{
    width: 100%;
    height: auto;
    border-radius: 20px;
}


.brana-ico {
   width: 150px; 
   margin: 0 auto;
   margin-bottom: 20px;
}

.brana-ico img{
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.box-blue-ico {
   width:50px; 
   margin: 0 auto;
   margin-bottom: 20px; 
}

.box-blue-ico img{
    width: 100%;
    height: auto; 
}

.brana-nazev {
    color: #105E7F;
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 15px;
    min-height:54px;
}

.brana-button {
   background: #bbeff7;
   border-radius: 10px; 
   color: #105E7F;
   padding: 20px 20px;
   text-align: center;
   font-weight: 700;
   margin-top: 20px;
}

.brana-text {
    min-height:100px;
    font-weight: 400;
}

.brana-text p {
    font-weight: 400;
}

.brana-button:hover   {
   background: #105e7f;
   color: #fff

}

.brana-box-blue {
   width: 32%; 
   background: #bbeff7;
   border-radius: 20px;
   text-align: center;
   font-weight: 700;
   padding: 80px;
   font-size: 20px;
   box-sizing: border-box;
   margin-bottom: 30px;
}

    


/* rezervační formulář 
---------------------------------------- */
        .rezervace-main {
           
            padding-top: 30px;
            
        } 
        

        .reservation-form h2 {
            text-align: center;
            margin-bottom: 20px;
            color: #333;
        }      
        .form-textarea {
            width: 100%;
            border: 1px solid #ccc;
            border-radius: 10px;
            padding: 30px 22px 30px 22px;
            
            
}

/* Anchors – scroll offset kvůli fixnímu headeru */
#onas,
#block-studiografix5-sliderblock,
#hlavni-nabidka {
  scroll-margin-top: 130px;
}
        .form-grid label {
            display: block;
            margin-bottom: 5px;
            color: #555;
            font-weight: bold;
            margin-top: 10px;
        }
        
        .rezervace-main p {
          width: 200px;
          margin: 0px auto;  
        }
        
        

        .form-grid input {
            width: 100%;
            padding: 18px;
            border: 1px solid #ccc;
            border-radius: 10px;
            font-size: 14px;
        }            
         #edit-submit, #edit-submit--2 {
            width: 200px;
            margin: 20px auto;
            padding: 20px;
            background-image: linear-gradient(to right, #981E32, #5B121E 33.33333%, #5B121E 66.66666%, #5B121E);
            color: #fff;
            border: none;
            border-radius: 10px;
            font-size: 18px;
            cursor: pointer;
            font-family: 'Outfit', sans-serif;
            
        }

        #edit-submit:hover, #edit-submit--2:hover {
            background-image: linear-gradient(to right, #B80831, #7A1525 33.33333%, #7A1525 66.66666%, #7A1525);
            color: #fff;
        }
        
        

        
        
 /* argumenty 
---------------------------------------- */       
.agrument-main {
    position: relative;
   
    background-repeat: no-repeat;
    background-position: top;
    margin-bottom: 80px;
    z-index:100;
    overflow: hidden;
    
}

.agrument-in {
   
}



 


.agrument-content {
   display: flex;
   flex-wrap: wrap;
   justify-content: space-between;
   padding-top: 50px;
}

.agrument-content-left {
  width: 65%;  
  padding-right: 100px;
} 

.agrument-content-right  {
  width: 35%;   
   display: flex;
   flex-wrap: wrap;
}

.agrument-content-left p{
  padding: 20px 0px;
}

.blue h3, .blue h3{
  padding-left: 15px;
  font-size: 23px;
}

.foto-paralax {
 
  width: 100%;
  height: 700px;
  position: relative; 
  background:
  linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
  url('/images/automaticke_vjezdove_brany_large.jpg') no-repeat fixed center;
  background-size: cover;
  
  
}





.paralaxline-page h2,.paralaxline-page02 h2, .foto-paralax  h2 {
    padding-top: 300px;
    color:#fff;
    font-size: 45px;
    
    text-shadow: -1px 1px 5px rgba(0,0,0,0.6);
    font-weight: 900;
}


.foto-paralax-page02 {
  background:
  linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
  url('/images/brany/vjezdove_brany_large.jpg') no-repeat fixed center;
  background-size: cover;
  width: 100%;
  height: 700px;
  position: relative;  
  
  
}

.foto-paralax-page03 {
  background:
  linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
  url('/images/garazova-vrata/vrata.jpg') no-repeat fixed center;
  background-size: cover;
  width: 100%;
  height: 700px;
  position: relative;  
  
  
}

.foto-paralax-page04 {
  background:
  linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
  url('/images/zavory/img-header-1920-zavory.jpg') no-repeat fixed center;
  background-size: cover;
  width: 100%;
  height: 700px;
  position: relative;  
  
  
}

.foto-paralax-page05 {
  background:
  linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
  url('/images/zavory5.jpg') no-repeat fixed center;
  background-size: cover;
  width: 100%;
  height: 700px;
  position: relative;  
  
  
}

.foto-paralax-page06 {
  background:
  linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
  url('/images/parkovani/parkovani.jpg') no-repeat fixed center;
  background-size: cover;
  width: 100%;
  height: 700px;
  position: relative;  
  
  
}




.h2-content {
  
  font-size: 40px;
  margin-bottom: 40px;
  font-weight: 900;

}







/* footer
---------------------------------------- */
  .footer-main {
    position: relative;
    background:  url("/images/img-footer.webp")#105E7F;
    background-repeat: no-repeat;
    background-position:  left top;
    
 }
 
 .footer-line {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; 
    padding-bottom: 25px;
    border-bottom: 1px solid #fff;
    margin-bottom: 20px;
 }
 
 .footer-tel {
     display: flex;
     flex-wrap: wrap;
     color:#fff;
     align-items: center; /* Vertically center the content */
     justify-content: center; /* Optionally center the content horizontally */
     
 }
 
 .footer-tel img {
     width: 30px;
     margin-right: 15px;
 }
 
 .footer-social{
    display: flex;
    flex-wrap: wrap;
 }
 
  .footer-social img{
    margin-right: 20px;
  }

  .footer-social img[src*="facebook"] {
    filter: brightness(0) invert(1);
  }
   

.footer-background {
    
    position: relative;
    padding-top: 80px;
    
}


#user-login-form {
    width:60%;
    margin: 0 auto;
    padding: 50px 20px 50px 20px;
    
    
}

#user-login-form input {
    padding: 15px;
    margin-top: 10px;

}

.footer-in {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    color:#fff;
    padding-bottom: 50px;
}

.footer-in h2 {
    margin-bottom: 25px;
}

.footer-content-01 h2{
   color:#fff; 
}



.footer-content-01 img, .contact-01 img{
   margin-right: 10px; 
}



.footer-content-01 li {
 
  margin-top: 15px;
  font-weight: 200;  
  list-style: none;
  color:#fff; 
}

.footer-content-01 a {
  color: #fff;
  text-decoration: none;  
}

.footer-content-01 a:hover {
  color: #b4eef7;
  
}

.flex {
   display: flex; 
}

.ft-con {
  line-height: 34px;  
  font-weight: 700;
}

.mt20 {
    margin-top: 20px;
}

.db {
    display: block;
}

#kontakt, #reference, #block-studiografix5-sliderblock {
  scroll-margin-top: 100px;
}


 /* Kontakt 
---------------------------------------- */  
 .contact-in {
     flex-wrap: wrap;
     padding-top: 250px;
     justify-content: space-between;
 }
 
 .contact-01 {
     width: 30%;
     margin-top: 20px;
 }
 
 .contact-01 h3{
     margin-bottom: 20px;
     font-size: 25px;
 }
 
  /* Page - služby 
---------------------------------------- */ 

  
  
  
  .page-main  {
      padding-top: 100px;
  }
  .page-main h2{ 
    font-size: 35px;
    
  }
  
  .page-all h3{ 
    font-size: 25px;
    color:#14cce8;
    margin-bottom: 30px;
  }
  
  .page-servis-in {
     
     flex-wrap: wrap;
     padding: 50px 0px;
     justify-content: space-between;   
  } 
  
  .page-servis {
      width: 48%;
  }
  
  .page-servis p {
      line-height: 24px;
  }
  
  .mb300 {
      margin-bottom: 300px;
  }
  
  
  .page-gallery-row  {
     width: 100%;
     flex-wrap: wrap;
     justify-content: space-between;   
  }
  
  .page-gallery-row img {
     width: 100%;  
  }
  
  .img-square {
    width: 32%; 
    margin-bottom: 30px;
      -webkit-transition: -moz-transform .5s ease-out;
      -moz-transition: -webkit-transform .5s ease-out;
      -o-transition: -o-transform .5s ease-out;
    transition: transform .5s ease-out;
  }
  
  .img-square:hover {
     -webkit-box-shadow: -2px 0px 29px -10px rgba(0,0,0,0.65);
     -moz-box-shadow: -2px 0px 29px -10px rgba(0,0,0,0.65);
     box-shadow: -2px 0px 29px -10px rgba(0,0,0,0.65);
     transition-duration: 0.2s;
    -webkit-transform: scale(1.1);
	    -ms-transform: scale(1.1);
	        transform: scale(1.1);     
  }
  
  
  
  .img-square img {
     max-width: 100% !important;
     height: auto;
    
  }
  
  .other-servis {
      padding-top: 100px;
      margin-bottom: 300px;
  }
  
  
  /* Tabs 
---------------------------------------- */
        .tabs {
            display: flex;
            flex-direction: column;
            
            width: 100%;
            
        }

        .tabs-header {
            display: flex;
            
            margin: 50px 0px;
            width: 100%;
        }

        .tab {
            padding: 15px 20px;
            cursor: pointer;
            font-weight: bold;
            border-bottom: none;
            background-color: #fff;
            margin-right: 5px;
            border-radius: 10px;
            color:#105e7f;
            border: none;
            transition: background-color 0.3s ease;
            
        }

        .tab:hover {
            background-color: #B4EEF7;
            color:#105e7f;
        }

        .tab.active {
            background-color: #b4eef7;
            border: none;
            font-weight: bold;
            color:#105e7f;
        }

        .tab-content {
            display: none;
            width: 100%;
            padding-bottom: 50px;
            
            
            padding: 30px;
            margin-bottom: 50px;
            
        }
        
        .tab-content h2{
            font-size: 50px;
            font-weight: 900;
            
        }

        .tab-content.active {
            display: block;
        }

h2.h2-content-in {
      font-size: 60px;
      margin-bottom: 0px;
      line-height: 60px;
      font-weight: 900;
}

.content-top-left {
    width: 49%;
}

.content-top-right {
    width: 49%;
}

.content-top-right img {
   border-radius: 16px; 
   width: 100%;
   height: auto;
   margin-bottom: 20px;
}

.box50 {
    width:48%;
    margin-top: 30px;
}

.white {
    background: #fff;
    border-radius: 20px; 
    
}

.p30 {
  padding: 30px;  
}

.box100 {
    width:100%;
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 16px; 
    padding: 30px;
    margin-bottom: 40px;
}

.box50 img{
    border-radius: 16px; 
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.box50 h3{
    margin-bottom: 20px;
}

.img50 {
    width: 48%;
    object-fit: cover;
}

.img50 img {
     width: 250px;
     height: 220px;
     object-fit: cover;
     border-radius: 16px;
     margin-bottom: 20px;
}

.duvod {
    animation: slideInLeft 0.6s ease-out forwards;
}

.duvody-main {
    margin-top: 40px;
}

.duvod-number {
  background: #b4eef7;
  width: 40px;
  height: 40px;
  margin-right: 15px;
  margin-bottom: 10px;
  color:#105e7f;
  text-align: center;
  padding: 10px;
  font-weight: 900;
  display: inline-block;
  animation: slideInLeft 0.6s ease-out forwards;
}


@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px); /* Začíná 50px vlevo */
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Trik: Každé číslo přiletí s malým zpožděním (kaskádový efekt) */
.duvod:nth-child(1) .duvod-number { animation-delay: 0.1s; }
.duvod:nth-child(2) .duvod-number { animation-delay: 0.2s; }
.duvod:nth-child(3) .duvod-number { animation-delay: 0.3s; }
.duvod:nth-child(4) .duvod-number { animation-delay: 0.4s; }
.duvod:nth-child(5) .duvod-number { animation-delay: 0.5s; }
.duvod:nth-child(6) .duvod-number { animation-delay: 0.6s; }
.duvod:nth-child(7) .duvod-number { animation-delay: 0.7s; }

.duvod-text {
    font-size: 18px;
    color:#105e7f;
    padding-top: 5px;
    
}

.flex-nowrap {
   display: flex; 
}

.back, .back a, .back:link{
   color:#105e7f; 
   font-weight: 900;
   margin-bottom: 30px;
}

.back a:hover {
  color:#56d8ec;  
}

.back img{
   margin-right: 10px;
}

.partner img {
    height: 56px;
    width: auto;
}

.partner a {
   height: 56px;
   display: block;
}


.perex {
    margin-top: 40px;
    
}

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

.perex img{
    
    width: 200px;
    height: auto;
}

@media (max-width: 768px) {
  .perex.is-truncated {
    max-height: 100px;
    overflow: hidden;
  }

  .perex-more {
    display: inline-block;
    margin-top: 6px;
    color: #105E7F;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    border-bottom: 1px dashed #105E7F;
  }

  .perex p {
    font-size: 17px;
  }

  .brana-text {
    font-size: 17px;
  }

  .brana-button {
    font-size: 17px;
  }

  .brana-nazev {
    font-size: 25px;
  }
}

h3.h3-motorizace {
    width: 60%;
    font-size: 18px;
    padding-top: 10px;
    margin-bottom: 0px;
    color:#105e7f; 
}

.boxheader-left-50 {
    width: 48%;
    padding-left: 15%;
    padding-top: 60px;
    padding-bottom: 60px;
}

.boxheader-right-50 {
    width: 48%;
}

.boxheader-right-50 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.motorizace-button {
    border-top: 1px solid #105e7f;
    padding-top: 30px;
    margin-top: 20px;
    justify-content: flex-start;
    gap: 15px;
}
  
.red {
   color:#B80831;
}

.uppercase-link {
    text-decoration: underline;
    font-size: 18px;
    font-weight: 700;
}

.tag { 
    font-size: 16px;  
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 400;
    text-transform: uppercase;   
    color:#105e7f;
    border: 1px solid  #105e7f; 
}

.tab-nadpis {
   font-size: 16px;  
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 400;
     
    color:#105e7f;
    border: 1px solid  #105e7f; 
    text-align: center;
    display: block;
    width: 250px;
    margin: 0 auto;
}

.box30 img {
   border-radius: 20px;
   margin-top:20px;
}

.brana-box50 {
   width: 47%;
   margin: 0px 20px 20px 0px;
   background: #fff;
  border-radius: 20px;
  box-shadow: 0px 3px 20px #0000001F;
  padding: 30px;
  margin-bottom: 30px;
  transition: transform .45s ease, box-shadow .45s ease;
  display: block;
  color: inherit;
  text-decoration: none;
}

.brana-box50:hover {
  transform: scale(0.96);
  cursor: pointer;
}




/* hlavní nabídka - start
---------------------------------------- */

#block-studiografix5-sliderblock {
  background:#EAFBFD;
  
  border-radius: 0px 0px 0px 90px; 
  padding-top: 100px;
}

#block-studiografix5-sliderblock h2{
   padding-left: 10px;
  font-size: 40px;
  margin-bottom: 20px;
  font-weight: 900; 
  text-align: center;
}

#block-studiografix5-sliderblock h4{
  font-size: 16px;
  display: block;
  width: 180px;
  margin: 20px auto;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 400;
  text-transform: uppercase;
  width: 145px;
  color: #105e7f;
  border: 1px solid #105e7f;
  text-align: center;
}

#block-studiografix5-sliderblock p{
  font-size: 18px;
  color: #105e7f;
  margin-bottom: 40px;
}

.efekt {
  transition: transform .45s ease, box-shadow .45s ease;
  will-change: transform; 
}

.efekt:hover {
   transform: scale(0.96);
    box-shadow: 5px 6px 10px rgba(0, 0, 0, 0.55);
    cursor: pointer; 
} 

.section-header h2 {
    font-size: 40px;
    font-weight: 900;
    color: #105E7F;
    text-align: center;
    margin-bottom: 10px;
}

.order-box {
    padding: 0px 100px 80px 100px;
}

.card-1 {
  width: 23%;
  background: url("/images/vjezdove_brany.jpg") no-repeat center center;
  border-radius: 20px;
  background-size: cover; 
  height: 100%;
  position: relative;  
  margin-bottom: 20px;
}

.card-2 {
 width: 23%;
  background:  url("/images/zavory.jpg") no-repeat center center;
  border-radius: 20px;
  background-size: cover;
  height: 100%;
   position: relative;
   margin-bottom: 20px;
}

.card-3 {
 width: 23%;
  background:url("/images/parkovani.jpg") no-repeat center center;
  border-radius: 20px;
  background-size: cover;
  height: 100%;
   position: relative;
   margin-bottom: 20px;
}

.card-4 {
 width: 23%;
  background: url("/images/dochazka.jpg") no-repeat center center;
  border-radius: 20px;
  background-size: cover;
  height: 100%;
  position: relative;
}

.card-5 {
 width: 23%;
  background: url("/images/vrata.jpg") no-repeat center center;
  border-radius: 20px;
  background-size: cover;
  height: 100%;
  position: relative;
  margin-bottom: 20px;
}

.card-6 {
 width: 23%;
  background: url("/images/motorizace.jpg") no-repeat center center;
  border-radius: 20px;
  background-size: cover;
  height: 100%;
  position: relative;
  margin-bottom: 20px;
}

.card-7 {
   width: 23%;
    background:  url("/images/rolety.jpg") no-repeat center center;
  border-radius: 20px;
  background-size: cover;
  height: 100%;
  position: relative;
  margin-bottom: 20px;
}

.card-8 {
   width: 23%;
    background: url("/images/zamecnictvi.jpg") no-repeat center center;
  border-radius: 20px;
  background-size: cover;
  height: 100%;
  margin-bottom: 20px;
}

.order-title {
    width: 90%;
    margin: 0 auto;
    padding-top: 100%;
    margin-bottom: 20px;
    
   
      
}

.order-title-text{
    display: flex;
    justify-content: space-between;
    color:#105e7f;
    padding: 15px 10px 10px 20px;
    font-weight: 700;
    
    background: #fff;
    border-radius: 50px; 
   
      
}

.order-title-text h5 {
  font-size: 16px;
  line-height: 25px; 
  
  
}

.icon-arrow img{
    width: 10px;
    margin-left: 15px;
    padding-top: 3px;
   
}

.colorgreymain {
    
}


.colorgrey {
   
    margin-bottom: 30px;
}

.colorgrey h3 {
    font-size: 35px;
    font-weight: 900;
    margin-top: 10px;
    
}

.colorgrey span {
    background: #105e7f;
    color: #56d8ec;
    font-size: 12px;
    border-radius: 50px;
    padding: 5px 15px;
   
}

span.duvody {
    background: #bbeff7;
    color: #105e7f;
    border-radius: 50px;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 18px;
}

.button-rozmery {
    border-radius: 8px;
    padding: 15px 25px;
    background: #bbeff7;
    margin-top: 15px;
    margin-right: 15px;
}

.button-rozmery a, .button-rozmery a:link{
    color:#105e7f;
}

.button-rozmery:hover, .button-vice:hover  {
    box-shadow: -2px 0px 29px -10px rgba(0,0,0,0.65);
}

.button-vice {
    margin-top: 15px;
    border-radius: 8px;
    padding: 15px 25px;
    background: #105e7f;
    margin-right: 15px;
    
}

.button-vice a, .button-vice a:link {
    color:#56d8ec;
    
}

.img100 img {
    height: 400px;
    width: auto;
    margin-left: 100px;
}

.img300 img {
    height: 300px;
    width: auto;
    margin-left: 100px;
}

li::marker {
    margin-left: 10px;
}

ul {
    padding-left: 0; /* Zruší výchozí odsazení seznamu */
    list-style-position: inside; /* Posune tečku dovnitř bloku */
}



/* -- 1. Nastavení mřížky (Grid) -- */
.order-grid {
    display: grid;
    /* Automaticky 4 sloupce na desktopu, méně na mobilu */
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
    gap: 20px;
    margin-top: 40px;
}
@media (max-width: 768px) {
  .order-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 24px;
  }
}

@media (max-width: 400px) {
  .order-grid {
    gap: 10px;
  }
}


/* -- 2. Vzhled karty -- */
.card-item {
    display: flex;
    align-items: flex-end; /* Text dole */
    justify-content: center;
    text-decoration: none;
    width: 100%;
    border-radius: 15px;
    height: 350px; /* Výška karty */
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
    
    /* Zde by mělo být pozadí obrázku pro každou kartu */
    /* Příklad: background-image: url(...); background-size: cover; */
}

/* Hover efekt - karta se mírně zvětší */

.card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}



a.card-item1 {
    font-size: 18px;  
}

.card-item1::after, .full-link::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hp-servis-button .full-link,
a.hp-servis-button.full-link,
a.hp-servis-button-2.full-link {
   position: relative;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   padding: 15px 20px;
   color: #fff !important;
   font-weight: 700;
   text-decoration: none;
   box-sizing: border-box;
}



a.full-link {
   color: inherit; /* Převezme barvu nadpisu */ 
}

.card-content {
    background: none;
    width: 100%;
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    color: #fff;
    font-weight: bold;
    position: relative;
    z-index: 2;
}

.card-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.05) 60%);
    z-index: 1;
    border-radius: 15px;
}

.card-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    display: inline-block;
    background: #bbeff7;
    color: #105E7F;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 14px;
    border-radius: 50px;
}

.card-content h5 {
    font-size: 24px;
    margin: 0;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.card-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 8px;
}

.card-content img {
    display: none;
}

.card-content::after {
    display: none;
}



/* -- 3. Příprava animace (výchozí stav = skryto) -- */
.card-item {
    opacity: 0;
    transform: translateY(200px); /* Posunuto dolů */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* -- 4. Stav po aktivaci (viditelno) -- */
.animated-section.is-visible .card-item {
    opacity: 1;
    transform: translateY(0);
}

.animated-section .card-item:hover {
    transform: scale(1.05); /* Zvětší kartu o 5 % */
    box-shadow: 0 15px 30px rgba(0,0,0,0.2); /* Výraznější stín */
    z-index: 2; /* Zajistí, že zvětšená karta bude NAD ostatními a nic ji nepřečuhuje */
    
}

/* -- 5. Postupné zpoždění (Stagger effect) -- */
/* Každá další karta se objeví o 0.1s později */
.animated-section.is-visible .card-item:nth-child(1) { transition-delay: 0.1s; }
.animated-section.is-visible .card-item:nth-child(2) { transition-delay: 0.2s; }
.animated-section.is-visible .card-item:nth-child(3) { transition-delay: 0.3s; }
.animated-section.is-visible .card-item:nth-child(4) { transition-delay: 0.4s; }
.animated-section.is-visible .card-item:nth-child(5) { transition-delay: 0.5s; }
.animated-section.is-visible .card-item:nth-child(6) { transition-delay: 0.6s; }
.animated-section.is-visible .card-item:nth-child(7) { transition-delay: 0.7s; }
.animated-section.is-visible .card-item:nth-child(8) { transition-delay: 0.8s; }








  
  
/* hlavní nabídka - konec
---------------------------------------- */


.banner-reference {
    padding: 0px 130px 100px 130px;
    cursor: pointer;
    margin: 0px auto;
    
}

.banner-reference img{
    width: 100%;
    
}



@media (min-width: 968px) {
  .hamburger-menu { display: none;}

}  




/* Média - min
---------------------------------------- */

@media (min-width: 1921px) {
    
    
    .container {width: 60%;}
    .foto-paralax {
    background-size:cover; 
   
   }
   .foto-paralax-page, .foto-paralax-page02 {
    background-size:cover; 
    
   }
    .boxheader-left-50 {padding-left: 20%}

   
  
    
    
    .contact-in {
        padding-top: 350px;
    }
    
    
}


/* Média - max
---------------------------------------- */

@media (max-width: 1921px) {
    #user-login-form {
    width:80%;
    }
    .foto-paralax {
    background-size:cover; 
   
   }
    
  
} 

@media (max-width: 1600px) {
    .container {width: 80%;}
    .hp-contact-text {font-size: 25px;}
    .hp-banner-obr {width: 550px; right: -41px;}
    .boxheader-left-50 { padding-left: 10%;}
    h2.h2-content-in { font-size: 50px;line-height: 50px;}
    .duvod-text {font-size: 16px; }
    .typy-bran-box {margin: 80px 0px;padding: 0px 90px;}
    
}



@media (max-width: 1200px) {
    .container {width: 90%;}
     .boxheader-left-50 { padding-left: 5%;}
    .foto-paralax, .foto-paralax-page02 { height: 400px;}
    .paralaxline-page02 h2, .foto-paralax h2 {padding-top: 100px;font-size: 35px;}
    .hp-contact-left, .hp-contact-right {width: 100%;}
    h3.h3-motorizace {width: 50%;font-size: 14px;}
    .typy-bran-box {margin: 80px 0px;padding: 0px 0px;}
    .brana-box-blue {padding: 100px 40px;font-size: 16px;  }
    .banner-reference { padding: 0px 0px;}
    .order-box { padding: 0px 30px 80px 30px;}
    .box-duvody span {padding: 10px 10px; font-size: 16px;   }
}



@media (max-width: 968px) {
  
    .page-servis-in {
      padding: 0px 0px;  
    }
  #user-login-form {
    width:95%;  
   }
   .footer-content-01,.footer-content-logo, .hp-servis, .agrument-content-left,.agrument-content-right, .contact-01, .page-servis {
    width: 100%; 
   } 
   
   .footer-content-01,.footer-content-logo {
    margin-top: 25px;
   } 
   .fs50 {
       font-size: 30px;
   }
   .fs20 {
       font-size: 16px;
   }
   .reservation-form {
       width: 90%;
    }
    .hp-main-top h1, .hp-main-top h2, .page-top h1, .page-top h2 {
    font-size: 45px;
    }
    .img-square {
    width: 48%; 
    margin-bottom: 20px;
    }
    .page-all h2 {
     font-size: 25px;
     }
     
    .paralaxline-page h2,.paralaxline-page02 h2, .foto-paralax  h2 {  
        font-size: 35px;
        margin: 0px 20px;
    }
   .pages-servis {
        width: 100%;  
    }
    .hp-servis-text h4{
      color:#fff; 
      text-shadow: -1px 1px 5px rgba(0,0,0,0.6);
    }
    
    .blue h3, .blue h3 {
        padding-left: 15px;
        font-size: 18px;
    }
    .hp-servis-main h2 {
        padding-top: 250px;
    }
    .rezervace-main {
        width: 90%;
        margin: 30px auto 100px auto;
     } 
     
    #user-login-form {
        width:90%;
        margin: 0 auto;
        padding: 50px 20px 50px 20px;


    }
    .agrument-content-left {padding-right: 0px;}
    
    .hp-banner-number { width: 50%;}
    .hp-banner-obr {display: none;}
    .brana75-1,.brana25-2, .brana25-3,.brana75-4, .brana75-5 {width: 100%;margin-bottom: 20px;}
    .brana25-6 {display: none;}
    .reference-row {margin-bottom: 0px;}
    .box50 { width: 100%;margin-top: 30px}
    .brana-box,   .brana-box-blue, .box-konfugurator {width: 48%;}   
    .box-konfugurator { height: 400px;}   
    .box-duvody-in, .box-duvody-in-img {width: 100%;}
    .box-duvody h2 {font-size: 40px;}
    .box-duvody {padding: 30px;}
    .tab-content{padding: 10px;}
    
}

@media (max-width: 780px) {
    .container { width: 100%; }
    .boxheader-left-50 {padding-left: 5%; width: 100%; box-sizing: border-box; padding-right: 20px; }
    .boxheader-right-50 {width: 100%;}
    .hp-contact-main {padding: 80px 50px 80px 50px;}
    .hp-contact-sloup1 {margin-left: 10px;}
    .ref75, .ref25 {width: 100%; margin-bottom: 20px;}
    .reference-row {margin-bottom: 0px;}
    h2.h2-content-in {font-size: 40px;line-height: 40px;}
    h3.h3-motorizace {width: 100%;font-size: 17px; padding-bottom: 10px;}
    .tab {text-align:center; font-size: 14px; padding: 10px 10px;}
    .brana-box50 {width: 100%; margin: 0px 0px 20px 0px;}
    .card-item {
        opacity: 1 !important; /* Vnutit viditelnost */
        transform: translateY(0) !important; /* Žádný posun */
        transition: none !important; /* Žádné zpoždění */
        height: 220px;
        padding: 12px;
        border-radius: 12px;
    }
    .card-content {
        padding: 10px 14px;
        border-radius: 30px;
        font-size: 13px;
    }
    .card-content::after {
        width: 7px;
        height: 7px;
    }
    a.card-item1 {
        font-size: 15px;
    }
}


@media (max-width: 600px) {
    .hp-contact-text {padding: 80px 30px 30px 30px;}
    .hp-banner-number h4 {font-size: 16px; }
    .reference-box, .bg-reference h4, .bg-reference h2, .hp-banner, .agrument-content-left {padding: 0px 20px;}
    .hp-main-top h1, .hp-main-top h2 { font-size: 35px;}
    .img50 {width: 100%; margin-top: 15px;}
    .img50 img {width: 100%;height: auto;}
    .brana-box,   .brana-box-blue, .box-konfugurator {width: 100%;} 
    .img100 img {height: 400px;margin-left: 20px;}
}


@media (max-width: 460px)  {
    .hp-contact-text {padding: 60px 30px 30px 30px;font-size: 20px;}
    .hp-contact-main {padding: 80px 30px 80px 30px;}
    .hp-contact-logo img {width: 150px;}
    .foto-paralax h2 { font-size: 25px; margin: 0px 20px;}
    .hp-servis-button-2 { margin-top: 10px;}
    .hp-banner-number h2 {font-size: 70px;}
    .hp-banner-number {padding: 30px;}
}


.design-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}

.design-item {
  width: 23%;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0px 3px 20px #0000001F;
  text-align: center;
  transition: transform .45s ease, box-shadow .45s ease;
  box-sizing: border-box;
  margin-bottom: 20px;
  overflow: hidden;
}

.design-item:hover {
  transform: scale(0.96);
  box-shadow: 0px 4px 48px 0px rgba(0,0,0,0.20);
}

.design-item a {
  display: block;
  text-decoration: none;
}

.design-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.design-item-text {
  padding: 15px;
}

.design-item-text h4 {
  font-size: 15px;
  color: #105E7F;
  margin-bottom: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.design-item-text p {
  font-size: 13px;
  color: #105E7F;
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 968px) {
  .design-item { width: 48%; }
}

@media (max-width: 600px) {
  .design-item { width: 100%; }
}

/* ==============================================
   Drupal messages - stylování
   ============================================== */
.messages {
  padding: 16px 20px;
  margin: 20px 0;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  position: relative;
  border-left: 4px solid;
  box-shadow: 0px 2px 10px rgba(0,0,0,0.08);
}

.messages--status {
  background: #e6f9ee;
  color: #0a5c2a;
  border-color: #28a745;
}

.messages--error {
  background: #fdecea;
  color: #8b0000;
  border-color: #dc3545;
}

.messages--warning {
  background: #fff8e5;
  color: #7a6200;
  border-color: #ffc107;
}

.messages a {
  color: inherit;
  text-decoration: underline;
  font-weight: 700;
}

.messages--status::before {
  content: "✓";
  font-size: 18px;
  margin-right: 10px;
  font-weight: 900;
}

.messages--error::before {
  content: "✗";
  font-size: 18px;
  margin-right: 10px;
  font-weight: 900;
}

.messages--warning::before {
  content: "⚠";
  font-size: 18px;
  margin-right: 10px;
}

/* ==============================================
   Děkovná stránka
   ============================================== */
.dekujeme-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px;
  text-align: center;
}

.dekujeme-box {
  background: #fff;
  border-radius: 20px;
  padding: 60px 50px;
  max-width: 550px;
  margin: 0 auto;
  box-shadow: 0px 10px 40px rgba(0,0,0,0.08);
}

.dekujeme-ico {
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
  background: #28a745;
  color: #fff;
  font-size: 40px;
  font-weight: 900;
  margin: 0 auto 25px auto;
}

.dekujeme-box h2 {
  font-size: 28px;
  font-weight: 900;
  color: #105E7F;
  margin-bottom: 15px;
}

.dekujeme-box p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 30px;
}

a.dekujeme-btn {
  display: inline-block;
  padding: 14px 32px;
  background: #105E7F;
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.dekujeme-btn:hover {
  background: #14cce8;
  color: #105E7F;
  transform: translateY(-2px);
}

/* 404 page
---------------------------------------- */
.page-404 {
  padding: 60px 0 100px;
  text-align: center;
}

.page-404__inner {
  max-width: 700px;
  margin: 0 auto;
}

.page-404__code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}

.page-404__digit {
  font-size: 100px;
  font-weight: 900;
  color: #105E7F;
  line-height: 1;
}

.page-404__icon {
  display: flex;
  align-items: center;
  animation: page404-float 3s ease-in-out infinite;
}

.page-404__icon svg {
  width: 100px;
  height: 100px;
}

.page-404__title {
  font-size: 26px;
  font-weight: 900;
  color: #105E7F;
  margin-bottom: 16px;
}

.page-404__message {
  font-size: 16px;
  line-height: 26px;
  color: #555;
  max-width: 480px;
  margin: 0 auto 36px;
}

.page-404__cta {
  margin-bottom: 50px;
}

.page-404__button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: #105E7F;
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.page-404__button:hover {
  background: #14cce8;
  color: #105E7F;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16,94,127,0.25);
}

.page-404__links {
  padding-top: 40px;
  border-top: 1px solid #e0e0e0;
}

.page-404__links-title {
  font-size: 14px;
  color: #888;
  margin-bottom: 24px;
}

.page-404__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.page-404__link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 12px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.page-404__link-card:hover {
  border-color: #14cce8;
  box-shadow: 0 4px 16px rgba(16,94,127,0.1);
  transform: translateY(-2px);
}

.page-404__link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: #EAFBFD;
  border-radius: 12px;
}

.page-404__link-label {
  font-size: 13px;
  font-weight: 700;
  color: #105E7F;
  text-align: center;
  line-height: 1.3;
}

@keyframes page404-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (min-width: 768px) {
  .page-404 {
    padding: 80px 0 120px;
  }

  .page-404__digit {
    font-size: 140px;
  }

  .page-404__icon svg {
    width: 120px;
    height: 120px;
  }

  .page-404__title {
    font-size: 32px;
  }

  .page-404__message {
    font-size: 18px;
    line-height: 28px;
  }

  .page-404__link-label {
    font-size: 14px;
  }

  .bg-reference {
    padding: 100px 0px;
  }
}

@media (max-width: 580px) {
  .page-404__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-404__digit {
    font-size: 80px;
  }

  .page-404__icon svg {
    width: 80px;
    height: 80px;
  }

  .page-404__title {
    font-size: 22px;
  }
}

/* ==========================================================================
   Cookies Documentation
   ========================================================================== */

.path-cookies .mainContent > h1 {
  width: 70%;
  margin: 0 auto;
  padding: 40px 20px 0;
  font-size: 28px;
  font-weight: 900;
  color: #105E7F;
}

.cookies-documentation {
  padding: 20px 0 100px;
}

.cookies-documentation__intro {
  font-size: 16px;
  color: #4a4a4a;
  max-width: 640px;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* Group */
.cookies-docs-group {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e0e0e0;
}

.cookies-docs-group:last-child {
  border-bottom: 0;
}

.cookies-docs-group__title {
  font-size: 22px;
  font-weight: 900;
  color: #105e7f;
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 2px solid #14cce8;
  display: inline-block;
}

.cookies-docs-group__services {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Service */
.cookies-docs-service {
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 24px;
}

.cookies-docs-service__title {
  font-size: 18px;
  font-weight: 700;
  color: #4a4a4a;
  margin-bottom: 12px;
}

.cookies-docs-service__info {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 16px;
}

.cookies-docs-service__info p {
  margin-bottom: 8px;
}

.cookies-docs-service__processor-details-header {
  font-size: 15px;
  font-weight: 700;
  color: #105e7f;
  margin-bottom: 12px;
}

.cookies-docs-service__processor-details {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 16px;
}

.cookies-docs-service__dl {
  margin: 0;
}

.cookies-docs-service__dl > div {
  margin-bottom: 12px;
}

.cookies-docs-service__dl > div:last-child {
  margin-bottom: 0;
}

.cookies-docs-service__dl dt {
  font-size: 13px;
  color: #888;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cookies-docs-service__dl dd {
  font-size: 14px;
  color: #4a4a4a;
  margin: 0;
  word-break: break-all;
}

.cookies-docs-service__dl a {
  color: #105e7f;
  text-decoration: underline;
  font-size: 13px;
}

.cookies-docs-service__dl a:hover {
  color: #14cce8;
}

/* Disclaimer */
.cookies-docs-disclaimer {
  background: #EAFBFD;
  border: 1px solid #14cce8;
  border-radius: 10px;
  padding: 16px 24px;
  font-size: 14px;
  line-height: 1.6;
  color: #105e7f;
  margin-bottom: 30px;
}

@media (min-width: 768px) {
  .path-cookies .mainContent > h1 {
    font-size: 36px;
    padding: 60px 20px 0;
  }

  .cookies-documentation {
    padding: 30px 0 120px;
  }

  .cookies-docs-service {
    padding: 32px;
  }
}

@media (max-width: 580px) {
  .path-cookies .mainContent > h1 {
    width: 100%;
    padding: 30px 20px 0;
    font-size: 24px;
  }

  .cookies-documentation {
    padding: 15px 0 60px;
  }

  .cookies-documentation__title {
    font-size: 24px;
  }

  .cookies-docs-service {
    padding: 16px;
  }

  .cookies-docs-service__processor-details {
    padding: 12px;
  }
}

/* ==========================================================================
   Realizace rozcestník (node 13)
   ========================================================================== */

.realizace-rozcestnik {
  padding: 40px 0 80px;
}

.realizace-rozcestnik__heading {
  font-size: 28px;
  font-weight: 900;
  color: #105E7F;
  text-align: center;
  margin-bottom: 40px;
}

/* Hide default Drupal page title on this page */
.page-node-13 .mainContent > h1 {
  display: none;
}

.realizace-rozcestnik__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.realizace-rozcestnik__card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 380px;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.realizace-rozcestnik__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(16, 94, 127, 0.2);
}

.realizace-rozcestnik__card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.realizace-rozcestnik__card:hover .realizace-rozcestnik__card-bg {
  transform: scale(1.06);
}

.realizace-rozcestnik__card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.75) 100%);
}

.realizace-rozcestnik__card-content {
  position: relative;
  z-index: 1;
  padding: 32px 24px 28px;
}

.realizace-rozcestnik__card-title {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
}

.realizace-rozcestnik__card-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
  margin-bottom: 16px;
}

.realizace-rozcestnik__card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #105E7F;
  background: #fff;
  padding: 10px 24px;
  border-radius: 50px;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.realizace-rozcestnik__card-link::after {
  content: '\2192';
  font-size: 16px;
}

.realizace-rozcestnik__card:hover .realizace-rozcestnik__card-link {
  background: #14CCE8;
  color: #105E7F;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

@media (max-width: 900px) {
  .realizace-rozcestnik__grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .realizace-rozcestnik__card {
    min-height: 280px;
  }
}

@media (min-width: 768px) {
  .realizace-rozcestnik {
    padding: 60px 0 100px;
  }

  .realizace-rozcestnik__heading {
    font-size: 36px;
  }
}

/* ==========================================================================
   Realizace detail (fotogalerie subpages)
   ========================================================================== */

.realizace-detail {
  padding: 40px 0 80px;
}

.realizace-detail__title {
  font-size: 28px;
  font-weight: 900;
  color: #105E7F;
  text-align: center;
  margin-bottom: 40px;
}

.realizace-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #105E7F;
  text-decoration: none;
  margin-bottom: 16px;
  transition: color 0.2s ease;
}

.realizace-detail__back:hover {
  color: #14CCE8;
}

.realizace-detail__back-arrow {
  font-size: 18px;
}

/* Hide block titles inside gallery pages */
.realizace-detail .block h2,
.realizace-detail .block-title,
.studiografix-gallery-container h2 {
  display: none;
}

/* Hide default Drupal page title on detail pages too */
.page-node-33 .mainContent > h1,
.page-node-34 .mainContent > h1,
.page-node-35 .mainContent > h1 {
  display: none;
}

/* Override gallery container margins – already in .container */
.studiografix-gallery-container {
  margin: 0;
  padding: 0;
}

.studiografix-gallery-container h2 {
  display: none;
}

/* ==============================================
   Reference grid – loga klientů
   ============================================== */
.reference-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.reference-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 24px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: box-shadow 200ms ease, border-color 200ms ease;
}

.reference-card:hover {
  border-color: #105E7F;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.reference-card img {
  max-width: 100%;
  max-height: 60px;
  height: auto;
  width: auto;
  object-fit: contain;
}

.reference-card__name {
  font-size: 13px;
  font-weight: 500;
  color: #555;
  text-align: center;
  line-height: 1.4;
}

/* Hidden cards on mobile */
.reference-card--hidden {
  display: none;
}

.reference-grid.is-expanded .reference-card--hidden {
  display: flex;
}

/* Toggle button */
.reference-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 28px auto 0;
  padding: 12px 24px;
  background: #fff;
  border: 1px solid #d0d0d0;
  border-radius: 50px;
  color: #105E7F;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.reference-toggle:hover {
  border-color: #105E7F;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.reference-toggle__arrow {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 2px solid #105E7F;
  border-bottom: 2px solid #105E7F;
  transform: rotate(45deg);
  transition: transform 300ms ease;
}

.reference-toggle.is-open .reference-toggle__arrow {
  transform: rotate(-135deg);
}

@media (min-width: 580px) {
  .reference-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .reference-card img {
    max-height: 64px;
  }
}

@media (min-width: 768px) {
  .realizace-detail {
    padding: 60px 0 100px;
  }

  .realizace-detail__title {
    font-size: 36px;
  }

  .reference-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  .reference-card {
    padding: 28px 20px 24px;
  }
  .reference-card img {
    max-height: 68px;
  }
  .reference-card__name {
    font-size: 14px;
  }

  .reference-card--hidden {
    display: flex;
  }

  .reference-toggle {
    display: none;
  }
}

@media (min-width: 968px) {
  .reference-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
  }
}

/* Solution buttons under hp-banner-blue */
.hp-solution-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
  padding: 10px 80px 100px;
  justify-content: center;
}

.hp-solution-heading {
  text-align: center;
  color: #105E7F;
  font-size: 40px;
  font-weight: 900;
  padding-top: 40px;
  margin: 0;
}

.hp-solution-btn {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px 36px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
  transition: transform 200ms ease, box-shadow 200ms ease;
  flex: 1 1 0;
  min-width: 500px;
  max-width: 520px;
}

.hp-solution-btn__top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hp-solution-btn__benefits {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid #eee;
  font-size: 16px;
  font-weight: 500;
  color: #555;
}

.hp-solution-btn--home,
.hp-solution-btn--business {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.hp-solution-btn__benefit {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #444;
}

.hp-solution-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.hp-solution-btn--home {
  background: #fff;
  color: #105E7F;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.hp-solution-btn--home:hover {
  border-color: #105E7F;
  box-shadow: 0 8px 24px rgba(16,94,127,0.15);
}

.hp-solution-btn--home .hp-solution-btn__icon {
  color: #105E7F;
}

.hp-solution-btn--home .hp-solution-btn__label {
  color: #105E7F;
}

.hp-solution-btn--business {
  background: #fff;
  color: #105E7F;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.hp-solution-btn--business:hover {
  border-color: #105E7F;
  box-shadow: 0 8px 24px rgba(16,94,127,0.15);
}

.hp-solution-btn--business .hp-solution-btn__icon {
  color: #105E7F;
}

.hp-solution-btn--business .hp-solution-btn__label {
  color: #105E7F;
}

.hp-solution-btn__icon {
  flex-shrink: 0;
  display: flex;
}

.hp-solution-btn__label {
  flex: 1;
}

.hp-solution-btn__arrow {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

/* Solution cards */
.sol-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.sol-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid #e0e0e0;
  transition: box-shadow 200ms ease, border-color 200ms ease, transform 200ms ease;
  position: relative;
}

.sol-card:hover {
  border-color: #105E7F;
  box-shadow: 0 6px 28px rgba(0,0,0,0.08);
}

.sol-card--link {
  text-decoration: none;
  color: inherit;
  display: block;
  border: 2px solid #14CCE8;
  background: linear-gradient(135deg, #fff 0%, #EAFBFD 100%);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.sol-card--link::after {
  content: '';
  position: absolute;
  bottom: 16px;
  right: 20px;
  width: 10px;
  height: 10px;
  border-right: 2px solid #14CCE8;
  border-bottom: 2px solid #14CCE8;
  transform: rotate(-45deg);
}

.sol-card--link::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 36px 36px 0;
  border-color: transparent #14CCE8 transparent transparent;
}

.sol-card--link:hover {
  border-color: #105E7F;
  box-shadow: 0 8px 32px rgba(16,94,127,0.15);
  transform: translateY(-2px);
}

.sol-card__icon {
  margin-bottom: 16px;
}

.sol-card h3 {
  font-size: 22px;
  font-weight: 900;
  color: #105E7F;
  margin: 0 0 10px;
}

.sol-card p {
  font-size: 16px;
  color: #444;
  margin: 0 0 14px;
  line-height: 1.6;
}

.sol-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sol-card ul li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: #555;
  margin-bottom: 6px;
}

.sol-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #bbeff7;
}

.sol-cta {
  text-align: center;
  margin-top: 60px;
  padding: 50px 20px 30px;
  border-top: 1px solid #d0d0d0;
}

.sol-cta h2 {
  color: #105E7F;
  font-size: 28px;
  font-weight: 900;
  margin: 0 0 12px;
}

.sol-cta p {
  font-size: 17px;
  color: #555;
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .sol-cards {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 30px;
  }

  .sol-card {
    padding: 24px 20px;
  }

  .sol-card h3 {
    font-size: 20px;
  }

  .sol-cta h2 {
    font-size: 22px;
  }
}

/* Závorové systémy – grid pro garantované 4 sloupce */
[data-history-node-id="34"] .evvo-masonry-grid,
[data-history-node-id="34"] .studiografix-masonry-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 15px !important;
  column-count: auto !important;
  align-items: start;
}

[data-history-node-id="34"] .evvo-masonry-item {
  break-inside: auto !important;
  margin-bottom: 0 !important;
  height: fit-content;
}

@media screen and (max-width: 1200px) {
  [data-history-node-id="34"] .evvo-masonry-grid,
  [data-history-node-id="34"] .studiografix-masonry-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media screen and (max-width: 768px) {
  [data-history-node-id="34"] .evvo-masonry-grid,
  [data-history-node-id="34"] .studiografix-masonry-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media screen and (max-width: 480px) {
  [data-history-node-id="34"] .evvo-masonry-grid,
  [data-history-node-id="34"] .studiografix-masonry-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Mobil – kontakt button menší padding */
@media (max-width: 768px) {
  a[href*="#kontakt"].hp-servis-button,
  a[href*="#kontakt"].full-link,
  a[href="/#kontakt"] {
    padding: 15px 20px !important;
    font-size: 14px !important;
  }

  .card-content h5 {
    font-size: 20px;
  }

  .hp-solution-btn {
    padding: 18px 20px !important;
    font-size: 17px !important;
    min-width: auto !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
  }

  .hp-solution-buttons {
    flex-direction: column;
    padding: 10px 20px 60px !important;
    justify-content: center;
    margin-top: 0 !important;
  }

  .hp-solution-infographic {
    display: none !important;
  }
}


