* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.rehab-promo {
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  max-width: 800px;
  margin: 20px auto;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  color: #333;
  line-height: 1.6;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.rehab-promo-header {
  background: linear-gradient(135deg, #778C7C 0%, #395947 100%);
  color: white;
  padding: 30px;
  text-align: center;
}
.rehab-promo-header h2 {
  margin: 0 0 10px 0;
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.rehab-promo-header p {
  margin: 0;
  font-size: 18px;
  opacity: 0.9;
}
.rehab-promo-content {
  padding: 30px;
}
.rehab-promo-discount {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f8e9;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 25px;
}
.discount-value {
  font-size: 48px;
  font-weight: bold;
  color: #395947;

  margin-right: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  white-space: nowrap;
  line-height: 1;
  flex-shrink: 0;
}
.discount-text {
  font-size: 16px;
  font-weight: 500;
}
.rehab-promo-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}
.step-item {
  text-align: center;
  padding: 15px;
}
.step-number {
  width: 35px;
  height: 35px;
  background: #395947;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-weight: bold;
}
.rehab-promo-cta {
  text-align: center;
  margin-top: 20px;
}
.btn-call {
  display: inline-block;
  background: #EBA375;
  color: white;
  padding: 15px 35px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  font-size: 18px;
  transition: background 0.3s;
  cursor: pointer;
}
.btn-call:hover {
  background: #f57c00;
}
.rehab-promo-footer {
  padding: 20px 30px;
  background: #f9f9f9;
  font-size: 13px;
  color: #777;
  border-top: 1px solid #eee;
}
.warning-text {
  text-align: center;
  font-weight: bold;
  padding: 15px;
  color: #999;
  border-top: 1px solid #eee;
  font-size: 12px;
}


body {
  line-height: 1.6;
  /*  font-family: 'Montserrat', sans-serif;
    color: var(--cl-rebel);

    background: #fff;*/
}





.timer-wrapper {
  /*  border: 2px solid #E400C1;*/
  position: relative;
  height: 200px;
  border-radius: 30px;
  /*  color: #fff;*/
  /*  padding: 100px 70px;
    padding-bottom: 80px;*/
  display: flex;
  background-color: transparent;

  background-repeat: no-repeat;
  background-position: right 70px center;
  background-size: auto 100%;
  /*justify-content: space-between;*/
  align-items: center;
  justify-content: center;
  margin: 2rem auto;
}

.hero__start {
  background: linear-gradient(to right,  hsl(from #5D766B h s 92%), #f1f8e9);
  /*  background-color: #b1d5e5;*/
  display: inline-flex;
  align-items: center;
  padding: 25px 30px;
  border-radius: 20px;
  /*    color: #000;*/
  position: absolute;
  /* left: 50%;
   top: 50%;
   transform: translate(-100px, 55px) rotate(-8deg)*/
  /*    transform: translate(20px, 10px) rotate(-8deg)*/
}

.hero__start p {
  font-size: 28px;
  line-height: 31px;
  margin: 5px 20px 0 0;
  font-weight: bold;
  color: #395947;
}

.hero__start .timer {
  font-size: 46px;
  margin-bottom: 15px;
}
.timer {
  display: flex;
  font-weight: bold;
  font-size: 3rem;
  line-height: 1;
}

.hero__start .timer__item::before {
  bottom: -12px;
  font-size: 11px;
}
.timer__item {
  position: relative;
}
.timer__item:last-child {
  width: 40px;
}
.timer__item::before {
  content: attr(data-title);
  display: block;
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 15px;
  font-weight: normal;
  text-transform: uppercase;
  font-weight: 500;
}
.separator {
  margin-top: 14px;
  animation-duration: 1s;
  animation-name: tick;
  animation-iteration-count: infinite;
}

@keyframes tick {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
.sale {
  font-size: 2rem;
  font-weight: 800;
}


/* Базовый контейнер */
.timer {
  display: flex !important;
  gap: 12px !important;
  justify-content: center !important;
  align-items: flex-start !important;
}

.flip-unit {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 70px !important;
}

/* Карточка */
.flip-card {
  position: relative !important;
  width: 70px !important;
  height: 80px !important;
  perspective: 1000px !important;
  background: var(--cl-deco) !important;
  border-radius: 8px !important;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* Общий стиль для половинок */
.top, .bottom, .flip-top, .flip-bottom {
  position: absolute !important;
  left: 0 !important;
  width: 100% !important;
  height: 50% !important;
  overflow: hidden !important;
  background: var(--cl-deco) !important;
  color: #fff !important;
  font-size: 50px !important;
  font-weight: 700 !important;
  text-align: center !important;
  display: flex !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ВЕРХ: Прижимаем цифру к нижнему краю половины */
.top, .flip-top {
  top: 0 !important;
  align-items: flex-end !important;
  border-radius: 8px 8px 0 0 !important;
  border-bottom: 0.5px solid  hsl(from #5D766B h s 42%) !important;
}
/* Сдвигаем цифру на половину её высоты ВНИЗ */
.top span, .flip-top span {
  transform: translateY(50%) !important;
  display: block !important;
}

/* НИЗ: Прижимаем цифру к верхнему краю половины */
.bottom, .flip-bottom {
  bottom: 0 !important;
  align-items: flex-start !important;
  border-radius: 0 0 8px 8px !important;
}
/* Сдвигаем цифру на половину её высоты ВВЕРХ */
.bottom span, .flip-bottom span {
  transform: translateY(-50%) !important;
  display: block !important;
}

/* Анимация */
.flip-top { z-index: 3; transform-origin: bottom; backface-visibility: hidden; }
.flip-bottom { z-index: 2; transform-origin: top; transform: rotateX(90deg); backface-visibility: hidden; }

.animate.flip-top { animation: flip-top-anim 0.4s ease-in forwards; }
.animate.flip-bottom { animation: flip-bottom-anim 0.4s ease-out 0.4s forwards; }

@keyframes flip-top-anim { to { transform: rotateX(-90deg); } }
@keyframes flip-bottom-anim { to { transform: rotateX(0deg); } }

/* Подписи */
.flip-label {
  margin-top: 20px !important;
  font-size: 14px !important;
  color: #333 !important;
  font-weight: 600 !important;
}

@media (max-width: 992px){

  .rehab-promo-discount {
    flex-direction: column;
  }
  .discount-text {
    text-align: center;
  }
  .rehab-promo-header h2 { font-size: 22px; }
  .discount-value { font-size: 36px; }

  .timer-wrapper {
    justify-content: center;
    height: 140px;    }
  .hero__start  br { display: none; }
  .hero__start{
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
    /*width: 230px;

        padding: 15px;
        border-radius: 10px;*/
    /*  transform: translate(7px, 10px) rotate(-8deg)*/
  }
  .hero__start p{


    margin: 0 0 18px 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 22px;
    text-transform: uppercase;
    text-align: center;

  }
  .hero__start .timer{

    font-size: 36px;
    margin-bottom: 12;
  }
  .hero__start .timer__item::before{
    /*   font-size: 8px;*/
  }

  .flip-unit {

    width: 30px !important;
  }
  /* Общий стиль для половинок */
  .top, .bottom, .flip-top, .flip-bottom {

    font-size: 25px !important;

  }
  /* Карточка */
  .flip-card {

    width: 45px !important;
    height: 55px !important;

  }


}
