/* ВЕСЕЛИУМ — мобильный CTA v5: единый фон и плавные стыки.
   Этот файл заменяет v4; блок остаётся непосредственно после баннера.
   Только главная страница, только мобильные экраны. */
@media screen and (max-width: 850px) {
  /* Блок наследует ФОН СТРАНИЦЫ — точно такой же, как под баннером
     и в секции «Почему выбирают нас». Никаких границ и полос. */
  .hero-mobile-contact.hero-mobile-contact--section {
    display: flex !important;
    position: relative !important;
    isolation: isolate;
    overflow: hidden;
    box-sizing: border-box;
    width: 100% !important;
    min-height: 174px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 25px 22px 32px !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    text-align: center;
  }

  /* Полупрозрачный мягкий ореол ТОЛЬКО в центре.
     Альфа равна нулю на обоих стыках, поэтому они не видны. */
  .hero-mobile-contact.hero-mobile-contact--section::before {
    content: '';
    position: absolute;
    z-index: 0;
    inset: 0;
    width: auto;
    height: auto;
    transform: none;
    border: 0;
    border-radius: 0;
    background: radial-gradient(ellipse 69% 66% at 50% 48%,
      rgba(255, 255, 255, .24) 0%,
      rgba(255, 255, 255, .08) 60%,
      transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom,
      transparent 0%, #000 24%, #000 70%, transparent 100%);
    mask-image: linear-gradient(to bottom,
      transparent 0%, #000 24%, #000 70%, transparent 100%);
    filter: none;
    pointer-events: none;
  }
  .hero-mobile-contact.hero-mobile-contact--section::after {
    content: none !important;
    display: none !important;
  }

  /* Небольшие белые фигурки по краям — как в десктопном баннере. */
  .hero-mobile-contact--section .hero-contact-figures {
    position: absolute;
    z-index: 1;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
  }
  .hero-mobile-contact--section .hero-contact-figure {
    position: absolute;
    display: block;
    font-size: 20px;
    line-height: 1;
    color: rgba(255,255,255,.70);
    opacity: .62;
    filter: drop-shadow(0 4px 7px rgba(74, 51, 32, .16));
    animation: veseliumContactFloat 6s ease-in-out infinite alternate;
  }
  .hero-mobile-contact--section .hero-contact-figure--star  { top: 5%; left: 7%; font-size: 22px; animation-delay: -.2s; }
  .hero-mobile-contact--section .hero-contact-figure--heart { top: 8%; right: 7%; font-size: 21px; animation-delay: -2s; }
  .hero-mobile-contact--section .hero-contact-figure--music { bottom: 6%; left: 5%; font-size: 19px; animation-delay: -3s; }
  .hero-mobile-contact--section .hero-contact-figure--crown{ bottom: 6%; right: 5%; font-size: 20px; animation-delay: -1s; }
  .hero-mobile-contact--section .hero-contact-figure--smile,
  .hero-mobile-contact--section .hero-contact-figure--spark { display: none !important; }

  .hero-mobile-contact--section .hero-contact-inner {
    display: flex;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    width: 100%;
    max-width: 410px;
    margin: 0 auto;
    padding: 0 8px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
  }
  /* Убираем лишние подписи из предыдущего варианта: это лаконичный CTA. */
  .hero-mobile-contact--section .hero-contact-eyebrow,
  .hero-mobile-contact--section .hero-contact-description { display: none !important; }
  .hero-mobile-contact--section .hero-contact-title {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 290px;
    margin: 0 auto 19px !important;
    padding: 0;
    color: #4a3320;
    font-size: clamp(22px, 6.5vw, 28px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -.02em;
    text-align: center;
    text-wrap: balance;
    text-shadow: 0 2px 10px rgba(255,255,255,.35);
  }
  .hero-mobile-contact--section .btn-main.hero-contact-button {
    display: inline-flex !important;
    box-sizing: border-box;
    width: min(100%, 278px) !important;
    min-width: 0 !important;
    min-height: 53px !important;
    height: auto !important;
    margin: 0 auto !important;
    padding: 13px 20px !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(255,255,240,.92) !important;
    border-radius: 999px !important;
    background: linear-gradient(145deg,#ffe77b 0%,#f8d139 58%,#e9b919 100%) !important;
    color: #4a3320 !important;
    box-shadow: inset 0 2px 4px rgba(255,255,255,.57),
                0 7px 16px rgba(125,86,50,.17) !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    text-align: center;
    text-transform: none !important;
    cursor: pointer;
  }
  .hero-mobile-contact--section .hero-contact-button:focus-visible {
    outline: 3px solid #6c3345 !important;
    outline-offset: 4px;
  }

  /* Следующий раздел использует тот же непрерывный фон body. */
  .hero-mobile-contact--section + .features-section {
    margin-top: 0 !important;
    padding-top: 35px !important;
    border-top: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }
}
@keyframes veseliumContactFloat {
  from { transform: translateY(0) rotate(-7deg); }
  to { transform: translateY(-6px) rotate(5deg); }
}
@media screen and (max-width: 360px) {
  .hero-mobile-contact.hero-mobile-contact--section { padding: 24px 12px 30px !important; }
  .hero-mobile-contact--section .hero-contact-title { font-size: 22px; }
  .hero-mobile-contact--section .hero-contact-figure--music,
  .hero-mobile-contact--section .hero-contact-figure--crown { opacity: .40; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-mobile-contact--section .hero-contact-figure { animation: none !important; }
}
