/* ---------- Кнопки ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 56px;
  padding: 0 30px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .01em;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: color .5s var(--ease-out), border-color .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }

/* Ховер без движения кнопки: заливка расходится от центра + блик проходит по кнопке */
.btn::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  border-radius: inherit;
  clip-path: circle(0% at 50% 50%);
  transition: clip-path .7s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { clip-path: circle(75% at 50% 50%); }
.btn::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -60%;
  width: 40%;
  z-index: -1;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg);
  opacity: 0;
  pointer-events: none;
}
.btn:hover::after { animation: btnShine .9s var(--ease-out); }
@keyframes btnShine {
  0% { left: -60%; opacity: 1; }
  100% { left: 130%; opacity: 1; }
}

.btn--pink { background: var(--pink); color: var(--ink); }
.btn--pink:hover { box-shadow: 0 0 0 4px rgba(243, 111, 196, .25), 0 12px 32px -10px rgba(243, 111, 196, .7); }
.btn--pink::before { background: var(--blush); }

.btn--ghost { border: 1px solid var(--line); color: var(--text); }
.btn--ghost::before { background: var(--text); }
.btn--ghost:hover { color: var(--ink); border-color: var(--text); }

.btn--dark { background: var(--ink); color: var(--text); }
.btn--dark::before { background: var(--ink-3); }
.btn--dark:hover { box-shadow: 0 0 0 4px rgba(18, 12, 16, .18); }

.btn--sm { height: 44px; padding: 0 22px; font-size: 14px; }
.btn--lg { height: 64px; padding: 0 36px; font-size: 16px; }
.btn--xl { height: 80px; padding: 0 48px; font-size: 18px; }
.btn--block { width: 100%; }

.round-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-size: 20px;
  transition: background .4s var(--ease-out), color .4s var(--ease-out), border-color .4s;
}
.round-btn:hover { background: var(--pink); color: var(--ink); border-color: var(--pink); }

.pill {
  display: inline-flex;
  padding: 10px 20px;
  border-radius: 100px;
  border: 1px solid var(--line);
  font-size: 14px;
  transition: background .4s var(--ease-out), color .4s, border-color .4s;
}
.pill:hover { background: var(--pink); color: var(--ink); border-color: var(--pink); }

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 0 rgba(243, 111, 196, .6);
  animation: pulse 2.2s infinite;
}

/* ---------- Мобильная кнопка ---------- */
.mobile-cta {
  position: fixed;
  left: 14px; right: 14px;
  bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 10px 0 26px;
  border-radius: 100px;
  background: var(--pink);
  color: var(--ink);
  font-weight: 500;
  box-shadow: 0 16px 40px -12px rgba(243, 111, 196, .6);
  transform: translateY(140%);
  transition: transform .6s var(--ease-out);
}
.mobile-cta svg {
  width: 40px; height: 40px;
  padding: 10px;
  border-radius: 50%;
  background: var(--ink);
  stroke: var(--pink);
  fill: none;
  stroke-width: 1.8;
}
.mobile-cta.is-visible { transform: translateY(0); }
