.site-header {
  height: 120px;
}


header{
  height: 120px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* CELÁ PODSTRÁNKA SLUŽBY */
.services-page{
  padding: 60px 0 0;
  color: white;
}

/* ÚVOD */
.services-intro{
  text-align: left;
  margin-bottom: 50px;
}

.services-intro h1{
  font-size: 42px;
  margin: 0 0 20px;
  color: white;
  text-align: left;
}

.services-intro p{
  max-width: 1200px;
   margin: 0 0 18px 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.8;
  color: #f7eeee;
   text-align: left;
}

.services-info{ /* text vedle obrázků */
  display: flex;
  align-items: flex-start;   /* srovná text vertikálně k obrázku */
  gap: 24px;
  margin-top: 20px;
  margin-bottom: 35px;
}

.info-image{
  flex: 0 0 220px;       /* pevná šířka obrázku */
}

.info-image img{
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.info-text{
  flex: 1;
  text-align: left;
  position: relative;
}

.info-text h3{
  margin: 0 0 10px;
  font-size: 20px;
  color: white;
}

.info-text p{
  margin: 0;
  font-size: 24px;
  line-height: 1.7;
  color: #ffffff;
  max-width: 500px;
}

.intro-white-section{
  padding: 100px 0;
  margin-top: -60px;
}

.intro-white-section h2{
  color: #ffffff;
  text-align: left;
}

.intro-white-section p{
  color: #ffffff;
  font-size: 20px;
  text-align: left;
}

.intro-box-wrap{
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 40px 0 60px;
}

.intro-box{
  max-width: 1100px;       /* 🔥 šířka boxu */
  width: 100%;
   background: rgba(116, 116, 116, 0.466);
  padding: 60px;
  backdrop-filter: blur(4px);
}

/* BLOK SE 3 KARTAMI */
.services-boxes{
  margin-bottom: 50px;
}

.services-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card{
  background: rgba(85, 85, 85, 0.733);
  color: #ffffff;
  padding: 32px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.267);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(0,0,0,0.22);
}

.service-card h3{
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 24px;
}

.service-card p{
  margin: 0;
  line-height: 1.8;
  color: #ffffff;
}

/* TEXT POD KARTAMI */
.services-text{
  text-align: center;
  margin-bottom: 45px;
}

.services-text p{
  max-width: 1200px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.8;
  color: #f7eeee;
}

/* VELKÝ BOX S POROVNÁNÍM */
.services-wide{
  margin-top: 10px;
}

.wide-card{
  width: 100%;
  padding: 40px;
  text-align: left;
  background: rgba(85, 85, 85, 0.733);
  border-radius: 25px;
  backdrop-filter: blur(4px);
}

.wide-card h3{
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
  color: white;
}

/* TABULKA / GRID POROVNÁNÍ BALÍČKŮ */
.packages-compare{
  display: grid;
  grid-template-columns: 2.8fr 1fr 1fr 1fr;
  gap: 0;
  align-items: center;
}


.service-name-header{
  text-align: left;
}

.service-name{
  padding: 14px 12px;
  color: white;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.mark{
  padding: 12px 12px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
}

.yes{
  color: #2cd66b;
}

.no{
  color: #ef4444;
}

/* RESPONSIVE */
@media only screen and (max-width: 768px){

    body{
    background:none !important;
    background-color:#000 !important;
  }

  body::before{
    content:"";
    position:fixed;
    inset:0;
    background-image:
      linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
      url('background.jpg');
    background-size: auto 100vh;
    background-position: center top;
    background-repeat: no-repeat;
    z-index:-1;
  }

  .services-grid{
    grid-template-columns: 1fr;
  }

  .services-intro h1{
    font-size: 34px;
  }

  .services-intro p,
  .services-text p{
    font-size: 16px;
  }

  .wide-card{
    padding: 48px;
  }

  .packages-compare{
    grid-template-columns: 80fr 1fr 1fr 1fr;
  }

  .service-name{
    font-size: 20px;
  }

  .mark{
    font-size: 28px;
  }
}

.section-label{
  text-align: center;
  margin-bottom: 30px;
}

.section-label h2{ /* NADPIS NAŠE SLUŽBY) */
  font-size: 36px;        /* větší nadpis */
  font-weight: 800;
  letter-spacing: 1px;
  color: white;
  margin: 0 0 10px;
  text-align: center !important; /* 🔥 tohle je klíč */
}

.section-label h3{
  margin-top: 50px;  /* 🔥 zvětší mezeru nad textem */
   font-size: 36px;
    max-width: 1600px;
}

.section-label p{ /* TEXT POD NAŠE SLUŽBY) */
  font-size: 22px;
  color: #ffffff;
  margin: 0 0 30px;
    line-height: 2;  /* lepší čitelnost */
}

.services-menu{
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 1200px;
}

.service-link{
  position: relative;              /* důležité */
  display: flex;
  align-items: center;
  padding: 20px 60px 20px 24px;   /* více místa vpravo na šipku */
  text-decoration: none;
  color: white;
  background: rgba(85, 85, 85, 0.733);
  border-radius: 25px;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-size: 22px;
  font-weight: 700;
}

.service-link:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(0,0,0,0.22);
}

.arrow{
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  stroke: #ffffff;
  pointer-events: none; /* kliknutí jde na celý box */
   filter: drop-shadow(1 1 6px rgba(2, 2, 2, 4));
}

.service-link:hover .arrow{
  transform: translateY(-50%) translateX(10px);

}
html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.services-info{ /* text PRO obrázky  */
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-top: 60px;
  max-width: 1000px;
}

.services-ending.container{ /* poslední text */
  max-width: 1400px;
}
.services-ending{ /* poslední text */
  text-align: center;
  font-size: 30px
}

.services-ending p{  /* poslední text */
  max-width: 1800px;   /* 🔥 větší šířka textu */
  margin: 0 auto;      /* zůstane na středu */
}
.info-text ul { /* text PRO obrázky  */
  list-style-position: outside;
  padding-left: 0;
  margin-left: 0;
}

.info-text li { /* text PRO obrázky  */
margin-left: 20px;
  margin-bottom: 14px;
  line-height: 1.8;
  font-size: 20px
}

/* základ pro všechny */
.tagline {
  position: absolute;
  font-style: italic;
  color: #ffffff;
}

/* každá zvlášť */
.tagline-1 {
  right: -100px;
  bottom: -40px;
}

.tagline-2 {
  right: -100px;
  bottom: -80px;
}

.tagline-3 {
  right: -100px;
  bottom: -100px;
}

.tagline-hybrid{
  right:-60px;    /* víc doprava */
  bottom: -150px;  /* víc dolů */
}

.service-block{
  margin-bottom: 40px;
}

/* obrázek */
.info-image img{
  width: 440px;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* text */
.info-text h3{
  margin: 0 0 10px;
  font-size: 36px
}

.info-text p{
  margin: 0;
  color: #ffffff;
  line-height: 1.7;
  max-width: 500px;
  font-size: 24px
}

.services-steps.container{
  max-width: 1800px;
  width: 100%;
  padding-left: 40px;
  padding-right: 40px;
}

.services-steps{ /* bunky na konci */
  margin: 80px auto;
  position: relative;
}

/* hlavní grid */
.steps-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  position: relative;
}

/* karta */
.step-card{
  background: rgba(85, 85, 85, 0.808);
  padding: 60px 40px 50px;
  border-radius: 20px;
  backdrop-filter: blur(6px);
  text-align: center;
  transition: 0.3s ease;
  position: relative;
  overflow: visible;
}

.step-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

/* číslo */
.step-number{
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: #ececec;
  color: #111;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 14px;
  z-index: 3;
}

/* nadpis */
.step-card h3{
  margin-top: -5px;
  margin-bottom:12px;
  font-size:28px;
  color: white;
}

/* text */
.step-card p{
  font-size: 18px;
  color: #d1d5db;
  line-height: 1.7;
  margin: 0;
}

/* vodorovná spojovací čára mezi kartami */
.step-card::after{
  content: "➜";
  position: absolute;
  top: 50%;
  right: -28px;
  transform: translateY(-50%);
  font-size: 40px;
  color: #ffffff;
  opacity: 0;
  animation: arrowPulse 8s infinite linear;
}

.step-card:nth-child(1)::after{
  animation-delay: 0s;
}

.step-card:nth-child(2)::after{
  animation-delay: 1.5s;
}

.step-card:nth-child(3)::after{
  animation-delay: 3s;
}

.step-card:nth-child(4)::after{
  animation-delay: 3s;
}

.step-card:nth-child(5)::after{
  animation-delay: 4.5s;
}

.step-card:nth-child(6)::after{
  animation-delay: 7.5s;
}
@keyframes arrowPulse{
  0%{
    opacity: 0;
    transform: translateY(-50%) translateX(0);
  }

  8%{
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }

  18%{
    opacity: 1;
    transform: translateY(-50%) translateX(12px);
  }

  25%{
    opacity: 0;
    transform: translateY(-50%) translateX(18px);
  }

  100%{
    opacity: 0;
    transform: translateY(-50%) translateX(18px);
  }
}

/* poslední karta v řádku čáru nemá */
.step-card:nth-child(3n)::after{
  display: none;
}


.services-menu {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.services-intro.container {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 1200px;
}

.services-intro,
.section-label h3{
  text-align: center !important;
}
.section-label p {
  text-align: left !important;
}

.section-label h2{
  text-align: center !important;
}

  .intro-white-section{
    padding-top: 150px !important;
  }

  .section-label h2{
    margin-top: 40px !important;
  }

  .property-types{
    margin-top: 45px !important;
  }
.property-types{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;

  margin-top:70px;
  margin-bottom:55px;
}

.property-types span{
  color:white;
margin-top: -20PX;
  padding:12px 24px;
  border-radius:28px;

  font-size:18px;
  font-weight:700;
  letter-spacing:1px;

  transition:0.3s;
}

.property-types span:hover{
  transform:translateY(-4px);
  background:rgba(130,130,130,0.75);
}

#menu-toggle{
  display:none !important;
}

.menu-btn{
  display:none !important;
}

header nav{
  display:flex;
  align-items:center;
}

/* ========================================
   MOBILNÍ VERZE SLUŽBY
======================================== */
.mobile-title span{
  display:inline;
}

@media screen and (max-width: 768px){
  
  body{
    background:none !important;
    background-color:#000 !important;
  }

  body::before{
    content:"";
    position:fixed;
    inset:0;
    background-image:
      linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
      url('background.jpg');
    background-size: auto 100vh;
    background-position: center top;
    background-repeat: no-repeat;
    z-index:-1;
  }


  .site-header{
    height: 115px !important;
    padding: 12px 16px !important;
    position: relative !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
  }

 
  .brand-wrap{
    position: absolute !important;
    left: 50% !important;
    top: 8px !important;

    transform: translateX(-50%) !important;

    width: auto !important;
    height: auto !important;
  }

  .logo{
    width: 220px !important;
    height: auto !important;
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
  }


  .logo-box{
    left: 0 !important;
  }

  .nazev{
    display: none !important;
  }

  .menu-btn{
    display: block !important;
    color: white;
    font-size: 34px;
    font-weight: 700;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 28px;
    z-index: 30;
  }

  nav,
  .main-nav{
    display: none !important;
    position: absolute !important;
    top: 82px !important;
    right: 16px !important;
    width: 210px !important;
    background: rgba(40,40,40,0.96) !important;
    border-radius: 16px !important;
    padding: 14px !important;
    z-index: 25 !important;
  }

  #menu-toggle:checked ~ nav{
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  nav a,
  .main-nav a{
    display: block !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    font-size: 15px !important;
    color: white !important;
    text-align: left !important;
    white-space: nowrap !important;
  }

  /* HERO */

  .services-page{
    padding-top:0 !important;
  }

  .intro-white-section{
    padding:150px 18px 40px !important;
    margin-top:0 !important;
  }

    .mobile-title span{
    display:block;
  }
    .services-ending h2{
    font-size:32px !important;
    white-space:nowrap !important;
  }

  .services-ending p{
    font-size:18px !important;
    line-height:1.7 !important;
  }

  .section-label h2{
    font-size:40px !important;
    white-space:nowrap !important;
  }

  /* TYPY */

  .property-types{
    display:flex !important;
    flex-direction:column !important;

    gap:18px !important;

    margin:0 0 45px !important;
  }

  .property-types span{
    font-size:16px !important;
    margin:0 !important;
    padding:0 !important;
    text-align:center !important;
  }

  /* INTRO BOX */

  .intro-box{
    width:100% !important;

    padding:28px 22px !important;
  }

  .intro-box p{
    font-size:18px !important;
    line-height:1.7 !important;
  }

  /* SEKCE */

  .section-label h3{
    font-size:30px !important;
    line-height:1.3 !important;
  }

  .service-link{
    font-size:17px !important;

    padding:18px 52px 18px 18px !important;
  }

  .services-info{
    flex-direction:column !important;

    gap:22px !important;

    margin-top:28px !important;
  }

  .info-image{
    width:100% !important;
  }

  .info-image img{
    width:100% !important;
    height:240px !important;

    object-fit:cover !important;
  }

  .info-text h3{
    font-size:28px !important;
  }

  .info-text li{
    font-size:18px !important;
    line-height:1.6 !important;
  }

  /* TAGLINE */

  .tagline{
    position:static !important;

    display:block !important;

    margin-top:18px !important;

    text-align:center !important;

    font-size:18px !important;
  }

  /* KROKY */

  .services-steps.container{
    padding-left:18px !important;
    padding-right:18px !important;
  }

  .steps-grid{
    grid-template-columns:1fr !important;
    gap:24px !important;
  }

  .step-card{
    padding:50px 24px 34px !important;
  }

  .step-card::after{
    display:none !important;
  }

  /* FOOTER */

  .site-footer{
    text-align:center !important;
    font-size:14px !important;
    padding:25px 16px !important;
  }
}