/* =========================================
   LABAU APS
   Timeline - Jak probíhá spolupráce
   ========================================= */

.labau-timeline {
  max-width: 1050px;
  margin: 50px auto;
  position: relative;
  padding: 10px 20px;
  box-sizing: border-box;
}


/* Svislá osa */

.labau-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #2398d4;
  transform: translateX(-50%);
}


/* Jeden krok */

.labau-step {
  position: relative;
  width: 50%;
  margin-bottom: 38px;
  box-sizing: border-box;
}


/* Levé karty */

.labau-step:nth-child(odd) {
  padding-right: 60px;
  text-align: right;
}


/* Pravé karty */

.labau-step:nth-child(even) {
  margin-left: 50%;
  padding-left: 60px;
  text-align: left;
}


/* Číslo kroku */

.labau-step-number {
  position: absolute;
  top: 24px;
  width: 54px;
  height: 54px;
  border: 2px solid #2398d4;
  border-radius: 50%;
  background: #0b1824;
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  line-height: 50px;
  text-align: center;
  z-index: 2;
  box-shadow: 0 0 20px rgba(35, 152, 212, 0.20);
}


/* Pozice čísel */

.labau-step:nth-child(odd) .labau-step-number {
  right: -27px;
}

.labau-step:nth-child(even) .labau-step-number {
  left: -27px;
}


/* Karta */

.labau-step-card {
  background: #101d29;
  border: 1px solid rgba(35, 152, 212, 0.40);
  border-radius: 14px;
  padding: 28px 30px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
}


/* Nadpis karty */

.labau-step-card h3 {
  margin: 0 0 12px 0;
  color: #ffffff;
  font-size: 24px;
  line-height: 1.25;
}


/* Text karty */

.labau-step-card p {
  margin: 0;
  color: #c7d0d8;
  font-size: 17px;
  line-height: 1.6;
}


/* =========================================
   CTA pod timeline
   ========================================= */

.labau-cta {
  max-width: 820px;
  margin: 65px auto 35px auto;
  padding: 38px 35px;
  text-align: center;
  background: #101d29;
  border: 1px solid rgba(35, 152, 212, 0.45);
  border-radius: 14px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
  box-sizing: border-box;
}


.labau-cta h2 {
  margin: 0 0 15px 0;
  color: #ffffff;
  font-size: 30px;
  line-height: 1.25;
}


.labau-cta p {
  max-width: 650px;
  margin: 0 auto 25px auto;
  color: #c7d0d8;
  font-size: 18px;
  line-height: 1.6;
}


/* CTA tlačítko */

.labau-cta-button {
  display: inline-block;
  padding: 14px 30px;
  background: #2398d4;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 17px;
  font-weight: 700;
  border-radius: 7px;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}


.labau-cta-button:hover {
  background: #1c7fb3;
  transform: translateY(-2px);
  box-shadow: 0 7px 18px rgba(35, 152, 212, 0.25);
}


/* =========================================
   Mobil
   ========================================= */

@media (max-width: 767px) {

  .labau-timeline {
    margin: 30px auto;
    padding: 0 12px 0 42px;
  }


  /* Osa se přesune vlevo */

  .labau-timeline::before {
    left: 18px;
    transform: none;
  }


  /* Všechny karty pod sebe */

  .labau-step,
  .labau-step:nth-child(odd),
  .labau-step:nth-child(even) {
    width: 100%;
    margin-left: 0;
    margin-bottom: 22px;
    padding: 0;
    text-align: left;
  }


  /* Menší čísla */

  .labau-step-number,
  .labau-step:nth-child(odd) .labau-step-number,
  .labau-step:nth-child(even) .labau-step-number {
    left: -51px;
    right: auto;
    top: 18px;
    width: 42px;
    height: 42px;
    line-height: 38px;
    font-size: 14px;
  }


  .labau-step-card {
    padding: 22px 20px;
    border-radius: 12px;
  }


  .labau-step-card h3 {
    font-size: 21px;
  }


  .labau-step-card p {
    font-size: 16px;
    line-height: 1.55;
  }


  /* CTA mobil */

  .labau-cta {
    margin: 42px 12px 25px 12px;
    padding: 28px 20px;
  }


  .labau-cta h2 {
    font-size: 24px;
  }


  .labau-cta p {
    font-size: 16px;
    line-height: 1.55;
  }


  .labau-cta-button {
    display: block;
    width: 100%;
    padding: 15px 18px;
    box-sizing: border-box;
  }

}