/* Скрываем стандартный Tilda Footer */
.tilda-footer,
.tilda-footer__powered-by,
.t-footer__powered-by,
.t-footer {
  display: none !important;
}

/* Подвал премиум стекло */
.custom-footer-content {
  position: fixed;
  bottom: 20px; /* небольшой отступ снизу */
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 1200px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  background: rgba(230, 240, 255, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08), inset 0 2px 0 rgba(255,255,255,0.5);
  border-radius: 16px;
  padding: 20px 25px;
  box-sizing: border-box;
  transition: all 0.5s ease, transform 0.5s ease, opacity 0.5s ease;
  opacity: 0;
  transform: translateY(100px) translateX(-50%);
  z-index: 9999;
}

/* Появление при скролле */
.custom-footer-content.show {
  opacity: 1;
  transform: translateY(0) translateX(-50%);
}

/* Логотип */
.custom-footer-logo img {
  max-height: 50px;
  transition: transform 0.3s ease;
}
.custom-footer-logo img:hover {
  transform: scale(1.05);
}
}

/* Логотип */
.custom-footer-logo img {
  max-height: 45px;
}

/* Кнопки */
.custom-footer-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.custom-footer-btn {
  background: #007bff;
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.custom-footer-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

/* ZAVOLAŤ TERAZ */
.custom-footer-btn.call-now {
  background: #25D366;
}
.custom-footer-btn.call-now:hover {
  background: #20b858;
}

/* Кнопка вверх */
.custom-footer-btn.scroll-top {
  background: rgba(0,0,0,0.6);
}

/* Адаптивность */
@media screen and (max-width: 480px) {
  .custom-footer-content {
    flex-direction: column;
    padding: 15px 10px;
  }
  .custom-footer-buttons {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .custom-footer-btn {
    width: 100%;
    text-align: center;
  }
}