/* ============================================================
   STICKY-CTA — плавающая кнопка на мобиле
   ============================================================ */

.sticky-cta {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 14px;
  background: var(--accent, #2f3a4a);
  color: #fffdf9;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  cursor: pointer;
  box-shadow:
    0 10px 30px -8px rgba(20, 18, 14, 0.45),
    0 2px 6px -2px rgba(20, 18, 14, 0.25);
  transform: translateY(140%);
  opacity: 0;
  transition:
    transform 0.45s var(--ease, cubic-bezier(0.22, 1, 0.36, 1)),
    opacity 0.3s ease,
    background 0.25s ease;
  pointer-events: none;
}
.sticky-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.sticky-cta:hover { background: #3c4a5e; }
.sticky-cta:active { transform: translateY(2px); }

.sticky-cta .sc-ic {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #c8a86e;
  color: var(--accent, #2f3a4a);
  flex-shrink: 0;
  position: relative;
}
.sticky-cta .sc-ic::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid #c8a86e;
  opacity: 0.5;
  animation: sc-pulse 2s ease-out infinite;
}
@keyframes sc-pulse {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

.sticky-cta .sc-l {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: left;
  line-height: 1.1;
  gap: 2px;
  min-width: 0;
}
.sticky-cta .sc-l b {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.sticky-cta .sc-sub {
  font-size: 11px;
  opacity: 0.7;
  letter-spacing: 0.02em;
}

.sticky-cta .sc-arrow {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.sticky-cta:hover .sc-arrow { transform: translateX(3px); }

/* Hide on desktop */
@media (min-width: 901px) {
  .sticky-cta { display: none !important; }
}

/* Уменьшаем на узких */
@media (max-width: 360px) {
  .sticky-cta { padding: 10px 14px 10px 12px; gap: 10px; }
  .sticky-cta .sc-ic { width: 34px; height: 34px; }
  .sticky-cta .sc-l b { font-size: 13px; }
  .sticky-cta .sc-sub { font-size: 10px; }
}

/* Уменьшаем motion для accessibility */
@media (prefers-reduced-motion: reduce) {
  .sticky-cta { transition: opacity 0.2s ease; }
  .sticky-cta.is-visible { transform: none; }
  .sticky-cta .sc-ic::after { animation: none; }
}
