/* ========== MOBILE SCROLL FIX ========== */

/* Цвет html = цвет футера (--deep: #09271d), чтобы iOS overscroll
   не показывал белый/светлый фон за пределами страницы */
html {
  background: #09271d;
}

/* ========== STICKY CTA BUTTON ========== */
#mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 12px 16px max(16px, env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(255,255,255,0.97) 65%, rgba(255,255,255,0));
  pointer-events: none;
}

#mobile-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: #78b719;
  color: #fff !important;
  border: none;
  border-radius: 8px;
  padding: 15px 20px;
  font-size: 16px;
  font-weight: 850;
  text-decoration: none;
  border-bottom: none !important;
  pointer-events: auto;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

#mobile-cta a svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@media (max-width: 1040px) {
  #mobile-cta {
    display: block;
  }
}

/* На странице контактов кнопка не нужна */
.contact-page #mobile-cta {
  display: none !important;
}
